﻿@font-face {
    font-family: 'GothamRnd-Bold';
    src: url('/font/GothamRnd-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'GothamRnd-Medium';
    src: url('/font/GothamRnd-Medium.otf') format('opentype');
}

@font-face {
    font-family: 'GothamRnd-Light';
    src: url('/font/GothamRnd-Light.otf') format('opentype');
}

@viewport {
    orientation: portrait;
}

* {
    font-family: 'GothamRnd-Medium';
    /*font-family: sans-serif;*/
}

@media all and (display-mode: standalone) {
    pwa-install {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    #installApp {
        display: none;
        opacity: 0;
        visibility: hidden;
    }
}

.text-center {
    text-align: center;
}

.loginContainer img {
    width: max(100px, 200px);
    margin-bottom: 2rem;
}

.dnone {
    display: none;
}

#installApp {
    width: 100px;
    position: fixed;
    top: 10px;
    right: 10px;
}

#anthillLogo {
    height: 40px;
}

.offline_container {
    height: calc(100vh - 20px);
    display: grid;
    justify-content: center;
    align-items: center;
}

h1 {
    font-family: 'GothamRnd-Bold';
}

h2 {
    font-family: 'GothamRnd-Medium';
}

#login {
    font-size: 1.3rem;
    width: 100%;
    border: 0;
}

input[type=text], input[type=password], input[type=number] {
    border: 1px #dedede solid;
    outline: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 3px 10px;
}

#mobile {
    font-size: 1.5rem;
    border: 0;
    background-color: transparent;
    /*background-color: rgba(255, 255, 255, 0.2);*/
    border-radius: 5px;
    text-align: center;
    caret-color: rgba(0, 0, 0, 0);
    font-family: 'GothamRnd-Bold';
    width: max(100px, 200px);
}

#password {
    letter-spacing: 14px;
    font-size: 1.5rem;
    border: 0;
    background-color: transparent;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    caret-color: rgba(0, 0, 0, 0);
    font-family: 'GothamRnd-Bold';
}


input[type=submit], button {
    padding: 0.5rem 1rem;
    background-color: #076bf3;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    border: 0;
    font-size: 1.3rem;
}

.labelInput {
    display: grid;
    grid-gap: 5px;
    text-align: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.loginContainer {
    width: 100%;
    height: 100%;
    position: fixed;
    display: grid;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
    font-size: 1.3rem;
    text-align: center;
}

    .loginContainer input[type=text], .loginContainer input[type=password] {
        text-align: center;
    }

    .loginContainer .loginContainer_box {
        display: grid;
        width: 500px;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        grid-gap: 1rem;
    }

/*#region Dashboard */
.rem1 {
    font-size: 1rem;
}

.rem8 {
    font-size: 0.8rem;
}

.header {
    display: grid;
    grid-template-columns: 1fr 150px;
    margin-bottom: 1rem;
    position: fixed;
    width: calc(100% - 20px);
    left: 0;
    top: 0;
    background-color: #fff;
    padding: 10px;
    z-index: 9;
}

html, body {
    min-width: 340px;
    overscroll-behavior: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none;
}

.body {
    box-sizing: border-box;
    width: 100%;
    font-size: 13px;
    width: calc(100% - 0px);
    margin-top: 65px;
}

    .body .time {
        text-align: right;
        margin-bottom: 1rem;
        height: 20px;
    }

    .body .greetings {
        margin-bottom: 1rem;
        height: 20px;
    }

    .body .students {
        margin-bottom: 80px;
    }

        .body .students img {
            max-width: 100%;
            max-height: 70px;
            user-select: none;
            position: absolute;
            zoom: 10;
        }

            .body .students img.grey {
                filter: grayscale(100%);
            }

    .body .students_container {
        display: grid;
        grid-template-columns: minmax(50px, 100px) 1fr;
        font-size: 1.3rem;
        border: 1px solid #dedede;
        border-radius: 5px;
        margin-bottom: 0.5rem;
        transition: background-color 200ms ease-in;
        grid-gap: 5px;
        box-shadow: 0px 1px 15px 1px rgba(69, 65, 78, 0.08);
        height: 105px;
    }

        .body .students_container:hover {
            /*background-color: #dedede;*/
        }

        .body .students_container > div {
            display: grid;
            align-items: center;
            grid-template-rows: 0.8fr;
            text-align: left !important;
            padding: 10px;
            overflow: hidden;
            position: relative;
        }

    .body .student_name {
        text-transform: uppercase;
        font-family: 'GothamRnd-Bold';
        /*font-family: sans-serif;*/
        /*font-size: 1rem;*/
        font-size: 0.8rem;
    }

    .body .students_container_label {
        display: grid;
    }

        .body .students_container_label div {
            display: grid;
            align-items: center;
        }

#ampm {
    -webkit-user-select: none;
    -ms-user-select: none;
}

.justifycenter {
    justify-content: center;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f5f5f5;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    font-size: 1rem;
    padding: 5px 0;
    z-index: 9;
}

    .footer label {
        font-size: 10px;
    }

    .footer > div {
        display: grid;
        align-items: center;
        justify-content: center;
    }

    .footer img {
        width: 30px;
        cursor: pointer;
        outline: none;
    }

.header_title {
    display: grid;
    align-items: center;
}

.header_icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

    .header_icons label {
        font-size: 10px;
    }

    .header_icons > div {
        display: grid;
        align-items: center;
        justify-content: end;
    }

    .header_icons img {
        width: 30px;
    }

.grid_center {
    display: grid;
    justify-content: center;
}


/*#endregion */

/*#region Popupover */
#rfid_today {
    padding: 10px;
    border: 1px solid #dedede;
    box-shadow: 0px 1px 15px 1px rgba(69, 65, 78, 0.08);
    width: 60%;
    min-width: 250px;
    border-radius: 5px;
    top: -200px;
    display: none;
}

    #rfid_today .rfid_today_container {
        display: grid;
        grid-gap: 10px;
    }

        #rfid_today .rfid_today_container .rfid_today_container_details {
            display: grid;
            grid-gap: 10px;
            grid-template-rows: 1fr 1fr;
            margin-bottom: 1rem;
        }

        #rfid_today .rfid_today_container > label {
            border-bottom: 2px solid;
        }

        #rfid_today .rfid_today_container .rfid_today_container_details_2cols {
            display: grid;
            grid-template-columns: 1fr 1fr;
        }

#rfid_30days {
    position: fixed;
    bottom: 59px;
    width: 100%;
    height: 70vh;
    border: 1px solid #dedede;
    width: calc(100% - 20px);
    border-bottom: 0;
    background-color: #fff;
    -webkit-user-select: none;
    -ms-user-select: none;
}

    #rfid_30days .rfid_30days_container {
        padding: 1rem;
        font-size: 13px;
    }

        #rfid_30days .rfid_30days_container > div {
        }

        #rfid_30days .rfid_30days_container ul {
            padding-left: 18px;
        }

.rfid_30days_container_header {
    border-bottom: 1px solid;
    margin-bottom: 1rem;
    padding-bottom: 5px;
}

#rfid_30days {
    display: none;
}

.rfid_30days_container_body {
    overflow: scroll;
    height: calc(67vh - 15px);
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .rfid_30days_container_body span {
        display: block;
        margin-bottom: 5px;
    }

.rfid_30days_container_body_li {
    margin-bottom: 1rem;
}

    .rfid_30days_container_body_li ul li {
        font-family: 'GothamRnd-Medium'
    }
/*#endregion */

.studentlists {
    margin-bottom: 2rem;
}

.profile_details > div {
    display: grid;
    grid-template-columns: 130px 1fr;
    grid-gap: 1rem;
    margin-bottom: 10px;
}

.profile_logs {
    margin-bottom: 100px;
}

    .profile_logs > div {
        display: grid;
        grid-template-columns: 30px 1fr 1fr minmax(50px, 80px);
        padding: 5px 0px;
    }

        .profile_logs > div > div:nth-child(1) {
            text-align: center;
        }

.popover {
    position: fixed;
    width: fit-content;
    height: fit-content;
    color: canvastext;
    background-color: canvas;
    inset: 0px;
    margin: auto;
    border-width: initial;
    border-style: solid;
    border-color: initial;
    border-image: initial;
    padding: 0.25em;
    overflow: auto;
}

.studentlists > div {
    display: grid;
    /*grid-template-columns: 130px 1fr;*/
    grid-template-columns: 30px 1fr;
    grid-gap: 0.3rem;
    margin-bottom: 10px;
}

::-webkit-scrollbar {
    display: none;
}

/* Close */
.otpcontainer {
    display: grid;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #fff;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
}

    .otpcontainer .otpbody {
        padding: 1rem;
        text-align: center;
        display: grid;
        grid-template-rows: 1fr auto auto auto auto 1fr;
        grid-gap: 1rem;
        max-width: max(100px, 350px);
    }

        .otpcontainer .otpbody span {
            font-size: .8rem;
        }

        .otpcontainer .otpbody span {
            font-size: .8rem;
        }

            .otpcontainer .otpbody span.red {
                color: red;
            }

        .otpcontainer .otpbody ::placeholder {
        }

        .otpcontainer .otpbody #otp {
            text-align: center;
            font-size: 1.25rem;
            border: 0;
            outline: none;
            letter-spacing: 1rem;
        }

        .otpcontainer .otpbody img {
            width: min(100px, 50%);
        }

    .otpcontainer .close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .otpcontainer .close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

        .otpcontainer .close img {
            width: 1rem;
        }

.logs15Daysdiv {
    margin-bottom: 20px;
}

table.logs15Days {
    width: 100%;
}

    table.logs15Days thead th:nth-child(1) {
        text-align: left;
        width: 50%;
    }

    table.logs15Days thead th:nth-child(2) {
        text-align: center;
        width: 25%;
    }

    table.logs15Days thead th:nth-child(3) {
        text-align: center;
        width: 25%;
    }

table.logs15Days {
    width: 100%;
}

    table.logs15Days tbody td:nth-child(1) {
        text-align: left;
    }

    table.logs15Days tbody td:nth-child(2) {
        text-align: center;
    }

    table.logs15Days tbody td:nth-child(3) {
        text-align: center;
    }

#inbox_container {
}

.inbox_container_header {
    margin-bottom: 1rem;
}

.inbox_container_body {
    margin-bottom: 60px;
}

.inbox_date {
}

.inbox_content p {
    text-align: justify;
    margin-top: 5px;
    padding-bottom: 10px;
}

#rfid_student {
    position: fixed;
    bottom: 59px;
    width: 100%;
    height: 70vh;
    border: 1px solid #dedede;
    width: calc(100% - 20px);
    border-bottom: 0;
    background-color: #fff;
    -webkit-user-select: none;
    -ms-user-select: none;
}

    #rfid_student .rfid_student_container {
        padding: 1rem;
        font-size: 13px;
    }

        #rfid_student .rfid_student_container > div {
        }

        #rfid_student .rfid_student_container ul {
            padding-left: 18px;
        }

    #rfid_student .rfid_studentdiv table {
        width: 100%;
    }

        #rfid_student .rfid_studentdiv table thead th:nth-child(1) {
            text-align: left;
            width: 50%;
        }

        #rfid_student .rfid_studentdiv table thead th:nth-child(2),
        #rfid_student .rfid_studentdiv table thead th:nth-child(3) {
            text-align: center;
            width: 25%;
        }

        #rfid_student .rfid_studentdiv table tbody td:nth-child(1) {
            text-align: left;
            width: 50%;
        }

        #rfid_student .rfid_studentdiv table tbody td:nth-child(2),
        #rfid_student .rfid_studentdiv table tbody td:nth-child(3) {
            text-align: center;
            width: 25%;
        }

        #rfid_student .rfid_studentdiv table tbody td {
            padding: 5px 0;
        }

.rfid_student_container_header {
    border-bottom: 1px solid;
    margin-bottom: 1rem;
    padding-bottom: 5px;
}

#rfid_student {
    display: none;
}

.rfid_student_container_body {
    overflow: scroll;
    height: calc(67vh - 15px);
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .rfid_student_container_body span {
        display: block;
        margin-bottom: 5px;
    }

.rfid_student_container_body_li {
    margin-bottom: 1rem;
}

    .rfid_student_container_body_li ul li {
        font-family: 'GothamRnd-Medium'
    }
