/* ————————— edit sections ————————— */
.amenities .editsection {
	padding: 0 1%;
}
.amenities .editsection table {
	border-width: 0;
}
.amenities .editsection .column {
	padding: 0 10px;
	border-width: 0;
}
.amenities h3 {
	margin-bottom: 0;
}

/* ------------------- calendar ------------------- */

.month-wrap {
	border: 4px solid #CCC;
	border-radius: 5px;
}

.daycell {
	float: left;
	width: 14.2857%;
	position: relative;
}
.dayheader {
	margin: 1px;
	background-color: #034763;
	color: #FFF;
	text-align: center;
	padding: 5px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}
.month-wrap .day {
	border: 1px solid #CCC;
	height: 130px;
	overflow: hidden;
}
.month-wrap .daycell .day.blank {
	border: 1px solid #FFF;
}
.month-wrap .daycell.past .day {
	border: 1px solid #EEE;
	color: #CCC;
}
.month-wrap .daycell.today .day {
	border: 1px solid #1ccdff;
}
.day-number {
	font-size: 1.3rem;
}
.month-wrap .dayitem {
	font-size: 12px;
	text-align: center;
	white-space: nwrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.month-wrap .dayitem.start {
	margin-left: 5px;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}
.month-wrap .dayitem.start {
	margin-right: 5px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}
.calendar-keys {
	list-style: none;
}
.calendar-keys li {
	display: inline-block;
	margin-left: 10px;
	font-size: 12px;
}
.calendar-keys li span {
	display: inline-block;
	padding: 0 10px;
	border: 1px solid #000;
}
#price-calendar-wrap .daycell {
	cursor: pointer;
	cursor: hand;
}
.ui-datepicker-calendar .highlight .ui-state-default {
	background-color: #333;
	color: #FFF;
}

#booking-calendar-wrap h1 span,
#price-calendar-wrap h1 span {
	display: inline-block;
	min-width: 250px;
	text-align: center;
}

/* ————— all in one calendar —————— */
.allinone {
	overflow-x: scroll;
	position: relative;
}
.allinone-wrap {
	min-width: 1350px;
}
.allinone-header-wrap, 
.allinone-property-wrap {
	
}
.allinone-header {
	float: left;
	width: 35px;
	border: 1px solid #DDD;
	text-align: center;
	color: #025b7a;
	font-weight: bold;
}
.allinone-property {
	float: left;
	width: 180px;
	font-size: 14px;
	padding-top: 3px;
	text-align: right;
	padding-right: 5px;
}
.allinone-property a {
	color: #000;
}
.allinone-day {
	float: left;
	width: 35px;
	height: 35px;
	border: 1px solid #DDD;
	text-align: center;
	position: relative;
}
.allinone-day.past {
	opacity: 0.5;
}
.allinone-day-label {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 35px;
	color: #999;
	text-align: center;
	font-size: 0.8rem;
}
.allinone-day.hover .allinone-day-label {
	display: block;
}
.allinone-property-wrap.alt .allinone-day {
	background-color: #EEE;
}

.allinone-day.today,
.daycell.today {
	background-color: #fff3c2 !important;
}

.allinone-day .cleaning-booked,
.daycell .cleaning-booked,
.allinone-day .booking-booked,
.daycell .booking-booked,
.daycell .custom {
	display: block;
	width: 35px;
	height: 35px;
	opacity: 0.5;
	position: absolute;
	top: 0;
	left: 0;
}
.allinone-day .cleaning-checkin,
.daycell .cleaning-checkin,
.allinone-day .booking-checkin,
.daycell .booking-checkin,
.daycell .custom-start {
	display: inline-block;
	position: absolute;
	top: 0;
	left: 23px;
	width: 12px;
	height: 35px;
	opacity: 0.5;
	border-top-left-radius: 8px;
}
.allinone-day .booking-booked,
.daycell .booking-booked,
.allinone-day .booking-checkin,
.daycell .booking-checkin,
.daycell .custom-start,
.daycell .custom {
	opacity: 1;
}
.allinone-day .cleaning-checkout,
.daycell .cleaning-checkout,
.allinone-day .booking-checkout,
.daycell .booking-checkout,
.daycell .custom-end {
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0px;
	width: 12px;
	height: 35px;
	border-bottom-right-radius: 8px;
}

.daycell .cleaning-checkin,
.daycell .cleaning-checkout,
.daycell .booking-checkin,
.daycell .booking-checkout,
.daycell .custom-start,
.daycell .custom-end {
	width: 45%;
	top: 45px;
}
.daycell .cleaning-checkin,
.daycell .booking-checkin,
.daycell .custom-start {
	left: 55%;
}
.daycell .cleaning-booked,
.daycell .booking-booked,
.daycell .custom {
	width: 100%;
	top: 45px;
}

.daycell .custom,
.daycell .custom-start,
.daycell .custom-end {
	background-color: #333;
	color: #FFF;
}
.daycell .custom-end {
	width: 25%;
}

/* ——————— calendar popup ———————— */
.calpopup {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 300px;
	z-index: 100;
}
.calpopup.loading {
	background-color: #FFF;
	background-image: url(../graphics/table-loader.gif);
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 5px;
	height: 200px;
}
.calpopup.hidden {
	display: none;
}
.calpopup-inner {
	background-color: #FFF;
	border-left-width: 10px;
	border-left-style: solid;
	border-radius: 5px;
	padding: 10px;
}
.calpopup-booking-image img {
	max-width: 100%;
}
.calpopup-inner h4,
.calpopup-inner h5 {
	margin: 3px 0;
	font-weight: normal;
}
.calpopup-inner h4 strong {
	font-weight: bold;
}
.calpopup-status-buttons span {
	font-size: 1rem;
}
.calpopup-status-buttons .button {
	font-size: 1rem;
}

/* -------------- bookings ----------------- */

.bookings .ajaxcolumn .button {
	margin: 5px;
	padding: 4px 10px;
	font-size: 1rem;
}
.bookings .ajaxcolumn .invalid {
	border: 2px solid #CC0000;
}
.editsection.booking-details {
	padding: 0;
	border-width: 0;
	margin-top: 0;
}
.editsection .column.booking-column {
	vertical-align: top;
}
.booking-details .column.col-12 {
	padding: 0;
}
.booking_guest .column.col-12 {
	padding: 5px 10px;
}
.lineitems .column.col-12 {
	padding: 10px 0;
	border-top-width: 0;
}
.lineitems .column.col-1,
.lineitems .column.col-11 {
	border-top-width: 0;
	padding: 0 5px;
}
.lineitems .editsection .column.col-11 {
	padding-top: 0;
	padding-bottom: 10px;
}
.lineitems .handle {
	background-size: 20px auto;
}
.lineitems .editsection {
	padding: 0;
	margin: 0;
	border-width: 0;
}
.lineitems .editsection th {
	border-top-width: 0;
	padding-top: 0;
}
.lineitems .editsection .column {
	padding: 5px 0;
}
.editsection .column.invoice-item {
	border-top-width: 0;
	padding-top: 0;
}
.lineitems .editsection .column.col-11,
.lineitems .editsection .column.col-12 {
	padding-bottom: 0;
}


.property-date-picker {
	width: 300px;
	font-size: 1rem;
	line-height: 2;
}
.ui-datepicker {
	z-index: 10 !important;
}
.property-pricing .ui-datepicker,
.property-availability .ui-datepicker {
	z-index: 1000 !important;
}
.property-date-picker .ui-widget-header {
	background-color: #AA0000;
	color: #FFF;
}
.property-date-picker .ui-datepicker-prev,
.property-date-picker .ui-datepicker-next {
	background: none;
	cursor: pointer;
	cursor: hand;
}
.property-date-picker .ui-datepicker-prev .ui-icon {
	background-position: center;
	background-image: url(../graphics/chevron-left.svg);
}
.property-date-picker .ui-datepicker-next .ui-icon {
	background-position: center;
	background-image: url(../graphics/chevron-right.svg);
}
.property-date-picker .highlight .ui-state-default {
	background-color: #AA0000;
	color: #FFF;
}
.property-date-picker .cal-booked .ui-state-default {
	background-color: #333;
	color: #FFF;
}
.property-date-picker .highlight-start .ui-state-default,
.property-date-picker .highlight-start .ui-state-active,
.property-date-picker .cal-booked-start .ui-state-default,
.property-date-picker .cal-booked-start .ui-state-active {
	background: none;
	background-image: url(../graphics/calendar-highlight-start.svg);
	background-size: auto 100%;
	background-position: left;
	background-repeat: no-repeat;
	color: #FFF;
}
.property-date-picker .cal-booked-start .ui-state-default,
.property-date-picker .cal-booked-start .ui-state-active {
	background-image: url(../graphics/calendar-booked-start.svg);
}
.property-date-picker .highlight-end .ui-state-default,
.property-date-picker .highlight-end .ui-state-active {
	background: none;
	background-image: url(../graphics/calendar-highlight-end.svg);
	background-size: auto 100%;
	background-position: right;
	background-repeat: no-repeat;
	color: #FFF;
}
.property-date-picker .cal-booked-end .ui-state-default,
.property-date-picker .cal-booked-end .ui-state-active {

	background-image: url(../graphics/calendar-booked-end.svg);
	background-position: -65px center;
	background-size: auto 100%;
	background-repeat: no-repeat;
}


.editsection th.column.invoice-item {
	padding-bottom: 0;
}
.editsection td.column.invoice-item {
	border-bottom: 1px solid #EEE;
	padding-bottom: 15px;
}
.bookings .savebutton .button {
	margin: 5px;
}
#editbooking .loading .editsection {
	opacity: 0.4;
	background-image: url(../graphics/loader.gif);
	background-repeat: no-repeat;
	background-position: center;
}
#editbooking .pay-method {
	font-size: 0.9rem;
}
#editbooking .payment {
	font-size: 12px;
	text-align: center;
}
#editbooking .payment.details {
	text-align: left;
}
#editbooking .payment.refunded {
	color: #CC0000;
}
#editbooking .payment span.refunded {
	display: block;
	color: #CC0000;
}
#editbooking .payment h4 {
	font-size: 1.1rem;
	margin: 0;
}
#editbooking .payment .button {
	margin-left: 0;
	margin-right: 5px;
}

.damage-total {
	color: #CC0000;
	font-weight: bold;
}
.damage-total span,
.total.due-now span {
	font-size: 0.8rem;
	display: block;
	font-weight: normal;
}
.total {
	font-weight: bold;
}
.paymentdue {
	color: #CC0000;
}
.button.refund, .button.payment-delete {
	padding: 4px 10px;
}
#editbooking .alert {
	color: #CC0000;
}