/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

    /*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

    .visuallyhidden.focusable:active,
    .visuallyhidden.focusable:focus {
        clip: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        position: static;
        width: auto;
        white-space: inherit;
    }

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

        a[href]:after {
            content: " (" attr(href) ")";
        }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

.bg-main {
    background: linear-gradient(to right, #1ac0d8 0%, #e8d034 100%);
}

.main-page {
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    padding: 50px 90px;
    justify-content: center;
    min-height: 100vh;
    align-items: center;
}

/*.login-sec {
    max-width: 1000px;
    width: 100%;
}

    .login-sec h1 {
        font: 500 60px/66px "Roboto", sans-serif;
        text-align: center;
        color: #ffffff;
        text-transform: uppercase;
    }

    .login-sec h2 {
        font: 500 50px/56px "Roboto", sans-serif;
        text-align: center;
        color: #ffffff;
        text-transform: capitalize;
        margin-bottom: 60px;
    }

.login-box {
    padding: 70px 125px;
    background-color: #ffffff;
    border-radius: 26px;
    max-width: 900px;
    margin: 0 auto;
}

    .login-box h3 {
        font: 500 50px/56px "Roboto", sans-serif;
        margin-bottom: 30px;
        text-align: center;
        text-transform: uppercase;
        color: #34634d;
    }

    .login-box .form-group {
        margin-bottom: 2rem;
    }

    .login-box .form-control {
        height: auto;
        padding: 20px 30px;
        font-size: 28px;
        font-weight: 400;
        line-height: 1.5;
        color: #000000;
        background-color: #69c69a;
        border: 1px solid rgba(154, 154, 154, 0.6);
        border-radius: 5px;
    }

.btn-login {
    width: -moz-fit-content;
    width: fit-content;
    padding: 10px 28px;
    border-radius: 5px;
    font: 400 28px/1.5 "Roboto", sans-serif;
    color: #34634d;
    background-color: #69c69a;
    border: 1px solid rgba(154, 154, 154, 0.6);
    margin: 0 auto;
    display: block;
    text-transform: uppercase;
}

    .btn-login:hover {
        color: #69c69a;
        background-color: #ffffff;
        border: 1px solid #69c69a;
    }*/

.nav-top {
    position: relative;
    padding: 30px 50px;
}

    .nav-top h1 {
        font: 500 48px/52px "Roboto", sans-serif;
        margin-bottom: 0;
        color: #ffffff;
        text-align: center;
    }

    .nav-top .nav-item .nav-new {
        color: #ffffff;
    }

.main-dash {
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 136px);
    background-color: #ffffff;
    padding: 90px 50px;
    border-bottom: 20px solid #2cc1ca;
}

.inner-dash {
    width: 100%;
    max-width: 1184px;
}

.btn-box {
    display: block;
    padding: 70px;
    font: 500 40px/44px "Roboto", sans-serif;
    color: #ffffff;
    border-radius: 21px;
}

.btn-blue-bg {
    background: linear-gradient(to bottom, #1d7cd5 50%, #2074c3 50% 100%);
}

.btn-green-bg {
    background: linear-gradient(to bottom, #4aa152 50%, #45964c 50% 100%);
}

.btn-box:hover {
    color: #ffffff;
}

.nav-btn {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: #9ee0e8;
    text-align: center;
    padding: 15px;
    line-height: 44px;
}

    .nav-btn svg {
        width: 100%;
        height: auto;
    }

.back-btn {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: transparent;
    text-align: center;
    padding: 15px;
    line-height: 38px;
    border: 2px solid #ffffff;
}

    .back-btn svg {
        width: 100%;
        height: auto;
    }

.inner-start {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.room-box {
    border-radius: 25px;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
    display: block;
    padding-top: 0;
    padding-bottom: 0;
}

.bg-room {
    background-color: #1bc0d7;
}

.bg-appoint {
    background-color: #1d7cd5;
}

.room-box.full-patient .bg-appoint {
    background-color: #ff0000;
}

.room-box.disabled .bg-room {
    background-color: #b4b4b4;
}

.room-box.disabled .bg-appoint {
    background-color: #8d8d8d;
}

.number-top {
    text-align: center;
    color: #ffffff;
    padding: 25px;
}

    .number-top h2 {
        font: 500 90px/96px "Roboto", sans-serif;
        margin-bottom: 10px;
    }

    .number-top p {
        font: 400 18px/22px "Roboto", sans-serif;
        margin-bottom: 0px;
    }

.mrgn-btm-30 {
    margin-bottom: 30px;
}

.modalPrint .modal-dialog {
    max-width: 1000px;
}

    .modalPrint .modal-dialog .modal-content {
        border-radius: 30px;
    }

        .modalPrint .modal-dialog .modal-content .modal-body {
            padding: 120px 30px 50px;
        }

        .modalPrint .modal-dialog .modal-content p.alloted {
            font: 400 18px/22px "Roboto", sans-serif;
            margin-top: 10px;
            text-align: center;
        }

        .modalPrint .modal-dialog .modal-content .inner-modal {
            display: -ms-flexbox;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 490px;
        }

        .modalPrint .modal-dialog .modal-content .close {
            position: absolute;
            right: 40px;
            top: 20px;
            width: 96px;
            height: 96px;
        }

            .modalPrint .modal-dialog .modal-content .close svg {
                width: 100%;
                height: auto;
            }

.btn-print {
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    padding: 40px;
    align-items: center;
    justify-content: center;
    font: 500 48px / 52px "Roboto", sans-serif;
    color: #ffffff;
    border-radius: 21px;
}

    .btn-print:hover {
        text-decoration: none;
        color: #ffffff;
    }

.patient-box {
    border-radius: 16px;
    overflow: hidden;
}

.total-patient-box,
.next-patient-box {
    padding: 70px;
}

    .total-patient-box h2,
    .next-patient-box h2 {
        font: 500 160px/164px "Roboto", sans-serif;
        margin-bottom: 0;
        color: #ffffff;
        text-align: right;
    }

    .total-patient-box h4,
    .next-patient-box h4 {
        font: 400 38px/42px "Roboto", sans-serif;
        margin-bottom: 0;
        color: #ffffff;
        text-align: left;
    }

.total-patient-box {
    background-color: #792324;
}

.next-patient-box {
    background-color: #4aa152;
}

.btn-call-patient {
    padding: 60px;
    color: #ffffff;
    font: 400 60px/64px "Roboto", sans-serif;
    border-radius: 5px;
    display: block;
}

    .btn-call-patient:hover {
        color: #ffffff;
    }

.skip-btn {
    display: block;
    padding: 20px;
    font: 400 36px/40px "Roboto", sans-serif;
    border-radius: 5px;
    color: #ffffff;
}

    .skip-btn:hover {
        color: #ffffff;
    }

.bg-top-display {
    background-color: #05246c;
}

.table-display th,
.table-display td {
    text-align: center;
    color: #ffffff;
}

.table-display th {
    font: 400 50px/54px "Roboto", sans-serif;
}

.table-display td {
    font: 400 60px/54px "Roboto", sans-serif;
}

.table-display tbody {
    background-color: #05246c;
}

.table-display .bg-blue {
    background-color: #05246c;
    width: 30%
}

.table-display .bg-blue2 {
    background-color: #0c3ba9;
    width: 20%;
    max-width: 300px;
}

.marquee-container {
    max-width: 100vw;
    overflow: hidden;
    white-space: nowrap;
    padding-top:30px;
    padding-bottom:10px;
    padding-left:5px;
    padding-right:5px;
}

.marquee {
    padding-left: 100vw;
    letter-spacing: 0.1em;
    display: inline-block;
    animation: marquee 8s linear infinite;
    animation-play-state: running;
    font: 500 50px/25px "Roboto", sans-serif;
    color: #ffffff;
    text-transform: uppercase;
}

    .marquee.paused,
    .marquee-container:hover .marquee {
        animation-play-state: paused;
    }

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.room-display {
    min-height: 100vh;
    display: -ms-flexbox;
    display: flex;
    padding: 30px;
    justify-content: center;
    align-items: center;
}

    .room-display .inner-room {
        text-align: center;
        width: 95%;
        max-width: 1390px;
    }

        .room-display .inner-room h1 {
            font: 500 114px/124px "Roboto", sans-serif;
            color: #ffffff;
        }

        .room-display .inner-room h3 {
            font: 500 66px/72px "Roboto", sans-serif;
            color: #ffffff;
        }

        .room-display .inner-room .inner-token {
            border-radius: 26px;
            padding: 40px;
            background-color: #ffffff;
            box-shadow: -1px 2px 12px 0px rgba(0, 0, 0, 0.4);
        }

            .room-display .inner-room .inner-token h4 {
                font: 500 90px/94px "Roboto", sans-serif;
                color: #05246c;
            }

            .room-display .inner-room .inner-token h2 {
                font: 500 450px/454px "Roboto", sans-serif;
                color: #05246c;
                margin-bottom: 0;
            }

.table-skipped th,
.table-skipped td {
    text-align: center;
    vertical-align: middle;
}

.table-box {
    background-color: #dedede;
}

.table-reports thead {
    background-color: #4aa152;
    color: #ffffff;
}

.table-reports th,
.table-reports td {
    text-align: center;
    border: 1px solid #c5c5c5;
}

.table-reports.table-striped tbody tr:nth-of-type(even) {
    background-color: #e2e2e2;
}

.table-reports.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f0f0f0;
}

.big-screen {
    height: 100vh;
    overflow: hidden;
}

.banner-sec .carousel-item img.w-100 {
    height: 100vh;
    object-fit: fill;
}

.btn-sound {
    position: fixed;
    top: 87%;
    right: 20px;
    z-index: 1;
    background-color: transparent;
    border: 1px solid #05246c;
}

.qms-heading {
    font-weight: 500;
    font-size: 35px;
    color: #110E71;
    text-align: center;
    width: 100%;
}

@media (max-width: 1725px) {
    .number-top {
        padding: 12px;
    }

        .number-top h2 {
            font: 500 74px/80px "Roboto", sans-serif;
        }

        .number-top p {
            font: 400 14px/18px "Roboto", sans-serif;
        }
}

@media (max-width: 1366px) {
    .btn-box {
        padding: 34px;
        font: 500 26px/30px "Roboto", sans-serif;
    }

    .login-sec h1 {
        font: 500 46px/52px "Roboto", sans-serif;
    }

    .login-sec h2 {
        font: 500 36px/42px "Roboto", sans-serif;
    }

    .login-box h3 {
        font: 500 36px/40px "Roboto", sans-serif;
    }

    .total-patient-box,
    .next-patient-box {
        padding: 40px;
    }

    .room-display .inner-room h1 {
        font: 500 150px/154px "Roboto", sans-serif;
    }

    .room-display .inner-room h3 {
        font: 500 80px/86px "Roboto", sans-serif;
        color: #ffffff;
    }

    .room-display .inner-room .inner-token h4 {
        font: 500 80px/84px "Roboto", sans-serif;
    }


    .table-display th {
        font: 400 40px/44px "Roboto", sans-serif;
    }

    .table-display td {
        font: 400 85px/89px "Roboto", sans-serif;
    }
}

@media (max-width:1080px) {
    .room-display .inner-room h1 {
        font: 500 150px/154px "Roboto", sans-serif;
    }

    .room-display .inner-room h3 {
        font: 500 90px/100px "Roboto", sans-serif;
        margin-bottom: 20px;
    }

    .room-display .inner-room .inner-token h4 {
        font: 500 88px/96px "Roboto", sans-serif;
    }

    .room-display .inner-room .inner-token h2 {
        font: 500 450px/454px "Roboto", sans-serif;
    }
}

@media (max-width: 1024px) {
    .main-page {
        padding: 50px 50px;
    }

    .login-sec h1 {
        font: 500 40px/46px "Roboto", sans-serif;
    }

    .login-sec h2 {
        font: 500 34px/38px "Roboto", sans-serif;
        margin-bottom: 30px;
    }

    .login-box {
        padding: 50px 80px;
        border-radius: 26px;
    }

    .nav-top h1 {
        font: 500 30px/34px "Roboto", sans-serif;
    }

    .nav-btn {
        width: 56px;
        height: 56px;
        padding: 10px;
        line-height: 32px;
    }

    .back-btn {
        width: 56px;
        height: 56px;
        padding: 10px;
        line-height: 32px;
    }

    .main-dash {
        min-height: calc(100vh - 116px);
    }
}

@media (max-width: 992px) {
    .patient-box {
        margin-bottom: 1rem;
    }

    .room-display .inner-room .inner-token h2 {
        font: 500 350px/354px "Roboto", sans-serif;
    }
}

@media (max-width: 768px) {
    .login-sec h1 {
        font: 500 28px/32px "Roboto", sans-serif;
    }

    .login-sec h2 {
        font: 500 26px/30px "Roboto", sans-serif;
    }

    .login-box h3 {
        font: 500 26px/30px "Roboto", sans-serif;
    }

    .login-box {
        padding: 34px 30px;
    }

        .login-box .form-control {
            padding: 15px 20px;
            font-size: 20px;
        }

    .btn-login {
        font: 400 20px/1.5 "Roboto", sans-serif;
    }

    .main-dash {
        padding: 30px 20px;
    }

    .nav-top {
        position: relative;
        padding: 20px 15px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        line-height: 14px;
        left: 15px;
    }

    .back-btn {
        width: 40px;
        height: 40px;
        padding: 5px;
        line-height: 14px;
        left: 15px;
    }

    .nav-top h1 {
        font: 500 24px/28px "Roboto", sans-serif;
    }

    .main-dash {
        min-height: calc(100vh - 80px);
    }

    .modalPrint .modal-dialog .modal-content .close {
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .number-top {
        padding: 15px 0;
    }

        .number-top h2 {
            font: 500 60px/66px "Roboto", sans-serif;
        }

    .modalPrint .modal-dialog .modal-content .modal-body {
        padding: 65px 30px 50px;
    }

    .modalPrint .modal-dialog .modal-content p.alloted {
        font: 400 14px/18px "Roboto", sans-serif;
    }

    .btn-print {
        padding: 35px;
    }

    .btn-box {
        font: 500 22px/26px "Roboto", sans-serif;
        padding: 34px 20px;
    }

    .total-patient-box h2,
    .next-patient-box h2 {
        font: 500 100px/106px "Roboto", sans-serif;
    }

    .total-patient-box h4,
    .next-patient-box h4 {
        font: 400 26px/30px "Roboto", sans-serif;
    }

    .btn-call-patient {
        padding: 40px;
        font: 400 40px/44px "Roboto", sans-serif;
    }

    .skip-btn {
        font: 400 26px/30px "Roboto", sans-serif;
    }

    .room-display .inner-room .inner-token h4 {
        font: 500 58px/64px "Roboto", sans-serif;
    }

    .room-display .inner-room h3 {
        font: 500 68px/72px "Roboto", sans-serif;
    }

    .room-display .inner-room h1 {
        font: 500 100px/104px "Roboto", sans-serif;
    }

    .room-display .inner-room .inner-token h2 {
        font: 500 400px/404px "Roboto", sans-serif;
    }
}

@media (max-width: 576px) {
    .btn-box {
        margin-bottom: 30px;
    }

    .total-patient-box,
    .next-patient-box {
        padding: 15px;
    }

        .total-patient-box h2,
        .next-patient-box h2 {
            text-align: center;
        }

        .total-patient-box h4,
        .next-patient-box h4 {
            text-align: center;
            margin-bottom: 10px;
        }

    .table-reports th,
    .table-reports td {
        padding: 5px;
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .nav-btn {
        width: 34px;
        height: 34px;
        line-height: 20px;
        padding: 5px;
    }

    .nav-top h1 {
        font: 500 16px/20px "Roboto", sans-serif;
    }

    .main-dash {
        min-height: calc(100vh - 80px);
    }

    .back-btn {
        width: 35px;
        height: 35px;
    }

    .total-patient-box h4,
    .next-patient-box h4 {
        font: 400 20px/24px "Roboto", sans-serif;
    }

    .btn-call-patient {
        padding: 40px 20px;
        font: 400 30px/34px "Roboto", sans-serif;
    }

    .skip-btn {
        font: 400 20px/26px "Roboto", sans-serif;
    }

    .skip-heading {
        font: 500 20px/24px "Roboto", sans-serif;
    }
}

@media (max-height: 400px) {
    .main-page {
        padding: 20px 20px;
    }

    .login-sec {
        max-width: 500px;
    }

        .login-sec h1 {
            font: 500 24px/28px "Roboto", sans-serif;
            margin-bottom: 0;
        }

        .login-sec h2 {
            font: 500 20px/24px "Roboto", sans-serif;
            margin-bottom: 10px;
        }

    .login-box {
        padding: 20px 30px;
        border-radius: 26px;
    }

        .login-box h3 {
            font: 500 20px/24px "Roboto", sans-serif;
            margin-bottom: 10px;
        }

        .login-box .form-control {
            height: auto;
            padding: 10px 20px;
            font-size: 16px;
        }

        .login-box .form-group {
            margin-bottom: 1rem;
        }
}
/*@media screen and (orientation: landscape) {
    html {
        transform: rotate(-90deg);
        transform-origin: left top;
        width: 100vh;
        height: 100vw;
        overflow-x: hidden;
        position: absolute;
        top: 100%;
        left: 0;
    }
    .banner-sec .carousel-item img.w-100 {
        height: 100vw;
        object-fit: fill;
        width: 100vh !important;
    }
}*/
