@font-face {
    font-family: 'Montserrat-Regular';
    src: url(/lib/font/Montserrat-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'Montserrat-Light';
    src: url(/lib/font/Montserrat-Light.ttf) format('truetype');
}

@font-face {
    font-family: 'Montserrat-Bold';
    src: url(/lib/font/Montserrat-Bold.ttf) format('truetype');
}

@font-face {
    font-family: 'Montserrat-ExtraBold';
    src: url(/lib/font/Montserrat-ExtraBold.ttf) format('truetype');
}

body {
    background: #f0f1f3;
    font-size: 14px;
    font-family: "Montserrat-Regular",Tahoma;
}

.mainLogo {
    height: 30px;
    width: 170px;
    object-fit: contain;
    object-position: left;
}

#loader {
    position: absolute;
    top: 11px;
    left: calc(50% - 125px);
    width: 250px;
    height: 35px;
    background: #fff7dc;
    z-index: 9999;
    border-radius: 15px;
    border: 1px solid #fdc300;
    box-shadow: 0 0 4px #fdc300;
    text-align: center;
    font-size: 11px;
    line-height: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #d4a300;
    overflow: hidden;
}

    #loader:after {
        content: "";
        height: 110px;
        width: 70px;
        position: absolute;
        top: -37px;
        transform: rotate( 45deg );
        background: linear-gradient( 90deg, transparent, #fdc300, transparent);
        animation: loaderAnimation ease-in-out infinite 1s;
        z-index: -1;
    }

@keyframes loaderAnimation {
    0% {
        left: -40%;
    }

    100% {
        left: 110%;
    }
}

.main-content {
    margin: 7px 7px 25px 7px;
    background: #fff;
    padding: 15px;
    box-shadow: 0 0 5px #d0d0d0;
    min-height: calc(100vh - 88px);
    transition-duration: 0.3s;
}

    .main-content .pageTitle {
        border-bottom: 1px dotted #ddd;
        padding-bottom: 10px;
        color: #1d4e9f;
        position: sticky;
        top: 56px;
        z-index: 10;
        background: #fff;
        transition-duration: 0.3s;
    }

        .main-content .pageTitle a, .main-content .pageTitle button, .main-content .pageTitle form {
            float: right;
        }

.modal-content {
    border: none !important;
    border-radius: 7px;
}

.modal-header {
    padding: 10px 20px !important;
    background: #fdc300;
    color: #1d4e9f;
    font-weight: bold;
}

    .modal-header .close {
        color: #fff;
        opacity: 1;
        background: #1d4e9f;
        padding: 3px 15px 7px 15px;
        margin-top: -2px;
        margin-right: -12px;
        border-radius: 0 5px 0 0;
    }

.modal-body {
    border-bottom: 5px solid #1d4e9f;
    border-radius: 0 0 7px 7px;
}

.table td[data-tdname="Actions"], .table td[data-tdname="actions"] {
    text-align: right
}

.chosen-container-single .chosen-single, .ms-options-wrap > button:focus, .ms-options-wrap > button {
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 0;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    box-shadow: none;
}

    .chosen-container-single .chosen-single div b {
        background-position: 0 8px;
    }

.ms-options-wrap > .ms-options {
    left: 15px;
    width: calc(100% - 30px);
}

.ms-options {
    padding: 7px;
}

.modal-content.loading {
    position: relative;
    z-index: 0;
}

    .modal-content.loading .close, .modal-content.loading .col-12.text-center:last-child input, .modal-content.loading .col-12.text-center:last-child button, .modal-content.loading .col-12.text-center:last-child a {
        display: none !important;
    }

    .modal-content.loading:after {
        content: "Processing Data..";
        position: absolute;
        top: 10px;
        left: calc(50% - 100px);
        width: 200px;
        height: 30px;
        z-index: 1;
        background: #fff;
        border-radius: 35px;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        color: #0060ff;
        padding: 5px;
    }

    .modal-content.loading:before {
        content: "";
        height: 28px;
        width: 28px;
        position: absolute;
        top: 11px;
        left: calc(50% - 98px);
        background: #ffeb3b;
        border-radius: 50%;
        z-index: 2;
        mix-blend-mode: difference;
        animation: modalLoader infinite ease-in-out alternate-reverse 2s;
    }

    .modal-content.loading .modal-body {
        position: relative;
        z-index: 0;
    }

        .modal-content.loading .modal-body:after {
            content: "";
            width: 100%;
            height: 100%;
            z-index: 1;
            position: absolute;
            top: 0;
            left: 0;
        }

@keyframes modalLoader {
    from {
        left: calc(50% - 98px);
    }

    to {
        left: calc(50% + 70px);
    }
}

.form-control, .btn {
    border-radius: 0 !important;
}

.btn-alone {
    margin-top: 30px;
}

.table {
    border: 1px solid #dee2e6;
}

    .table tr td[data-tdname="#"] {
        width: 15px;
        font-weight: bold;
        vertical-align: middle;
        text-align: center;
    }

    .table tr th {
        background: #dae8ff;
        position: sticky;
        top: 55px;
        border-bottom: 2px solid #1d4e9f !important;
        z-index: 3;
    }

.modal-body .table tr th {
    top: -1px;
}

.table-hover tbody tr:hover {
    color: #1d4e9f;
    background-color: #ebf1fd;
}

.btn-primary {
    background-color: #1d4e9f;
    border-color: #1d4e9f;
}

.pageTitle .btn-primary {
    margin-left: 3px;
}

.btnSpace1 {
    width: 60px;
}

.btnSpace2 {
    width: 110px;
}

.btnSpace3 {
    width: 135px;
}

.btnSpace4 {
    width: 168px;
}

.btnSpace5 {
    width: 210px;
}

.btnSpace6 {
    width: 265px;
}

.pagination-container {
    border: 1px solid #dee2e6;
    padding: 5px;
}

    .pagination-container ul.pagination {
        margin: 0;
        justify-content: center;
    }

        .pagination-container ul.pagination li a {
            background: #1d4e9f;
            color: #fff;
            padding: 5px;
            min-width: 40px;
            display: block;
            margin: 1px;
            text-align: center;
            text-decoration: none;
            transition-duration: 0.2s;
        }

            .pagination-container ul.pagination li a:hover {
                background: #0069d9;
            }

        .pagination-container ul.pagination li.active {
            background: #1d4e9f;
        }

            .pagination-container ul.pagination li.active a {
                background: #fdc300;
                color: #1d4e9f;
                font-weight: bold;
                cursor: default;
            }

        .pagination-container ul.pagination li.PagedList-ellipses a {
            background: #fff;
            color: #1d4e9f;
            cursor: default;
        }

.modalLoader {
    text-align: center;
    position: relative;
    height: 100px;
    z-index: 1;
}

    .modalLoader #in {
        width: 70px;
        height: 70px;
        border-style: solid;
        border-top-color: #fdc300;
        border-right-color: #fdc300;
        border-left-color: transparent;
        border-bottom-color: transparent;
        border-radius: 50%;
        box-sizing: border-box;
        animation: rotate 3s ease-in-out infinite;
        transform: rotate(-200deg);
        position: absolute;
        top: 25px;
        left: calc(50% - 35px);
        z-index: 0;
    }

@keyframes rotate {
    0% {
        border-width: 10px;
    }

    25% {
        border-width: 3px;
    }

    50% {
        transform: rotate(115deg);
        border-width: 10px;
    }

    75% {
        border-width: 3px;
    }

    100% {
        border-width: 10px;
    }
}

.modalLoader h5 {
    background: #fff;
    z-index: 0;
    position: absolute;
    width: 90px;
    left: calc(50% - 45px);
    top: 50px;
    height: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 15px;
    color: #1d4e9f;
}

.swal2-container {
    z-index: 4000 !important;
}

.modal-backdrop {
    z-index: 3400 !important;
}

.modal {
    z-index: 3500 !important;
}

.chosen-container {
    width: 100% !important;
}

.modalTable tr td {
    width: auto !important;
}

.tooltip {
    z-index: 4000 !important;
}

#scrollline {
    background: #1d4e9f;
    height: 4px;
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    z-index: 101;
    transition-duration: 0.2s;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient( 90deg, #ffffff 255px, rgb(212 163 0 / 50%) 255px, rgb(212 163 0 / 30%) 260px, rgb(253 195 0 / 15%) 322px) #ffffff;
    transition-duration: 0.3s;
}

    .navbar .navbar-pagename {
        display: block;
        text-align: left;
        width: calc(100% - 260px);
        font-weight: bold;
        font-size: 20px;
        color: #1d4e9f;
    }

.tab-pane {
    border: 1px solid #dee2e6;
    border-top: 0;
    padding: 15px;
}

label.error, span.error, p.error, .field-validation-error {
    background: #ffdada;
    display: block;
    color: #dc3545;
    font-weight: bold;
    padding: 7px;
    text-align: center;
    border: 1px solid #dc3545;
    border-top: none;
}

select.error, input.error, .input-validation-error {
    background: linear-gradient( 0deg, #ffdada, white);
    border: 1px solid #dc3545;
    border-bottom: none;
}

    .input-validation-error + .chosen-container a.chosen-single {
        background: linear-gradient( 0deg, #ffdada, white);
        border: 1px solid #dc3545;
        border-bottom: none;
    }

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 11px;
    background: #133d84;
    color: #fdc300;
    text-align: center;
    z-index: 100;
    display: none !important;
}

    .footer a {
        color: #fdc300;
    }

        .footer a:hover {
            color: #fff;
        }

    .footer p {
        margin: 0;
    }

.schoolData {
    background: #1d4e9f;
    margin-bottom: 15px;
    padding: 15px;
    color: #fdc300;
}

input:required, select:required, select:required + .chosen-container a.chosen-single, textarea:required {
    background-image: linear-gradient( 135deg, #e20419 10px, #fff 11px);
}

@media screen and (max-width:768px) {
    .navbar {
        background: #fdc300 !important;
    }

        .navbar .navbar-pagename {
            display: none !important;
        }

    .table, .table thead, .table tbody, .table th, .table td, .table tr {
        display: block;
    }

    .table {
        border: none !important;
    }

        .table thead tr {
            display: none;
        }

        .table .table-filter thead:first-child tr {
            display: block !important;
            margin-bottom: 10px;
        }

        .table tr {
            position: relative;
            border: 1px solid #1d4e9f;
            border-radius: 7px;
            overflow: hidden;
        }

            .table tr:not(:last-child) {
                margin-bottom: 20px;
            }

        .table td {
            border: none;
            position: relative;
            padding-top: 30px !important;
            width: 100% !important;
        }

            .table td[data-tdname="#"] {
                padding-top: 5px !important;
                padding: 5px;
                position: absolute;
                z-index: 1;
                width: 35px !important;
                height: 28px;
                background: #1d4e9f;
                top: -1px;
                right: 10px;
                text-align: center;
                color: #ffffff;
                line-height: 16px;
                border-radius: 0 0 7px 7px;
            }

                .table td[data-tdname="#"]:before {
                    content: none;
                }

            .table td:before {
                content: attr(data-tdname);
                position: absolute;
                top: 3px;
                left: 6px;
                width: auto;
                white-space: nowrap;
                text-align: left;
                font-size: 13px;
                padding: 5px;
                color: #1d4e9f;
                font-weight: bold;
            }

    .main-content {
        margin: 0;
        padding-bottom: 55px;
    }

        .main-content .pageTitle {
            font-size: 20px;
        }

            .main-content .pageTitle .pageHelpIcon {
                top: -2px;
            }

    .modal {
        padding: 0 !important;
    }

    .modal-title {
        font-size: 15px;
    }

    .modal-dialog {
        margin: 0;
    }

    .modal-dialog-centered {
        align-items: flex-start;
        margin-top: 56px !important;
        min-height: initial !important;
    }

    .modal-body {
        min-height: calc(100vh - 99px);
        border-radius: 0;
    }

    .modal-header {
        border-radius: 0;
        background: #1d4e9f;
        color: #ffffff;
    }

        .modal-header .close {
            background: #0e3980;
            margin-top: -6px;
            border-radius: 0;
        }

    .modal-backdrop.show {
        opacity: 0;
    }
}

