:root {
    --vz-vertical-menu-width-sm: 0px;
    --div-foto-height: 420px;
}
.login_logo{
    font-size: 42px;
    font-weight: bold;
    color: #101010;
}
.login_slogan{ 
    color: #1a1919; 
    font-size: 25px;
}
.div_konten{
    display: none;
}
.div_konten.show{
    display: block;
}
.konten_atas{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: stretch;
    gap: 15px; 
    flex-wrap: nowrap;
    height: 50vh;
}
.item_konten_atas{
    width: 100%;
    max-height: calc(50vh - 62px);
}
.item_konten_atas.iherb{
    min-width: 45%;
}
.item_konten_atas .card,
.item_konten_atas .card-body{
    height: 100%;
}
.list_form{
    display: flex;
    flex-direction: row; 
    overflow-x: auto;
}
.list_form_item{
    width: 25%;
    min-width: 150px;
    border-right: 1px solid #ddd;
}
.list_form_item:last-child{ 
    border-right: none;
}
.lf_header{
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    gap: 5px;
    flex-direction: column;
} 
.act_linkitem,
.lf_action{
    display: flex;
    gap: 10px;
    align-items: center;
}
.act_linkitem input,
.lf_action input{ 
    padding: 3px 15px;
}
.act_linkitem i,
.lf_action i{
    cursor: pointer;
    font-size: 16px;
}
.lf_title{
    font-size: 13px;
    margin: 0;
}
.list_linkbg{
    margin-top: 10px;
}
.list_linkbg{
    min-height: 200px;
    max-height: 40vh;
    overflow-y: auto;
}
.lf_body{
    min-height: calc(50vh - 156px);
    max-height: calc(50vh - 156px);
    overflow-y: auto;
}
.list_linkbg .list_itemlink,
.lf_body .list_item{
    cursor: pointer;
    padding: 10px 15px;
    border-bottom: 1px solid #eeeeee;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.list_linkbg .list_itemlink:first-child{
    border-top: 1px solid #eeeeee;
}
.list_linkbg .list_itemlink:hover,
.lf_body .list_item:hover{
    background-color: #eeeeee;
}
.lf_body .list_item.selected{
    background-color: #e2f8eb;
    border-color: #bebebe; 
}
.lf_body .list_itemlink.active,
.lf_body .list_item.active{
    background-color: #8edfaf;
    border-color: #fff;
    font-weight: bold;
}
.list_itemlink .form-check,
.list_item .form-check{
    margin-bottom: 0; 
    min-height: unset;
}
.list_itemlink .act,
.list_item .act{
    display: flex;
    align-items: center;
    gap: 10px;
}
.list_itemlink .edit_item,
.list_itemlink .hapus_item,
.list_item .edit_item,
.list_item .hapus_item{
    font-size: 16px;
    cursor: pointer; 
}
.list_item_2 .list_item .act,
.list_item_3 .list_item .act,
.list_item_4 .list_item .act{
    display: none !important;
}
.div_foto{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer; 
}
.div_foto i:not(.remove_file){
    font-size: 110px;
    color: #ddd;
    border: 3px dashed #ddd;
    display: inline-flex;
    width: 90%;
    height: 90%;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
}
.div_foto:hover i:not(.remove_file){ 
    color: #72bce1;
    border: 3px dashed #72bce1; 
}
.div_foto img{
    max-width: 100%;
    max-height: 100%;
}
.cam-action a{
    cursor: pointer;
    font-size: 24px;
}
.div_herbinfo{
    height: 100%;
}
.div_herbinfo h6{
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}
.konten_herbinfo{
    display: block;
    overflow: auto;
    max-width: 100%;
    max-height: calc(100% - 26px);
}
.konten_herbinfo table tr td{
    vertical-align: top;
}
.seg_tabs{
    padding-bottom: 5px;
    justify-content: space-between;
    align-items: center;
}
.tab_menus{
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    margin-bottom: -6px;
}
.tab_menus .tab_item{
    background-color: #ffffff7a;
    color: #616161;
    padding: 10px 15px 13px;
    cursor: pointer;
    font-weight: 600;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px; 
}
.tab_menus .tab_item.active{
    background-color: #ffffff;
    color: #0e0e0e;
}
.table tr td, 
.table tr th{
    vertical-align: middle;
}
#back-to-top{
    bottom: 10px;
    right: 24px;
}
.td_action{
    text-align: center;
}
.td_action a.btn{
    padding: 0;
    font-size: 18px;
    display: inline-flex;
    flex-direction: column;
} 
.td_action a.btn i{ 
    line-height: 18px;
} 
.td_action a.btn span{ 
    font-size: 12px; 
} 
.select2-container--default .select2-search--inline .select2-search__field {  
    height: 23px;
}
/* .select2-container .select2-selection--multiple .select2-selection__choice { 
    color: #4c4b4b; 
} */
/* .select2-container--default.select2-container--focus .select2-selection--multiple { 
    display: flex;
} */
.select2-container .select2-selection--multiple .select2-selection__rendered { 
    margin-bottom: 0; 
    padding: 1px 0;
}
/* .select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple { 
    display: flex;
}
.select2-container .select2-selection--multiple{
    display: flex;
}  */
.select2-container--default .select2-results__option--selected,
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #5ea3cb;
    color: #fff;
}
.select2-container--default .select2-search--inline .select2-search__field:not(:focus):not([style="width: 0.75em;"]){
    height: 23px;
    width: 90% !important;
}
.select2-container--default .select2-search--inline .select2-search__field {
    padding-left: 7px;
}
.select2-container .select2-selection--multiple .select2-selection__choice { 
    margin-left: 10px;
}
.hstack{
    padding-top: 15px;
}
.navbar-header .btn-topbar{
    width: auto;
    min-width: 42px;
}
.navbar-header .btn-topbar span{
    margin-left: 5px;
}
.navbar-header .btn-topbar:not(.rounded-circle){
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 15px;
}
.div_konten.form_pasien.show{
    height: calc(100vh - 106px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.div_konten.form_pasien > .card{
    height: 50vh;
}
.row_selectfile{
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-evenly;
    align-items: center;  
} 
.row_selectfile > div{
    width: 100%;
} 
.div_button_file{
    display: flex;
    min-height: 120px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    border-radius: 10px;
    border: 1px dashed #ddd;
} 
.div_button_file i{
    font-size: 50px;
    color: #0e0e0e;
    line-height: normal;
} 
.div_button_file span{
    font-size: 18px;
    color: #0e0e0e;
} 
.div_button_file:hover i,
.div_button_file:hover span{ 
    color: #124a92;
} 
.remove_file{
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 25px;
    color: #ff00008f;
    cursor: pointer;
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 25px;
    background: rgb(209 195 195 / 50%);
    z-index: 1;
    border-radius: 5px;
}
.remove_file:hover{ 
    color: #ff0000; 
    background: rgba(209, 195, 195, 0.699);
} 
.tcol.ta{
    text-align: center;
}
.viewmode .list_item.active .hapus_item{
    visibility: hidden;
}
.auth-one-bg .bg-overlay{
    background: -webkit-gradient(linear, left top, right top, from(#FFC04C), to(#FFC04C));
    background: linear-gradient(to right, #FFC04C, #FFC04C); 
    opacity: .5;
}
.auth-one-bg {
    background-image: url('../images/chinese_text.jpg'); 
}
#mycamera{ width: 100%; justify-content: center; align-items: center; flex-direction: column; max-height: calc(100vh - 250px); overflow: hidden /* border: 1px solid #ddd; */ } #mycamera video{ width: 100% !important; max-height: calc(100vh - 250px); } .ferify_addfoto { display: flex; justify-content: center; } .ferify_addfoto img { max-height: 200px; cursor: pointer; } 
.list-container { 
    width: 100%;
}
.list-container h2 {
    margin-bottom: 15px;
    color: #333;
    font-size: 22px;
}
.list-item {
    background: #f0f0f0;
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.list-item:last-child{ 
    margin-bottom: 0; 
}
.list-item:hover {
    background: #5ea3cb;
    color: #fff;
    transform: translateX(5px);
}
.div_age.age .lbl_birthday,
.div_age.age #birthday{
    display: none !important;
}
.div_age:not(.age) .lbl_age,
.div_age:not(.age) #age{
    display: none !important;
}
.datepicker td, .datepicker th { 
    width: 30px;
    height: 30px; 
}
.datepicker.datepicker-dropdown{
    padding-left: 10px;
    padding-right: 10px;
}
.div_alergi{
    text-align: center;
    padding: 5px 15px 0;
    line-height: normal;
    font-size: 13px;
    position: absolute;
    bottom: 15px;
    width: 100%;
    left: 0;
}
.auth_bg{
    display: flex; 
    flex-direction: column;
    width: calc(100% - 0.25rem);
    min-height: 100%; 
    max-height: calc(100vh - 200px);
    border-radius: 5px;
    border: 1px solid #828385; 
    overflow-y: auto;
}
.auth_bg > div{
    width: 100%;
}
.auth_item{
    display: block;
    padding: 3px 15px;
    cursor: pointer; 
    border-bottom: 1px solid #efeded; 
    font-size: 13px; 
}
.auth_item:hover{
    background: #f8f8f8;
    font-weight: bold;
}
.auth_item.selected{
    background: #c3e3f7;
    font-weight: bold;
}
.auth_item:last-child{ 
    border-bottom: none;  
}
.hide_elm{
    display: none !important;
}
.master_menus{
    margin-bottom: -6px;
    flex-wrap: nowrap;
}
.menu_item{ 
    cursor: pointer;
    padding: 10px 15px 13px;  
    background-color: #ffffff7a;
    color: #616161;
    font-weight: 600;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    white-space: nowrap;
}
.menu_item:hover{
    color: #4b5d66;
    border-color: #bbcbcf;
}
.menu_item.active{
    background-color: #ffffff;
    color: #0e0e0e;
}
.masterbg{
    width: 100%;
    background: #fff;
    padding: 15px;
    max-width: 25%;  
    border-right: 1px solid #ddd;
}
/* .masterbg.mg_1{
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
} */
.masterbg.mg_4{ 
    border-right: none;
}
.masterbg.herbinfo{
    max-width: 100%;
    margin-top: 20px;
    border-right: none;
}
[tid="2"] .masterbg.herbinfo{
    max-width: 25%;
    margin-top: 0;
    border-left: 1px solid #ddd;
}
[tid="3"] .masterbg{
    max-width: 25%;  
}
[tid="3"] .masterbg.herbinfo{
    max-width: 50%;
    margin-top: 0;
    border-left: 1px solid #ddd;
}
[tid="4"] .masterbg{
    max-width: 40%;  
}
[tid="4"] .masterbg.herbinfo{
    max-width: 60%;
    margin-top: 0;
    border-left: 1px solid #ddd;
}
[tid="1"] .masterbg.herbinfo{
    border-left: none;
    border-right: none;
    border-radius: 5px;
}
/* @media(max-width: 444px){
    .masterbg{
        width: 100%;
        background: #fff;
        padding: 15px;
        max-width: 100%;
        border-radius: 5px;
    }
} */
.mtop{
    margin-bottom: 15px;
}
.mtitle{
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 16px;
}
.icon_savemasterlink,
.icon_addmaster{
    font-size: 36px;
    cursor: pointer;
    color: #7a7878;
}
.icon_addmaster:hover{ 
    color: #0389eb;
}
.mdata{
    min-height: 300px;
    max-height: calc(100vh - 278px);
    overflow-y: auto;
}
.herbinfo .mdata{ 
    max-height: calc(100vh - 224px); 
}
.mitem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    padding-left: 10px;
    padding-right: 10px;
}
.mitem:first-child { 
    border-top: 1px solid #f1f1f1;
}
.mitem:hover { 
    background-color: #d1ebff;
}
.mitem.selected { 
    background-color: #d3ffce;
    font-weight: bold;
}
.mitem .mact { 
    display: flex;
    align-items: center;
    gap: 15px;
}
.mitem .mact i{  
    font-size: 20px;
}
.md_menus{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    border-bottom: 1px solid #ddd;
}
.md_menus .md_tabmenu{
    display: inline-block;
    padding: 5px 10px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 2px solid transparent;
}
.md_menus .md_tabmenu.active{ 
    color: #16a34a;
    border-bottom: 2px solid #16a34a;
}
.md_menus .md_tabmenu:hover{ 
    color: #1b1b1b;
}
.md_tabitem:not(.active){
    display: none;
}
.border-b{
    border-bottom: 1px solid #ddd;
}
.input_item{
    position: relative;
}
.input_item .form-control{
    padding-right: 40px;
}
.input_item i{
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 1;
    cursor: pointer;
    font-size: 20px;
    color: red;
}
.input_list, .input_list_grup{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.guidelines ul, .guidelines ol{
    padding-left: 1rem;
    margin-bottom: 0px;
}
.guidelines{ 
    padding: 15px;
    border-radius: 5px;
}
.guidelines.yellow{
    border: 1px solid #fef08a; 
    background-color: #fefce8;
}
.guidelines.yellow h6,
.guidelines.yellow li{
    color: #854d0e;
}
.guidelines.blue{
    border: 1px solid #bfdbfe; 
    background-color: #eff6ff;
}
.guidelines.blue h6,
.guidelines.blue li{
    color: #1d4ed8;
}
.grup-item{ 
    background: #f9fafb;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.grup-item .group_title{   
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.group_title span{ 
    font-weight: bold;
    font-size: 15px; 
}
.group_title a{ 
    color: #dc2626;
    cursor: pointer;
}
a.add_input, a.add_input_grup{ 
    padding: 3px 10px; 
    border-radius: 5px; 
    font-size: 13px;
    box-shadow: -2px 2px 5px 1px #a3a3a3;
    color: #fff !important;
}
a.add_input.text-success,
a.add_input_grup.text-success{ 
    background: green; 
}
a.add_input.text-info{ 
    background: #10758d; 
} 
.div_password{
    position: relative;
}
.div_password input{
    padding-right: 30px;
}
.div_password i{
    position: absolute;
    right: 15px;
    top: 5px;
    font-size: 16px;
    cursor: pointer;
    color: #878a99;
}
.div_password input[type="password"] + i.ri-eye-off-fill{
    display: none;
}
.bg_masterall{
    border-radius: 5px;
    overflow: hidden;
    flex-wrap: wrap;
}
@media (max-width: 767px){
    .div_konten.form_pasien.show{
        height: auto; 
    }
    .konten_atas{ 
        height: auto;
    }
    .konten_atas{
        flex-direction: column;
        flex-wrap: wrap;
    }
    /* .div_konten.form_pasien > .card{
        height: 200px;
    } */
    .item_konten_atas{
        width: 100%;
        max-height: 300px;
    }
    .item_konten_atas.iherb{
        min-width: 100%;
    }  
    .seg_tabs{
        flex-direction: column-reverse;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 15px;
        padding-bottom: 0; 
    }
    .div_foto img{ 
        max-height: 250px;
    }
    .konten_herbinfo { 
        max-height: 240px;
    }
    .div_konten.form_pasien > .card {
        height: auto;
    }
    .lf_body { 
        min-height: 237px;
        max-height: 237px;
    }
    .master_menus{
        overflow-x: auto;
    }
    .bg_masterall{ 
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    .masterbg{
        min-width: 200px !important;
        max-width: 200px !important;
    }
    .herbinfo .mdata {
        max-height: calc(100vh - 255px);
    }
}