﻿.ie-msg {
    display: none;
}

.nay-script {
    display: none;
}

.yea-script {
    display: block;
}

body {
    background-color: #f8f9fa;
}

a:link, a:visited {
    color: #1B5B91;
}

a:hover, a:active {
    color: #F1AE44;
}

.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;
}

.text-primary-sjic {
    color: #1B5B91 !important;
}

.text-secondary-sjic {
    color: #F1AE44 !important;
}

.btn-primary-sjic {
    color: #fff;
    background-color: #1B5B91;
    border-color: #1B5B91;
}

    .btn-primary-sjic:hover {
        color: #fff;
        background-color: #F1AE44;
        border-color: #F1AE44;
    }

.btn-secondary-sjic {
    color: #fff;
    background-color: #F1AE44;
    border-color: #F1AE44;
}

    .btn-secondary-sjic:hover {
        color: #fff;
        background-color: #1B5B91;
        border-color: #1B5B91;
    }

.btn-outline-sjic {
    color: #1B5B91;
    border-color: #1B5B91;
}

    .btn-outline-sjic:hover {
        color: #fff;
        background-color: #F1AE44;
        border-color: #F1AE44;
    }

.card-top-sjic {
    border-top: 3px solid #F1AE44 !important;
}

.card-bottom-sjic {
    border-bottom: 3px solid #1B5B91 !important;
}

.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: 420px;
    margin: auto;
}

.navbar-light .navbar-nav .nav-link:link, .navbar-light .navbar-nav .nav-link:visited {
    color: #1B5B91;
}

.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:active {
    color: #1B5B91;
    font-weight: bold;
}

.navbar-light .navbar-nav .nav-link.active {
    color: #1B5B91;
    font-weight: bold;
    border-bottom: 3px solid #F1AE44;
}

/* *************** Responsive Grid ******************************************** */
.gridview-responsive {
    width: 100%;
}

    .gridview-responsive thead tr {
        font-weight: bold;
    }

    .gridview-responsive th:not(:first-child) {
        text-align: center;
        vertical-align: bottom;
        width: 200px;
    }

    .gridview-responsive td:not(:first-child) {
        text-align: center;
        vertical-align: bottom;
        width: 200px;
    }

    .gridview-responsive tbody td, .gridview-responsive tbody th {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        border-left: none !important;
        border-right: none !important;
    }

@media only screen and (max-width: 767px) {
    .gridview-responsive, .gridview-responsive thead, .gridview-responsive tbody, .gridview-responsive th, .gridview-responsive td, .gridview-responsive tr {
        display: block;
        border: none;
    }

        .gridview-responsive thead tr {
            display: none;
        }

        .gridview-responsive tbody td, .gridview-responsive tbody th {
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
            border: none;
        }

        .gridview-responsive tbody tr {
            border: 1px solid #dee2e6;
            /*margin-bottom: 15px;*/
        }

        .gridview-responsive td {
            position: relative;
            border: none !important;
        }

            .gridview-responsive td:before {
                position: absolute;
            }

            .gridview-responsive td:not(:first-child) {
                text-align: left;
                width: 100%;
            }
}

.gridview-responsive .integerboxgrid td:not(:first-child) {
    text-align: left;
}
.gridview-responsive .integerbox-label {
    text-align: right;
}
@media only screen and (max-width: 767px) {
    .gridview-responsive .integerbox-label {
        text-align: left;
    }
}
/* **************************************************************************** */

.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;
}

.radiobuttongrid {
    vertical-align: middle !important;
}

    .radiobuttongrid .custom-radio {
        padding-left: 2rem !important;
    }

.gridview-responsive td:first-child {
    vertical-align: middle !important;
}

.q2309, .q2312 {
    width: 75% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
@media only screen and (max-width: 991px) {
    .q2309, .q2312 {
        width: 100% !important;
    }
}