/*checkout*/
form.checkout select {
    width: 100%; 
}

form.checkout #billing_first_name_field,
form.checkout #billing_last_name_field {
    width: auto;
    float: none;
} 
/*
form.checkout #billing_building_name_ait_field,
form.checkout #billing_emergency_name_ait_field,
form.checkout #billing_emergency_relationship_ait_field,
form.checkout #billing_emergency_number_ait_field {
    margin-top: 30px;
}
*/
form.checkout .ait-billing-fields-wrapper {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: baseline;
}

form.checkout .ait-billing-fields-wrapper > p {
    flex: 0 1 100%;
}

form.checkout .ait-billing-fields-wrapper .ait-space {
   /*  margin-top: 80px; */
}

form.checkout .ait-billing-fields-wrapper h4 {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 20px;
}

@media ( min-width: 701px ) {
    form.checkout .ait-billing-fields-wrapper .billing-title {
        flex: 0 0 9%;
    }

    form.checkout .ait-billing-fields-wrapper .billing-city,
    form.checkout .ait-billing-fields-wrapper .billing-country,
    form.checkout .ait-billing-fields-wrapper .billing-first-name,
    form.checkout .ait-billing-fields-wrapper .billing-middle-name,
    form.checkout .ait-billing-fields-wrapper .billing-last-name {
        flex: 0 1 29%;
    }
    
    form.checkout .ait-billing-fields-wrapper .billing-email,
    form.checkout .ait-billing-fields-wrapper .billing-usi,
    form.checkout .ait-billing-fields-wrapper .billing-organisation,
    form.checkout .ait-billing-fields-wrapper .billing-dob {
        flex: 0 1 49.35%;
    }
    
    form.checkout .ait-billing-fields-wrapper .billing-phone-work,
    form.checkout .ait-billing-fields-wrapper .billing-phone-mobile,
    form.checkout .ait-billing-fields-wrapper .billing-phone-fax,
    form.checkout .ait-billing-fields-wrapper .billing-phone-home {
        flex: 0 1 24%;
    }

    form.checkout .ait-billing-fields-wrapper .billing-emergency-name,
    form.checkout .ait-billing-fields-wrapper .billing-emergency-relationship,
    form.checkout .ait-billing-fields-wrapper .billing-emergency-number,
    form.checkout .ait-billing-fields-wrapper .billing-building-name,
    form.checkout .ait-billing-fields-wrapper .billing-unit-details,
    form.checkout .ait-billing-fields-wrapper .billing-po-box {
        flex: 0 1 32%;
    }
    
    form.checkout .ait-billing-fields-wrapper .billing-state,
    form.checkout .ait-billing-fields-wrapper .billing-pcode,
    form.checkout .ait-billing-fields-wrapper .billing-street-number {
        flex: 0 1 19%;
    }
    form.checkout .ait-billing-fields-wrapper .billing-street-name {
        flex: 0 1 79%;
    }


}
@media (max-width: 800px) {
    /*
    form.checkout #billing_emergency_relationship_ait_field,
    form.checkout #billing_emergency_number_ait_field {
        margin-top: 0;
    }
    */
}


.shop_table.woocommerce-checkout-review-order-table td {
    padding: 10px 0;
}

.shop_table.woocommerce-checkout-review-order-table tbody tr {
    height: 50px;
}

/*.ait-course-select-wrap {
    margin-bottom: 20px;
} */

.ait-select-course,
.ait-login-fields-wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.ait-select-course p,
.ait-login-fields-wrap p {
    flex: 0 1 100%;
}

@media ( min-width: 701px ) {
    .ait-select-course p,
    .ait-login-fields-wrap p {
        flex: 0 1 49%;
    }
}

.required {
    color: red;
    font-weight: bold;
}

label .optional {
    display: none;
}





/*shop*/
.fusion-clean-product-image-wrapper .fusion-rollover {
    display: none;
}

.product-details-container .fusion-content-sep {
    margin-top: 0;
}

.product .ait-product-buttons {
    padding-bottom: 12px;
    padding-top: 20px;
    margin: 0 15px 0px;
    overflow: hidden;
}

.product .ait-product-buttons a {
    display: inline-block;    
    width: 46%;
    float: left;
    min-width: 90px;
    text-align: center;
    white-space: nowrap;
    padding: 13px 0;
    margin: 0 2% 10px;
    background-color: #194977;
}

.product .ait-product-buttons a:hover {
    background-color: #998675;
}

@media (max-width: 900px) {
    .product .ait-product-buttons a {
        width: 100%;
    }
}

.fusion-woo-product-design-clean .products .product-title {
    font-size: 16px;
    font-style: normal;
    text-decoration: none;
    height: 60px;
}

.fusion-woo-product-design-clean .products .product-title a {
    border-bottom: 0 none;
}    

.ait-checkout-course-wrap {
    margin-bottom: 25px;
}

/*course select*/
.ait_course_select_book_now_wrap select {
    width: 100%;
}
.ait_course_select_book_now_wrap label {
    color: #fff;
}

.post-content .ait_course_select_book_now_wrap a {
   border-bottom: 0px none;
}

.ait_add_to_cart_button {
   width: 100%;
   margin-top: 27px;
}
.ait_add_to_cart_button.disabled {
    opacity: 0.7;
}
.ait_add_to_cart_button.disabled:hover {
    background: #f7941d;
}

.ait_alt_button,
.ait_alt_button:visited {
    background: #eee;
    color: #666;
    margin-top: 15px;
    margin-bottom: 15px;
    /*border: 1px solid #888;*/
}

.ait_alt_button:hover {
    background: #ccc;
    color: #666;
    border: 1px solid #666;
}                

.ait_login_button,
.ait_alt_button,
.ait_reset_password_button {
    width: 240px;
}

@media (max-width: 610px) {
    .ait_login_button,
    .ait_alt_button,
    .ait_reset_password_button {
        width: 100%;
    }
}

.ait-working {
    opacity: 0.7;
}

.woocommerce-info {
    padding-left: 0;
    margin-bottom: 0;
    padding: 0;
    background: 0 0;
    border: none;
    border-top: 0px none;
    border-bottom: 0px none;
    color: #fff;
    text-align: left;

}

.woocommerce-info:before {
    content: none;
}

.woocommerce-info li {
    margin-bottom: 15px;
    background-color: #4169e1;
    border: 1px solid #4169e1;
    color: #fff;
    padding: 8px;
    position: relative;
    text-align: center;
}

                       
/* pay page */
.woocommerce-order-pay .order_details {
    padding-left: 0;
}

.woocommerce-order-pay .order_details li {
    list-style-type: none;
}

.woocommerce-order-pay .order_details .order,
.woocommerce-order-pay .order_details .date,
.woocommerce-order-pay .order_details .method {
    display: none;
}

.woocommerce-thankyou-order-failed,
.woocommerce-order-pay .woocommerce-error{
    margin-bottom: 15px;
    background-color: #ffe9e9;
    border: 1px solid #e7a9a9;
    color: #d04544;
    padding: 8px;
    position: relative;
    text-align: center;
}

.ait-nab-wrap label {
    display: block;
    margin-bottom: 8px;
}

.ait-nab-wrap #cc-expire-month {
    width: 30%;
    min-width: 150px;
}

.ait-nab-wrap #cc-expire-year {
    width: 20%;
    min-width: 100px;
}

@media (max-width: 800px) {
    .ait-nab-wrap #cc-expire-year {
        width: 39%;
    }
    .ait-nab-wrap #cc-expire-month {
       width: 60%;
    }
}

@media (max-width: 410px) {
    .ait-nab-wrap #cc-expire-year {
        width: 100%;
    }
    .ait-nab-wrap #cc-expire-month {
       width: 100%;
       margin-bottom: 10px;
    }
}
