/*** BOOKING PLUGIN STYLES ***/

#area_booking div.two-column > div {
	width: 50%;
	float: left;
}
#area_booking div.two-column > div:last-child {
	float: right;
}
#area_booking div.two-column > div > div {
	position: relative;
}
#area_booking div.two-column > div:first-child > div {
	padding-right: 15px;
}
#area_booking div.two-column > div:last-child > div {
	padding-left: 15px;
}

#area_booking ul.legend > li {
	padding: 0 0 10px 30px;
	background: none!important;
	display: inline-block;
	width: 45%;
	margin-right: 10%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	position: relative;
}
#area_booking ul.legend > li:nth-child(2n) {
	margin: 0;
}
#area_booking ul.legend > li:before {
	content: '';
	width: 20px;
	height: 20px;
	position: absolute;
	left: 0;
}

#area_booking ul.ranges > li {
	padding: 0 0 10px;
}
#area_booking ul.ranges > li div.date {
	padding-top: 2px;
}

#booking_calendar {
	position: relative;
	padding-bottom: 20px;
}
#booking_calendar:before {
	content: '';
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	background: rgba(255,255,255,.5);
	visibility: hidden;
	z-index: 1;

	transition: visibility 0s linear 0.5s, opacity 0.5s ease;
	opacity: 0;
	filter: "alpha(opacity=0)"; -ms-filter: "alpha(opacity=0)";
}
#booking_calendar.loading:before {
	visibility: visible;
	transition-delay: 0s;
	opacity: 1;
	filter: "alpha(opacity=100)"; -ms-filter: "alpha(opacity=100)";
}

#booking_calendar .info {
	padding: 0 0 25px;
}
#booking_calendar .month-name {
	padding: 0 0 20px;
	text-align: center;
}
#booking_calendar table.month-table {
	table-layout: fixed;
}
#booking_calendar table.month-table tr.dayName > td > div {
	text-align: center;
	padding-bottom: 10px;
}
#booking_calendar table.month-table td.calendar_td {
	cursor: default;
}
#booking_calendar table.month-table td.calendar_td:hover > div:not(.booked):not(.prbooked):not(.closed):not(.unavailable) {
	box-shadow: inset 0 0 0 2px rgba(0,0,0,.1);
	cursor: pointer;
}
#booking_calendar table.month-table td.calendar_td > div {
	text-align: center;
	padding: 11px 0;
}
#booking_calendar td.calendar_td > div:not(.available):not(.unavailable):not(.closed):not(.closein):not(.closeout),
#booking_calendar td.calendar_td > div[class*='available '] {
	color: white;
}
#booking_calendar td.calendar_td > div.daySelect {
	color: white!important;
}

#booking_calendar div.horizontal > div {
	top: 0;
	margin-top: -4px;
	padding: 0 7px;
	height: 29px;
}
#booking_calendar div.horizontal > div.prev:before {
	left: 8px;
}
#booking_calendar div.horizontal > div.next:before {
	right: 10px;
}
#booking_calendar div.horizontal > div.next {
	left: auto;
	right: 0;
}

.booking-availability div.nav {
	padding-top: 20px;
}

/*** RTL ***/
body[dir=rtl] #area_booking div.two-column > div {
	float: right;
}
body[dir=rtl] #area_booking div.two-column > div:last-child {
	float: left;
}
body[dir=rtl] #area_booking div.two-column > div:first-child > div {
	padding-right: 0;
	padding-left: 15px;
}
body[dir=rtl] #area_booking div.two-column > div:last-child > div {
	padding-left: 0;
	padding-right: 15px;
}
body[dir=rtl] #area_booking ul.legend > li {
	padding: 0 30px 10px 0;
	margin-right: 0;
	margin-left: 10%;
}
body[dir=rtl] #area_booking ul.legend > li:nth-child(2n) {
	margin: 0;
}
body[dir=rtl] #area_booking ul.legend > li:before {
	left: auto;
	right: 0;
}
body[dir=rtl] #booking_calendar div.horizontal > div.prev:before {
	left: auto;
	right: 8px;
}
body[dir=rtl] #booking_calendar div.horizontal > div.next:before {
	right: auto;
	left: 10px;
}
body[dir=rtl] #booking_calendar div.horizontal > div.next {
	left: 0;
	right: auto;
}
/*** RTL END ***/

/*** DESKTOP VIEW ***/
@media screen and (min-width: 960px) {
	section.side_block.masonry-brick .booking-availability div.two-items input {
		width: 47%;
		margin-right: 6%;
		display: inline-block;
	}
	section.side_block.masonry-brick .booking-availability div.two-items input:last-child {
		margin-right: 0;
	}
	section.side_block:not(.masonry-brick) .booking-availability div.two-items input {
		width: 100%;
	}
	section.side_block:not(.masonry-brick) .booking-availability div.two-items input:last-child {
		margin-top: 20px;
	}
}
/*** TABLET VIEW ***/
@media screen and (min-width: 768px) and (max-width: 959px) {
	#booking_calendar table.month-table td.calendar_td > div {
		padding: 15px 0;
	}
	#area_booking div.two-column:not(.inline) > div {
		width: 100%;
		float: none;
	}
	#area_booking div.two-column:not(.inline) > div > div {
		padding: 0!important;
	}
	#booking_calendar div.two-column:not(.inline) > div {
		margin-bottom: 40px;
	}

	section.side_block:not(.masonry-brick) .booking-availability div.two-items {
		width: 70%;
		display: inline-block;
	}
	section.side_block:not(.masonry-brick) .booking-availability div.two-items input {
		width: 45%;
		margin-right: 5%;
	}
	section.side_block:not(.masonry-brick) .booking-availability div.nav {
		padding-top: 0;
		display: inline-block;
		width: 30%;
	}
	section.side_block:not(.masonry-brick) .booking-availability div.nav > input {
		width: 100%;
	}

	section.side_block.masonry-brick .booking-availability {
		max-width: 250px;
	}
	section.side_block.masonry-brick .booking-availability div.two-items > input {
		width: 100%;
	}
	section.side_block.masonry-brick .booking-availability div.two-items input:first-child {
		margin-bottom: 20px;
	}
}

/*** MOBILE VIEW ***/
@media screen and (max-width: 767px) {
	#booking_calendar table.month-table td.calendar_td > div {
		padding: 13px 0;
	}
	#area_booking div.two-column > div {
		width: 100%;
		float: none;
	}
	#area_booking div.two-column > div > div {
		padding: 0!important;
	}
	#booking_calendar div.two-column > div {
		margin-bottom: 40px;
	}

	.booking-availability {
		max-width: 250px;
	}
	.booking-availability div.two-items input {
		width: 100%;
		margin-right: 0;
	}
	.booking-availability div.two-items input:first-child {
		margin-bottom: 20px;
	}
}

/*** BOOKING PLUGIN STYLES END **