/*
body, * {
    font-family : 'NanumBarunGothic', sans-serif;
}
*/
/*---------------------------------
    file manager 관련 style.css
----------------------------------*/

.file-wrap {
    border: 1px solid #e0e3e4;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
.file-wrap .file-sidebar {
    border-right: 1px solid #e0e3e4;
    left: 0;
    position: absolute;
    z-index: 5;
    width: 300px;
	transition: 0.3s ease-in-out;
}
.file-wrap .file-sidebar .file-header {
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid #e0e3e4;
    color: #324148;
    display: flex;
    height: 72px;
    justify-content: space-between;
    padding: 0 15px;
}
.file-wrap .file-sidebar .file-header span {
    font-size: 20px;
    font-weight: 600;
    text-transform: capitalize;
}
.file-wrap .file-sidebar .file-search {
    background-color: #f5f5f6;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 15px;
    width: 100%;
}
.file-wrap .file-sidebar .file-search .input-group {
    width: 100%;
}
.file-wrap .file-sidebar .file-search .input-group .form-control {
    background-color: #fff;
    border-radius: 50px;
    padding-left: 36px;
}
.file-wrap .file-sidebar .file-search .input-group .form-control:focus {
    border-color: #ccc;
    box-shadow: none;
}
.file-wrap .file-sidebar .file-search .input-group .input-group-prepend {
    align-items: center;
    bottom: 0;
    color: #666;
    display: flex;
    left: 15px;
    pointer-events: none;
    position: absolute;
    top: 0;
    z-index: 4;
}
.file-wrap .file-scroll {
    max-height: calc(100vh - 259px);
    min-height: 497px;
    overflow-y: auto;
}
.file-wrap .file-sidebar .file-pro-list {
    background-color: #fff;
    padding: 15px;
}
.file-side-close {
    display: none;
    background-color: #eee;
    border: 1px solid #e3e3e3;
    border-radius: 24px;
    color: #bbb;
    font-size: 14px;
    line-height: 24px;
    min-height: 26px;
    text-align: center;
    width: 26px;
    position: absolute;
    right: 15px;
}
.file-wrap .file-content {
    flex: 0 0 100%;
    max-width: 100%;
}
.file-wrap .file-content .file-header {
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid #e0e3e4;
    display: flex;
    height: 72px;
    justify-content: space-between;
    padding: 0 15px;
}
.file-wrap .file-content .file-body {
    background-color: #f5f5f6;
}
.dropdown-file {
    position: absolute;
    top: 10px;
    right: 10px;
}
.dropdown-file .dropdown-link {
    color: #777;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.dropdown-file .dropdown-link:hover, .dropdown-file .dropdown-link:focus {
	color: #1b2e4b;
}
.dropdown-file .dropdown-item {
	font-size: 12px;
	display: flex;
	align-items: center;
	padding: 5px 10px;
}
.card-file {
	padding: 10px;
	position: relative;
	transition: all 0.2s ease-in-out;
}
.card-file:hover, .card-file:focus {
	border-color: #ccc;
}
.card-file .card-body {
	padding: 15px 0 0;
}
.card-file .card-footer {
	font-size: 11px;
	color: #a9a9a9;
	padding: 10px 0 0;
	border-top-width: 0;
	background-color: transparent;
}
.card-file h6 {
	margin-bottom: 0;
	font-size: 0.875rem;
}
.card-file h6 a {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	display: block;
	width: 100%;
	color: #333;
}
.card-file span {
	font-size: 12px;
	color: #888;
}
.card-file-thumb {
	align-items: center;
	background-color: #f5f5f5;
	color: #777;
	display: flex;
	font-size: 48px;
	height: 120px;
	justify-content: center;
}
.file-wrap .file-content .file-body .file-content-inner {
    padding: 15px;
    width: 100%;
}
.file-wrap.file-sidebar-toggle .file-sidebar {
    left: -331px;
}
.file-wrap.file-sidebar-toggle .file-cont-wrap {
	margin-left: 0;
}
.file-wrap .file-cont-wrap {
    display: flex;
    flex-wrap: wrap;
    margin-left: 300px;
	transition: 0.4s ease-in-out;
}
.file-wrap .file-cont-wrap .file-cont-inner {
	flex: 0 0 100%;
	max-width: 100%;
}
.file-wrap .file-cont-wrap .file-cont-inner .file-cont-header {
	align-items: center;
	background: #fff;
	border-bottom: 1px solid #e0e3e4;
	display: flex;
	height: 72px;
	justify-content: space-between;
	padding: 0 15px;
}
.file-wrap .file-cont-wrap .file-cont-inner .file-cont-header > span {
	color: #333;
	font-size: 20px;
	font-weight: 600;
}
.file-wrap .file-cont-wrap .file-cont-inner .file-cont-header .file-sidebar-toggle {
	color: #333;
}
.file-wrap .file-cont-wrap .file-cont-inner .file-cont-header .file-options {
	display: flex;
}
.file-wrap .file-cont-wrap .file-cont-inner .file-cont-header .file-options > a, 
.file-wrap .file-cont-wrap .file-cont-inner .file-cont-header .file-options > span {
	color: #333;
	display: inline-block;
	font-size: 20px;
	margin-left: 25px;
}
.file-wrap .file-cont-wrap .file-cont-inner .file-cont-header .file-options > a:first-child, 
.file-wrap .file-cont-wrap .file-cont-inner .file-cont-header .file-options > span:first-child {
	margin-left: 0;
}
.file-wrap .file-content .file-search {
    background-color: #f5f5f6;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 15px;
    width: 100%;
}
.file-wrap .file-content .file-search .input-group {
    width: 100%;
}
.file-wrap .file-content .file-search .input-group .form-control {
    background-color: #fff;
    border-radius: 50px;
    padding-left: 36px;
}
.file-wrap .file-content .file-search .input-group .form-control:focus {
    border-color: #ccc;
    box-shadow: none;
}
.file-wrap .file-content .file-search .input-group .input-group-prepend {
    align-items: center;
    bottom: 0;
    color: #666;
    display: flex;
    left: 15px;
    pointer-events: none;
    position: absolute;
    top: 0;
    z-index: 4;
}
.btn-file {
	display: inline-block;
	overflow: hidden;
	position: relative;
	vertical-align: middle;
}
.btn_login {
    font-size: 15px;
    font-weight: 700;
}
.btn-file input {
	cursor: pointer;
	direction: ltr;
	filter: alpha(opacity=0);
	font-size: 23px;
	height: 100%;
	margin: 0;
	opacity: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
}
.file-menu {
	display: inline-block;
	margin: 0 0 10px;
	padding: 0;
	width: 100%;
}
.file-menu li {
	display: inline-block;
	width: 100%;
}
.file-menu li + li {
	margin-top: 2px;
}
.file-menu li a {
	color: #333;
	display: inline-block;
	padding: 10px 15px;
	width: 100%;
	text-transform: capitalize;
	-webkit-transition: 0.3s ease;
	-moz-transition: 0.3s ease;
	transition: 0.3s ease;
}
.file-menu li a i {
	font-size: 16px;
	padding-right: 10px;
	color: #878787;
}
.file-menu li a:hover, .file-menu li.active a, .file-menu li a:focus {
	background: rgba(33, 33, 33, 0.05);
}
.show-more {
	text-align: center;
}
.show-more a {
    position: relative;
    padding: 0 20px 0 15px;
}
.show-more a:before {
    content: '\f107';
    top: 50%;
    right: 0;
    position: absolute;
    font-size: 18px;
    line-height: inherit;
    font-family: 'FontAwesome';
    transform: translateY(-50%);
}

/*  END file manager 관련 style.css  */

/* 오디오코믹스 sidebar */
.plus-sidebar {
    padding : 0 2.25rem 0 1.25rem !important;
}
.plus-sidebar .nav .nav-item {
    padding : 0 1.25rem !important;
}
.sidebar-title {
    font-weight : bold;
    color       : grey;
    padding     : 1.25rem 0 0 0;
}

.audio .card-body {
    padding: 1.5rem 1.5rem;
}

.index-title-color {
    background-color:#f5ebff;
}
.index-title-font {
    font-weight:bold; 
    text-align:center;
}

/* 공통 스타일 규칙 */
#handson_wz_note .ht_clone_top thead th,
#handson_wz_series .ht_clone_top thead th,
#handson_wz_author .ht_clone_top thead th,
#handson_wz_penname .ht_clone_top thead th,
#handson_wz_seriespen .ht_clone_top thead th,
#handson_wz_contract .ht_clone_top thead th,
#handson_wz_platcont .ht_clone_top thead th,
#handson_wz_mg_last .ht_clone_top thead th,
#handson_wz_platsales .ht_clone_top thead th,
#handson_wz_deduct_last .ht_clone_top thead th,
#table_platform .ht_clone_top thead th,
#table_label .ht_clone_top thead th,
#table_penname .ht_clone_top thead th,
#table_series .ht_clone_top thead th,
#table_platform_notyet .ht_clone_top thead th,
#handson_wz_series .htCore thead th,
#handson_wz_author .htCore thead th,
#handson_wz_penname .htCore thead th,
#handson_wz_seriespen .htCore thead th,
#handson_wz_contract .htCore thead th,
#handson_wz_platcont .htCore thead th,
#handson_wz_mg_last .htCore thead th,
#handson_wz_platsales .htCore thead th,
#handson_wz_deduct_last .htCore thead th,
#table_platform .htCore thead th,
#table_label .htCore thead th,
#table_penname .htCore thead th,
#table_series .htCore thead th,
#table_platform_notyet .htCore thead th {
    height: 24px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    line-height: 24px; /* 높이와 동일하게 설정하면 세로 중앙 정렬 효과 */
    /*background-color: #fff; */
}

/* 추가적인 스타일 규칙 */
#handson_wz_note .htCore thead th,
#handson_wz_series .htCore thead th,
#handson_wz_author .htCore thead th,
#handson_wz_penname .htCore thead th,
#handson_wz_seriespen .htCore thead th,
#handson_wz_contract .htCore thead th,
#handson_wz_platcont .htCore thead th,
#handson_wz_mg_last .htCore thead th,
#handson_wz_platsales .htCore thead th,
#handson_wz_deduct_last .htCore thead th,
#table_platform .htCore thead th,
#table_label .htCore thead th,
#table_penname .htCore thead th,
#table_series .htCore thead th,
#table_platform_notyet .htCore thead th {
    font-size: 14px;
    font-weight: bold;
}

#handson_wz_series  .ht_clone_inline_start .htCore th,
#handson_wz_contract  .ht_clone_inline_start .htCore th {
    vertical-align: middle; /* 세로 방향 가운데 정렬 */
    /* height: 25px !important;  
    /*높이가 고정이면 내용물이 2줄인 경우 늘어나지 못함 */
    line-height: 24px; /* 높이와 동일하게 설정하면 세로 중앙 정렬 효과 */
}


.handsontable .htCore td:hover {
    background-color: #eae4e9; /* 호버 배경색 */
}
.modal.right .modal-dialog {
    position: fixed;
    right: 0;
    margin: auto;
    width: 50%; /* 적절한 너비로 조정하세요 */
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}
/* 모바일 화면에서 너비를 90%로 조정 - ipad -mini */
@media (max-width: 768px) {
    .modal.right .modal-dialog {
        width: 90%;
    }
    /* .sales_series {
        margin-top: 30px; 
    } */
    
    /* 정산서 다운로드 버튼 */
    #btnpdfDownload{
        margin-top: 15px;
    }    
    #passwordModal .modal-dialog .modal-content  {
        width: 100% !important;
        max-width: none; /* 기본 최대 너비 제한을 없앰 */
    }
}

.modal.right .modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal.right .modal-body {
    padding: 15px 15px 80px;
}

/*  modal 공통*/
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 50%;
        margin: 1.75rem auto;
    }
    /*패스워드 변경 모달 크기*/
    #passwordModal .modal-dialog {
        max-width: 30%; 
        margin: 1.75rem auto;
    }    
}


/*  modal 화면 너비가 576px 이하인 경우 검색 버튼 상단 패팅 */
@media (max-width: 576px) {
    .pt_btn {
        margin-top: 1.05rem;
    }
}

/*   작가 계약작품건수/출간작품건수 레이블 숨기기 */
@media (max-width: 1460px) {
    .lab_cont_cnt, .lab_pub_cnt {
        display: none;
    }
}

/*   작가 계약작품건수/출간작품건수 레이블 숨기기 */
@media (max-width: 1110px) {
    .novel_cnt {
        display: none;
    }

}

.index-title-color {
    background-color:#dbfffc !important;
}   
.index-title-font {
    font-size:1rem;
    font-weight:bold;
    text-align:center;
}


#dynamicModal .modal-content {
    background-color: #fff;
}
#dynamicModal div.dt-container .dt-input {
    margin: 0 5px;
}
#dynamicModal  .dt-layout-row {
    margin-bottom: 1rem;
}


#popupWithTitle .modal-content {
    background-color : #fff !important;
}
#popupWithTitleTitle {
    font-weight:bold;
    border-bottom:1px solid #ebedf2;
}

.card .card-description2 {
    color: #58626b;
    font-size:1rem;
    /* font-family: "ubuntu-regular", sans-serif; */
}

.card .card-description3 {
    color: #58626b;
    font-size:1.3rem;
    /* font-family: "ubuntu-regular", sans-serif; */
}

.settlement-title {
    font-size: 15px;
    color: #198ae3 ;
    font-weight: 800;
}

.settle_select {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 28px;
    /* font-family: "ubuntu-regular", sans-serif; */
    padding: 2px;
    border: 1px solid #a4a4a4;  
    border-radius: 5px;
    /* margin: 3px; */
}

#settl_table1 .sub-text{
    font-size: 12px;
    color: #198ae3 ;
    /* font-weight: 800; */
}

/*정산서 인쇄 시 body card에 테두리 삭제*/
.bg_none{
    border: none !important;
    box-shadow: none !important;
}

#div_month_file .card-file{
    height  : 250px;
}
#div_month_file .card-file-thumb{
    height  : 120px !important;
}
#div_month_file .card-body{
    text-align  : center;
}
#div_month_file .card-body h6{
    font-size   : 130% !important;
    text-align  : center;
}
#div_month_file .card-footer{
    font-size   : 105% !important;
    text-align  : center;
}
#div_month_file .card-footer span{
    font-size   : 105% !important;
}

.excelBtn {
    text-align: center;
    vertical-align: middle;
    /* user-select: none; */
    /* background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 0.875rem;
    line-height: 1.5;    
    border-radius: 4px;
    color: #fff; */
    background-color: #FF8616;
    border-color: #FF8616;
}

/* 일별 판매 현황*/
#settl_table2_wrapper .dt-buttons {
    float: right !important;
    padding-top: 10px;
    padding-bottom: 10px;
}
#data_table_wrapper .dt-buttons {
    float   : right !important
}


#data_table_wrapper .dt-length,
#data_table_wrapper .dt-search {
    display: inline-block;
    vertical-align: middle;
    /* font-family: "ubuntu-regular", sans-serif; */
    font-size: 0.8825rem;
}
#data_table_wrapper .dt-search {
    float   : left;
}
#data_table_wrapper .dt-info {
    /* font-family: "ubuntu-regular", sans-serif; */
    font-size: 0.8825rem;        
    margin-top  : 0.5rem; 
    float   : left;
    margin-right  : 0.5rem; 
}
#data_table_wrapper .dt-length {
    float   : left;
    margin-top  : 0.5rem; 
}
#data_table_wrapper .dt-paging {
    display: flex;
    justify-content: right;
    margin-top  : 0.5rem; 
    /* font-family: "ubuntu-regular", sans-serif; */
    font-size: 0.8825rem;    
}

/* 상단 오른쪽 로그아웃 영역 - 마우스 오버 시 글자 색상 */
.dropdown-menu .dropdown-item:hover {
    color: black !important;  
}


/* 비밀번호 변경 모달 */
div.main {
    position: relative;
    padding: 5px;
}

/* Styles for the input and icon */
div.main input {
    width: 100%;               /* Use 100% width to be responsive */
    height: 46px;              /* Set the height of the input */
    border: 0;                 /* Remove default border */
    background-color: #E8F0FE; /* Set the background color */
    color: black;            /* Set the text color */
    text-indent: 10px;         /* Add indentation to the text */
    box-sizing: border-box;    /* Include padding and border in the element's total width and height */
    padding: 0 10px;           /* Add padding inside the input */
    border-radius: 4px;        /* Optional: Add rounded corners */
}


.modal-title {
    text-align: center;      /* 텍스트 가운데 정렬 */
    margin-bottom: 0;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.00em; /* 자간 설정 */
}

/* 판매현황 -  레이블,  플랫폼,  작가, 시리즈 토글 */
.columns-wrapper {
    display: flex; /* Use flexbox for the columns */
}

.column {
    transition: flex 0.3s ease; /* Smooth transition for column width */
    flex-grow: 1; /* Allow columns to grow equally */
}

.column.hidden {
    display: none; /* Completely hide the column */
}

.column:not(.hidden) {
    opacity: 1; /* Ensure visible columns are opaque */
}

#switch_label, 
#switch_platform,
#switch_penname,
#switch_series {
    display: flex;
    justify-content: flex-end;
    align-items: center;    
}

/* 관리자 - 일매출/월매출 총 합계*/
.total_amt{
    font-size: 0.8825rem;   
    font-weight: 700;
    color: #2d65cd; /* 강조 색상 */
}

/* 눈모양: Add focus style to input */
div.main input:focus {
    outline: none;             /* Remove default focus outline */
    background-color: #E8F0FE; /* Change background color on focus */
    border: 1px solid #E8F0FE; /* Optional: Add a border on focus */
}
div.main i {
    position: absolute;
    right: 10px; /* Position the icon to the right of the input */
    top: 70%;
    transform: translateY(-70%); /* Center the icon vertically */
}

/* Media query for screens with a max width of 600px (mobile devices) */
@media (max-width: 600px) {
    div.main input {
        width: 100%; /* Ensure the input takes the full width on mobile */
        height: 46px; /* Slightly reduce the height for mobile */
    }

    div.main i {
        right: 10px; /* Adjust the icon position if needed */
        top: 70%;
        transform: translateY(-70%);
    }
}

/* 기타차감 */
.input-group-append .input-group-text, .input-group-prepend .input-group-text {
    border-color: #ebedf2;
    /* font-family: "ubuntu-regular", sans-serif; */
    font-size: 0.9825rem;   
    color: #1b1b1b;
}

/* 정산서 파일 삭제 드롭다운 숨기기 */
#div_month_file .delete_file {
    display : none;
}

/* 추가 모달창 속성 */
#plat_add_modal .modal-content,
#edit_modal .modal-content {
    background-color            : white;
    border-top-right-radius     : 0px;
    border-bottom-right-radius  : 0px;
}
#plat_add_modal .modal-body,
#edit_modal .modal-body {
    overflow-x: hidden;
    max-height: none;
}
/*공통 모달위 제목*/
#plat_add_modal #myModalLabel,
#edit_modal #myModalLabel {
    font-weight     : 430;
    /* letter-spacing  : 0.25rem; */
}
#plat_add_modal label,
#edit_modal label {
    font-weight:bold;
}
#offcanvasRight label {
    font-weight:bold;
}
/* index */
.index-background-image {
    position: relative;
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('/static/assets/images/bnnd_logo_mark.png');
    background-size: 180px;
    background-repeat: no-repeat;
    background-position: center;
    text-align: left; 
}
.dash_amount, a {
    color   : #405189;
}

.modal-body .form-group {
    margin-bottom: 0.9rem;
}

/* Lainey CSS */
#back-to-top {
    display   : block !important;
}
.hide {
    display: none;
}


/* .form-control, .form-group.select2 { */
.form-group.select2 {
    width: 100%;
    height: calc(1.5em + .75rem + 2px); /* Same height as .form-control */
    padding: .375rem .75rem; /* Same padding as .form-control */
    font-size: 1rem; /* Same font size as .form-control */
    line-height: 1.5; /* Same line height as .form-control */
    color: #495057; /* Same color as .form-control */
    background-color: #fff; /* Same background color as .form-control */
    background-clip: padding-box; /* Same background-clip as .form-control */
    border: 1px solid #ced4da; /* Same border as .form-control */
    border-radius: .25rem; /* Same border-radius as .form-control */
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; /* Same transition as .form-control */
}
.form-group.select2 {
    display: inline-block;
    width: 100%;
}
.active-menu {
    color: #fff;
}





.large-checkbox {
    width: 20px;
    height: 20px;
}
.large-label {
    font-size: 1.2em; /* 글씨 크기를 키움 */
}
#container {
    display: flex;
    flex-direction: column; /* 세로 방향으로 정렬 */
    height: 100vh;
    overflow: hidden;
}
.text-info {
    margin-bottom: 15px; /* 텍스트와 Handsontable 테이블 사이의 간격 조절 */
}
.handsontable-row {
    display: flex;
    flex: 1; /* Handsontable 테이블이 컨테이너의 공간을 차지하도록 설정 */
    overflow: hidden; /* 테이블이 넘치는 경우 숨김 처리 */
    align-items: flex-start; /* 테이블이 컨테이너의 상단에 맞춰지도록 설정 */
}
.handsontable-container {
    flex: 1; /* 테이블이 컨테이너의 공간을 차지하도록 설정 */
    min-width: 0; /* 테이블의 최소 너비를 0으로 설정하여 과도한 공간 차지 방지 */
    overflow: auto; /* 내용이 넘치는 경우 스크롤 표시 */
}
.handsontable-container:first-child {
    margin-right: 10px;
    flex: 2; /* 첫 번째 테이블의 크기를 두 배로 설정 */
}
.handsontable-container:last-child {
    flex: 1; /* 두 번째 테이블의 크기를 기본값으로 설정 */
}

/* 모달 화면 상단 저장, 취소 버튼 */
.button-container button {
    padding-left: 10px;  /* 왼쪽 패딩 */
    padding-right: 10px; /* 오른쪽 패딩 */
}
/* 모달 화면 상단 저장, 취소 버튼 */

/* 부모창 검색 영역의 추가/삭제 버튼 간격*/
.wz_series_search_form button {
    margin-left: 10px;  /* 왼쪽 패딩 */
    margin-right: 10px; /* 오른쪽 패딩 */
}
.audio-search-form .select2{
    height: 57px;
}

.btn-list button {
    margin-left: 5px; /* 오른쪽 패딩 */
}


.input-group .btn {
    flex: 0 0 30%; /* Button takes up 30% */
    max-width: 30%;
    box-sizing: border-box;
    padding: 6px 12px; /* Adjust padding to avoid text clipping */
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Prevent text from overflowing */
    text-overflow: ellipsis; /* Add ellipsis if text is too long */
}
/* 
.select2-container--open {
    position: absolute !important;
    z-index: 99999 !important;  
} */


.select2-search__field {
    display: block !important;
}

.select2-search--dropdown .select2-search__field {
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
}

/* 모달 header 아래 라인 만들기 */
#edit_modal .modal-body,
#plat_add_modal .modal-body {
    /* margin-left: 10px; */
    border-top: 1px solid #d7d7d7;
    margin-top: 12px;
}

/* 모달, 검색 영역의 버튼의 여백 */
#edit_modal .modal-header button,
#plat_add_modal .modal-header button,
.audio-search-form button{
    margin-left: 10px;
}

/* dropdown */
.dropdown-menu {
    position: absolute;
    top: 65px;     /* 드롭다운 버튼 아래 65px */
    right: 0px;    /* 오른쪽에 맞춤 */
    margin: 0px;
    transform: none;
    display: none; /* 기본적으로 숨김 */
}

.dropdown-menu.show {
    display: block; /* .show 클래스가 있을 때만 보임 */
}

.btn.p-1 {
    padding-left: .45rem !important;
    padding-right: .45rem !important;
}

/* 매출정보 조회 시 check */
#salesPlatformArea .form-check {
    margin-right: 25px;
}

/* 만약 마지막 요소에 여백을 적용하지 않으려면, :last-child를 사용할 수 있습니다. */
#salesPlatformArea .form-check:last-child {
    margin-right: 0;
}


.custom-modal-dialog {
    width: 90%;
    max-width: 90%;
    margin: 50px ;
    /* margin : auto; 상단과 하단에 40px 여백 추가 */
}

/* .modal-content {
    height: calc(100vh - 60px);
    overflow-y: auto;
} */

.font-weight-bold {
    font-weight: 700 !important; /* 부트스트랩 기본값을 강제로 적용 */
}


/* 일별 매출 페이지 */
/* ul 안의 ul을 왼쪽 정렬 */
/* .list-star {
    max-width: 100%;  
    max-height: 200px;
    overflow-y: auto; 
    overflow-x: hidden;
} */

.list-star ul {
    margin: 0; /* 기본 여백 제거 */
    padding: 0; /* 기본 패딩 제거 */
}

/* ul 안의 li 스타일 조정 */
.list-star li ul {
    padding-left: 2px; 
}



/* 테이블 스타일 설정 */
#sales_info_table {
    table-layout: fixed; /* 테이블의 레이아웃을 고정하여 셀 너비를 제어 */
    width: 100%;
    height: 45px !important;
}

/* 열 너비 설정 */
#sales_info_table th, #sales_info_table td {
    height: 45px; /* 셀 높이 설정 */
    text-align: center; /* 텍스트 중앙 정렬 */
}

/* 각 열에 대한 너비 설정 */
#sales_info_table th:nth-child(1),
#sales_info_table td:nth-child(1) {
    width: 20%; /* 첫 번째 열 너비 30% */
}

#sales_info_table th:nth-child(2),
#sales_info_table td:nth-child(2) {
    width: 30%; /* 두 번째 열 너비 30% */
}

#sales_info_table th:nth-child(3),
#sales_info_table td:nth-child(3) {
    width: 20%; /* 세 번째 열 너비 20% */
}

#sales_info_table th:nth-child(4),
#sales_info_table td:nth-child(4) {
    width: 30%; /* 네 번째 열 너비 20% */
}


/* 일별 판매 현황 */
#day_table_wrapper .dt-buttons {
    margin-top: 10px;
    /* margin-bottom: 1rem; */
    display: flex;
    /* justify-content: flex-end; */
    justify-content: flex-start;
    font-size: 0.9825rem;
}

#day_table_wrapper .dt-length {
    float: left;
}
#day_table_wrapper .dt-search {
    /* font-family: "ubuntu-regular", sans-serif; */
    font-size: 0.8825rem;
    float: right;
}

#day_table_wrapper .dt-info {
    /* font-family: "ubuntu-regular", sans-serif; */
    font-size: 0.8825rem;
    float: left;
}
#day_table_wrapper .dt-paging {
    display: flex;
    margin-top: 0.5rem;
    justify-content: right;
    /* font-family: "ubuntu-regular", sans-serif; */
    font-size: 0.8825rem;
}
/* DataTables button 기본 스타일 덮어쓰기 */
.dt-buttons .btn-outline-info {
    background: white !important;
    border-color: #17a2b8 !important; /* Bootstrap info 색상 */
    color: #17a2b8 !important;
}
.dt-buttons .btn-outline-primary {
    /* background: #8A6885 !important;
    border-color: #d8c1d3 !important;  
    color: #ffffff !important; */

    background: #0d1b2a !important;
    border-color: #1b263b !important;  
    color: #ffffff !important;    
}

#day_table_wrapper  .btn_day_download{
    top: -10px;
    border-radius: 6px; /* 또는 999px (pill 스타일) */
}


/* index.htm 정산월 정보 테이블 */

/* 대시보드 정산기준 표 */
/* 화면 너비가 995px 이하일 때 */
@media (max-width: 995px) {
    .sal-table {
        height: 280px !important;
    }
}

.sal-table {
    display: flex;
    justify-content: center; /* 가로 가운데 정렬 */
    align-items: center;     /* 세로 가운데 정렬 */
    height: 240px;           /* 높이 설정, 필요에 따라 조정 */
    overflow: hidden;        /* 자식 요소가 부모를 넘치는 경우 숨기기 */
}

.sal-table .table {
    margin: 0;               /* 테이블의 기본 마진 제거 */
}

.sal-table .table-responsive {
    width: 95%;             /* 테이블의 너비를 부모에 맞게 설정 */
    overflow-x: auto;        /* 내용이 넘칠 경우 스크롤 가능 */
}

.sal-table .table-sm .badge {
    font-size: 0.815rem;    
}

.sal-table .text-center {
    text-align: center;      /* 텍스트 가운데 정렬 */
}

.sal-table .table td, 
.sal-table .table th {
    height: 43px;            /* 원하는 높이 설정 */
    vertical-align: middle;  /* 세로 가운데 정렬 */
}


#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 28px;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    display: none;
    z-index: 1000;
}

/*공지사항 테이블 header 제목 가운데 정렬*/
#notice_table_wrapper .dt-scroll-head table th{
    text-align: center;
}

/* 
#settl_table2_wrapper .dt-scroll-head
{
    border-collapse: collapse;
    width: 100%;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-align: left;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: auto;
  }

  #settl_table1 {
    border-collapse: collapse;
    width: 100%;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-align: left;

    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: auto;

  }

  #settl_table1 th {   
    
    font-weight: bold;
    padding: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #ccc;
  } */



/* flatpickr-calendar */
/* .flatpickr-calendar {
    font-size   : 1.3em;
    z-index: 1050;  
}
.flatpickr-months{
    background  : white;
}
.flatpickr-day {
    width: 180px; 
    max-width: 100%; 
    border : 1px solid #e9ebec;
    border-radius   : 0.25rem;
} */
/* 달력 시작일, 종료일 */
#from_date,
#to_date,
#basdt
{
    width: 120px; 
    min-width: 120px !important;
    max-width: 150px;  
    border-radius: 0.25rem;
}
/* Input field takes up 70% */
/* .input-group .form-control {
    flex: 0 0 70%; 
    min-width: 120px !important;
    max-width: 80%;
    box-sizing: border-box;
    border-radius: 0.25rem;
} */

/* 모바일 화면 */
@media (max-width: 400px) {
    .input-group .form-control {
        flex: 0 0 100%; /* Input field takes up 70% */
        min-width: 120px !important;
        max-width: 70% !important;
        box-sizing: border-box;
        border-radius: 0.25rem;
        /* padding-top: 0px;   */
    }

    .m_dash{
        padding-right: 10px;
    }

    /* 일단위 픽커의 경우 모바일 환경에서 from_date, to_date, basdt가 none 처리 됨*/
    /* .flatpickr-day {
        width: 120px !important;
        min-width: 120px !important;
        max-width: 150px !important;
        border-radius: 0.25rem;
    } */

    /* 달력 시작일, 종료일 */
    /* #from_date,
    #to_date,
    #basdt
    {
        width: 130px !important;
        min-width: 130px !important;
        max-width: 150px !important;
        border-radius: 0.25rem;
    }     */
    /* 정산서 다운로드 버튼 */
    #btnpdfDownload{
        margin-top: 15px;
        /* width: 180px !important; */
        width: 100% !important;
    }

    /* 월 정산서 */
    /* 월 정산서 반응형 - h3, p 텍스트 크기 줄이기 */
    #settl_info h3 , h5{
        font-size: 14px !important;
    }

    #settl_info p {
        font-size: 12px !important;
    }

    #settl_info .badge {
        font-size: 10px !important;
        height: auto; /* 고정 높이 제거 시 유용 */
    }

    .mhide{
        display: none !important;
    }
}

a.input-button {
	text-decoration: none;
	/* border: 1px solid #bbb; */
	/* display: block; */
	padding: 1.5px 12px;
	border-left: 0;
	cursor: pointer;
	align-self: center;
	justify-content: center;
	line-height: 1;
    font-size: 17px;    
}

/* label 세로 가운데 정렬 */
.vcentered-label-container {
    display: flex;
    /* justify-content: center;  */
    align-items: center;    /* Vertical center */
    height: 42px;          /* Adjust as needed */
}

.form-control-label {
    margin-bottom: 0; /* Remove default margin */
}

.vcentered-check-container {
    display: flex;
    justify-content: left; /* Horizontal center */
    align-items: center;    /* Vertical center */
    height: 42px;          /* Adjust as needed */
}
.vcentered-check-container .form-check{
    margin-bottom: 0; /* Remove default margin */
}

.gap-3 {
    gap: 10px; /* 원하는 간격으로 조정 */
}

.card-title{
    font-size: 0.915rem;    
    font-weight: bold;
}

.card_head{
    align-items: center;
    background-color: #d8d8d8;
    /* border-bottom: 1px solid #e0e3e4; */
    display: flex;
    height: 32px;
}


@media print {
    /* 페이지 내부에서 자동으로 줄바꿈 허용 */
    /* table {
      page-break-inside: auto;       
    } */
    
    thead {
      display: table-header-group; /* 페이지가 넘어갈 때마다 <thead> 반복 */
    }
  }

/* 대시보드 정산표 안내 table */
th.idx_line {
    padding: 15 0 15 0 ;
    text-align: center;
    white-space: pre-line; /* 줄바꿈을 적용할 때 사용 */
    line-height: 1.5; /* 줄 간격을 조정 (1.5배로 설정) */
    letter-spacing: 0px; /* 글자 간 간격 (2px로 설정) */
}


/* 기본 달력 아이콘을 숨기는 스타일 */
/* 특정 화면에서만 달력 아이콘 숨기기 */
.specific-screen input[type="month"]::-webkit-calendar-picker-indicator {
    display: none; 
}

.specific-screen input[type="month"]::-ms-clear {
    display: none; 
}

.specific-screen input[type="month"]::-moz-clear {
    display: none; 
}

.highlight {
    color: #ff5733; /* 강조 색상 */
    /* background-color: #ffeeba;  */
    padding: 2px 4px; /* 약간의 패딩 추가 */
    border-radius: 3px; /* 모서리를 둥글게 */
}

.card-header .text-muted {
    color: #58626b !important;
    font-size:0.88rem;
    font-weight: 600;
}

.rblue {
    /* color: #08a8e8 */
    color: #405189
}

.rred {
    color: #ee6c4d
}

#notice-date .subject {
    white-space: nowrap;          /* 텍스트가 한 줄에 표시되도록 설정 */
    overflow: hidden;             /* 넘치는 텍스트 숨김 */
    text-overflow: ellipsis;      /* 잘린 텍스트에 '...' 표시 */
    max-width: 150px;             /* 최대 너비 설정 (반응형으로 원하는 너비 조절) */
}

@media screen and (max-width: 768px) { /* 모바일 등 작은 화면에서의 반응형 */
    #notice-date .subject {
        max-width: 100px;        /* 작은 화면에서 더 좁은 너비 */
    }

    /* 월 정산서 */
    /* 월 정산서 반응형 - h3, p 텍스트 크기 줄이기 */
    #settl_info h3 {
        font-size: 15px !important;
    }

    #settl_info p {
        font-size: 13px !important;
    }

    #settl_info .badge {
        font-size: 11px !important;
        height: auto; /* 고정 높이 제거 시 유용 */
    }    

    /*모바일 기기인 경우 월정산서가 제한적으로 보일 수 있다는 문구 안내 */
    #mobileNoticeCard {
        display: block !important;
    }

    /* 일판매 check*/
    #salesPlatformArea .form-check {
        width: 50%;
        margin-bottom: 5px;
    }
    
    .platform-checkbox-container {
        display: none; /* 기본적으로 숨김 */
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
    }
    
    .platform-checkbox-container.show {
        display: flex;
    }
    
    #toggleBtn {
        display: block !important;
    }
    
    .sales_series {
        margin-top: 10px;
    }    

    #topnav-hamburger-icon {
        display: flex;
        height: 70px; /* 필요 시 명시적으로 버튼 높이 설정 */
        display: flex;
        align-items: center; /* 세로 가운데 정렬 */
        justify-content: center; /* 필요 시 좌우 가운데 정렬 */
    }

    #topnav-hamburger-icon .hamburger-icon {
        display: none; /* 햄버거 아이콘 숨김 */
    }

    #topnav-hamburger-icon .mobile-menu-label {
        display: inline-block !important;
        /* font-weight: bold; */
        font-size: 16px;
        color: white; /* 색상은 배경에 맞게 조정 */
    }

    #pcstata {
        display: none; /* 모바일인 경우 PC용 선인세 총 잔여금액 숨기기 */
    }

    #mobstata {
        display: block !important;
    }

}

@media screen and (max-width: 1200px) { /* 모바일 등 작은 화면에서의 반응형 */
    
    #topnav-hamburger-icon {
        display: flex;
        height: 70px; /* 필요 시 명시적으로 버튼 높이 설정 */
        display: flex;
        align-items: center; /* 세로 가운데 정렬 */
        justify-content: center; /* 필요 시 좌우 가운데 정렬 */
    }

    #topnav-hamburger-icon .hamburger-icon {
        display: none; /* 햄버거 아이콘 숨김 */
    }

    #topnav-hamburger-icon .mobile-menu-label {
        display: inline-block !important;
        /* font-weight: bold; */
        font-size: 16px;
        color: white; /* 색상은 배경에 맞게 조정 */
    }
    
}

/* 기본: 아이콘 숨기기 */
#page-header-user-dropdown .mobile-user-icon {
    display: none;
  }
  
  /* 모바일일 경우: 아이콘 보이기 */
  @media (max-width: 1199.98px) {
    #page-header-user-dropdown .mobile-user-icon {
      display: inline-block !important;
      font-size: 20px;
    }
  
    /* 기존 PC용 아이콘은 숨김 처리 */
    #page-header-user-dropdown .desktop-user-icon {
      display: none !important;
    }
  }
  
/* 데스크톱 뷰 */
@media screen and (min-width: 769px) {
    .platform-checkbox-container {
        display: flex !important;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    #toggleBtn {
        display: none !important;
    }
}

/* 달력과 달력 사이 ~ 조회 물결 표시*/
input.flatpickr-day em{
    display: inline-block;
    width: 15px;
    font-weight: 500;
    color: #000;
    text-align: center;
}

/* 작품 계약/출시 */
.custom-badge { 
    font-size: 1.0rem; /* 폰트 크기 조정 */ 
    padding: 0.5em 1em; /* 패딩 조정 */
}


/* 일매출 화면 안내문구의 스크롤*/
.scrollable-content {
    max-width: 100%; /* 최대 너비 설정 */
    max-height: 180px; /* 필요에 따라 최대 높이 설정 */
    overflow-x: hidden; /* 가로 스크롤 숨김 */
    overflow-y: auto; /* 세로 스크롤 표시 */
    /* padding-top: 5px;  */
    margin-top: 5px; /* 여백 대신 margin 사용 */
}

/* 스크롤바 전체 */
.scrollable-content::-webkit-scrollbar {
    width: 8px; /* 스크롤바 너비 */
}

/* 스크롤바 트랙 */
.scrollable-content::-webkit-scrollbar-track {
    background: #f1f1f1; /* 트랙 색상 */
    border-radius: 4px; /* 트랙 모서리 둥글게 */
}

/* 스크롤바 핸들 */
/* 기본 핸들 스타일 */
.scrollable-content::-webkit-scrollbar-thumb {
    background: #888; /* 기본 색상 */
    border-radius: 4px;
    transition: background 0.3s; /* 부드러운 전환 효과 */
}

/* 마우스 호버 시 */
.scrollable-content::-webkit-scrollbar-thumb:hover {
    background: #555; /* 호버 시 색상 */
}

/* 마우스 클릭 (활성화) 시 */
.scrollable-content::-webkit-scrollbar-thumb:active {
    background: #333; /* 클릭 시 색상 */
}

/*수동  매출(엑셀,csv) 업로드 화면 css */
@media only screen and (max-width: 1199.98px) {
    /* 모바일에서 메뉴 숨기기 */
	.page-title-box {
        /* padding-top: 0px;
        padding-bottom: 10px; */
		display: none;
	}
	.file-wrap .file-sidebar {
		left: -331px;
	}
	.file-wrap .file-cont-wrap {
		margin-left: 0;
	}
	.file-wrap.file-sidebar-toggle .file-sidebar {
		left: 0;
	}
	.file-wrap.file-sidebar-toggle .file-cont-wrap {
		margin-left: 0;
	}
	.file-side-close {
		display: inline-block;
	}
}

/* 출판사 매출 (box영역) 페이지*/
#sales_summary{
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    padding: 13px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 4px;
    color: #333;
}


/* 관리자 출판사 매출 pie */
#chartContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;  /* 부모의 너비가 100% */
    height: 300px; /* 부모의 높이 */
}

canvas {
    width: 13%;  /* 부모의 너비를 기준으로 50% */
    height: 13%; /* 부모의 높이를 기준으로 50% */
}

/*공지 관리 - */
.vtext-center p{
    margin: 0px  !important;
    align-items: center;     /* 세로 가운데 정렬 */
}

/*관리자 대시보드 - 월별 */
#basmm {
    width: 130px !important;
    min-width: 130px !important;
    max-width: 150px !important;
    border-radius: 0.25rem;
}

/* 인쇄화면 등에 영향이 있어서 주석 처리 - 기본 템플릿 설정대로 유지*/
/* .main-content {
    background-color : #f6f6f6 !important;    
} */
#page-topbar {
    background-color : #000000 !important;    
}
.topbar-user {
    background-color : #000000 !important;    
}
/* 미담 sidebar 클릭 시 색상 */
#scrollbar {
  --vz-topnav-item-active-color: #000000 !important;
  /* --vz-topnav-item-active-color: #883A43 !important; */
}
.btn-primary {
    /* background-color: #8A6885;
    border-color: #8A6885; */

    background-color: #5e6472;
    border-color: #5e6472;    
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary:active:focus {
    /* 약간 어두운 톤 (hover, active 상태) */
    /* background-color: #61485C; 
    border-color: #61485C; */
    background-color: #0d1b2a; 
    border-color: #0d1b2a; 
}

.btn-info {
    background-color: #A4BCDF;
    border-color: #A4BCDF;
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.btn-info:active:focus {
    background-color: #7691C8;
    border-color: #7691C8;
}

.btn-outline-info {
    color: #A4BCDF;
    border-color: #A4BCDF;
}
.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info:active,
.btn-outline-info.active,
.btn-outline-info:active:focus {
    background-color: #A4BCDF;
    border-color: #A4BCDF;
    color: #fff;
}

/* sidebar z-index 문제 */
.collapse.menu-dropdown {
  z-index: 1100 !important;
}
.handsontable1,
#table_label,
#table_platform,
#table_penname,
#table_series,
#table_platform_notyet,
#handson_wz_note,
#handson_wz_platform,
#handson_wz_author,
#handson_wz_series,
#handson_wz_penname,
#handson_wz_seriespen,
#handson_wz_contract,
#handson_wz_platcont,
#handson_wz_mg,
#handson_wz_bundle_mg,
#handson_wz_platsales,
#handson_wz_deduct_last,
#handson_wz_sales,
#handson_wz_mg_last,
#handson_wz_mgr {
  z-index: 50;
}


/* 테이블 전체에 둥근 모서리 적용 */
.rounded-table {
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #f8f9fa; /* 테이블 전체에 연한 배경색 추가 */
}

/* 첫 번째 행의 상단 셀에 둥근 모서리 적용 */
.rounded-table thead tr:first-child th:first-child {
    border-top-left-radius: 0.5rem;
}

.rounded-table thead tr:first-child th:last-child {
    border-top-right-radius: 0.5rem;
}

/* 마지막 행의 하단 셀에 둥근 모서리 적용 */
.rounded-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 0.5rem;
}

.rounded-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 0.5rem;
}

.custom-popover {
    max-width: 400px;
    white-space: normal;
}

/* 미담 캘린더 css 속성 */
.flatpickr-months {
    background-color: #e0e1dd !important;
}
.flatpickr-prev-month svg, 
.flatpickr-next-month svg {
    margin-bottom:11px;
}
.navbar-brand-box {
    display: flex;
    justify-content: center;
    align-items: center;
}


@media (max-width: 768px) {
    #thead {
        justify-content: flex-start !important;
        width: auto;
    }
    .navbar-brand-box.horizontal-logo.text-center {
        display: none;
    }    
    #page-topbar{
        height: 71px !important;
    }
    .navbar-header{
        margin-top: 0px !important;
    }
    [data-layout=horizontal] .navbar-menu {
        margin-top: 70px !important;
    }    
    #mob_auth {
        text-align: right;
    }
    #page-topbar2{
        padding-top: 0px !important;
    }
}

.topbar-user .btn h6,
.topbar-user .btn h5,
.topbar-user .btn h4,
.topbar-user .btn span {
    color: #dfdfdf;
}


/* 미담 header height 넓히는 css */
@media (min-width: 768px) {
    [data-layout=horizontal] .navbar-menu {
      margin-top: 95px !important;
    }
}
@media (min-width: 1024.1px) {
    [data-layout=horizontal] .page-content {
        margin-top: 95px !important;
    }
}


.none-date{
    text-align  : center;
}

div.dataTables_filter input::-webkit-contacts-auto-fill-button,
div.dt-search input::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
    height: 0;
    width: 0;
    margin: 0;
}

/* 자동완성 배경색 제거 */
div.dataTables_filter input:-webkit-autofill,
div.dt-search input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #000 !important;
}

#notice_table th.title_center {
    text-align: center !important; 
}

#notice_table .title_center{
    text-align: left !important; /* <td> 왼쪽 정렬 */
}
