﻿@media print {
    .no-print, .no-print * {
        display: none !important;
    }

    @page {
        margin: 1.27cm;
    }

    .modal {
        position: absolute;
        left: 0;
        top: 0;
        margin: 50px 50px;
        padding: 0;
        overflow: visible !important;
    }

    .modal-dialog {
        visibility: visible !important;
        /**Remove scrollbar for printing.**/
        overflow: visible !important;
    }

    .modal-content {
        border-width: 0 !important;
    }

    .modal-header {
        border-bottom: 0 none;
    }

    .modal-footer {
        border-top: 0 none;
    }

    #wrapper, #footer {
        visibility: hidden;
    }

    .printable {
        display: block;
    }

    .screen {
        display: none;
    }
}

/* Media query for mobile viewport */
@media screen and (max-width: 400px) {
    .row {
        margin-bottom: 0;
    }

    .searchTextBox {
        max-width: 242px !important;
    }

    #IAMLogo, #TcuLogo {
        display: none;
    }

    /*    #IAMLogoHRD {
        display: block;
        width: 500px;
    }*/

    h1.mobile-title {
        display: block;
        text-align: center;
        color: #0f4c8b !important;
        font-weight: bolder;
        font-size: xx-large;
    }

    h2.title {
        display: block;
        margin-left: 0;
    }

    .organizing-form-application-title {
        font-weight: bolder;
        font-size: medium;
        color: black;
        padding-bottom: 20px;
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    #header {
        margin-top: auto;
        margin-bottom: auto;
        text-align: center;
    }

    .vertical-align {
        display: flex;
        align-items: center;
    }

    .tcu-application-title,
    .veteran-application-title {
        font-weight: bolder;
        font-size: large;
        color: black;
        margin: 35px 0 0 0;
        padding-bottom: 20px;
        display: inline-block;
        text-align: center;
    }

    .human-rights-application-title {
        text-align: center !important;
        color: #0f4c8b !important;
        font-weight: bolder;
    }

    .tcu-application-img-col,
    .organizing-form-img-col,
    .veteran-application-img-col {
        display: inline-block;
        padding-left: 0;
        resize: both;
        margin: 10px 0;
    }

    .organizing-form-img {
        margin: 10px;
        vertical-align: middle;
        width: 100px;
    }

    .tcu-application-img,
    .veteran-application-img {
        margin: 0 auto;
        margin-top: 50px;
        vertical-align: middle;
        width: 80px;
    }
    /*
    .records-per-page-list {
        width:110px;
        margin: 50px 10px 0 0;
    }*/

    #CompaniesRecordsPerPageDropDownList {
        margin-bottom: 0px;
    }

    #RecordsPerPageDropDownList {
        margin-top: 10px;
    }

    /*    #Submit, #Return {
        width: 75px;
    }*/

    /*   #Return {
        margin-top: 5px;
    }*/

    #signature-canvas {
        text-align: left;
        width: 100%;
        height: 150px;
    }

    #ApplicationSection {
        margin-top: 10px;
    }

    #Accept {
        margin-top: 10px;
        margin-left: 45px;
    }

    h3 {
        font-size: medium;
    }

    a.navbar-brand {
        margin-left: 25px;
    }

    .table-title {
        margin-top: 75px;
    }

    .text-wrap {
        word-wrap: break-word;
        word-break: break-all;
    }
}

@media only all and (max-width: 479px) {

    #DownloadExcel {
        margin-top: 5px;
    }

    h3 {
        font-size: medium;
    }

    #IAMLogo, #TcuLogo {
        display: none;
    }

    #IAMLogoHRD {
        height: 50%;
        display: block;
    }

    h2.title {
        margin-left: 0;
        display: block;
    }

    .mobile-title {
        display: block;
    }

    .row {
        margin-bottom: 15px;
    }

    .organizing-form-application-title, .tcu-application-title {
        font-weight: bolder;
        font-size: medium;
        color: black;
        padding-bottom: 20px;
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    .human-rights-application-title {
        text-align: center !important;
        color: #0f4c8b !important;
        font-weight: bolder;
    }

    #Address2Label {
        display: none;
    }
    /*
    #IncludeInactiveAndActiveEmailSearchRow,
    #IncludeInactiveAndActiveCompaniesSearchRow {
        margin-top: 15px;
    }*/

    /*    #IncludeInactiveAndActiveUsers,
    #IncludeInactiveAndActiveEmail,
    #IncludeInactiveAndActiveCompanies {
        margin: 15px 0;
    }*/

    #IncludeInactiveAndActiveUsers {
        padding-left: 0;
        padding-right: 15px;
    }

    #Districts, #StartDate, #EndDate {
        margin-bottom: 10px;
    }

    #SearchButtons, #SearchEmailButtons, #ClearSearch {
        margin-top: 10px;
    }

    .col-xs-offset-2 {
        margin-left: 5% !important;
    }

    .text-wrap {
        word-wrap: break-word;
        word-break: break-all;
    }

    #Messages {
        margin: 15px 0;
    }

    a.navbar-brand {
        margin-left: 25px;
    }

    #header {
        align-content: center;
        text-align: center;
    }
}

@media only all and (max-width: 768px) {

    #Translate {
        padding: 25px 10px;
        text-align: left !important;
    }

    .row {
        margin-bottom: 0;
    }

    .processing {
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        z-index: 999999;
    }

        .processing img {
            position: fixed;
            top: 25%;
            margin-left: 35%;
        }

        .processing img {
            position: fixed;
            top: 25%;
            margin-left: 35%;
        }

    .military-branch-list-box {
        margin-top: 10px;
    }

    .tab {
        /* empty */
    }

    .ui-tabs-tab.ui-corner-top.ui-state-default.ui-tab {
        width: 100%;
    }

    .ui-tabs-anchor {
        width: 100%;
    }

    .mobile-title {
        display: block;
    }

    #IAMLogo, #TcuLogo {
        display: none;
    }

    #RecordsPerPageDropDownListLabel {
        margin-right: 20px !important;
    }

    #header {
        align-content: center;
        text-align: center;
    }

    .organizing-form-application-title {
        font-weight: bolder;
        font-size: medium;
        color: black;
        padding-bottom: 20px;
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    .veteran-application-title {
        font-weight: bolder;
        color: black;
        margin: 35px 0 0 0;
        padding-bottom: 20px;
        display: inline-block;
        text-align: center;
    }

    .human-rights-application-title {
        text-align: center !important;
        color: #0f4c8b !important;
        font-weight: bolder;
    }

    .tcu-application-img-col,
    .veteran-application-img-col {
        display: inline-block;
        height: 100px;
        /*   margin: 20px 20px 10px 0;*/
        padding-left: 0;
    }

    .veteran-application-img-col {
        display: none !important;
    }

    .tcu-application-img,
    .veteran-application-img {
        margin: 0 auto;
        margin-top: 20px;
        vertical-align: middle;
        width: 200px;
    }

    #IAMLogoHRD {
        height: 65px;
    }

    #VeteranContactInfoDownloadGridView th:nth-child(1):not(.paging):not(:last-child),
    #VeteranContactInfoDownloadGridView td:nth-child(1):not(.paging):not(:last-child),
    #VeteranContactInfoDownloadGridView th:nth-child(2):not(.paging),
    #VeteranContactInfoDownloadGridView td:nth-child(2):not(.paging),
    #VeteranContactInfoDownloadGridView th:nth-child(3):not(.paging),
    #VeteranContactInfoDownloadGridView td:nth-child(3):not(.paging),
    #VeteranContactInfoDownloadGridView th:nth-child(6):not(.paging),
    #VeteranContactInfoDownloadGridView td:nth-child(5):not(.paging),
    #VeteranContactInfoDownloadGridView th:nth-child(5):not(.paging),
    #VeteranContactInfoDownloadGridView td:nth-child(6):not(.paging),
    #VeteranContactInfoDownloadGridView th:nth-child(7):not(.paging),
    #VeteranContactInfoDownloadGridView td:nth-child(7):not(.paging),
    #VeteranContactInfoDownloadGridView th:nth-child(8):not(.paging),
    #VeteranContactInfoDownloadGridView td:nth-child(8):not(.paging),
    /*    #VeteranContactInfoDownloadGridView th:nth-child(10):not(.paging),
    #VeteranContactInfoDownloadGridView td:nth-child(10):not(.paging),*/
    #VeteranContactInfoDownloadGridView th:nth-child(11):not(.paging),
    #VeteranContactInfoDownloadGridView td:nth-child(11):not(.paging) {
        display: none;
    }

    #VeteranContactInfoDownloadGridView th:nth-child(4):not(.paging):not(:last-child),
    #VeteranContactInfoDownloadGridView td:nth-child(4):not(.paging):not(:last-child),
    #VeteranContactInfoDownloadGridView th:nth-child(9):not(.paging):not(:last-child),
    #VeteranContactInfoDownloadGridView td:nth-child(9):not(.paging):not(:last-child),
    #VeteranContactInfoDownloadGridView th:nth-child(12):not(.paging):not(:last-child),
    #VeteranContactInfoDownloadGridView td:nth-child(12):not(.paging):not(:last-child),
    #VeteranContactInfoDownloadGridView th:nth-child(13):not(.paging),
    #VeteranContactInfoDownloadGridView td:nth-child(13):not(.paging) {
        width: 90px;
    }

    #FirstName, #LastName, #City, #ZipCode, #UnionContactFirstName,
    #CellPhoneNumber, #CompanyCity, #LodgeDistrict, #UserRoles,
    #AssociatedRoles, #FilterLodgesByDistrict, #AvailableLodges,
    #AssociatedLodges {
        margin-bottom: 15px;
    }
}

@media all and (min-width: 767px) and (max-width: 821px) {



    #VeteranInformationSection {
        margin-top: 50px;
    }
}

@media only all and (max-width: 479px), all and (min-width: 480px) and (max-width: 599px), all and (min-width: 600px) and (max-width: 767px), all and (min-width: 768px) and (max-width: 959px) {
    .row {
        margin-bottom: 0;
    }

    .pager {
        width: expression(screen.width * .71);
    }

    .records-per-page-list {
        width: 110px;
        margin: 80px 0 20px 0;
    }

    .mobile-title {
        display: none;
    }

    #first-name, #last-name {
        width: 280px !important;
    }

    #UserCommandRow {
        margin-top: 50px;
    }

    #CompaniesRecordsPerPageDropDownList {
        margin-bottom: 0;
    }

    #AuditControlDivision {
        display: none;
    }

    #Messages {
        margin: 15px 0;
    }

    #CompaniesRecordsPerPageDropDownList {
        margin-right: 30px;
    }

    #HumanRightsFormDownloadGridView th:nth-child(3):not(.paging),
    #HumanRightsFormDownloadGridView td:nth-child(3):not(.paging),
    #HumanRightsFormDownloadGridView th:nth-child(4):not(.paging),
    #HumanRightsFormDownloadGridView td:nth-child(4):not(.paging),
    #HumanRightsFormDownloadGridView th:nth-child(6):not(.paging),
    #HumanRightsFormDownloadGridView td:nth-child(6):not(.paging),
    #HumanRightsFormDownloadGridView th:nth-child(7):not(.paging),
    #HumanRightsFormDownloadGridView td:nth-child(7):not(.paging) {
        display: none;
    }

    #UsersGridView th:nth-child(3):not(.paging),
    #UsersGridView td:nth-child(3):not(.paging),
    #UsersGridView th:nth-child(4):not(.paging),
    #UsersGridView td:nth-child(4):not(.paging),
    #UsersGridView th:nth-child(5):not(.paging),
    #UsersGridView td:nth-child(5):not(.paging),
    #UsersGridView th:nth-child(8):not(.paging),
    #UsersGridView td:nth-child(8):not(.paging) {
        display: none;
    }

    #CompaniesGridView th:nth-child(3):not(.paging),
    #CompaniesGridView td:nth-child(3):not(.paging),
    #CompaniesGridView th:nth-child(4):not(.paging),
    #CompaniesGridView td:nth-child(4):not(.paging) {
        display: none;
    }

    #AirportCodesGridView th:nth-child(2):not(.paging),
    #AirportCodesGridView td:nth-child(2):not(.paging),
    #AirportCodesGridView th:nth-child(3):not(.paging),
    #AirportCodesGridView td:nth-child(3):not(.paging),
    #AirportCodesGridView th:nth-child(4):not(.paging),
    #AirportCodesGridView td:nth-child(4):not(.paging),
    #AirportCodesGridView th:nth-child(5):not(.paging),
    #AirportCodesGridView td:nth-child(5):not(.paging) {
        display: none;
    }

    #IncludeInactiveAndActiveUsers,
    #IncludeInactiveAndActiveEmail,
    #IncludeInactiveAndActiveCompanies,
    #IncludeInactiveAndActiveAirportCode {
        margin: 20px 0;
    }

    #AirportCodeSearchTextBox,
    #CompanyNameSearchTextBox,
    #EmailSearchText,
    #UserSearchText {
        margin-top: 10px;
    }

    #SearchAirportCodeButtons {
        margin-bottom: 50px;
    }

    #LodgeEmailAddressListGridView th:nth-child(2):not(.paging),
    #LodgeEmailAddressListGridView td:nth-child(2):not(.paging),
    #LodgeEmailAddressListGridView th:nth-child(3):not(.paging),
    #LodgeEmailAddressListGridView td:nth-child(3):not(.paging),
    #LodgeEmailAddressListGridView th:nth-child(4):not(.paging),
    #LodgeEmailAddressListGridView td:nth-child(4):not(.paging),
    #LodgeEmailAddressListGridView th:nth-child(5):not(.paging),
    #LodgeEmailAddressListGridView td:nth-child(5):not(.paging),
    #LodgeEmailAddressListGridView th:nth-child(6):not(.paging),
    #LodgeEmailAddressListGridView td:nth-child(6):not(.paging) {
        display: none;
    }

    #AddCancelLodgeEmail {
        margin-top: 20px;
    }

    #AirportCodesGridView th:nth-child(5):not(.paging),
    #AirportCodesGridView td:nth-child(5):not(.paging),
    #AirportCodesGridView th:nth-child(6):not(.paging),
    #AirportCodesGridView td:nth-child(6):not(.paging) {
        display: none;
    }

    #ApplicationDownloadGridView th:nth-child(2):not(.paging),
    #ApplicationDownloadGridView td:nth-child(2):not(.paging),
    #ApplicationDownloadGridView th:nth-child(5):not(.paging),
    #ApplicationDownloadGridView td:nth-child(5):not(.paging),
    #ApplicationDownloadGridView th:nth-child(6):not(.paging),
    #ApplicationDownloadGridView td:nth-child(6):not(.paging),
    #ApplicationDownloadGridView th:nth-child(7):not(.paging),
    #ApplicationDownloadGridView td:nth-child(7):not(.paging),
    #ApplicationDownloadGridView th:nth-child(10):not(.paging),
    #ApplicationDownloadGridView td:nth-child(10):not(.paging),
    #ApplicationDownloadGridView th:nth-child(11):not(.paging),
    #ApplicationDownloadGridView td:nth-child(11):not(.paging) {
        display: none;
    }

    #UserAgreementsDownloadGridView th:nth-child(2):not(.paging),
    #UserAgreementsDownloadGridView td:nth-child(2):not(.paging),
    #UserAgreementsDownloadGridView th:nth-child(4):not(.paging),
    #UserAgreementsDownloadGridView td:nth-child(4):not(.paging),
    #UserAgreementsDownloadGridView th:nth-child(5):not(.paging),
    #UserAgreementsDownloadGridView td:nth-child(5):not(.paging),
    #UserAgreementsDownloadGridView th:nth-child(7):not(.paging),
    #UserAgreementsDownloadGridView td:nth-child(7):not(.paging) {
        display: none;
    }

    #RecordsPerPageDropDownListLabel.human-rights {
        margin-right: 15px;
    }

    #SearchButtons, #SearchEmailButtons, #ClearSearch {
        margin-top: 10px;
    }

    .col-xs-offset-2 {
        margin-left: 8% !important;
    }

    .text-wrap {
        word-wrap: break-word;
        word-break: break-all;
    }

    .navbar-brand {
        margin-left: 25px;
    }

    .tcu-application-img-col,
    .veteran-application-img-col {
        display: inline-block;
        height: 100px;
        margin: 20px 20px 10px 0;
        padding-left: 0;
    }

    .tcu-application-img,
    .veteran-application-img {
        margin: 0 auto;
        margin-top: 20px;
        vertical-align: middle;
        width: 200px;
    }

    .human-rights-application-title {
        text-align: center !important;
        color: #0f4c8b !important;
        font-weight: bolder;
    }

    .tcu-application-title {
        text-align: center;
        margin-left: 0;
    }

    #FirstName, #LastName, #City, #ZipCode, #UnionContactFirstName,
    #CellPhoneNumber, #CompanyCity, #LodgeDistrict, #PhoneNumber {
        margin-bottom: 15px;
    }
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) and (max-width: 1023px) {

    #Translate {
        padding: 25px 25px;
        text-align: left !important;
    }

    .tcu-application-title {
        display: inline-block;
        margin-top: 70px;
    }

    .human-rights-application-title {
        text-align: center !important;
        color: #0f4c8b !important;
        font-weight: bolder;
    }

    h1.mobile-title {
        display: none;
    }

    #IAMLogoHRD {
        height: 150px;
        text-align: center;
    }

    #HumanRightsFormDownloadGridView th:nth-child(5):not(.paging),
    #HumanRightsFormDownloadGridView td:nth-child(5):not(.paging) {
        display: none;
    }

    #VeteranContactInfoDownloadGridView th:nth-child(1):not(.paging):not(:last-child),
    #VeteranContactInfoDownloadGridView td:nth-child(1):not(.paging):not(:last-child),
    #VeteranContactInfoDownloadGridView th:nth-child(2):not(.paging),
    #VeteranContactInfoDownloadGridView td:nth-child(2):not(.paging),
    #VeteranContactInfoDownloadGridView th:nth-child(3):not(.paging),
    #VeteranContactInfoDownloadGridView td:nth-child(3):not(.paging),
    #VeteranContactInfoDownloadGridView th:nth-child(6):not(.paging),
    #VeteranContactInfoDownloadGridView td:nth-child(6):not(.paging),
    #VeteranContactInfoDownloadGridView th:nth-child(7):not(.paging),
    #VeteranContactInfoDownloadGridView td:nth-child(7):not(.paging),
    #VeteranContactInfoDownloadGridView th:nth-child(8):not(.paging),
    #VeteranContactInfoDownloadGridView td:nth-child(8):not(.paging),
    #VeteranContactInfoDownloadGridView th:nth-child(10):not(.paging),
    #VeteranContactInfoDownloadGridView td:nth-child(10):not(.paging),
    #VeteranContactInfoDownloadGridView th:nth-child(11):not(.paging),
    #VeteranContactInfoDownloadGridView td:nth-child(11):not(.paging) {
        display: none;
    }

    #VeteranContactInfoData, #RecordsPerPageDropDownRow {
        max-width: 98%;
    }

    .processing {
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        z-index: 999999;
    }

        .processing img {
            position: fixed;
            top: 25%;
            margin-left: 38%;
        }

    #ApplicationSearch, #UserAgreementSearch {
        margin-top: 30px;
    }

    #IAMLogo {
        width: 100px;
        margin: 50px 0;
    }

    .organizing-form-application-title {
        font-weight: bolder;
        color: black;
        padding-bottom: 20px;
        display: inline-block;
        width: 80%;
        text-align: center;
        margin-top: 80px;
        font-size: xx-large;
    }

    .organizing-form-img {
        margin: 10px 50px;
        vertical-align: middle;
        width: 150px;
    }

    .row.vertical-align {
        text-align: center;
    }

    a.navbar-brand {
        margin-left: 25px;
    }

    #UserDetails {
        margin-top: 40px;
    }

    #UserAddCancel {
        margin-left: 15px;
    }

    .body-content {
        padding: 0;
    }

    div.container {
        margin-right: 0;
    }

    div#NavBar.navbar-collapse.collapse {
        margin-left: 12px;
    }

    div.searchButtons.col-sm-2 {
        padding-left: 0;
        padding-right: 0;
    }

    /*    .records-per-page-list {
        margin: 30px 0 15px 20px;
    }*/

    .col-xs-offset-2 {
        margin-left: 8% !important;
    }

    .rbl label {
        margin-right: 10px;
        padding-top: 0 !important;
    }

    .text-wrap {
        word-wrap: break-word;
        word-break: break-all;
    }

    .jumbotron {
        margin-top: 20px;
    }

    /*    #IncludeInactiveAndActiveUsers,
    #IncludeInactiveAndActiveEmail,
    #IncludeInactiveAndActiveCompanies {
        margin-top: 25px;
    }*/

    #Logoff {
        margin-right: 15px;
    }

    #Messages {
        margin: 15px 0;
    }

    #SearchButtons, #SearchEmailButtons, #ClearSearch {
        margin-top: 10px;
    }

    #SearchControls {
        margin-top: 100px;
        vertical-align: middle;
    }

    #tabs {
        margin-top: 50px;
    }

    #ClearSearch {
        margin-top: 10px;
    }

    #WelcomeBanner {
        margin-top: 50px;
    }

    #UsersGridView th:nth-child(3):not(.paging),
    #UsersGridView td:nth-child(3):not(.paging),
    #UsersGridView th:nth-child(5):not(.paging),
    #UsersGridView td:nth-child(5):not(.paging),
    #UsersGridView th:nth-child(6):not(.paging),
    #UsersGridView td:nth-child(6):not(.paging) {
        display: none;
    }

    .veteran-application-title {
        font-weight: bolder;
        color: black;
        margin: 35px 0 0 0;
        padding-bottom: 20px;
        display: inline-block;
        text-align: center;
    }

    .tcu-application-img-col,
    .veteran-application-img-col {
        display: inline-block;
        height: 100px;
        /*   margin: 20px 20px 10px 0;*/
        padding-left: 0;
        padding-right: 10px;
    }

    .tcu-application-img,
    .veteran-application-img {
        margin: 0 auto;
        margin-top: 20px;
        vertical-align: middle;
        width: 200px;
    }
}

@media screen and (min-width: 1024px) {

    #Translate {
        padding: 25px 25px;
        text-align: left !important;
    }

    #IAMLogoHRD {
        height: 100px;
    }

    #header {
        align-content: center;
        text-align: center;
    }

    .row {
        margin-bottom: 15px;
    }

    .image-row {
        margin-left: -55px;
    }

    #UserAddCancel {
        margin-left: 15px;
    }

    .tcu-application-title {
        display: inline-block;
        text-align: center;
    }

    .human-rights-application-title {
        text-align: center !important;
        color: #0f4c8b !important;
        font-weight: bolder;
    }

    h1.mobile-title {
        display: none;
    }

    .processing {
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        z-index: 999999;
    }

        .processing img {
            position: fixed;
            top: 25%;
            margin-left: 38%;
        }

    .records-per-page-list {
        width: 110px;
        margin: 40px 0 20px 0;
    }

    #header {
        margin-top: auto;
        margin-bottom: auto;
        text-align: center;
    }

    .organizing-form-img {
        margin: 10px 50px;
        vertical-align: middle;
        width: 150px;
    }

    .vertical-align {
        display: flex;
        align-items: center;
        width: 100%;
    }

    #veteran-application-instructions {
        text-align: center;
        align-items: center;
    }

    .tcu-application-title,
    .veteran-application-title {
        font-weight: bolder;
        color: black;
        /*        margin: 35px 0 0 50px;*/
        padding-bottom: 20px;
        display: inline-block;
        margin: 0 225px;
        text-align: center;
    }

    .tcu-application-img-col,
    .veteran-application-img-col {
        display: inline-block;
        height: 180px;
        margin: 20px 20px 20px 0;
        padding-left: 0 !important;
    }

    .tcu-application-img,
    .veteran-application-img {
        margin: 0 auto;
        margin-top: 20px;
        vertical-align: middle;
        width: 200px;
    }

    #SearchButtons, #SearchEmailButtons, #ClearSearch {
        margin-top: 50px;
    }

    a.navbar-brand {
        margin-left: 25px;
    }

    /*    #IncludeInactiveAndActiveUsers,
    #IncludeInactiveAndActiveEmail,
    #IncludeInactiveAndActiveCompanies,
    #IncludeInactiveAndActiveAirportCode {
        margin: 20px 0;
    }*/

    div#NavBar.navbar-collapse.collapse {
        margin-left: 12px;
    }

    div.searchButtons.col-sm-2 {
        padding-left: 0;
        padding-right: 0;
    }

    .col-xs-5 {
        width: 26.666667%
    }

    .col-xs-offset-2 {
        margin-left: 8% !important;
    }

    .jumbotron {
        margin-top: 20px;
    }

    #SearchButtons, #SearchEmailButtons {
        margin: 10px 0;
    }

    .text-wrap {
        word-wrap: normal;
        word-break: normal;
    }

    #HumanRightsFormDownloadGridView th:nth-child(5):not(.paging),
    #HumanRightsFormDownloadGridView td:nth-child(5):not(.paging),
    #HumanRightsFormDownloadGridView th:nth-child(7):not(.paging),
    #HumanRightsFormDownloadGridView td:nth-child(7):not(.paging) {
        display: none;
    }
}

/*.initial-select {
    color: grey;
}

select:valid {
    color: black;
}*/

select,
select option {
    color: #000000;
}

select:invalid,
select option[value="-1"] {
    color: #999999;
}

label {
    display: block;
    /*margin: 16px 0;*/
}

[hidden] {
    /*Added for browser compatibility*/
    display: none;
}

#human-rights-recs-per-page {
    padding-right: 0;
    margin-right: 0;
    text-align: right;
}

.important-notice {
    color: red;
    font-weight: bolder;
}

/*.initial-select {
    color: rgb(153, 153, 153) !important;
}
*/
.underline {
    text-decoration: underline;
}

.ui-dialog {
    max-width: 600px !important;
    max-height: 1000px !important;
}

select:invalid {
    color: rgb(153, 153, 153) !important;
}

    /*select option:first-child {    
    color: rgb(153, 153, 153) !important;
}*/

    select:invalid option:not(:first-child) {
        color: black;
    }

.scroll-to-heading {
    display: block;
    /*    height: 92px;
    margin-top: -92px;*/
    visibility: hidden;
}

.terms-and-conditions-checkBox input, .translate-page-french-checkBox input {
    width: 25px !important;
    height: 25px !important;
}

#human-rights-wrapper {
    margin-top: 60px;
}


#ShiftLabel {
    padding-top: 3px;
}

#AirportCodesGridViewCommandRow, #CompaniesGridViewCommandRow, #AddCancelLodgeEmail, #AddCancelCompany {
    margin-top: 50px;
}

#UsersGridViewPageCountsDiv, #VeteranContactInfoGridViewPageCountsDiv,
#AirportCodesGridViewPageCounts {
    float: right;
    margin: 5px 5px;
}

.user-details {
    max-width: 280px !important;
}

#StartDate, #EndDate, #AvailableLodgeDistricts {
    max-width: 280px !important;
}

#AssignedLodgeDistricts, #AvailableLodgeDistricts {
    max-width: 280px !important;
}

.lodge-district-list {
    max-width: 315px !important;
}

#EmailAddress {
    max-width: 750px !important;
}

#SearchCompanyButtons, #SearchAirportCodeButtons {
    margin-top: 10px;
}

.search-textBox {
    cursor: default;
    display: inline-block;
}

/*.records-per-page-list {
    margin-top: 30px;
    margin-bottom: 15px;
}*/

.records-per-page-controls {
    margin-bottom: 10px;
}

#RecordsPerPageDropDownList {
    width: 80px;
    display: inline-block;
}

.list-user-control {
    width: 280px !important;
    margin-right: 0 !important;
}

.grid-btn {
    width: 100%;
    margin: 2px 0;
}

.commands {
    padding-left: 0;
}

.user-control-button {
    width: 78px;
}

.user-control-narrow {
    max-width: 200px !important;
}

#FilterLodgesByDistrictDiv {
    padding-right: 0;
    width: 173px;
}

.notice {
    color: red;
    font-size: medium;
}

.notice-required::before {
    margin-left: 5px;
    content: "*";
    font-weight: bolder;
    font-size: larger;
    color: red;
    vertical-align: bottom;
}

.required::after {
    margin-left: 5px;
    content: "*";
    font-weight: bolder;
    font-size: larger;
    color: red;
    vertical-align: bottom;
}

th a {
    color: #0f4c8b !important;
}

table tbody tr td label {
    font-weight: 200;
}

#TermsAndConditionsSection {
    margin-bottom: 20px;
}

#TermsMessage {
    font-size: medium;
}

#terms-message {
    font-size: medium;
}

#ApplicationSection {
    margin-top: 20px;
}

#ApplicationData {
    padding-top: 15px;
}

#YearsOfService {
    max-width: 100px;
}

#download-command {
    width: 98%;
}

#clear-command, #download-command {
    margin: 40px 5px 5px 5px;
    text-align: right;
}

#commands {
    margin: 40px 5px 5px 5px;
}

#jq-signature-canvas-1 {
    margin-left: 15px;
    width: 100%;
}

#jq-signature-canvas-1 {
    text-align: right;
    width: 500px;
    height: 250px;
}

#former-member {
    padding-left: 15px;
}

#ApplicationTermsDiv, #CheckoffTerms, ImportantNotice {
    text-align: justify;
}

#FormerCardNumber, #FormerLodgeNumber, #LastDuesPaidDate, #FormerLocation {
    margin-bottom: 15px;
}

#go-iam {
    color: white !important;
}

#dialog-message {
    max-width: 350px !important;
}

#DistrictRow, #LodgeRow {
    text-align: center;
    margin-bottom: 10px;
}

#DistrictRow, #LodgeRow {
    margin-bottom: 10px;
}

#error-message {
    margin-top: 25px;
}

#Shift tbody tr td {
    padding: 5px 12px 0 0;
}

#signature-label {
    margin: 10px 25px 15px 15px;
}

#signature-canvas {
    text-align: left;
    width: 100%;
    height: 150px;
}

#ClearSearch {
    vertical-align: middle;
}

#LodgeSearch, #DistrictSearch {
    margin-top: 20px;
}

#LodgeSearchControls {
    display: inline-block;
    text-align: right;
    height: 35px;
    margin: 0 0 70px auto;
}

#DistrictSearch,
#LodgeSearch
#IncludeInactiveAndActiveUsers,
#IncludeInactiveAndActiveEmail,
#IncludeInactiveAndActiveCompanies {
    display: inline-block;
}

#IncludeInactiveAndActiveUsers {
    padding-right: 0;
}

#IncludeInactiveUsers {
    margin-right: 5px;
}

#EmailPassword {
    margin-right: 5px;
}

#ApplicationTermsDiv {
    scroll-margin-top: 100px;
}

#membershipSectionButton, #duesCheckoffIAMSecurityClausesButton, #membershipIAMSecurityClausesButton {
    border: none;
    background-color: white;
    color: #23527c;
    font-weight: bolder;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
}

#MiddleInitial, #Suffix {
    width: 80px;
}

#SignatureImage, #TypedSignatureControlsRow {
    margin-top: 20px;
}

#Regions,
#Genders,
#Fonts,
#DateOfBirth,
#LastDuesPaidDate,
#HireDate,
#HourlyWage, #YearsExperience, #LodgeDistrict {
    max-width: 280px;
}

#Logo {
    display: inline-block;
}

#Logo {
    width: 210px;
    vertical-align: top;
    border: 3px solid #23527c;
    margin: 20px auto;
}

#LogoRow.row {
    text-align: center;
    clear: both;
    margin: auto;
}

    #LogoRow.row img {
        margin-top: 10px;
        width: 120px;
    }

#LodgeLabel {
    color: #23527c;
    font-weight: bolder;
}

#Messages {
    margin: 15px 0;
}

#SignatureImage {
    max-width: 100%;
    height: auto;
    width: auto\9; /* ie8 */
}

#TypedSignatureControls {
    margin-top: 10px;
}

.records-per-page-row {
    margin-top: 50px;
}

/*#UsersTableData, #LodgeEmailAddressTableData, #CompaniesTableData {
    margin-top: 30px;
}*/

#WelcomeMessage {
    margin-top: 25px;
    margin-bottom: 0;
    color: red;
}

.checkbox {
    padding-top: 5px;
}

.veteran-checkbox {
    padding-top: 5px;
    width: 3% !important;
}

.navbar-brand {
    background: url('images/IAM-Logo-Color-Transparent.png') no-repeat;
    background-size: 40px 40px;
    height: 40px;
    margin-top: 5px;
    width: 40px;
}

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 20px;
    min-width: 360px;
}

hr {
    border: 0.75px solid #23527c;
    margin: 10px 0;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
/*.body-content {
    padding-left: 15px;
    padding-right: 15px;
}
*/
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"]:not(.airport-code, .address-wide, .form-control.wide),
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
    max-width: 280px !important;
}

.control-instructions {
    padding: 10px 0 0 15px;
}

.form-control {
    margin-right: 15px;
}

    .form-control.wide {
        max-width: 670px !important;
    }

    .form-control.worksite-location-wide,
    .form-control.union-title-wide,
    .form-control.address-wide,
    .form-control.email-wide {
        max-width: 650px !important;
    }

.auditControlLabel {
    padding-left: 0;
    padding-right: 0;
}

.consent {
    text-align: left;
}

.col-xs-6 .col-md-6 {
    padding: 0;
}

.rbl input[type="radio"] {
    margin-right: 10px;
    padding-left: 10px;
    padding-top: 10px;
}

.col-xs-9.rbl {
    padding-top: 10px;
}

#MNPLAmountsDiv {
    margin-left: 20px;
}

.mnpl-rbl input[type="radio"] {
    margin-right: 10px;
    padding-left: 10px;
}

.mnpl-amount {
    width: 150px;
    margin-left: 20px;
}

.rbl label {
    margin-right: 10px;
    padding-top: 0 !important;
}

.lodgeSearchRow {
    display: inline-block;
    text-align: right;
    height: 35px;
    padding-right: 0;
}

.searchDropDownLabel {
    margin-top: 10px;
    height: 35px;
    vertical-align: middle;
}

.search-row-top {
    margin-bottom: 10px;
}

.search-row {
    display: inline-block;
    text-align: right;
    height: 35px;
    padding-right: 15px;
}

.searchButtons {
    padding: 0 15px;
}

.searchTextBox, .lodgeDropdown {
    width: 250px;
    display: inline-block;
}

.lodge-dropdown-row {
    margin-bottom: 10px;
}

.tabs {
    display: none;
    height: 100%;
    margin: 10px auto;
}

.table-title {
    margin-top: 40px;
    margin-left: 15px;
}

.lodge-email-table-title {
    margin-top: 75px;
}

.table-Title, .page-title {
    color: red;
    padding-left: 0;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 5px 2px 2px 5px;
}

.table table tbody tr td a,
.table table tbody tr td span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #0f4c8b;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.table table > tbody > tr > td > span {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #0f4c8b;
    border-color: #0f4c8b;
}

.table table > tbody > tr > td:first-child > a,
.table table > tbody > tr > td:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.table table > tbody > tr > td:last-child > a,
.table table > tbody > tr > td:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.table table > tbody > tr > td > a:hover,
.table table > tbody > tr > td > span:hover,
.table table > tbody > tr > td > a:focus,
.table table > tbody > tr > td > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

input[type='radio'] {
    margin: 0;
}

input[type='radio'], label {
    display: inline;
    vertical-align: middle;
}

input[type='checkbox'] {
    margin: 5px 5px;
}

input[type='checkbox'], label {
    vertical-align: middle;
}

#AirportTextBox {
    max-width: 95% !important;
}

#UserAgreementApplications {
    margin-left: 20px !important;
}

    #UserAgreementApplications label {
        margin-left: 10px !important;
        font-weight: normal !important;
        display: inline-block;
        vertical-align: text-top;
        max-width: 85%;
        word-wrap: normal;
    }

h1.title {
    color: #23527c;
    font-family: Arial Black;
    font-weight: bold;
}

h2.title {
    color: rgb(206, 42, 87);
    font-family: Arial Black;
    font-weight: bold;
    font-size: xx-large;
}

h2 {
    color: #23527c;
    font-family: Arial Black;
    font-size: 24px;
}

h3 {
    color: red;
    font-family: Arial Black;
}

    h3.title {
        color: #23527c;
        font-weight: bold;
    }

.application-title-col {
    display: inline-block;
    height: 120px;
    padding-left: 0;
}

.application-img-col {
    display: inline-block;
    height: 80px;
    margin: 0;
}

.application-img {
    height: 80px;
    margin: 0 auto;
    margin-top: 10px;
    vertical-align: middle;
    width: 110px;
}

.application-title-row {
    background-color: #eee;
    font-size: large;
    height: 120px;
    margin-bottom: 0;
}

.container {
    /*margin: auto 100px;*/
    min-height: 100%;
    width: 95%;
}

.errorControl, .errorcontrol {
    background-color: #FBE3E4;
    border: solid 1px Red;
    display: block !important;
}

.fa {
    padding: 8.5px;
    font-size: 30px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    height: 30px;
    width: 30px;
}

.fa-goiam {
    width: 30px;
    height: 30px;
    padding: 0;
    vertical-align: top;
    background: #125688;
    color: white;
}

.fa:hover {
    opacity: 0.7;
}

.fa-youtube {
    background: #bb0000;
    color: white;
}

.fa-instagram {
    background: #125688;
    color: white;
}

.fa-facebook {
    background: #3B5998;
    color: white;
}

.fa-twitter {
    background: #55ACEE;
    color: white;
}

.fa-pinterest {
    background: #cb2027;
    color: white;
}

.ignore-validation {
    /* Used to find elements to ignore triggered events 
    when page submitted*/
}

    .ignore-validation.col-xs-1 {
        text-align: right;
    }

.navbar-menu {
}

.navbar {
    border-bottom-width: 0;
    border-left-width: 0;
    border-right-width: 0;
    margin: 5px 0;
}

.navbar-header {
    margin-left: 0;
    text-align: left !important;
}

.navbar-inverse {
    background-color: #23527c;
    left: 0;
    margin-bottom: 0;
    top: 0;
}

    .navbar-inverse li {
        font-weight: bold;
    }

    .navbar-inverse .navbar-nav > .open > a,
    .navbar-inverse .navbar-nav > .open > a:hover,
    .navbar-inverse .navbar-nav > .open > a:focus {
        background-color: #23527c;
        color: #fff;
    }

.navbar-toggle {
    margin-right: 20px;
}

.social-media {
    margin: 10px 0;
}


.ui-dialog .ui-dialog-buttonpane
.ui-dialog-buttonset .delete-dialog-yes-button {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.button {
    padding: 0;
    border: 0;
    margin: 0;
}

.title, .affiliation {
    font-weight: bolder;
    color: black;
    padding-bottom: 20px;
    text-align: center;
}

.scrollableDiv {
    height: 300px;
    overflow-y: scroll;
    margin-bottom: 20px;
    border: 1px solid grey;
    padding: 0 15px;
    margin: 0 15px 15px 15px;
}

footer {
    border-top: 1px solid lightgray;
    bottom: 0;
    margin: auto;
    margin-top: 10px;
    text-align: center;
}

.ui-state-active,
.ui-widget-content
.ui-state-active,
.ui-widget-header
.ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    /*background: #23527c !important;*/
    background: #0f4c8b !important;
}

.row-space {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 10px;
}

#SearchCriteria {
    display: inline-block !important;
    margin-bottom: 10px;
}
