/*
VIATO JQUERY DATEPICKER
-------------------------------------------------

jQuery UI - v1.12.1 - 2018-03-09
http://jqueryui.com
Includes: core.css, datepicker.css - modified by viato
Copyright jQuery Foundation and other contributors; Licensed MIT

Um zu verhindern, dass es bei bereits eingebundenem Datepicker zu Komplikationen kommt wurde
an alle jquery-ui prefixes "" angehÃ¤ngt.
*/

#ui-datepicker-div{
	z-index: 99999 !important;
}
.ui-helper-hidden {
	display: none;
}
.ui-helper-hidden-accessible {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}
.ui-helper-reset {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	line-height: 1.3;
	text-decoration: none;
	font-size: 100%;
	list-style: none;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
	content: "";
	display: none;
}
.ui-helper-clearfix:after {
	clear: both;
}
.ui-helper-zfix {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	opacity: 0;
	filter:Alpha(Opacity=0); /* support: IE8 */
}

.ui-front {
	z-index: 100;
}

.ui-state-disabled {
	cursor: default !important;
	pointer-events: none;
}

.ui-widget-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.ui-datepicker {
	width: 17em;
	display: none;
}

.ui-datepicker table {
	width: 100%;
	border-collapse: collapse;
}

.ui-datepicker th {
	border: 0;
}

.ui-datepicker td {
	border: 0;
}

.ui-datepicker-row-break {
	clear: both;
	width: 100%;
	font-size: 0;
}

/* CUSTOM MADE */

.ui-datepicker{
	width: 280px;
	border-radius: 0;
	margin-top: 8px;
	box-shadow: 0px 11px 24px 0px rgba(0, 0, 0, 0.1);
}

.ui-datepicker-header{
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #f6efd4;
	color: #464542;
	font-size: 14px;
	font-weight: bold;
}

.ui-datepicker-next,
.ui-datepicker-prev{
	width: 24px;
	height: 24px;
	background-color: rgba(0,0,0,0.15);
	border-radius: 50%;
	position: relative;
	margin: 0 7px;
	cursor: pointer;
	transition: background-color .15s ease-in-out;
}

.ui-datepicker-next:hover,
.ui-datepicker-prev:hover{
	background-color: rgba(0,0,0,0.34);
}

.ui-datepicker-next{
	transform: rotate(135deg);
}

.ui-datepicker-prev{
	transform: rotate(-45deg);
}

.ui-datepicker-next::after,
.ui-datepicker-prev::after{
	content: '';
	width: 3px;
	height: 8px;
	background-color: #fff;
	position: absolute;
	top: 9px;
	left: 9px;
	border-radius: 3px;
}

.ui-datepicker-next::before,
.ui-datepicker-prev::before{
	content: '';
	width: 8px;
	height: 3px;
	background-color: #fff;
	position: absolute;
	top: 9px;
	left: 9px;
	border-radius: 3px;
}

.ui-datepicker-next span,
.ui-datepicker-prev span{
	display: none;
}

.ui-datepicker-next{
	order: 3;
}

.ui-datepicker-calendar{
	background-color: #ffffff;
	padding: 0 3px 2px;
	box-sizing: border-box;
	display: block;
}

.ui-datepicker-calendar thead{
	display: block;
}

.ui-datepicker-calendar tr{
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
}

.ui-datepicker-calendar th{
	color: #595e69;
	font-weight: bold;
	font-size: 13px;
	text-transform: uppercase;
	padding-top: 7px;
	padding-bottom: 3px;
	display: block;
	text-align: center;
	width: calc(100% / 7 - 1.5px);
}

.ui-datepicker-calendar tbody{
	display: block;
}

.ui-datepicker-calendar td{
	text-transform: uppercase;
	display: block;
	height: 27px;
	width: calc(100% / 7 - 1.5px);
	background-color: #f2f3f7;
	border: 1px solid #e9ecf3;
	box-sizing: border-box;
	margin-bottom: 2px;
}

.ui-datepicker-calendar td:hover{
	background-color: #e2e6ed;
	border: 1px solid #e2e6ed;
}

.ui-datepicker-calendar td a,
.ui-datepicker-calendar td span{
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	height: 100%;
	padding-right: 4px;
	box-sizing: border-box;
	font-size: 13px;
	color: #595e69;
	text-decoration: none;
	font-weight: 700;
}

.ui-datepicker-calendar .ui-datepicker-other-month{
	background-color: rgba(0,0,0,0);
	border: 0px solid rgba(0,0,0,0);
}

.ui-datepicker-calendar .ui-state-disabled{
	opacity: 0.4;
}

.ui-datepicker-calendar .ui-datepicker-today{
	background-color: #ffffff;
	border: 1px solid #c6c7ce;
}

.ui-datepicker-calendar .ui-datepicker-current-day{
	background-color: #822a3a;
	border: 1px solid #822a3a;
}

.ui-datepicker-calendar .ui-datepicker-current-day a{
	color: #fff;
}
