/**
 * WordPress Admin
 */

#car-meta-box-price input[type=text] {
	width: 80px;
	text-align: right;
	font-weight: bold;
}

#car-meta-box-details label, #option-meta-box-prices label, #reservation-meta-box-rental label, #reservation-meta-box-contact label {
	display: inline-block;
	width: 150px;
	text-align: right;
	margin-right: 20px;
}

#car-meta-box-details select {
	width: 100px;
}

#car-meta-box-details input[type=checkbox] {
	margin-left: 2px;
}

th.column-seats_number, th.column-doors_number, th.column-suitcases_number {
	text-align: right;
}

td.column-seats_number, td.column-doors_number, td.column-suitcases_number {
	text-align: right;
}

th.column-air_conditioning, th.column-gps_navigation, th.column-completed {
	text-align: center;
}

td.column-air_conditioning, td.column-gps_navigation, td.column-completed {
	text-align: center;
}

th.column-price_per_day, th.column-max_price, th.column-rental_amount {
	text-align: right;
}

td.column-price_per_day, td.column-max_price, td.column-rental_amount {
	text-align: right;
	font-weight: bold;
}

#option-meta-box-prices input[type=text] {
	text-align: right;
	font-weight: bold;
}

#reservation-meta-box-rental select[name=age_interval],
	#reservation-meta-box-rental select[name=licence_type],
	#reservation-meta-box-rental select[name=daily_distance],
	#reservation-meta-box-rental select[name=car_id] {
	width: 201px;
}

#reservation-meta-box-rental input[type=text][name=rental_amount] {
	width: 130px;
	text-align: right;
	font-weight: bold;
}

#reservation-meta-box-options p {
	margin-left: 175px;
}

#reservation-meta-box-options input[type=checkbox] {
	margin-right: 10px;
}

#reservation-meta-box-contact input[type=text] {
	width: 200px;
}

#reservation-meta-box-status #status-dialog {
	display: none;
}

#status-dialog textarea#accepted-message, #status-dialog textarea#rejected-message {
	width: 500px;
	height: 250px;
}

.status-accepted {
	color: #009900;
}

.status-rejected {
	color: #ff0000;
}

/* Settings */
input[name=rentacar_company_name], input[name=rentacar_company_phone], input[name=rentacar_company_email], input[name=rentacar_company_location], input[name=rentacar_terms_url] {
	width: 500px;
}

textarea[name=rentacar_age_intervals], [name=rentacar_licence_types], [name=rentacar_daily_distances] {
	width: 500px;
	height: 30px;
}

textarea[name=rentacar_prices] {
	width: 500px;
	height: 370px;
}

textarea[name=rentacar_company_address] {
	width: 500px;
	height: 100px;
}

textarea[name=rentacar_pricing_remarks], textarea[name=rentacar_confirmation_remarks], textarea[name=rentacar_status_message_accepted], textarea[name=rentacar_status_message_rejected] {
	width: 500px;
	height: 250px;
}

/**
 * Reservation Shortcode
 */

#reservation-shortcode .note {
	color: #999;
	font-size: small;
	font-style: italic;
}

#reservation-shortcode span.required-field {
	color: #ff0000;
	font-size: small;
}

#reservation-shortcode .validation-message {
	display: none;
	color: #ff0000;
	border: 1px solid #ff0000;
	padding: 3px;
	font-size: 0.8em;
}

#reservation-shortcode span.validation-message {
	margin-left: 5px;
}

#reservation-shortcode label {
	display: inline-block;
	width: 140px;
}

#reservation-shortcode input[type=text].date, #reservation-widget input[type=text].date {
	background: #fff url('../images/calendar.png') no-repeat right;
}

#reservation-shortcode select[name=age_interval], #reservation-shortcode select[name=licence_type], #reservation-shortcode select[name=daily_distance] {
	width: 175px;
}

#reservation-shortcode h1 {
	font-size: 28px;
}

#reservation-shortcode-available-cars .car {
	display: block;
	float: left;
	width: 162px;
	padding: 5px;
	border: 1px solid gray;
	margin: 0 10px 10px 0;
	-moz-box-sizing: border-box;
}

#reservation-shortcode-available-cars .car:hover {
	cursor: pointer;
	background-color: #eee;
}

#reservation-shortcode-available-cars .car.selected {
	/*background-color: #003399;*/
	background-color: #2BA6CB;
	color: #fff;
}

#reservation-shortcode-available-cars .car .model {
	display: block;
	width: 150px;
	height: 32px;
	text-align: center;
	vertical-align: middle;
	font-size: smaller;
	font-weight: bold;
	line-height: 1.2em;
}

#reservation-shortcode-available-cars .car .image  {
	width: 150px;
	height: 150px;
	margin-bottom: 3px;
}

#reservation-shortcode-available-cars .car img  {
	max-width: none;
}

#reservation-shortcode-available-cars .car .no-image  {
	display: block;
	width: 150px;
	height: 150px;
	background: #fff url('../images/noimage.png') no-repeat top left;
}

#reservation-shortcode-available-cars .car .detail {
	display: block;
	float: left;
	margin-right: 3px;
	text-align: center;
	font-size: smaller;
	line-height: 1.2em;
}

#reservation-shortcode-available-cars .car .detail.first {
	margin-left: 1px;
}

#reservation-shortcode-available-cars .car .detail.last {
	margin-right: 0;
}

#reservation-shortcode-available-cars .car .amount {
	display: block;
	clear: both;
	padding-top: 5px;
	text-align: center;
	font-size: smaller;
	font-weight: bold;
	line-height: 1.2em;
}

#reservation-shortcode-available-cars #choose-car {
	display: none;
	margin-top: 15px;
}

#reservation-shortcode-rental-details, #reservation-shortcode-selected-car, #reservation-shortcode-contact-information {
	clear: both;
}

#reservation-shortcode-selected-car {
	display: none;
	margin-bottom: 1.625em;
}

#reservation-shortcode-selected-car table {
	margin-bottom: 0;
}

#reservation-shortcode-selected-car .rental-amount {
	font-size: 2em;
}

#reservation-shortcode-selected-car #reservation-shortcode-options {
	margin: 15px 0 20px 50px;
}

#reservation-shortcode-options table.options {
	width: 90%;
}

#reservation-shortcode-selected-car #reservation-pricing-remarks {
	font-style: oblique;
}

#reservation-shortcode-contact-information {
	display: none;
}

#reservation-shortcode-contact-information label {
	display: inline-block;
	width: 170px;
	text-align: right;
	margin-right: 10px;
}

#reservation-shortcode-contact-information input[type=text] {
	width: 250px;
}

#reservation-shortcode-contact-information input[type=checkbox] {
	margin-left: 0;
	margin-right: 8px;
}

/* Confirmation */
#reservation-shortcode.confirmation #reservation-confirmation-remarks {
	margin: 20px 0 20px 0;
	font-style: oblique;
}

/**
 * Assets
 */

.icon {
	display: block;
	width: 22px;
	height: 22px;
	background: url('../images/icons.png') no-repeat top left;
}

.icon.icon-seat {
	background-position: 0 0;
}

.icon.icon-door {
	background-position: -27px 0;
}

.icon.icon-suitcase {
	background-position: -54px 0;
}

.icon.icon-gear {
	background-position: -81px 0;
}

.icon.icon-air-condition {
	background-position: -108px 0;
}

.icon.icon-gps-navigation {
	background-position: -135px 0;
}

/**
 * Anti Spam (honeypot input field)
 */
#reservation-shortcode input[type=text][name=hp_field] {
	display: none;
	width: 0;
	height: 0;
}