﻿.ie-msg {
    display: none;
}

.nay-script {
    display: none;
}

.yea-script {
    display: block;
}

body {
    background-color: #f8f9fa;
    /*background-color: #e7ecf2;
    background-image: url(triangles-pattern-large.svg);*/
}

a:link, a:visited, .btn-link:link, .btn-link:visited {
    color: #00467f;
}

a:hover, a:active, .btn-link:hover, .btn-link:active {
    color: #a71c20;
}

.alert-danger {
    border-left: 3px solid #721c24 !important;
}

.alert-success {
    border-left: 3px solid #155724 !important;
}

.alert-warning {
    border-left: 3px solid #856404 !important;
}

.alert-info {
    border-left: 3px solid #0c5460 !important;
}

.no-border-left {
    border-left: none !important;
}

.text-primary-sjic {
    color: #00467f !important;
}

.text-secondary-sjic {
    color: #a71c20 !important;
}

.btn-primary-sjic {
    color: #fff;
    background-color: #00467f;
    border-color: #00467f;
}

    .btn-primary-sjic:hover {
        color: #fff;
        background-color: #a71c20;
        border-color: #a71c20;
    }

.btn-secondary-sjic {
    color: #fff;
    background-color: #a71c20;
    border-color: #a71c20;
}

    .btn-secondary-sjic:hover {
        color: #fff;
        background-color: #00467f;
        border-color: #00467f;
    }

.btn-outline-sjic {
    color: #00467f;
    border-color: #00467f;
}

    .btn-outline-sjic:hover {
        color: #fff;
        background-color: #a71c20;
        border-color: #a71c20;
    }

.card-top-sjic {
    border-top: 3px solid #a71c20 !important;
}

.card-bottom-sjic {
    border-bottom: 3px solid #00467f !important;
}

.dcpseval-logo {
    width: 500px;
}

.ojp-full, .westat-full {
    max-width: 266px;
    max-height: 50px;
}

.ojp-seal, .westat-seal {
    max-width: 50px;
    max-height: 50px;
}

.form-signin {
    width: 100%;
    max-width: 300px;
    margin: auto;
}

.navbar-light .navbar-nav .nav-link:link, .navbar-light .navbar-nav .nav-link:visited {
    color: #00467f;
}

.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:active {
    color: #00467f;
    font-weight: bold;
}

.navbar-light .navbar-nav .nav-link.active {
    color: #00467f;
    font-weight: bold;
    border-bottom: 3px solid #a71c20;
}

/*.integerbox {
    text-align: right;
    width: 100px;
}*/

.indent-2nd-line {
    padding-left: 1em;
    text-indent: -1em;
}

.form-label-group select:not(:placeholder-shown) ~ label {
    padding-top: .25rem;
    padding-bottom: .25rem;
    font-size: 12px;
    /*color: #767676;*/
}

.form-label-group select:not(:placeholder-shown) {
    padding-top: 1.25rem;
    padding-bottom: .25rem;
}

.form-label-group select {
    height: 3.125rem;
}

#main-container {
    padding-top: 75px;
}

@media only screen and (max-width: 522px) {
    #main-container {
        padding-top: 100px;
    }
}

/* *************** Responsive Grid ******************************************** */
.gridview-responsive {
    width: 100%;
}

    /*.gridview-responsive > thead > tr {
        font-weight: normal;
    }*/

    .gridview-responsive > thead {
        position: sticky;
        top: 100px;
        z-index: 1000;
        background-color: #f8f9fa !important;
        color: #343a40 !important;
    }

        .gridview-responsive > thead > tr > th:not(:first-child) {
            text-align: center;
            vertical-align: bottom;
            width: 100px;
        }

    .gridview-responsive > tbody > tr > td:not(:first-child) {
        text-align: center;
        vertical-align: middle;
        width: 100px;
    }

@media only screen and (max-width: 767px) {
    .gridview-responsive, .gridview-responsive > thead, .gridview-responsive > tbody, .gridview-responsive > thead > tr > th, .gridview-responsive > tbody > tr > th, .gridview-responsive > tbody > tr > td, .gridview-responsive > tbody > tr {
        display: block;
    }

        .gridview-responsive > thead > tr {
            display: none;
        }

        .gridview-responsive > tbody > tr > td, .gridview-responsive > tbody > tr > th {
            border: none;
        }

        .gridview-responsive > tbody > tr {
            border: 1px solid #dee2e6;
        }

        .gridview-responsive > tbody > tr > td {
            position: relative;
            border: none !important;
        }

        .gridview-responsive > tbody > tr > td:before {
            position: absolute;
        }

        .gridview-responsive > tbody > tr > td:not(:first-child) {
            text-align: left;
            width: 100%;
        }
}
/* **************************************************************************** */

.form-control.is-valid, .was-validated .form-control:valid {
    border-color: #ced4da !important;
    background-image: none !important;
}

.custom-select.is-valid, .was-validated .custom-select:valid {
    border-color: #ced4da !important;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
}

.custom-control-input.is-valid ~ .custom-control-label, .was-validated .custom-control-input:valid ~ .custom-control-label {
    color: initial !important;
}

    .custom-control-input.is-valid ~ .custom-control-label::before, .was-validated .custom-control-input:valid ~ .custom-control-label::before {
        border-color: initial !important;
        background-color: initial !important;
    }

.custom-control-input.is-valid:checked ~ .custom-control-label::before, .was-validated .custom-control-input:valid:checked ~ .custom-control-label::before {
    border-color: #007bff !important;
    background-color: #007bff !important;
}

.integerbox, .q7_03 {
    width: 25% !important;
}

@media only screen and (max-width: 767px) {
    .integerbox, .q7_03 {
        width: 50% !important;
    }
}