/*!Don't remove this!
 * jQuery duDatePicker plugin styles
 *
 * Author: Dionlee Uy
 * Email: dionleeuy@gmail.com
 *
 * Date: Monday, Sept 4 2017
 */

/* @font-face {
	font-family:"NanumGothic";
	src:url('../font/NanumGothic-Regular.eot');
	src:url('../font/NanumGothic-Regular.eot?#iefix') format('embedded-opentype'),
        url('../font/NanumGothic-Regular.woff2') format('woff2'),
		url('../font/NanumGothic-Regular.woff') format('woff'),
		url('../font/NanumGothic-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
} */

.dcalendarpicker {
	position: fixed;
	top: 0; bottom: 0;
	left: 0; right: 0;
	background-color: rgba(10,10,10,.7);
	z-index: 100001;
	overflow: hidden;
	transition: background-color .2s ease;
}
	.dcalendarpicker.dp__animate { background-color: transparent; }
	.dcalendarpicker.dp__hidden { display: none; }
	.dudp__wrapper {
	/* font-family: Roboto, sans-serif; */
	font-size: 12px;
	line-height: normal;
	position: absolute;
	display: flex;
	flex-direction: column;
	left: 50%;
	top:50%;
	margin-top:-210px;
	/* bottom: 24px; */
	min-width: 280px;
	opacity: 1;
	overflow: hidden;
	user-select: none;
	-ms-user-select: none;
	-moz-user-select: none;
	border-radius: 2px;
	transform: translateX(-50%) scale(1);
    box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
	transition: transform .25s ease, opacity .25s ease;
}
	.dudp__wrapper.dp__animate {
		opacity: 0;
		transform: translateX(-50%) scale(1.05);
	}

.dudp__calendar-header {
	font-size: 18px;
	padding: 20px;
	color: rgb(220,220,220);
}
	.dudp__calendar-header .dudp__sel-year, .dudp__calendar-header .dcp_sel-date {
		display: block;
		cursor: pointer;
		color:#fff;
	}
	.dudp__calendar-header .dudp__sel-year:hover, .dudp__calendar-header .dcp_sel-date:hover { color: #fff; }
	.dudp__calendar-header .dcp_sel-date { font-size: 30px;color:#fff; }

.dudp__cal-container {
	position: relative;
	background-color: #fff;
	width: 284px;
	user-select: none;
	overflow: hidden;
	flex: 0 1 auto;
}

	.dudp__cal-container .dudp__btn-cal-prev,
	.dudp__cal-container .dudp__btn-cal-next {
		position: absolute;
		top: 0;
		left: 12px;
		display: block;
		text-align: center;
		font-size: 0;
		line-height: 44px;
		width: 48px;
		height: 48px;
		font-weight: 500;
		cursor: pointer;
		border-radius: 50%;
		opacity: 1;
		visibility: visible;
		transition: opacity .25s ease, background-color .3s ease;
		z-index: 2;
	}
	.dudp__cal-container .dudp__btn-cal-next { left: auto; right: 12px; }
	.dudp__cal-container .dudp__btn-cal-prev:hover,
	.dudp__cal-container .dudp__btn-cal-next:hover { background-color: rgba(0,0,0,.15); }
	.dudp__cal-container .dudp__btn-cal-prev:active,
	.dudp__cal-container .dudp__btn-cal-next:active { background-color: rgba(0,0,0,.25); }
	.dudp__cal-container .dudp__btn-cal-prev.dp__hidden,
	.dudp__cal-container .dudp__btn-cal-next.dp__hidden {
		opacity: 0;
		visibility: hidden;
	}

.dudp__cal-container .dudp__calendar-views {
	width: 860px;
	overflow: hidden;
	opacity: 1;
	transition: opacity .25s ease;
}
	.dudp__cal-container .dudp__calendar-views.dp__animate-out { opacity: 0; }
	.dudp__cal-container .dudp__calendar-views.dp__hidden {
		visibility: hidden;
		opacity: 0;
	}
.dudp__cal-container .dudp__calendar {
	display: inline-block;
	transform: translateX(-100%);
	padding: 0 16px 10px;
	transition: none;
}
	.dudp__cal-container .dudp__calendar.dp__animate-left {
		transform: translateX(-200%);
		transition: transform .25s cubic-bezier(0.4, 0.0, 0.2, 1);
	}
	.dudp__cal-container .dudp__calendar.dp__animate-right {
		transform: translateX(0);
		transition: transform .25s cubic-bezier(0.4, 0.0, 0.2, 1);
	}
.dudp__calendar .dudp__cal-month-year {
	text-align: center;
	line-height: 48px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}
.dudp__calendar .dudp__weekdays {
	display: flex;
	flex-direction: row;
}
.dudp__calendar .dudp__weekdays span {
	display: inline-block;
	flex: 0 1 auto;
	width: 36px;
	text-align: center;
	color: rgb(50,50,50);
	font-size: 11px;
	line-height: 20px;
	vertical-align: middle;
}
.dudp__calendar .dudp__cal-week {
	display: flex;
	flex-direction: row;
}
	.dudp__calendar .dudp__cal-week .dudp__date {
		flex: 0 1 auto;
		display: block;
		text-decoration: none;
		text-align: center;
		color: rgb(50,50,50);
	    width: 36px;
	    line-height: 36px;
	    height: 36px;
		outline: none;
		cursor: pointer;
		border-radius: 50%;
		transition: all .3s;
	}
	.dudp__calendar .dudp__cal-week .dudp__pm,
	.dudp__calendar .dudp__cal-week .dudp__nm { color: rgb(150,150,150); }
	.dudp__calendar .dudp__cal-week .dudp__date.disabled { cursor: not-allowed; color: rgb(200,200,200); }
		.dudp__calendar .dudp__cal-week .dudp__date:not(.disabled):not(.selected):hover { background-color: rgba(0,0,0,.15); }
		.dudp__calendar .dudp__cal-week .dudp__date:not(.disabled):not(.selected):active { background-color: rgba(0,0,0,.25); }
		.dudp__calendar .dudp__cal-week .dudp__date.current {
			color: #1976d2;
			font-weight: 500;
		}
		.dudp__calendar .dudp__cal-week .dudp__date.pm, .dudp__cal-dates .dudp__date.nm { color: rgb(150,150,150); }
		.dudp__calendar .dudp__cal-week .dudp__date.selected {
			font-weight: normal;
			color: #fff !important;
			background-color: #1976d2;
		}

.dudp__cal-container .dudp__months-view {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 45px 16px;
	opacity: 1;
	transform: scale(1);
	transition: transform .25s ease, opacity .25s ease;
}
	.dudp__cal-container .dudp__months-view.dp__animate-out {
		opacity: 0;
		transform: scale(1.3);
	}
	.dudp__cal-container .dudp__months-view.dp__hidden { display: none; opacity: 0; }
.dudp__months-view .dudp__month-row {
	display: flex;
	flex-direction: row;
}
.dudp__months-view .dudp__month {
	flex: 0 1 auto;
	display: inline-block;
	line-height: 68px;
	min-width: 63px;
	text-align: center;
	font-size: 14px;
	cursor: pointer;
	border-radius: 50%;
	transition: background-color .3s ease;
}
	.dudp__months-view .dudp__month:hover { background-color: rgba(0,0,0,.15); }
	.dudp__months-view .dudp__month:active { background-color: rgba(0,0,0,.25); }
	.dudp__months-view .dudp__month.selected {
		font-weight: 500;
		color: #1565c0;
	}

.dudp__cal-container .dudp__years-view {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #fff;
	opacity: 1;
	visibility: visible;
	transition: opacity .25s ease;
	overflow-y: scroll;
	overflow-x: hidden;
}
	.dudp__cal-container .dudp__years-view.dp__hidden {
		opacity: 0;
		visibility: hidden;
	}
.dudp__years-view .dudp__year {
	display: block;
	padding: 10px 0;
	text-align: center;
	font-size: 16px;
	cursor: pointer;
	transition: background-color .3s ease;
}
	.dudp__years-view .dudp__year:hover { background-color: rgba(0,0,0,.15); }
	.dudp__years-view .dudp__year:active { background-color: rgba(0,0,0,.25); }
	.dudp__years-view .dudp__year.selected {
		font-weight: 500;
		font-size: 24px;
		color: #1565c0;
	}

.dudp__cal-container .dudp__buttons {
	padding: 0 10px 10px;
	text-align: right;
	text-align: right;
}
	.dudp__buttons .dudp__button {
		display: inline-block;
		font-size: 14px;
		padding: 0 16px;
		min-width: 40px;
		text-align: center;
		text-transform: uppercase;
		line-height: 32px;
		font-weight: 500;
		cursor: pointer;
		color: #1565c0;
	}
	.dudp__buttons .dudp__button.clear {
		float: left;
		color: #b71c1c !important;
	}
	.dudp__buttons .dudp__button:hover { background-color: #e0e0e0; }

/* Color theme */
.dudp__wrapper[data-theme='blue'] .dudp__calendar-header { background-color: #1565c0; }
.dudp__wrapper[data-theme='blue'] .dudp__calendar .dudp__cal-week .dudp__date.current { color: #1976d2; }
.dudp__wrapper[data-theme='blue'] .dudp__calendar .dudp__cal-week .dudp__date.selected { background-color: #1976d2; }
.dudp__wrapper[data-theme='blue'] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover { background-color: #0d47a1; }
.dudp__wrapper[data-theme='blue'] .dudp__buttons .dudp__button,
.dudp__wrapper[data-theme='blue'] .dudp__months-view .dudp__month.selected,
.dudp__wrapper[data-theme='blue'] .dudp__years-view .dudp__year.selected { color: #0d47a1; }

.dudp__wrapper[data-theme='red'] .dudp__calendar-header { background-color: #c62828; }
.dudp__wrapper[data-theme='red'] .dudp__calendar .dudp__cal-week .dudp__date.current { color: #d32f2f; }
.dudp__wrapper[data-theme='red'] .dudp__calendar .dudp__cal-week .dudp__date.selected { background-color: #d32f2f; }
.dudp__wrapper[data-theme='red'] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover { background-color: #b71c1c; }
.dudp__wrapper[data-theme='red'] .dudp__buttons .dudp__button,
.dudp__wrapper[data-theme='red'] .dudp__months-view .dudp__month.selected,
.dudp__wrapper[data-theme='red'] .dudp__years-view .dudp__year.selected { color: #b71c1c; }

.dudp__wrapper[data-theme='purple'] .dudp__calendar-header { background-color: #6a1b9a; }
.dudp__wrapper[data-theme='purple'] .dudp__calendar .dudp__cal-week .dudp__date.current { color: #7b1fa2; }
.dudp__wrapper[data-theme='purple'] .dudp__calendar .dudp__cal-week .dudp__date.selected { background-color: #7b1fa2; }
.dudp__wrapper[data-theme='purple'] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover { background-color: #4a148c; }
.dudp__wrapper[data-theme='purple'] .dudp__buttons .dudp__button,
.dudp__wrapper[data-theme='purple'] .dudp__months-view .dudp__month.selected,
.dudp__wrapper[data-theme='purple'] .dudp__years-view .dudp__year.selected { color: #4a148c; }

.dudp__wrapper[data-theme='indigo'] .dudp__calendar-header { background-color: #283593; }
.dudp__wrapper[data-theme='indigo'] .dudp__calendar .dudp__cal-week .dudp__date.current { color: #303f9f; }
.dudp__wrapper[data-theme='indigo'] .dudp__calendar .dudp__cal-week .dudp__date.selected { background-color: #303f9f; }
.dudp__wrapper[data-theme='indigo'] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover { background-color: #1a237e; }
.dudp__wrapper[data-theme='indigo'] .dudp__buttons .dudp__button,
.dudp__wrapper[data-theme='indigo'] .dudp__months-view .dudp__month.selected,
.dudp__wrapper[data-theme='indigo'] .dudp__years-view .dudp__year.selected { color: #1a237e; }

.dudp__wrapper[data-theme='teal'] .dudp__calendar-header { background-color: #00695c; }
.dudp__wrapper[data-theme='teal'] .dudp__calendar .dudp__cal-week .dudp__date.current { color: #00796b; }
.dudp__wrapper[data-theme='teal'] .dudp__calendar .dudp__cal-week .dudp__date.selected { background-color: #00796b; }
.dudp__wrapper[data-theme='teal'] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover { background-color: #004d40; }
.dudp__wrapper[data-theme='teal'] .dudp__buttons .dudp__button,
.dudp__wrapper[data-theme='teal'] .dudp__months-view .dudp__month.selected,
.dudp__wrapper[data-theme='teal'] .dudp__years-view .dudp__year.selected { color: #004d40; }

.dudp__wrapper[data-theme='green'] .dudp__calendar-header { background-color: #2e7d32; }
.dudp__wrapper[data-theme='green'] .dudp__calendar .dudp__cal-week .dudp__date.current { color: #388e3c; }
.dudp__wrapper[data-theme='green'] .dudp__calendar .dudp__cal-week .dudp__date.selected { background-color: #388e3c; }
.dudp__wrapper[data-theme='green'] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover { background-color: #1b5e20; }
.dudp__wrapper[data-theme='green'] .dudp__buttons .dudp__button,
.dudp__wrapper[data-theme='green'] .dudp__months-view .dudp__month.selected,
.dudp__wrapper[data-theme='green'] .dudp__years-view .dudp__year.selected { color: #1b5e20; }

/* 20180616 by lexy */
.dudp__wrapper[data-theme='yellow'] .dudp__calendar-header { background-color: #ffcc33; }
.dudp__wrapper[data-theme='yellow'] .dudp__calendar .dudp__cal-week .dudp__date.current { color: #ffcc33; }
.dudp__wrapper[data-theme='yellow'] .dudp__calendar .dudp__cal-week .dudp__date.selected { background-color: #ffcc33; }
.dudp__wrapper[data-theme='yellow'] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover { background-color: #ffcc33; }
.dudp__wrapper[data-theme='yellow'] .dudp__buttons .dudp__button,
.dudp__wrapper[data-theme='yellow'] .dudp__months-view .dudp__month.selected,
.dudp__wrapper[data-theme='yellow'] .dudp__years-view .dudp__year.selected { color: #ffcc33; }
.dudp__wrapper[data-theme='yellow'] .dudp__calendar-header * {color:#000;}
.dudp__wrapper[data-theme='yellow'] .dudp__buttons .dudp__button.cancel {float:left;margin-left:5px;background-color:#f1f2f2;}
.dudp__wrapper[data-theme='yellow'] .dudp__buttons .dudp__button.ok {margin-left:5px; color:#000; background-color:#ffcc33;}
/* end 20180616 by lexy */

/* 2020-04-17 by lexy */
.dudp__wrapper[data-theme='white'] .dudp__calendar-header {padding:20px 20px 0;text-align:center;background-color: #fff; }
.dudp__wrapper[data-theme='white'] .dudp__calendar-header .dcp_sel-date {display:none;}
.dudp__wrapper[data-theme='white'] .dudp__calendar .dudp__cal-week .dudp__date.current { color: #000; }
.dudp__wrapper[data-theme='white'] .dudp__calendar .dudp__cal-week .dudp__date.selected { background-color:#333; }
.dudp__wrapper[data-theme='white'] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover { background-color:#000; }
.dudp__wrapper[data-theme='white'] .dudp__calendar .dudp__cal-month-year {font-weight:bold;font-size:1.5rem;line-height:2;height:47px;}
.dudp__wrapper[data-theme='white'] .dudp__buttons .dudp__button,
.dudp__wrapper[data-theme='white'] .dudp__months-view .dudp__month.selected,
.dudp__wrapper[data-theme='white'] .dudp__years-view .dudp__year.selected {color:#000;}
.dudp__wrapper[data-theme='white'] .dudp__cal-container .dudp__btn-cal-prev,
.dudp__wrapper[data-theme='white'] .dudp__cal-container .dudp__btn-cal-next {top:6px;width:26px;height:26px;border-radius:0;}
.dudp__wrapper[data-theme='white'] .dudp__cal-container .dudp__btn-cal-prev {left:24px;background:url('../images/btn_calendar_arrowLeft.png') no-repeat center;background-size:21px auto;}
.dudp__wrapper[data-theme='white'] .dudp__cal-container .dudp__btn-cal-next {right:24px;background:url('../images/btn_calendar_arrowRight.png') no-repeat center;background-size:21px auto;}
.dudp__wrapper[data-theme='white'] .dudp__cal-container .dudp__btn-cal-prev:hover,
.dudp__wrapper[data-theme='white'] .dudp__cal-container .dudp__btn-cal-next:hover {background-color: rgba(0,0,0,.15);}
.dudp__wrapper[data-theme='white'] .dudp__calendar-header * {color:#000;}
.dudp__wrapper[data-theme='white'] .dudp__calendar .dudp__weekdays span {font-weight:bold;}
.dudp__wrapper[data-theme='white'] .dudp__calendar .dudp__weekdays span:first-child,
.dudp__wrapper[data-theme='white'] .dudp__calendar .dudp__cal-week .dudp__date:first-child {color:#f3493c;}
.dudp__wrapper[data-theme='white'] .dudp__calendar .dudp__cal-week .dudp__pm,
.dudp__wrapper[data-theme='white'] .dudp__calendar .dudp__cal-week .dudp__nm {color:#aaaaaa;}
.dudp__wrapper[data-theme='white'] .dudp__calendar .dudp__cal-week .dudp__date:first-child.dudp__pm,
.dudp__wrapper[data-theme='white'] .dudp__calendar .dudp__cal-week .dudp__date:first-child.dudp__nm {color:#eccac8;}
.dudp__wrapper[data-theme='white'] .dudp__calendar .dudp__cal-week .dudp__date {border-radius:0;}
.dudp__wrapper[data-theme='white'] .dudp__cal-container .dudp__years-view {border-top:1px solid #eee;}
.dudp__wrapper[data-theme='white'] .dudp__buttons .dudp__button.cancel {float:left;margin-left:5px;background-color:#fff;}
.dudp__wrapper[data-theme='white'] .dudp__buttons .dudp__button.ok {margin-left:5px; color:#000; background-color:#fff;}
.dudp__wrapper[data-theme='white'] .dudp__buttons .dudp__button:hover {background-color: rgba(0,0,0,.05);}
/* end 2020-04-17 by lexy */

/* End color theme */

body[datepicker-display='on'] { overflow: hidden; }

@media (max-height: 414px) {
	.dudp__wrapper {
		flex-direction: row;
		bottom: 8px;
		top:8px; /* 2017-12-27 */
		margin-top:0; /* 2017-12-27 */
	}
	.dudp__calendar-header {
		width: 110px;
	}
}
@media (max-height: 320px) {
	.dudp__wrapper { bottom: 0; }
}
