body.print-window {
    background-color: white;
}

header .form-group,
.region-header-background .form-group {
    padding-top: 0;
    padding-left: 0;
}

.footer {
	background-color: #b6b0a2;
    color: black;
    font-size: inherit;
    padding: 20px;
	padding-top: 35px;
    padding-bottom: 36px;
}

.footer address {
    text-align: left;
}

h1:after {
    display: none;
}

#content h1 {
    font-size: 2em;
    text-transform: inherit;
    line-height: 30px;
}

#content h2 {
    font-size: 1.7em;
    text-transform: initial;
    color: #006588;
    margin-bottom: .5em;
    margin-top: 2em;
}

#content h1+h2,
#content h1+section h2 {
    margin-top: 1em;
}

#content_block h3 {
    background-color: transparent;
    color: black;
    padding: 0;
    margin: 1em 0em .5em 0;
    text-transform: initial;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5em;
}

#content h4 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.4em;
    margin: 1em 0em .25em 0;
    color: #444;
    font-weight: normal;
}

#content h5 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2em;
    margin: 1em 0em .25em 0;
    color: #444;
    font-weight: normal;
}

#content h6 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1em;
    margin: 1em 0em .25em 0;
    color: #444;
}

/*intro paragraphs*/
p.intro {
    font-size: medium;
    color: #240e4a;

}


#content_block {
    padding-bottom: 3em;
}

#content_block a {
    text-decoration: underline;
}

#content_block a:hover {
    text-decoration: none;
}

#licensing #content_block a.btn,
#licensing #content_block a.btn:active,
#licensing #content_block a.btn:visited {
    color: white;
    text-decoration: none;
}

#licensing #content_block a.btn-default {
    color: #333;
}



/* this is intended to [poorly] target Answer radio buttons */
/* td[id^=ctrl-A] input {
    margin-left: 2em;
} */

td.required label,
label {
    font-weight: normal;
}

.formMgr input[type="radio"]+label.RIGHT,
.formMgr input[type="radio"]+label.RIGHTFULL {
    width: auto;
    /* TODO: TEST in NDNAR and possibly move to Global */
    vertical-align: text-top;
}

/* don't display href when printing, override css2 */
@media print {

    a[href]:after {
        content: "";
    }
}


#content_block td[id^="ctrl-autonumber"] {
    width: 10px;
    padding-left: 0px;
    padding-right: 10px;

}

#content_block td[id^="ctrl-autonumber"] span {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 1em;
}

fieldset legend,
legend {
    text-transform: initial;
    color: #d34728;
    margin-top: 2em;
    font-size: 22px;
}

#divButtons {

clear: both;

}


.container {
    padding: 0px;
}

.form-group {
    overflow: hidden;
    padding-top: 1em;
    padding-left: .5em;
}

/* Took this out for NDNAR; I think it was specific to SDUAP
.form-group:nth-child(odd) {
    background-color: rgba(250,250,250,.9);
}*/

form .question {
    width: 95%;
    /* why is this 95%? This doesn't work for renewal, hence override below */
    text-align: left;
}

.question.req {
    /*color: #900;*/
}

#content p.req {
    margin-bottom: 5px;
    line-height: 110%;
}

.field-instructions {
    font-size: smaller;
}

.field-instructions .btn {
    margin-top: 5px;
}

.req:after {
    content: "*";
    color: #900;
    font-size: larger;
}

.formMgr .text-nowrap label {
    white-space: normal;
}

form .radio-group {
    width: 18%;
    min-width: 149px;
    margin-left: .5em;
}

form[action='/renew/disc.asp'] .question {
    width: 72%;

    text-align: left;
}

form[action='/renew/disc.asp'] .radio-group {
    float: right;

    width: 17%;
    min-width: 149px;
    margin-left: .5em;
}

[data-form*='Test'][data-page*='question'] td:first-child {
    max-width: 38px;
}

[data-form="PORT_HF"] legend {
    padding: 5px;
}


/* ---- abuse list ---- */
.abuse-list th,
.abuse-list td {
    text-align: center;
}

.abuse-list th:first-child,
.abuse-list td:first-child {
    text-align: left;
}

.abuse-list th:last-child,
.abuse-list td:last-child {
    text-align: right;
}

.abuse-list thead th {
    position: -webkit-sticky;
    /*Safari*/
    position: sticky;
    top: 0;
    background: #FFF;
}


    .radiolabel {
    padding-left: 0;
    }

    input:invalid+span.radiolabel {
    color: #900;
    }

    input:required:valid+span.radiolabel {
    color: #362;
    }

    select:invalid,
    input[type="text"]:invalid {
    color: #900;
    border-color: #900;
    }

    select:required:valid,
    input[type="text"]:valid {
    color: #362;
    border-color: #362;
    }

    .radio-inline {
    margin-left: 1em;
    }

    input[type='radio'],
    input[type='checkbox'] {
    box-shadow: none;

    }

    input[type='radio']:invalid,
    input[type='checkbox']:invalid {
    border: 1px solid #900;

    }


    /* start calc ================================= */
    .table-calc {
    max-width: 500px;
    }

    [class^="operation"] {
    display: inline-block;
    width: 10px;
    }

    .instruct {
    font-weight: bold;
    }

    .answer {
    display: none;
    color: green;
    padding-left: 1em;
    padding-top: .5em;
    text-align: right;
    /* width: 100%; */
    /* width: 61px; */
    float: right !important;
    }

    .answer--final {
    font-weight: bold;
    font-size: larger;
    text-align: left;
    }


    .test {
    max-width: 50px;
    margin-bottom: 2px;
    }

    .data-label {
    text-align: right;
    display: block;
    }

    .label-header {
    font-weight: bold;
    text-align: right;
    display: block;
    }

    .btn.is-off {
    background-color: #666;
    }

    .is-visible {
    display: inline-block;
    }

    button#btnShow1.is-off .btn-text:before {
    content: "Show ";
    }

    button#btnShow1.is-on .btn-text:before {
    content: "Hide ";
    }


    button#btnShow2.is-off .btn-text:before {
    content: "Show ";
    }

    button#btnShow2.is-on .btn-text:before {
    content: "Hide ";
    }

    /* end calc ================================= */

/* end calc ================================= */

/* form-specific overrides ---------------*/
[data-form="PRINT_HF"] .sidebar-offcanvas {
    display: none;
}



/* END form-specific overrides */

/* field-specific overrides --------------*/
.form-display #ssn {
    text-align: left;
}

.form-display label {
    font-weight: bold;
}

.form-check input[type=checkbox], .form-check input[type=radio] {
    margin: 4px 0 0;
    margin-left: -20px;
    margin-top: 4.8px;
    line-height: normal;
}

#ctrl-applicantsPending {
    display: none;
}

#ctrl-applicantsApprovedForTesting {
    display: none;
}

#applicantapprttl>table tr:first-child {
    display: none;
}

/* END field-specific ------------------- */

/* ============ mobile ========================= */
@media (max-width: 768px) {

    .formMgr table,
    tr,
    th,
    td {
        /* display: block; */
    }

    .container {
        width: 100%;
    }

    #sidebar {
        display: none;
    }

    #content_block {
        width: 100%;
        padding: 15px;
        float: none;
    }

    .note--right,
    .note--left,
    .img-container.img--right,
    .img-container.img--left {
        width: 100%;
        float: none;
        margin-left: 1em;

    }


}