/*!* Modal xxl 사이즈 추가 *!*/
/*@media (min-width: 576px) {*/
/*    .modal-xxl {*/
/*        --bs-modal-width: calc(100vw - 100px);*/
/*    }*/
/*}*/
/*@media (min-width: 767.98px) {*/
/*    .modal-xxl {*/
/*        --bs-modal-width: calc(100vw - 100px);*/
/*    }*/
/*}*/
/*@media (min-width: 992px) {*/
/*    .modal-xxl {*/
/*        --bs-modal-width: calc(100vw - 100px);*/
/*    }*/
/*}*/
/*@media (min-width: 1200px) {*/
/*    .modal-xxl {*/
/*        --bs-modal-width: 1140px;*/
/*    }*/
/*}*/


.btn-xs {
    font-size: 12px;
    line-height: 1.3;
    height: 22px;
    padding: 0.20rem 0.5rem !important;
}


/* 대시보드 Style */
.dashboard_title {
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 600;
}

.dashboard_title_sub {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 500;
    color: #575962;
    margin-bottom: 2px;
}

.dashboard_1_sum {
    overflow: hidden;
    white-space: nowrap;
    font-size: 1.75rem;
    font-weight: 800;
}

.dashboard_1_desc {
    overflow: hidden;
    white-space: nowrap;
    color: #9699a2;
    font-size: 1rem;
    font-weight: 500;
}

.dashboard_1_title {
    color: #575962;
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
}

.dashboard_1_number {
    overflow: hidden;
    white-space: nowrap;
    color: #575962;
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
}

.dashboard_2_desc{
    color: #575962;
    font-size: 1.1rem !important;
    font-weight: 400 !important;
}

.dashboard_2_number {
    font-weight: 800 !important;
}

.align-right {
    text-align: right;
}

.color-brand {
    color: #7239ea;
}

.color-info {
    color: #36a3f7;
}

.color-success {
    color: #34bfa3;
}

.color-danger {
    color: #f4516c;
}

.card-header {
    padding-top: 15px !important;
    padding-bottom: 6px !important;
    min-height: auto !important;
    font-weight: 700 !important;
    font-size: 1.1rem;
}

.btn.btn-light {
    color: var(--bs-light-inverse);
    border-color: var(--bs-light);
    background-color: white;
}

/* View hide */
.m--hide{
    display:none!important
}

/* input 태그 Read Only */
/*.form-control[readonly] {*/
/*    background-color: #f4f5f8;*/
/*    border-color: #f4f5f8;*/
/*    color: #575962;*/
/*}*/

/* selectpicker 디자인 변경 */
.bootstrap-select>.dropdown-toggle {
    display: block !important;
    width: 100% !important;
    font-size: 1.1rem;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    color: var(--bs-gray-700) !important;
    background-color: var(--bs-body-bg) !important;
    background-clip: padding-box !important;
    border: 1px solid var(--bs-gray-300) !important;
    appearance: none !important;
    border-radius: 0.475rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}



/* timepicker 디자인 변경 */
.bootstrap-timepicker-widget table td input {
    border: 0;
}

/* input group 디자인 변경 */
.input-group-text {
    border-radius: 0;
    height: 100%;
}

@media (max-width: 992px) {
    .m-hide {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .d-hide {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .sm-hide {
        display: none;
    }
}


/** input readonly 스타일 적용 */
input[readonly], input[readonly]:focus {
    color: var(--bs-gray-500);
    background-color: var(--bs-gray-200);
    border-color: var(--bs-gray-300);
    opacity: 1;
}

input[disabled], input[disabled]:focus {
    color: var(--bs-gray-500) !important;
    background-color: var(--bs-gray-200) !important;
    border-color: var(--bs-gray-300) !important;
    opacity: 1 !important;
}


.flatpickr-input, .flatpickr-input-end {
    background-color: #ffffff !important;
    color: #000000 !important;
}


.text-left {
    text-align: left !important;
}
.text-right {
    text-align: right !important;
}

.text-center {
    text-align: center !important;
}


/** as is 코드에서 tab ui 이상한 부분 수정 */
.nav-tabs {
    margin-bottom: 20px;
}

/** as is 코드에서 input-group이 부모요소보다 클 경우 자동 줄바꿈 방지 */
.input-group {
    flex-wrap: nowrap;
}

/* as is 코드에서 하단 input 박스 ui 깨짐 방지*/
.m-form__group {
    margin-bottom: 5px;
}

/* as is 코드에서 메뉴 접근 권한 스크롤 적용 */
.menu-scroll {
    height: 300px;
    overflow-y: scroll;
}

/** 모달 스크롤 적용 */
.modal-dialog-scrollable .modal-content {
    min-height: 500px;
}


.cobopay_brand_color {
    background-color : #716aca !important;
    color: white !important;
}

.reverse_cobopay_brand_color {
    color : #716aca !important;
    background-color: white !important;
}


.hide {
    display: none;
}


.flatpickr-wrapper {
    width: 100%;
}

.fs-12px {
    font-size: 12px;
}
.fs-13px {
    font-size: 13px;
}
.fs-14px {
    font-size: 14px;
}

.form-control-feedback {
    color: #f4516c;
    font-size: 13px;
    font-weight: 400;
}

/*.nav-link {*/
/*    font-size: 14px;*/
/*}*/


.border-top-right-radius-0 {
    border-top-right-radius: 0;
}

.border-bottom-right-radius-0 {
    border-bottom-right-radius: 0;
}

.border-top-left-radius-0 {
    border-top-left-radius: 0;
}

.border-bottom-left-radius-0 {
    border-bottom-left-radius: 0;
}




/* BEGIN :: 로딩중 뷰 구현 */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.loader {
    border: 8px solid rgba(243, 243, 243, 0.11);
    border-top: 8px solid rgba(26, 142, 222, 0.93);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* END :: 로딩중 뷰 구현 */


.swal2-validation-message {
    color: #f4516c;
    font-size: 13px;
    font-weight: 400;
    text-align: left;
    background: rgba(255, 255, 255, 0);
    padding: 0;
    margin: 20px 0 -26px 0;
    align-items: unset !important;
    justify-content: unset !important;
    overflow: hidden;
}

.swal2-popup {
    padding: 20px 25px 20px 25px;
}

.swal2-html-container {
    margin: 0 0 -15px 0;
}

.swal2-validation-message::before {
    content: unset;
    display: none;
    width: unset;
    min-width: unset;
    height: unset;
    margin: unset;
    border-radius: unset;
    background-color: unset;
    color: unset;
    font-weight: unset;
    line-height: unset;
    text-align: unset;
}


.form-check-input:checked {
    background-color: #009ef7 !important;
    border-color: #009ef7 !important;
}


input:read-only, input:disabled {
    color: var(--bs-gray-700) !important;
}


/*.actions-btn.bs-select-all.btn.btn-light, .actions-btn.bs-deselect-all.btn.btn-light {*/
/*    color: var(--primary) !important;*/
/*}*/


/*.app-header {*/
/*    background: #1e1e2d;*/
/*}*/

/*.app-header #myclock {*/
/*    color: white;*/
/*}*/

/*.app-header .align-items-center.btn.btn-active-color-primary {*/
/*    color: white;*/
/*}*/


.flatpickr-monthSelect-months {
    padding: 0;
    margin: 0;
}
.flatpickr-monthSelect-month {
    padding: 5px;
    margin: 8px 0 8px 0;
}


.card {
    --bs-card-box-shadow: 0px 0px 20px 0px rgb(76 87 125 / 9%);
}


.font-weight-bold {
    font-weight: 700 !important;
}

.note-editable {
    background: #FFFFFF;
}

.swal2-container .swal2-html-container {
    /* max-height 사용 안함 */
    max-height: unset;
}


/** 캘린더 토요일 색상 변경 */
.fc-day-sat .fc-col-header-cell-cushion, .fc-day-sat .fc-daygrid-day-number {
    color: var(--bs-primary) !important;
}
/** 캘린더 일요일 색상 변경 */
.fc-day-sun .fc-col-header-cell-cushion, .fc-day-sun .fc-daygrid-day-number {
    color: var(--bs-danger) !important;
}

textarea.form-control:read-only {
    color: var(--bs-gray-700) !important;
    background-color: var(--bs-gray-200);
    border-color: var(--bs-gray-300);
}

/*.table {*/
/*    width: 100%;*/
/*    margin-bottom: 1rem;*/
/*    color: var(--bs-table-color);*/
/*    vertical-align: top;*/
/*    border-color: #f1faff;*/
/*}*/

/*table.dataTable th {*/
/*    border-bottom-color: #f1faff;*/
/*}*/

.numInputWrapper .arrowUp, .numInputWrapper .arrowDown {
    opacity: 1 !important;
}

/* select-box disabled 디자인 변경 */
.btn.dropdown-toggle.disabled.btn-light {
    color: var(--bs-gray-700) !important;
    background-color: var(--bs-gray-200) !important;
    border-color: var(--bs-gray-300) !important;
    opacity: 1 !important;
}

.fc-popover-header, .fc-popover-body {
    background: white !important;
}

.fc-event-title-container {
    text-align: left !important;
}

.fc-daygrid-event-dot {
    display: none !important;
}

.fc-daygrid-dot-event {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: 1px solid var(--fc-event-border-color, #3788d8) !important;
    background-color: var(--fc-event-bg-color, #3788d8) !important;
    color: var(--fc-event-text-color, #fff) !important;
}
.fc-event-time {
    font-weight: 700;
}


.flatpickr-day.today:not(.selected) {
    background: #e8fff3 !important;
    font-weight: 700 !important;
    border-color: #50cd89;
    /*color: white;*/
}

.flatpickr-calendar.hasTime .flatpickr-time {
    border-top-color: var(--bs-gray-300);
    margin-top: 10px;
}




/* iOS Safari 대응용 모달 스타일 */
/*body.modal-open {*/
/*    overflow: auto !important;*/
/*    position: static !important;*/
/*}*/

/*.modal.show {*/
/*    transform: none !important;*/
/*    top: 50% !important;*/
/*    left: 50% !important;*/
/*    transform: translate(-50%, -50%) !important;*/
/*    position: fixed !important;*/
/*    max-width: 90vw !important;*/
/*    z-index: 1055;*/
/*}*/


@media only screen and (max-device-width: 480px) {
    /* iPhone only CSS here 아이폰 확대 이후 모달 이상하게 동작하는 부분 수정 */
    .modal-dialog {
        width: 100% !important;
        min-width: 100vw !important;  /* 원하는 최대 크기 (모바일 기준) */
        padding-right: 10px;
    }

    .modal-content {
        width: 100% !important;
        min-width: 100% !important;
        box-sizing: border-box;
    }
}

