/***********  common   *************/
.iwdatepicker{
	border-radius: 6px;
	outline : 1px solid rgba(213,213,213,0.3);
	width: 285px;
	height: 306px;
	box-sizing: border-box;
	position: absolute;
	background-color: #FFFFFF;
	z-index: 19999;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.10);
	overflow : hidden;
}

.iwdatepicker.six_row {
	height: 340px;
}

.iwdatepicker.list_mode {
	height: 364px;
}

/* 리스트 모드 일 경우 캘린더 이동 버튼 미노출 */
.iwdatepicker.list_mode :where(#btn_year_left, #btn_left, #btn_year_right, #btn_right) {
	display : none;
}

/* 삭제 */
.iwdatepicker .bg{
	position:absolute;
	border-radius: 6px;
	border: 1px solid rgba(213,213,213,0.3);
	background-color: rgba(130,142,157,0.4);
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;			
}

.iwdatepicker .title_box{
	width: 100%;
	height: 28px;
	text-align: center;
	color : #56687f;
	border-bottom: 1px solid #EEE;
	padding: 16px 0;
}

.iwdatepicker .title_box span{
	color: #353C49;
	text-align: center;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px; /* 150% */
}

.iwdatepicker .title_box .title{
	display: flex;
	height: 28px;
	justify-content: center;
	width: 116px;
	margin: 0 auto;
	align-items: center;
}

.iwdatepicker .title_box .title:hover {
	cursor : pointer;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.02);
}

.iwdatepicker .title_box .title .title_area {
	height : 24px;
	margin-right : 4px;
}

.iwdatepicker .title_box .title .title_btn_area #btn_sub_calander{
	display : block;
	transform: scaleY(-1);
	height: 12px;
	width: 12px;
	background-size: 12px;
	background-position: center;
	background-repeat:no-repeat;
	background-image:url("/resources/img/common/btn_calander_dropdown_btn.svg");
}

.iwdatepicker .title_box .title .title_btn_area #btn_sub_calander.selected{
	transform: scaleY(1);
}

.iwdatepicker #btn_left{
	position: absolute;
	height: 28px;
	width: 28px;
	top: 16px;
	left: 48px;
	background-size: 18px;
	background-position: center;
	background-repeat:no-repeat;
	opacity: 0.3;
	background-image:url("/resources/img/common/btn_calander_next_btn.svg");
}

.iwdatepicker #btn_left.avtive {
	opacity: 1;
	cursor:pointer;	
}

.iwdatepicker #btn_left.avtive:hover{
	border-radius: 4px;
	background-color: rgba(0, 0, 0, 0.02);
}

.iwdatepicker #btn_right{
	height: 28px;
	position: absolute;
	width: 28px;
	top: 16px;
	transform: scaleX(-1);
	right: 48px;
	background-size: 18px;
	background-position: center;
	background-repeat:no-repeat;
	opacity: 0.3;
	background-image:url("/resources/img/common/btn_calander_next_btn.svg");
}

.iwdatepicker #btn_right.avtive {
	opacity: 1;
	cursor:pointer;	
}

.iwdatepicker #btn_right.avtive:hover{
	border-radius: 4px;
	background-color: rgba(0, 0, 0, 0.02);
}

.iwdatepicker :where(#btn_right, #btn_year_right) .tooltip_crew {
	transform: translateX(-50%) scaleX(-1);
}

.iwdatepicker #btn_year_left{
	position: absolute;
	opacity: 0.3;
	height: 28px;
	width: 28px;
	top: 16px;
	left: 16px;
	background-size: 18px;
	background-position: center;
	background-repeat:no-repeat;
	opacity: 0.3;
	background-image:url("/resources/img/common/btn_calander_year_btn.svg");
}

.iwdatepicker #btn_year_left.avtive {
	opacity: 1;
	cursor:pointer;	
}

.iwdatepicker #btn_year_left.avtive:hover{
	opacity: 1;
	border-radius: 4px;
	background-color: rgba(0, 0, 0, 0.02);
}

.iwdatepicker #btn_year_right{
	height: 28px;
	opacity: 0.3;
	position: absolute;
	width: 28px;
	top: 16px;
	transform: scaleX(-1);
	right: 16px;
	background-size: 18px;
	background-position: center;
	background-repeat:no-repeat;
	opacity: 0.3;
	background-image:url("/resources/img/common/btn_calander_year_btn.svg");
}

.iwdatepicker #btn_year_right.avtive {
	opacity: 1;
	cursor:pointer;	
}

.iwdatepicker #btn_year_right.avtive:hover{
	border-radius: 4px;
	background-color: rgba(0, 0, 0, 0.02);
}

.iwdatepicker .year_month_box .btn_box :where(.cancel_btn, .confirm_btn) {
	width: 122px;
}
/***********  common   *************/

/***********  week   *************/
.iwdatepicker .day_type_div {
	position: relative;
	margin: 12px 16px 16px 16px;
	min-height: 216px;
	overflow: hidden;
	width: 252px;
}

.iwdatepicker.list_mode .day_type_div {
	margin: 16px 0 0 0;
	width: 100%;
}

.iwdatepicker.six_row .day_type_div {
	min-height: 252px;
}

.iwdatepicker .week_box {
    width: 252px;
    overflow: hidden;
}

.iwdatepicker .day_box {
	position: absolute;
	width: 252px;
	flex-direction: column;
	display: flex;
}

.iwdatepicker .year_month_box {
	display : none;
}

.iwdatepicker .year_month_box .content_box {
	height: 220px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	align-content: flex-start;
	gap: 4px 8px;
	align-self: stretch;
	flex-wrap: wrap;
	padding-bottom: 16px;
	margin: 0 16px;
}

.iwdatepicker .year_month_box .content_box .year_box,
.iwdatepicker .year_month_box .content_box .month_box{
	display: flex;
	width: fit-content;
	height: 204px;
	max-height: 204px;
	padding: 8px;
	flex-direction: column;
	gap: 4px;
	flex: 1 0 0;
	position: relative;
	overflow-x: hidden;
	overflow-y: scroll;
	align-items: center;
	border-radius: 6px;
	background: #00000005;
}

.iwdatepicker .month_type_div .content_box .year_list_box {
	display: flex;
	max-height: 239px;
	overflow-y: scroll;
	flex-direction: column;
	padding-right: 8px;
	gap: 4px;
}

.iwdatepicker .year_month_box .content_box :where(.year_box, .month_box) .year_month_row {
	width : 98px;
}

.iwdatepicker .year_month_box .content_box :where(.year_box, .month_box) .year_month_row.selected,
.iwdatepicker .month_type_div .content_box .year_list_box .year_month_row.selected{
	border: 1.002px solid #09F;
    background: #F8FBFF;
    color: #09F;
}

.iwdatepicker .year_month_box .content_box :where(.year_box, .month_box) .year_month_row.selected span,
.iwdatepicker .month_type_div .content_box .year_list_box .year_month_row.selected span{
	font-weight : 400;
}	

.iwdatepicker .year_month_box .content_box :where(.year_box, .month_box)::-webkit-scrollbar,
.iwdatepicker .month_type_div .content_box .year_list_box::-webkit-scrollbar {
	width : 8px;
}

.iwdatepicker .year_month_box .content_box :where(.year_box, .month_box)::-webkit-scrollbar-thumb,
.iwdatepicker .month_type_div .content_box .year_list_box::-webkit-scrollbar-thumb{
	border-radius: 30px;
	background-clip: padding-box;
	border: 2px solid #FAFAFA;
	background: #EAEAEA;
}

.iwdatepicker:where(.month, .quarter) .year_month_box .content_box :where(.year_box, .month_box)::-webkit-scrollbar-thumb,
.iwdatepicker:where(.month, .quarter) .month_type_div .content_box .year_list_box::-webkit-scrollbar-thumb{
	border: 2px solid #FFFFFF;
}

.iwdatepicker .year_month_box .btn_box {
	height : 52px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	gap: 8px;
	align-self: stretch;
	box-sizing: border-box;
	border-top: 1px solid #EEE;
}


.iwdatepicker.week .day_box .row.active.selected div {
    background: #F8FBFF;
}

.iwdatepicker .week_box div {
    float: left;
    text-align: center;
    display: flex;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    color: #B8BECB;
    font-size: 13px;
    font-weight: 300;
}

.iwdatepicker .day_box .row{
	overflow: hidden;
	position: relative;
}

.iwdatepicker.week .day_box .row.active {
	cursor: pointer;
}

.iwdatepicker .day_box .col{
	position: relative;
	float: left;
	width: 36px;
	height: 36px;
	font-size: 13px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #707683;
	opacity: 0.3;
	font-weight: 300;
}

.iwdatepicker.week .day_box .row.active .col.normal{
	color: #707683;
	opacity: 1;
}

.iwdatepicker.week .day_box .row.active .col {
	color: #707683;
	opacity: 0.7;
}

.iwdatepicker.week .day_box .row.active:not(.selected) .col.disable{
	opacity: 0.3;
}

.iwdatepicker.week .day_box .row.active.paid .col{
	color: #f7517c;
}

.iwdatepicker.week .day_box .row.active.selected div:nth-child(3),
.iwdatepicker.week .day_box .row.active.selected div:nth-child(9) {
	border-radius: 6px;
	border: 1px solid #09F;
	background: #F8FBFF;
	box-sizing : border-box;
	color: #09F;
	font-weight: 400;
}

.iwdatepicker.week .day_box .row.active.selected:hover div,
.iwdatepicker.week .day_box .row.active.selected:hover div {
	background: #F8FBFF;
}

.iwdatepicker.week .day_box .row.active:hover div,
.iwdatepicker.week .day_box .row.active:hover div {
	background: rgba(0, 0, 0, 0.02);
}

.iwdatepicker.week .day_box .row.active:hover div:nth-child(3),
.iwdatepicker.week .day_box .row.active:hover div:nth-child(9) {
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.05);
}

.iwdatepicker.week .day_box .row.active.selected:hover div:nth-child(3),
.iwdatepicker.week .day_box .row.active.selected:hover div:nth-child(9) {
	background: #F8FBFF;
}

.iwdatepicker.week .day_box .row.active.paid.selected div:nth-child(2),
.iwdatepicker.week .day_box .row.active.paid.selected div:nth-child(8) {
	color: #f7517c;
}

.iwdatepicker.week .day_box .row.active.paid:hover div:nth-child(2),
.iwdatepicker.week .day_box .row.active.paid:hover div:nth-child(8) {
	color: #f7517c;
}
/***********  week   *************/

/***********  day   *************/
.iwdatepicker.day .day_box .row .col.active {
	cursor: pointer;
	color: #707683;
	opacity: 1;
}

.iwdatepicker .day_box .row .col.hasMonth {
    opacity: 0.7 !important;
}

.iwdatepicker.day .day_box .row .col.active.paid {
	color: #f7517c;
}

.iwdatepicker.day .day_box .row .col.active .img {
	position: absolute;
	top: 2px;
	left: 6px;
	width: 21px;
	height: 21px;
	background: none;
}

.iwdatepicker.day .day_box .row .col.active .val {
	position: relative;
}

.iwdatepicker.day .day_box .row .col.active.selected .val,
.iwdatepicker.week .day_box .row .col.active.selected .val{
	color : #0099FF;
	font-weight: 400;
}

.iwdatepicker.day .day_box .row .col.active.selected {
	border-radius: 6px;
	border: 1px solid #09F;
	background: #F8FBFF;
	box-sizing : border-box;
}

.iwdatepicker.day .day_box .row .col.active.paid.selected,
.iwdatepicker.day .day_box .row .col.active.paid:hover {
	color: #f7517c;
}
/***********  day   *************/

/***********  month   *************/
.iwdatepicker.month {
	height : 244px;
}

.iwdatepicker.month.list_mode {
	height : 300px;
}

.iwdatepicker.month.list_mode .month_type_div{
	margin-right : 0px;
	height: 240px;
	margin-bottom: 0px;
	margin-top : 0px;
}

.iwdatepicker .month_type_div .content_box .year_list_box .year_month_row:first-child {
	margin-top : 16px;
}

.iwdatepicker.month.list_mode .month_type_div .year_month_row:last-child{
	margin-bottom : 16px;
}

.iwdatepicker.month .title_box .title .title_area {
	width : 54px;
}

.iwdatepicker.month :where(#btn_year_right, #btn_year_left){
	display : none;
}

.iwdatepicker.month #btn_left{
	left: 16px;
}

.iwdatepicker.month #btn_right{
	right: 16px;
}

.iwdatepicker .month_type_div {
	position: relative;
	overflow: hidden;
	margin: 12px 16px 16px 16px;
	height: 184px;
}

.iwdatepicker .month_box {
	width: 204px;
	height: 148px;
	display: table;
	position:absolute;
}

.iwdatepicker .month_box.quarter_row {
	width : 252px;
}

.iwdatepicker .month_box.quarter_row .row .col .val{
	width : 250px !important;
	box-sizing : border-box;
}

.iwdatepicker .month_box .row + .row {
	margin-top : 4px;
}

.iwdatepicker .month_box .row {
	display : flex;
	gap : 4px;
}

.iwdatepicker .month_box .val{
	font-size: 16px;
	height: 36px;
	width: 81.3px;
	box-sizing: border-box;
	font-size: 13px;
	align-items: center;
	padding: 10px 0;
}

.iwdatepicker .month_box .col{
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	width: 80px;
	height: 36px;
	color: rgba(130,142,157,0.4);
}

.iwdatepicker .month_box .col.active {
	color: #828e9d;
	cursor: pointer;
}

.iwdatepicker .month_box .col.active.paid {
	color: #f7517c;
}

.iwdatepicker .month_box .row .col.active .val.selected{
	color: #09F;
	font-weight: 400;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	border: 1.002px solid #09F;
	background: #F8FBFF;
	box-sizing : border-box;
	font-size : 13px;
	align-items: center;
	padding: 10px 0;
	width: 81.3px;
}		

.iwdatepicker .month_box .row .col.active:hover .val,
.iwdatepicker.day .day_box .row .col.active:not(.selected):hover{
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.02);
}

.iwdatepicker .month_box .row .col.active.paid .val.selected,
.iwdatepicker .month_box .row .col.active.paid:hover .val{
	color: #f7517c;
	font-weight: 600;
	background: #0099ff;
	-moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
}			

/***********  month   *************/


/***********  quarter   *************/
.iwdatepicker.quarter {
	height : 244px;
}

.iwdatepicker.quarter.list_mode {
	height : 300px;
}

.iwdatepicker.quarter .title_box .title .title_area {
	width : 54px;
}

.iwdatepicker.quarter :where(#btn_year_right, #btn_year_left){
	display : none;
}

.iwdatepicker.quarter #btn_left{
	left: 16px;
}

.iwdatepicker.quarter #btn_right{
	right: 16px;
}

.iwdatepicker.quarter.list_mode .month_type_div{
	height: 240px;
	margin-top : 0px;
	margin-right : 0px;
	margin-bottom: 0px;
}

.iwdatepicker.quarter.list_mode .month_type_div .year_month_row:last-child{
	margin-bottom : 16px;
}
/***********  quarter   *************/