/* Default styling for jQuery Datepicker v5.0.1. */
body.hidden-overflow{
	overflow: hidden !important;
}
.datepick {
	background-color: #fefefe;
	display: flex;
	width: 396px;
	height: auto;
	/* min-height: 426px; */
	min-height: 467px;
	padding: 24px;
	flex-direction: column;
	align-items: flex-start;
	/* gap: 16px; */
	border-radius: 24px 24px 0px 0px;
	color: #17171A;
	font-family: Mariupol;
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 133.333%;
	position: relative;
	border-radius: 16px;
	border: 1px solid #505259;
	box-shadow: 6px 6px 0px 0px #17181A;
}
.datepick-rtl {
	direction: rtl;
}
.datepick-popup {
	z-index: 91;
}
.datepick-disable {
	position: absolute;
	z-index: 100;
	background-color: white;
	opacity: 0.5;
	filter: alpha(opacity=50);
}
.datepick a {
	color: #17171A;
	text-decoration: none;
}
.datepick a.datepick-disabled {
	color: #888;
	cursor: auto;
}
.datepick button {
    margin: 0.25em;
    padding: 0.125em 0em;
    background-color: #fcc;
    border: none;
    border-radius: 0.25em;
    -moz-border-radius: 0.25em;
    -webkit-border-radius: 0.25em;
    font-weight: bold;
}
.datepick .years_block,
.datepick .months_block{
	/* width: 50%; */
	position: relative;
	cursor: pointer;
}
.datepick .years_block{
	width: 45%;
}
.datepick .months_block{
	width: 55%;
}
.datepick .datepicker_current_month,
.datepick .datepicker_current_year{
	position: relative;
    display: flex;
    z-index: 1;
    font-family: "Articulat CF";
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 133.333%;
	letter-spacing: -0.2px;
	height: 48px;
	padding: 12px;
	border-radius: 8px;
	align-items: center;
	justify-content: center;
}
.datepick .datepicker_current_month:hover, 
.datepick .datepicker_current_year:hover{
	background:#F5F6FA;
}
.datepick .datepicker_current_month:after,
.datepick .datepicker_current_year:after{
	content:'';
	position: relative;
	display: block;
	margin-left: 8px;
	width: 24px;
	height: 24px;
	display: block;
	background-image: url(../img/chevron_small.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto;
}
.datepick .datepicker_current_month.opened:after,
.datepick .datepicker_current_year.opened:after{
	transform: rotate(-180deg);
}
.datepick-nav, .datepick-ctrl {
	float: left;
	width: 100%;
	color: #17171A;
	font-size: 90%;
	font-weight: bold;
}
.datepicker_close{
	position: absolute;
	right: 20px;
	top: 20px;
	z-index: 4;
	display: none;
}
.datepick-ctrl {
	display: none;
}
.datepick-cmd {
	width: 30%;
}
.datepick-nav:before{
	content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #E9EAF0;
    border-radius: 50%;
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 2);
}
.datepick-nav:hover:before {
	top: -6px;
    bottom: -6px;
    left: -6px;
    right: -6px;
    z-index: 1;
}
.datepick-nav.datepick-disabled:hover:before {
    display: none;
}
.datepick-nav a{
	position: relative;
	z-index: 2;
}
/*.datepick-ctrl .datepick-cmd:hover {
	background-color: #f08080;
}
.datepick-cmd-prevJump, .datepick-cmd-nextJump {
	width: 8%;
}
a.datepick-cmd {
	height: 1.5em;
}*/
button.datepick-cmd {
	text-align: center;
}
.datepick-nav{
	position: relative;
	width: 24px;
	height: 24px;
	top: 36px
}
.datepick-cmd-prev,
.datepick-cmd-next{
	width: 24px;
	height: 24px;
	display: block;
	background-image: url(../img/chevron_left.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto;
}
.datepick-cmd-next{
	transform: rotate(180deg);
	left: 2px;
}
.datepick-cmd-prev{
	right: 2px;
}
.datepick-cmd-prev.datepick-disabled,
.datepick-cmd-next.datepick-disabled{
	background-image: url(../img/chevron_left_disabled.svg);
}
.datepick-cmd-prevJump, 
.datepick-cmd-clear {
	float: left;
	padding-left: 2%;
}
.datepick-today-block{
	width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}
.datepick-cmd-current, .datepick-cmd-today {
	float: left;
	width: 35%;
	text-align: center;
}
.datepick-cmd-nextJump, .datepick-cmd-close {
	float: right;
	padding-right: 2%;
	text-align: right;
}
.datepick-rtl .datepick-cmd-prev, .datepick-rtl .datepick-cmd-prevJump,
.datepick-rtl .datepick-cmd-clear {
	float: right;
	padding-left: 0%;
	padding-right: 2%;
	text-align: right;
}
.datepick-rtl .datepick-cmd-current, .datepick-rtl .datepick-cmd-today {
	float: right;
}
.datepick-rtl .datepick-cmd-next, .datepick-rtl .datepick-cmd-nextJump,
.datepick-rtl .datepick-cmd-close {
	float: left;
	padding-left: 2%;
	padding-right: 0%;
	text-align: left;
}
.datepicker-top-line{
    display: flex;
    justify-content: space-between;
    position: absolute;
    z-index: 3;
    left: 24px;
    right: 24px;
    top: 0;
    height: 36px;
}
.datepick-month-nav {
	float: left;
	background-color: #777;
	text-align: center;
}
.datepick-month-nav div {
	float: left;
	width: 12.5%;
	margin: 1%;
	padding: 1%;
}
.datepick-month-nav span {
	color: #888;
}
.datepick-month-row {
	clear: both;
	width: 100%;
}
.datepick-month {
	float: none;
	width: 100%;
	text-align: center;
}
.datepick-month-header{
	display: flex;
    justify-content: center;
    align-items: flex-start;
	gap: 8px;
    position: relative;
    height: auto;
    padding: 0 32px 16px;
    width: 100%;
    border-bottom: 1px solid #505259;
    margin-bottom: 16px;
}
.datepick-month-header .select, .datepick-month-header input {
	height: 1.5em;
	background-color: #444;
	color: #fff;
	font-weight: bold;
}
.datepick-month-header .months_selection,
.datepick-month-header .years_selection {
	position: absolute;
	color: #000;
	top: 100%;
	display: flex;
	width: 185px;
	height: auto;
	max-height: 0;
	padding: 0 4px 0 16px;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	border-radius: 8px;
	border: 0px solid #505259;
	background: #FEFEFE;
	z-index: 3;
	overflow: scroll;
	transition: all .3s linear;
	-ms-overflow-style: none;
    scrollbar-width: none;
}

.datepick-month-header .months_selection.opened,
.datepick-month-header .years_selection.opened {
	max-height: 346px;
	padding: 16px 4px 16px 16px;
	border: 1px solid #505259;
}

.datepick-month-header .year_option_wrap{
	width: 100%;
    overflow-y: scroll;
    padding-right: 8px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.datepick-month-header .select, .datepick-month-header input {
	height: 1.4em;
	margin: 0em;
	padding: 0em;
	border: none;
	font-size: 100%;
}
.datepick-month-header .months_selection .month_option,
.datepick-month-header .years_selection .year_option{
	display: flex;
	padding: 8px 20px;
	border-radius: 4px;
	align-items: center;
	gap: 12px;
	align-self: stretch;
	color: #17171A;
	font-family: Mariupol;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%;
	cursor: pointer;
}
.datepick-month-header .years_selection .year_option:first-child,
.datepick-month-header .years_selection .year_option:last-child{
	display: none;
}
.datepick-month-header .months_selection .month_option:hover,
.datepick-month-header .years_selection .year_option:hover{
	background: #F5F6FA;
}
.datepick-month-header .months_selection .month_option[data-selected="selected"],
.datepick-month-header .years_selection .year_option[data-selected="selected"]{
	background: #F0F2FC;
}
.datepick-month-header input {
	position: absolute;
	display: none;
}
.datepick-month table {
	width: 100%;
	border-collapse: collapse;
	position: relative;
}
.datepick-month thead {
}
.datepick-month th, .datepick-month td {
}
.datepick-month th {
}
.datepick-month th, .datepick-month th a {
}
.datepick-month td {
	
}
.datepick-month td.datepick-week {
	
}
.datepick-month td.datepick-week * {

}
.datepick-month a {
	display: flex;
    width: 48px;
    padding: 10px 8px;
    text-decoration: none;
    height: 48px;
    justify-content: center;
    align-items: center;
    color: #17171A;
	font-family: Mariupol;
	font-size: 20px;
	font-weight: 400;
	line-height: 140%
}
.datepick-month span {
	display: flex;
    width: 48px;
    padding: 10px 8px;
    text-decoration: none;
    height: 48px;
    justify-content: center;
    align-items: center;
	color: #737580;
	font-family: Mariupol;
	font-size: 17px;
	font-weight: 500;
	line-height: 141.176%
}
.datepick-month td span {
	color: #C4C5CC;
	font-weight: 400;
}
.datepick-month td .datepick-other-month {
	background-color: #fff;
}
.datepick-month td .datepick-weekend {
	
}
.datepick-month td .datepick-today {
	border-radius: 8px;
	border: 1px solid #505259;
	background: #FEFEFE;
}
/* .datepick-month td .datepick-highlight {
	border-radius: 8px;
	border: 1px solid #505259;
	background: #FEFEFE;
} */
.datepick-month td .datepick-selected {
	border-radius: 8px;
	border: 1px solid #505259;
	background: #FF3;
}
.datepick-month td .datepick-selected:hover,
.datepick-month td a:hover {
	border-radius: 8px;
	border: 1px solid #505259;
	background: #FCFBED;
}
.datepick-month th.datepick-week {
	
}
.datepick-status {
	clear: both;
	background-color: #ddd;
	text-align: center;
}
.datepick-clear-fix {
	clear: both;
}
.datepick .mobile-header{
	display: none;
}
.datepicker_error_block{
	display: none;
}
.datepicker_error_content{
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 20px;
	background-color: #FEEAE5;
	border-radius: 8px;
}
.datepicker_error_text{
	color: #17171A;
	font-family: Mariupol;
	font-size: 17px;
	font-weight: 400;
	line-height: 129.412%;
	width: 272px;
}
.datepicker_error_content:before{
	content: '';
	position: relative;
	width: 20px;
	height: 19px;
	display: block;
	background-image: url('../img/alert.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left top;
	margin-right: 12px;
}

@media all and (max-width: 1919px) and (min-width: 769px) {
	.datepick{
		padding: 20px;
		max-width: 312px;
		/* min-height: 332px; */
		min-height: 369px;
		gap: 0;
	}
	.datepick-nav{
		top: 28px;
	}
	.datepicker-top-line{
		height: 28px;
	}
	.datepick-month a,
	.datepick-month span{
		padding: 7px 8px;
		width: 38px;
		height: 38px;
		font-size: 16px;
	}
	.datepick .datepicker_current_month,
	.datepick .datepicker_current_year{
		font-size: 15px;
        font-style: normal;
        font-weight: 600;
        line-height: 160%;
        letter-spacing: -0.15px;
        padding: 8px 8px 8px 12px;
        height: 40px;
	}
	.datepicker_error_content{
		padding: 16px;
		margin-top: 16px;
	}
	.datepicker_error_text{
		width: 206px;
		font-size: 14px;
	}
	.datepick-month-header .months_selection, 
	.datepick-month-header .years_selection{
		width: 150px;
		padding: 0 3px 0 12px;
	}
	.datepick-month-header .months_selection.opened, 
	.datepick-month-header .years_selection.opened{
		padding: 12px 3px 12px 12px;
	}
	.datepick-month-header .year_option_wrap{
		padding-right: 5px;
	}
	.datepick-month-header .months_selection .month_option, 
	.datepick-month-header .years_selection .year_option{
		padding: 6px 16px;
		font-size: 16px;
		line-height: 150%
	}
	.datepick-month-header{
		justify-content: center;
    	gap: 4px;
		padding: 0 32px 12px;
		margin-bottom: 8px;
	}
	/* .datepick .years_block, 
	.datepick .months_block{
		width: auto;
	} */
}
@media all and (max-width: 768px) {
	.datepick-popup{
		position: fixed !important;
		bottom:-100% !important;
		left: 0 !important;
		right: 0 !important;
		top: auto !important;
		transition: all .5s linear;
		width: 100%;
		background-color: #fefefe;
	}
	.datepick-popup {
		z-index: 1000;
	}
	.datepick-popup.showed{
		bottom:0 !important;
	}
	.datepicker-overlay{
		content: "";
	    position: fixed;
	    top: 0;
	    left: 0;
	    width: 100% !important;
	    height: 100%;
	    justify-content: center;
	    align-items: center;
	    background: rgba(0, 0, 0, 0.6);
	    display: none;
	}
	/* .datepick-popup:before{
		content: "";
	    position: fixed;
	    top: 0;
	    left: 0;
	    width: 100%;
	    height: 100%;
	    justify-content: center;
	    align-items: center;
	    background: rgba(0, 0, 0, 0.6);
	    display: none;
	} */
	/* .datepick-popup.showed:before{
		display: block;
	} */
	.datepick-popup.showed .datepicker-overlay{
		display: block;
	}
	.mobile-background{
		content: "";
	    position: absolute;
	    bottom: 0;
	    top: 0;
	    left: 0;
	    width: 100% !important;
	    min-height: 460px;
	    justify-content: center;
	    align-items: center;
	    background: #fefefe;
        border-radius: 16px 16px 0 0;
        z-index: 1;
	}
	.datepick{
		width: 360px !important;
		padding: 48px 20px 40px;
		min-height: 440px;
		z-index: 1000;
		box-shadow: none;
		border: none;
		position: relative;
		margin: 0 auto;
		z-index: 3;
		gap: 0;
	}
	.datepick-nav{
		top: 60px;
	}
	.datepick-month-header{
		padding: 0 32px 12px;
		margin-bottom: 12px;
		gap: 8px;
		justify-content: center;
	}
	.datepicker_close{
		position: absolute;
		right: 14px;
		top: 15px;
		z-index: 4;
		display: block;	
		width: 24px !important;	
	}
	.datepicker_close a{
		display: flex;
		justify-content: center;
		align-items: center;
		cursor: pointer;
		width: 24px;
		height: 24px;
		border-radius: 24px;
		background-color: #F5F6FA;
		text-align: center;
        padding: 0;
        float: none;
        line-height: 10px;
	}
	.datepick-month-header .months_selection, 
	.datepick-month-header .years_selection{
		transition: none;
	}
	.datepick-month-header .months_selection.opened, 
	.datepick-month-header .years_selection.opened {
	    max-height: 310px;
		min-height: 310px;
        max-width: 360px;
		/* height: 51.5%; */
        /* padding: 0px 20px; */
		padding: 0;
        border: none;
        position: fixed;
        border-radius: 0;
        z-index: 4;
        left: 50%;
        bottom: 40px;
        top: auto;
        right: auto;
        width: 100%;
        transform: translateX(-50%);
	}
	.datepick-month-header .months_selection .month_option,
	.datepick-month-header .years_selection .year_option{
		padding: 8px 12px;
		border-radius: 8px;
		font-size: 15px;
	}
	.datepick-month-header .year_option_wrap {
		width: calc(100% - 28px);
		position: relative;
		left: 20px;
	}
	.datepick .mobile-header{
		display: none;
		color: #17171A;
		font-family: "Articulat CF";
		font-size: 17px;
		font-style: normal;
		font-weight: 600;
		line-height: 117.647%;
		letter-spacing: -0.17px;
		text-align: left;
		padding-bottom: 0;
		border-bottom: 0px solid #17171A;
		width: 100%;
	}
	.datepick-month span,
	.datepick-month a{
		width: 44px;
		height: 40px;
		font-size: 15px;
		line-height: normal;
        padding-bottom: 7px;
	}
	.datepick .mobile-header.opened{
		display: block;
		padding: 0 8px 12px;
		border-bottom: 1px solid #17171A;
	}
	.datepicker-top-line.hide{
		display: none;
	}
	.datepicker_error_block{
		width: 100%;
	}
	.datepicker_error_content{
		padding: 16px;
	}
	.datepicker_error_text{
		width: auto;
		min-width: 202px;
        font-size: 13px;
		line-height: 138.462%
	}
	.datepick .datepicker_current_month:after,
	.datepick .datepicker_current_year:after{
		background-size: 100%;
		/* width: 16px;
		height: 16px; */
	}
	.datepick .datepicker_current_month, 
	.datepick .datepicker_current_year{
		font-size: 15px;
		line-height: 120%;
		letter-spacing: -0.15px;
	}
	.datepick-month.opened .datepick-month-header{
		/* position: absolute; */
	}
	.datepick-month.opened .datepicker_current_month, 
	.datepick-month.opened .datepicker_current_year{
		display: none;
	}
	/* .datepick .years_block, 
	.datepick .months_block {
		width: auto;
	} */
	.datepick-month table {
		width: auto;
		margin: 0 auto;
	}
}

@media all and (max-width: 359px) {
	.datepick {
        padding: 48px 10px 40px;
        width: 300px !important;
	}
	.datepick-month span,
	.datepick-month a{
		width: 32px;
		height: 32px;
	}
	.datepicker-top-line{
		left: 14px;
		right: 14px;
	}
	.datepick .datepicker_current_month, .datepick .datepicker_current_year{
		font-size: 18px;
		padding: 12px 8px;
	}
	.datepicker_error_text{
		width: 200px;
	}
}
