/* ===== common css ::: 수정 X ===== */
*{text-decoration: none !important;}
.click-m{cursor: pointer;}
.bg-body{background-color: #fafbfe;}
.table-hover tbody tr:hover{background-color: #f1f3fa !important;}
label{margin-bottom: 0.25rem !important;}
button:focus, [type=button], button{outline: none !important;}

/* margin 관련 */
.mt-6{margin-top: 5.5rem;}
.mb-6{margin-bottom: 5.5rem;}

/* padding 관련 */
.py-07{padding: 0.7rem !important;}
.lg-px-12{padding-left: 1.2rem !important; padding-right: 1.2rem !important;}
.p-1-1{padding: 0.4rem !important;}
.p1-pl1{padding: 0.4rem 0.5rem 0.4rem 0.5rem !important;}

/* font 관련 */
.fs-6{font-size: 0.7rem !important;}
.fs-7{font-size: 0.75rem !important;}
.fs-8{font-size: 0.8rem !important;}
.fs-9{font-size: 0.9rem !important;}
.fs-9-5{font-size: 0.95rem !important;}
.fs-10{font-size: 1rem !important;}
.fs-13{font-size: 1.3rem !important;}

.font-weight-bold6{font-weight: 500 !important;}
.fw-normal{font-weight: normal !important;}
.f-w-break{word-break: keep-all;}

.fc-0{color: #ffffff !important;}
.fc-p{color: #222e47;}
.fc-p02{color: #144cc5;}
.fc-p03{color: #E72929;}
.fc-p04{color: #979797;}
.fc-p05{color: #059212;}
.fc-p06{color: #627180;}
.btn-gray{color: #6b6b6b; background: #dbdbdb;}
.btn-gray:hover{background: #cfcfcf;}
.btn-green{color: #ffffff; background: #0d714e;}
.btn-green:hover{background: #0A6847; color: #ffffff;}
.btn-red{background: #E72929;}
.btn-red:hover{background: #c82323; color: #ffffff;}
.bg-gray{background-color: #F9F9F9;}

/* gap 관련 */
.gap0{gap: 0.8em;}

/* 추가 width 값 관련 */
.w-15{width: 15%;}
.w-35{width: 35%;}
.w-48{width: 48%;}
.w-95{width: 95px !important;}

/* i태그 color 관련*/
.dripicons-checkmark:before, .dripicons-information:before{color: #144cc5;}
.dripicons-wrong:before{color: #E72929;}

/* a태그 컬러 */
.a-ul01{color: rgba(0,0,0,.5)!important;}
.a-ul01:hover{color: #144cc5 !important;}
.a-ul01>a{color: rgba(0,0,0,.5)!important;}
.a-ul01>a:hover{color: #144cc5 !important;}

/* input 관련 */
/* placeholder 스타일 지정 */
input::placeholder{color: #9DB2BF !important; opacity: 1;}
input::-webkit-input-placeholder{color: #9DB2BF !important;}

/* checkbox color */
.custom-control-label:before{border-color: #ced4da !important;}
.custom-checkbox .custom-control-input:checked~.custom-control-label::before{background-color: #222e47 !important; border: none;}

/* 공통 왼쪽 사이드바 */
.left-side-menu, .logo{width: 240px;}
.content-page{margin-left: 240px; padding: 80px 10px 65px;}
@media (max-width: 1140px){
    .content-page {padding: 80px 10px 50px;}
}
@media (max-width: 767.98px){
    .left-side-menu {
        left: -240px;
    }

    .content-page {
        margin-left: 0;
        padding: 85px 10px 50px;
    }

    .navbar-custom {
        left: 0 !important;
        width: 100%;
    }

    body.sidebar-enable .left-side-menu {
        left: 0;
    }
}

.side-nav-link{padding: 10px 20px !important;}
.side-nav-second-level li a{padding: 7px 20px 7px 28px !important;}
.side-nav-third-level li a{padding: 7px 20px 7px 36px !important;}
.side-nav .menu-arrow{right: 18px !important;}
.side-nav .menu-arrow{margin-right: 7px !important;}

/* 공통 상단 바 */
.arrow-none:after{display: none !important;}
.navbar-custom{min-height: 60px; left: 240px; padding: 0 24px !important;}
.navbar-custom .topbar-right-menu li{max-height: 60px;}
.nav-user{padding: calc(35px / 2) 25px calc(35px / 2) 25px !important; min-height: 60px;}
.button-menu-mobile{width: 35px; padding: 0; height: 60px; line-height: 0;}
.button-menu-mobile>.btn-menu-i{height: 60px !important;}

/* 각 페이지 title */
.page-title-box .page-title{font-size: 1.3rem; font-weight: 600;}

/* 로딩 스피너 스타일 */
.loading_wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.loading_box{text-align: center;}
.spinner-border{width: 3rem; height: 3rem;}

/* 신용카드 매출전표 출력 시 width 적용 */
#printArea{width: 100%; max-width: 470px;}

/* ===================== table-responsive 라이브러리 추가 css (절대 수정 X) ===================== */
.dataTable tr{white-space: nowrap;}
#date-tables_wrapper{overflow-x: hidden;}
.table th, .table td{vertical-align: middle !important;}

/* table-responsive  "+,-" 버튼 관련 css 추가 */
div.table-responsive>div.dataTables_wrapper>div.row{align-items: center !important; flex-wrap: nowrap !important;}
div.dataTables_wrapper div.dataTables_length{margin-top: 0.25rem;}
.dtr-data>button{
    font-size: 0.85rem;
    padding: 0.25rem 0.7rem;
    vertical-align: baseline;}
@media screen and (max-width: 1140px){
    table.dataTable>tbody>tr.child ul.dtr-details>li{display: flex; align-items: center;}
}
@media screen and (max-width: 767px){
    div.dataTables_wrapper div.dataTables_length{text-align: left !important;}
    div.dt-buttons{text-align: right !important; margin-bottom: 0 !important;}
    .dtr-details .action-icon{padding: 0 !important;}
}
@media screen and (max-width: 575px){
    div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:last-child{padding-left: 0 !important;}
    div.dt-buttons>button{font-size: 0.85rem !important; padding: 0.35rem 0.55rem !important;}
}
@media screen and (max-width: 450px){
    div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child{padding-right: 0 !important; /*max-width: 75px !important;*/}
    div.dataTables_wrapper div.dataTables_length{margin-top: 0 !important; margin-bottom: 0.25rem !important;}
}
table.dataTable>tbody>tr.child ul.dtr-details{width: 100% !important;}
table.dataTable>tbody>tr.child span.dtr-title{min-width: 120px !important; max-width: 120px; white-space: normal; padding: 0.5rem 0.8rem !important; background: #e9ecef; color: #495057 !important;}
table.dataTable>tbody>tr.child span.dtr-data{padding: 0 0.9rem;}
table.dataTable>tbody>tr.child span.dtr-data>a>i{padding: 0 !important;}
table.dataTable>tbody>tr.child ul.dtr-details>li, table.dataTable.dtr-inline.collapsed>tbody>tr>td.child{padding: 0 !important;}
table.dataTable>tbody>tr.child ul.dtr-details>li{border-bottom: 1px solid #dee2e6 !important;}
table.dataTable>tbody>tr.child ul.dtr-details>li:last-child{border-bottom: none !important;}

/* table-responsive 하단 number nav */
div.dataTables_wrapper div.dataTables_info{height: 35px; line-height: 35px; float: left; padding-top: 0 !important;}
div.dataTables_wrapper div.dataTables_info::after{content: ""; display: table; clear: both;}
div.dataTables_wrapper div.dataTables_paginate{float: right;}
div.dataTables_wrapper div.dataTables_paginate::after{content: ""; display: table; clear: both;}
@media screen and (max-width: 767px){
    div.dataTables_wrapper div.dataTables_info{text-align: left !important;}
    .dataTables_paginate ul{margin: 0 !important;}
    li.paginate_button.next, li.paginate_button.previous{font-size: 1rem !important;}
    .page-link{padding: 0.3rem 0.5rem !important;}
}

/* 공지사항 table-responsive -> 제목 th만 class 추가 */
.ellipsis{max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

/* 달력 */
/*.datepicker-dropdown {*/
/*    top: 0;*/
/*    left: 0;*/
/*    z-index: 1002 !important;*/
/*}*/

.fc-event-title{color: black; /* 원하는 색상으로 변경 */}
.fc-daygrid-bg-harness .fc-event{cursor: default !important; /* 기본 커서로 설정 */}
.fc-list-event-time{display: none;}
.fc-list-event-graphic{ display: none;}
.fc .fc-list-event:hover td{background-color: #f5f5f5;}
.fc-daygrid-day-number{color: #333333;}
.fc-col-header-cell-cushion{color: #333333;}
.fc-day-sun .fc-col-header-cell-cushion{color: red;}
.fc-day-sat .fc-col-header-cell-cushion{color: blue;}
.fc-daygrid-day.fc-day-sun .fc-daygrid-day-number{color: red;}
.fc-daygrid-day.fc-day-sat .fc-daygrid-day-number{color: blue;}
