/* border */
.border-gray {
    border: 1px solid #efefef;
}
.border-primary {
    border: 1px solid #fb9678;
}

/* bg */
.bg-gray {
    background-color: #efefef;
}


/* card */
.list-group-item {
    background-color: #363636;
}


/* button */
.btn-wrapper .btn {
    margin-right: 5px;
}
.btn-text {
    display: inline-block;
    margin-top: 5px;
    padding-bottom: 1px;
    border-bottom: 1px solid #ffc4b2;
    font-size: 13px;
}

.button-gray {
    display: flex;
    align-items: center;
    color: #212529;
    background-color: #efefef;
    font-size: 15px;
}

.button-gray:hover {
    background-color: #212529;
}

/* padding / margin */
.input-mb-1 {
    margin-bottom: 1rem;
}
.input-mb-2 {
    margin-bottom: 2rem;
}

.mobile-content-margin {
    margin-top: 72px;
}

/* grid */
.grid {
    display: -webkit-flex;
    display: flex;
}

/* breadcrumb */
.breadcrumb .form-inline {
    align-items: unset;
}
.breadcrumb a {
    color: #6b6e71;
}
.breadcrumb select {
    min-height: 32px;
    padding: 0px 10px;
}

/* pagination */
.pagination a {
    display: inline-block;
    border-radius: 5px;
    text-align: center;
    margin-right: 5px;
    font-size: 12px;
}

.page-quick-link:hover {
    background-color: transparent;
}

.pagination svg {
    position: relative;
    top: -1px;
    width: 14px;
    height: 14px;
    stroke: #fff;
}

/* inner sidebar */
.inner-sidebar-nav {
    background-color: #fff6f3;
    padding-bottom: 10px;
}

/* widget */
.statistical-table .inner-block ul {
    padding: 15px;
    background-color: #f7f8f8;
    color: #636b7d;
}
    .statistical-table .inner-block li {
        display: -webkit-flex;
        display: flex;
        justify-content: space-between;
        list-style: none;
        margin-bottom: 5px;
    }
    .statistical-table .inner-block li .count {
        letter-spacing: 2px;
    }


/* collapse */
.collapse__content {
    display: none;
}

    .collapse__button {
        display: flex;
        justify-content: space-between;
        border: 1px solid #fff;
        padding: 8px 15px;
    }

        .collapse__button svg {
            width: 18px;
            stroke: #fff;
        }

.collapse__content .menu-list__link {
    background-color: #ebb1ae;
    border-bottom: 1px solid #f09491;
}



/* tab */
.tab-container {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
}
    .tab-container .tab-content {
        border: 1px solid #e2e6ea;
        padding: 20px;
    }
    .tab-container .nav-tabs {
        border-bottom: 0;
    }
    .tab-container .customtab li a.nav-link {
        border-top: 1px solid#e2e6ea;
        border-left: 1px solid#e2e6ea;
        border-radius: 0;
    }
    .tab-container .customtab li:last-child a.nav-link {
        border-right: 1px solid #e2e6ea;
    }

.tab-content .block {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 30px;
}
.tab-content .block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* custom tab */
.custom-tab-nav > .nav {
    margin-right: 15px;
    display: inline-block;
}
.custom-tab-container.open.with-bg {
    padding: 25px;
    background-color:#f8f9fa;
}
    .custom-tab-container .elem {
        display: none;
    }
    .custom-tab-container .elem.active {
        display: block;
    }

.customtab2.nav-tabs .nav-link,
.customtab2.nav-tabs .nav-item .nav-link  {
    color: #4F5467;
}
.customtab2.nav-tabs .nav-link.active,
.customtab2.nav-tabs .nav-item.show .nav-link {
    color: #fb9678;
}
/* overwrite */
.ms-container .ms-selectable li.ms-hover, .ms-container .ms-selection li.ms-hover {
    background-color: #e46a76;
}
.fileuploader {
    background: #fafafa;
}
.fileuploader-theme-thumbnails .fileuploader-thumbnails-input-inner {
    color: #e46a76;
    background: #ffeff0;
    border: 2px dashed #ffc9d1;
}

/* datepicker */
.datepicker table tr td span.active.active, .datepicker table tr td span.active.disabled, .datepicker table tr td span.active.disabled.active, .datepicker table tr td span.active.disabled.disabled, .datepicker table tr td span.active.disabled:active, .datepicker table tr td span.active.disabled:hover, .datepicker table tr td span.active.disabled:hover.active, .datepicker table tr td span.active.disabled:hover.disabled, .datepicker table tr td span.active.disabled:hover:active, .datepicker table tr td span.active.disabled:hover:hover, .datepicker table tr td span.active.disabled:hover[disabled], .datepicker table tr td span.active.disabled[disabled], .datepicker table tr td span.active:active, .datepicker table tr td span.active:hover, .datepicker table tr td span.active:hover.active, .datepicker table tr td span.active:hover.disabled, .datepicker table tr td span.active:hover:active, .datepicker table tr td span.active:hover:hover, .datepicker table tr td span.active:hover[disabled], .datepicker table tr td span.active[disabled] {
    background-color: #e46a76;
}
.datepicker table tr td span.focused, .datepicker table tr td span:hover {
    background: #e46a76;
    color: #fff;
}
.datepicker table tr td span.active, .datepicker table tr td span.active.disabled, .datepicker table tr td span.active.disabled:hover, .datepicker table tr td span.active:hover {
    background-image: none;
}

.datepicker table tr td.active, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.active:hover {
    background-image: linear-gradient(to bottom,#e46a76,#e46a76);
}

/* dropify */
.dropify-wrapper {
    background-color: #f8f8f8;
    border: 2px solid #fff;
}

/* fc-event */
.fc-event {
    background: #e46a76;
    padding: 15px 5px;
}
#calendar .fc-v-event {
    background-color: #e46a76;
    border: 1px solid #e46a76;
}
.fc-event-main i {
    font-style: initial;
}

/* calendar */
.calendar-display {
    padding-left: 30px;
    padding-right: 30px;
    background: #f9fcfe;
}
.calendar-nav {
    position: relative;
    padding-right: 15px;
    padding-left: 30px;
    border-right: 2px solid #e9ecef;
}
.calendar-nav .block {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}
    .calendar-nav .note {
        position: absolute;
        border: 1px dotted #8f8f8f;
        padding: 12px 8px;
        width: 100%;
        text-align: center;
    }
    .calendar-nav .explain {
        margin-bottom: 20px;
    }
    .mini-sidebar .calendar-nav .sidebar-nav {
        background-color: #fff6f3;
    }
    .mini-sidebar .calendar-nav .sidebar-nav #sidebarnav > li > a {
        width: unset;
        padding: 10px 35px 10px 15px;
    }

.calendar-form-actions {
    margin-top: 40px;
    margin-bottom: 20px;
}

.calendar-brick {
    position: relative;
    color: #fff;
    background-color: #e46a76;
    text-align: center;
    padding: 15px;
}
.calendar-brick .warning-text {
    display: none;
}
    .calendar-brick .btn-close {
        position: absolute;
        right: 8px;
        top: 4px;
        color: #fff;
    }

.calendar-brick.warning {
    background-color: #fff;
    color: #aeaeae;
    border: 1px solid #ddd;
}
    .calendar-brick.warning .warning-text {
        display: block;
        color: #e83333;
        background-color: #ffcfcf;
    }
    .calendar-brick.warning .btn-close {
        color: #333;
    }

/* heading */
.page-heading {
    margin-bottom: 20px;
}
.page-content {
    margin-bottom: 20px;
}

/* font */
.heading-weight {
    font-weight: 700;
}

/* custom radio button */
.radio-container {
    /* display: block; */
    position: relative;
    margin-bottom: 12px;
    padding-left: 20px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #cacaca;
}

.radio-container:hover input ~ .radio-checkmark {
    background-color: #ccc;
}

.radio-container input:checked ~ .radio-checkmark {
    background-color:#fb9678;
    border: none;
}

.radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked ~ .radio-checkmark:after {
    display: block;
}
.radio-container input:checked ~ .item-content {
    color: #fb9678;
}

.radio-container .radio-checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.item-content {
    font-size: 15px;
    margin-left: 5px;
    margin-bottom: 5px;
}

/* element radio round */
.element-radio .radio-container {
    margin-right: 5px;
    padding-left: 0;
}
    .element-radio .item-content {
        border: 1px solid #bcc2c7;
        padding: 8px 20px;
        border-radius: 25px;
    }
    .element-radio .radio-container input:checked ~ .item-content {
        background-color:  #fff6f3;
        border: 1px solid #fb9678;
        color: #fb9678;
    }
    .element-radio .radio-container .checkmark {
        border-radius: 50%;
        top: 7px;
        left: 7px;
        opacity: 0;
    }
    .element-radio .item-content .item-title {
        font-size: 15px;
    }
    .element-radio .radio-container input:checked ~ .item-title {
        color: #fff;
    }

/* element radio square */
.element-radio.square .item-content {
    border-radius: 3px;
}

/* element-radio - inline */
.radio-container-inline {
    margin-right: 5px;
}

/* status */
.status.element-radio .radio-container {
    margin-bottom: 0;
}
    .status.element-radio .item-title {
        font-size: 14px;
    }
        .status.element-radio .item-title i {
            position: relative;
            top: 1px;
            margin-right: 3px;
        }



/* custom checkbox */
.check-row {
    display: flex;
    flex-wrap: wrap;
}

    .check-label {
        margin-right: 20px;
    }

.checkbox-container {
    /* display: block; */
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.checkbox-container .label-text {
    font-size: 15px;
    margin-left: 3px;
}
.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-container .item-title {
    font-size: 14px;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fed0cf;
    border: 1px solid #fed0cf;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #fff3f3;
}

.checkbox-container input:checked ~ .checkmark {
    background-color:#e84860;
    border: none;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* element checkbox */
.element-checkbox .checkbox-container {
    width: 100%;
    padding-left: 0;
    margin-bottom: 20px;
}
    .element-checkbox .checkbox-container .checkmark {
        top: 5px;
        left: 5px;
        border-radius: 50%;
        z-index: 9;
    }
    .element-checkbox .item-title {
        margin-top: 10px;
    }
    .element-checkbox .checkbox-container .thumb-image {
        background: #fb9678;
    }
    .element-checkbox .checkbox-container input:checked ~ .item-content .thumb-image-container img {
        opacity: 0.5;
        border: 2px solid #fb9678;
    }
    .element-checkbox .checkbox-container input:checked ~ .item-content .item-title {
        color: #fb9678;
    }

/* element checkbox - round */
.element-checkbox-round .checkbox-container {
    padding-left: 0;
}
    .element-checkbox-round .item-content {
        border: 1px solid #bcc2c7;
        padding: 8px 16px 8px 30px;
        border-radius: 25px;
        margin-bottom: 15px;
    }
    .element-checkbox-round .checkbox-container input:checked ~ .item-content {
        background-color:  #fff6f3;
        border: 1px solid #fb9678;
        color: #fb9678;
    }
    .element-checkbox-round .checkbox-container .checkmark {
        border-radius: 50%;
        top: 7px;
        left: 12px;
    }
    .element-checkbox-round .item-content .item-title {
        font-size: 15px;
    }
    .element-checkbox-round .checkbox-container input:checked ~ .item-title {
        color: #fff;
    }
    .element-checkbox-round .checkbox-container input[type="radio"] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* element-checkbox - inline */
.checkbox-container {
    margin-right: 16px;
}


/* Image Container */
.thumb-image-container {
    display: flex !important;
}
    .thumb-image-wrapper {
        width: 100%;
        padding-bottom: 100%;
        position: relative;
        overflow: hidden;
        margin: 0;
        line-height: 0;
    }
    .thumb-image-wrapper.ratio-3-2 {
        padding-bottom: 66.66%;
    }
    .thumb-image {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: #f1f1f1;
    }
        .thumb-image img {
            width: 100%;
            height: 100%;
            object-position: 50% 50%;
            object-fit: cover;
        }

/* search */
.label-small {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
    opacity: 0.7;
}
.search__container .monthpicker {
    max-width: 200px;
}

/* table */
.table-wide {
    overflow: auto;
}
    .table-wide .table {
        min-width: 1000px;
    }

.table-fixed {
    min-width: 600px;
}

.table .btn {
    margin-bottom: 4px;
}
.table .btn > i {
    font-size: 13px;
}
.table .badge {
    font-size: 12px;
}

.table a {
    color: #333;
}

.table td, .table th {
    border-top: 1px solid #d3d3d3;
}

.table .min-td {
    min-width: 120px;
}

.table-striped-primary {
    background-color: #fff6f6;
}

.table-striped-primary tbody tr:nth-of-type(even) {
    background: #ffe7ea;
}

.overflow-x-auto .table {
    min-width: 600px;
}



/* form */
.side-label {
    font-size: 15px;
    padding-right: 40px;
}
.input-group-inline {
    display: -webkit-flex;
    display: flex;
    align-items: center;
}
.input-unit {
    margin-left: 10px;
}
.input-note {
    position: relative;
    top: -5px;
    padding: 2px 5px;
    font-size: 13px;
    opacity: 0.8;
    color: #e46a76;;
}

/* --- */
.form-heading {
    border-bottom: 1px solid #e2e6ea;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.form-group-content {
    margin-top: 10px;
    margin-bottom: 20px;
}
.input-inline {
    display: inline;
}
input.style-plain {
    border: 1px solid #dfe2e5;
    padding: 5px 5px;
    text-align: center;
    width: 120px;
    border-radius: 3px;
}
input.style-line {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #333;
    width: 100px;
    color: #e46a76;
    text-align: center;
}
input.style-line[type="number"] {
    padding-left: 20px;
}
input.style-line[type="number"]:focus {
    border-bottom: 1px solid #e46a76;
}
.input-inline::-webkit-input-placeholder { /* Edge */
    color: #d6d6d6;
}
.input-inline + .radio-wrapper {
    display: inline;
    margin-left: 15px;
}
  
.input-inline:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #d6d6d6;
}
  
.input-inline::placeholder {
    color: #d6d6d6;
}

.item-listing .item {
    display: table;
    margin: 5px 0;
}
    .item-listing .item .checkmark {
        top: 2px;
    }

.form-course-selecting {
    max-height: 400px;
    overflow-y: scroll;
    border: 1px solid #f4f6f8;
    background-color:#fbfbfb;
    padding: 16px
}
    .form-course-selecting .block {
        margin-bottom: 30px;
    }
    .form-course-selecting .item-content {
        font-size: 15px;
    }

.form__content-right {
    background-color: #fbfbfb;
    padding: 30px;
}

.inline-label {
    font-weight: 700;
    margin-right: 10px;
}
.form-actions {
    margin-top: 40px;
}



@media(max-width: 768px) {
    .form-horizontal label {
        text-align: left !important;
    }
}

/* --- */
.block-title {
    font-size: 18px;
    margin-bottom: 20px;
}
.item-block {
    margin-bottom: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e6ea;
}
.item-inline-row {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    margin-bottom: 15px
}
    .item-inline-row .title {
        width: 100px;
    }
    .item-inline-row .item-label {
        width: 60px;
        margin-bottom: 0;
    }
    .item-inline-row .item {
        margin-bottom: 15px;
        margin-right: 40px;
    }
        .item-inline-row .item select,
        .item-inline-row .item input {
            margin-left: 5px;
            padding: 4px 8px;
            border: 1px solid #bfbfbf;
            text-align: center;
            width: 120px;
            color: #e46a76;
            border-radius: 3px;
        }
        .item-inline-row .item select {
            color: #212529;
            padding: 4px 10px;
            width: 200px;
        }
        .item-inline-row .item input[type="number"] {
            padding: 2px 0 2px 15px;
        }
        .item-inline-row .item input.datetimes {
            width: 260px;
        }

        .checkbox-box .item-label {
            margin-top: -5px;
        }
        
.text-between-input {
    margin-left: 15px;
    margin-right: 15px;
}
.border-b-line {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    padding-bottom: 10px;
}

/* --- */
/* label */
.label-muted {
    margin-bottom: 5px;
}
.label-sm {
    font-size: 13px;
    margin-bottom: 5px;
}

/* input group */
.input-group-column,
.input-group.column {
    flex-direction: column;
    margin-bottom: 20px;
}

/* scroll bar */
/* width */
.form-course-selecting::-webkit-scrollbar {
    width: 5px;
    background-color: #F5F5F5;
}
  
/* Track */
.form-course-selecting::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}
   
/* Handle */
.form-course-selecting::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #888; 
}
  
/* Handle on hover */
.form-course-selecting::-webkit-scrollbar-thumb:hover {
    background: #555; 
}


/* unfold */
.unfold-content {
    display: none;
}
.form-bordered .form-group.unfold-check-row {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.unfold .form-group.unfold-check-row {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 20px;
    margin-bottom: 25px;
}


/* page */
.page__title {
    font-weight: 700;
    color: #525252;
    margin-bottom: 0;
}
.control-bar {
    margin-bottom: 20px;
}
.page__footer {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* page member */
/* .cell__member__info {
    align-items: center;
} */
    .cell__member__info-img {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        margin-top: 3px;
        margin-right: 10px;
    }
    .cell__member__info-id {
        font-size: 13px;
    }
    .cell__member__info-year {
        display: inline;
        font-size: 12px;
        padding: 2px 5px;
        border-radius: 3px;
        background-color: #ffede8;
    }

.cell-membership,
.cell-cancellation,
.cell-course {
    align-items: center;
    justify-content: space-between;
}

.cell-membership .item {
    padding: 3px 10px;
    margin-bottom: 5px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
    border: 1px solid #fafafa;
}
.cell-membership .item .type {
    background-color: #fff0f1;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
}
.cell-membership .item .memo {
    font-size: 12px;
    opacity: 0.7;
}


/* membership */
.icon.line-round {
    width: 25px;
    line-height: 23px;
    text-align: center;
    color: #e46a76;
    border: 1px solid #e46a76;
    border-radius: 50%;
}
.membership__grid {
    margin-left: -15px;
    margin-right: -15px;
    flex-wrap: wrap;
}
.membership__item {
    width: 240px;
    margin: 15px;
    border-radius: 5px;
    transition: 0.3s;
}
.membership__item:hover {
    box-shadow: 0 0 20px rgba(63, 70, 76, 0.1);
}
.membership__item-content {
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    height: 120px;
    padding: 20px;
    border-radius: 5px;
}
.membership__item-title {
    margin-top: auto;
    margin-bottom: 0;
    color: #525252;
}
.membership__type .custom-radio {
    margin-right: 15px;
}
.membership__type__setting .type {
    display: none;
}
.membership__type__setting .type.active {
    display: block;
}

/* category */
.catogory-more {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}
.category-result {
    background-color: #eee;
    margin-top: 10px;
    padding: 10px;
}
    .category-result .item {
        background-color: #fff;
        display: table;
        padding: 4px 10px;
        margin-top: 5px;
        margin-bottom: 5px;
        border-radius: 2px;
        color: #525252;
    }
    .category-result .item .i-arrow {
        font-size: 12px;
        opacity: 0.5;
        margin-left: 5px;
        margin-right: 5px;
    }
    .category-result .item .i-close {
        color: #525252;
        margin-left: 10px;
    }

/* tree */
.button-treemap {
    background-color: #d4dbe3;
    color: #5d5d5d;
}
.ztree.treeMenu {
    border: 1px solid rgb(221, 221, 221);
    margin-top: 20px;
    padding: 15px;
}
.ztree.treeMenu li span.button.switch {
    height: 22px;
}

/* control section */
.control-section {
    padding: 0 30px 20px 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid #edf1f5;
}
    .control-item-row {
        display: -webkit-flex;
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }
        .control-item-label {
            width: 70px;
            margin-bottom: 14px;
        }
        .control-item-box {
            flex: 1;
        }

.input-monthpicker input {
    width: 300px;
    flex: unset !important;
}

/* schedule */
.class-card-wrapper {
    display: -webkit-inline-flex;
    display: inline-flex;
}
    .class-card-col {
        display: -webkit-flex;
        display: flex;
        padding: 3px;
        width: 135px;
        min-height: 140px;
    }
    
        .class-card {
            flex: 1;
            padding: 15px;
            background-color: #ffdde0;
            text-align: center;
        }
        .class-card-col:nth-child(even) .class-card {
            background-color:#fff;
        }
        .class-card .name {
            color: #ec5b67;
            font-weight: 700;
        }
        .class-card .time {
            margin-top: 5px;
            margin-bottom: 5px;
        }

    .schedule-table {
        background-color: #f7f7f7;
        padding-top: 20px;
        padding-bottom: 15px;
        margin-left: 15px;
        margin-right: 15px;
        overflow: auto;
    }
    .schedule-table .col-time {
        text-align: center;
        padding-top: 8px;
    }
    .schedule-table .bg-gray {
        background-color: #f7f7f7;
    }
    .schedule-table::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        border-radius: 10px;
        background-color: #F5F5F5;
    }
    
    .schedule-table::-webkit-scrollbar {
        width: 8px;
        height: 8px;
        background-color: #F5F5F5;
    }
    
    .schedule-table::-webkit-scrollbar-thumb {
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
        background-color: #888;
    }

    .schedule-row {
        border-top: 1px solid #ddd;
        margin-bottom: 10px;
        padding-top: 10px;
    }
    .schedule-row:first-child {
        border-top: none;
    }

/* modal */
.modal-dialog.small {
    max-width: 400px;
}
.modal-body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #F5F5F5;
}

.modal-body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #888;
}


/* preview modal */
#preview-modal .modal-body {
    overflow: auto;
    margin-left: 10px;
    margin-right: 10px;
}
#preview-modal .modal-dialog {
    max-width: 100%;
    width: 800px;
    height: 700px;
}
#preview-modal .modal-content {
    height: 100%;
}
#preview-modal .modal-content > div {
    display: flex;
    flex-direction: column;
    height: 100%;
}
    #preview-modal .modal-header {
        margin-top: 30px;
        align-items: center;
    }
        #preview-modal .modal-header .arrow {
            padding-left: 6px;
            padding-right: 6px;
            margin-left: 30px;
            margin-right: 30px;
            background-color:#ffedef;
            border-radius: 50%;
            display: inline-block;
            line-height: 24px;
            font-size: 10px;
            transition: 0.3s;
        }
        #preview-modal .modal-header .arrow:hover {
            background-color: #fb9678;
            color: #fff;
        }
        
    #preview-modal .modal-header .close {
        position: absolute;
        top: 10px;
        right: 15px;
    }
    #preview-modal .close:focus {
        outline: none;
    }

/* credit */
.custom-card {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    border: 1px solid #ddd;
}
    .custom-card .card-header {
        background-color: #333;
    }
    .form-bordered .custom-card .form-group {
        margin-bottom: 20px;
    }
    .custom-card .side-label {
        font-weight: 700;
    }

@media(max-width: 576px) {
    .custom-card {
        width: 100%;
    }
}

/* membership append */
.d-flex .date-range-pick {
    flex: 1;
}
    .d-flex .date-range-pick .form-control {
        height: auto;
    }

.membership-apply .card {
    font-size: 16px;
}
.membership-apply .item-box-row,
.membership-apply .item-text-row {
    display: -webkit-flex;
    display: flex;
    align-items: center;
}
.membership-apply .item-box-row {
    margin-top: 15px;
    margin-bottom: 15px;
}
    .membership-apply .item-label {
        margin-right: 20px;
        width: 100px;
        font-weight: 700;
    }
    .membership-apply .date-range-pick {
        width: 420px;
    }

/* custom table */
.custom-table .t-row {
    display: -webkit-flex;
    display: flex;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
.custom-table .t-row:first-child {
    border-top: 1px solid #ccc;
}
.custom-table .t-td {
    padding: 10px 20px;
}
    .custom-table .t-td select,
    .custom-table .t-td input {
        padding: 5px;
        width: 200px;
        border: 1px solid #c8c8c8;
        border-radius: 3px;
    }

.custom-table .t-label {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    width: 160px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}



/**
*  uploader
*/

.upload {
    position: relative;
    cursor: pointer;
    float: left;
    width: 120px;
    margin-right: 5px;
}

.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0.25rem;
    background-color: #fbfcfd;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b3b9bf;
    font-size: 28px;
    pointer-events: none;
}

.uploader .image-box {
    width: 120px !important;
    height: 120px !important;
    overflow: hidden;
}

.uploader .image-box {
    background-color: #d1d9e1;
}

.uploader .img-thumbnail {
    width: 120px !important;
    height: 120px !important;
}

.uploader .image-box-inner img,
.uploader .image-box-inner embed {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.uploader .uploaded-item {
    position: relative;
    cursor: pointer;
    margin-right: 15px;
    margin-bottom: 15px;
    float: left;
}

/*
.uploader .uploaded-item:first-child {
    margin-left: 10px;
}
*/

.uploader-toolbar {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 10px;
}

    .uploader-toolbar .tool {
        padding: 3px;
    }

    .uploader .img-thumbnail {
        background-color: #fbfcfd;
    }





.modal--img-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.8);
    display: none;
    z-index: 999;
}

.modal--img-preview.active {
    display: block;
}

.modal--img-preview .modal__content {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.modal--img-preview .img-preview {
    max-height: 90vh;
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 22px;
}


/* qrcode */
.qrcode-display {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
}

    .qrcode-display image {
        background-color: #fff;
        padding: 20px;
    }


/* chat */
.chat-list li .chat-time {
    margin: 5px 0 0;
}

.chat-list li.reverse .chat-time {
    text-align: right;
}

.chat-list li .chat-content .box {
    padding-left: 0;
    padding-right: 0;
}

.chat-list li {
    background-color: #fff;
    padding: 30px;
    margin-top: 2px;
}

.chat-list li .chat-content .box {
    background-color: #fff;
}

@media(max-width:576px) {
    .chat-list li {
        padding: 30px 15px;
    }
}


/* inbox */
.inbox .table td, 
.inbox .table th {
    padding: 15px;
}

.inbox tr.unread {
    background-color: #fff;
}

.inbox td.subject {
    display: flex;
    align-items: center;
}

.inbox tr.unread td.subject::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: #e84860;
    display: block;
    border-radius: 50%;
    margin-right: 10px;
}

.inbox .table-hover tbody tr:hover {
    background-color: #ffffff;
}




/* inbox chat */
.inbox-chat {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid #ddd;
    color: #333;
}

.inbox-chat:not(.new) {
    background-color: #ebebeb;
}

.inbox-chat:hover {
    color: #333;
    background-color: #ffe9e9;
    border-color: #e16975;
    opacity: 1;
}

    .inbox-chat__icon {
        width: 40px;
        height: 40px;
        background-color: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #ffffff;
        margin-right: 20px;
    }

    .inbox-chat.bulletin .inbox-chat__icon {
        background-color: #d57878;
    }

    .inbox-chat.chat .inbox-chat__icon {
        background-color: #666;
    }

    .inbox-chat__label {
        color: #db6c6c;
        background-color: #ffe5e5;
        border: 1px solid #ffadad;
        padding: 3px 5px;
        margin-right: 15px;
        border-radius: 3px;
        font-size: 14px;
    }

    .inbox-chat__time {
        font-size: 14px;
        margin-left: auto;
    }


    .inbox-chat.new .inbox-chat__subject::after {
        content: "";
        position: relative;
        top: -2px;
        margin-left: 5px;
        width: 6px;
        height: 6px;
        background-color: #60bd46;
        display: inline-block;
        border-radius: 50%;
    }

@media(max-width: 991px) {
    .inbox-chat .inbox-chat__icon {
        margin-left: auto;
        margin-right: auto;
    }

    .inbox-chat__label {
        font-size: 12px;
        padding: 2px;
        width: 55px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 4px;
    }
}
    

/* switch toggle */
.switch-toggle-wrapper {
    display: flex;
}

    .switch-toggle {
        position: relative;
    }

    .switch-toggle:first-child .switch-label {
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }

    .switch-toggle:last-child .switch-label {
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }

        .switch-toggle .switch-label {
            color: #fff;
            padding: 8px 20px;
            border: 2px solid #e84860;
        }

        .switch-toggle [type="radio"] {
            position: absolute;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
        }

        .switch-toggle [type="radio"]:checked ~ .switch-label {
            color: #fff;
            background-color: #e84860;
        }


/* datepicker */
@media(max-width: 1280px) {
    .datepicker-dropdown {
        margin-top: 70px;
    }
}


/* login */
@media (max-width: 767px) {
    .login-register {
        position: relative !important;
        height: calc(100vh - 63px) !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .login-box {
        width: 90%;
    }
    
}
