@charset "utf-8";




/*** Календарь ***/
div.calendar {
	cursor: default;
	width: 960px;
	background: #fff;
}
div.calendar .header {
	margin-bottom: 10px;
	text-align: center;
}
div.calendar .header button:before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	background: no-repeat;
	background-size: 20px 20px;
}
div.calendar .header button:first-of-type:before {
	background-image: url(/areas/site/templates/img/arrow_left.png);
}
div.calendar .header button:last-of-type:before {
	background-image: url(/areas/site/templates/img/arrow_right.png);
}
div.calendar .header input {
	width: 50px;
	margin: 0 10px;
	text-align: center;
}

table.calendar {
	width: 100%;
	border-collapse: collapse;
}
table.calendar th {
	padding: 5px 0;
	text-align: center;
	background: #333;
	color: #fff;
}
table.calendar td {
	padding: 3px 0;
}
table.calendar .week_day {
	width: 30px;
	font-weight: bold;
}
table.calendar .week_end_day {
	color: #c30;
}
table.calendar .day {
	width: 19px;
	padding-left: 2px;
	padding-right: 2px;
	text-align: right;
}
table.calendar.selectable .day.fill {
	cursor: pointer;
}
table.calendar.selectable .day.fill.day_select_block {
	background: #c30;
	color: #fff;
}
table.calendar.selectable .day.fill.day_select_mark {
	background: #fc3;
	color: #000;
}
table.calendar.selectable .day.fill.day_select_handle {
	background: #09c;
	color: #fff;
}
table.calendar.selectable .day.fill.unavailable {
	opacity: .5;
}
table.calendar tr:hover .week_day,
table.calendar .day.fill:hover {
	background: #333 !important;
	color: #fff !important;
}
table.calendar .month_separator {
	width: 17px;
}
table.calendar tr.separator td {
	height: 10px;
	padding: 0;
}




/*** Всплывающее окно ***/
.pup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .5);
	z-index: 2147483647;
	cursor: pointer;
}




/*** Всплывающее окно календаря ***/
#pup_calendar .calendar_wrapper {
	background: #fff;
	padding: 20px;
	border-radius: 5px;
	position: absolute;
}