﻿@charset "UTF-8";
@font-face {
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: 900;
    font-display: auto;
    src: url("../../vendor/font-awesome/v5.11.2/webfonts/fa-solid-900.eot");
    src: url("../../vendor/font-awesome/v5.11.2/webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../../vendor/font-awesome/v5.11.2/webfonts/fa-solid-900.woff2") format("woff2"), url("../webfonts/fa-solid-900.woff") format("woff"), url("../../vendor/font-awesome/v5.11.2/webfonts/fa-solid-900.ttf") format("truetype"), url("../../vendor/font-awesome/v5.11.2/webfonts/fa-solid-900.svg#fontawesome") format("svg"); }
/* html {
    font-size: 87.5%;
} */
body {
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    font-size: 14px;
    overflow: hidden;
    /* font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Fira Sans","Droid Sans","Helvetica Neue",sans-serif; */
    font-family:  Arial, Helvetica, Tahoma, 'Times New Roman',sans-serif;
    color: #333;
}
table, tr, td, div, ul, li, a, ol, fieldset, input, textarea, select
{
    outline: none !important;
}
.img-default
{
    width: 100%;
    max-width: 100%;
}
.height-auto
{
    height: auto !important;
}
.align-middle
{
    vertical-align: middle;
}
.v-align-top
{
    vertical-align: top;
}
.v-align-middle
{
    vertical-align: middle;
}
.v-align-bottom
{
    vertical-align: bottom;
}
h2.page-title
{
    font-size: 14px;
}
.form-control{
    font-size: 14px;
}
#root{
    width: 100%;
    height: 100%
}
.absolute
{
    position: absolute;
}
.disabled{
    opacity: .2;
    background-color: #ced4da !important;
    border-color: #ced4da !important;
    color: rgb(78, 72, 72) !important;
}
.disabled em, .disabled i{
    color: rgb(78, 72, 72);
}
a {
    cursor: pointer;
    color: #333;
}
.line-height-normal
{
    line-height: 100% !important;
}
.btn-main-color, .btn-main-color:hover, .btn-main-color:focus {
    color: #fff;
    background-color: #0d6fac;
    border-color: #0d6fac;
    padding: .3rem .75rem;
}
.btn-clear
{
    display: block;
}
a:hover, button:hover {
    filter: alpha(opacity=60);
    -ms-filter: "alpha(opacity=60)";
    opacity: 0.6;
    color: #0d6fac;
}
button.no-opacity, button:hover.no-opacity
{
    filter: alpha(opacity=100);
    -ms-filter: "alpha(opacity=100)";
    opacity: 1;
}
.bg-main {
    background: #fafafa;
}
.bg-main-header {
    background: #0d6fac;
}
.form-control:focus {
    box-shadow: none;
}
.hidden-scroll {
    overflow: hidden !important;
}
.react-tagsinput
{
    font-size: 14px !important;
    /* height: 31px; */
    min-height: auto !important;
}
.react-tagsinput-input
{
    font-size: 14px !important;
}
.btn{
    font-size: 14px !important;
    padding: 3px 9px !important;
}

.btn-delete-all {
    margin-right: 3px !important;
    font-size: 12px !important;
    padding: 3px 9px !important;
    border-radius: .25rem!important;

}
fieldset
{
    padding-top: 0px !important;
}
fieldset legend
{
    font-size: 14px !important;
}
.fieldset-normal{
    border: 1px solid #bfbaba;
    border-radius: 4px;
    padding: 10px;
}
.fieldset-normal legend {
    width: inherit;
    font-weight: bold;
    margin-left: 30px;
}
select.form-control:not([size]):not([multiple])
{
    height: 30px !important;
}
div.group-tbl-list
{
    width: 100%;
    display: inline-block;
}
.content-border-center::after
{
    position:absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    content: "";
    border-left: 1px solid #ddd;
    margin: 0 -5px;
}
/*responsive đường kẻ ở giữa*/
@media all and (max-width: 987px) {
    .content-border-center{
        border: none;
    }
    .content-border-center::after
    {
        border: none;
    }
}

.fixed-content-border-center::after
{
    margin-left: 0px !important;
}
hr
{
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}
.no-border
{
    border: none !important;
}
.full-border
{
    border: 1px solid #ddd;
}
.border-left
{
    border-left: 1px solid #ddd;
}
.border-right
{
    border-right: 1px solid #ddd;
}
.border-left-right
{
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
.system-error .navbar-right
{
    top: 40px;
}
.system-error .app-content
{
    top: 80px;
}
.notification-error
{
    display: inline-table;
    width: 100%;
    height: 40px;
    background: #cc3300;
    line-height: 40px;
    color: #fff;
}
.notification-error p
{
    margin: 0;
    padding: 0px 15px;
    text-align: center;
    position: relative;
}
.notification-error .close-notification-error
{
    position: absolute;
    right: 20px;
    top: 9px;
    font-size: 20px;
    color: #fff;
}
.notification-error .close-notification-error:hover
{
    text-decoration: none;
}
.translate-field
{
    padding: 1px 6px !important;
    border-radius: 3px;
    color: #fff !important;
    background: #0d6fac;
    cursor: pointer;
    font-size: 12px;
    position: relative;
    left: 5px;
    bottom: 3px;
}
.fl-container
{
    width: 100%;
    display: block;
    position: relative;
}
.fl-container-left{
    position: relative;
    width: auto;
    height: 100%;
}
.fl-container-tab::before
{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;
    border-bottom: 1px solid #aaa;
}
.btn-row{
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -12px;
}
body.modal-open #main-container
{
    z-index: 1000;
}
body.modal-open div.subtree-container > div
{
    z-index: 3100;
}
/*============================================================*/
/*======================== modal size ========================*/
/*============================================================*/
.modal-dialog
{
    margin: 30px auto !important;
}
.health-insurance-information-modal-dialog
{
    margin: 50px auto !important;
    position: absolute;
}
.modal-body-scroll
{
    overflow: auto;
}
.modal-body .modal-left
{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-right: 1px solid #ddd;
    padding-right: 10px;
}
.modal-body .modal-right
{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0px;
    left: 0;
    overflow: auto;
}
.modal-body .modal-left .fl-btn-group
{
    position: absolute !important;
    height: 38px !important;
}
.modal-body .modal-left .fl-btn-group .col-12
{
    height: 100% !important;
    padding: 0px 10px !important;
}
.modal-500 .modal-dialog
{
    max-width: 500px;
}
.modal-550 .modal-dialog
{
    max-width: 550px;
}
.modal-600 .modal-dialog
{
    max-width: 600px;
}
.modal-650 .modal-dialog
{
    max-width: 650px;
}
.modal-700 .modal-dialog
{
    max-width: 700px;
}
.modal-750 .modal-dialog
{
    max-width: 750px;
}
.modal-800 .modal-dialog
{
    max-width: 800px;
}
.modal-900 .modal-dialog
{
    max-width: 900px;
}
.modal-950 .modal-dialog
{
    max-width: 950px;
}
.modal-1000 .modal-dialog
{
    max-width: 1000px;
}
.modal-2 .modal-dialog
{
    max-width: 20%;
}
.modal-3 .modal-dialog
{
    max-width: 30%;
}
.modal-4 .modal-dialog
{
    max-width: 40%;
}
.modal-5 .modal-dialog
{
    max-width: 50%;
}
.modal-6 .modal-dialog
{
    max-width: 60%;
}
.modal-7 .modal-dialog
{
    max-width: 70%;
}
.modal-8 .modal-dialog
{
    max-width: 80%;
}
.modal-9 .modal-dialog
{
    max-width: 90%;
}
.modal-10 .modal-dialog
{
    max-width: 100%;
}
.modal-9-9 .modal-dialog
{
    max-width: 70%;
    max-height: 100%;
}
#showPrint .modal-dialog .modal-header,#showPrint .modal-dialog .modal-footer{
    padding: 0.3rem;
}
#showPrint .modal-header .bootbox-close-button{
    padding: 0.3rem 0.7rem 0rem 0rem;
}
#showPrint .modal-header .close{margin: 0px}

#showPrint .modal-dialog .modal-content{
    height: 700px;
}
#showPrint .pdf-view{
    width: 100%;
    height: 610px; 
}
/* #showPrint .modal-dialog{
    max-width: 90%;
    max-height: 90%;
} */
/*============================================================*/
/*======================== footer ============================*/
/*============================================================*/
footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    background: #fafafa;
    line-height: 40px;
    border-top: 2px solid #0d6fac;
    z-index: 1;
}
footer ul li {
    list-style: none;
    display: inline-block;
}
footer ul.left {
    float: left;
    margin-left: -22px;
}
footer ul.left li a {
    margin-right: 10px;
}
footer ul.right {
    float: right;
    margin-right: 15px;
}
footer ul.right li a {
    margin-left: 10px;
}
/*============================================================*/
/*======================== main content ======================*/
/*============================================================*/
section.app-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0px;
    right: 0px;
    overflow: hidden;
}
.app-content-inner {
    /* display: table;
    table-layout: fixed; */
    width: 100%;
    height: 100%;
}
#main-table {
    position: relative;
    border-right: 1px solid #ddd;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
}
#main-table .group-header {
    padding: 15px 15px 0px 15px;
}
#main-container {
    position: relative !important;
    margin-left: 500px;
    top: 0;
    height: 100%;
    width: auto;
    background-color: #fff;
}
.padding-content
{
    padding-left: 10px;
    padding-right: 10px;
    display: block;
}
/*=============================================================================================*/
/*======== Padding nội dung màn hình bên phải tương ứng với width của table bên trái ==========*/
/*=============================================================================================*/
.fl-m-l-50
{
    margin-left: 50px !important;
}
.fl-m-l-300
{
    margin-left: 300px !important;
}
.fl-m-l-310
{
    margin-left: 310px !important;
}
.fl-m-l-320
{
    margin-left: 320px !important;
}
.fl-m-l-330
{
    margin-left: 330px !important;
}
.fl-m-l-340
{
    margin-left: 340px !important;
}
.fl-m-l-350
{
    margin-left: 350px !important;
}
.fl-m-l-360
{
    margin-left: 360px !important;
}
.fl-m-l-370
{
    margin-left: 370px !important;
}
.fl-m-l-380
{
    margin-left: 380px !important;
}
.fl-m-l-390
{
    margin-left: 390px !important;
}
div.fl-m-l-400
{
    margin-left: 400px !important;
}
div.fl-m-l-410
{
    margin-left: 410px !important;
}
div.fl-m-l-420
{
    margin-left: 420px !important;
}
div.fl-m-l-430
{
    margin-left: 430px !important;
}
div.fl-m-l-440
{
    margin-left: 440px !important;
}
div.fl-m-l-450
{
    margin-left: 450px !important;
}
div.fl-m-l-460
{
    margin-left: 460px !important;
}
div.fl-m-l-470
{
    margin-left: 470px !important;
}
div.fl-m-l-480
{
    margin-left: 480px !important;
}
div.fl-m-l-490
{
    margin-left: 490px !important;
}
div.fl-m-l-500
{
    margin-left: 500px !important;
}
div.fl-m-l-510
{
    margin-left: 510px !important;
}
div.fl-m-l-520
{
    margin-left: 520px !important;
}
div.fl-m-l-530
{
    margin-left: 530px !important;
}
div.fl-m-l-540
{
    margin-left: 540px !important;
}
div.fl-m-l-550
{
    margin-left: 550px !important;
}
div.fl-m-l-560
{
    margin-left: 560px !important;
}
div.fl-m-l-570
{
    margin-left: 570px !important;
}
div.fl-m-l-580
{
    margin-left: 580px !important;
}
div.fl-m-l-590
{
    margin-left: 590px !important;
}
div.fl-m-l-600
{
    margin-left: 600px !important;
}
div.fl-m-l-610
{
    margin-left: 610px !important;
}
div.fl-m-l-620
{
    margin-left: 620px !important;
}
div.fl-m-l-630
{
    margin-left: 630px !important;
}
div.fl-m-l-640
{
    margin-left: 640px !important;
}
div.fl-m-l-650
{
    margin-left: 650px !important;
}
div.fl-m-l-660
{
    margin-left: 660px !important;
}
div.fl-m-l-670
{
    margin-left: 670px !important;
}
div.fl-m-l-680
{
    margin-left: 680px !important;
}
div.fl-m-l-690
{
    margin-left: 690px !important;
}
div.fl-m-l-700
{
    margin-left: 700px !important;
}
div.fl-m-l-710
{
    margin-left: 710px !important;
}
div.fl-m-l-720
{
    margin-left: 720px !important;
}
div.fl-m-l-730
{
    margin-left: 730px !important;
}
div.fl-m-l-740
{
    margin-left: 740px !important;
}
div.fl-m-l-750
{
    margin-left: 750px !important;
}
div.fl-m-l-760
{
    margin-left: 760px !important;
}
div.fl-m-l-770
{
    margin-left: 770px !important;
}
div.fl-m-l-780
{
    margin-left: 780px !important;
}
div.fl-m-l-790
{
    margin-left: 790px !important;
}
div.fl-m-l-800
{
    margin-left: 800px !important;
}
div.m-l-0
{
    margin-left: 0px !important;
}
.fl-m-r-50
{
    margin-right: 50px !important;
}
.fl-m-r-300
{
    margin-right: 300px !important;
}
.fl-m-r-310
{
    margin-right: 310px !important;
}
.fl-m-r-320
{
    margin-right: 320px !important;
}
.fl-m-r-330
{
    margin-right: 330px !important;
}
.fl-m-r-340
{
    margin-right: 340px !important;
}
.fl-m-r-350
{
    margin-right: 350px !important;
}
.fl-m-r-360
{
    margin-right: 360px !important;
}
.fl-m-r-370
{
    margin-right: 370px !important;
}
.fl-m-r-380
{
    margin-right: 380px !important;
}
.fl-m-r-390
{
    margin-right: 390px !important;
}
div.fl-m-r-400
{
    margin-right: 400px !important;
}
div.fl-m-r-410
{
    margin-right: 410px !important;
}
div.fl-m-r-420
{
    margin-right: 420px !important;
}
div.fl-m-r-430
{
    margin-right: 430px !important;
}
div.fl-m-r-440
{
    margin-right: 440px !important;
}
div.fl-m-r-450
{
    margin-right: 450px !important;
}
div.fl-m-r-460
{
    margin-right: 460px !important;
}
div.fl-m-r-470
{
    margin-right: 470px !important;
}
div.fl-m-r-480
{
    margin-right: 480px !important;
}
div.fl-m-r-490
{
    margin-right: 490px !important;
}
div.fl-m-r-500
{
    margin-right: 500px !important;
}
div.fl-m-r-510
{
    margin-right: 510px !important;
}
div.fl-m-r-520
{
    margin-right: 520px !important;
}
div.fl-m-r-530
{
    margin-right: 530px !important;
}
div.fl-m-r-540
{
    margin-right: 540px !important;
}
div.fl-m-r-550
{
    margin-right: 550px !important;
}
div.fl-m-r-560
{
    margin-right: 560px !important;
}
div.fl-m-r-570
{
    margin-right: 570px !important;
}
div.fl-m-r-580
{
    margin-right: 580px !important;
}
div.fl-m-r-590
{
    margin-right: 590px !important;
}
div.fl-m-r-600
{
    margin-right: 600px !important;
}
div.fl-m-r-610
{
    margin-right: 610px !important;
}
div.fl-m-r-620
{
    margin-right: 620px !important;
}
div.fl-m-r-630
{
    margin-right: 630px !important;
}
div.fl-m-r-640
{
    margin-right: 640px !important;
}
div.fl-m-r-650
{
    margin-right: 650px !important;
}
div.fl-m-r-660
{
    margin-right: 660px !important;
}
div.fl-m-r-670
{
    margin-right: 670px !important;
}
div.fl-m-r-680
{
    margin-right: 680px !important;
}
div.fl-m-r-690
{
    margin-right: 690px !important;
}
div.fl-m-r-700
{
    margin-right: 700px !important;
}
div.fl-m-r-710
{
    margin-right: 710px !important;
}
div.fl-m-r-720
{
    margin-right: 720px !important;
}
div.fl-m-r-730
{
    margin-right: 730px !important;
}
div.fl-m-r-740
{
    margin-right: 740px !important;
}
div.fl-m-r-750
{
    margin-right: 750px !important;
}
div.fl-m-r-760
{
    margin-right: 760px !important;
}
div.fl-m-r-770
{
    margin-right: 770px !important;
}
div.fl-m-r-780
{
    margin-right: 780px !important;
}
div.fl-m-r-790
{
    margin-right: 790px !important;
}
div.fl-m-r-800
{
    margin-right: 800px !important;
}
.fimg_disease_level img
{
    display: block;
    height: 90px;
}
.fimg_disease_level .f-text-align
{
    font-size: 100px;
}

.fimg_disease_level .f-img
{
    position: absolute;
    bottom: 1px;
    left: 50px;
    display:none;
}
.fimg_disease_level .f-other
{
    position: absolute;
    bottom: 1px;
    left: 23px;
    display:none;
}
.file-item:hover button{ 
    display: block;
}
.fimg_disease_level .file-item{ 
    position: relative;
}
.fimg_disease_level
{
    text-align: center;
}
.fimg_disease_level p
{
    margin-bottom: -14px !important;
}
.f-display-block{
    display: block;
}
h2.page-title {
    background: #f4f4f4;
    padding: 10px 15px;
    font-weight: normal;
    margin-bottom: 0;
    position: relative;
}
#main-table h2.page-title
{
    padding-right: 34px;
}
#main-table h2.page-title::after
{
    position: absolute;
    content: "\f053";
    top: 0;
    right: -1px;
    bottom: 0;
    width: 30px;
    cursor: pointer;
    justify-content: center;
    display: flex;
    align-items: center;
    background: #0d6fac;
    color: #fff;
    opacity: 1;
    font-size: 15px;
    font-family: FontAwesome !important;
}
#main-table h2.page-title:hover::after{
    opacity: 0.3 !important;
}
#main-table h2.page-title.sidebar-close::after
{
    right: -30px;
    content: "\f054" !important;
}
.main-table-open
{
    -webkit-transform: translate3d(0,0,0);
    -webkit-transition: -webkit-transform .5s cubic-bezier(.225, .5, .165, 1), box-shadow .1s linear;
    -moz-transform: translate3d(0,0,0);
    -moz-transition: -moz-transform .5s cubic-bezier(.225, .5, .165, 1), box-shadow .1s linear;
    -ms-transform: translate3d(0,0,0);
    -ms-transition: -ms-transform .5s cubic-bezier(.225, .5, .165, 1), box-shadow .1s linear;
    transform: translate3d(0,0,0);
    transition: transform .5s cubic-bezier(.225, .5, .165, 1), box-shadow .1s linear;
}
.main-table-close
{
    -webkit-transform: translate3d(-100%,0,0);
    -webkit-transition: -webkit-transform .5s cubic-bezier(.225, .5, .165, 1), box-shadow .1s linear;
    -moz-transform: translate3d(-100%,0,0);
    -moz-transition: -moz-transform .5s cubic-bezier(.225, .5, .165, 1), box-shadow .1s linear;
    -ms-transform: translate3d(-100%,0,0);
    -ms-transition: -ms-transform .5s cubic-bezier(.225, .5, .165, 1), box-shadow .1s linear;
    transform: translate3d(-100%,0,0);
    transition: transform .5s cubic-bezier(.225, .5, .165, 1), box-shadow .1s linear;
    z-index: 100;
    background: #fff;
}
.main-table-close h2.page-title::after
{
    opacity: 0.7 !important;
}
#main-container > .content, #main-table .content {
    position: absolute;
    z-index: 10;
    left: 0;
    right: 0;
}
#main-container .content-login
{
    left: 0px;
}
#main-container .content-inner, #main-table .content-inner {
    padding: 15px;
    display: block;
    overflow: auto;
    height: 100%;
}
.hidden-scroll-content-inner
{
    overflow: hidden !important;
}
#main-container .fl-btn-group, #main-table .fl-btn-group {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46px;
    border-top: 1px solid #ddd;
    padding-left: 12px;
    padding-right: 15px;
    z-index: 9;
    background: #fff;
}
.full-width{
    width: 100%;
}
.full-height{
    height: 100%;
}
.fl-btn-group button {
    margin-left: 3px;
}
.full-btn-group .fl-btn-group .col-8
{
    flex: 0 0 100%;
    max-width: 100%;
}
#main-container > .content
{
    top: 0;
    bottom: 46px;
}
#main-container > .content.content-full
{
    top: 0;
    bottom: 0;
}
.custom-main-content #main-container > .content
{
    bottom: 0px !important;
}
.custom-main-content #main-container > .content::after
{
    position:absolute;
    left: 0;
    right: 0;
    bottom: 45px;
    content: "";
    border-top: 1px solid #ddd;
}

.fl-btn{
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 100;
}

@media(max-width: 800px) {
    #main-container{
        margin-left: 0 !important;
        width: 100%;
        display: none;
    }
    #main-table {
        right: 15px;
        width: 100%;
        left: 0 !important;
    }
    .login-page .app-content #main-container{
        display:block;
    }
    #main-table h2.page-title
    {
        padding-right: 10px;
    }
    #main-table h2.page-title::after, #main-table h2.page-title.sidebar-close::after
    {
        content: none !important;
    }
}
@media(min-width: 800px) {
    #main-table,#main-container{
        display: block !important;
    }
}
.login-page .dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0px;
    vertical-align: 0;
    content: "";
    border-top: 10px solid;
    border-right: 6px solid transparent;
    border-bottom: 0;
    border-left: 6px solid transparent;
    right: 16px;
    position: relative;
}
/*============================================================*/
/*=========================== form ===========================*/
/*============================================================*/
::placeholder {
    color: #ccc !important;
    opacity: 1;
}
:-ms-input-placeholder {
    color: #ccc !important;
}
::-ms-input-placeholder {
    color: #ccc !important;
}
.bootstrap-select>.dropdown-toggle.bs-placeholder, .bootstrap-select>.dropdown-toggle.bs-placeholder:active, .bootstrap-select>.dropdown-toggle.bs-placeholder:focus, .bootstrap-select>.dropdown-toggle.bs-placeholder:hover {
    color: #ccc !important;
}
label {
    margin-bottom: 0rem;
    color: #6b778c; 
    font-weight: 400;
}
.dl-inline-block{
    display: inline-block !important;
}
.display-block
{
    display: block !important;
}
.form-control, .bootstrap-select {
    margin-bottom: 2px;
}
.form-control{
    padding: 2px 5px;
    margin-bottom: 2px;
}

body .form-control-sm, .input-group-sm>.form-control, 
body .input-group-sm>.input-group-append>.btn, 
body .input-group-sm>.input-group-append>.input-group-text, 
body .input-group-sm>.input-group-prepend>.btn, 
body .input-group-sm>.input-group-prepend>.input-group-text{
    padding: 0.1rem .5rem;
}
.bootstrap-select ul.dropdown-menu {
    display: block;
}
.bootstrap-select .dropdown-toggle {
    background-color: #fff;
    border-color: #ccc;
}
.bootstrap-select ul.dropdown-menu li {
    display: block;
    padding: 3px 20px;
    line-height: 1.42857143;
    white-space: nowrap;
}
.bootstrap-select .dropdown-toggle:focus {
    outline: none;
    box-shadow: none;
}
.fl-radio-button {
    padding-top: 0.4rem;
}
.bootstrap-select .dropdown-toggle:disabled {
    background-color: #e9ecef;
    opacity: 1;
}
.fd-form {
     padding-bottom: 0px; 
}
.fd-border {
    border-top: 1px solid #ccc;
    padding: 0px 0px;
}
.fd-border legend {
    width: inherit;
    font-weight: bold;
    margin-left: 30px;
}
span.required {
    color: #ff0000;
    margin-left: 3px;
}
.btn-delete{
    margin: 0 auto;
}
.btn-delete, .btn-delete:hover, .btn-delete:focus {
    padding: .1rem .4rem;
}
.btn em {
    position: relative;
    top: 1px;
}
.btn-group-center{
    position: absolute;
    top: 50%;
    margin-top: -40px;
}
.btn-group-center button{
    display: inline-block;
    margin: 5px 0px 5px 11px;
}
/*============================================================*/
/*=========================== table =========================*/
/*============================================================*/
.table td, .table th {
    padding: 0.4rem 0.4rem;
    vertical-align: middle;
    border-left: 1px solid #ddd;
    border-top: none ;
    border-bottom: none ;
}
.table td:last-child , .table th:last-child {
    /* border-right: 1px solid #ddd; */
    border-right: none;
}
.table td:first-child, .table th:first-child  {
    border-left: none;
    text-align: center;
    align-items: center;
    -webkit-align-items: center;
    -moz-box-align: center;
}
.table th:first-child, .table th:last-child  {
    cursor: auto;
}
.table thead th {
    vertical-align: middle;
    /* border-top: 1px solid #ddd; */
    /* border-bottom: 1px solid #ddd; */
    border-bottom: none;
}
.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: #f9f9f9;
}
.table-striped tbody tr.highlight{
    background-color: #E3F4FC;
}
.table.table-row-pointer tbody tr {
    cursor: pointer;
} 
table.header-fixed {
    width: 100% ;
    table-layout: fixed ;
    background-color: #fff;
    border-collapse: collapse;
}
table.header-fixed tr{
    display: flex;
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    line-height: 1.5;
    border-collapse: collapse;
}
table.header-fixed > thead,
table.header-fixed > tbody,
table.header-fixed > thead > tr > th,
table.header-fixed > tbody > tr > td {
    line-height: 1.5;
    border-collapse: collapse;
    vertical-align: middle;
}
table.header-fixed > tbody > tr:after,
table.header-fixed > thead > tr:after {
    content: ' ';
    display: block;
    visibility: hidden;
    clear: both;
}
table.header-fixed > tbody {
    overflow-y: auto;
}
table.header-fixed > tbody > tr > td, table.header-fixed thead > thead > tr > th {
    float: left;
}
table.header-fixed tbody{
    overflow-y:auto;
    width: 100%;
    position: relative;
}
table.header-fixed tbody:focus{
    outline: none;
}
table.header-fixed tbody td{
    float:left;
}
table.header-fixed thead tr th{
    float:left;
    position: relative;
}
table.header-fixed thead tr th:last-child::before, table.header-fixed thead tr th:first-child::before{
    content: none;
}
table.header-fixed thead tr th:last-child::after, table.header-fixed thead tr th:first-child::after{
    content: none;
}
table.table tr:last-child, table.table tr:last-of-type{
    border-bottom: 1px solid #ddd !important;
}
table.header-fixed {
    border: 1px solid #ddd !important;
}
table.tbl-normal input, table.tbl-normal textarea, table.tbl-normal select
{
    margin-bottom: 0px;
}
table.tbl-normal button.btn-add
{
    margin-left: 10px;
}
table.tbl-normal tr
{
    background: none !important;
}
table.tbl-normal thead tr th, table.tbl-normal tr td
{
    /* border: 1px solid #ddd !important; */
    border: none !important; 
    padding: 5px 3px;
}
table.tbl-normal tr:last-child, table.tbl-normal tr:last-of-type
{
    border: none !important;
}
.tbl-default
{
    width: 100%;
    border-collapse: collapse
}
.tbl-default tr th, .tbl-default tr td{
    border: 1px solid #ddd;
    padding: 5px 5px;
}
.tbl-default tr th
{
    color: #6b778c;
    font-weight: 500;
}
/* ==============================================================
* =========================== select ======================
* ===============================================================
*/
.select2-container {
    z-index: 10;
}
.select2-container--open {
    z-index: 3000;
}
.control-select-full {
    width: 100%;
}
.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple {
    border-radius: 4px;
    border: 1px solid #ced4da;
}
.select2-container .select2-selection--single {
    /* height: 31px; */
    height: 28px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 27px !important;
    color: #333;
    padding-right: 28px !important;
    text-align: left;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    position: relative;
    bottom: 3px;
    line-height: 33px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    /* height: 31px; */
    height: 28px;
    width: 31px;
    top: 0;
    right: 0;
    border-left: 1px solid #ccc;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #000 transparent transparent transparent;
    border-width: 8px 6px 0 6px;
    margin-left: -7px;
    margin-top: -4px;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-width: 0px 6px 8px 6px;
    border-color: transparent transparent #000 transparent;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
    z-index: 100;
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    width: 34px;
    background: #333;
    text-align: center;
    color: #fff;
    line-height: 29px;
    border-radius: 0px 4px 4px 0px;
}
.select2-container {
    width: 100% !important;
    margin-bottom: 5px;
}
.select2-container--default:not(.select2-container--disabled) *:focus, .select2-container--default.select2-container--focus:not(.select2-container--disabled) .select2-selection--multiple {
    color: #495057;
    border-color: #80bdff;
    outline: 0;
}
.select2-container--default.select2-container--disabled .select2-selection--single, .select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color: #e9ecef;
    opacity: 1;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #ced4da;
}
.select2-container--default .select2-search--inline .select2-search__field {
    width: initial!important;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #ccc;
}
#tbl-detail-list .select2-container
{
    position: relative;
    top: 3px;
}
.select2-error .select2-selection
{
    border: 1px solid #ff0000;
}

.select2-dropdown-checkbox .select2-results__option
{
    display: flex !important;
    position: relative;
    padding-left: 30px !important;
}
.select2-dropdown-checkbox .select2-results__option::before{
    content: "";
    display: inline-block;
    position: absolute;
    height: 20px;
    width: 20px;
    border: 2px solid #e9e9e9;
    border-radius: 3px;
    background-color: #fff;
    margin-right: 5px;
    vertical-align: middle;
    top: 50%;
    left: 5px;
    margin-top: -10px;
}
.select2-dropdown-checkbox .select2-results__option[aria-selected='true']::before{
    font-family:fontAwesome;
    content: "\f00c";
    color: #fff;
    background-color: #0d6fac;
    border: 0;
    display: inline-block;
    padding-left: 3px;
}
.fls-hidden-selection .select2-selection__choice
{
    display: none;
}
.select-examine-time .select2-container
{
    position: relative;
    top: 10px;
}
.ReactVirtualized__Table .select2-selection{
    position: relative;
}
ul[aria-multiselectable=true] .select2-results__option[aria-selected=true] {
    display: none;
}
.select2-dropdown-checkbox ul[aria-multiselectable=true] .select2-results__option[aria-selected=true] {
    display: block;
}
.select2-dropdown-checkbox .select2-results__option.select2-results__message::before
{
    content: none;
}
.select2-dropdown-checkbox .select2-results__option.select2-results__message
{
    padding-left: 5px !important;
}
.st-table-select
{
    padding-left: 5px;
    padding-right: 5px;
    width: 100%;
}
.st-table-select .select2-container 
{
    margin-bottom: 0px !important;
}
.st-table-select span{
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.st-table-select span.select2-selection__placeholder
{
    padding-left: 5px !important;
}
.st-table-select .select2-selection
{
    padding-left: 5px !important;
    padding-right: 40px !important;
    overflow: hidden !important;
}
.st-table-col-btn
{
    display: inline-table;
    width: 100%;
    text-align: center;
}
/* ==============================================================
* =========================== end select ======================
* ===============================================================
*/
.event {
    padding-bottom: 5px;
}
#department {
    margin-bottom: 5px;
}
.JStableOuter table {
    position: relative;
    /* width: 100%!important; */
    background-color: #fff;
    border-collapse: collapse;
    /* font-family: arial; */
    display: block;
    /* height: 550px; */
    overflow-y: scroll;
}
.JStableOuter {
    border-top: 1px solid #ced4da;
    border-left: 1px solid #ced4da;
    margin-left: 14px;
    margin-right: 14px;
}
.JStableOuter thead {
    position: relative;
    /*display: block;*/
    /*seperates the header from the body allowing it to be positioned*/
    overflow: visible;
}
.JStableOuter thead th {
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid #999;
    height: 32px;
    padding: 3px 15px 0;
    vertical-align: top;
    position: relative;
}
.JStableOuter thead tr {
    /*first cell in the header*/
    position: relative;
}
.JStableOuter tbody tr td:first-child {
    /*the first cell in each tr*/
    width: 50px;
}
.JStableOuter tbody tr td:last-child {
    /*the first cell in each tr*/
    width: 20px;
}
.JStableOuter tbody td {
    width: 50%;
    border-collapse: collapse;
    border: 1px solid #999;
}
.tableOuter {
    max-width: 800px;
    overflow: auto;
}
.JStableOuter thead th.blueHead {
    background-color: #7b7b7b;
    color: #fff;
}
.JStableOuter thead th.lightBlueBox, .JStableOuter tbody td.lightBlueBox {
    background: #efefef;
    border-color: #999;
}
.fzbtn button {
    margin-top: 6px;
    text-align: center;
}
.input-group-append .btn {
    border-color: #ced4da;
}
/* ==============================================================
* =========================== end select ======================
* ===============================================================
*/
/* ==============================================================
* =========================== Tam add 14/06/2018 ==================
* ===============================================================*/
@media only screen and (max-width: 705px) and (min-width: 671px){
    #main-container .fl-btn-group .btn.btn-main-color{
            margin-left: 0px;
            font-size: 0.76rem;
    }
}
@media all and (min-width: 200px) {
    .agb-table {
        cursor: pointer;
    }
    .agb-table table {
        margin-left: -1px;
        margin-top: -1px;
    }
    .agb-btn-table {
        font-size: 1.3rem;
    }
    .fa-file-pdf-o {
        color: red;
    }
    .fa-file-excel-o {
        color: green;
        background-color: white;
    }
    .agb-tru-so {
        padding-left: 15px;
        padding-right: 15px;
    }
    .agb-fix-scroll-table {
        margin-left: 14px;
        margin-right: 14px;
    }
}
@media all and (min-width: 1025px) {
    .modal-lg {
        max-width: 992px;
    }
    
}
.info-modal{
    width: auto;
}
.modal-fieldset { 
    display: block;
    margin-left: 2px;
    margin-right: 2px;
    padding-top: 0.35em;
    padding-bottom: 0.625em;
    padding-left: 0.75em;
    padding-right: 0.75em;
    width: 100%;
    border: 1px solid #6C6C6C;
    border-radius: 4px;
}
.modal-one{
    color:#215055;
    font-size: 1.1rem;
    font-weight: 700;
}
.modal-two{
    color:#215055;
    font-size: 1.1rem;
    font-weight: 700;
}
.row-modal-one{
    padding-left: 10px;
}
.modal-fieldset .col-sm-10 .form-control{
    width: 100%;
}
.modal-text{
    color:#212529;
    font-weight: 600;
}
@media only screen and (max-width: 1024px) {
    .hidden-two{
        display: none;
    }
    .col-add-12{
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}
.show-ps{
    display: none;
}
@media only screen and (max-width: 575px) {
    .modal-text{
        padding-left: 8px !important;
    }
}
@media only screen and (min-width: 576px) {
    .form-inline .form-control.modal-form-control {
        width: 100%;
    }
    .modal-address{
        width: 100% !important;
    }
    .row-modal-two label{
        display: -webkit-box;
        text-align: -webkit-right;
    }
    .row-modal-one label{
        display: -webkit-box;
        text-align: -webkit-right;
    }
}
.modal{
    z-index: 3000 !important;
}
.modal-backdrop{
    z-index: 2500 !important;
}
.lbl-pt-input-group{
    padding-top: 20px !important
}
@media (min-width: 992px){
.lbl-pt-input-group-2{
    padding-top: 1.6rem!important
}
}

.btn-main-group {
    color: #0d6fac;
    background-color: transparent;
    background-image: none;
    border-color: #0d6fac;
}
.btn-main-group:not(:disabled):not(.disabled).active, 
.btn-main-group:not(:disabled):not(.disabled):active, 
.show>.btn-main-group.dropdown-toggle {
    color: #fff;
    background-color: #0d6fac;
    border-color: #0d6fac;
}
/* ==============================================================
* =========================== END Tam add 14/06/2018 ==================
* =============================================================== */
.form-group{
    margin-bottom: 0px;
}
.form-group .col-group {
	display: flex;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
}
.form-group .col-group-lg-2 input {
	width: 100% !important;
}
.form-group .col-group button {
	margin-left: 12px;
}
.form-group .col-group input {
	width: 100px;
}
.form-group .col-group span {
	vertical-align: middle;

}
.form-group .col-group span.line {
	margin: 0px 12px;
}

.form-group .col-group span.first {
	margin-right: 12px;
	width: auto;
	align-items: center;
}
.form-group .col-group-02 {
    margin-top: 12px;
    margin-bottom: 12px;
}

.form-group .col-group-02 .select2-container {
	width: 23% !important;
}

.form-group .col-group-02 span.line {
	margin: 0px 6px;
}

.col-group-02 {
	display: inline-block !important;
}

.col-group-02 .select2-container {
	width: 36% !important;
}

.col-group-02 .ft-clear {
	display: block;
	margin-top: 12px;
}

/* fix danh-muc-dinh-nghia-benh btn plus  */

.btn-plus{
    margin-top:11px;
}

.Reditorinformation{
    padding-bottom: 70px;
}

.plus-fa{
    border-radius: 15px;
}

.container-fluid {
    padding: 0px;
 }

 .container-fluid .nav-tabs .nav-item a{
    font-weight: 600;
 }

 .container-fluid .nav-tabs .nav-item a:hover{
    opacity: 0.6;
    color: #0d6fac;
 }
 .mce-fullscreen .fl-btn-group{
     display: none;
 }
 div.mce-container{z-index: 500}

 /* #mceu_16{
     display: none;
 } */

 .nav-pills .nav-link{
    color: #333;
    font-weight: 700;
 }
 
 .nav-pills .nav-link:hover{
    opacity: 0.6;
    color: #0d6fac;
 }

.nav-pills .nav-link.active:hover{
    opacity: 0.6;
    color: #0d6fac;
 }

 .nav-pills .nav-link.active{
    color: #333;
    font-weight: 700;
    background: transparent;
    border-bottom: 2px solid #584d4d;
 }

 .pb-100{
     padding-bottom:100px;
 }

 .hidden-text{
     color:white;
 }
#btn-toggle-advance-search.btn-outline-secondary:focus{
    box-shadow: none;
}
.validate-message{
    color: #ff0000;
    line-height: 1.5;
}
.input-error{
    border-color: #ff0000; 
}
.input-error:not(.input-error-margin-inherit){
    margin-bottom: 0!important;
}
.input-error .selection .select2-selection--single,
.input-error .selection .select2-selection--multiple,
.form-group.input-error .react-tagsinput
{
    border-color: #ff0000!important; 
}
.datepickerbutton.input-error{
    border-top-color:  #ff0000!important; 
    border-right-color:  #ff0000!important; 
    border-bottom-color:  #ff0000!important; 
}
.ReactVirtualized__Table__rowColumn
{
    white-space: normal !important;
}
.ReactVirtualized__Table__rowColumn.align-right span{
    text-align: right;
    justify-content: flex-end;
}
.ReactVirtualized__Table__headerColumn.headerColumn span{
    /* line-height: 100%; */
    color: #6b778c; 
    font-weight: 500;
}
.ReactVirtualized__Table__headerRow
{
    font-weight: normal !important;
}
#group-advance-search
{
    position: relative;
    z-index: 500;
}
.wrapper-smartTable{
    position: relative;
    width: 100%;
    min-height: 100px;
}
button[aria-expanded="true"] span.fa-plus::before
{
	content: "\f068" !important;
}

button[aria-expanded="true"] span.fa-caret-down::before
{
	content: "\f0d8" !important;
}
.lbl-singlecb{
    height: 22px!important;
    padding: 10px!important;
}
.st-cell-text
{
    width: 100%;
    margin-bottom: 0;
    padding: 0px 5px;
    overflow: hidden;
}
.st-cell-number-text
{
    width: 100%;
    margin-bottom: 0;
    padding: 0px 5px;
    text-align: right;
    overflow: hidden;
}
/*============================================================*/
/*====================== Tam.nguyen 25/9/2018 ==========================*/
/*============================================================*/
.col-label-to{
    align-self: center;
}
.label-to{
    text-align: center;
    font-weight: 700;
}
.custom-warehousing, .fieldset-default, .fieldset-square{
    display: block;
    margin-left: 2px;
    margin-right: 2px;
    padding-top: 0.35em;
    padding-bottom: 0.625em;
    padding-left: 0.75em;
    padding-right: 0.75em;
    border: 1px solid #bfbaba;
}

.custom-warehousing, .fieldset-default{
    border-radius: 4px;
}

.custom-warehousing legend, .fieldset-default legend, .fieldset-square legend{
    width: inherit;
    font-weight: bold;
    margin-left: 30px;
}
.lg-g2{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 10%;
    flex: 0 0 10%;
    max-width: 10%;
}
.col-lg-2-custom{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16%;
    flex: 0 0 16%;
    max-width: 16%;
}
.col-lg-3-custom {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 22%;
    flex: 0 0 22%;
    max-width: 22%;
}
.col-lg-1-custom {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 12%;
    flex: 0 0 12%;
    max-width: 12%;
}
.col-lg-2-dv{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 13%;
    flex: 0 0 13%;
    max-width: 13%;
}
.col-lg-1-dv{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 10%;
    flex: 0 0 10%;
    max-width: 10%;
}
.col-lg-2-hd{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 14%;
    flex: 0 0 14%;
    max-width: 14%;
}
.col-md-1-custum{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 10%;
    flex: 0 0 10%;
    max-width: 10%;
}
.table-warehousing .fl-btn-group.align-right{
    display: none;
}
.arrow-left{
    position: absolute;
    bottom: 40%;
    z-index: 9999;
    left: -2.2%;
    opacity: 0.2;
}
.arrow-left:hover{
    opacity: 1;
}
.to-left{
    transition: 2s;
    transform: translateX(-700px);
}
.to-right{
    transition: 2s;
    transform: translateX(0px);
}
.col-lg-1-plus{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 5.4%;
    flex: 0 0 5.4%;
    max-width: 5.4%;
}
.col-solo{
    flex: 0 0 7%;
    max-width: 7%;
}
.col-lg-2-material{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.4%;
    flex: 0 0 16.4%;
    max-width: 16.4%;
}
.col-lg-2-btn-add{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 8.4%;
    flex: 0 0 8.4%;
    max-width: 8.4%;
}
.col-lg-3-custom, .col-lg-2, .col-lg-2-dv, .col-lg-1, .col-lg-1-plus, .col-solo,
.col-lg-1-dv, .col-lg-2-material{
    transition: 2s;
}
/*============================================================*/
/*================= Định nghĩa bệnh ==========================*/
/*============================================================*/
.fl-tab,
.fl-tab-detail
{
    display: inline-table;
    width: 100%;
    border-bottom: 1px solid #aaa;
    padding: 0;
    margin-bottom: 10px;
}
.fl-tab li,
.fl-tab-detail li
{
    float: left;
    list-style: none;
}
.fl-tab li a,
.fl-tab-detail a
{
    position: relative;
    top: 1px;
    display: block;
    padding: 8px 12px;
    text-decoration: none !important;
}
.fl-tab li:hover a,
.fl-tab-detail li:hover a
{
    filter: alpha(opacity=100);
    -ms-filter: "alpha(opacity=100)";
    opacity: 1;
}
.fl-tab li a.active,
.fl-tab-detail li a.active
{
    background: #fff;
    border: 1px solid #aaa;
    color: black;
    border-radius: 5px 5px 0 0;
    border-bottom: none !important;
}
.content-container, .content-container-inner
{
    display: inline-table;
    width: 100%;
    position: relative;
    height: 100%;
}
.fl-sub-menu
{
    display: inline-table;
    width: 100%;
    padding: 0;
    margin-bottom: 0px;
}
.fl-sub-menu li{
    float: left;
    list-style: none;
}
.fl-sub-menu li a{
    display: block;
    padding: 3px 20px;
    text-decoration: none !important;
}
.fl-sub-menu li a.active{
    border-bottom: 3px solid #0d6fac;
}
.content-container-inner div.fl-btn-group
{
    padding-left: 0px !important;
    padding-right: 0px !important;
    position: unset !important;
}
.content-container-inner div.fl-btn-group  .col-12
{
    height: auto !important;
    padding-top: 4px !important;
}
.wrap-flst-container
{
    display: block;
    position: relative;
    min-height: 100px;
}
.sub-right-content
{
    display: inline-table;
    width: 100%;
    overflow: auto;
}
.left-content
{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-right: 1px solid #ddd;
    padding-right: 10px;
}
.left-content .content.container
{
    padding-left: 0;
    padding-right: 0;
}
.right-content
{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 15px;
    left: 0;
    overflow: auto;
    padding-left: 10px;
    padding-right: 10px;
}
table.tbl-normal td.lbl-index
{
    padding-left: 0;
    padding-right: 0;
    border-right: none !important;
}
table.tbl-normal td.lbl-index-next
{
    padding-left: 0;
    border-left: none !important;
}
.fl-smarttable-row-child
{
    display: flex;
}
.fl-smarttable-row-child .bullet
{
    text-align: center;
    align-items: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    display: flex;
    margin-right: 4px;
}
.right-content-inner
{
    width: 100%;
    position: relative;
    height: 100%;
    overflow: auto;
}
.right-content-hidden-scroll
{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 10px;
    left: 0;
    padding-left: 10px;
    padding-right: 10px;
}
.tab-content-inner
{
    position: relative;
    display: block;
}
.tab-content-inner button.add-row
{
    position: absolute;
    bottom: 0;
    right: 0;
}
.content-scroll
{
    display: block;
    padding-left: 10px;
    padding-right: 10px;
    overflow: auto;
}
/*============================================================*/
/*================ định dạng hiển thị danh sách file =========*/
/*============================================================*/
.attachments-parent
{
    padding: 0;
    margin: 0;
    max-height: 100%;
    height:auto;
    overflow: overlay;
    border: 1px solid #ccc;
    min-height: 200px;
}
.attachments
{
    padding: 0;
    margin: 0;
    height: auto;
    width: 100%;
    float: left;
}
.attachments li.attachment
{
    list-style: none;
    position: relative;
    float: left;
    padding: 8px;
    margin: 0;
    color: #444;
    cursor: pointer;
    list-style: none;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 16.66666%;
    box-sizing: border-box;
}
.attachments li.attachment .attachment-preview {
    position: relative;
    box-shadow: inset 0 0 15px rgba(0,0,0,.1),inset 0 0 0 1px rgba(0,0,0,.05);
    background: #eee;
    cursor: pointer;
    color: #444;
    text-align: center;
}
.attachments li.attachment .attachment-preview::before {
    content: "";
    display: block;
    padding-top: 100%;
}
.attachments li.attachment .thumbnail {
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
    transition: opacity .1s;
}
.attachments li.attachment .thumbnail .centered {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: translate(50%,50%);
    transform: translate(50%,50%);
}
.attachments li.attachment .thumbnail .centered img {
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    position: absolute;
    top: 0;
    left: 0;
    max-height: 100%;
    border: none;
    margin: 0 auto;
    overflow: hidden;
}
.attachments li.attachment .filename {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    max-height: 100%;
    word-wrap: break-word;
    text-align: center;
    font-weight: 600;
    background: rgba(255,255,255,.8);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.attachments li.attachment .filename div {
    padding: 5px 10px;
}
.attachments li.attachment .thumbnail::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
    overflow: hidden;
}
.attachments li.attachment button{
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: none;
}
.attachments li.attachment:hover button{
    display: block;
}
.transparent-image img
{
    filter: alpha(opacity=30);
    -ms-filter: "alpha(opacity=30)";
    opacity: 0.3;
}
.transparent-image .active img
{
    filter: alpha(opacity=100);
    -ms-filter: "alpha(opacity=100)";
    opacity: 1;
}
.transparent-image li:hover img
{
    /* filter: alpha(opacity=60);
    -ms-filter: "alpha(opacity=60)";
    opacity: 0.6; */
}
.transparent-image .image-checked
{
    position: absolute;
    left: 8px;
    bottom: 8px;
    width: 24px;
    height: 24px;
    text-align: center;
    color: #fff;
    background: #0d6fac;
    font-size: 16px;
    filter: alpha(opacity=80);
    -ms-filter: "alpha(opacity=80)";
    opacity: 0.8;
}

.attachments .attachment .image-checked {
    position: absolute;
    left: 15px;
    bottom: 15px;
    width: 24px;
    height: 24px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    filter: alpha(opacity=80);
    -ms-filter: "alpha(opacity=80)";
    opacity: 0.8;
}
/*============================================================*/
/*============ end định dạng hiển thị danh sách file =========*/
/*============================================================*/
.hidden
{
    display: none !important;
}
.unhidden
{
    display: inline-block !important;
}
.row{
    margin-right: -10px;
    margin-left: -10px;
}
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .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-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto
{
    padding-left: 10px;
    padding-right: 10px;
}
#main-table .group-header
{
    padding: 15px 10px 0px 10px;
}
#main-container .content-inner, #main-table .content-inner
{
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
}
/*============================================================*/
/*============= Định dạng cho dòng và cột dạng table =========*/
/*============================================================*/
.fl-table
{
    display: table;
    width: 100%;
}
.fl-row{
    display: table-row;
}
.fl-cell{
    display: table-cell;
    padding: 2px 10px;
}
.fl-table .fl-cell.cell-block
{
    display: block;
}
.fl-table.error
{
    border: 1px solid #ff0000;
}
.PopupMaterial{
    text-decoration: underline;
    color:#0d6fac;
}
.PopupMaterial:hover{
    cursor: pointer;
}
.error-parent:first-child{
    border: 1px solid #ff0000;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}
/*============================================================*/
/*================= Định dạng cho autocomplete ===============*/
/*============================================================*/
.wrap-autocomplete
{
    position: relative;
    z-index: 2300;
    width: 100%;
}
.wrap-autocomplete input
{
    margin-bottom: 0px !important;
}
.wrap-autocomplete>div
{
    max-height: 35% !important;
    background: #fff !important;
    box-shadow: unset !important;
    padding: 10px;
    border: 1px solid #ccc;
    /* left: 0px !important; */
}
.wrap-autocomplete>div div{
    padding: 5px 10px;
    text-align: left;
}
.wrap-autocomplete>.autocomplete-menu
{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    background: #fff !important;
    border: 1px solid #ccc;
    display: block;
    width: 100%;
    border-radius: 3px 3px 0px 0px;
    max-height: 300px !important;
    padding: 0px !important;
    overflow: auto;
}
.wrap-autocomplete-no-data .autocomplete-menu, .wrap-autocomplete-no-data>div
{
    display: none !important;
}
.fl-autocomplete-table
{
    z-index: 999 !important;
}
[type="checkbox"].filled-in:not(:checked) + .chkbox-gray-border::after {
  border: 1px solid #ced4da!important;
}
div#main-container div.fl-btn-group.fl-btn-group-sub
{
    bottom: -46px;
}
.img-thumbnail-160{
    height: 160px;
}
.img-thumbnail-100{
    height: 100px;
}
.img-thumbnail-110{
    height: 110px;
}
.img-thumbnail{
    max-height: 100px;
}
.divider-col::after{
    position: absolute;
    content: "";
    right: 0;
    top: 0;
    border-right: 1px solid #ccc;
    width: 1px;
    height: 100%;
}
#main-table .fl-btn-group
{
    z-index: 10;
}
.mask-disabled
{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2300;
    display: block;
}
.form-control.error
{
    border: 1px solid #ff0000;
}
.custom-fl-table .ReactVirtualized__Table .ReactVirtualized__Table__headerColumn.headerColumn
{
    width: 100% !important;
}
.unset-position-btn-table .fl-btn-group
{
    position: unset !important;
    height: 36px !important;
}
.autocomplete-error input.form-control
{
    border: 1px solid #ff0000;
}
/*============================================================*/
/*================= Định dạng cho slideshow ===============*/
/*============================================================*/
.fl-slideshow
{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 999999999;
}
.fl-slideshow-backdrop{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3000;
    background-color: #000;
    opacity: .5;
}
.fl-slideshow-content
{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3100;
}
.fl-slideshow .close-slideshow
{
    position: absolute;
    width: 40px;
    height: 40px;
    display: block;
    right: 40px;
    top: 50px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NTVGRDFCMUFEMjI3MTFFNThGODRBRTI1NjMxQzBBMzgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NTVGRDFCMUJEMjI3MTFFNThGODRBRTI1NjMxQzBBMzgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NjI0RkQyOUQxQ0QxMUU1OEY4NEFFMjU2MzFDMEEzOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NjI0RkQyQUQxQ0QxMUU1OEY4NEFFMjU2MzFDMEEzOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvsOQTAAAACZSURBVHjajJNbDYAwDEULCiYBCUhBAjiYFByAAyQgAaTgoLQ8wjL62E3OT+m5HzSrELEFgI4YiQP8BCISO5C84p2NCAQYhGePs/Kgxy9WQSpy+veDV/ATeZ4uaAWimMtSQaOJkpwXoCZqMhMzMUp7JX9VvYInTlaBew7rjJ5onrFEVAt4uBSIUsFSJ69lIGbnRc3P3pVTgAEA8wacfrQvpsEAAAAASUVORK5CYII=);
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 100%;
    border: 1px solid #fff;
    z-index: 8000;
    cursor: pointer;
    text-indent: -9000px;
}
.UploadLogo .custom-file-label{
    overflow: hidden;
}
.custom-file input[type="file"]
{
    display: none;
}
.custom-file-label
{
    position: relative;
    width: 100%;
    height: 31px !important;
}
.custom-file-label::after{
    cursor: pointer;
    height: 31px !important;
    top: -2px !important;
}
p.error{
    color: #ff0000;
}
/* set background color input upload  */
.UploadLogo input:disabled + .custom-file-label{
    background-color: #f0f0f0;

}
.custom-file{
    height: auto;
    margin-bottom: 0.5rem;
}
.custom-file input[type="file"]{
    height: inherit;
    width: inherit;
}

/*============================================================*/
/*================= Fix size modal ===============*/
/*============================================================*/

#fix-modal-36_2 .modal-dialog {
    max-width: 90%;
}

#fix-modal-30 .modal-dialog {
    max-width: 65%;
}
/*============================================================*/
/*================= Fix size button ===============*/
/*============================================================*/
.size-button{
    font-size: 0.75rem !important; 
}
.left-container, .right-container
{
    height: 100%;
    float: left;
}
.left-container
{
    border-right: 1px solid #ddd
}
hr.styleModal {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}
[type="checkbox"].filled-in:disabled:not(:checked) + label:after
 {
    background-color: #e9ecef !important;
}
.no-boxshadow {
    box-shadow: none!important;
}
[type="checkbox"].filled-in:checked.chk-patient + label:after {
    border: 2px solid #FFC107;
    background-color: #FFC107; }
/*============================================================*/
/*==================== Tiếp nhận bệnh nhân ===================*/
/*============================================================*/
.receiving-patient .fixed-right-col
{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 40px;
    padding-top: 15px;
}
.receiving-patient fieldset
{
    padding-bottom: 0px;
}
#main-container div.receiving-patient div.content-inner
{
    overflow: hidden;
}
.receiving-patient .total-money
{
    position: relative;
    padding-bottom: 5px;
}
.border-gray{
    border-color: #ced4da;
}
    

/*============================================================*/
/*================= overflow hidden ===============*/
/*============================================================*/
.overflow-x{
    overflow-x: hidden !important;
}

.border-l-r{
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.btn-fhm300 .btn-group-center.align-center{
    right:9px;
}
.clearfix{
    display: block;
    content: "";
    clear: both;
}

/*============================================================*/
/*=============== Bán thuốc lam.nguyen ==================*/
/*============================================================*/
.width-input{
    width: 40px;
}
.bg-morning{
    background-color: #eaecc6!important;
}
.bg-noon{
    background-color: #b9eba5!important;
}
.bg-afternoon{
    background-color: #7beb83!important;
}
.bg-night{
    background-color: #e8cd8d!important;
}
.m-r-5-important{
    margin-right: 5px!important;
}
/* .unhidden-overflow .headerColumn span, div[role=gridcell] span {
    overflow: unset !important;
}
.unhidden-overflow .ReactVirtualized__Table__rowColumn{
    overflow: unset !important;
}
.unhidden-overflow .ReactVirtualized__Table__row{
    overflow: unset !important;
}
.unhidden-overflow .ReactVirtualized__Grid__innerScrollContainer{
    overflow: unset !important;
} */
.color-red-not-inventory-quantity{
    color: red;
}
.patient-autocomplete-tr.color-red-not-inventory-quantity:hover{
    color: red;
}
.money-bold{
    font-size: 20px;
    font-weight: 600;
    padding: 0px;
    padding-left: 5px;
    padding-right: 5px;
}

.group-guide .square-guide{
    width: 20px;
    height: 20px;
}

.group-guide .text-guide{
    padding-right: 10px;
    padding-left: 10px;
}

.group-guide .no-header{
    visibility: hidden;
}
.input-group-type-two .text-guide{
    float: left;
}
.input-group-type-two .square-guide{
    float: left;
}
.not-sell-stock-bgcolor{
    background-color: red!important;
}
.is-scrap{
    background-color: rgba(247, 149, 57, 0.76)!important;
}
.input-group-text-material-sale{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: .375rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}
/*============================================================*/
/*=============== end Bán thuốc lam.nguyen ==================*/
/*============================================================*/

/*============================================================*/
/*================= Kho Minh.Pham ===============*/
/*============================================================*/
.out-of-stock-bgcolor{
   background-color: #FF99FF !important;
}
.compensated-bgcolor{
    background-color: gray !important;
 }
 .compensated1-bgcolor{
    background-color:#0d6fac !important;
 }
 .compensated2-bgcolor{
    background-color: #bbbbbb !important;
 }
 div.out-of-stock{
    margin:3px 1px 0px 10px;width: 15px; height: 15px; background-color: #FF99FF; color: red; border: '1px solid #000000'; float: left;
    margin-top: 3px;
}
 div.compensated{
    margin:3px 1px 0px 10px;width: 15px; height: 15px; background-color: gray; color: red; border: '1px solid #000000'; float: left;
}
div.compensated1{
    margin:3px 1px 0px 10px;width: 15px; height: 15px; background-color: #0d6fac; color: red; border: '1px solid #000000'; float: left;
}
div.compensated2{
    margin:3px 1px 0px 10px;width: 15px; height: 15px; background-color: #bbbbbb; color: red; border: '1px solid #000000'; float: left;
}
div.out-of-stock-title{
    float: left;
 }
div.compensated-title{
    float: left;
}
div.compensated1-title{
    float: left;
}
.btn-compensated{
    float: right;
}
.hidden{
  display: none;  
}
.btn-red-color, .btn-red-color:hover, .btn-red-color:focus {
    color: #fff;
    background-color: rgb(192, 67, 36);
    border-color: rgb(192, 67, 36);
    padding: .3rem .75rem;
}

#main-container.right-warehousing .content-inner {
    /* padding-top: 3px; */
    padding-bottom: 3px;
    padding-left: 5px;
    padding-right: 10px;
}
button.drug-icon
{
    background:#0d6fac url('../../images/thuoc.png') no-repeat center -4px;
    background-size: 25px 26px;
    padding: 4px 14px !important;
}
/*============================================================*/
/*================= end Kho Minh.Pham===============*/
/*============================================================*/
.wrap-drug-tbl{
    width: 100%;
    overflow:auto;
}
.wrap-drug-tbl-inner{
    min-width: 1500px;   
}
.z-index-nine{
    z-index: 9 !important;
}
@media(min-width: 1272px) {
    .col-2-fhm00050{
    -webkit-box-flex: 0;
    flex: 0 0 11.666667%;
    max-width: 11.666667%;
    }
}
@media(min-width: 992px) {
    .col-md-2-fhm00050{
        -webkit-box-flex: 0;
        -ms-flex: 0 0 14.666667%;
        flex: 0 0 14.666667%;
        max-width: 14.666667%;
    }
    .col-custum-patientinfo{
        -webkit-box-flex: 0;
        -ms-flex: 0 0 12.4%;
        flex: 0 0 12.4%;
        max-width: 12.4%;
    }

    .col-webcame-patientinfo{
        -webkit-box-flex: 0;
        -ms-flex: 0 0 13.5%;
        flex: 0 0 13.5%;
        max-width: 13.5%;
    }
}

.fs-inherit {
    font-size: inherit;
}
.fs-2-5rem{
    font-size: 2.5rem !important;
}

/*============================================================*/
/*================= webcam PatientInfo===============*/
/*============================================================*/
.PatientInfo .col-webcame-patientinfo{
    left: 2%;
}

.PatientInfo .col-webcame-patientinfo .webCam{
    width: 73%;
}

.PatientInfo .col-webcame-patientinfo .read-me{
    bottom: 0;
    left: 24%;
}

/*============================================================*/
/*=========================== width 20% ======================*/
/*============================================================*/
.w-20{
    width:20% !important;
}

/*============================================================*/
/*================= fl-tab-detail ===============*/
/*============================================================*/
.fl-tab-detail{
    border: 1px solid;
    border-radius: 4px;
    border-color: #0d6fac;
}

.fl-tab-detail.item-height .w-20.text-center{
    border-left: 1px solid #0d6fac !important;
    border-right: 1px solid #0d6fac !important;
}

.fl-tab-detail li a{
}

.fl-tab-detail li a.active{
    border:none;
    background: transparent;
    color:#fff;
    background-color: #0d6fac;
    top: 0px;
    border-radius: 0px;
}
.input-group-text-small-padding {
    padding: .275rem .75rem;
}
/*============================================================*/
/*================= MaterialBudgetReturn ===============*/
/*============================================================*/
.input-group-text-material-return{
    padding: 4px;
    padding-left: 8px;
    padding-right: 8px;
}
/*============================================================*/
/*================= Analysis49_4 date-analysis ===============*/
/*============================================================*/

.row .date-analysis{
    max-height: 120px;
    overflow-y: scroll;
}

#modal-popup-compare .modal-dialog{
    max-width: 78%;
}

.position-absolute.w-25.image-popupcompare{
    bottom: 1%;
    right: 10.5%;
    border: 2px solid #4645448f;
    border-radius: 10px;
}

.position-absolute.button-zoom-popupcompare{
    right: 3%;
    bottom: 1%;
}

::-webkit-contacts-auto-fill-button, ::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
    top:-100
}
.overflow-auto {
    overflow: auto !important;
}
.overflow-hidden {
    overflow: hidden !important;
}


/*============================================================*/
/*======= Định đạng lại danh sách lần khám form FHM00049 ======*/
/*============================================================*/

.position-fixed.fixed-tab-examine_result{
    z-index: 1500;
    top: 38.5%;
    right: 3.2%;
    display: none;
}

.position-fixed.fixed-tab-examine_result .list-history-sick{
    background-color: #0d6fac;
}

.position-fixed.fixed-tab-examine_result .p-2.li-one .history-sick{
    color: white;
}

.position-fixed.fixed-tab-examine_result .p-2.li-one .history-sick label{
    color: white;
}

.position-fixed.fixed-tab-examine_result .list_times_patient i.fa.fa-list-ul{
    font-size: 2rem;
    opacity: 0.4;
    color:#0d181b;
    cursor: pointer;
    transition: 0.7s;
}

.position-fixed.fixed-tab-examine_result .list_times_patient i.fa.fa-list-ul:hover{
    opacity: 1;
}

.position-fixed.fixed-tab-examine_result ul li:hover,
.list-group-item .ul-child label:hover
{
    opacity: 1;
    cursor: pointer;
}

.position-fixed.fixed-tab-examine_result i{
    font-size: 1rem;
}

.position-fixed.fixed-tab-examine_result ul li{
    list-style: none;
}

/*============================================================*/
/*================= Định đạng lại tooltip ====================*/
/*============================================================*/
.fl-tooltip
{
    padding: 10px;
    /* background: #f7f7f7;
    opacity: 1 !important;
    color: #333;
    border: 1px solid #ccc;
    box-shadow: 0px 1px 3px #999; */
}
.fl-tooltip p
{
    margin-bottom: 0px !important;
    padding: 5px 0px;
}
/* .fl-tooltip::after {
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    right: -6px;
    top: 50%;
    margin-top: -4px;
    border-left-color: #f7f7f7;
    border-left-style: solid;
    border-left-width: 6px;
    content: "";
    width: 0;
    height: 0;
    position: absolute;
} */


/*============================================================*/
/*================= report ====================*/
/*============================================================*/
.align-left-important {
  text-align: left !important; 
}
.report-detail{
    display: block;
    margin-left: 2px;
    margin-right: 2px;
    padding-top: 0.35em;
    padding-bottom: 0.625em;
    padding-left: 0.75em;
    padding-right: 0.75em;
    border: 1px solid #bfbaba;
    border-radius: 4px;
    height: 100%;
}
.report-detail legend{
    width: inherit;
    font-weight: bold;
    margin-left: 30px;
}
.report-file-list{
    height: 300px;
    overflow: auto;
}
.report-left-footer{
    position: absolute;
    bottom: 0px;
    text-align: center;
    width:100%;     
    border-top: 1px solid #ddd;
    height: 46px;
    padding-top: 0.5em;
}
.report-left-footer>div>button{
    margin: 0 0.2em;
}
.report-file-link{
    padding-left: 10px;
    text-decoration: none; 
    width:100%;
}
.report-file-link:hover{
    text-decoration: none; 
}



.red{
    color: red
}
.italic{
    font-style: italic
}
.rad-group>.custom-control{
    padding-left: 0px;
}

/*============================================================*/
/*================= FHM00097 ===============*/
/*============================================================*/
.width-content-left{
    width: 45%;
}
.width-content-right{
    margin-left: 45%!important;
}
.popup-copy-material .modal-dialog{
    max-width: 700px;
}
.select2-container--open{
    z-index: 3001;
}
/*============================================================*/
/*================= end FHM00097 ===============*/
/*============================================================*/

/*============================================================*/
/*================= MaterialBudget ===============*/
/*============================================================*/
.customize-date label{
    margin-bottom: .5rem;
}
/*============================================================*/
/*================= end MaterialBudget ===============*/
/*============================================================*/

/*============================================================*/
/*================= MaterialBudgetReturn ===============*/
/*============================================================*/

/* @media(max-width: 768px) {
    .fl-table-mobile-material-budget-return{
        margin-top: 10px;
    }
    .fl-table-mobile-material-budget-return .fl-table{
        display: block
    }
    .fl-table-mobile-material-budget-return .fl-row{
        display: inline-block;
        width: 100%!important;
    }
    .fl-table-mobile-material-budget-return .fl-cell{
        display: inline-block;
        width: 100%!important;
        padding: 0px;
    }
    .fl-table-mobile-material-budget-return .fl-cell-date-mobile{
        margin-bottom: 5px;
    }
    .fl-table-mobile-material-budget-return .group-guide .no-header{
        display: none;
    }
    .fl-table-mobile-material-budget-return .control-mobile{
        margin-top: 10px;
    }
} */
.table-warehousing .wrap-fl-autocomplete{
    padding-left: 5px;
    padding-right: 5px;
}
/*============================================================*/
/*================= end MaterialBudgetReturn ===============*/
/*============================================================*/

.react-datepicker-popper{z-index: 3000!important} 
.fldatepicker .react-datepicker-wrapper,.fldatepicker .react-datepicker__input-container{width: 100%;padding: 0px}
.fldatepicker .react-datepicker__input-container input{
    border: 0px;
    padding-bottom: 0px;width: 100%;
}
.bg-disabled,
.bg-disabled .form-control,
.bg-disabled .form-control input{
    background-color: #e9ecef;
}
/*============================================================*/
/*======================= modal printf ======================*/
/*============================================================*/
.modal-dialog.modal-printf{
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0px !important;
}

.modal-dialog.modal-printf .modal-content{
    height: 100% !important; 
    border: none;
}
/*================= set RCheckbox Table ===============*/
/*============================================================*/
.rcheckbox-servicemap{
    text-align: center;
    position: absolute !important;
    top: 15% !important;
    left: 6% !important;
}
.date-list
{
    margin: 0;
    padding: 0;
    position: absolute;
    left: 10px;
    right: 0px;
    top: 2px;
    bottom: 2px;
    overflow: auto;
    border: 1px solid #ddd;
}
.date-list li
{
    list-style: none;
    float: left;
    margin: 5px 10px;
}
.result-ng{
    font-weight: bold; text-align: right;width: 100%;padding: 3px;
}
.result-g{
    text-align: left; width: 100%; padding: 3px;
}
/*================= Image zoon ===============*/
/*============================================================*/
.crop-mini-img {
    backface-visibility: hidden;
    transform: translate3d(0px, 0px, 0px);
    width: 160px;
    height: 120px;
    border-width: 1px;
    z-index: 505;
    cursor: move;
    display: block;
    position: absolute;
    bottom: 0px;
    right: 0px;
}
.crop-mini-img img{
    width: 160px;
    height: 120px;
    user-select: none;
    cursor: crosshair;
    margin: 0px;
    padding: 0px;
    border: none;
    max-width: none;
    max-height: none;
}
.crop-mini-img .magnifying{
   border: #2379b5 solid 2px;
    background: transparent;
    left: 25px; top: 26px; cursor: pointer; position: absolute; opacity: 1;
    display: none;
}
.modal-fullpage .modal-dialog {
    margin: 0px !important;
    padding: 0px;
}
.modal-fullpage div {
    border-radius: 0px;
}
.modal-fullpage .modal-body {
    padding-top: 0px;
}
.crop-container div div{
     display:none; 
}
#crop-container_main button{
    position: absolute;  
}
#crop-container_main button.plus{
    position: absolute;
    bottom: 175px;
    right: 0px;
}
#crop-container_main button.minus{
    position: absolute;
    bottom: 125px;
    right: 0px;
    
}
/*=================End Image zoon ===============*/


/*=================FLTagsAutocomplete ===============*/
/*============================================================*/
.fl-tags-autocomplete{
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    cursor: text;
    min-height: 62px;
}
.fl-tags-autocomplete input{
    border: none;
}

.fl-autocomplete-error .fl-tags-autocomplete,
.fl-error > input,
.fl-error .form-control {
    border: 1px solid #ff0000 !important;
}

.div-result-list{
    width: 100%;
    white-space: normal;
    word-wrap: normal;
    padding: 0px 3px;
    /* text-overflow: clip !important; */
}
.div-result-list span{
    white-space: normal;
    word-wrap: normal;
    /* text-overflow: clip !important; */
    overflow: hidden;
    word-break: break-word;
}

.div-result-list .btn-delete{
    background: #ccc;
    margin: 0px !important;
    padding: 2px !important;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    font-size: 0.7em;
    line-height: 15px;
}

/*===========================================*/
/*================= FHM00050 ===============*/
/*===========================================*/
.fhm00050-vi-tri .select2-container{
    width: 103px !important;
}
/*=================kết quả cận lâm sàng- FHM00078 ===============*/
/*============================================================*/
#div-show-pdf-parent{
    padding: 3px;
}
#div-show-pdf{
    overflow: auto;
    border: 1px solid #ccc;
}
.x-quang-result-table{
    border-collapse: collapse;
    width: 100%;
}
.x-quang-result-table tr th{
    background-color: #dddddd;
    border: 1px solid #000;
    padding: 2px 5px;
    vertical-align: top;
}
.x-quang-result-table tr td {
    border: 1px solid #000;
    padding: 2px 5px;
    vertical-align: top;
  
}
.x-quang-result-table tr{
    
}
.x-quang-result-table tr td:nth-child(0){
    width: 25%;
}
.x-quang-result-table tr td:nth-child(1){
    width: 35%;
}
.x-quang-result-table tr td:nth-child(2){
    width: 40%;
}
.fl-tags-disabled{
     background: #e9ecef; 
}
.min-height-50{
    min-height: 50px;
}
/*============================================*/
/*================= FHM000175 ================*/
/*============================================*/
#main-container .content.content-system-code{
    bottom: 82px;
}
.DragHandle{
	cursor: move !important;
}
.DragHandle .ui-sortable-helper
{
	background: #fcf8e3 !important;
}
.DragHandle .ui-sortable-helper
{
	border: none !important;
}
.DragHandle .ui-sortable-placeholder
{
	height: 60px;
	background: green !important;
}
.drug-plan-calendar
{
    width: 100%;
    border-collapse: collapse;
}
.drug-plan-calendar tr th, .drug-plan-calendar tr td
{
    border: 1px solid #ccc;
    padding: 2px 5px;
}

/*========================================================*/
/*========== FHM00052 - Nhập kết quả khảo sát ============*/
/*========================================================*/
.survey-result-list .survey-list{
    list-style: none;
    padding-left: 5px;
}
.survey-result-list .survey-list .survey-item{
    padding-bottom: 10px;
    position: relative;
    padding-right: 20px;
}
.general-survey-background{
    background-color: #a7c0d1;
}
.general-survey-color{
    color: #2379b5;
}
.disease-survey-color{
    color:darkgreen;
}
.disease-survey-background{
    background-color:darkgreen;
}
.cancel-background{
    background-color: #969696!important;
}
.guide-block {
    position: relative;
    padding-left: 25px;
    display: inline-block;
}
.guide-block-general-blue::before,
.guide-block-patient-register-red::before,
.guide-block-patient-register-blue::before,
.guide-block-general-survey::before,
.guide-block-survey::before,
.guide-block-refund::before,
.guide-block-cancel::before,
.guide-block-amber::before,
.guide-block-morning::before,
.guide-block-noon::before,
.guide-block-afternoon::before,
.guide-block-night::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    
}

.guide-block-general-blue::before {
    background-color: #c9fcfd;
}

.guide-block-patient-register-red::before {
    background-color: #468847;
}

.guide-block-patient-register-blue::before {
    background-color: 	#3788d8;
    /* background-color: 	#2379b5; */
}

.guide-block-general-survey::before {
    background-color: #2379b5;
}
.guide-block-survey::before {
    background-color: darkgreen;
}
.guide-block-refund::before {
    background-color: #ff9966;
}
.guide-block-cancel::before {
    background-color: #969696;
}
.guide-block-amber::before {
    background-color: #FFC107;
}

.guide-block-morning::before{background-color: #eaecc6;}
.guide-block-noon::before{background-color: #b9eba5;}
.guide-block-afternoon::before{background-color: #7beb83;}
.guide-block-night::before{background-color: #e8cd8d;}
.general-survey-background.highlight,
.general-survey-background:hover,
.disease-survey-color.highlight,
.disease-survey-color:hover,
.cancel-background.highlight,
.cancel-background:hover
{
	background: #e3f4fc !important;
}

.custom-chk-right{
    position: relative;
}
.custom-chk-right [type="checkbox"].filled-in:not(:checked) + label,
.custom-chk-right [type="checkbox"].filled-in:checked.chk-col-blue + label{
    padding-left: 0px;
    padding-right: 50px;
}
.custom-chk-right [type="checkbox"].filled-in:not(:checked) + label:before{
    left: unset;
    right: 26px;
}
.custom-chk-right [type="checkbox"].filled-in:checked.chk-col-blue + label:before
{
    left: unset;
    right: 36px;
}

.custom-chk-right [type="checkbox"].filled-in:not(:checked) + .chkbox-gray-border:after,
.custom-chk-right [type="checkbox"].filled-in:checked.chk-col-blue + .chkbox-gray-border:after {
    left: unset;
    right: 26px;
}
.row-group
{
    justify-content: center;
    display: flex;
    align-items: center;
    overflow: auto;
    height: 100%;
    width: 100%;
    justify-content: left;
}
.txt-more
{
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
}
.group-disabled button
{
    opacity: 0.65;
}
.answer-item {
    position: relative;
    list-style: none;

}
.answer-item:before {
        font-family: FontAwesome;
        content: "\f192";
        position: absolute;
        top: 0px;
        left: -25px;
        font-size: inherit;
    }

/* dinh dang cho fhm000182 */

.textpadding {
    padding-left: 20px
}
.answer-toggle:hover{
    text-decoration: none;
}
.answer-toggle:after {
    /* symbol for "opening" panels */
    font-family: FontAwesome;
    content: "\f078";    /* adjust as needed, taken from bootstrap.css */
    color: grey;         /* adjust as needed */
    position: absolute;
    top: 0;
    right: -3px;
}
.answer-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\f077";    /* adjust as needed, taken from bootstrap.css */
}
.input-btn-group {
    padding-bottom: .25rem!important;
}

.input-btn-group .btn {
        padding: 5px 9px !important;
}
.input-group.seperate-input .form-control{
    margin-right: 3px;
}
.input-group.seperate-input .form-control,
.input-group.seperate-input .btn{
    border-radius: .25rem!important;
}
body #showPrint{
    z-index: 99999999 !important;
}
.border-department-menu {
    border: 1px solid #0d6fac;
}
.department-arrow {
    background: #0d6fac linear-gradient(#0d6fac,#0d6fac);
    border: 1px solid #0d6fac;
    color: #fff;
    border-radius: 0;
}
.department-arrow:focus, .department-arrow:hover{
    text-decoration: none;
    background: transparent none;
    color: #0d6fac;
}
.rc-tabs.rc-tabs-top {
    border: 1px solid #ddd;
}
.rc-tabs.rc-tabs-top .rc-tabs-bar{
    border-bottom: 1px solid #ddd;
}
.rc-tabs-tab-prev-icon::before {
    font-family:fontAwesome;
    content: "\f053"!important;
}
.rc-tabs-tab-next-icon::before {
    font-family:fontAwesome;
    content: "\f054"!important;
}
.rc-tabs-nav-animated {
    transition: transform .5s cubic-bezier(.35,0,.0.5,1)!important;
}
.examine-tabpane {
    overflow-x: hidden!important;
}
.border-col {
    position: relative;
}
.border-col::after {
    position: absolute;
    content: "";
    right: 0;
    top: 0;
    bottom: 0;
    border-left: 1px solid #ddd;
}
.rc-tree li .rc-tree-node-content-wrapper{
    height: auto!important;
}

/* fix checkbox */
.custom_check {
    width: 18px;
    height: 18px;
    position: inherit !important;
    opacity: 1 !important;
    border: 1px solid #ced4da!important;
}
.custom_check:checked {
    width: 18px;
    height: 18px;
    position: inherit !important;
    opacity: 1 !important;
    color: #fff;
    background: #0d6fac;
}
.filter-image-color-next{
    background: url('/assets/images/light.png') no-repeat center;
    background-size: 80%;
    position: absolute;
    width: 40px;
    height: 40px;
    top: 90px;
    right: 30px;
    cursor: pointer;
    z-index: 9;
    border: 1px solid #FFF;
    border-radius: 50%;
}

/* .filter-image-color-prev{
    background: url('/assets/images/gray.png') no-repeat center;
    background-size: 80%;
    position: absolute;
    width: 40px;
    height: 40px;
    top: 140px;
    right: 30px;
    cursor: pointer;
    z-index: 9;
    border: 1px solid #aaaaaa;
    border-radius: 50%;
} */


/* .contrast-next{
    background: url('/assets/images/contrast_increase_up.png') no-repeat center;
    background-size: 100%; 
    position: absolute;
    width: 40px;
    height: 40px;
    top: 200px;
    right: 30px;
    cursor: pointer;
    z-index: 9;
} */

.contrast-setting{
    background: url('/assets/images/contrast-icon.png') no-repeat center;
    background-size: 100%; 
    position: absolute;
    width: 40px;
    height: 40px;
    top: 150px;
    right: 30px;
    cursor: pointer;
    z-index: 9;
}

/* .contrast-prev{
    background: url('/assets/images/contrast_decrease_down.png') no-repeat center;
    background-size: 100%; 
    position: absolute;
    width: 40px;
    height: 40px;
    top: 250px;
    right: 30px;
    cursor: pointer;
    z-index: 9;
} */
.full-screen .modal-dialog .modal-content {
    height: 100%;
}
.full-screen .modal-dialog .modal-content .modal-dialog{
    height: 100%;
}
.full-screen .modal-dialog{
    height: 100%;
    margin: 0 !important;
    box-sizing: border-box;
    padding-top: 30px;
}
.rg-gallery .rg-image{
    overflow: auto;
}
/*
Long fix man hinh hsba
*/
.hsba-main .fl-cell-600{
    width: 30%;
}
.hsba-main .fl-m-l-600{
    width: 60%;
    margin-left: 30% !important;
}
.hsba-main .fl-shsa-padding15{
    padding: 0 15px 0 15px;
}

.hsba-main .fl-shsa-padding15 .col-3{
    flex: 0 0 20%;
    max-width: 20%;
}

.hsba-main .horizontal-menu .scroll-menu-arrow .department-arrow{
    height: 45px;
    line-height: 45px;
    padding: 0 0.5rem !important;
}
.hsba-main  .d-flex .col-6 .btn-main-color{
    margin: 5px 0;
}
.hsba-main .rc-tabs{
    margin-top: 0 !important;
    border-top: 0 !important;
}

.modal.show.full-screen .modal-dialog{
    width: 100%;
    height: 100%;
    margin-bottom: 0 !important;
    max-width: 100% !important;
}
.modal.show.full-screen .modal-dialog .modal-content{
    height: 100%;
    border-radius: 0px;
    border: none;
}
.p-5 {
    padding: 5px;
}
.center-text {
    text-align: center
}
.table-tooltip-1{
    width: 100%;
    border: 1px solid;
}
.table-tooltip-1 td {
    padding: 2px;
}
.tab-noborder{
    border: none !important;
}

.icon-bar {
    min-width: 90px;
    background-color:white;
    margin-left: 20px;
    border-left: 1px solid #ccc;
  }
  
  .icon-bar .bar-item {
    display: block;
    text-align: center;
    padding: 5px;
    transition: all 0.3s ease;
    color: #505f79;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    min-height: 78px;
  }
  
  .icon-bar .bar-item:hover {
    background-color: #0d6fac;
    color: white;
  }
  .border-full-gray {
      border: 1px solid #ccc;
  }
  .sm-label{
      font-size: 0.75rem!important;
  }
  .grow-flex-1 {
    -ms-flex-positive: 1!important;
    flex-grow: 1!important;
  }

  .regis-information {
    position: absolute; 
    bottom: -5px;
    z-index: 10; 
    width: 50%;
    left: 15px; 
  }

  .patient-popup{
    min-height: 430px !important;
    }

  @media all and (max-width: 450px) {
      .regis-information {
        font-size: 10pt;
        width: 300px;
      }

      .guide-block .guide-block-patient-register-red {
        height: 15px;
      }

      .guide-block .guide-block-patient-register-blue {
        height: 15px;
      }
  }

  /*** iPhone and iOS Form Input Zoom Fixes ***/
/* Fix Input Zoom on devices older than iPhone 5: */
@media screen and (device-aspect-ratio: 2/3) {
    select, textarea, input[type="text"], input[type="password"],
    input[type="datetime"], input[type="datetime-local"],
    input[type="date"], input[type="month"], input[type="time"],
    input[type="week"], input[type="number"], input[type="email"],
    input[type="url"]{ font-size: 16px; }
}
/* Fix Input Zoom on iPhone 5, 5C, 5S, iPod Touch 5g */
@media screen and (device-aspect-ratio: 40/71) {
    select, textarea, input[type="text"], input[type="password"],
    input[type="datetime"], input[type="datetime-local"],
    input[type="date"], input[type="month"], input[type="time"],
    input[type="week"], input[type="number"], input[type="email"],
    input[type="url"]{ font-size: 16px; }
}
/* Fix Input Zoom on iPhone 6, iPhone 6s, iPhone 7  */
@media screen and (device-aspect-ratio: 375/667) {
    select, textarea, input[type="text"], input[type="password"],
    input[type="datetime"], input[type="datetime-local"],
    input[type="date"], input[type="month"], input[type="time"],
    input[type="week"], input[type="number"], input[type="email"], 
    input[type="tel"], input[type="url"]{ font-size: 16px; }
}
/* Fix Input Zoom on iPhone 6 Plus, iPhone 6s Plus, iPhone 7 Plus, iPhone 8, iPhone X, XS, XS Max  */
@media screen and (device-aspect-ratio: 9/16) {
    select, textarea, input[type="text"], input[type="password"],
    input[type="datetime"], input[type="datetime-local"],
    input[type="date"], input[type="month"], input[type="time"],
    input[type="week"], input[type="number"], input[type="email"],
    input[type="tel"], input[type="url"]{ font-size: 16px; }
}

.fc-body .fc-scroller {
    height: 65vh !important;
}

.fc-bgevent {
    background-color:#edd98b !important;
}

.register-patient {
    display: none;
}

.register-info-date {
    width: 50%;
}

@media all and (max-width: 800px) {
    .register-patient {
        display: block;
    }

    .register-info-date {
        width: 100%;
    }

    .patient-popup{
        min-height: 1390px !important;
    }
}

.popup-receive .fc-body .fc-scroller  {
    height: 51vh !important;
}

.loader {
    position: absolute;
    top: calc(50% - 4em);
    left: calc(50% - 4em);
    width: 6em;
    height: 6em;
    border: 1.1em solid rgba(0, 0, 0, 0.2);
    border-left: 1.1em solid #0c63ef;
    border-radius: 50%;
    z-index: 999;
    animation: load8 1.1s infinite linear;
    transition: opacity 0.3s;
  }
  
  .loader--hide {
    opacity: 0;
  }
  
  @keyframes load8 {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  