.ui-datepicker-inline {
	width: 100% !important;
	border: 0 !important;
	padding: 0 !important;
}

.ui-widget-header {
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid #ccc !important;
}

.ui-datepicker-week-col {
	font-size: 12px;
	text-align: center;
	color: #666;
}

.ui-datepicker td {
	width: 35px;
}

.ui-datepicker td:not(.begin) a.ui-state-default,
.ui-datepicker td:not(.end) a.ui-state-default,
.ui-datepicker td:not(.between) a.ui-state-default {
	/* background: #f9f9f9; */
}

.ui-datepicker td span,
.ui-datepicker td a {
	line-height: 30px;
	text-align: center !important;
	padding: 0 !important;
	border-spacing: 0;
	border: 1px solid transparent !important;
}
.ui-datepicker-inline .between a {
	/* background: #dfdfdf; */
	background: rgba( var(--primary-color-rgb), .3);
}

.ui-datepicker-inline a.ui-state-hover {
	background: #ccc;
}

.ui-datepicker-inline .begin a,
.ui-datepicker-inline .end a {
	color: var(--button-text-color);
	background: var(--primary-color);
	position: relative;
}

.ateotheme .ui-datepicker .begin a::before {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 8px 8px 0 0;
	border-color: var(--button-text-color) transparent transparent transparent;
	opacity: .75;
	top: 2px;
	left: 2px;
	display: block;
	position: absolute;
}

.ateotheme .ui-datepicker .end a::before {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 7px 7px;
	border-color: transparent transparent var(--button-text-color) transparent;
	opacity: .75;
	bottom: 2px;
	right: 2px;
	display: block;
	position: absolute;
}

.ateotheme .ui-datepicker-multi-2 .ui-datepicker-group-last {
	border-left: 1px dashed #ccc;
}

.ateotheme.ui-datepicker .ui-datepicker-next span, 
.ateotheme.ui-datepicker .ui-datepicker-prev span, 
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-next span, 
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-prev span {
	background-position: center center;
	margin-top: 0;
	top: 0px;
	font-weight: normal;
	width: 25px;
	height: 25px;
	margin: 0;
	left: 0;
}

.ateotheme.ui-datepicker .ui-datepicker-prev-hover, 
.ateotheme.ui-datepicker .ui-datepicker-next-hover, 
.ateotheme.ui-datepicker .ui-datepicker-next,
.ateotheme.ui-datepicker .ui-datepicker-prev, 
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-prev-hover, 
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-next-hover,
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-next, 
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-prev {
	top: 50%;
	border: none !important;
	cursor: pointer;
	width: 25px;
	height: 25px;
	transform: translateY(-50%);
}

.ateotheme.ui-datepicker .ui-state-hover.ui-datepicker-prev-hover, 
.ateotheme.ui-datepicker .ui-state-hover.ui-datepicker-next-hover {
	background: transparent !important;
}

.ateotheme.ui-datepicker .ui-datepicker-prev-hover, 
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-prev-hover {
	left: 2px;
}

.ateotheme.ui-datepicker .ui-datepicker-next-hover, 
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-next-hover {
	right: 2px;
}

.ateotheme.ui-datepicker .ui-datepicker-prev span, 
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-prev span {
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z' /%3E%3C/svg%3E")
		!important;
}

.ateotheme.ui-datepicker .ui-datepicker-next span, 
.inlineDate.ateotheme .ui-datepicker .ui-datepicker-next span {
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z' /%3E%3C/svg%3E")
		!important;
}

[name="minDate"].active_date, 
[name="minDate"].active_date:focus, 
[name="maxDate"].active_date, 
[name="maxDate"].active_date:focus {
	box-shadow: 0px 0px 2px 2px var(--button-bg-color) !important;
}

.ateotheme:not(.inlineDate) .ui-datepicker-current-day a.ui-state-active {
	background: var(--button-bg-color);
	color: var(--button-text-color);
}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
	background: transparent;
	border: 1px solid #ccc;
}