/*--------------------------------------------------------------
# Custom Color
- Main (Blue) ==> #153C59 ==> rgb(21, 60, 89) 
- Main BG (Blue) ==> #506D83 ==> rgba(21, 60, 89, 0.75)
- Main BG (Blue) ==> #DCE2E6 ==> rgba(21, 60, 89, 0.15)
- Sub (Gold) = #DDB026  ==> rbg(221, 176, 38)
- Sub BG (Gold) ==> #AB9332 ==> rgba(221, 176, 38, 0.75)
- Sub BG (Gold) ==> #FAF3DF ==> rgba(221, 176, 38, 0.15)
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Custom Element
--------------------------------------------------------------*/
.d-contents {
    display: contents;
}

.bg-main {
    background-color: #153C59;
}

.bg-sub {
    background-color: #DDB026;
}

.text-main {
    color: #153C59 !important;
}

.text-sub {
    color: #DDB026 !important;
}

.btn {
    line-height: 1 !important;
}

.btn-flex {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-sub {
    color: #153C59;
    background-color: #DDB026;
    font-weight: 500;
}

.btn-sub:hover {
    color: #153C59;
    background-color: #AB9332;
    transform: translateY(-1px);
}

.btn-main {
    color: #DDB026;
    background-color: #153C59;
    border: 1px solid #DDB026;
    font-weight: 500;
}

.btn-main:hover {
    color: #153C59;
    background-color: #AB9332;
    transform: translateY(-1px);
}

.btn-main:focus {
    color: #DDB026;
}

.border-sub {
    border-color: #DDB026 !important;
}

.divider.divider-sub .divider-text:before,
.divider.divider-sub .divider-text:after {
    border-color: #DDB026;
}

.bg-login {
    background: url(../image/bg-login2.png);
    background-size: cover;
}

.bg-appointment {
    background: url(../image/bg-login3.png);
    background-size: cover;
}

.card-login-animate {
    padding: 3px;
    position: relative;
    background-image: linear-gradient(90deg, #DDB026 50%, transparent 50%), linear-gradient(90deg, #DDB026 50%, transparent 50%), linear-gradient(0deg, #DDB026 50%, transparent 50%), linear-gradient(0deg, #DDB026 50%, transparent 50%);
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 15px 4px, 15px 4px, 4px 15px, 4px 15px;
    background-position: left top, right bottom, left bottom, right top;
    animation: border-dance 1s infinite linear
}

@keyframes border-dance {
    0% {
        background-position: left top, right bottom, left bottom, right top;
    }

    100% {
        background-position: left 15px top, right 15px bottom, left bottom 15px, right top 15px;
    }
}

.card-login {
    background-color: rgba(21, 60, 89, 0.75);
}

.card-login h4,
.card-login p,
.card-login label {
    color: #DDB026;
}

.card-customer-1 {
    color: #DDB026;
    background: #FAF3DF;
    border: 1px solid #DDB026;
}

.divider.collapsed .bx-caret-down {
    transform: rotate(90deg);
}

.divider[data-bs-toggle] {
    cursor: pointer;
}

.form-wrapper {
    align-items: center;
    justify-content: center;
    overflow: hidden;
    display: flex;
    flex-basis: 100%;
    min-height: 100vh;
    width: 100%;
}

.form-wrapper .form-inner {
    width: 1170px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem 1rem;
    }
}

.form-wrapper .app-brand img {
    max-width: 150px;
}

.table-appointment {
    background-color: #FFFFFF;
    border: 2px solid #DDB026;
    padding: 10px;
    overflow: auto;
}

.table-appointment .btn-book {
    min-width: 70px;
}

.table-slot {
    background-color: #FFFFFF;
    border: 2px solid #DDB026;
    padding: 10px;
    overflow: auto;
}

.table-slot table tbody tr td {
    padding: 0.125rem !important;
    font-family: monospace;
}

.table-slot table tbody tr td .form-control {
    width: auto;
    padding: 0.25rem;
}

.floating-logout {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5em;
}

.form-inline .form-check {
    display: inline-block;
}

.form-flex {
    display: flex;
    align-items: center;
}

.flex-middle {
    display: flex;
    align-items: center;
}

.table-check-in tr td:nth-child(1) {
    width: 100%;
}

.table-check-in tr td:nth-child(2) {
    white-space: nowrap;
}

.table-check-in tr td label {
    text-align: right !important;
    margin-top: 0px;
}

.table-check-in tr td div.form-control {
    padding: 0px;
}

.table-appointment-timeline {
    overflow: auto;
}

.table-appointment-timeline .bg-inactive {
    background-color: #DCE2E6;
}

.table-appointment-timeline thead tr th {
    width: 14.2%;
}

.table-appointment-timeline tbody tr td {
    vertical-align: top;
}

.table-appointment-timeline tbody tr td .text-date {
    display: flex;
    margin-bottom: 0.5em;
}

.table-appointment-timeline tbody tr td .text-time {
    display: flex;
    margin-bottom: 0.5em;
}

.table-appointment-timeline tbody tr td .text-by {
    display: flex;
    margin-bottom: 0.5em;
}

.table-appointment-timeline tbody tr td .text-remark {
    color: #a94442;
    display: flex;
    margin-bottom: 0.5em;
}

.card-treatment-list {
    overflow: auto;
}

.card-treatment {
    border: 2px solid #DDB026;
    max-width: 220px;
    min-width: 220px;
    margin-right: 0.5em;
    margin-bottom: 0.75em;
    cursor: pointer;
}

.card-treatment.disabled {
    pointer-events: none;
    opacity: 0.75;
}

.card-treatment.active {
    background: #FAF3DF;
}

.card-treatment input {
    cursor: pointer;
}

.card-treatment .card-title {
    height: 80px;
}

.card-treatment .card-text {
    height: 120px;
    overflow: auto;
}

.card-treatment .card-text::-webkit-scrollbar {
    width: 2px;
}

/* Track */
.card-treatment .card-text::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.card-treatment .card-text::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
.card-treatment .card-text::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.card-treatment .card-price {
    color: #153C59;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0px;
}

.card-treatment .card-used {
    position: absolute;
    top: 0px;
    right: 0px;
    background: #DDB026;
    color: #FFFFFF;
    font-size: 12px;
    border-radius: 0px 7px 0px 14px;
    padding: 5px 15px;
    margin-bottom: 0px;
}

.card-treatment .card-limit {
    position: absolute;
    top: 0px;
    left: 0px;
    background: #153C59;
    color: #FFFFFF;
    font-size: 12px;
    border-radius: 7px 0px 14px 0px;
    padding: 5px 15px;
    margin-bottom: 0px;
}


.treatment-signature {
    max-width: 600px;
    border: 2px dotted #DDB026;
}

.text-price {
    font-size: 24px;
    font-weight: 600;
    color: #DDB026;
}

.text-discount {
    font-size: 15px;
    font-weight: 600;
    align-self: end;
    text-decoration: none;
}

.form-check-agree {
    min-width: 30px;
    min-height: 30px;
}

.form-error p:last-child {
    margin-bottom: 0px;
}

.input-error {
    border: 1px solid #FF6E56 !important;
}

.form-primary .col-md-auto label:not(.form-check-label) {
    min-width: 100px;
}

.card-loyalty {
    color: #153C59;
    background: #DCE2E6;
    border: 1px solid #153C59;
}

.table-loyalty tr:not(:first-child) td:nth-child(1) {
    border-right: 1px solid #DDB026;
    width: 1%;
    white-space: nowrap;
}

.form-loyalty-type .form-check-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0 !important;
}

.opacity-0 {
    opacity: 0;
}

.icon-birthday {
    background: #FFC0CB;
    border-radius: 50%;
    padding: 10px 12px !important;
}

.icon-birthday span {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF3E1D;
    color: #FFFFFF;
    padding: 0px 7px;
    font-size: 12px;
    border-radius: 50%;
}

.dropdown-birthday {
    max-height: 400px;
    overflow-y: scroll;
}

.dropdown-birthday span {
    font-size: 12px;
}

.dropdown-birthday small {
    font-size: 12px;
}

.dropdown-birthday .clicked {
    background: #d8e7e0;
}

.icon-memo {
    background: #FFAB00;
    border-radius: 50%;
    padding: 10px 12px !important;
}

.icon-memo span {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF3E1D;
    color: #FFFFFF;
    padding: 0px 7px;
    font-size: 12px;
    border-radius: 50%;
}

.dropdown-memo {
    max-height: 400px;
    width: 400px;
    min-width: 100%;
    overflow-y: scroll;
}

.dropdown-memo span {
    font-size: 12px;
}

.dropdown-memo small {
    font-size: 12px;
}

.voucher-batch-header {
    text-align: right;
    font-size: 18px;
}

.uppercase {
    text-transform: uppercase;
}

.linethrough {
    text-decoration: line-through;
}

.jSignature-image {
    max-height: 100px;
    width: auto;
}

/*--------------------------------------------------------------
# Custom Overide
--------------------------------------------------------------*/
.authentication-wrapper.authentication-basic {
    justify-content: start !important;
}

.authentication-wrapper.authentication-basic .authentication-inner {
    max-width: 490px !important;
}

.menu .app-brand.demo {
    height: auto;
    margin-bottom: 15px;
}

.layout-container {
    background: url(../image/bg-template.jpg);
    background-size: contain;
    background-attachment: fixed;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    background: #AB9332 !important;
}

.content-wrapper {
    position: relative;
}

.footer {
    position: absolute;
    bottom: 0;
    right: 0;
}

.avatar {
    border-radius: 5px;
    opacity: 0.75;
    align-items: center;
    justify-content: center;
    display: flex;
}

.avatar i {
    color: #FFFFFF;
    font-size: 30px;
    padding: 2px;
}

.bg-menu-theme .menu-inner>.menu-item.active>.menu-link {
    background-color: #FAF3DF !important;
}

.menu-link div {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.menu-link div span {
    font-family: monospace;
}

.menu-vertical .menu-inner>.menu-item {
    margin: 0.2em 0em !important;
}

.offcanvas {
    z-index: 99999;
}

.modal-header {
    padding: 1.5em !important;
}

.form-modal .row {
    margin-bottom: 0.75em;
}

.form-primary .row {
    margin-bottom: 0.75em;
}

.form-primary label {
    display: block;
    text-align: right;
    margin-top: 9px;
    font-weight: 600;
}

.form-primary .form-check-label {
    font-weight: 400;
}

.form-primary div.form-control {
    border-color: transparent;
    padding-left: 0em;
}

.form-primary div label {
    margin-bottom: 5px;
}

.form-modal div.form-control {
    border-color: transparent;
    padding-left: 0em;
}

@media (max-width: 768px) {
    .form-primary label {
        text-align: left;
    }
}

.modal-title .bx {
    font-size: 2rem;
}

.datepickerAppointment.form-control[readonly] {
    background-color: #FFFFFF;
}

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

.form-check-input:checked,
.form-check-input[type=checkbox]:indeterminate {
    border-color: #DDB026;
    border-width: 2px;
}

.modal {
    z-index: 99999 !important;
}

.modal-backdrop {
    z-index: 1100;
}

.layout-menu {
    /* z-index: 999999999 !important; */
}

.layout-navbar {
    /* z-index: 99999 !important; */
}

.layout-overlay {
    z-index: 9 !important;
}

.whatsapp-birthday {
    font-size: 24px;
    color: #95E569;
}

.table-report-appointment {
    zoom: 0.8;
}

.table-report-appointment td,
.table-report-appointment th {
    padding: 0.5em 0.75em;
}

.appointment-box {
    border: 1px solid #d9dee3 !important;
    border-radius: 0.375rem !important;
    padding: 1rem !important;
    margin-bottom: 0.75rem !important;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

/*--------------------------------------------------------------
# Custom Grocery Grud
--------------------------------------------------------------*/
.btn-default {
    color: #153C59 !important;
    border: 1px solid #CCCCCC;
}

.btn-default:hover {
    color: #153C59;
    background-color: #FAF3DF;
}

.gc-bootstrap-dropdown {
    border-right-color: #CCCCCC !important;
    border-left-color: #CCCCCC !important;
}

.growl-animated {
    z-index: 999999 !important;
    top: 85px !important;
}

#report-error,
#report-success {
    border-radius: 10px;
}

#report-error p {
    color: #FFFFFF;
}

#report-success p {
    color: #FFFFFF;
}

.grocery-crud-table {
    zoom: 0.85;
}

.grocery-crud-table td {
    /* max-width: 350px; */
}

.grocery-crud-table .card {
    width: 300px;
}

.grocery-crud-table th:not(.column-with-ordering) {
    width: 1%;
}

.grocery-mini .grocery-crud-table .only-desktops {
    white-space: nowrap;
}

.btn.hidden-xs {
    line-height: 1.25;
}

.gc-container .readonly_label {
    padding: 0.5em;
}

.gc-container .read-row .readonly_label {
    padding: 0em !important;
}

.navbar-nav {
    margin: 0em;
}

.grocery-crud-img {
    width: 200px;
    max-width: 100%;
}

.menu-inner-shadow {
    background: none !important;
}

.form-control-box {
    border: 1px solid #d9dee3 !important;
    padding: 6px 10px !important;
    height: auto !important;
}

/*--------------------------------------------------------------
# Custom Sweetalert
--------------------------------------------------------------*/
.swal2-container {
    z-index: 9999999 !important;
}

.swal2-success-circular-line-left,
.swal2-success-circular-line-right,
.swal2-success-fix {
    background: transparent !important;
}

/*--------------------------------------------------------------
# Custom Bootstrap
--------------------------------------------------------------*/
@media (max-width: 320px) {
    [class^="col"] {
        flex: 0 0 auto;
        width: 100% !important;
    }
}

.modal-footer .btn+.btn {
    margin-bottom: 5px;
}

/*--------------------------------------------------------------
# Custom Select2
--------------------------------------------------------------*/
.select2-container {
    z-index: 999999;
}

.modal .select2-container {
    z-index: 999999;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #d9dee3 !important;
    padding-left: 8px;
    padding-right: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px !important;
}

.select2-container .select2-selection--single {
    height: auto !important;
    border: none !important;
}

select[readonly].select2-hidden-accessible+.select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible+.select2-container .select2-selection {
    background: #DCE2E6;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible+.select2-container .select2-selection .select2-selection__rendered {
    background: #DCE2E6;
}

select[readonly].select2-hidden-accessible+.select2-container .select2-selection__arrow,
select[readonly].select2-hidden-accessible+.select2-container .select2-selection__clear {
    display: none;
    background: #DCE2E6;
}

.select2-hidden-accessible {
    bottom: 0;
    left: 50px;
}

.select2-search__field:focus {
    outline-offset: 0px !important;
    outline: none;
    border-width: 1px !important;
}

/*--------------------------------------------------------------
# Custom Full Calendar
--------------------------------------------------------------*/

.fc-license-message {
    display: none !important;
}

#timelineTherapist {
    zoom: 0.9;
}

.timeline-appoint-status-1,
.timeline-appoint-status-2,
.timeline-appoint-status-3,
.timeline-appoint-status-4 {
    background: #153C59 !important;
}

.timeline-appoint-status-5 {
    background-color: #95E569 !important;
}

.timeline-appoint-status-6 {
    background-color: #FF6E56 !important;
}

.ui-datepicker {
    z-index: 999999 !important;
}

.ui-datepicker-month,
.ui-datepicker-year {
    color: #FFFFFF;
}

.ui-datepicker .ui-datepicker-title {
    color: #FFFFFF;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    background: transparent;
    border: none;
}
