/* *{
  border: 1px solid red;
} */

@media print {
    html, body {
        height: 99%;    
    }
}
.print {
    page-break-after: auto;
}

[readonly]:hover, [disabled]:hover{
    cursor: not-allowed;
    
}

/* icon input password login */
.inputPass-icon {
    float: right;
    margin-left: -25px;
    margin-top: 10px;
    margin-right: 5px;
    position: relative;
    z-index: 5;
}  

/* Link box beranda */
.link-box{
    color: #fff;
    text-decoration: none;
}
.link-box:hover{
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    font-weight: normal;
    animation-name: link-box-zoom-in;
    animation-duration: 2s;
}
@keyframes link-box-zoom-in{
    from{
        font-size: 1em;
        font-weight: normal;
    }
    to{
        font-size: 1.1em;
        font-weight: bold;
    }
}
.clickable-icon {
    cursor: pointer !important;
}
/* btn-app di beranda*/
.btn-app {
    border-radius: 3px;
    position: relative;
    padding: 15px 5px;
    margin: 0 0 10px 10px;
    min-width: 80px;
    height: 60px;
    text-align: center;
    color: #666;
    border: 1px solid #ddd;
    background-color: #f4f4f4;
    font-size: 12px;
}

.btn-app > .fa,
.btn-app > .far,
.btn-app > .fas,
.btn-app > .glyphicon,
.btn-app > .ion {
    font-size: 20px;
    display: block;
}
.btn-app:hover {
    background: #f4f4f4;
    color: #444;
    border-color: #aaa;
}
.btn-app:active,
.btn-app:focus {
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.btn-app > .badge {
    position: absolute;
    top: -3px;
    right: -10px;
    font-size: 10px;
    font-weight: 400;
}
.btn-app > .badge2 {
    position: absolute;
    top: 15px;
    right: -10px;
    font-size: 10px;
    font-weight: 400;
}

.alignCenter {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;

    /* border: 2px solid;
    background-color: #eee */
}

/* Hapus pading & margin */
.npd{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.npd-left {
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.npd-right{
    padding-right: 0 !important;
    margin-right: 0 !important;
}
.npd-top {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.npd-bottom{
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
@media screen and (orientation: portrait) {
    .npd{
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        }
    .npd-left {
        padding-left: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
    }
    .npd-right{
        padding-right: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
  }


/* Drag tabel dengan mouse */
.mouseDrag {
    overflow-x: auto;
    overflow-y: hidden;
    /*width: 100%;  Changed to 100% */
    /*margin:60px;*/
    -webkit-touch-callout: none;
    -webkit-user-select: none;  
    -moz-user-select: none;   
    -ms-user-select: none;     
    user-select: none; 
}  


/* warnain form kalau falid/invalid */
.valid { 
    background-color:rgb(178, 255, 168);
}
.invalid { 
    background-color:rgb(255, 188, 188);
}

/* Style default untuk disabled */
input[readonly], textarea[readonly] {
    background-color: #ffffff !important;
    border-color: #cccccc !important;
}
/* Biar keliatan saat TAB form */
input:focus {
    background-color: rgb(218, 232, 237);
    color: black;
}
textarea:focus{
    background-color: rgb(218, 232, 237);
    color: black;
}
.select2-container *:focus {
    background-color: rgb(218, 232, 237);
    color: black;
}
ul.sidebar-menu li :focus{
    border-left : 3px solid #87CEEB !important;
    background-color: white !important;
    color: black !important;
}

/* Datatable rowGroup */
table.dataTable tr.dtrg-group td {
    background-color: #11324D;
}
table.dataTable tr.dtrg-group.dtrg-level-0 td {
    font-weight: bold;
    color: #ffffff;
}
table.dataTable tr.dtrg-group.dtrg-level-1 td,
table.dataTable tr.dtrg-group.dtrg-level-2 td,
table.dataTable tr.dtrg-group.dtrg-level-3 td,
table.dataTable tr.dtrg-group.dtrg-level-4 td,
table.dataTable tr.dtrg-group.dtrg-level-5 td {
    font-weight: bold;
    background-color: #548CA8;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    padding-left: 2em;
    font-size: 1em;
}
table.dataTable tr.dtrg-group.dtrg-level-2 td {
    background-color: #C1CFC0;
    padding-left: 2.5em;
}
table.dataTable tr.dtrg-group.dtrg-level-3 td {
    background-color: #f3f3f3;
    padding-left: 3em;
}
table.dataTable tr.dtrg-group.dtrg-level-4 td {
    background-color: #f3f3f3;
    padding-left: 3.5em;
}
table.dataTable tr.dtrg-group.dtrg-level-5 td {
    background-color: #f3f3f3;
    padding-left: 4em;
}


/* Align Center Modal*/
.vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
    pointer-events:none;
}
.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events:none;
}
.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width:inherit;
    max-width:inherit; /* For Bootstrap 4 - to avoid the modal window stretching full width */
    height:inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events:all;
}

/* Besarin ukuran modal */
.modal-large{
    width: 90vw !important;
}

.font0-8em{
    font-size: 0.8em;
}
.font1-2em{
    font-size: 1.2em;
}
.font1-4em{
    font-size: 1.4em;
}
.font1-5em{
    font-size: 1.5em;
}
.font1-55em{
    font-size: 1.5em;
}
.font1-6em{
    font-size: 1.6em;
}
.font1em{
    font-size: 1.6em;
}
.font2em{
    font-size: 2.4em;
}
.font3em{
    font-size: 3em;
}
.font34em{
    font-size: 3.2em;
}
.font6em{
    font-size: 6em;
}
.font64em{
    font-size: 6.3em;
}
.font4em{
    font-size: 7em;
}
.font10em{
    font-size: 10em;
}
.font11em{
    font-size: 11em;
}
.font12em{
    font-size: 12em;
}
.font13em{
    font-size: 13em;
}
.font14em{
    font-size: 14em;
}


/*margin top toastr*/
.toast-top-right {
    top: 60px;
}


.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  text-decoration: none;
  color: #ffffff;
  background-color: #007BB4;
}


/* perbesar font sweetalert */
/* .swal2-popup { */
    /* font-size: 1.8rem; */
/* } */
.swal2-icon.swal2-warning {
    color: #c74242 !important;
    border-color: #e35d5d !important;
}

/* table row hover */
tr:hover td {
    background-color:#ebebeb;
}

/* fa button icon */
.fa-2{font-size: 1.2em;}
.fa-3{font-size: 1.4em;}
.fa-4{font-size: 1.6em;}
.fa-5{font-size: 1.8em;}
.fa-6{font-size: 2em;}

/* dashboard icon fa */
.fa-sm{
    font-size:0.6em;
}
.fa-md{
    font-size:0.8em;
}
.fa-bg{
    font-size:1em;
}

/* jQuery AutoComplete */
.autocomplete-suggestions {
    border: 1px solid #999;
    background: #FFF;
    height: auto;
    overflow: auto;
    border-radius: 5px;
}
.autocomplete-suggestion {
    padding: 7px 10px;
    white-space: nowrap;
    overflow: hidden;
}
.autocomplete-selected {
    color: #ffffff;
    background: #008eba;
}
.autocomplete-suggestions strong {
    font-weight: normal;
    color: #0400ff;
}
.autocomplete-group {
    padding: 2px 5px;
}
.autocomplete-group strong {
    display: block;
    border-bottom: 1px solid #000;
}

/* atur lebar select filter tabel */
.filterTabel {
    min-width: 5px !important;
    max-width: 60px !important;
}

/* fix selectpicker option terakhir yang terpotong */
.dropdown-menu.open { 
    max-height: none !important; 
}

/* CSS disable hari libur*/
/*dengan datesDisabled*/
.datepicker-days table .disabled-date.day {
    background-color: #ca5050;
    color: #fff;
}
.datepicker table tr td.disabled, 
.datepicker table tr td.disabled:hover {
    background: #be4141;
    color: #fff;
}
/*dengan fungsi (hanya merubah warna, 
    tetap bisa diklik)*/
.hariLibur{
    background: #ca5050 !important; 
    color:#fff !important;
}
.hariLibur:hover {
    background: #be4141 !important; 
    color:#fff !important;
}

/* button span addon color */
.addon-success{
    background-color: #5cb85c !important;
    color: #ffffff !important;
}
.addon-success:hover{
    background-color: #209e4c !important;
    color: #ffffff !important;
    cursor: pointer;
}

.swal2-actions{
    z-index:0 !important;
}

/* select.form-control {
    -webkit-appearance: menulist !important;
} */

/* Question mark popper */
[data-popper]:hover{
    cursor: pointer;
}


/*Nurunin tombol flex*/
.flex-wrap{
    display: flex; 
    flex-wrap: wrap; 
    align-items: flex-end
}


/* Tooltip buat tabel*/
#tooltip-tabel {
    position: absolute;
    z-index: 10001;
    display: none;
    border: 2px solid #ebebeb;
    border-radius: 15px;
    padding: 10px;
    background-color: #fff;
}

/* UPLOAD GAMBAR/FOTO */
.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}
#img-upload{
    /* background: #000 center/cover url("../img/img-placeholder.jpg") no-repeat; */
    width: 100%;
    /* background-image: url("../img/img-placeholder.jpg")!important;
    background-repeat: no-repeat; */
}


/* CSS UNTUK PRINT DATATABLE*/
.rightAlign {
    text-align: right !important;
}
.leftAlign {
    text-align: left !important;
}
.centerAlign{
    text-align: center !important;
}
.rowWidth50{
    max-width: 50px !important;
}
.rowWidth100{
    max-width: 100px !important;
}
.rowWidth150{
    max-width: 150px !important;
}
.rowWidth200{
    max-width: 200px !important;
}
.rowWidth250{
    max-width: 250px !important;
}
.rowWidth300{
    max-width: 300px !important;
}
.rowHeight20{
    max-height: 20px !important;
}
.rowHeight40{
    max-height: 40px !important;
}
.rowHeight60{
    max-height: 60px !important;
}
.lineHeight20{
    line-height: 20px !important;
}
.textBreak{
    display: block !important;
    overflow: hidden !important;
    word-break: break-word !important;
    word-break: break-all !important;
}
.thEllp{
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.tdEllp{
    white-space:nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* TIMELINE CHANGELOG */
.apland-timeline-area {
  overflow-y: scroll;
  overflow-x: hidden;
  height: 60vh;
}
.apland-timeline-area::-webkit-scrollbar {
  display: none;
}
.timeline_area {
  position: relative;
  z-index: 1;
}
.single-timeline-area {
  position: relative;
  z-index: 1;
  padding-left: 180px;
}
@media only screen and (max-width: 575px) {
  .single-timeline-area {
      padding-left: 100px;
  }
}
.single-timeline-area .timeline-date {
  position: absolute;
  width: 180px;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -ms-grid-row-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding-right: 60px;
}
@media only screen and (max-width: 575px) {
  .single-timeline-area .timeline-date {
      width: 100px;
  }
}
.single-timeline-area .timeline-date::after {
  position: absolute;
  width: 3px;
  height: 100%;
  content: "";
  background-color: #ebebeb;
  top: 0;
  right: 30px;
  z-index: 1;
}
.single-timeline-area .timeline-date::before {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #007bff;
  content: "";
  top: 50%;
  right: 26px;
  z-index: 5;
  margin-top: -5.5px;
}
.single-timeline-area .timeline-date p {
  margin-bottom: 0;
  color: #020710;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 500;
}
.single-timeline-area .single-timeline-content {
  position: relative;
  z-index: 1;
  padding: 30px 30px 25px;
  border-radius: 6px;
  margin-bottom: 15px;
  margin-top: 15px;
  -webkit-box-shadow: 0 0.25rem 1rem 0 rgba(47, 91, 234, 0.125);
  box-shadow: 0 0.25rem 1rem 0 rgba(47, 91, 234, 0.125);
  border: 1px solid #007bff;
}
@media only screen and (max-width: 575px) {
  .single-timeline-area .single-timeline-content {
      padding: 20px;
  }
}
.single-timeline-area .single-timeline-content .timeline-icon {
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
  width: 30px;
  height: 30px;
  background-color: #007bff;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 30px;
  flex: 0 0 30px;
  text-align: center;
  max-width: 30px;
  border-radius: 50%;
  margin-right: 15px;
}
.single-timeline-area .single-timeline-content .timeline-icon i {
  color: #ffffff;
  line-height: 30px;
}
.single-timeline-area .single-timeline-content .timeline-text h6 {
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
}
.single-timeline-area .single-timeline-content .timeline-text p {
  font-size: 13px;
  margin-bottom: 0;
}
.single-timeline-area .single-timeline-content:hover .timeline-icon,
.single-timeline-area .single-timeline-content:focus .timeline-icon {
  background-color: #020710;
}
.single-timeline-area .single-timeline-content:hover .timeline-text h6,
.single-timeline-area .single-timeline-content:focus .timeline-text h6 {
  color: #3f43fd;
}

.avatar-container {
  flex-shrink: 0;
}
.avatar-container img {
  width: 100%;
  height: auto;
  max-width: 70px; 
}
.loader {
    display: none;
    text-align: center;
    margin-top: 20px;
}


/* Jadwal harian */
.doctor-card {
  font-size: 0.85rem;
  padding: 0.75rem;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
}
.doctor-photo {
  width: 60px;
  height: 100px;
  object-fit: cover;
  border-radius: 20%;
  margin-right: 12px;
  flex-shrink: 0;
}
.doctor-info h6 {
  margin: 0 0 2px;
  font-size: 0.95rem;
}
.doctor-info p {
  margin: 0;
}
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2px;
}
.schedule-grid.two-columns {
  grid-template-columns: repeat(2, 1fr);
}

.bg-rsuic {
background-color: #1e6f5c !important;
}
