.v__cal--hidden {
	display: none !important;
}
.v__cal--blocks {
	display:inline-block;
}
.v__cal--buttonset {
	display:flex;
	flex-wrap: nowrap;
	justify-content: start;
	align-content: start;
}
.v__cal--button {
	background: #F5F5F5 no-repeat 14px center;
	transition: .3s background-color, .3s color;
	border-radius: 4px;
	padding: 12px 10px 12px 14px;
	height: 48px;
	line-height: 24px;
	color: #262626;
	cursor: pointer;
	margin: 0 8px 8px 0;
	vertical-align: top;
	box-sizing: border-box;
	font-weight: bold;
	align-self: start;
}
.v__cal--button:hover {
	background-color: #DBDBDB;
}
.v__cal--button.active {
	background-color: #E22C38;
	color:#ffffff;
}
.v__cal--main {
	min-width: 48px;
}
.v__cal--button > svg {
	display:inline-block;
	vertical-align: middle;
	fill: #262626;
	margin-top: -4px;
}
.v__cal--button > span {
	display:inline-block;
	vertical-align: middle;
	line-height: 24px;
}
.v__cal--button.active > svg {
	fill: #FFFFFF;
}
.v__cal--button > [type="text"] {
	border: none;
	width: 70px;
	padding: 2px 4px;
	border: 1px solid #c5c5c5;
}
.v__cal--button:hover > [type="text"],
.v__cal--button.active > [type="text"] {
	border-color: #E22C38;
}
.v__cal--close,
.v__cal--close:hover {
	min-width: auto;
	background-color: transparent;
}
.v__cal--close > svg {
	fill: #262626;
}
.v__cal--close:hover > svg {
	fill: #E22C38;
}
.v__cal--clear {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	background-color: #E22C38;
	margin-right: 0;
	margin-left: 0px;
	padding-left: 8px;
	padding-right: 8px;
	border-left: 1px solid #FFFFFF;
	opacity:0.8;
	display: none;
}
.v__cal--clear:hover {
	opacity: 1;
}
.v__cal--main.filled {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	background-color: #E22C38;
	margin-right: 0;
}
.v__cal--main.filled > span {
	color: #FFFFFF;
}
.v__cal--main.filled > svg {
	fill: #FFFFFF;
}
.v__cal--main.filled+.v__cal--clear {
	display: inline-block;
}
.v__cal--calendar {
	position: fixed;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.04), 0px 12px 12px rgba(0, 0, 0, 0.04);
	z-index: 50;
	width: auto;
	padding: 8px;
	z-index: 999;
	max-width: 316px;
	max-height: 356px;
	box-sizing: border-box;
	opacity: 0;
	pointer-events: none;
	transform: translateY(50px);
	transition: .3s transform, .3s opacity;
}
.v__cal--calendar.open {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}
.v__calblocks {
	width: 300px;
	height: 340px;
	padding: 0;
	position: relative;
}
.v__cal--icon {
	width: 22px;
	height: 22px;
}
.v__icon--calendar {
	width: 20px;
}
.v__icon--close {
	margin-left: 20px;
	margin-top: 4px;
}
.v__calnav {
	position: absolute;
	top: 14px;
	width: 24px;
	height: 24px;
	background: no-repeat url('images/icon-nav-right-b.svg') center center;
	cursor: pointer;
	z-index: 100;
	display: block;
	border: none;
}
.v__calnav--prev {
	left: 8px;
	transform: rotate(180deg);
	display: none;
}
.v__calnav--next {
	right: 8px;
}
.v__cal--month {
	display: none;
}
.v__cal--title {
	font-weight: 500;
	text-align: center;
	font-size: 17px;
	line-height: 24px;
	margin: 6px 0 12px 0;
}
.v__cal--row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: center;
	width: 100%;
}
.v__cal--week {
	flex-wrap: nowrap;
}
.v__cal--cell {
	flex-grow: 1;
	text-align:center;
	width: 42px;
	height: 42px;
	text-align: center;
	position: relative;
	border-bottom: 1px solid #FFFFFF;
	box-sizing: border-box;
}
.v__cal--cell span,
.v__cal--cell label {
	display: block;
	width: 42px;
	height: 42px;
	line-height: 42px;
	border-radius: 50%;
	color: #333333;
}
.v__cal--cell span {
	color: #7C7C7C;
	opacity:0.8;
}
.v__cal--cell input {
	position: absolute;
}
.v__cal--cell input:checked+label,
.v__cal--cell input:checked:hover+label {
	opacity:1;
	background-color:#E22C38;
	color: #ffffff !important;
}
.v__cal--cell.checked {
	background-color: #ededed;
}
.v__cal--cell.start {
	background: rgb(255,255,255);
	background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(237,237,237,1) 50%, rgba(237,237,237,1) 100%);
}
.v__cal--cell.end {
	background: rgb(237,237,237);
	background: linear-gradient(90deg, rgba(237,237,237,1) 0%, rgba(237,237,237,1) 50%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 100%);
}
/* .v__cal--cell.start label {
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}
.v__cal--cell.end label {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
} */

.v__cal--cell label {
	cursor: pointer;
}
.v__cal--cell label:hover {
	background-color: #F5F5F5;
}
.v__cal--cell.current label {
	background-color:#8f8f8f;
	color:#FFFFFF;
}
.v__cal--cell.current label:hover {
	opacity: 1;
	color: #7C7C7C;
	color:#FFFFFF;
}
.v__cal--cell.weekend label {
	color: #E22C38;
}
.v__cal--cell.current.weekend label {
	background-color: #ff7d86;
	color:#FFFFFF;
}
.v__cal--cell.current.weekend label:hover {
	background-color: #F5F5F5;
	color: #E22C38;
}
.v__cal--cell.current.weekend input:checked+label,
.v__cal--cell.current.weekend input:checked+label:hover {
	background-color: #E22C38;
}
.v__cal--cell.disabled label {
	background-color: #f5f5f5;
	pointer-events: none !important;
	opacity: 0.3;
	color: #7C7C7C;
}
.v__cal--cell.not_current_month label {
	opacity:0.5;
	color: #7C7C7C !important;
}
.v__cal--cell.not_current_month label:hover {
	opacity:1;
}

@media (max-width: 1023px) {
	
	.v__cal--button {
		height: 36px;
		font-size: 14px;
		line-height: 18px;
		padding: 9px;
	}
	.v__cal--main {
		min-width: 34px;
	}
	.v__cal--button > span {
		line-height: 18px;
	}
	.v__cal--icon {
		width: 17px;
		height: 17px;
	}
	.v__icon--calendar {
		width: 16px;
	}
	.v__cal--clear {
		padding-left: 7px;
		padding-right: 7px;
	}
}

