﻿/* LAYOUT */
body {
    background-color: #FFFFFF;
}

.page-container {
    background-color: #FFFFFF;
}
.page_container_bg {
    background: none;
    padding:0;
}
/* RESPONSIVE TABLES */
.TableContainer {
    /*container-type: inline-size;*/
    overflow: auto;
}

table.MobileFriendly {
    padding: 1rem;
    border-collapse: collapse;
    width: 100%;
}

    table.MobileFriendly caption {
        text-align: left;
        font-weight: 700;
        text-transform: uppercase;
        padding: 0.25rem 0.5rem 0.5rem 0.5rem;
    }

    table.MobileFriendly th,
    table.MobileFriendly td {
        text-align: left;
        padding: 0.25rem 0.5rem 0.5rem 0.5rem;
        word-break:break-word;
    }

    table.MobileFriendly th {
        vertical-align: bottom;
        background-color: rgba(0, 0, 0, 0.67);
        color: #fff;
        font-weight: 700;
    }

    table.MobileFriendly tr:nth-of-type(2n) {
        background-color: rgba(0, 0, 0, 0.05);
    }

@media screen and (max-width:991px) {
    table.MobileFriendly th {
        display: none;
    }

    table.MobileFriendly td {
        display: grid;
        gap: 0.5rem;
        grid-template-columns: 12ch auto;
        padding: 0.25rem 1rem;
    }

        table.MobileFriendly td::before {
            content: attr(data-column-name) ": ";
            font-weight: 700;
            text-transform: capitalize;
        }

        table.MobileFriendly td:first-child {
            padding-top: 1rem;
        }

        table.MobileFriendly td:last-child {
            padding-bottom: 1rem;
        }
}
div.ui-dialog{
    width:auto!important;
}

/* TYPOGRAPHY */
body {
    font-family: 'Roboto', sans-serif !important;
    color: #4A4A4A;
    font-size: 16px;
}

a {
    color: #298da5;
}

    a:hover {
        color: #015287;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 400;
    color: #073b4c;
}

h1 {
    font-size: 40px;
    padding-bottom: 10px;
    border-bottom: solid 1px #CACACA;
    margin-bottom: 30px;
    /*margin-top: 30px;*/
}

h2 {
    font-size: 32px;
    font-weight: 500;
    margin-top: 15px;
}

.err {
    color: #ff0000;
}
/* HEADER and FOOTER */
.ncrcb-header {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 30px;
    background: rgb(41,100,138);
    background: linear-gradient(0deg, rgba(41,100,138,1) 0%, rgba(41,100,138,1) 50%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 51%, rgba(140,155,86,1) 51%, rgba(140,155,86,1) 100%);
}

    .ncrcb-header > .container,
    .ncrcb-footer > .container {
        background: none;
    }

    .ncrcb-footer {
        padding-top: 30px;
        padding-bottom: 30px;
        background: #29648a;
        margin-top: 45px;
    }

.hdr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hdr-col,
.ftr-col {
    display: flex;
    justify-content: center;
    color: #FFFFFF;
}

    .ftr-col a {
        color: #FFFFFF;
        text-decoration: underline;
    }

.hdr-logo {
    max-width: 353px;
    width: 100%;
}

.ftr-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    grid-column-gap: 30px;
}

@media (max-width: 991.98px) {
    .hdr-row a.button {
        font-size: 14px;
        padding: 10px 12px;
    }
}

@media (max-width: 767.98px) {
    .hdr-row, .ftr-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        flex-direction: column;
        text-align: center;
    }

    .hdr-logo {
        max-width: 250px;
        width: 100%;
    }
}

/* BUTTONS */
button,
.button {
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    color: #FFFFFF;
    background-color: #298da5;
    border: solid 2px #FFFFFF;
    border-radius: 10px 10px 10px 10px;
    padding: 15px 25px 15px 25px;
    text-decoration: none;
    display: inline-block;
}

    button:hover,
    .button:hover {
        background-color: #29648a;
        color: #FFFFFF;
        text-decoration: none;
    }

    button:focus,
    .button:focus,
    button:active,
    .button:active {
        outline:none!important;
    }
/* FORM related elements */
input[type=checkbox], input[type=radio] {
    min-width: 18px;
    min-height: 18px;
}
/* Credit Card */
.inline-ccard {
    display: inline-flex;
}

table.fees th, 
table.fees td {
    padding:8px;
}

/* Licensing checklist page */
.lic-checklist input[type=radio] {
    margin-left: 10px;
    margin-right: 8px;
    min-width: 18px;
    min-height: 18px;
}
.lic-checklist label {
    margin-left: 12px;
}
    /* Add CE Docs page*/
    .add-ce-doc {
    display: flex;
    align-items: center;
}
    .add-ce-doc input[type=checkbox] {
        min-width:18px;
        min-height:18px;
    }
    .add-ce-doc > label {
        margin-bottom:0;
    }
    /* Endorsementapp page */
    #CSwrapper, #CCwrapper, #ECMOwrapper, #ACSTwrapper, #PULMwrapper {
        margin-bottom: 15px;
    }
/* Certain pages output checkboxes in a table. This makes the checkboxes display inline */
.table-checkboxes td {
    display: flex;
}
    .table-checkboxes td > input[type=checkbox] {
        min-width: 18px;
        min-height: 18px;
    }

/* Hide close button in popup */
.ui-dialog-titlebar-close {display:none;}

/* Race drop down multi-select */
.msDdlRace.vscomp-ele {
    max-width: none;
}
.msDdlRace div.vscomp-toggle-button {
    border-radius: .25rem;
    padding-top: .375rem;
    padding-bottom: .375rem;
    font-size: 1rem;
    height: calc(1.5em + .75rem + 2px);
}

.HiddenMoreInfo {
    width: 450px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: none;
}

.HiddenMoreInfoLabel {
    margin-top: 13px;
    margin-left: 13px;
    display: none;
}

.question-divider {
    padding-bottom: 15px;
    margin-top: 15px;
    border-top: solid 1px #ccc;
}
/* Align radio buttons and question in one line and centered */
.inline-options-question {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

    .inline-options-question label {
        margin-bottom: 0;
    }

.form-row > .col, .form-row > [class*=col-] {
    padding-right: 15px;
    padding-left: 15px;
}

.border-panel {
    border: solid 1px #ced4da;
    padding: 15px;
    border-radius: 0.25rem;
}

.autosavepanel {
    margin-bottom:15px;
    display:block;
}

.err, .lblerr {
    color: #FF0000;
}

.errpnl {
    border: 1px solid #FF0000;
    color: #FF0000;
    margin-bottom: 10px;
    margin-top: 5px;
    padding: 15px;
    /*width: 502px;*/
    background-color: #FFFFFF;
}

.statpnl {
    color: #8C9B56;
    margin-bottom: 10px;
    margin-top: 5px;
    padding: 15px;
    /*width: 502px;*/
    border: solid 1px #8C9B56;
    background-color: #ffffff;
}

label {
    font-weight: 500;
}
.form-check-inline {
position: relative;
top: 3px;
}


.form-check {
    padding-left: 0 !important;
    display: flex;
    align-items: center;
}

    .form-check.form-check-inline {
        display: inline-flex;
        align-items: flex-start;
    }

    .form-check input[type=checkbox],
    .form-check input[type=radio] {
        margin-right: 6px;
        min-width: 18px;
        min-height: 18px;
    }

    .form-check label {
        margin-bottom: 0 !important;
        margin-right: 10px;
        font-weight: 400;
    }

.lglabel {
    border-bottom: solid 1px #CACACA;
    font-size: 20px;
    display: block;
}

.align label {
       padding-left:10px;
}
