/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.bg-c-info {
    background-color: #ace5ee !important;
    color: black;
}

main {
    display: block;
    overflow: auto;
    padding-bottom: 20px;
    min-height: 70vh;
}

.error-container {
    border: 1px solid #dc3545 !important;
    padding-right: calc(1.5em + 0.75rem) !important;
}

.error-image {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right calc(0.375em + 0.1875rem) center !important;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.me-7 {
    margin-right: 5rem !important;
}

.ms-7 {
    margin-left: 5rem !important;
}

.m-b-l-5 {
    margin: 5px 0px 0px 5px;
}

.m-b-10 {
    margin-bottom: 10px;
}

.m-l-5 {
    margin-left: 5px;
}

.m-l-10 {
    margin-left: 10px;
}

.form-check-label {
    margin-left: 2px;
    color: var(--bs-body-color) !important;
}

.container-header {
    font-size: small;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}
/*header {*/
/*  background-color: #003663;*/
/*background-size: auto 60%;*/
/*font-size: 80%;
    color: #ffffff;
}*/

.bold {
    font-weight: bold;
}

.form-control {
    max-width: 400px;
    border-color: grey !important;
}

    .form-control.error, .form-control.is-invalid, .was-validated .form-control:invalid {
        border-color: #dc3545 !important;
        padding-right: calc(1.5em + 0.75rem) !important;
        background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e) !important;
        background-repeat: no-repeat !important;
        background-position: right calc(0.375em + 0.1875rem) center !important;
        background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
    }

label.error {
    border: 1px solid #dc3545 !important;
}

.form-select {
    border-color: grey !important;
    padding-right: 4.125rem;
    background-position: right 0.75rem center,center right 2.25rem;
    background-size: 16px 12px,calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

    .form-select.error {
        border-color: #dc3545 !important;
        padding-right: 4.125rem !important;
        background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e) !important;
        background-position: right 0.75rem center,center right 2.25rem !important;
        background-size: 16px 12px,calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
    }

    .form-select.is-invalid:not([multiple]):not([size]), .form-select.is-invalid:not([multiple])[size="1"], .was-validated .form-select:invalid:not([multiple]):not([size]), .was-validated .form-select:invalid:not([multiple])[size="1"] {
        padding-right: 4.125rem;
        background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e),url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e);
        background-position: right 0.75rem center,center right 2.25rem;
        background-size: 16px 12px,calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    }

    .form-select.is-invalid, .was-validated .form-select:invalid {
        border-color: #dc3545;
    }

.form-switch .form-check-input {
    margin-left: -2em;
    border-color: grey !important;
}

label {
    max-width: 400px;
}



.valid {
    /*border-color: green !important;*/
    background-image: none !important;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    bottom: 0;
    position: absolute;
}

.footer {
    background: #003663;
    background-size: auto 60%;
    font-size: 80%;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: left;
    text-align: initial;
    color: #ffffff;
}

.btn-save {
    color: #fff;
    background-color: #55C7DC;
    border-color: #27a6bd;
}

.show {
    display: inline-block;
}

.showflex {
    display: inline-flex
}

.inline {
    display: inline;
}

.hide {
    display: none;
}

/*Cusom form header/footer*/

body {
    position: relative;
    min-height: 100vh;
    font-size: 16px /*NEW*/;
}

.red {
    color: red;
}

/*************************GLOBAL BANNER STYLES******************************/
.height-10 {
    height: 10px;
}

.m-auto {
    margin: auto;
}

.btn {
    margin-right: 10px;
}

.btn-sm {
    margin-right: 10px;
    max-width: 100px;
}

.btn-md {
    margin-right: 10px;
    max-width: 150px;
}

.form-switch-right {
    /*    display: flex !important;
    flex-direction: row-reverse !important;
    justify-content: space-between !important;*/
}

.btn {
    margin-right: 10px;
}

.btn-sm {
    margin-right: 10px;
    max-width: 100px;
}

.btn-md {
    margin-right: 10px;
    max-width: 150px;
}

.form-switch-right {
    /*    display: flex !important;
    flex-direction: row-reverse !important;
    justify-content: space-between !important;*/
}

#banner {
    background: #ffffff;
    border-bottom: 20px solid #003663;
    margin-right: 0px;
}

    #banner h1 {
        color: #000000;
        /*font-size: 1.5em;*/
        padding: 0; /*override app css*/
        margin: 0; /*override app css*/
        position: inherit; /*override app css*/
    }

    #banner #dwd-logo {
        max-width: 250px;
    }

#banner-dept {
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 1px;
}




/**********************GLOBAL MAIN NAV***********************************/

.navbar-dark .navbar-toggler {
    border-color: #ffffff;
    background: #013f73;
}

.navbar-toggler {
    margin: 5px 0;
}




/**************************GLOBAL FOOTER STYLES****************************/
#footer {
    background: #003663;
    background-size: auto 60%;
    font-size: 80%;
    bottom: 0;
    text-align: left;
    text-align: initial;
}

    #footer hr {
        background-color: #F7921E;
        margin: 5px 0;
        opacity: 1;
    }

    #footer ul {
        list-style-type: none;
        padding-left: 0;
        margin: 0 0 1rem 0;
    }

    #footer #american-job-center {
        background: #ffffff;
        color: #797979;
        padding: 5px 0;
        text-align: center;
        margin-bottom: 0;
    }

        #footer #american-job-center img {
            vertical-align: inherit;
        }

.white-txt, a.white-txt, .white-txt a {
    color: #ffffff;
}

.text-white {
    color: #FFFFFF;
}

#footer a {
    color: #FFFFFF;
}

.no-hover {
    color: #B6C5D2;
}

.text-lblue {
    color: #B6C5D2;
}

.fs-initial {
    font-size: auto;
    font-size: initial;
}

.btn {
    font-size: 1em;
}


/*********************************MEDIA QUERIES********************************/


/* Extra small devices (portrait phones, less than 576px)*/


@media (max-width: 400px) {
    #banner-head {
        font-size: .8em;
    }

    input[type="date"]::-webkit-inner-spin-button,
    input[type="date"]::-webkit-calendar-picker-indicator {
        display: none;
        -webkit-appearance: none;
    }
}

@media (min-width: 400px) {
    #banner #dwd-logo {
        max-width: 125px;
    }
}

@media (max-width: 575.98px) {
    #banner-head {
        font-size: .9em;
    }

    .hidden-xs {
        display: none;
    }

    #banner #dwd-logo {
        max-width: 150px;
    }

    input[type="date"]::-webkit-inner-spin-button,
    input[type="date"]::-webkit-calendar-picker-indicator {
        display: none;
        -webkit-appearance: none;
    }
}

@media (min-width: 575.98px) {
    #banner #dwd-logo {
        max-width: 175px;
    }
}

/* Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {

    #banner-head {
        margin: 5px 0;
    }
}

@media (min-width: 767.98px) {
    #banner #dwd-logo {
        max-width: 175px;
    }
}
/* Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
    /****************************************MOBILE MENU*************************************/

    .container-fluid-md {
        width: 100%;
        max-width: 100%;
    }
}

@media (min-width: 991.98px) {
    #banner #dwd-logo {
        max-width: 200px;
    }
}
/**************************************END MOBILE MENU***********************************/



/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {

    #banner-img:before {
        background: rgba(0,0,0,0.15);
    }

    #banner-img h1 {
        left: auto;
        bottom: auto;
        top: 20px;
        right: 10%;
        height: auto;
        white-space: nowrap;
    }

    #banner #dwd-logo {
        max-width: 220px;
    }
}

@media (min-width: 1140px) {
    body {
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    #banner #dwd-logo {
        max-width: 250px;
    }
}






/***********************************CUSTOM MEDIA QUERIES********************************/

@media (max-width: 385px) {
    #banner-head {
        width: 75%;
    }
}


/************************APP OVERRIDES***********************************/
#wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
}

#dvrwrapper {
    margin-bottom: 10px;
}


    #wrapper *, #dvrwrapper * {
        box-sizing: content-box !important;
    }

#footer a:hover:not(.btn), #wigov-bar a:hover {
    background: none;
    text-decoration: underline;
}

#footer a, #wigov-bar a {
    text-decoration: none;
}

#footer p {
    line-height: 1.1;
}

.formRow label {
    font-size: 10pt;
}

@media (max-width: 575.98px) {
    h1 {
        font-size: 2em;
    }
}



/*Social Media logos*/

.icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-size: cover;
}

.icon-twitter {
    background-image: url(../images/twitter.svg);
}

.icon-facebook {
    background-image: url(../images/facebook.svg);
}

.icon-youtube {
    background-image: url(../images/youtube.svg);
}

.icon-instagram {
    background-image: url(../images/instagram.svg);
}
