/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* My-Account Orders */
section.woocommerce-order-details h6 { height: 40px; background-color: rgba(0,0,0,.03); padding-top: 9px; text-align: center; border-radius: 5px; }
section.woocommerce-order-details h6 span { color: blue; }
.woocommerce table.shop_table tbody, .woocommerce table.shop_table tfoot tr:nth-child(2) { border-bottom: 1px solid #cccccc; }
.woocommerce table.shop_table tfoot tr:nth-child(3) td span { font-weight: bold; }

/* Checkout Wizard Setup */
#wc-stripe-express-checkout-button-separator, #wc-stripe-express-checkout-element, #ap-checkout-billing, #payment, #ap-checkout-billing div.woocommerce-additional-fields { display: none; }
#ap-checkout-billing-next { width: 100%; }

/* Checkout Reservation Dates Blocks*/
#reservation-dates { display: flex; width: 100%; padding-bottom: 10px; }
#reservation-dates .reservation-entry, #reservation-dates .reservation-exit, #reservation-dates .reservation-arrow { display: flex; justify-content: center; align-items: center; height:100px; border-radius: var(--mfn-woo-border-radius-box); }
#reservation-dates .reservation-entry div:first-child, #reservation-dates .reservation-exit div:first-child { font-size: 1.5em; }
#reservation-dates .reservation-entry { width:45%; color: white; background:blue; flex-direction: column; }
#reservation-dates .reservation-arrow { width:10%; color: black; }
#reservation-dates .reservation-exit { width:45%; color: black; border:1px solid red; flex-direction: column; }

/* Checkout Review Cart Changes */
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border: 0; }
.woocommerce table.shop_table thead tr { border-bottom:1px solid #cccccc; }
table.woocommerce-checkout-review-order-table tr.cart-subtotal, table.woocommerce-checkout-review-order-table tr.order-total { border-top:1px solid #cccccc; }

/* Checkout Cart Return Hide */
#payment a.mfn-woo-cart-link { display:none; }

/* Checkout Radio Highlight */
#shop-parking { display: flex; padding: 10px 0 10px 0; margin-bottom:30px; border-radius: 10px; background: #ffffff; }
.ap_parking_radio { width: 30%; margin:0 10px 0 10px; display:block; border-radius: 10px; border: 2px solid #eaeaea; }
.ap_radio_selected { border-radius: 10px; border: 2px solid blue; }

/* Checkout Extras */
#shop-dates, #shop-extras { display: flex; }
#shop-extras select { margin-left: 20px; }
#shop-dates div:nth-child(2), #shop-dates div:nth-child(3) { width: 20%; margin-left: 20px; }
#customer_details .required { color: var(--wc-red); }
form.checkout #dates { width: 310px; }

/* Checkout Mobile Adjustments */
@media all and (max-width:800px) {
	form.checkout #dates { width: 330px; }
	form.checkout #shop-dates, form.checkout #shop-dates div:first-child { display: block; }
	form.checkout #shop-dates div:nth-child(2) { width:46%; float: left; margin: 0; }
	form.checkout #shop-dates div:nth-child(3) { width:46%; float:left; margin-left: 8%; }
	form.checkout #shop-parking { display:block; clear: both; }
	form.checkout #shop-parking div.ap_parking_radio { width: auto; margin-bottom: 10px;}
	form.checkout #shop-parking div.ap_parking_radio:nth-child(3) { margin-bottom: 0;}
	form.checkout #shop-parking div.ap_parking_radio div img { width: 94px; border-radius: 10px; }
	form.checkout #shop-parking div.ap_parking_radio div img, form.checkout #shop-parking div.ap_parking_radio div h3, form.checkout #shop-parking div.ap_parking_radio div h6 { float: left; padding-left: 5px; }
}