/*
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

*/

#ui-datepicker-div {
	z-index: 99999 !important;
}

.ui-helper-hidden {
	display: none;
}

.ui-helper-hidden-accessible {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
}

.ui-helper-reset {
	padding: 0;
	margin: 0;
	font-size: 100%;
	line-height: 1.3;
	text-decoration: none;
	list-style: none;
	border: 0;
	outline: 0;
}

.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
	display: none;
	content: "";
}

.ui-helper-clearfix:after {
	clear: both;
}

.ui-helper-zfix {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	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 {
	display: none;
	width: 17em;
}

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

.ui-datepicker th {
	border: 0;
}

.ui-datepicker td {
	border: 0;
}

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

.ui-datepicker {
	width: 280px;
	margin-top: 8px;
	margin-left: -8px;
	font-family: "Open Sans", sans-serif;
	box-shadow: 0 11px 24px 0 rgba(0, 0, 0, .1);
	border-radius: 4px;
}

body[data-alignment="top left"] .ui-datepicker,
body[data-alignment="top left"] .ui-datepicker {
	margin-left: -115px;
}

.ui-datepicker-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 36px;
	color: #ffffff;
	font-size: 14px;
	font-weight: bold;
	background-color: #97a7b8;
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
}

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

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

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

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

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

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

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

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

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

.ui-datepicker-calendar thead {
	display: block;
	background-color: rgba(255,255,255,0);
}

.ui-datepicker-calendar tr {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	background-color: rgba(255,255,255,0);
}

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

.ui-datepicker-calendar tbody {
	display: block;
	background-color: rgba(255,255,255,0);
}

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

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

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

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

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

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

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

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

.ui-datepicker-trigger {
	display: none;
}

/* MOBILE DATEPICKER
   ----------------------------- */

.mobile .ui-datepicker {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: auto !important;
	margin-top: 0;
	margin-left: 0;
	background-color: #ffffff;
	border-radius: 0;
}

.mobile .ui-datepicker-header {
	height: calc(100vh / 8);
	border-top-right-radius: 0;
	border-top-left-radius: 0;
}

.mobile .ui-datepicker-calendar {
	padding: 0;
}

.mobile .ui-datepicker-calendar tr {
	height: calc(100vh / 9);
}

.mobile .ui-datepicker-calendar td {
	width: calc(100% / 7);
	height: 100%;
	margin-bottom: 0;
}

.mobile .ui-datepicker-calendar td a,
.mobile .ui-datepicker-calendar td span {
	align-items: center;
	justify-content: center;
	padding: 0;
}
