
#UnresolvedPermitsTab {
    height: auto !important;
    min-height: 530px;
}
select:not(.ui-datepicker-month):not(.ui-datepicker-year):not(.state) {
    max-width: unset;
    /*width: 300px!important;*/
}

.icon-background4 { color: #c0ffc0; }

.icon-background6 { color: #40c040; }

/*the jquery ui dialog also conflicts, so I had to fix the close button which was white*/

.ui-icon-closethick { color: #888 !important; }

.ui-icon-triangle-1-s {
    filter: invert(100%);
    /*change the color to black*/
}

.helpicon { vertical-align: middle; }

.ui-dialog-title {
    padding: 2px;
    width: 95% !important;
    /*the close button does not appear far enough to the right for some reason */
}

.license-related-card {
    padding: 15px;
}
.alert-icon,
.certifier-icon.fa-stack {
    height: 24px;
    width: 24px;
    float: left;
}
.certifier-icon.fa-stack,
.certifier-text {
    display: block;
    line-height: 24px;
}
.alert-icon + .alert-text,
.certifier-icon + .certifier-text {
    padding-left: 28px
}
.alert.license-app-alert > p,
.alert.license-app-alert > p + p {
    margin: 0 0 10px;
}
.fa-2x {
    font-size: 1.2em !important;
}
.disableIfApplicantIsRMEWrapper {
    cursor: not-allowed;
}
.disableIfApplicantIsRME {
    pointer-events: none;
}
/*.row { padding: 5px; }*/
/*.table:not(#ApplicantBasicInfoTable, 
#RMEBasicInfoTable, 
#AddProjectHistoryTableColumn2, 
#ApplicantBasicInfoTable2, 
#BusinessTable2,
#AddRMECertificationTableColumn1,
#AddRMECertificationTableColumn2,
.RMEWorkHistoryTableColumn1,
.RMEWorkHistoryTableColumn2,
#AddRMEWorkHistoryTableColumn1,
#AddRMEWorkHistoryTableColumn2,
.RMECertificationsTableColumn1,
.RMECertificationsTableColumn2,
#AddWorkHistoryTableColumn1,
#AddWorkHistoryTableColumn2,
.WorkHistoryTableColumn1,
.WorkHistoryTableColumn2,
#AddApplicantCertificationTableColumn1,
#AddApplicantCertificationTableColumn2,
.ApplicantCertificationsTableColumn1,
.ApplicantCertificationsTableColumn2,
#BusinessInfoTable1,
.ProjectHistoryTableColumn1,
.ProjectHistoryTableColumn2,
#AddProjectHistoryTableColumn1,
#AddProjectHistoryTableColumn2) {
    width: unset;
}*/
.fa-stack.disabled,
.fa-stack[disabled],
.disabled > .fa-stack,
[disabled] > .fa-stack {
    /*optional*/
    cursor: not-allowed;
    opacity: 0.5;
    /*optional*/
    pointer-events: none;
}


.ui-accordion .ui-accordion-header {
    background-color: rgba(126, 198, 215, .4) !important;
    border-color: #888888 !important;
    color: black !important;
    font-size: 16px;
}


td {
    border-top: 1px !important;
    vertical-align: middle !important;
    /*white-space: nowrap;*/
}

tr { background-color: #ffffff; }

/*tr:nth-child(odd) { background-color: aliceblue; }*/

/*    #EducationHistory tr:nth-child(odd) {
            background-color: #efefef;
    }*/

.panel-heading.collapsed .fa-chevron-down,
.panel-heading .fa-chevron-right { display: none; }

.panel-heading.collapsed .fa-chevron-right,
.panel-heading .fa-chevron-down { display: inline-block; }

i.fa {
    cursor: pointer;
    margin-right: 5px;
}

.panel-body { padding: 15px; }

.collapsed ~ .panel-body { padding: 0; }

.signaturepad {
    background-color: white;
    height: 200px;
    left: 0;
    top: 0;
    width: 500px;
}

textarea { height: unset !important; }


.DisableTabOrSection {
    background-color: #efefef;
    opacity: .75;
    pointer-events: none;
    z-index: 9999999;
    padding: 5px;
}

.NoHistoryOverlay {
    background-color: rgba(0, 0, 0, .5);
    bottom: 0;
    cursor: pointer;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 2;
}

.NoHistoryOverlayText {
    -ms-transform: translate(-50%, -50%);
    color: white;
    font-size: 22px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}
.NoRMEWorkHistoryOverlay {
    background-color: rgba(0, 0, 0, .5);
    bottom: 0;
    cursor: pointer;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 2;
}

.NoRMEWorkHistoryOverlayText {
    -ms-transform: translate(-50%, -50%);
    color: white;
    font-size: 22px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}
.ApplicantIsRMEWorkHistoryOverlayText {
    -ms-transform: translate(-50%, -50%);
    color: white;
    font-size: 22px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.ApplicantIsRMEWorkHistoryOverlay {
    background-color: rgba(0, 0, 0, .5);
    bottom: 0;
    cursor: pointer;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 2;
}
.required::after {
    color: red;
    content: " *";
    display: inline;
    font-weight: bold;
}
.disabledIfApplicantIsRME {
    pointer-events: none;
    background: grey;
}

#SignaturePopup .jconfirm-title:after { content: 'Click, hold down the button, and drag to create signature in the empty space below' }
#RMESignaturePopup .jconfirm-title:after {
    content: 'Click, hold down the button, and drag to create signature in the empty space below'
}

#AttestationSignaturePopup .jconfirm-title:after { content: 'Click, hold down the button, and drag to create signature in the empty space below' }

/*#SubmitCNCLetter { max-width: 800px; }
    #submissionSpec_Comments {
        width: 500px;
    }*/

@media screen and (max-width: 800px) {
    .signaturepad {
        background-color: white;
        height: 200px;
        left: 0;
        top: 0;
        width: 400px;
    }
}
@media screen and (min-width: 992px) and (max-width: 1074px) {
    .ui-accordion .ui-accordion-content {
        padding: 15px;
    }
}
@media screen and (max-width: 400px) {
    td { display: block; }

    #UploadedFilesGrid td { display: table-cell !important; }

    #ApplicationSummaryTable td { text-align: left !important; }
    
    .ui-accordion .ui-accordion-content {
        padding: 0 0 8px;
        overflow-x: hidden;
    }

    .col-sm-1 {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .col-xs-10 { width: 100% !important; }

    #SignaturePopup .jconfirm-title:after { content: 'Drag your finger to create signature in the empty space below' }

    #AttestationSignaturePopup .jconfirm-title:after { content: 'Certification - Drag your finger to create signature in the empty space below' }

    .signaturepad {
        background-color: white;
        height: 200px;
        left: 0;
        top: 0;
        width: 260px;
    }

    input, select, textarea {
        margin-bottom: 10px;
        max-width: 245px;
    }

    .application-question-textarea {
        max-width: 100%;
    }

    .radio-inline, .checkbox-inline {
        display: block;
    }

    .radio-inline + .radio-inline, .checkbox-inline + .checkbox-inline { margin-left: 0px !important; }
}

@media screen and (min-width: 650px) {
    .application-question-textarea {
        max-width: 500px;
    }
}

@media screen and (max-width: 450px) {
    .checkbox-inline {
        display: block;
    }
}

#SendRMEEmailButton {
    margin-top: 0px;
}

@media screen and (max-width: 768px) {
    #SendRMEEmailButton {
        margin-top: 5px;
    }
}

#rme-consent, #rme-phone-required {
    width: 100%;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

#rme-consent {
    display: flex;
}

.rme-save-changes-btn {
    margin-bottom: 10px;
}


@media screen and (max-width: 480px) {
    #application_RMEInfo_ResidenceStreetAddress {
        width: 100%;
    }
}


#application_RMEInfo_ResidenceStreetAddress {
    width: 300px;
}

@media screen and (max-width: 650px) {
    #application_RMEInfo_ResidenceStreetAddress {
        width: 240px;
    }
}

@media screen and (max-width: 480px) {
    #application_RMEInfo_ResidenceStreetAddress {
        width: 100%;
    }
}

#RMEWorkHistoryAddButton {
    margin-top: 10px;
}

#rme-signature {
    display: flex;
    flex-direction: column;
}

#rme-signature-check {
    width: 100%;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

#RMEPersonalInfoMessageToApplicant, #RMEQuestionsInfoMessageToApplicant {
    padding-left: 15px;
    padding-right: 15px;
}

#rme-certification-requirements {
    padding-left: 8px;
    padding-right: 8px;
}

.RMEWorkHistoryTable {
    margin-bottom: 20px;
    width: 850px;
}

.AddRMEWorkHistoryTable {
    width: 850px;
}

#BackgroundCheckSignatureButton {
    margin: 5px;
}

@media screen and (max-width: 991px) {
    .RMEWorkHistoryTable {
        width: 100%;
    }

    .AddRMEWorkHistoryTable {
        width: 100%;
    }
}

/* Collapse tabs into a dropdown on mobile by adding class "nav-tabs-dropdown" */
.nav-tabs.nav-tabs-dropdown {
    background-color: #fff;
    border: 1px solid #dddddd;
    border-radius: 5px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
    position: relative;
}

.nav-tabs.nav-tabs-dropdown::after {
    content: "☰";
    position: absolute;
    top: 8px;
    right: 15px;
    z-index: 2;
    pointer-events: none;
}

.nav-tabs.nav-tabs-dropdown.open a {
    position: relative;
    display: block;
}

.nav-tabs.nav-tabs-dropdown.open > li.active > a {
    background-color: #eeeeee;
}

.nav-tabs.nav-tabs-dropdown li {
    display: block;
    padding: 0;
    vertical-align: bottom;
}

.nav-tabs.nav-tabs-dropdown > li {
    float: none;
}
.nav-tabs.nav-tabs-dropdown > li > a {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    display: inline-block;
    border-color: transparent;
}

.nav-tabs.nav-tabs-dropdown > li > a:focus,
.nav-tabs.nav-tabs-dropdown > li > a:hover,
.nav-tabs.nav-tabs-dropdown > li > a:active {
    border-color: transparent;
}

.nav-tabs.nav-tabs-dropdown > li.active > a {
    display: block;
    border-color: transparent;
    position: relative;
    z-index: 1;
    background: #fff;
}

.nav-tabs.nav-tabs-dropdown > li.active > a:focus,
.nav-tabs.nav-tabs-dropdown > li.active > a:hover,
.nav-tabs.nav-tabs-dropdown > li.active > a:active {
    border-color: transparent;
}


