/* Julian Stuff */

/* Marine Categories & Products */

.woocommerce-page .marine-product button[type="submit"].single_add_to_cart_button, 
body[data-form-submit="regular"].woocommerce-page .container-wrap .product_cat-marine button[type=submit].single_add_to_cart_button,
.woocommerce .marine-product .cart .quantity input.minus:hover,
.woocommerce .marine-product .cart .quantity input.plus:hover,
.woocommerce #sidebar div ul .current-cat.sidebar-marine-cat > .count {
    background-color: #00abb0 !important;
}

.woocommerce .marine-product .material.product .product-wrap .product-add-to-cart.gtechniq-add-cart a.add_to_cart_button {
    background-color: #00abb0 !important;
    border-color: #00abb0;
}

.woocommerce .marine-product .woocommerce-breadcrumb,
.marine-product .woocommerce-product-details__short-description ul li::before,
body.woocommerce .marine-product div.product_meta a,
.woocommerce .marine-product .material.product .product-wrap .product-add-to-cart.gtechniq-add-cart a.add_to_cart_button:hover span,
.woocommerce .marine-product .material.product .product-wrap .product-add-to-cart.gtechniq-add-cart a:hover span,
.woocommerce .marine-product .material.product:hover .product-wrap .product-meta > .price {
    color: #00abb0 !important;
}

/* END */

/* Bullet Points */

    .guarantee-form_wrapper ul.rcui > li {
        width: 100% !important;
    }

    .guarantee-form_wrapper .rcui li label {
        display: block !important;
    }

    .rcui li .rcui__state {
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

    .rcui li .rcui__text {
        -webkit-flex: none;
        -ms-flex: none;
        flex: none;
        width: 80%;
    }

/* End */

/* Guarantee Forms */

.guarantee-form_wrapper .rcui li .rcui__icon {
    margin-right: 10px !important;
}
.guarantee-form_wrapper .rcui__text {
    line-height: normal !important;
}

/* Header Remove */

.header-removed div#page-header-wrap {
    display: none;
}

body[data-bg-header="true"] #header-outer[data-permanent-transparent="1"].transparent {
    pointer-events: auto;
}

a {
    transition: color 0.5s;
}

body.material #header-outer #search-outer #search input[type="text"] {
    border-radius: 0px !important;
}

/* Currency Converter */

.wc-price-based-country.wc-price-based-country-refresh-area {
    display: flex;
    align-items: center;
}
.wc-price-based-country.wc-price-based-country-refresh-area img {
    width: 28px;
    margin-right: 10px;
}

body.material #header-secondary-outer nav > .sf-menu {
    flex: 5;
}
.top-bar-nav .widgetizedArea {
    flex: 1;
    margin-right: 26px !important;
}
.wc-price-based-country select {
    padding: 5px;
}

/* Header */

body #header-secondary-outer, 
body #header-outer #header-secondary-outer {
    background-color: transparent;
}

header#top {
    background-color: #fff;
    width: 84%;
    max-width: 1425px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

header#top a#logo {
    margin: 0px;
}
#header-outer[data-format="centered-menu"] .logo-spacing {
    margin: 0;
}

ul.buttons.sf-menu {
    display: flex !important;
    align-items: center;
    margin: 0 !important;
}

/* END: Header */

/* Menu */

#top nav > ul > li > ul > li, 
#header-outer[data-format="centered-menu"] #top nav > ul > li > ul > li {
    opacity: unset;
    transform: unset;
}
#top nav ul li {
    float: unset;
}

#header-outer:not([data-format="left-header"]) #top nav >ul {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

nav#gtech-menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

body.material #header-outer:not([data-format="left-header"]) #top nav > .buttons {
    position: relative;
    margin-left: auto !important;
    margin-right: 30px !important;
    margin-left: 0px !important;
}

#gtech-menu-wrapper a.parent-link,
#gtech-menu-wrapper span.parent-link {
    display: block;
    line-height: normal;
    cursor: pointer;
    padding: 28px 20px;
    font-weight: 500 !important;
}

.sub-menu-wrapper {
    text-align: left;
    display: flex;
    visibility: hidden;
    opacity: 0;
    margin: 0;
    background-color: #FFFFFF;
    position: absolute;
    width: 100%;
    z-index: 1;
    left: 0;
    top: 100%;
    height: auto !important;
    min-height: 590px !important;
    border-top: 1px solid #f8f8f8;
    padding: 20px 40px 20px 40px;
    box-shadow: 0px 23px 80px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease !important;
}

ul.gtech-menu li.active:hover .sub-menu-wrapper {
    visibility: visible;
    opacity: 1;
    height: 50vh;
} 


.sub-menu-wrapper > ul {
    position: relative;
    flex: 3;
    margin: 0;
    max-width: 1425px;
    margin-left: auto;
    margin-right: auto;
}

.sub-menu-wrapper > ul > li {
    width: 17%;
}

.sub-menu-wrapper a {
    line-height: normal;
    display: block;
}

a.submenu-link {
    width: 100%;
    padding: 20px 0;
    text-align: left;
    font-weight: bold;
    font-size: 20px;
    text-transform: uppercase;
    position: relative;
}
#header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) .sub-menu-wrapper ul .current-menu-item > a {
    color:#000 !important;
}
.sub-menu-wrapper > ul > li.open a.submenu-link {
    color: #fe0000;
}
#header-outer #top nav > ul > li:not(.megamenu) ul li.marine-menu a:hover {
    color: #1c56a0 !important;
}

.sub-menu-wrapper > ul > li a.submenu-link:after {
    content: "";
    background-color: #fe0000;
    display: block;
    position: absolute;
    top: 85%;
    left: 0px;
    width: 0;
    height: 2px;
    transition: width 0.2s ease-in-out;
}

.sub-menu-wrapper > ul > li.open a.submenu-link:after {
    width: 100%;
}

#header-outer #top nav > ul > li:not(.megamenu) ul li.marine-menu a:hover {
    color: #00abb0 !important;
}
.sub-menu-wrapper > ul > li.marine-menu a.submenu-link:after {
    background-color: #00abb0;
}

.level-two-wrapper {
    position: absolute;
    top: -10px;
    left: 18%;
    width: 82%;
    padding: 0px 0px 0px 40px;
    margin-left: 0;
    opacity: 0;
    visibility: hidden;
    height: 0;
}

.sub-menu-wrapper > ul > li.open .level-two-wrapper {
    opacity: 1;
    visibility: visible;
    /*height: 79vh;*/
    height: auto;
}

#top nav ul.level-two-wrapper li {
    margin-right: 1%;
    float: left;
    width: 19%;
}

#top nav ul.level-two-wrapper li:nth-child(5n) {
    margin-right: 0px !important;
}

ul.level-two-wrapper li a {
    margin-bottom: 0px;
}
ul.level-two-wrapper li a img {
    width: 100%;
    margin-bottom: 5px;
}
ul.level-two-wrapper li a span {
    display: block;
}
span.menu-item-title {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 10px;
}
span.menu-item-text {
    font-size: 13px;
    line-height: 20px;
    text-align: left;
}
.level-two-sidepanel {
    padding-top: 10px;
    width: 100%;
    position: relative;
}

.sub-menu-wrapper > ul > li.open .level-two-sidepanel {
    visibility: visible;
    opacity: 1;
}

.level-two-sidepanel ul {
    margin: 0;
}

#header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) .level-two-sidepanel ul li a {
    color: #fff !important;
    display: block;
    padding: 10px 15px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid #ff0000;
    background-color: #ff0000;
    transition: all 0.25s ease;
}

#header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) .level-two-sidepanel ul li a:hover {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
    transition: all 0.25s ease;
}

#header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul > li.marine-menu .level-two-sidepanel ul li a {
    border: 1px solid #00abb0;
    background-color: #00abb0;
}

/* Simple Dropdown */

.simple-submenu {
    text-align: left;
    visibility: hidden;
    opacity: 0;
    margin: 0;
    background-color: #FFFFFF;
    position: absolute;
    z-index: 1;
    top: 100%;
    max-height: 0;
    border-top: 1px solid #f8f8f8;
    padding: 10px 20px;
}

ul.gtech-menu li.active:hover .simple-submenu {
    visibility: visible;
    opacity: 1;
    max-height: 500px;
} 

.simple-submenu a {
    display: block;
    line-height: normal;
    padding: 10px;
}

/* END: Menu */

/* Flicky Slider */

.woocommerce ul.products .flickity-viewport li.product .product-wrap img {
    width: 80%;
    margin: 0 auto;
}

.slider-quickview {
    display: none;
}
a.more-details-btn.button.product_type_variable {
    display: inline-block;    
}

.flickity-viewport .slider-quickview {
    display: inline-block;
}
.flickity-viewport a.more-details-btn.button.product_type_variable {
    display: none;    
}

.woocommerce .flickity-viewport .material.product .product-wrap .product-meta {
    padding-bottom: 20px;
    transition: all 0.5 ease-in-out;
}
.woocommerce .flickity-viewport .material.product:hover .product-wrap .product-meta {
    padding-bottom: 60px;
}
.woocommerce .flickity-viewport .material.product .product-wrap .product-add-to-cart.gtechniq-add-cart a {
    margin-right: 0;
}

/* Single Shop Page */

body.single-product.material #header-outer[data-header-resize="0"]:not([data-format="left-header"]):not(.scrolled-down):not(.fixed-menu) {
    background-color: transparent;
}
body.single-product .product-header-bg {
    background-image: url(/wp-content/uploads/2020/05/paint-protection-image-min-1-scaled.jpg);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
}
body.single-product .marine-product .product-header-bg {
    background-image: url(/wp-content/uploads/2020/05/marine-cat-image-min.jpg);
}
body.single-product div#ajax-content-wrap {
    margin-top: -120px;
}

/* Variations on Catalogue page */

.variations_form.wvs-archive-variation-wrapper {
    transform: translate(0, 0);
    transition: all 0.3s cubic-bezier(.21, .6, .35, 1);
}

.products > li.material:hover .variations_form.wvs-archive-variation-wrapper {
    transform: translate(0, -25px);
}

.woocommerce .material.product .product-wrap .product-add-to-cart.gtechniq-add-cart a {
    margin-right: 10px;
}
.woocommerce .material.product .product-wrap .product-add-to-cart.gtechniq-add-cart a.add_to_cart_button {
    background-color: #ff0000 !important;
    border-color: #ff0000;
    transition: all 0.5s ease-in-out;
}
.woocommerce .material.product .product-wrap .product-add-to-cart.gtechniq-add-cart a.add_to_cart_button:hover {
    background-color: transparent !important;
}
.woocommerce .material.product .product-wrap .product-add-to-cart.gtechniq-add-cart a.add_to_cart_button span {
    color: #fff;
}
.woocommerce .material.product .product-wrap .product-add-to-cart.gtechniq-add-cart a.add_to_cart_button:hover span {
    color: #ff0000;
}

/* Bike Categories & Products */

#header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul > li.bike-menu .level-two-sidepanel ul li a {
    border: 1px solid #ffcd03;
    background-color: #ffcd03;
}

.hp-bike-carousel .woocommerce .material.product .product-wrap .product-add-to-cart.gtechniq-add-cart a.add_to_cart_button,
.hp-bike-carousel span.catalog-warning-trigger {
    background-color: #ffcd03 !important;
    border-color: #ffcd03;
}

.bike i.icon-default-style.icon-ok.extra-color-2,
.woocommerce .bike-product .woocommerce-breadcrumb,
.bike-product .woocommerce-product-details__short-description ul li::before,
body.woocommerce .bike-product div.product_meta a,
.hp-bike-carousel .woocommerce .material.product .product-wrap .product-add-to-cart.gtechniq-add-cart a.add_to_cart_button:hover span,
.hp-bike-carousel .woocommerce .material.product .product-wrap .product-add-to-cart.gtechniq-add-cart a:hover span,
.hp-bike-carousel .woocommerce .material.product:hover .product-wrap .product-meta > .price,
.bike-product span.catalog-warning-trigger:hover,
.hp-bike-carousel .woocommerce .material.product .product-wrap .product-add-to-cart.gtechniq-add-cart a.add_to_cart_button:hover span,
.hp-bike-carousel .woocommerce .material.product .product-wrap .product-add-to-cart a:hover > span,
.hp-bike-carousel .woocommerce ul.products li.product .price,
.hp-bike-carousel .woocommerce .material.product:hover .product-wrap .product-meta > .price,
.hp-bike-carousel span.catalog-warning-trigger:hover,
.homepage-marine-feature-row.bike .nectar-fancy-ul ul li i {
    color: #ffcd03 !important;
}

.woocommerce .bike-product .material.product .product-wrap .product-add-to-cart.gtechniq-add-cart a.add_to_cart_button,
.bike-product span.catalog-warning-trigger {
    background-color: #ffcd03 !important;
    border-color: #ffcd03!important;
}

.bike .nectar-animated-title[data-style="color-strip-reveal"] .nectar-animated-title-inner:after,
.woocommerce-page .bike-product button[type="submit"].single_add_to_cart_button, 
body[data-form-submit="regular"].woocommerce-page .container-wrap .product_cat-bike button[type=submit].single_add_to_cart_button,
.woocommerce .bike-product .cart .quantity input.minus:hover,
.woocommerce .bike-product .cart .quantity input.plus:hover,
.woocommerce #sidebar div ul .current-cat.sidebar-bike-cat > .count{
    background-color: #ffcd03 !important;
}

.homepage-product-carrousel.bike .nectar-cta[data-style="material"] .link_wrap .link_text:before {box-shadow: 0 9px 20px #ffcd00;}

#header-outer #top nav > ul > li:not(.megamenu) ul li.bike-menu a:hover {
    color: #ffcd03 !important;
}

.sub-menu-wrapper > ul > li.bike-menu a.submenu-link:after {
    background-color: #ffcd03;
}

#header-outer #top nav > ul > li:not(.megamenu) ul li.bike-menu a:hover {
    color: #ffcd03 !important;
}

/* END */

/* Catalog Restriction Styling */

span.accred-warning {
    display: block;
    transition: all 0.25s cubic-bezier(.21, .6, .35, 1) 0.05s;
}
.woocommerce .material.product:hover span.accred-warning {
    transform: translateY(-20px);
}
.woocommerce .material.product .product-wrap .product-add-to-cart {
    width: 85%;
}
.accred-dealer-catalog {
    width: 100%;
}
.woocommerce .material.product .product-wrap .product-add-to-cart .accred-dealer-catalog a, 
.accred-dealer-catalog span {
    display: block;
    width: 100%;
    margin-bottom: 4px;
    background-color: #ff0000 !important;
    color: #fff !important;
    border-radius: 0;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 20px;
    font-family: Bai Jamjuree;
    font-weight: 500;
    text-align: center;
    padding: 8px !important;
    opacity: 1;
    transition: all 0.2s ease;
}
.woocommerce .material.product .product-wrap .product-add-to-cart .accred-dealer-catalog a:hover, 
.accred-dealer-catalog span:hover {
    cursor: pointer;
    opacity: 0.8;
}

/* Single Product Restriction Styling */

.product-restriction-btns a, 
.product-restriction-btns span {
    display: block;
    margin-bottom: 4px;
    background-color: #ff0000;
    color:#fff;
    border-radius: 0;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 12px;
    font-family: Bai Jamjuree;
    font-weight: 700;
    text-align: center;
    padding: 20px 45px;
    opacity: 1;
    transition: all 0.2s ease;
}
.product-restriction-btns a:hover, 
.product-restriction-btns span:hover {
    opacity: 0.8;
    cursor: pointer;
}
.become-dealer-form {
    display: none;
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 60%;
    height: auto;
    padding: 20px 40px;
    background-color: #fff;
    z-index: 1002;
}

.dealer-form-inner {
    overflow: auto;
    height: 60vh;
}

a#close-btn {
    display: block;
    background-color: #ff0000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    right: -22px;
    top: -22px;
}
a#close-btn:before, 
a#close-btn:after {
    position: absolute;
    left: 24px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #fff;
    top: 8px;
}
a#close-btn:before {
    transform: rotate(45deg);
}
a#close-btn:after {
    transform: rotate(-45deg);
}

#dealer-form-wrapper ul {
    margin-left: 0;
}
#dealer-form-wrapper ul li {
    list-style: none;
}
#dealer-form-wrapper .gform_footer.top_label input[type=submit] {
    border-radius: 0;
    opacity: 1;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 12px;
    font-family: Bai Jamjuree;
    font-weight: 700;
    padding: 20px 45px;
    transition: all 0.2s ease;
}
#dealer-form-wrapper .gform_footer.top_label input[type=submit]:hover {
    opacity: 0.8;
}
.black_overlay {
    display: none;
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 1001;
    -moz-opacity: 0.8;
    opacity: .80;
    filter: alpha(opacity=80);
}

/* Product Warning */


span.product-warning-trigger,
.warning-btn-wrapper a {
    display: inline-block;
    margin-bottom: 4px;
    background-color: #ff0000;
    color:#fff;
    border-radius: 0;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 12px;
    font-family: Bai Jamjuree;
    font-weight: 700;
    text-align: center;
    padding: 20px 45px;
    margin-top: 40px;
    opacity: 1;
    transition: all 0.2s ease;
}
span.product-warning-trigger:hover,
.warning-btn-wrapper a:hover {
    opacity: 0.8;
    cursor: pointer;
}

.warning-btn-wrapper {
    display: flex;
    align-items: center;
}
.warning-btn-wrapper > button[type="submit"] {
    margin-top: 0px !important;
    margin-right: 10px;
}
.warning-btn-wrapper a {
    margin: 0 10px 0 0;
}

#product-warning-wrapper,
.catalog-warning-wrapper {
    display: none;
    box-shadow: 0px 0px 100px 40px rgba(0,0,0,0.06);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
    padding: 20px 40px;
    background-color: #fff;
    z-index: 1002;
}

span.catalog-warning-trigger,
.woocommerce .material.product .product-wrap .product-add-to-cart .catalog-warning-wrapper a {
    display: inline-block;
    color: #fff;
    padding: 8px 13px !important;
    background-color: #ff0000 !important;
    border: 1px solid #ff0000;
    font-family: Bai Jamjuree;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    transition: all 0.5s ease-in-out;
}
.woocommerce .material.product .product-wrap .product-add-to-cart .catalog-warning-wrapper a.add_to_cart_button {
    padding: 0 !important;
}
span.catalog-warning-trigger:hover,
.woocommerce .material.product .product-wrap .product-add-to-cart .catalog-warning-wrapper a:hover {
    color: #ff0000;
    background-color:transparent !important;
    cursor: pointer;
}

.woocommerce .material.product .product-wrap.product-warning-item .product-add-to-cart,
.woocommerce .material.product:hover .product-wrap.product-warning-item .product-add-to-cart {
    transform: unset;
}
/*.woocommerce .material.product:hover .product-wrap .product-add-to-cart {
    transform: translateY(0px);
}*/

/* Media Queries */

@media screen and (max-width: 1025px) {
}

@media screen and (max-width: 769px) {
    .single-product #header-outer #top .col.span_3 #logo {
        margin-left: 0px !important;
    }

    .menu-image-title-after.menu-image-not-hovered img {
        display: none;
    }
    .menu-image-title-after.menu-image-title {
        padding-left: 0px;
    }

}

@media screen and (max-width: 689px) {

    .woocommerce .flickity-viewport .material.product .product-wrap .product-meta {
        padding-bottom: 60px;
    }

    body.woocommerce:not(.single-product) ul.products[data-n-phone-columns="2"] li.product, body.woocommerce:not(.single-product) ul.products[data-n-phone-columns="2"] li.product.material {
        width: 100% !important;
        margin: 0 0 2% 0 !important;
    }
    .woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-archive-align-left .wvs-archive-variation-wrapper .variable-items-wrapper {
        width: 100%;
    }
    .woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-archive-align-left .wvs-archive-variation-wrapper .variable-items-wrapper > li, 
    body.woocommerce-page ul.products[data-product-style="material"] li:nth-child(2n+1), 
    body.woocommerce-page ul.products[data-product-style="material"] li:nth-child(2n+2) {
        margin-right: 4% !important;
    }
    .woocommerce .material.product h3, 
    .woocommerce .material.product .product-meta > .price, 
    .woocommerce .material.product h2 {
        transform: translateY(-11px);
    }
    .products > li.material .variations_form.wvs-archive-variation-wrapper {
        transform: translate(0, -25px);
    }
    .woocommerce .material.product .product-wrap .product-add-to-cart {
        transform: translateY(0px);
        position: relative;
        left: 0;
        bottom: 0;
        width: 100%;
        opacity: 1;
    }
    .woo-variation-swatches .wvs-archive-variation-wrapper .variations > li {
        margin: 10px 0 0;
    }
    .woo-variation-swatches.wvs-archive-align-left .wvs-archive-variation-wrapper .variable-items-wrapper {
        margin-bottom: 0;
    }

}

@media screen and (max-width: 640px) {
    .gform_wrapper .ginput_container span:not(.ginput_price) {
        margin-bottom: 0;
        display: inline-block;
    }
}