/**
 * Booking styles
 */
 
red {
	color: orangered;
}
 
/**
 * Accordian
 */
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #003186;
    background: #1c63b8;
    color: #ffffff;
} 

/**
 * Form elements
 */ 
.form input[type="checkbox"] {
	width: auto;
}

.row.acceptance {
	line-height: 3rem;
}

input[type="text"][name=booking_fee] {
    width: 50px;
    border: none;
    background-color: transparent;
}

input[type="text"][name=total] {
	width: 70px;
    border: none;
    background-color: transparent;
	font-weight: bold;
}

/**
 * Form HTML
 */ 
form .row.heading_row {
    background-color: rgb(243 243 243);
    margin-bottom: 1rem;
    padding: 0;
}

form .row.heading_row .col {
    font-weight: 600;
    margin: .5rem;
    text-align: left;
} 

.row .col.form {
    position: relative;
    margin-bottom: .5rem;
}

i.fa.fa-pg {
    position: absolute;
    top: 15px;
    left: 10px;
    color: #9e9e9e;
}

.bookings .row .col:not(.radio_label) label {
    display: block;
	margin: 5px;
    padding: 10px 5px 5px 5px;
    border-radius: 3px;
	font-weight: 600;
}

.bookings .row .col.radio_label {
    margin-bottom: 10px;
}

.bookings .row .col div {
    margin: 5px 5px 5px 0;
    padding: 10px 5px 5px 0;

}

.bookings .row input[type="text"],
.bookings .row textarea,
.bookings .row select {
    margin: 5px;
    padding: 10px 5px 5px 5px;
    border-radius: 3px;
}

.bookings .row input:readonly {
	margin-left: 0;
    margin-right: 0;
    padding-right: 0;
}

#payment_details {
    margin-top: 1rem;
}

.row.input_label input.payment_field {
    margin: 5px;
    padding: 10px 5px 5px 30px;
    border: none;
    border-radius: 3px;
}

.btn.booking {
    float: right;
}

/**
 * Validation
 */ 
form label.invalid {
	display: block;
	color: red;
	white-space: nowrap;
} 

form input.invalid {
    border-left: 5px solid #c76464;
}

/**
 * Payment Settings
 */ 
#pm_cod,
#pm_eft {
	display: none;
}

.checkout_overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, .8);
    display: none;
}

.checkout_overlay img {
	display: block;
	margin: auto;
	margin-top: 10%;
}

.checkout_overlay .message.error {
    position: relative;
	background-color: white;
    display: block;
    margin: 10rem auto;
    width: 500px;
    padding: 2rem;
    text-align: center;
    border: 2px solid red;
	cursor: pointer;
	max-width: 94%;
}

.message.error:before {
	content: '\f057';
    font-family: FontAwesome;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    background-color: white;
    border-radius: 50%;
}

/*  Go full Width at less than 650px */
@media only screen and (max-width: 650px) {
	.col.grid_2_of_12,
	.col.grid_3_of_12,
	.col.grid_4_of_12,
	.col.grid_5_of_12,
	.col.grid_6_of_12,
	.col.grid_7_of_12,
	.col.grid_8_of_12,
	.col.grid_9_of_12,
	.col.grid_10_of_12,
	.col.grid_12_of_12 {
		width: 100%;
		margin: 0;
	}
	.col {
		
	}
	.bookings .row .col:not(.radio_label) label {
		margin: 0;
		padding: 10px 0 0 0;
		border-top: 1px solid #e8e8e8;
	}
	#booking_form_accordion {
		margin-bottom: 2rem;
	}
}