html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    transition: margin-left .5s;
    background-color: #fcfcfc;
}

/*Navbar*/

header {
    top: 0;
}

.NavHead {
    transition: margin-left .5s;
    margin-top: -10px;
    /*margin-bottom:-10px;*/
    top: 0;
    background-color: #efefef;
    padding-left: 20px;
    height: 60px;
}

.navbar-brand {
    color: #598D41 !important;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.navLogo {
    height: 45px;
    /*width: 100px;*/
    margin-right: 10px;
}

.navLink > li > a > i {
    color: #ffffff;
    font-size: 18px;
}

.navLinkMenu > li > a {
    color: #ffffff;
    font-size: 18px;
}

.NavHead > div > a > i {
    color: #ffffff;
    font-size: 20px;
    margin-right: 20px;
    padding-top: 10px;
}

.navMenu > li > a {
    color: #FF9966 !important;
    font-weight: 600;
}

.menuOpenBtn {
    color: #FF9966 !important;
    background-color: transparent;
    border: none;
    margin-right: 20px;
}

.menuLoginBtn {
    color: #336699 !important;
    background-color: transparent;
    border: none;
}

.navUsr {
    font-weight: 500;
}

    .navUsr > b, .navUsr > i {
        color: #336699;
    }

/*Footer*/
.footer {
    transition: margin-left .5s;
    position: fixed;
    left: 0;
    bottom: 0;
    height: 60px;
    width: 100%;
    background-color: #336699;
    color: white;
    text-align: center;
    /*margin-left: 50px;*/
}

    .footer > div {
        padding-top: 20px;
        padding-left: 20px;
    }

.footerLeft {
    color: #ffffff;
    font-size: 13px;
    float: left;
    text-align: left;
}

.footerRight {
    color: #c4c4c4;
    font-size: 13px;
}

    .footerRight > a {
        color: #c4c4c4;
        text-decoration: none;
    }

/*Login Form*/
.loginModalContent {
    outline: none;
    border: none;
    box-shadow: 5px 5px 5px #656565;
}

.LogModal {
    width: 30% !important;
}

.loginCardIcon {
    text-align: center;
    font-size: 30px;
    background-color: #1c3a66;
    color: #ffffff;
    padding: 20px;
    border-radius: 60px;
}

.loginCardHead {
    text-align: center;
    color: #f47921;
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 10px;
}

.loginCardBody {
    padding-left: 30px;
    padding-right: 30px;
}

#usrname {
    border: none;
    background-color: #f6f6f6;
    color: #41598D;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

    #usrname:focus, #usrname:active {
        outline: none;
        border: none;
        box-shadow: none;
        background-color: #f6f6f6;
        color: #41598D;
        padding: 10px;
        margin-bottom: 20px;
        font-size: 14px;
    }

#psw {
    border: none;
    background-color: #f6f6f6;
    color: #41598D;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

    #psw:focus, #psw:active {
        outline: none;
        border: none;
        box-shadow: none;
        background-color: #f6f6f6;
        color: #41598D;
        padding: 10px;
        margin-bottom: 20px;
        font-size: 14px;
    }

#clientname {
    border: none;
    background-color: #c6e6b8;
    color: #656565;
    margin-bottom: 10px;
    font-size: 12px;
    height: 5%;
    padding: 10px;
}

/*#clientname:focus, #clientname:active {
    outline: none;
    border: none;
    box-shadow: none;
    background-color: #f6f6f6;
    color: #41598D;
    padding: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}*/

.loginCardFrgtPswd {
    color: #f47921;
    text-decoration: none;
    font-size: 14px;
}

    .loginCardFrgtPswd > a {
        color: #f47921;
        text-decoration: none;
        font-size: 14px;
    }

.LogBtn {
    position: absolute !important;
    z-index: 10;
    align-items: center;
    bottom: -60px !important;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    background-color: #72b454;
    color: #d9efcf;
}

    .LogBtn:hover {
        position: absolute;
        z-index: 10;
        align-items: center;
        bottom: -40px;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70%;
        background-color: #72b454;
        color: #267900;
    }

/* ************************ */
.forgotPWD {
    font-size: 10px;
    font-style: italic;
    margin-top: -30px;
    margin-left: -10px;
}

#forgotBtn .dx-button-text {
    text-transform: unset !important;
}

.flipper {
    width: 500px;
    height: 410px;
    position: relative;
    transition: 0.6s;
    transform-style: preserve-3d;
}

.front, .back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    backface-visibility: hidden;
}

.front {
    z-index: 2;
    transform: rotateY(0deg);
}

.back {
    transform: rotateY(180deg);
}

.flip {
    transform: rotateY(180deg);
}

.infohide {
    height: 1px;
    display: none;
    margin-bottom: 20px;
}

.infoshow {
    margin-bottom: 20px;
    height: 15px;
    display: block;
}
/* ************************ */

/* Master Card */
.cardht {
    background-color: #336699 !important;
    color: #fff;
    font-weight: 500;
    font-size:16px;
}

.masterCardBody {
    box-shadow: 2px 2px 5px 0px #dbdbdb !important;
    padding: 0px;
}

.masterActualBody {
    padding: 0px 10px 0px 10px;
}

/* Master Btn */
.masterBtn {
    color: #fff;
    float: right;
    padding: 0px;
    margin-left: 15px;
}

    .masterBtn :hover {
        color: #cbf5b8;
    }

/* Info Card - with selection details */

.infoCard {
    height: 100%;
    border-radius: 0px;
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-left: 5px solid #336699;
    box-shadow: 2px 2px 8px 0px #dbdbdb;
    margin-right: 30px;
}

.infoCard2 {
    height: 100%;
    border-radius: 0px;
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-left: 5px solid #598D41;
    box-shadow: 2px 2px 8px 0px #dbdbdb;
    margin-left: -10px;
    margin-right: 30px;
}

.infoCardBody {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 10px;
}

#capLineHead {
    color: #336699;
    font-size: 15px;
    font-weight: 500;
}

#capLineOne {
    color: #FF9966;
    font-size: 14px;
    font-weight: 500;
}

#capLineTwo {
    color: #454545;
    font-size: 14px;
    font-weight: 400;
}

#capLineHead2 {
    color: #2c2c2c;
    font-size: 15px;
    font-weight: 600;
}

#capLineOne2 {
    color: #598D41;
    font-size: 14px;
    font-weight: 500;
}

#capLineTwo2 {
    color: #454545;
    font-size: 14px;
    font-weight: 400;
}

/* Filter Accordion */
#filterAccordion {
    margin-bottom: 10px;
}

#filterAccordionBtn {
    background-image: linear-gradient(to left, #7689b1, #41598D);
    /*background-color: #f47921;*/
    color: #f1daca;
    font-weight: 600;
    border-radius: 0px;
}

    #filterAccordionBtn:focus {
        box-shadow: none;
    }

#filterAccordionOne {
    border-radius: 0px;
}

#filterAccordionBody {
    background-color: #fff;
    border: solid 1px #c7daf6;
    padding-top: 20px;
}

.dx-texteditor-input {
    padding-top: 20px !important;
}

.filtered-row .dx-texteditor-input {
    padding-top: 0px !important;
}

.filtered-row .filter-row-focus .dx-texteditor-input {
    padding-top: 0px !important;
}

.loader {
    background: rgba(255,255,255,.8);
    padding-top: 5px;
    z-index: 99999;
}

    .loader div {
        border: 16px solid #f3f3f3; /* Light grey */
        border-top: 16px solid #3498db; /* Blue */
        border-radius: 50%;
        width: 20px;
        height: 20px;
        animation: spin 2s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*SideNav*/

.sidenav {
    height: 85%;
    width: 0;
    position: fixed;
    z-index: 100;
    top: 0;
    margin-top: 64px;
    left: 0;
    background-color: #41598dbe !important;
    overflow-x: hidden;
    transition: 0.5s !important;
    padding-top: 30px;
    padding-bottom: 30px;
    box-shadow: 2px 2px 8px 0px #133378a4;
}

    .sidenav a {
        /*padding: 80px 8px 8px 32px;*/
        text-decoration: none;
        /*font-size: 25px;*/
        color: #818181;
        display: block;
        transition: 0.3s;
        text-decoration: none !important;
    }

        .sidenav a:hover {
            color: #f1f1f1;
        }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

.dx-state-disabled .dx-texteditor-input {
    font-weight: 800 !important;
    font-size: 14px !important;
    color: black !important;
}


/*Patient Details*/
.infoCardBody {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 10px;
}

#infoPatDiv{
    /*margin:10px;*/
}

#cap1 {
    margin-bottom: 0px;
    background-color: #f7f7f7;
    padding: 5px;
    padding-right: 10px;
    border-left: solid 4px #FF9966;
}

.capLineHead {
    color: #656565;
    font-size: 18px;
    font-weight: 500;
}

#cap2 {
    margin-top: 0px;
    background-color: #f7f7f7;
    padding-left: 5px;
    padding-right: 10px;
    padding-top: 20px;
    padding-bottom: 10px;
    border-left: solid 4px #FF9966;
}

.capLineOne {
    color: #656565;
    font-size: 14px;
    font-weight: 500;
}

/* Toast */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Apply animations to the toast */
.toast {
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

    .toast.slide-in {
        animation-name: slideIn;
    }

    .toast.slide-out {
        animation-name: slideOut;
    }

.toast-container {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 300px;
    max-height: 80vh; /* Maximum height of the container */
    overflow-y: auto; /* Enables scrolling when toasts exceed container height */
    z-index: 1050;
}

.custom-toast {
    background-color: #ffcc00; /* Background color */
    color: #000; /* Text color */
    border: 1px solid #000; /* Border color */
    margin-bottom: 10px; /* Space between toasts */
}

.toast-header {
    position: relative;
}

.btn-close {
    width: 16px; /* Smaller width */
    height: 16px; /* Smaller height */
    padding: 0; /* Remove extra padding */
    position: absolute; /* Absolute positioning */
    top: 50%; /* Vertically center */
    right: 10px; /* Align to the right */
    transform: translateY(-50%); /* Center vertically */
}

/*******************************************/

input.dx-texteditor-input {
    height: 45px;
    font-size: 14px;
}

.dx-editor-filled.dx-texteditor-with-label .dx-texteditor-label .dx-label span {
    color: red;
    font-size: 14px;
    height: 30px;
}

.dx-editor-filled.dx-texteditor-with-label.dx-state-focused .dx-texteditor-label .dx-label span {
    color: red;
    font-size: 14px;
    height: 30px;
}

.dx-editor-filled.dx-texteditor-with-label.dx-state-hover .dx-texteditor-label .dx-label span {
    color: red;
    font-size: 14px;
    height: 30px;
}

.dx-editor-filled.dx-texteditor-with-label.dx-state-focused.dx-state-hover .dx-texteditor-label .dx-label span {
    color: red;
    font-size: 14px;
    height: 30px;
}
.dx-datagrid-headers th,
.dx-datagrid-content td {
    font-size: 14px; /* Change the font size as needed */
}

/*******************************************/

/* Listbox count */
#itemCountDiv {
    margin-top: 10px;
    padding: 10px;
    font-weight: 500;
    border-top: 2px solid #41598db9;
}