/*
Theme Name: NEW LIVE GENETICS (child-theme)
Description: NEW LIVE GENETICS theme was developed to work under the NLG theme.
Author: NLG
Author URI: https://newlifegenetics.com/
Template: NLG
Version: 16.12.19
Text Domain:  Avada
*/


/* Header Menu - Language submenu */
.fusion-secondary-menu .sub-menu {
    width: 89px !important;
}

/* Checkout Page */
label[for='payment_method_epay_dk'] img {
    display: none;
}
.payment_box.payment_method_epay_dk {
    float: right;
    padding: 0 !important;
    margin: 0;
    margin-top: -5px !important;
    clear: none !important;
}
label[for='payment_method_epay_dk'] {
    float: left;
}
label[for='payment_method_paypal'] img {
    position: relative;
    top: 0px;
}
.checkout .payment_methods li:first-child {
    margin-bottom: 50px !important;
    position: relative;
    padding-left: 25px;
}
.checkout .payment_methods li:first-child input{
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%) scale(1.3);
    margin-bottom: 0px;
}
.checkout .payment_methods li:first-child{
    min-height: 40px;
}
.checkout .payment_methods li:first-child label{
    position: absolute;
    top: 50%;
    line-height: 1;
    transform: translateY(-50%);
}
/*.checkout .payment_methods li:first-child div.payment_box.payment_method_epay_dk{
    display: block !important;
}*/

/*
    CHEKOUT PAGE PAYMENT METHOD's STYLING
*/
.checkout .payment_methods li:first-child:after{
    content: '';
    display: block;
    clear: both;
}
.checkout .payment_methods li:nth-child(2) input{
    transform: scale(1.3);
}
.checkout .payment_methods li:nth-child(2) div.payment_box.payment_method_paypal{
    padding: 0 !important;
    margin: 0 !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    left: 25px;
}
.checkout .payment_methods li{
    position: relative;
}
.wc-terms-and-conditions input,
.woocommerce-mailchimp-opt-in input[name='ss_wc_mailchimp_opt_in']{
    transform: scale(1.3);
}
@media only screen and (max-width: 812px){
    .checkout .payment_methods li:nth-child(2) div.payment_box.payment_method_paypal{
        position: relative;
        transform: none;
        width: 100%;
    }
}
@media only screen and (max-width: 414px){
    .checkout .payment_methods li:first-child label{
        position: relative;
        top: 0;
        left: 25px;
    }
    .checkout .payment_methods li:first-child input{
        top: 0;
    }
    .checkout .payment_methods li:first-child{
        padding-left: 0px;
    }
    .checkout .payment_methods li:first-child img{
        width: 50px !important;
    }
    .payment_box.payment_method_epay_dk{
        float: none;
    }
}
@media only screen and (max-width: 667px) and (min-width: 415px){
    .checkout .payment_methods li:first-child label{
        width: 50%;
    }
}


/* COUNTRY SWITCHER STYLES */
.aelia_country_switcher_holder {
    position: relative;
    text-align: right;
}
.aelia_country_switcher {
    color: #888 !important;
    padding: 0 10px;
    line-height: 1;
    height: 30px;
    font-size: 15px;
}
.aelia_country_switcher:hover,
.aelia_country_switcher:focus {
    outline: none;
}
label[for='aelia_country_switcher'] {
    display: block;
    font-size: 13px !important;
    color: #888;
    line-height: 1.3;
    padding-bottom: 4px;
}
.shortcode_overlay.active{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.5);
    cursor: progress;
}

/* CHECKOUT VAT SECTION */
#woocommerce_eu_vat_number .description {
    line-height: 1.3;
    font-size: 14px;
    margin-bottom: 8px;
}
.vat_notify_company {
    font-size: 14px;
    color: #888;
    font-style: italic;
}
.checkout .shop_table tfoot th {
    width: 58% !important;
}
#vat_number_field {
	position: relative;
}
.invalid_VAT {
    position: absolute;
    top: 50%;
    z-index: 999999;
    right: 10px;
    color: red;
    font-size: 12px;
    font-weight: 600;
    transform: translateY(-50%);
}
.valid_VAT {
    position: absolute;
    top: 50%;
    z-index: 999999;
    right: 10px;
    color: green;
    font-size: 12px;
    font-weight: 600;
    transform: translateY(-50%);
}

/* HEADER FIXES */
.fusion-logo {
    margin-top: 9px !important;
}
.fusion-main-menu > ul > li > a,
.fusion-is-sticky .fusion-main-menu > ul > li > a {
    top: 0px;
    position: relative;
}
/*.layout-boxed-mode .fusion-is-sticky .fusion-header-v2 .fusion-sticky-shadow {
    box-shadow: 0 10px 50px -2px rgba(0,0,0,.14);
}*/
@media only screen and (max-width: 1050px) {
    .fusion-mobile-menu-icons a,
    .fusion-mobile-menu-icons a:after,
    .fusion-mobile-menu-icons a:before {
        color: #94a251 !important;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1050px) {
    .fusion-mobile-menu-icons a,
    .fusion-mobile-menu-icons a:after,
    .fusion-mobile-menu-icons a:before {
        transform: translateY(100%);
    }
}
@media only screen and (max-width: 800px) {
    .fusion-contact-info {
        padding: 1em 30px 1em 30px !important;
    }
}

/* FIX MENU ITEMS CLOLOR on DANISH PAGE */
.fusion-main-menu .fusion-widget-cart-counter > a:before, .fusion-main-menu > ul > li > a {
    color: #2da5d8 !important;
}

/* FIX SELECT2 FORMS */
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #d2d2d2;
    border-radius: 0px;
    height: 38px;

}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    text-indent: 5px;
    font-size: 14px;
    font-weight: 600;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
	margin-top: 2px;
}
.select2-container--default .select2-results>.select2-results__options {
	font-size: 14px;
}

/* BAMBORA PAY WIndow Position */
#epay_frame_container {
	top: 20% !important;
}

/* FIXES FOR THE THEME v5.6.1 */
.fusion-li-item {
	display: inline-block;
}
