@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

:root {
    --dim-white: #e0f0f4;
    --main-blue: #2f0885;
}




*:not(i) {
    margin: 0;
    padding: 0;
    font-family: "Montserrat" !important;
}

html {
    font-size: 12px;
    position: relative;
}

span, .input-group-prepend span {
    font-size: 11px;
}



.w-33 {
    width: 33%;
}

.w-66 {
    width: 66%;
}


html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    padding: 0;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
}


header img {
    height: 60px;
}

.blacken {
    background-color: lightgray;
}

.bg-blue {
    background-color: var(--main-blue);
}

.text-blue {
    color: var(--main-blue);
}

.bg-blue2 {
    background-color: lightblue;
}


.groupheader {
    padding: 4px 20px;
    border-radius: 3px;
    color: white;
    margin-bottom: 20px;
}

    .groupheader h5, .groupheader h6 {
        margin-top: 6px;
        margin-bottom: 6px;
    }


.form-group {
    margin-bottom: 7px;
}

    .form-group * {
        transition: .2s;
        transition-delay: .08s;
        animation: ease-in-out;
    }

.container {
    margin-bottom: 40px;
    page-break-inside: avoid;
}


.applicationhandlingtable{
    display: none;
}

    .applicationhandlingtable * {
        user-select: none !important;
    }



    .applicationhandlingtable thead th a {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 18px;
        justify-content: center;
        align-items: center;
        color: white;
        text-decoration: none;
        padding: 6px 12px;
    }





input[type="checkbox"] {
    zoom: 1.6;
}






.record-card2 {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 3px;
    border: 1px solid #ced4da;
}


    .record-card2 > div > div > div {
        display: flex;
        flex-direction: row;
    }


    .record-card2 input, .record-card2 button {
        width: 100%;
        font-size: 12px;
        padding: 4px;
    }

    .record-card2 input {
        border: 1px solid #ced4da;
        border-radius: 3px;
    }

    .record-card2 button {
        background-color: #dc3545;
        border: none;
        color: white;
        border-radius: 3px;
        font-weight: bold;
    }

    .record-card2 button {
        margin-top: 16px;
    }

    .record-card2 label {
        display: inline;
    }


    .record-card2 > div {
        margin-bottom: 6px;
    }

.table-border {
    padding: 0;
    margin-bottom: 16px;
}

.table-header {
    display: none;
    align-items: center;
}

    .table-header * {
        text-align: center;
        font-weight: bold;
        text-align: center;
        padding: 4px 0px;
    }

.border-bot {
    border: none;
    border-bottom: 1px solid #747474;
    width: 100%;
    background-color: transparent;
    outline: none;
}



.filecontainer {
    justify-content: center;
    align-items: center;
    display: flex;
    margin-bottom: 4px;
}

    .filecontainer > div:first-child {
        display: flex;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        width: 100%;
    }

        .filecontainer > div:first-child > div {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
        }

    .filecontainer > div > div {
        width: 100%;
        transition: .2s;
        border-bottom: 1px solid white;
        padding: 4px 8px;
    }

        .filecontainer > div > div:hover {
            background-color: var(--dim-white);
            border-bottom: 1px solid #ced4da;
        }

        .filecontainer > div > div > span:last-child {
            text-decoration: underline;
            cursor: pointer;
        }

.custom-file {
    align-items: end;
}




    .custom-file label {
        white-space: nowrap;
        border-radius: 4px 0px 0px 4px;
        height: 28px;
        padding: 4px 8px;
        line-height: 20px;
        color: white;
    }


.datelabel {
    position: static;
}


#attachmentsize {
    color: black;
    display: block !important;
}





@media print {

    html {
        font-size: 9px;
    }

    .noprint {
        display: none;
    }

    body {
        background-color: white;
    }

    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        float: left;
    }

    .col-md-12 {
        width: 100%;
    }

    .col-md-11 {
        width: 91.66666667%;
    }

    .col-md-10 {
        width: 83.33333333%;
    }

    .col-md-9 {
        width: 75%;
    }

    .col-md-8 {
        width: 66.66666667%;
    }

    .col-md-7 {
        width: 58.33333333%;
    }

    .col-md-6 {
        width: 50%;
    }

    .col-md-5 {
        width: 41.66666667%;
    }

    .col-md-4 {
        width: 33.33333333%;
    }

    .col-md-3 {
        width: 25%;
    }

    .col-md-2 {
        width: 16.66666667%;
    }

    .col-md-1 {
        width: 8.33333333%;
    }

    .record-card2, .table-header {
        display: grid;
        grid-template-columns: 22% 22% 22% 22% auto;
        margin-bottom: 0;
    }

    .no-print {
        display: none;
    }
}


/*input[type=file]::file-selector-button {
    display: none;
}*/





.spinner {
    display: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    margin-top: 3px;
    margin-right: 6px;
    border: 3px solid cornflowerblue;
    border-left-color: white;
    animation: spin .6s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}






body {
    margin-bottom: 60px;
    padding-top: 40px;
    padding-right: 20px;
    padding-left: 20px;
    background-color: var(--dim-white);
}

.controltable td {
    padding: 8px;
}


.content {
    overflow-x: scroll;
    margin-top: 20px;
    margin-bottom: -50px;
    position: relative;
    border-radius: 4px;
   
}


    .content thead {
        position: sticky;
        top: 0;
        z-index: 3;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }


    .content tbody tr, .applicantnamecolumn {
        transition: .2s;
    }

        .content tbody tr:hover, .content tbody tr:hover .applicantnamecolumn {
            background-color: var(--dim-white) !important;
        }



    .content table th {
        white-space: nowrap;
    }

    .content tbody td, .content2 tbody td {
        padding: 4px 8px;
        border: 1px solid #909090;
    }

    .content tr td:last-child, .content tr th:last-child {
        background-color: white !important;
        position: sticky;
        right: 0;
        white-space: nowrap;
        padding-left: 12px;
        padding-right: 12px;
        border: none;
    }

    .content tr td:last-child {
        border-bottom: 1px solid white;
    }

    .content button {
        outline: none;
        border: none;
        background-color: none;
    }

.content2 th, .content2 td {
    text-align: center;
}

.custonModal {
    max-width: 75vw !important;
}

.modaltable td {
    padding-left: 5%;
}


.entryform {
    border: 1px solid black;
    background-color: white;
    border-radius: 4px;
}


.filtermodal .form-control:focus {
    background-color: blue;
    color: white;
}



.viewapplication {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 30px;
    padding-right: 30px;
    transition: .2s;
    border-bottom: 1px solid var(--dim-white);
}

    .viewapplication label:last-child {
        width: 25%;
        text-align: center;
    }

    .viewapplication:hover {
        background-color: #eff0f9;
        border-bottom: 1px solid #ddc9c9;
    }

.applicationformtable th, .applicationformtable td {
    border: 1px solid #2b2b2b;
    text-align: center;
}

.applicationformtable td {
    padding-top: 12px;
    padding-bottom: 12px;
}

.applicantnamecolumn {
    position: sticky;
    left: 0;
}


.loadingscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffffce;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

    .loadingscreen img {
        width: 300px;
        height: 140px;
    }

.loadingscreen-inactive {
    transition: .6s;
    opacity: 0;
    background-color: #c1c1c1;
}

.loadingspinner {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    margin-top: 3px;
    margin-right: 6px;
    border: 5px solid cornflowerblue;
    border-left-color: white;
    animation: spin .6s ease infinite;
}

.handlingtab {
    display: flex;
    overflow-x: auto;
    flex-direction: row;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 6px;
}


    .handlingtab a {
        text-decoration: none;
        color: white;
        padding-top: 12px;
        padding-bottom: 6px;
        padding-left: 20px;
        padding-right: 60px;
        width: 100%;
        user-select: none;
    }

    .handlingtab * {
        font-weight: bold;
        white-space: nowrap;
    }

.handling-active {
    background-color: var(--dim-white);
    color: var(--main-blue) !important;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    box-shadow: 5px 0px 8px -4px rgba(0,0,0,0.65);
    -webkit-box-shadow: 5px 0px 8px -4px rgba(0,0,0,0.65);
    -moz-box-shadow: 5px 0px 8px -4px rgba(0,0,0,0.65);
}


.inputfilecover {
    display: block;
    height: 22px;
    line-height: 23px;
    background-color: white !important;
    position: absolute;
    width: 150px;
    bottom: 4px;
    left: 100%;
    border: none !important;
    padding-left: 12px;
    pointer-events: none;
    z-index: 1;
}


    .inputfilecover:hover {
        background-color: white !important;
        border: none !important;
    }

.applicationcardslist{
    display : block;
    margin-top: 80px;
}


.applicationcard {
    margin-top: 100px;
    background-color: white;
    padding: 8px 12px;
    border-radius: 4px;
    margin-top: 15px;
}

.applicationcard  * {
    user-select: none;
}

.applicationcard {
    display: flex;
    flex-direction: column;
}

.applicationcard button{
    background-color:transparent;
    border:none;
}

.applicationcard a, .applicationcard button{
    font-size: 20px;
}

.applicationcard>div> label{
    width: 50%;
   
}
    .applicationcard label , .applicationcard h4 {
        font-weight: bold;
    }



@media (min-width: 768px) {
    html {
        font-size: 15px;
    }

    .record-card2 label {
        display: none;
    }

    .record-card2, .table-header {
        display: grid;
        grid-template-columns: 22% 22% 22% 22% auto;
        margin-bottom: 0;
    }

    .record-card2 {
        padding: 0;
        border: none;
        border-bottom: 1px solid #ced4da;
        align-items: center;
    }

        .record-card2 > div {
            padding: 12px;
        }

            .record-card2 > div > div > div {
                display: flex;
                flex-direction: column;
            }

        .record-card2 button {
            margin: 0;
        }

        .record-card2 h6 {
            display: block;
        }

    .table-border {
        border: 1px solid black;
        border-radius: 3px;
    }

    .custom-file label {
        height: 35px;
    }

    .datelabel {
        position: absolute;
        top: -14px;
    }

    #attachmentsize {
        margin-top: -12px;
    }

    .inputfilecover {
        height: 24px;
    }

    .applicationhandlingtable {
        display: block;
    }

    .applicationcardslist {
        display: none;
    }
}
