:root {
    --kendo-color-primary: #00607f;
    --kendo-color-primary-active: #00607f;
    --kendo-color-primary-hover: #00607f;
}

.dl-horizontal dt {
    white-space: normal;
}

html {
    overflow-y: scroll;
    margin: 0px auto;
    padding: 0;
}

body {
    margin: 0px auto;
    padding: 0px;
}

.header {
    width: 100%;
    padding-right: 10px;
}

.main {
    position: relative;
    overflow: hidden;
}

.body-content {
    padding: 15px;
    background-color: white;
    overflow-x: scroll;
    color: #202124;
    position: relative;
}

.row.no-gutter {
    margin-left: 0;
    margin-right: 0;
}

.padding {
    padding: 5px;
}


.row.no-gutter [class*='col-']:not(:first-child),
.row.no-gutter [class*='col-']:not(:last-child) {
    padding-right: 0;
    padding-left: 0;
}

img {
    height: auto;
    max-width: 100%;
}

hr {
    border-top: 3px solid #FFC843;
    margin: 20px 0;
    opacity: 1;
}


textarea {
    white-space: pre-wrap;
}

table {
    background: #fff;
}

    table tbody tr td {
    }

        table tbody tr td input {
            border: none !important;
            border-bottom: 1px solid #ced4da !important;
            border-radius: 0 !important;
        }

.table-two-columns {
    width: 50%;
}

.icon-bar {
    display: block;
    width: 20px;
    margin: 3px 0px;
    height: 1px;
    background-color: rgba(204, 204, 204, 1.00);
    border-radius: 1px;
}

.required {
    color: inherit;
}

    .required:after {
        content: " *";
        color: #d32f2f;
        font-size: 1.25em;
        font-weight: 700;
    }

/* Fix checkbox + required label alignment inside Bootstrap form-check */
.form-check .form-check-input {
    margin-top: 0.35em;
}

.form-check .form-check-label.required:after {
    vertical-align: middle;
    line-height: 1;
}

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.max-width-container {
    max-width: 1400px
}

.display-4 {
    font-size: 1.25em;
    font-weight: 400;
    padding-top: 10px;
}

h1 {
    color: #00607f;
}

h2, h3 {
    margin: 0;
    padding: 0;
    color: #00607f;
}
 

@media only screen and (max-width: 1200px) {

    footer {
        font-size: 7pt;
    }

    p {
        font-size: 0.85em;
    }

    .header-text {
        font-size: 7pt;
    }
}


@media (min-width: 769px) {
    .nav-side-menu .menu-list .menu-content {
        display: block;
    }

    #wrapper {
        padding-left: 15%;
    }
}

@media (max-height: 768px) {
    .body-content {
        min-height: 548px;
    }
}

@media (min-height: 768px) {
    .body-content {
        min-height: 628px;
    }
}

@media (min-height: 800px) {
    .body-content {
        min-height: 700px;
    }
}

@media (min-height: 900px) {
    .body-content {
        min-height: 800px;
    }
}

@media (min-height: 1000px) {
    .body-content {
        min-height: 900px;
    }
}

@media (min-height: 1200px) {
    .body-content {
        min-height: 1100px;
    }
}

@media (min-height: 1400px) {
    .body-content {
        min-height: 1300px;
    }
}

@media print {
    header, footer {
        display: none;
    }

    .no-print {
        display: none;
    }

    .print-only {
        color: #495057;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #ced4da;
        border-radius: 0.25rem;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        overflow: visible;
        white-space: pre-wrap;
        word-wrap: break-word;
    }

    *:first-child + html .introsub {
        white-space: pre
    }
}

@media screen {
    .print-only {
        display: none;
        color: #495057;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #ced4da;
        border-radius: 0.25rem;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        overflow: visible;
        white-space: pre-wrap;
        word-wrap: break-word;
    }

    *:first-child + html .introsub {
        white-space: pre
    }
}

#appendto {
    float: left;
    width: 1000px;
    height: 170px;
    margin: 1em 0;
    overflow: auto;
}

label {
    font-weight: bold;
}

.input-validation-error {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
    background-repeat: no-repeat;
    background-position: center right calc(0.375em + 0.1875rem);
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.validationErrorWidget {
    margin: 0.1em;
    display: block;
    font-size: 15px;
    font-weight: normal;
}

.dhhs-primary-blue-background {
    background-color: #00607f;
}

.dhhs-primary-gradient {
    background: #00607f;
    background: linear-gradient(to right, #002633 0%, #00607f 70%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00607f',GradientType=1 );
}

    .dhhs-primary-blue-background,
    .dhhs-primary-gradient,
    .dhhs-primary-gradient a,
    .dhhs-primary-blue-background a,
    .dhhs-primary-gradient a:visited,
    .dhhs-primary-blue-background a:visited,
    .dhhs-link-white {
        color: white;
        transition: all 0.125s ease-in-out;
    }

.dhhs-page-container {
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    box-sizing: border-box;
}

    .dhhs-page-container.no-padding-mb {
        padding-left: 0;
        padding-right: 0;
    }

header * {
    box-sizing: border-box;
}

.dhhs-mobile-header {
    /*height: 5.993em;*/
}

.dhhs-mobile-header-logo {
    height: 100%;
    width: calc(100% - 50px);
    display: inline-block;
}

    .dhhs-mobile-header-logo img {
        height: 3.215em;
        margin-top: 1.072em;
    }

.dhhs-header {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 99;
    top: 0;
    right: 0;
    overflow-x: hidden;
    background: #00607f;
    max-width: 420px;
}

header a, header a:visited, header {
    color: white;
}

    header a:hover {
        text-decoration: none;
    }

.dhhs-header-logo {
    display: inline-block;
}

.header-text {
    vertical-align: middle;
}

.dhhs-site-logo, .dhhs-site-logo-small {
    float: left;
}

.dhhs-site-logo-small {
    display: inline-block;
    height: 4.823em;
    margin-top: 0.804em;
}

.dhhs-site-logo {
    display: inline-block;
    margin-top: 0.25em;
    height: 4.75em;
    width: 16.285em;
}

.dhhs-header, .dhhs-header.dhhs-header-open {
    background: #00607f;
    background: linear-gradient(to right, #002633 0%, #00607f 70%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00607f',GradientType=1 );
    height: auto;
    width: 100%;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    transition: none;
    padding: 1.175em 0 1.1em 0;
    max-width: none;
    overflow: visible;
    box-shadow: none !important;
    animation: none;
}

.dhhs-header-dept-title {
    font-family: Montserrat;
    padding-left: 30px;
    border-left: 2px solid #ffc843;
    margin-left: 30px;
    text-decoration: none;
    width: auto;
    font-weight: bold;
    height: 3.750em;
    line-height: 3.750em;
    margin-top: 1.072em;
    display: inline-block;
}

.max-width-1200 {
    max-width: 1400px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

.border {
    border: 2px solid #8a92a0 !IMPORTANT;
}

.border-fixed, .hover\:border:hover {
    border: 1px solid
}


/****** Radio Styles *******/
.radio {
    padding-left: 20px;
}

    .radio label {
        display: inline-block;
        vertical-align: middle;
        position: relative;
        padding-left: 5px;
    }

        .radio label::before {
            content: "";
            display: inline-block;
            position: absolute;
            width: 17px;
            height: 17px;
            left: 0;
            margin-left: -20px;
            border: 1px solid #cccccc;
            border-radius: 50%;
            background-color: #fff;
            -webkit-transition: border 0.15s ease-in-out;
            -o-transition: border 0.15s ease-in-out;
            transition: border 0.15s ease-in-out;
        }

        .radio label::after {
            display: inline-block;
            position: absolute;
            content: " ";
            width: 11px;
            height: 11px;
            left: 3px;
            top: 3px;
            margin-left: -20px;
            border-radius: 50%;
            background-color: #555555;
            -webkit-transform: scale(0, 0);
            -ms-transform: scale(0, 0);
            -o-transform: scale(0, 0);
            transform: scale(0, 0);
            -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
            -moz-transition: -moz-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
            -o-transition: -o-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
            transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
        }

    .radio input[type="radio"] {
        opacity: 0;
        z-index: 1;
    }

        .radio input[type="radio"]:checked + label::after {
            -webkit-transform: scale(1, 1);
            -ms-transform: scale(1, 1);
            -o-transform: scale(1, 1);
            transform: scale(1, 1);
        }

        .radio input[type="radio"]:disabled + label {
            opacity: 0.65;
        }

            .radio input[type="radio"]:disabled + label::before {
                cursor: not-allowed;
            }

    .radio.radio-inline {
        margin-top: 0;
    }

.radio-info input[type="radio"] + label::after {
    background-color: #00607f;
}

.radio-info input[type="radio"]:checked + label::before {
    border-color: #00607f;
}

.radio-info input[type="radio"]:checked + label::after {
    background-color: #00607f;
}

input[type="radio"]:focus {
    outline: none;
}

input[type="radio"]:focus + label::before {
    box-shadow: 0 0 0 3px rgba(0, 96, 127, 0.4);
    border-color: #00607f;
}


.k-radio-label:before {
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

.k-column-title {
    font-weight: 600;
}

.k-grid-header .k-grid-header-menu.k-active {
    background-color: #00607f;
}

.vertical-align-sub {
    vertical-align: sub;
}

#ScrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 40px;
    z-index: 999;
}


/******* Checkbox Styles *******/
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #00607f;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    background-color: #00607f;
}

.custom-control-input:focus ~ .custom-control-label::before {
    border-color: #adb5bd !important;
    box-shadow: none;
}

/************* Home Button Styles **************/
.home-btn {
    padding: 20px 30px;
    /*background-color: #00607f;*/
    border: 3px solid #00607f;
    color: #00607f;
    position: relative;
    height: 230px;
}

    .home-btn h1 {
        color: #00607f;
    }

    .home-btn p {
        color: black;
        position: fixed;
    }


    .home-btn div {
        transform: translate(-50%, -50%);
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
    }

    .home-btn:hover {
        background-color: #00607f;
    }

    .home-btn:active {
        background-color: #003b4e;
    }

    .home-btn:hover p, .home-btn:hover h1, .home-btn:hover h4 {
        color: white;
    }
/***** end home button styles ********/

.dhhs-btn-sm {
    border: 1px solid transparent;
    padding: 0.35rem 0.75rem 0.35rem 0.75rem;
    font-size: 1rem;
    line-height: 1;
    border-radius: 0.25rem !important;
    margin-left: 0.25rem;
    outline: none !important;
}

.dhhs-primary-btn, .confirmSave {
    background-color: #00607f !important;
    color: white !important;
    border-radius: 0.25rem !important;
    outline: none !important;
}

    .dhhs-primary-btn:hover, .confirmSave:hover, .dhhs-btn-sm:focus, .dhhs-primary-btn:focus, .dhhs-green-btn:hover, .dhhs-green-btn:focus {
        color: #444;
        border-color: #ebebeb;
        background-color: #ebebeb;
        border-radius: 0.25rem !important;
        box-shadow: 0 2px 6px rgba(0,0,0,.2), 0 2px 3px rgba(0,0,0,.05);
        outline: none !important;
    }

.dhhs-green-btn {
    background-color: #008000;
    color: white;
    border-radius: 0.25rem !important;
    outline: none !important;
}

.dhhs-red-btn, .confirmCancel {
    background-color: #DC3545;
    color: white;
    border-radius: 0.25rem !important;
    outline: none !important;
}

    .dhhs-red-btn:hover, .confirmCancel:hover {
        color: #444;
        border-color: #ebebeb;
        background-color: #ebebeb;
        border-radius: 0.25rem !important;
        box-shadow: 0 2px 6px rgba(0,0,0,.2), 0 2px 3px rgba(0,0,0,.05);
        outline: none !important;
    }
 

.margin-10px {
    margin: 10px 0;
}

.documentRequirements {
    margin-left: 3em;
    color: red;
}

.formslink {
    color: darkblue;
    font-size: x-large;
    background-color: transparent;
    text-decoration: none;
} 

@media (max-width: 1400px) {
    .warning-text {
        font-size: 2em;
    }
}


.ws-important-notice {
    color: red;
    font-style: italic;
}

/***** Identify Info Styles *****/

.dropdown-max-width {
    max-width: 17rem;
}

.ws-navigation-link-active {
    background-color: white;
    color: white !important;
}

.ws-navigation-link-inactive {
    color: #000000 !important;
    pointer-events: none;
    background-color: #efefef !important;
}

.ws-navigation-link-current {
    color: #202124 !important;
    background-color: #ffd76d !important;
}

.ws-navigation-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

    .ws-navigation-list li a {
        background-color: #00607f;
        display: block;
        padding: 0.5rem 0.75rem !important;
        text-decoration: none;
        color: white;
        transition: .15s ease-in-out;
    }

    .ws-navigation-list li:first-child a {
        border-radius: 0.25rem 0.25rem 0px 0px;
    }

    .ws-navigation-list li:last-child a {
        border-radius: 0px 0px 0.25rem 0.25rem;
    }

    .ws-navigation-list li a:hover:not(.ws-navigation-link-current, .ws-navigation-link-inactive) {
        background-color: #0075a1;
    }

    .ws-navigation-list li a:active:not(.ws-navigation-link-current, .ws-navigation-link-inactive) {
        background-color: #004e68;
    }

.btn-view {
    border-color: #00607f;
    background-color: #00607f;
    border: none;
}

    .btn-view:hover {
        COLOR: black;
    }

.nav-link.active {
    background: rgb(250,200,67) !important;
    color:black !important
}

/* Status tab buttons – base sizing */
#statusTabs .btn.dhhs-primary-btn {
    flex: 1 1 0;
    min-width: 120px;
    text-align: center;
}

/* Status tab buttons – active state (yellow for distinction) */
#statusTabs .btn.dhhs-primary-btn.active,
#statusTabs .btn.dhhs-primary-btn.active:hover,
#statusTabs .btn.dhhs-primary-btn.active:focus {
    background-color: #FFC843 !important;
    color: #000 !important;
    border-color: #FFC843;
    box-shadow: none;
    font-weight: 600;
}

a.link-white:link {
    COLOR: white;
    TEXT-DECORATION: none;
}

a.link-white:hover {
    COLOR: black;
    TEXT-DECORATION: none;
}

A:hover {
    COLOR: black;
    TEXT-DECORATION: none;
}

.k-grid-toolbar {
    background-color: #00607f;
}
/* Kendo Grid inline-edit validation tooltip — white text on red background */
.k-grid .k-tooltip-validation,
.k-grid .k-validator-tooltip {
    color: #fff !important;
}

.k-grid .k-tooltip-validation .k-tooltip-content,
.k-grid .k-validator-tooltip .k-tooltip-content {
    color: #fff !important;
}

/* Display validation messages inline */
.field-validation-error {
    color: #d32f2f;
    font-size: 1em;
    font-weight: normal;
    margin-top: 4px;
    display: block;
}

.field-validation-valid {
    display: none;
}

/* Highlight Kendo wrappers when their hidden input is invalid */
/* Use :not(.practice-site-card *) to exclude practice-site DDLs which are validated manually */
.input-validation-error + .k-input,
.input-validation-error + .k-picker,
.k-input.k-invalid,
.k-picker.k-invalid {
    border-color: #dc3545 !important;
}

/* Native input validation error border */
input.input-validation-error,
select.input-validation-error,
textarea.input-validation-error {
    border-color: #dc3545 !important;
}

/* Remove red background from invalid Kendo wrapper-level elements only */
.k-input.k-invalid,
.k-picker.k-invalid {
    background-color: inherit !important;
    border-color: red !important;
}

/* Ensure textboxes are consistently aligned */
.k-grid .k-edit-cell input[type="text"] {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.k-button {
    padding: 4px 12px;
    font-weight: 500;
    border-radius: 2px;
    border-color: #f5f5f5;
    color: #444;
    background-color: #f5f5f5;
    background-position: 50% 50%;
    box-shadow: 0 2px 6px 0 rgba(0,0,0,.2);
}
.k-button:hover {
    color: rgb(6, 6, 6);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.k-button.k-button-solid-primary:hover {
    color: #fff;
}

/* Custom note alert - light tint of header color (#00607f) */
.alert-note {
    background-color: #e6f2f5;
    border-color: #b3d9e3;
    color: inherit;
}

/* WCAG 2.1 - Screen reader only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* WCAG 2.1 - Fieldset/Legend styling for form sections */
fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

fieldset legend {
    padding: 0;
    margin: 0;
    width: 100%;
}

/* WCAG 2.1 - Focus visible indicators for interactive elements */
.dhhs-primary-btn:focus-visible,
.dhhs-red-btn:focus-visible,
.dhhs-green-btn:focus-visible,
.dhhs-btn-sm:focus-visible,
.btn:focus-visible {
    outline: 3px solid #00607f;
    outline-offset: 2px;
}

input.form-control:focus-visible,
select.form-control:focus-visible,
textarea.form-control:focus-visible {
    outline: 2px solid #00607f;
    outline-offset: 1px;
}

/* WCAG 2.1 - aria-invalid styling */
[aria-invalid="true"]:not([data-role]) {
    border-color: #dc3545 !important;
}

/* Grid row highlight for last-viewed record – light shade of primary (#00607f) */
.k-grid tr.grid-row-highlight td {
    background-color: #d9eef3 !important;
}

/* Application form intro and container - same width/alignment */
.application-form-intro,
.application-form-container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Application form container - bordered area with light background */
.application-form-container {
    background-color: #f9fafb;
    border: 1px solid #d5dce3;
    border-radius: 0.5rem;
    padding: 2rem 3rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

.application-form-intro {
    margin-bottom: 1.5rem;
}

@media (min-width: 1200px) {
    .application-form-intro,
    .application-form-container {
        max-width: calc(100% - 6rem);
    }
}

@media (min-width: 1600px) {
    .application-form-intro,
    .application-form-container {
        max-width: calc(100% - 10rem);
    }
}

