.auth-fluid{
    position:relative;
    display:flex;
    align-items:center;
    height: auto!important;
    flex-direction:row;
    align-items:stretch;
    background:url('/static/images_template/bg-material.png') center;background-size:cover
}
.auth-fluid .footer{
    position: static !important;
}
/* body[data-layout-mode="horizontal"] .button-menu-mobile {
    display: inherit;
} */

.content-page {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

body[data-sidebar-size="condensed"] .left-side-menu #sidebar-menu>ul>li:hover>a {
    width: calc(250px + 70px) !important;
}

body[data-sidebar-size="default"] #sidebar-menu>ul>li>a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 992px) {
    .icon-switch-menu {
        position: absolute;
        right: 0px;
        margin-top: 19px;
    }
}

@media (max-width: 991.9px) {
    .icon-switch-menu {
        visibility: hidden;
    }
}

.layout-menudoc #button-alway-show {
    width: calc(100% - 240px) !important;
}

body[data-sidebar-size="condensed"] .layout-menudoc #button-alway-show {
    width: calc(100% - 70px) !important;
}

@media (min-width: 992px) {
    .modal-body #button-alway-show {
        width: calc(90% - 30px);
    }
}
.table {
    color: #262a2d;
}
body {
    color: #262a2d !important;
}
.topnav .navbar-nav .nav-link {
     color: #262a2d;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: #262a2d;
}
.table thead{
    background-color: #f4f4f4 !important;
}
.table-hover tbody tr:hover {
    color: #0b65f4;
    cursor: pointer;
}

.active-menu {
    height: 50px !important;
    box-sizing: border-box !important;
    border-bottom: 4px solid #37a2a2 !important;
    color: #0056c1;
}
.navbar-nav .active-menu .nav-link {
    color: #0056c1;
}

/* .modal-lg.modal-xl {
    max-width:90% !important;
} */


body[data-layout-mode=horizontal] .content-page {
    padding: 70px 5px 65px 5px;
}


@media (min-width:992px) {
    .modal-lg {
        max-width: 90% !important;
    }
    body[data-layout-mode=horizontal] .content-page {
        padding: calc(60px + 55px) 5px 65px 5px;
    }
}

@media (min-width:1367px) {
    .modal-xl {
        max-width: 1140px !important;
    }
    body[data-layout-mode=horizontal] .content-page {
        padding: calc(60px + 50px) 7px 65px 7px;
    }
    body[data-layout-mode=horizontal] .container-fluid {
        max-width: 100% !important;
    }
}

@media (max-width:556px) {
    #button-alway-show .btn-group .width-sm {
        min-width: 30px;
    }
}

@media (max-width:768px) {
    #button-alway-show .btn-group .width-sm {
        min-width: 50px;
    }
}

/* Custom card */

.card {
    margin-bottom: 5px !important;
}

.card-body {
    padding: 1rem 0.5rem;
}

.border-right-5 {
    border-right: 5px solid #e5e8eb !important;
}

.border-left-5 {
    border-left: 5px solid #e5e8eb !important;
}

.border-5 {
    border: 5px solid #e5e8eb !important;
    border-radius: 0.2rem !important;
}

.button-scroll-show {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: red;
    /* Set a background color */
    color: white;
    /* Text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 15px;
    /* Some padding */
    border-radius: 10px;
    /* Rounded corners */
    font-size: 18px;
    /* Increase font size */
}

#button-alway-show {
    position: fixed;
    bottom: 0px;
    z-index: 1030;
    width: 100%;
    background: #F0F0F0;
    padding-bottom: 10px;
    padding-top: 5px;
    left: 0;
    right: 0;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #ececec91;
}

input.form-control,
select.form-control {
    height: calc(1.5em + .5rem + 2px) !important;
    padding: .15rem .5rem;
}
textarea.form-control{
    padding: .15rem .5rem !important;
}

.form-group .input-group .form-control,
.form-group .input-group .input-group-append {
    height: calc(1.5em + .5rem + 2px) !important;
}
.form-group {
    margin-bottom: 0.5rem;
}
.form-control.selectize-control{
    height: 31px !important;
}

.logo-box a{
    color: white;
    font-size: 17px;
    font-weight: 600;
}

.navbar-custom {
    height: 70px;
    background-image: linear-gradient(to right, rgba(32, 40, 119, 1), rgba(55, 46, 149, 1), rgba(83, 49, 177, 1), rgba(114, 48, 205, 1), rgba(150, 41, 230, 1)) !important;
}

body[data-layout-mode=horizontal] .navbar-custom {
    height: 60px;
}

.logo-box .logo,
.navbar-custom .topnav-menu .nav-link {
    line-height: 60px;
}

.notification-list .noti-icon-badge {
    top: 10px;
}

.topnav {
    margin-top: 60px;
}

.selectize-input {
    height: calc(1.5em + .5rem + 2px) !important;
    min-height: calc(1.5em + .5rem + 2px) !important;
    padding: 6px 12px;
}

/* thong tin nguy co */

.table-nguyco td {
    padding: 0.5rem !important;
}

.table-nguyco th {
    padding: 0.5rem !important;
}

.table-nguyco thead th:last-child{
    width: 90px !important;
}

.table-nguyco thead th:nth-child(2){
    min-width: 100px !important;
}

.danhmuc-nguyco hr{
    margin: 0.5rem !important;
}

.table-nhom-tuoi th:last-child{
    width: 50px;
}
.table-nhom-benh th:last-child{
    width: 50px;
}

/* end thong tin nguy co */


/* login */

.main.login .full-screen{
    min-height: 100vh;
    position: relative;
    width: 100%;
    z-index: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main.login .background-img::before{
    position: absolute;
    content: '';
    background-image: linear-gradient(to right, rgba(32, 40, 119, 0.95), rgba(55, 46, 149, 0.95), rgba(83, 49, 177, 0.90), rgba(114, 48, 205, 0.85), rgba(150, 41, 230, 0.95));
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.main.login .hero-content-left, .sign-up-form-wrap{
    z-index: 2;
}
.main.login .hero-animation-img, .hero-content-left{
    position: relative;
    z-index: 2;
}
.main.login .hero-content-left h1{
    font-weight: 500;
    font-size: 42px;
    line-height: 60px;
}
.main.login p{
    margin-bottom: 1.25em;
}
.main.login .login-signup-card{
    position: relative;
    z-index: 2;
}
.main.login .shadow-lg{
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}
.main.login .bottom-img-absolute{
    bottom: -40px;
    width: 100%;
    position: absolute;
}
.main.login .bottom-img img, .bottom-img-absolute img{
    width: 100%;
}
.main.login .img-fluid{
    max-width: 100%;
    height: auto;
}
.main.login .pb-5, .py-5{
    padding-bottom: 3rem !important;
}
.main.login .pt-5, .py-5{
    padding-top: 3rem !important;
}

.main.login .pr-md-5, .px-md-5{
    padding-left: 3rem !important;
}
.main.login .pr-md-5, .px-md-5{
    padding-right: 3rem !important;
}

.main.login .mb-5{
    margin-bottom: 3rem !important;
}

.main.login .login-signup-form .form-group{
    position: relative;
}

.main.login .form-group{
    margin-bottom: 1rem;
}

.main.login .login-signup-form .form-group label{
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 88%;
}

.main.login .small, small{
    font-size: 90%;
}

.main.login a{
    text-decoration: none !important;
    background-color: transparent;
    transition: all .3s ease-in-out;
}

.main.login .input-icon{
    height: calc(3.4rem + 2px);
    position: absolute;
    display: block;
    width: 40px;
    top: 0;
    bottom: 0;
    left: 0;
}

.main.login .login-signup-form .form-group .input-group.input-group-merge > .form-control{
    text-indent: 35px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    height: calc(2.65em + .75rem + 2px) !important;
}

.main.login .form-control{
    border-color: #ebebeb;
    padding: .975rem 0.85rem;
}

.main.login .btn.border-radius{
    border-radius: 4px;
}

.main.login .solid-btn{
    color: #fff;
    -webkit-box-shadow: 0 5px 12px 0 rgba(67,37,204,.2);
    box-shadow: 0 5px 12px 0 rgba(67,37,204,.2);
    background: #6730e3;
    border: 2px solid #6730e3;
    border-radius: 30px;
}

.main.login .outline-btn{
    padding: 10px 25px;
    font-family: 'Open Sans', sans-serif;
}
.main.login .solid-btn{
    padding: 10px 25px;
    font-family: 'Open Sans', sans-serif;
}
.main.login .primary-solid-btn{
    padding: 10px 25px;
    font-family: 'Open Sans', sans-serif;
}

.main.login .input-icon span{
    padding: 16px 15px;
    border-left: 2px solid #6730e3;
    position: absolute;
    font-size: 17px;
    height: calc(3.1rem + 2px);
    border-radius: 4px;
    z-index: 5;
}

.main.login .color-primary{
    color: #6730e3;
}
.main.login [class^="ti-"], [class*=" ti-"]{
    font-family: 'themify';
    speak-as: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}
.main.login .ti-email::before{
    content: url('/static/images_template/email.png');
    width: 19px;
    vertical-align: baseline;
}

.main.login .custom-email{
    width: 19px;
    vertical-align: baseline;
}

.main.login .container{
    max-width: 1140px;
}

.main.login h2{
    margin: 0 0 1rem    ;
    margin-bottom: 1rem !important;
    color: initial !important;
}
.main.login h3{
    margin: 0 0 1rem    ;
    margin-bottom: 1rem !important;
    color: initial !important;
}
.main.login h4{
    margin: 0 0 1rem    ;
    margin-bottom: 1rem !important;
    color: initial !important;
}
.main.login h5{
    margin: 0 0 1rem    ;
    margin-bottom: 1rem !important;
    color: initial !important;
}
.main.login .h3{
    font-size: 1.75rem;
}

.main.login .ptb-100{
    padding: 50px 0;
}
.main.login .login-signup-form .form-control:focus{
    border-color: #6730e3 !important;
}

/* end login */



/* forgotpassword */
.main.forgotpassword .full-screen{
    min-height: 100vh;
    position: relative;
    width: 100%;
    z-index: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main.forgotpassword .gray-light-bg{
    background: #f4f7fa;
}

.main.forgotpassword .ml-n3{
    margin-left: -.98rem !important;
}
.main.forgotpassword .mx-n3{
    margin-left: -.98rem !important;
}
.main.forgotpassword .bg-cover{
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
}

.main.forgotpassword .vh-100{
    height: 100vh !important;
}

.main.forgotpassword .background-img{
    position: relative;
    width: 100%;
    display: block;
}
.main.forgotpassword .background-img::before{
    position: absolute;
    content: '';
    background-image: linear-gradient(to right, rgba(32, 40, 119, 0.95), rgba(55, 46, 149, 0.95), rgba(83, 49, 177, 0.90), rgba(114, 48, 205, 0.85), rgba(150, 41, 230, 0.95));
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.main.forgotpassword .login-signup-content{
    height: 100%;
    width: 100%;
    z-index: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main.forgotpassword h2{
    font-size: 2.441em;
}
.main.forgotpassword p{
    margin-bottom: 1.25em;
}
.main.forgotpassword .login-signup-form .form-group{
    position: relative;
}
.main.forgotpassword .input-icon{
    height: calc(3.4rem + 2px);
    position: absolute;
    display: block;
    width: 40px;
    top: 0;
    bottom: 0;
    left: 0;
}
.main.forgotpassword .login-signup-form .form-group .input-group.input-group-merge > .form-control{
    text-indent: 35px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    height: calc(2.65em + .75rem + 2px) !important;
}
.main.forgotpassword .input-icon span{
    padding: 16px 15px;
    border-left: 2px solid #6730e3;
    position: absolute;
    font-size: 17px;
    height: calc(3.1rem + 2px);
    border-radius: 4px;
    z-index: 5;
}
.main.forgotpassword .color-primary{
    color: #6730e3;
}
.main.forgotpassword .custom-email{
    width: 19px;
    vertical-align: baseline;
}
.main.forgotpassword .login-signup-form .form-control:focus{
    border-color: #6730e3 !important;
}
.main.forgotpassword .btn.border-radius{
    border-radius: 4px;
}
.main.forgotpassword .solid-btn{
    color: #fff;
    -webkit-box-shadow: 0 5px 12px 0 rgba(67,37,204,.2);
    box-shadow: 0 5px 12px 0 rgba(67,37,204,.2);
    background: #6730e3;
    border: 2px solid #6730e3;
    border-radius: 30px;
}
.main.forgotpassword .solid-btn{
    padding: 10px 25px;
    font-family: 'Open Sans', sans-serif;
}
/* end forgotpassword */


/* change password */
.main.resetpassword .full-screen{
    min-height: 100vh;
    position: relative;
    width: 100%;
    z-index: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center
}
.main.resetpassword .gray-light-bg{
    background: #f4f7fa;
}
.main.resetpassword .ml-n3{
    margin-left: -.98rem !important;
}
.main.resetpassword .bg-cover{
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
}
.main.resetpassword .vh-100{
    height: 100vh !important;
}
.main.resetpassword .background-img{
    position: relative;
    width: 100%;
    display: block;
}
.main.resetpassword .background-img::before{
    position: absolute;
    content: '';
    background-image: linear-gradient(to right, rgba(32, 40, 119, 0.95), rgba(55, 46, 149, 0.95), rgba(83, 49, 177, 0.90), rgba(114, 48, 205, 0.85), rgba(150, 41, 230, 0.95));
    width: 100%;
    height: 100%;
    top: 0;
}
.main.resetpassword .login-signup-content{
    height: 100%;
    width: 100%;
    z-index: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main.resetpassword p{
    margin-bottom: 1.25em;
}
.main.resetpassword h2{
    font-size: 2.441em;
}
.main.resetpassword .form-group{
    margin-bottom: 1rem;
}
.main.resetpassword .login-signup-form .form-group{
    position: relative;
}
.main.resetpassword .input-icon{
    height: calc(3.4rem + 2px);
    position: absolute;
    display: block;
    width: 40px;
    top: 0;
    bottom: 0;
    left: 0;
}
.main.resetpassword .login-signup-form .form-group .input-group.input-group-merge > .form-control{
    text-indent: 35px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    height: calc(2.65em + .75rem + 2px) !important;
}
.main.resetpassword .input-icon span{
    padding: 16px 15px;
    border-left: 2px solid #6730e3;
    position: absolute;
    font-size: 17px;
    height: calc(3.1rem + 2px);
    border-radius: 4px;
    z-index: 5;
}
.main.resetpassword .color-primary{
    color: #6730e3;
}
.main.resetpassword .custom-email{
    width: 19px;
    vertical-align: baseline;
}
.main.resetpassword .login-signup-form .form-control:focus{
    border-color: #6730e3 !important;
}
.main.resetpassword .btn.border-radius{
    border-radius: 4px;
}
.main.resetpassword .solid-btn{
    color: #fff;
    -webkit-box-shadow: 0 5px 12px 0 rgba(67,37,204,.2);
    box-shadow: 0 5px 12px 0 rgba(67,37,204,.2);
    background: #6730e3;
    border: 2px solid #6730e3;
    border-radius: 30px;
}
.main.resetpassword .solid-btn{
    padding: 10px 25px;
    font-family: 'Open Sans', sans-serif;
}
/* end change password */


/* thong tin don vi */
.donvi-infos-left td, .donvi-infos-left th{
    padding: 0.5rem !important;
    width: 8rem;
}
/* end thong tin don vi */


/* kham chua benh */

.div-control{
    height: calc(1.5em + 1.5rem + 4px) !important;
}
.khamchuabenh .form-control{
    height: calc(1.5em + 1.5rem + 4px) !important;
}
.khamchuabenh .card-body{
    min-height: 400px;
}
.khamchuabenh .btn-search{
    height: calc(1.5em + .5rem + 6px) !important;
}

/* end kham chua benh */

/* thong tin kham chua benh */
.sotheodoi .form-group{
    margin-bottom: 0.5rem !important;
}
.sotheodoi .form-group.mb-3{
    margin-bottom: 1rem !important;
}
.sotheodoi {
    background-color: #f9f9f9;
}
.sotheodoi .card{
    border: 1px solid #e7eaed !important;
}
.sotheodoi .text-title{
    color: #0056c1 !important;
    font-weight: 600;
    font-size: 18px;
}
.sotheodoi .form-check-input{
    margin-top: 0.15rem !important;
}
.sotheodoi .form-check{
    margin-bottom: 0.2rem !important;
}
.sotheodoi .waring{
    background-color: yellow;
}
.sotheodoi .table-warning-nguyco th{
    padding: 0.5rem;
}
.sotheodoi .table-warning-nguyco th:first-child{
    width: 95px;
}
.sotheodoi .table-warning-nguyco td{
    padding: 0.5rem;
}
.sotheodoi .disbled-checkbox{
    pointer-events: none;
}
.sotheodoi .tab-nguyco{
    min-height: 250px;
}
.sotheodoi .tab-nguyco .button-nguyco button{
    min-width: 70px;
}

.sotheodoi .timeline02{
    list-style: none;
    padding: 0;
    margin: 0;
}

.sotheodoi .timeline02 li.active{
    background: #E1F5FF;
}

.sotheodoi .timeline02 li{
    border-bottom: 1px solid #DBDBDB;
    padding: 10px;
    cursor: pointer;
}

.sotheodoi .timeline02 .text-wrap{
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.sotheodoi .nav-tabs > li > a{
    color: #0056c1;
}
/* end thong tin kham chua benh */


/* phieu kham benh */
.khambenh .text-donvitinh{
    padding-top: 5px;
}

.khambenh .table-tab-danhmuc_thuoc th{
    padding: 0.5rem;
}

.khambenh .table-tab-danhmuc_thuoc td{
    padding: 0.5rem;
}

.khambenh .table-tab-danhmuc_thuoc{
    border: none;
}

/* end phieu kham benh*/


/* tien su benh tat */

.tiensubenhtat{
    min-height: 400px;
}

/* end tien su benh tat */


/* notifys */

.notifys .time-send{
    width: 55px;
    display: inline-block;
    -moz-appearance: textfield;
}

.notifys label{
    margin-bottom: 0;
    padding-top: 0.3rem;
}

.notifys hr{
    margin: 0.5rem !important;
}
input.form-control, select.form-control {
    height: calc(1.5em + .5rem + 6px) !important;
    padding: .15rem .5rem !important;
}
.selectize-input {
    height: calc(1.5em + .5rem + 2px) !important;
    min-height: calc(1.5em + .5rem + 6px) !important;
    padding: 6px 12px;
  }

.cursor-pointer {
    cursor: pointer;
}
.area-login-orga {
    border-right: 1px solid #f2f2f2;
}
.info-orga label {
    width: 200px !important;
}
.logo-organization, #users  table tbody.grid-data tr {
    cursor: pointer;
}
#users  table tbody.grid-data tr.bg-primary{
    background-color: #f7f8f9 !important;
    color: #262a2d !important;
}
#users  table tbody.grid-data tr:hover{
    background-color: #0056c1 !important;
    color: #f7f8f9 !important;
}
/* .topnav {
    height: 50px;
} */
/* #topnav-menu-content .navbar-nav .nav-item:hover {
    border-bottom: 4px solid #37a2a2 !important;
    height: 50px !important;
    box-sizing: border-box !important;
} */
.disable-click {
    pointer-events: none;
}
.dashboard-card {
    color: #fff;
}
.bg-c-blue {
    background: linear-gradient(45deg, #4099ff, #73b4ff);
}
.bg-c-green {
    background: linear-gradient(45deg, #2ed8b6, #59e0c5);
}
.bg-c-yellow {
    background: linear-gradient(45deg, #ffb64d, #ffcb80);
}
.bg-c-red {
    background: linear-gradient(45deg, #ff5370, #ff869a);
}
.text-white {
    color: #fff !important;
}
.feather {
    font-family: feather !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.dashboard-card h4.text-white {
    line-height: 25px;
    margin-top: 0px;
    height: 40px;
    font-size: 22px;
}
.dashboard-card h2.text-center {
    margin-top: 31px;
    font-size: 40px;
}

.col-3-custom{
    padding: 0 12px;
    width: 12.5%;
}

.col-9-custom{
    padding: 0 12px;
}
.delete-row {
    width: 70px !important;
}
@media (min-width: 992px) {
    .topnav {
        height: 50px !important;
    }
}
.nav .nav-item {
    cursor: pointer;
}


/* css notify */

.notify-list,
.news_collection a {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.16);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    margin-top: 10px;
    min-height: 121px;
}

.icon_notify .border-icon {
    height: 75px;
    width: 75px;
    background-color: #4f87fb;
    border: 1px solid #fff;
    border-radius: 50%;
    margin-top: 25px;
}

.icon_notify .border-icon .fa-video {
    color: #fff;
    font-size: 45px;
    padding-top: 15px;
    padding-left: 15px;
}

.content_notify {
    font-size: 15px;
    padding-top: 14px;
    padding-left: 30px;
    float: left;
    width: 90%;
    width: calc(100% - 100px) !important;
}

.content_notify {
    font-size: 15px;
}

.type-notify {
    color: #004fb9;
    padding-top: 11px;
    font-weight: 600;
    font-size: 19px;
}

.name-ticket .left {
    color: #494b4d;
}

.content_notify {
    font-size: 15px;
}

.icon_notify .border-icon .fa-bell {
    color: #fff;
    font-size: 45px;
    padding-top: 11px;
    padding-left: 18px;
    transform: rotate(29deg);
}