.colorpicker-element{
    width: 100%;
    position: relative;
    padding: 0px;
}
.colorpicker-element > span{
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 5;
    width: 100%;
    height: 100%;
    text-align: left;
    background: transparent;
    border: 0px;
    padding: 12px 10px;
}
.colorpicker-element > span > i{
    border-radius: 50px;
    width: 13px !important;
    height: 13px !important;
}
.colorpicker-element > input{
    padding-left: 32px;
    border-radius: 4px !important;
    border: solid 1px #dfe2e6 !important;
    background: #ffffff !important;
    box-shadow: 0px 0px 3px rgba(0,0,0,0.05) !important;
}
.colorpicker-element:before, .colorpicker-element:after{
    display: none;
}
.colorpicker-show{
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: inline-block;
}

.calendar{
    width: 100%;
    max-width: 100%;
    position: relative;
}
.calendar .fc-day-number{
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
    color: #000000;
    letter-spacing: 0px;
    text-align: center !important;
}
.calendar .fc-month-view {
    width: 875px;
    max-width: 100%;
}
.calendar .fc-month-view table th, .calendar .fc-month-view table td{
    width: 14%;
    padding: 15px 5px !important;
    text-align: center;
}
.calendar .fc-month-view table thead, .calendar .fc-month-view table tbody, .calendar .fc-month-view .fc-widget-content, .calendar .fc-month-view .fc-widget-header:not(.fc-day-header){
    padding: 0px !important;
}
.calendar .fc-month-view .fc-widget-header:not(.fc-day-header){
    border: 0px;
}
.calendar .fc-toolbar{
    margin-bottom: 0px;
    padding-top: 65px;
    position: relative;
}
.calendar .fc-toolbar .fc-right{
    width: 100%;
    position: absolute;
    border-bottom: 1px solid #D3D3D3;
    display: inline-block;
    top: 0px;
    left: 0px;
    background: #fff;
}
.calendar .fc-toolbar .fc-right > button{
    float: left;
    color: #999999;
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
    padding: 15px;
    position: relative;
    cursor: pointer;
    height: auto;
}
.calendar .fc-toolbar .fc-right > button.fc-state-active{
    color: #0075DB;
}
.calendar .fc-toolbar .fc-right > button.fc-state-active:after{
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0px;
    width: 100%;
    height: 4px;
    background: #0075DB;
    border-radius: 5px 5px 0px 0px;
}
.calendar .fc-toolbar h2{
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #404040;
    margin-right: 20px;
}
.calendar .fc-toolbar button{
    border: 0px;
    background: transparent;
    color: #0075FF;
    box-shadow: none;
    font-size: 16px;
    margin: 0px;
    margin-top: -5px;
    padding: 0px 5px;
}
.calendar .fc-day-header{
    font-weight: 700;
    font-size: 13px;
    line-height: 15px;
    color: #6D6767;
    text-align: center;
}
.calendar .fc-day, .calendar .fc-day-grid-container{
    border: 1px solid #D4D4D4 !important;
}
.calendar .fc-time-grid td{
    padding: 0px !important;
}
.calendar .fc-agenda-view .fc-scroller {
    padding-top: 20px !important;
}
.calendar .fc-agenda-view .fc-time-grid{
    overflow: initial;
}
.calendar .fc-day-grid-container{
    overflow: hidden;
}
.calendar .fc-day-grid-container{
    background: #FFFFFF;
    box-shadow: 0 0 12px 0 rgba(0,0,0,0.15);
    border-radius: 8px;
}
.calendar .fc-month-view .fc-scroller{
    overflow: hidden;
}
.calendar .fc-month-view .fc-today{
    background: transparent;
    position: relative;
}
.calendar .fc-month-view .fc-row .fc-today:before{
    content: '';
    width: 30px;
    height: 30px;
    background: #0075FF;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 0px;
    right: 0px;
    margin: 0 auto;
}
.calendar .fc-month-view .fc-row .fc-today span{
    position: relative;
    color: #fff;
}
.calendar .fc-month-view .fc-day.fc-sat, .calendar .fc-month-view .fc-day.fc-sun{
    background: #F7F6FC;
}
.calendar .fc-month-view .fc-day-grid-event, .calendar .fc-agenda-view .fc-time-grid-event, .calendar-time .fc-timeline-event{
    border: 0px;
    position: relative;
    padding: 3px 5px;
    margin: 2px 5px;
    max-width: 100%;
}
.calendar .fc-agenda-view{
    width: calc(100% - 300px);
}
.calendar .fc-agenda-view .fc-time-grid-event, .calendar-time .fc-timeline-event{
    position: absolute;
    border-radius: 5px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 15px;
    line-height: 18px;
}
.calendar .fc-agenda-view .fc-time-grid-event small{
    font-size: 12px;
    line-height: 14px;
}
.calendar .fc-agenda-view .fc-head .fc-widget-header{
    padding-top: 0px !important;
}
.calendar .fc-agenda-view .fc-head th, .calendar .fc-agenda-view .fc-head td{
    padding: 5px 0px !important;
}
.calendar .fc-agenda-view .fc-head th.fc-day-header{
    text-indent: -40px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
    color: #404040;
}
.calendar .fc-agenda-view .fc-row{
    border: 0px !important;
}
.calendar .fc-time-grid .fc-slats td{
    height: 30px;
}
.calendar .fc-month-view .fc-day-grid-event:before{
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
}
.calendar .fc-month-view .fc-day-grid-event .fc-content{
    position: relative;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.calendar .fc-month-view .fc-day-grid-event .fc-content span{
    position: relative;
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
}
.calendar .fc-month-view .fc-event-container, .calendar .fc-agenda-view .fc-body, .calendar .fc-agenda-view .fc-widget-content{
    padding: 0px !important;
}
.calendar .fc-month-view .fc-day-number{
    padding-bottom: 10px !important;
}
.calendar .fc-time-grid .fc-bg, .calendar-time .fc-timeline-event .fc-bg{
    left: 4px;
    opacity: 0.8;
}
.calendar .fc-time-grid>.fc-bg td, .calendar-time .fc-timeline-event>.fc-bg td{
    border: 0px !important;
}
.calendar .fc-time-grid>.fc-slats tr:not(.fc-minor) td:not(.fc-axis){
    position: relative;
}
.calendar .fc-time-grid>.fc-slats tr:not(.fc-minor) td:not(.fc-axis):before{
    content: '';
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    border-top: 1px solid #DADADA;
}
.calendar .fc-time-grid>.fc-slats tr:not(.fc-minor) td.fc-axis{
    padding-right: 10px !important;
    position: relative;
}
.calendar .fc-time-grid>.fc-slats tr:not(.fc-minor) td.fc-axis > span{
    top: -10px;
    left: 0px;
    display: inline-block;
    font-weight: 700;
    font-size: 15px;
    line-height: 21px;
    color: #737373;
    position: absolute;
}
.calendar .fc-time-grid-event .fc-time{
    display: none;
}
.calendar .checkbox{
    margin-top: 0px;
    min-width: initial;
}
.calendar .checkbox > label{
    padding-left: 25px;
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
    color: #666666;
}
.calendar .checkbox > label::after{
    width: 11px;
    height: 4px;
    top: 3px;
    left: 3px;
}
.calendar td .fc-day-number{
    float: initial !important;
}
.calendar-label{
    width: 100%;
    position: relative;
    display: inline-block;
    margin: 20px 0px;
}
.calendar-label .inner{
    float: left;
    margin-right: 25px;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
}
.calendar-label .inner span:first-child{
    background: #000;
    border-radius: 4px;
    width: 19px;
    height: 19px;
    margin-right: 10px;
    display: block;
    float: left;
}
.checkbox > label::before{
    box-sizing: border-box;
}
.calendar-box{
    width: 100%;
    position: relative;
}
.calendar-box .calendar-right{
    position: absolute;
    top: 125px;
    right: 0px;
    background: #F8FAFD;
    width: 300px;
    height: calc(100% - 125px);
    padding: 15px;
    display: none;
}
.calendar-box .calendar-small .datepicker{
    width: 100%;
}
.calendar-box .calendar-small .datepicker thead > tr:first-child, .calendar-box .calendar-small .ui-datepicker-header{
    display: none;
}
.calendar-box .calendar-small .datepicker th.dow{
    font-weight: 700;
    font-size: 11px;
    line-height: 20px;
    color: #686868;
    text-transform: uppercase;
}
.calendar-box .calendar-small .datepicker td{
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #686868;
}
.calendar-box .calendar-small .datepicker td.old{
    color: #CACACA;
}
.calendar-box .calendar-small .datepicker td.today, .calendar-box .calendar-small .datepicker td.active{
    position: relative;
    color: #fff !important;
    background: transparent !important;
}
.calendar-box .calendar-small .datepicker td.today:before, .calendar-box .calendar-small .datepicker td.active:before{
    content: '';
    position: absolute;
    top: 4px;
    left: 0px;
    right: 0px;
    margin: 0 auto;
    background: #0075FF;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.calendar-box .calendar-event .inner{
    border-top: 1px solid #E6E6E6;
    padding: 15px 0px;
    position: relative;
}
.calendar-box .calendar-event .fc-title{
    font-weight: 700;
    font-size: 15px;
    line-height: 17px;
    letter-spacing: 0px;
    width: calc(100% - 90px);
}
.calendar-box .calendar-event .fc-title small{
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #737373;
}
.calendar-box .calendar-event .fc-time{
    font-weight: 400;
    font-size: 14px;
    color: #737373;
    position: absolute;
    top: 50%;
    right: 0px;
    width: 90px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
.datepicker table tr th{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.datepicker table tr td i{
    width: 100%;
    position: relative;
    line-height: initial;
    height: auto;
    background: transparent !important;
    font-style: normal;
}

.calendar-time{
    width: 100%;
}
.calendar-time .fc-view > table{
    width: 100% !important;
}
.calendar-time td, .calendar-time th{
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    border: 1px solid #E1E1E1 !important;
    padding: 2px 0px !important;
    color: #555;
}
.calendar-time th{
    border: 0px !important;
    padding: 2px 0px !important;
}
.calendar-time .fc-slats td{
    border: 0px !important;
}
.calendar-time .fc-resource-area td.fc-widget-content, .calendar-time .fc-resource-area .fc-cell-text{
    font-size: 16px;
    line-height: 19px;
}
.calendar-time .fc-resource-area.fc-widget-header .fc-cell-text{
    color: #000;
}
.calendar-time .btn-add{
    background: #FFFFFF !important;
    border: 1px solid #0075FF;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    padding: 0px;
    position: absolute;
    top: 15px;
    right: 10px;
}
.calendar-time .btn-add i{
    width: 10px;
    height: 10px;
}
.calendar-time .btn-add:hover{
    background: #0075FF !important;
}
.calendar-time .btn-add:hover i{
    filter: brightness(0) invert(1);
}
.calendar-time .fc-rows .fc-cell-content {
    padding-right: 40px;
    position: relative;
}
.calendar-time .fc-timeline-event{
    max-width: initial;
    /* right: auto !important; */
    margin: 0px;
    font-size: 12px;
    line-height: 14px;
    z-index: 1;
    margin-left: 10px;
}
.calendar-time .fc-timeline-event .fc-content{
    width: 100%;
    display: inline-block;
    float: left;
}
.calendar-time .fc-timeline-event small{
    font-size: 10px;
    line-height: 12px;
    font-weight: 500;
}
.calendar-time .fc-timeline-event .fc-title{
    margin-left: -11px;
    width: 100%;
    box-sizing: border-box;
}
.calendar-time .fc-body .fc-resource-area .fc-cell-content{
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    padding-top: 15px;
    padding-bottom: 15px;
}
.calendar-time .fc-timeline .fc-cell-content{
    overflow: initial;
}
.calendar-time .fc-toolbar{
    margin: 0px;
}

.calendar-form{
    width: 320px;
    max-width: 100%;
    font-family: 'SukhumvitSet';
    font-size: 14px;
    line-height: 17px;
    text-align: left;
}
.calendar-form .cf-head{
    padding: 10px 0px;
    margin-bottom: 10px;
    border-bottom: 1px solid #CDCDCD;
}
.calendar-form .cf-head h3{
    margin: 0px;
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    color: #000000;
    display: inline-block;
}
.calendar-form .cf-head button{
    float: right;
    padding: 5px 12px;
    margin-top: -2px;
}
.calendar-form .cf-body, .calendar-form .cf-body .form-control{
    font-size: 12px;
    line-height: 14px;
}
.calendar-form .cf-body .form-group{
    margin-bottom: 10px;
}
.calendar-form .checkbox{
    margin-bottom: 0px;
}
.calendar-form .checkbox label{
    font-weight: 700;
    color: #666666;
    padding-top: 2px;
}
.calendar-form .btn-box .btn{
    min-width: initial;
    width: calc(50% - 12px);
    margin: 0px 5px;
}
.calendar-form .calendar-booking-form{
    background: #EAF6FF;
    border-radius: 9px;
    border: 1px solid #ADCDE5;
    padding: 15px;
    position: relative;
    margin-bottom: 65px;
}
.calendar-form .input-group.is-picker .input-group-addon{
    background: #fff;
}
.calendar-form .tab-body{
    float: left;
    padding: 0px;
    margin-top: -10px;
}
.calendar-form .tab .tab-head{
    float: left;
    border: 0px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    overflow-x: auto;
    display: inline-flex;
    padding-bottom: 10px;
}
.calendar-form .tab .tab-head > .inner{
    border-radius: 9px 9px 0px 0px;
    padding: 8px 15px 5px;
    font-size: 12px;
    line-height: 14px;
}
.calendar-form .tab .tab-head > .inner.active{
    background: #eaf6ff;
    border: 1px solid #adcde5;
}
.calendar-form .tab .tab-head > .inner.active:after{
    bottom: -3px;
    background: #eaf6ff;
    z-index: 2;
}
.calendar-form .tab .tab-head > .inner.active:first-child:before{
    content: '';
    background: #eaf6ff;
    border-left: 1px solid #adcde5;
    width: 5px;
    height: 10px;
    position: absolute;
    left: -1px;
    bottom: -10px;
    z-index: 2;
}
.calendar-form .calendar-booking-form .btn-box{
    position: absolute;
    width: calc(100% + 10px);
    bottom: -55px;
    left: -5px;
    text-align: right;
}
.calendar-form .tab-body .inner:first-child .btn-delete-schedule{
    display: none;
}

.row.is-small{
    margin: 0px -5px;
}
.row.is-small .col{
    padding: 0px 5px;
}

.popover{
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    box-shadow: 0 2px 11px 0 rgba(152,152,152,0.69);
    border-radius: 20px;
    width: 350px;
    max-width: 100%;
    z-index: 2005;
}
.popover .popover-content{
    padding: 0px 12px;
    text-align: center;
    position: relative;
}

.daterangepicker{
    width: 558px;
    max-width: 100%;
}
.daterangepicker thead th{
    padding: 8px 10px !important;
}
.daterangepicker .cancelBtn{
    display: none;
}
.daterangepicker .ranges{
    float: left;
    width: 100%;
    text-align: right;
    margin: 0px;
    padding: 3px;
}
.daterangepicker .ranges .btn-primary{
    background: #488DFF !important;
    border-radius: 2px;
    border-color: #488DFF;
}

.input-group .form-control{
    box-shadow: none !important;
    outline: none !important;
    border-color: #dfe2e6 !important;
    min-height: 35px;
}
.input-group.is-rang{
    max-width: 240px;
}

.radio-select{
    width: 100%;
    position: relative;
    display: inline-block;
}
.radio-select .radio{
    float: left;
    width: auto;
    display: inline-block;
    margin: 0px 10px 10px 0px;
}
.radio-select .radio > label{
    background: #FFFFFF;
    border: 1px solid #C5C5C5;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    color: #7F7F7F;
    letter-spacing: 0px;
    display: inline-block;
    width: auto;
}
.radio-select .radio > label > .text-icon{
    margin-left: -5px;
}
.radio-select .radio > label > .text-icon i{
    filter: grayscale(100%);
}
.radio-select .radio > label:after{
    content: "\f058";
    top: -7px !important;
    right: -10px;
    left: auto;
    color: #0075FF;
    font-family: 'FontAwesome';
    font-size: 17px;
    width: 18px;
    height: 18px;
    background: #fff;
    border: 0px;
    display: none;
}
.radio-select .radio > label:before{
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: transparent !important;
    border: 2px solid #0075FF !important;
    display: none;
    border-radius: 4px;
}
.radio-select .radio input:checked ~ label{
    background: #FFFFFF;
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.32);
    color: #0075FF;
}
.radio-select .radio input:checked ~ label:after, .radio-select .radio input:checked ~ label:before{
    display: block;
}
.radio-select .radio input:checked ~ label .text-icon .icon{
    filter: grayscale(0%);
}

.card-custom, .card{
    width: 340px;
    max-width: 100%;
    position: relative;
    background: #FFFFFF;
    box-shadow: 0 2px 21px 0 rgba(0,0,0,0.17);
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    color: #6C6C6C;
    letter-spacing: 0px;
    display: inline-block;
    overflow: hidden;
    margin: 0px 15px 15px 0px;
}
.card-custom{
    width: calc(33.33% - 13px);
}
.card-custom:nth-child(3n+3){
    margin-right: 0px;
}
.card-custom > .head, .card > .head{
    padding: 8px 12px;
    border-bottom: 1px solid #DEDEDE;
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    color: #000000;
    padding-right: 30px;
    position: relative;
}
.card-custom > .head:before, .card > .head:before{
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0px;
    width: 12px;
    height: 3px;
    background: #fff;
}
.card-custom > .head > i{
    top: 50%;
    right: 12px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    position: absolute;
    cursor: pointer;
}
.card-custom > .body, .card > .body{
    width: calc(100% - 12px);
    padding: 15px 0px 0px 10px;
    background: #fff;  
    display: inline-block; 
    height: 136px;
    overflow: hidden;
    overflow-y: auto;
    margin-bottom: 12px;
}
.card-custom > .body > .inner, .card > .body > .inner{
    width: 100%;
    float: left;
    width: 100%;
    position: relative;
    border-radius: 4px;
    padding: 5px 30px 5px 10px;
    display: inline-block;
}
.card-custom > .body > .inner > i{
    position: absolute;
    right: 10px;
    width: 12px;
    height: 12px;
    top: 50%;
    margin-top: -6px;
    cursor: pointer;
}
.card-custom > .body > .inner:nth-child(even), .card > .body > .inner:nth-child(even){
    background: #F0F7FF;
}
.card-custom > .body > .inner .text{
    float: left;
    width: 100%;
    position: relative;
    display: inline-block;
}
.card-custom > .body > .inner .text .no {
    float: left;
    width: auto;
    margin: 4px 5px 0px 0px;
}
.card-custom > .body > .inner .text input{
    float: left;
    padding: 3px 10px;
    width: calc(100% - 30px);
    background: transparent !important;
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    color: #6C6C6C;
    height: auto;
    border-radius: 3px;
    box-shadow: none;
}
.card-custom > .body > .inner .text input:disabled{
    border-color: transparent !important;
    cursor: default;
    padding-left: 0px;
}

.card {
    width: 100%;
    margin: 0px;
    margin-top: 8px;
}
.card > .body {
    height: auto;
    overflow: hidden;
}
.card > .body > .inner{
    padding-right: 10px;
}
.card.is-big > .head {
    font-size: 18px;
    line-height: 21px;
    padding-top: 12px;
    padding-bottom: 12px;
}
.card.is-big > .head{
    border-color: #979797;
}
.card.is-big > .body > .inner{
    padding-left: 2px;
    padding-right: 2px;
    background: #fff !important;
    border-top: 1px solid #E2E2E2;
}
.card.is-big > .body > .inner:first-child{
    border: 0px;
}

textarea.no-resize{
    resize: none;
}

.q-all{
    width: 100%;
    position: relative;
    display: inline-block;
    overflow: hidden;
    overflow-x: auto;
    white-space: nowrap;
}
.q-box{
    width: 325px;
    max-width: 100%;
    position: relative;
    padding: 0px 20px 40px;
    border-left: 1px solid #E3E3E3;
    display: inline-block;
    vertical-align: top;
}
.q-box:first-child{
    border: 0px;
    padding-left: 0px;
}
.q-room{
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    box-shadow: 0 2px 19px 0 #DEDEDE;
    border-radius: 6px;
    padding: 0px;
    font-weight: 700;
    font-size: 15px;
    line-height: 24px;
    color: #015ED6;
    position: relative;
    height: 46px;
}
.q-room .inner{
    padding: 10px 50px 10px 60px;
    position: relative;
}
.q-room .name{
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.q-room img{
    left: 10px;
    top: 3px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
}
.q-room .no{
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    position: absolute;
    right: 12px;
    top: 8px;
}
.q-list{
    margin-top: 12px;
    height: 500px;
    overflow: hidden;
    overflow-y: auto;
    width: calc(100% + 10px);
    padding-right: 8px;
    white-space: initial;
}

.q-card{
    width: 100%;
    position: relative;
    display: inline-block;
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    box-shadow: 0 2px 19px 0 #DEDEDE;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #000000;
    letter-spacing: 0px;
    padding: 12px 12px 5px;
    margin-bottom: 12px;
}
.q-card .doing{
    width: calc(100% + 24px);
    background: #2CB541;
    border-radius: 8px 8px 0 0;
    color: #fff;
    font-weight: 700;
    padding: 5px 12px;
    margin-left: -12px;
    margin-top: -12px;
    display: none;
    margin-bottom: 10px;
}
.q-card .name{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 6px 70px 6px 55px;
    min-height: 48px;
}
.q-card .name img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    right: 20px;
    top: 0px;
}
.q-card .name p{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.q-card .name .no{
    background: #E9F1FD;
    font-weight:700;
    font-size: 16px;
    line-height: 38px;
    color: #3684FF;
    top: 5px;
}
.q-card .queue{
    width: 100%;
    position: relative;
    display: inline-block;
    padding: 4px 15px 4px 55px;
    min-height: 26px;
    margin-top: 0px;
}
.q-card .queue .no{
    background: #F1F1F1;
    font-weight: 700;
    font-size: 14px;
    line-height: 26px;
    color: #848484;
}
.q-card p{
    margin: 0px;
}
.q-card .no{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: absolute;
    top: 0px;
    left: 0px;
    text-align: center;
    border-radius: 4px;
    width: 48px;
}
.q-card .type{
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    color: #989898;
}
.q-card .type .text-icon{
    display: inline-block;
}
.q-card .type .icon{
    filter: grayscale(100%);
}
.q-card .type .checking{
    color: #2CB541;
    display: none;
}
.q-card .type .col{
    padding: 18px 15px;
}
.q-card .btn-box{
    border-top: 1px solid #E3E3E3;
    margin-left: -12px;
    width: calc(100% + 24px);
    padding: 8px 7px 2px;
}
.q-card .btn-box .btn{
    width: calc(50% - 12px);
    margin: 5px 4px;
    font-size: 14px;
    border: 0px;
    box-shadow: none;
}
.q-card .btn-box .btn.btn-block{
    width: calc(100% - 6px);
}
.q-card .btn-primary{
    background: #E9F7FF !important;
    color: #0075FF !important;
}
.q-card .btn-default{
    background: #EDEDED !important;
    color: #868686 !important;
}
.q-card.active .doing, .q-card.active .type .checking{
    display: block;
}
.q-card.active .type .waiting{
    display: none;
}
.q-card .dropdown button{
    padding: 5px;
    border: 0px  !important;
    background: transparent !important;
    color: #A5A5A5 !important;
    font-size: 20px;
    box-shadow: none;
}
.q-card .dropdown{
    position: absolute;
    right: -10px;
    top: 0px;
}
.q-card .dropdown ul{
    right: 0px;
    left: auto;
    min-width: 115px;
    padding: 8px 0px;
}
.q-card .dropdown ul>li>a{
    padding: 3px 15px;
    font-weight: 700;
    font-size: 12px;
    line-height: 20px;
    color: #000000;
}
.q-card .dropdown ul>li>a.q-cancel{
    color: #FF6F6F;
}

.font-regular{
    font-weight: 400 !important;
}
.font-semibold{
    font-weight: 600 !important;
}
.font-bold{
    font-weight: 700 !important;
}
.font-14{
    font-size: 14px;
    line-height: 22px;
}
.font-yellow{
    color: #EBAD04;
}

.is-middle{
    display: table;
}
.is-middle > *{
    display: table-cell;
    vertical-align: middle;
}

.qp-detail{
    padding: 10px 0px;
}
.qp-detail span{
    color: #858585; 
    margin-right: 10px;
    display: inline-block;
}
.q-modal .user .bg{
    top: 50%;
    margin-top: -25px;
}
.input-group.form-round .input-group-addon{
    border-radius: 0px 22px 22px 0px;
}
.input-group.form-round .form-control{
    border-radius: 22px 0px 0px 22px;
}

.q-modal .card-custom{
    width: calc(33.33% - 18px);
}
.modal-content{
    border-radius: 19px;
}
.btn.btn-primary-outline{
    color: #0075FF !important;
    background: #fff !important;
    border-color: #0075FF;
}
.btn.btn-success{
    color: #fff !important;
    background: #36A11E !important;
    border-color: #36A11E;
}
.status.is-success span{
    color: #21A748;
}
.status.is-danger span{
    color: #d9534f;
}
.status.is-warning span{
    color: #f0ad4e;
}
.status.is-primary span{
    color: #337ab7;
}
.status.is-default span{
    color: #666;
}

.q-number{
    float: left;
    width: 100%;
    background: #FFFFFF;
    border: 2px solid #D8D8D8;
    border-radius: 6px;
    padding: 15px;
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    color: #000000;
    letter-spacing: 0px;
}
.q-number .inner{
    position: relative;
    padding: 10px;
    padding-left: 75px;
}
.q-number .inner .no{
    top: 50%;
    left: 0px;
    width: 65px;
    background: #C3D4ED;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    line-height: 40px;
    color: #FFFFFF;
    position: absolute;
    margin-top: -20px;
}
.q-number .inner .text{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sortable{
    width: calc(100% + 10px);
    position: relative;
    margin-left: -5px;
}
.sortable .ui-state-default, .sortable .ui-state-highlight, .sortable-target .ui-state-default{
    width: 265px;
    max-width: 100%;
    position: relative;
    margin: 5px;
    cursor: pointer;
    display: inline-block;
}
.sortable .ui-state-highlight{
    float: left;
    background: #FFFFFF;
    border: 3px dashed #C3D4ED;
    border-radius: 6px;
    height: 76px;
    text-align: center;
    font-weight: 700;
    font-size: 19px;
    line-height: 76px;
    color: #C3D4ED;
    text-transform: uppercase;
}
.sortable-target .ui-state-default.is-target .q-number{
    width: 290px;
}
.sortable-target .ui-state-default.is-target .q-number, .sortable .ui-state-default.is-target .q-number{
    border: 3px solid #0075FF;
    box-shadow: 0 2px 21px 0 rgba(0,0,0,0.17);
}
.sortable-target .ui-state-default.is-target .q-number .inner, .sortable .ui-state-default.is-target .q-number .inner{
    padding-right: 45px;
    padding-top: 0px;
    padding-bottom: 0px;
}
.sortable-target .ui-handle, .sortable .ui-handle{
    background: #FFFFFF;
    box-shadow: 0 2px 21px 0 rgba(0,0,0,0.17);
    border-radius: 7px;
    display: inline-block;
    font-size: 18px;
    line-height: 18px;
    position: absolute;
    right: 0px;
    top: 50%;
    margin-top: -19px;
    width: 38px;
    height: 38px;
    text-align: center;
    line-height: 42px;
}
.sortable-target .ui-state-default.is-target .q-number .inner .no, .sortable .ui-state-default.is-target .q-number .inner .no{
    background: #0075FF;
}
.sortable-target .ui-state-highlight{
    opacity: 0;
}
.sortable .ui-state-default.is-target .q-number .inner .text{
    height: 40px;
    overflow: hidden;
}
.move-box{
    width: 100%;
    position: relative;
    display: inline-block;
}
.move-box .sortable-target{
    position: absolute;
    top: -140px;
    right: 25px;
    left: auto;
    width: auto;
}  

.q-doctor{
    width: 100%;
    position: relative;
    display: inline-block;
}
.q-doctor .q-room{
    color: #fff;
    height: 50px;
    background-image: linear-gradient(241deg, #10BDFF 0%, #0057D3 96%);
}
.q-doctor .q-room img{
    border: 2px solid #FFFFFF;
}
.q-doctor .q-room .inner{
    margin: 2px;
}
.q-doctor .q-card.active .btn-box{
    display: none;
}
.q-doctor .q-list{
    height: 700px;
}
.q-doctor .left{
    float: left;
    width: 325px;
    max-width: 100%;
    display: inline-block;
}
.q-doctor .right{
    float: left;
    width: calc(100% - 325px);
    display: inline-block;
    padding-left: 20px;
}
.q-doctor .q-box{
    width: 100%;
    border-right: 1px solid #E3E3E3;
    padding-bottom: 0px;
}

.q-amount{
    width: 100%;
    position: relative;
    padding: 12px 0px;
    border-top: 1px solid #E3E3E3;
}
.q-amount .inner{
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    box-shadow: 0 2px 19px 0 #DEDEDE;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    font-size: 17px;
    line-height: 27px;
    color: #EE9B31;
    padding: 12px;
    text-align: center;
}

.patient-box{
    width: 100%;
    position: relative;
    font-weight: 700;
}
.patient-box .no{
    background: #0075FF;
    border-radius: 4px;
    font-size: 21px;
    line-height: 24px;
    color: #FFFFFF;
    padding: 8px 22px;
    text-align: center;
    display: inline-block;
}
.patient-box label{
    color: #858585;
}
.patient-box .user .bg{
    width: 58px;
    height: 58px;
    top: 50%;
    margin-top: -29px;
}

.patient-type{
    width: 100%;
    position: relative;
    margin-top: 15px;
}
.patient-type .type{
    background: #FFFFFF;
    border: 2px solid #0075FF;
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.32);
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    color: #0075FF;
    padding: 10px 20px;
    display: inline-block;
}
.patient-type .type .text-icon{
    margin-left: -5px;
}
.patient-type select{
    font-weight: 700;
    color: #000000;
    display: inline-block;
    width: auto;
    min-width: 180px;
    max-width: 100%;
    margin-top: 8px;
}

.patient-info{
    width: 100%;
    position: relative;
    margin-top: 10px;
}
.patient-info .card .inner{
    font-weight: 600;
    color: #000;
}

.q-request{
    width: 100%;
    position: relative;
    padding: 8px 0px;
    padding-right: 120px;
    font-weight: 700;
    color: #555555;
}
.q-request .action{
    position: absolute;
    width: 120px;
    right: 0px;
    top: 2px;
    text-align: right;
}
.q-request .btn{
    border-radius: 5px;
    line-height: 26px;
    text-align: center;
    padding: 0px 15px;
    font-weight: 700;
    font-size: 12px;
    color: #FFFFFF;
    border: 0px;
}
.q-request .btn.btn-orange, .btn.btn-orange-fill{
    color: #fff !important;
    background: #FF9A55 !important;
    border-color: #FF9A55 !important;
}
.q-request .btn.btn-trans{
    line-height: 10px;
    padding: 4px 8px;
}

.q-pending{
    width: 100%;
    position: relative;
    padding: 10px 120px 10px 0px;
}
.q-pending .action{
    position: absolute;
    width: 120px;
    right: 0px;
    top: 10px;
    text-align: right;
}
.q-pending .action .btn{
    font-size: 14px;
}
.q-pending .text .no{
    float: left;
    background: #0075FF;
    border-radius: 4px;
    width: 55px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    color: #FFFFFF;
}
.q-pending .text .name{
    float: left;
    width: calc(100% - 55px);
    padding-left: 10px;
    font-size: 12px;
    line-height: 14px;
    font-weight: 400;
}
.q-pending .text .name p{
    margin: 0px;
    line-height: 18px;
}

.btn.btn-trans{
    border: 0px;
}
.btn.btn-blue-light{
    color: #0075FF !important;
    background: #E9F7FF !important;
    border: 0px;
}
.btn.btn-primary-outline{
    color: #0075FF !important;
    background: #fff !important;
    border: 1px solid #0075FF !important;
}

.page-name .name span:not(:last-child):after{
    top: 2px;
}
table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after{
    position: relative;
    display: inline-block;
    margin-left: 8px;
}

.width-auto{
    width: auto;
    display: inline-block;
}
.width-auto.topic{
    float: right;
}

.img-gray{
    filter: grayscale(100%);
}
.table.td-middle td{
    vertical-align: middle !important;
}
table .table-actions{
    color: #98aac0;
}
table .table-actions .fa-search{
    float: left;
}

.calendar-control{
    margin-top: 5px;
}

.calendar-booking{
    margin-top: 15px;
}
.calendar-booking .calendar-head label{
    font-weight: 700;
    font-size: 18px;
    line-height: 29px;
    color: #000000;
    display: inline-block;
    width: 100%;
}
.calendar-booking .btn-box{
    margin-top: 30px;
}

.tab .tab-head .text-icon i{
    filter: grayscale(100%);
}
.tab .tab-head .active .text-icon i{
    filter: grayscale(0%);
}
.tab.for-queue .tab-head .inner{
    padding-left: 20px;
    padding-right: 20px;
}
.tab.for-queue .tab-head > .inner{
    font-size: 15px;
    line-height: 18px;
}
.tab .tab-head .inner .badge{
    background: #FF1111;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    color: #FFFFFF;
    position: absolute;
    top: 0px;
    right: 0px;
}
.to-back{
    background: #0075FF;
    border-radius: 6px;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #FFFFFF !important;
    padding: 7px 15px;
    display: inline-block;
    margin-top: -10px;
    margin-bottom: 25px;
}

.title.font-black{
    color: #000;
}
.q-type{
    text-align: right;
    margin-top: 25px;
}
.q-type select{
    float: initial;
    width: auto;
    font-weight: 700;
    display: inline-block;
    min-width: 180px;
    max-width: 100%;
}

.chat.for-queue .chat-box{
    width: 100%;
}
.chat.for-queue .tab-head{
    background: #FFFFFF;
    border: 1px solid #D8D8D8;
    box-shadow: 0 2px 19px 0 #BEBEBE;
    border-radius: 8px;
}
.chat.for-queue .tab-head .inner{
    width: 50%;
    text-align: center;
    padding: 18px 12px;
    font-size: 16px;
    line-height: 19px;
}
.chat.for-queue .tab-head .inner > span{
    position: relative;
}
.chat.for-queue .tab-head .inner .badge{
    top: -10px;
    right: -20px;
}
.chat.for-queue .tab .tab-head > .inner.active:after{
    left: 0px;
    right: 0px;
    margin: 0 auto;
    width: 38px;
}
.chat.for-queue {
    padding-left: 290px;
    margin-top: 0px;
    height: calc(100vh - 220px);
    min-height: initial;
}
.chat.for-queue .chat-list{
    width: 290px;
}
.chat.for-queue .chat-box{
    height: calc(100% - 15px);
}
.chat.for-queue .chat-list .user-name{
    margin-bottom: 0px;
}
.chat.for-queue .chat-list .user-detail{
    margin-top: 15px;
}
.chat.for-queue .chat-list .user-name .img{
    margin-top: -23px;
    width: 45px;
    height: 45px;
}
.chat.for-queue .chat-list .user-name{
    padding-left: 55px;
}
.chat.for-queue .chat-box .msg-send{
    padding-left: 115px;
}
.chat.for-queue .chat-box .action{
    position: absolute;
    left: 0px;
    width: 115px;
    bottom: 10px;
    padding-left: 15px;
}
.chat.for-queue .chat-box .msg-send .btn-file{
    position: relative;
    float: left;
    width: 30px;
    bottom: 0px;
}
.chat.for-queue .chat-box .action > .icon{
    margin: 9px 8px;
    position: relative;
    float: left;
    bottom: 0px;
    cursor: pointer;
}
.chat.for-queue .chat-box .action > .icon-call-blue{
    width: 13px;
    margin: 10px 8px;
}

.tab.for-filter .inner{
    display: inline-block !important;
}

.memo-detail{
    width: 935px;
    max-width: 100%;
    color: #000;
    margin-bottom: 50px;
}
.memo-detail .desc{
    font-size: 14px;
    line-height: 29px;
}
.memo-detail .info{
    font-weight: 600;
    margin-top: 15px;
}
.memo-detail .files{
    margin-top: 30px;
}
.memo-detail .files img{
    width: 100%;
    border-radius: 12px;
}
.memo-detail .file-box{
    background: #FFFFFF;
    border: 1px solid #E2E2E2;
    border-radius: 5px;
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
    color: #0091FF;
    padding: 8px 20px 8px 30px;
    position: relative;
    display: inline-block;
    margin: 15px 10px 0px 0px;
    min-width: 135px;
}
.memo-detail .file-box i{
    position: absolute;
    left: 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.btn-group .btn{
    min-width: 125px;
    padding-top: 8px;
    padding-bottom: 8px;
}

table.font-bold td{
    font-weight: 700;
    color: #000;
}

.r-box{
    width: 100%;
    position: relative;
    margin-top: 35px;
}
.r-box .date{
    font-weight: 700;
    color: #969696;
    margin-bottom: 20px;
}
.r-box table{
    margin: 0px;
}
.r-box table .table-actions .icon{
    height: 16px;
}
.r-box .user .img{
    width: 40px;
    height: 40px;
    top: 50%;
    margin-top: -20px;
}
.r-box .user{
    padding-left: 50px;
    margin: 10px 0px;
}

.tab.is-qdc{
    margin-top: -15px;
}

header .user{
    width: calc(100% - 15px);
}
header .user p{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal{
    padding-left: 0px !important;
}
.modal .modal-title{
    font-size: 17px;
    line-height: 26px;
    padding-right: 10px;
}
.modal::-webkit-scrollbar {
    display: none;
}
.popover-overlay{
    position: fixed;
    left: 0px !important;
    top: 0px !important;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
}

.tab.for-queue .text-icon.no-icon{
    padding-left: 0px;
}
.tab.for-queue .text-icon.no-icon i{
    display: none;
}

.q-sort{
    position: absolute;
    right: -40px;
    width: 30px;
    text-align: center;
    top: 6px;
    z-index: 5;
    cursor: pointer;
    display: none;
}
.q-sort span{
    display: inline-block;
    width: 100%;
    padding: 8px 0px;
    text-align: center;
    background: #cde1f9;
    border-radius: 4px;
    color: #0175ff;
    margin-bottom: 5px;
}

body.no-scrolling{
    overflow: hidden;
}
body.no-scrolling #wrapper{
    overflow: hidden;
}

/* 2021-03-17 */
header .navbar{
    overflow-x: hidden;
}
header .navbar .navbar-nav{
    width: 100%;
}
.tab.for-queue .tab-head > .inner.pull-right{
    position: relative;
}
.tab.for-queue .tab-head > .inner.pull-right:before{
    content: '';
    position: absolute;
    left: 0px;
    top: 10px;
    height: calc(100% - 20px);
    width: 1px;
    background: #D3D3D3;
}
.tab.for-queue .tab-head > .inner.pull-right:after{
    left: 10px;
    width: calc(100% - 20px);
}
.tab.for-queue .tab-head .inner .badge{
    right: 5px;
}
.btn.btn-red{
    color: #fff !important;
    background: #F76868 !important;
    border-color: #F76868;
}
.btn.btn-red-outline{
    color: #F76868 !important;
    background: #fff !important;
    border-color: #F76868;
}

.qrequest-box{
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0 4px 19px 0 rgba(0,0,0,0.13);
    border-radius: 14px;
    font-weight: 700;
    margin-top: 20px;
}
.qrequest-box p{
    margin-bottom: 5px;
}
.qrequest-box .body{
    padding: 20px 15px;
}
.qrequest-box .footer{
    padding: 0px 15px 15px 15px;
    border-top: 1px dashed #DADADA;
}
.qrequest-box .footer .text-icon{
    margin-top: 15px;
}
.qrequest-box .footer .text-icon i{
    width: 16px;
    height: 16px;
}
.qrequest-box .btn-box .btn{
    margin-left: 5px;
}
.qrequest-box .user .code{
    color: #A2A2A2;
}
.qrequest-box .user .name{
    font-size: 16px;
}
.qrequest-box .user{
    min-height: 45px;
}
.no-border{
    border: 0px !important;
}
#modal-reject .btn-box .btn{
    min-width: 120px;
    margin: 5px 5px 0px;
}
#modal-reject .modal-dialog{
    width: 562px;
    max-width: calc(100% - 20px);
}
.font-green {
    color: #22A32E;
}
.font-red {
    color: #F76868;
}
.font-black{
    color: #000 !important;
}
.font-gray{
    color: #737373;
}
.btn.btn-border-blue{
    border: 8px solid #C0DDFF;
}
.approve-status {
    width: 100%;
    position: relative;
    margin-top: 5px;
}
.approve-status .text-icon{
    width: auto;
    display: inline-block;
    padding-left: 22px;
    margin-bottom: 0px;
}
.approve-status label{
    margin-right: 10px;
}

.checkin-box{
    width: 350px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}
.checkin-box img{
    width: 250px;
    max-width: 100%;
}
.checkin-box .btn-box .btn{
    min-width: 120px;
}
.text-icon i > img{
    max-width: 100%;
    max-height: 100%;
    vertical-align: top;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.ui-autocomplete{
    padding: 5px;
    background: #FFFFFF;
    border: 1px solid #D0D0D0;
    box-shadow: 0 7px 12px 0 rgba(0,0,0,0.28);
    border-radius: 6px;
    max-width: calc(100% - 40px);
}
.ui-autocomplete li{
    padding: 8px !important;
    border: 0px !important;
    box-shadow: none !important;
    font-weight: 400 !important;
    max-width: 100%;
}
.ui-autocomplete li:hover{
    color: #007FFF;
    background: #F0F7FF;
}
.form-autocomplete{
    width: 450px;
    max-width: 100%;
    margin-bottom: 20px;
}
.form-autocomplete .autocomplete{
    width: 100%;
    max-width: calc(100% - 100px);
    display: inline-block;
}
.form-autocomplete .btn{
    float: right;
}

.calendar-select{
    width: 1020px;
    max-width: 100%;
    display: inline-block;
    margin-top: 10px;
}
.calendar-select .slot-day{
    float: left;
    width: 350px;
    max-width: 100%;
    display: inline-block;
}
.calendar-select .slot-day .datepicker{
    width: 100%;
    background: #F2F5F9;
    border-radius: 12px;
}
.calendar-select .slot-day .datepicker thead > tr:first-child, .calendar-select .slot-day .ui-datepicker-header{
    display: none;
}
.calendar-select .slot-day .datepicker th.dow{
    font-weight: 700;
    font-size: 11px;
    line-height: 18px;
    color: #686868;
    text-transform: uppercase;
}
.calendar-select .slot-day .datepicker td{
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #686868;
}
.calendar-select .slot-day .datepicker td.old{
    color: #CACACA;
}
.calendar-select .slot-day .datepicker td.today, .calendar-select .slot-day .datepicker td.active{
    position: relative;
    color: #fff !important;
    background: transparent !important;
}
.calendar-select .slot-day .datepicker td.today:before, .calendar-select .slot-day .datepicker td.active:before{
    content: '';
    position: absolute;
    top: 4px;
    left: 0px;
    right: 0px;
    margin: 0 auto;
    background: #0075FF;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.calendar-select .slot-day-text{
    font-weight: 700;
    font-size: 20px;
    color: #404040;
    padding-right: 50px;
    width: 350px;
    max-width: 100%;
    position: relative;
    margin-bottom: 15px;
}
.calendar-select .slot-day-text .action{
    position: absolute;
    right: 0px;
    top: 0px;
    color: #0075FF;
    font-size: 15px;
}
.calendar-select .slot-day-text .action span{
    margin-left: 5px;
    cursor: pointer;
}
.calendar-select .slot-time{
    float: left;
    width: calc(100% - 360px);
    display: inline-block;
    padding-left: 20px;
}
.calendar-select .slot-time .radio{
    float: left;
    border-top: 1px solid #E6E6E6;
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 0px;
    display: inline-block;
}
.calendar-select .slot-time .radio:last-child{
    border-bottom: 1px solid #E6E6E6;
}
.calendar-select .slot-time .radio > input ~ label{
    padding: 10px 15px 0px 50px;
    font-weight: 500;
    float: left;
}
.calendar-select .slot-time .radio > input:checked ~ label{
    background: #F0F7FF;
}
.calendar-select .slot-time .radio > input:checked ~ label:after{
    display: block;
}
.calendar-select .slot-time .radio > input ~ label:before{
    top: 8px;
    left: 20px;
}
.calendar-select .slot-time .radio > input ~ label:after{
    content: "\f00c";
    top: 8px !important;
    left: 24px;
    color: #fff;
    font-family: 'FontAwesome';
    font-size: 11px;
    border: 0px;
    display: none;
}
.radio-select.for-select-dc .radio label{
    min-width: 150px;
    line-height: 18px;
    font-size: 13px;
}

.q-room, .q-doctor .q-room{
    height: 66px;
    line-height: 20px;
}
.q-room img{
    top: 12px;
}
.q-room .no{
    top: 18px;
}
.q-card:not(.active) .doing{
    display: block;
    background: #CCE6EE;
    color: #487087;
}
.q-card .doing{
    font-size: 13px;
    font-weight: 600;
}
.q-type label{
    color: #007FFF;
    background: #DEEEFF;
    border-radius: 7px;
    padding: 7px 15px;
    width: auto;
}
.q-doctor .q-card.active .btn-box{
    display: block;
}
.card-custom select{
    border-radius: 15px;
    padding: 5px 12px;
    margin: 5px 0px;
    font-size: 12px;
}
.card-custom.for-note > .body{
    padding-top: 0px;
}
.card-custom.for-note > .body > .inner{
    padding-right: 0px;
    padding-left: 0px;
}
.card-custom.for-note > .body > .inner > i.icon-edit{
    right: 20px;
    top: 10px;
    margin-top: 0px;
}
.card-custom.for-note > .body > .inner > i.icon-delete{
    right: 0px;
    top: 10px;
    margin-top: 0px;
}
.card-custom.for-note > .body > .inner .text{
    display: inline-block;
    padding: 5px 5px 5px 10px;
    background: #f0f7ff;
}
.card-custom.for-note > .body > .inner .text:first-child{
    padding-right: 30px;
    background: #fff;
}
.card-custom.for-note > .body > .inner:nth-child(even){
    background: #fff;
}
.card-custom.for-note > .body > .inner .text .no{
    margin: 0px 5px 0px 0px;
}
.modal.fade.in{
    overflow-y: auto;
}
#modal-note-add, #modal-note-edit, #modal-payer-add, #modal-payer-edit{
    background: rgba(0,0,0,0.7);
}

.row.is-reverse .col:nth-child(odd){
    float: right;
}

.calendar-form .cf-head{
    border-bottom: 0px;
    margin-bottom: 0px;
}
.calendar-form .checkbox label:before{
    border-radius: 50%;
    width: 20px;
    height: 20px;
    top: -3px;
    left: -1px;
}
.calendar-form .checkbox input{
    position: absolute;
}
.calendar-time .fc-timeline-event{
    padding-right: 6px;
}
.calendar-time .fc-timeline-event .fc-title{
    position: relative;
    display: inline-block;
    padding-right: 20px;
}
.calendar-time .fc-timeline-event .fc-title .fa-eye, .calendar-time .fc-timeline-event .fc-title .dropdown, .calendar .fc-time-grid-event .fc-title .dropdown{
    position: absolute;
    top: 50%;
    right: 0px;
    font-size: 14px;
    margin-top: -7px;
}
.calendar-time .fc-timeline-event .fc-title .dropdown .btn, .calendar .fc-time-grid-event .fc-title .dropdown .btn{
    padding: 3px;
    background: transparent !important;
    height: auto;
    margin-top: -4px;
    color: inherit !important;
    font-size: 18px;
    line-height: 18px;
}
.calendar-time .fc-timeline-event .fc-title .dropdown-menu, .calendar .fc-time-grid-event .fc-title .dropdown-menu{
    font-size: 11px;
    width: auto;
    padding: 4px 0px;
    font-weight: 600;
    min-width: 60px;
}
.calendar .fc-time-grid-event .fc-title .dropdown-menu{
    left: auto;
    right: 0;
}
.calendar-time .fc-timeline-event .fc-title .dropdown-menu li, .calendar .fc-time-grid-event .fc-title .dropdown-menu li{
    padding: 2px 8px;
    cursor: pointer;
}
.calendar-time .fc-timeline-event .fc-title .dropdown-menu li:hover, .calendar .fc-time-grid-event .fc-title .dropdown-menu li:hover{
    background: #f1f1f1;
}
.calendar-time .fc-timeline-event[data-mode="edit"] .fc-bg{
    opacity: 1;
    top: 1px;
    left: 1px;
    border-radius: 5px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
}
.calendar-time .fc-timeline-event .fc-content, .calendar .fc-time-grid-event .fc-content, .calendar .fc-time-grid-event{
    overflow: initial;
}
.calendar-event .dropdown, .calendar .room{
    display: none !important;
}
.calendar-event .room{
    border-radius: 8.5px;
    overflow: hidden;
    display: inline-block;
    margin-right: 5px;
    position: relative;
    padding: 2px 8px;
    float: left;
    font-weight: 600;
}
.calendar-event .room span{
    position: relative;
    z-index: 1;
}
.calendar-event .room:after{
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    background: #fff;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.sd-detail-box{
    width: 480px;
    position: relative;
    color: #000;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 20px;
}
.sd-detail-box h4{
    font-weight: 700;
    font-size: 22px;
    line-height: 24px;
    text-align: center;
    margin-top: 0px;
}
.sd-detail-box .day-time{
    background: #E0F0FF;
    border-radius: 4px;
    padding: 3px 8px;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #007FFF;
    display: inline-block;
}
.sd-detail-box .date-all{
    background: #FFFFFF;
    border-radius: 11px;
    padding: 20px;
    position: relative;
    font-weight: 700;
    color: #5479B0;
    margin-top: 30px;
    padding: 20px 20px 5px;
    border: 1px solid #E7E7E7;
    border-radius: 12px;
}
.sd-detail-box .date-all label{
    position: absolute;
    top: -10px;
    left: -9px;
    background: #fff;
    padding: 0px 8px;
    color: #000;
}
.sd-detail-box .info{
    width: 90%;
    margin: 25px auto 0px;
}
.sd-detail-box .info p{
    margin-bottom: 15px;
}
.popover > .popover-content, .popover > .popover-title, .popover > .arrow {
    z-index: 2500;
}
.popover:before{
    content: '';
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 2005;
    background: #fff;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* checklist 2021-08-04 */
#video-call .you {
    width: 250px !important;
    height: auto !important;
    display: inline-block;
    top: 50%;
    left: 50%;
    max-width: 100%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: relative;
}
#video-call.is-zoom .you .vdo{
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    margin-left: 125px;
}
#video-call .loading{
    top: auto;
    position: relative;
    height: auto !important;
    margin-top: 0px !important;
    font-size: 14px;
}
#video-call.no-zoom{
    min-height: 190px;
}
header .user{
	min-height: 35px;
}

/* 2021-10-02 */
.upload .upload-btn{
    min-width: 110px;
}
.upload.upload-avatar{
    width: 100%;
    display: inline-block;
}
.upload.upload-avatar .upload-btn{
    float: initial;
    width: calc(100% - 70px);
    display: inline-block;
    margin-top: 5px;
}
.upload.upload-avatar .upload-file{
    width: 70px;
    max-width: initial;
    display: inline-block;
}
.calendar-time .fc-timeline-event .fc-title{
    padding-right: 5px;
    width: calc(100% + 10px);
}
.calendar-time .fc-timeline-event .fc-title > i.fa-history{
    float: left;
    margin-right: 4px;
    margin-top: 1px;
}
.calendar-time .fc-timeline-event .fc-title > i.fa-history ~ span{
    width: calc(100% - 10px);
}
.calendar-time .fc-timeline-event .fc-title > span, .calendar-time .fc-timeline-event .fc-title > small{
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}
.calendar .fc-month-view .fc-day-grid-event{
    display: inline-grid;
}