/* Frontend CSS Stylesheet for Restaurant Reservations */

.rtb-clear {
	clear: both;
}
.rtb-hidden {
	display: none;
}
.rtb-booking-form fieldset {
	padding-bottom: 1em;
	margin-bottom: 1em;
}
.rtb-booking-form legend {
	padding: 0 0.5em;
}
.rtb-booking-form fieldset>div {
	margin-top: 1em;
}
.rtb-booking-form fieldset>div:first-child {
	margin-top: 0;
}
.rtb-booking-form label {
	display: block;
}
.rtb-booking-form input {
	width: 100%;
	max-width: 15em;
}
.rtb-booking-form input[type="checkbox"],
.rtb-booking-form input[type="radio"] {
	width: auto;
	margin-right: 0.25em;
	vertical-align: middle;
}
.rtb-booking-form textarea {
	width: 100%;
	max-width: 30em;
}
.rtb-booking-form .add-message {
	margin-top: 1em;
}
.rtb-booking-form .message {
	position: relative;
	top: auto;
	left: auto;
	display: none;
}
.rtb-booking-form .message-open {
	display: block;
}
.rtb-booking-form .message textarea {
	min-height: 6em;
}
.rtb-booking-form .rtb-error {
	font-size: 0.85em;
	padding: 0.25em;
	background: #f50;
	color: #fff;
}
.rtb-booking-form .rtb-error:before {
	content: ' ';
	border-top: 4px solid;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	width: 0;
	height: 0;
	display: inline-block;
	margin: 0.25em 0.5em;
}

/* Compatibility styles for pickadate on common themes */
.picker {
	outline: 0;
}
#rtb-date_root .picker__button--clear,
#rtb-date_root .picker__button--today {
	/* don't adopt the theme's button text color */
	color: #000;
}
#rtb-date_root .picker__nav--next,
#rtb-date_root .picker__nav--prev {
	/* next/prev calendar arrows button areas sometimes don't cover the arrows */
	min-height: 2em;
}
#rtb-time_root .picker__list,
#rtb-time_root .picker__list li {
	/* override some theme's list styles */
	list-style: none;
	margin: 0 0 0 1px;
}


/* ARRIVAL LIGHTBOX */
.rtb-view-bookings-form-confirmation-background-div {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background: rgba(0,0,0,0.5);
}
.rtb-view-bookings-form-confirmation-div {
	position: fixed;
	top: 200px;
    width: 480px;
	left: calc(50% - 240px);
    z-index: 1000000;
    margin: 0;
    background: #fff;
	font-size: 18px;
	text-transform: uppercase;
	font-weight: bold;
	text-align: center;
}
.rtb-view-bookings-form-confirmation-div-inside {
	position: relative;
	float: left;
	width: calc(100% - 6px);
	height: calc(100% - 12px);
	border: 3px solid #ddd;
	margin: 3px;
}
.rtb-view-bookings-form-confirmation-div-title {
	position: relative;
	float: left;
	width: 90%;
	margin: 24px 5%;
	color: #333;
}
.rtb-view-bookings-form-confirmation-accept {
	position: relative;
	float: left;
	width: 32%;
	margin: 24px 34% 0;
	padding: 8px 0;
	background: #444;
	color: #fff;
	cursor: pointer;
}
.rtb-view-bookings-form-confirmation-accept:hover {
	background: #555;
}
.rtb-view-bookings-form-confirmation-decline {
	position: relative;
	float: left;
	width: 32%;
	margin: 8px 34% 24px;
	padding: 8px 0;
	background: #bbb;
	color: #444;
	cursor: pointer;
}
.rtb-view-bookings-form-confirmation-decline:hover {
	background: #ccc;
}

#rtb-view-bookings-form-close {
	position: absolute;
	top: 0;
	right: 0;
	width: 24px;
	height: 24px;
	background: #ddd;
	font-size: 15px;
	cursor: pointer;
}

@media screen and (max-width: 568px) {
	.rtb-view-bookings-form-confirmation-div {
		top: 100px;
		width: 300px;
		left: calc(50% - 150px);
	}	
}


/*CANCEL LINK*/
.rtb-cancellation-toggle {
	position: relative;
	float: left;
	padding: 10px 15px;
	margin-bottom: 24px;
	background: #444;
	color: #fff;
	border-radius: 3px;
	cursor: pointer;
}
label[for="rtb-cancellation-email"],
input[name="rtb_cancellation_email"] {
	float: left;
	margin-top: 20px;
}
label[for="rtb-cancellation-email"] {
	margin-right: 12px;
}
.rtb-cancel-button {
	position: relative;
	float: left;
	padding: 10px 15px;
	margin-top: 24px;
	background: #444;
	color: #fff;
	border-radius: 3px;
	cursor: pointer;
}

.rtb-bookings-results,
.rtb-cancel-booking-div {
	position: relative;
	float: left;
	width: 100%;
	margin-top: 16px;
}
.rtb-cancel-booking-div {
	position: relative;
	float: left;
	width: calc(100% - 2px);
	border: 1px solid #ddd;
}
.rtb-cancel-booking {
	position: relative;
	float: left;
	width: 200px;
	text-align: center;
	padding: 10px 0;
	background: #fe4e4e;
	color: #fff;
	cursor: pointer;
}
.rtb-cancel-booking:hover {
	background: #ff6b6b;
	color: #fff;
}
.rtb-booking-information {
	position: relative;
	float: left;
	margin-left: 32px;
	width: calc(100% - 232px);
	padding: 10px 0;
}