/*
Theme Name: GMS Race Cars Child
Theme URI: https://pulsesolutions.com
Author: Pulse Solutions
Author URI: https://pulsesolutions.com
Description: Child Theme for GMS Race Cars
Template: gmsracecars
Version: 1.0.0
*/

.readonly_field {
    pointer-events: none;
}

body.home .wd-content-layout {
    padding-block: 0px;
}

body:not(home) .wd-content-layout {
    padding-block: 40px;
}

body.page-id-146 .wd-content-layout,
body.page-id-806 .wd-content-layout {
    padding-block: 0px;
}

.elementor-gallery__titles-container a.elementor-item.elementor-gallery-title {
    background-color: #fff;
    border-radius: 50px;
    color: #1A2125;
    padding: 7px 20px;
}

.elementor-gallery__titles-container a.elementor-item.elementor-gallery-title.elementor-item-active {
    background-color: #e8471c;
    color: #fff;
}

.top_right_radius img {
    border-radius: 10px 10px 0px 0px;
}

.btn_link a {
    border: none;
    color: #E8471C;
}

.btn_link a:hover {
    color: #1A2125;
}

.orange_btn {
    text-transform: capitalize;
    font-size: 16px;
}

.video_test.elementor-widget-video {
    height: 100%;
}

.video_test.elementor-widget-video .elementor-wrapper {
    aspect-ratio: inherit
}

.video_test.elementor-widget-video .e-hosted-video .elementor-video {
    -o-object-fit: cover;
    object-fit: cover;
}

.video_overlay {
    height: 100%;
}

.video_test.elementor-widget-video .elementor-wrapper video {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: auto;
    object-fit: cover;
    width: 100%;
    min-height: 330px;
    margin: 0;
    z-index: -2;
}

.gform-theme--api,
.gform-theme--foundation {
    --gf-form-gap-y: 20px !important;
}

.pp-gravity-form .gform_wrapper .pp-gf-select-custom:after {
    content: none !important;
}

.team_hover {
    display: none;
}

#menu-top-main-menu>li a:hover {
    color: #E8471C
}

#my-account-menu {
    width: 100%;
}

#my-account-menu.position-vertical-left {
    float: inherit;
    margin-right: inherit;

}

.mt-3 {
    margin-top: 20px !important;
}

.mb-3 {
    margin-bottom: 20px !important;
}

.hide_section_break {
    padding-block-end: 0px;
    border-block-end: none !important
}

.hide_section_break h3 {
    display: none;
}

.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit], [type=button], [type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit], [type=button], [type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    margin-top: 15px;
    --gf-local-bg-color: #E8471C !important;
    --gf-local-radius: 5px !important;
    --gf-local-font-size: 16px !important;
    --gf-local-min-height: 42px !important
}

.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit], [type=button], [type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit], [type=button], [type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover {
    --gf-local-bg-color: #c8360d !important;
}

.gform-theme--foundation .gform_footer,
.gform-theme--foundation .gform_page_footer {
    margin-block-start: 30px
}

.woocommerce-MyAccount-content>p {
    margin: none;
}

.align-content-center {
    align-content: center !important;
}

.align-content-end {
    align-content: end !important;
}

.gform_body .gfield_html a {
    text-decoration: underline;
    color: #f26821;
}

.gform_body .gfield_html a:hover {
    text-decoration: none;
}

/* BUILD A CAR CSS */

/* Wrap options in 2-column grid */
.option-group-options.icons.swatches {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 per row */
    gap: 16px;
    /* space between boxes */
}

/* Each option box */
.option-group-options.icons.swatches label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
}

/* Hide radio button */
.option-group-options.icons.swatches label input[type="radio"] {
    display: none;
}

/* Circle swatch */
.option-group-options.icons.swatches .icon-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    margin-right: 12px;
    display: inline-block;
    border: 1px solid #ccc;
}

/* Name + Price */
.option-group-options.icons.swatches .label {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-grow: 1;
}

.option-group-options.icons.swatches .label .woocommerce-Price-amount {
    color: #d33;
    font-weight: 600;
    font-size: 13px;
}

/* Hover */
.option-group-options.icons.swatches label:hover,
#main-content .option-group-wrapper label .option:hover,
#main-content .option-group-wrapper .tickboxes>label:hover,
#main-content .option-group-wrapper .tickboxes label:has(input[type=checkbox]:checked) {
    border-color: #f15a29;
    box-shadow: 0 0 6px rgba(241, 90, 41, 0.3);
    background-color: #FFF3F0;
}

/* Selected */
.option-group-options.icons.swatches input[type="radio"]:checked+.icon+.tooltip+.label,
.option-group-options.icons.swatches input[type="radio"]:checked+.icon+.label,
#main-content .option-group-wrapper label:has(input[type="radio"]:checked) .option,
.option-group-options.icons.swatches label:has(input[type="radio"]:checked),

.option-group-options.icons.swatches input[type="checkbox"]:checked+.icon+.tooltip+.label,
.option-group-options.icons.swatches input[type="checkbox"]:checked+.icon+.label,
#main-content .option-group-wrapper label:has(input[type="checkbox"]:checked) .option,
.option-group-options.icons.swatches label:has(input[type="checkbox"]:checked) {
    border-color: #f15a29 !important;
    background: #fff3f0;
    gap: 0px 10px;
}

.staggs-configurator-main ul.staggs-summary-items {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
}

.staggs-configurator-main ul.staggs-summary-items li:last-child p {
    margin-bottom: 0px;
}

.staggs-configurator-main ul.staggs-summary-items li strong {
    color: #90969F;
    /* margin-bottom: 5px; */
    display: inline-block;
    font-weight: 400;
}

.staggs-configurator-main ul.staggs-summary-items:not(:has(li)) {
    display: none;
}

#main-content div.staggs-configurator-contained .staggs-configurator-steps-nav {
    padding: 0px 0 30px;
}

#main-content .staggs-configurator-steps-nav .swiper-wrapper:is(ul, ol) li:last-child {
    margin-bottom: 10px;
}

.step-label {
    margin-right: 15px;
}

#main-content .staggs-configurator-steps-nav ul a .step-number {
    margin-right: 0px;
}

#main-content .staggs-configurator-steps-nav ul a .step-number {
    border: none;
    background-color: #EFEFEF;
    width: 32px;
    height: 32px;
    line-height: 33px;
}

#main-content .staggs-configurator-steps-nav ul a.active .step-number {
    background-color: #E8471C;
}

#main-content div.staggs-configurator-contained .staggs-product-options .option-group.intro {
    display: none;
}

#main-content .my-gallery-intro h3 {
    margin-bottom: 10px;
}

#main-content .staggs-product-options {
    text-align: left;
}

#main-content div.staggs-configurator-contained {
    margin-top: 0px;
}

#main-content .staggs-configurator-steps-nav ul.centered {
    align-items: center;
}

#main-content .staggs-configurator-steps-nav ul.steps-links-one a {
    margin-right: 0px;
}

#main-content .staggs-view-gallery img {
    border-radius: 10px;
}

#main-content .option-group-wrapper span.option-label {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
    display: inline-block;
}

#main-content .option-group-wrapper .options .option-price {
    font-size: 22px;
}

#main-content .option-group-options.icons.swatches .label {
    justify-content: space-between;
    flex-direction: row;
    font-size: 18px;
}

#main-content .option-group-options.icons.swatches .label .woocommerce-Price-amount {
    font-size: 18px;
}

#main-content .option-group-wrapper .icons.size-small.style-inside .icon {
    margin-right: 15px;
    min-width: 40px;
}

#main-content .staggs-product-options.border-rounded .option-group-step,
#main-content .staggs-product-options.border-rounded .option-group-step-inner,
#main-content .staggs-product-options.border-pill .option-group-step,
#main-content .staggs-product-options.border-pill .option-group-step-inner {
    margin-bottom: 30px;
}

#main-content .staggs-configurator-main.border-rounded .option-group-step-buttons .button {
    border-radius: 8px;
}

#main-content .staggs-configurator-main .option-group-step-buttons .button,
#main-content .staggs-configurator-main .option-group-step-buttons .button.disabled {
    text-transform: none;
    padding: 15px 25px;
}

#main-content .staggs-configurator-main .option-group-step-buttons .button:not(.disabled) {
    background-color: #E8471C;
}

#main-content .staggs-configurator-main .option-group-step-buttons .button:not(.disabled):hover {
    background-color: #1A2125;
}

#main-content .staggs-configurator-main .option-group-step-buttons .button.staggs-step-prev-button {
    background-color: #E4E4E4;
    color: #1A2125;
}

#main-content .staggs-configurator-main .option-group-step-buttons .button.staggs-step-prev-button:hover {
    background-color: #c6c6c6;
}

#main-content .option-group-wrapper label .option,
#main-content .option-group-wrapper .tickboxes>label {
    border: 2px solid #dddddd;
    background: none;
    align-items: flex-start;
}

.staggs-configurator-main .option-group-step-inner>a {
    font-size: 20px;
    background-color: #1A2125;
    color: #fff;
    padding: 13px 25px;
    border-radius: 8px;
    display: inline-block;
}

.staggs-configurator-main .option-group-step-inner>a:hover {
    background-color: #000;
}

.option-group-wrapper .options .option-note {
    font-size: 100%;
}

#main-content .product-view-inner {
    margin-bottom: 30px;
}

#main-content .staggs-summary-widget>strong {
    font-size: 22px
}

#main-content .option-group-wrapper .tickboxes .box-note {
    font-size: 100%;
}

#main-content .option-group-wrapper .tickboxes,
#option-group-1299 .option-group-content .option-group-options {
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: row;
    align-items: stretch;
}

#main-content .option-group-wrapper .tickboxes>label {
    flex: 0 0 calc(50% - 10px);
    align-items: flex-start;
    border-radius: 12px
}

#main-content .option-group-wrapper .tickboxes .box {
    padding: 0px;
    gap: 0px 10px;
}

#option-group-1297 {
    padding-bottom: 5px;
}

.option-group-wrapper .tickboxes .box-name,
.option-group-wrapper .tickboxes .box-price {
    flex: unset !important;
}

#main-content .option-group-wrapper .tickboxes input[type=checkbox]:checked+.box:before {
    content: none;
}

.package_includes {
    margin-bottom: 30px;
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 25px;
}

.package_includes>span {
    display: block;
    color: #5E5E5E;
    margin-bottom: 3px;
}

.package_includes>span:last-child {
    margin-bottom: 0px;
}

.me-3 {
    margin-right: 8px;
}

.option-group-wrapper .option-group-step-inner .staggs-summary-widget {
    padding: 0px;
    background: none;
}

.option-group-wrapper .option-group-step-inner .staggs-summary-widget .staggs-summary-items li {
    display: flex;
    justify-content: space-between;
}

.option-group-wrapper .option-group-step-inner .staggs-summary-widget .staggs-summary-items li:has(> *:only-child) {
    justify-content: flex-end;
}

.option-group-wrapper .option-group.total {
    margin-top: 30px;
}

.option-group-wrapper .option-group.total .button {
    background-color: #e8471c;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 18px;
    height: 50px;
    color: #fff;
    text-transform: none;
}

.option-group-wrapper .option-group.total .button:hover {
    background-color: #c8360d;
}

.option-group-wrapper .option-group.total .staggs-cart-form-button {
    margin-top: 30px;
}

.gform-theme--foundation .gfield textarea {
    border-color: #686e77;
}

#main-content .option-group-wrapper .options.list--preview .option {
    height: 100%;
    padding: 25px;
    gap: 0px 10px;
    margin: 0px;
}

#main-content .option-group-wrapper .tickboxes>label {
    padding: 20px;
    display: flex;
    margin: 0px;
}

#main-content .option-group-wrapper .tickboxes input[type=checkbox]:checked::before {
    content: '';
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 14px;
    height: 14px;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(/wp-content/plugins/staggs-pro/public/img/checkmark.svg);
}

.staggs-product-options .option-group-options {
    row-gap: 15px;
}

.option-group-wrapper .tickboxes .box-name {
    font-weight: 600;
    font-size: 18px;
}

.option-group-wrapper .tickboxes .box-name>.box-note {
    font-weight: normal;
    margin-top: 10px;
    font-size: 16px !important;
}

.call-for-price {
    display: inline-block;
    color: #e8471c;
    font-weight: 600;
}

.custom_link {
    text-decoration: underline;
}

.custom_link:hover {
    text-decoration: none;
}

/* MEDIA QUERIES */

@media (min-width: 576px) {
    #main-content div.staggs-configurator-contained .staggs-container {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .three_in_row .ginput_container_checkbox .gfield_checkbox {
        flex-direction: row !important;
        flex-wrap: wrap;
    }

    div.staggs-configurator-contained .staggs-product-view,
    #main-content .staggs-product-options {
        width: 50%;
    }

    #option-group-1299 .option-group-content .option-group-options label {
        flex: 0 0 calc(50% - 10px);
        align-items: flex-start;
    }
}

@media (min-width: 992px) {}

@media (min-width: 1025px) {
    .title-size-small {
        --wd-title-sp: 20px 60px !important;
        --wd-title-font-s: 40px !important;
        padding-block-end: 50px !important;
    }

    .three_in_row .ginput_container_checkbox .gfield_checkbox .gchoice {
        width: 32.6%;
    }
}

@media (min-width: 1200px) {

    #main-content .staggs-product-options .option-group .title {
        font-size: 24px;
        color: #5E5E5E;
    }

    #main-content .staggs-product-options .option-group .title,
    .summary_title {
        font-size: 35px;
        color: #1A2125;
        margin-bottom: 12px;
    }

    #main-content div.staggs-configurator-contained .staggs-container {
        width: 100%;
    }
}

@media (max-width: 1199px) and (orientation: landscape),
(min-width: 1200px) {
    #main-content div.staggs-configurator-contained .staggs-product-view {
        flex: 0 0 calc(100% - 50%);
    }

    #main-content .staggs-configurator-inline.staggs-configurator-full .staggs-product-options,
    #main-content .staggs-configurator-inline.staggs-configurator-contained .staggs-product-options {
        max-height: 100%;
    }
}

@media (max-width: 1199px) and (orientation: landscape) {
    #main-content .staggs-product-view {
        height: inherit;
    }

    #main-content div.staggs-configurator-contained .staggs-product-view {
        flex: 0 0 calc(100%);
        margin-bottom: 20px;
    }
}


@media (max-width: 1199px) {

    #main-content .staggs-product-options .option-group:not(#option-group-783) .title,
    .summary_title {
        font-size: 26px;
        color: #1A2125;
        margin-bottom: 10px;
    }

    #main-content div.staggs-configurator-contained .option-group-wrapper {
        padding-left: 0px;
    }
}

@media (max-width: 992px) {
    .elementor-gallery__titles-container a.elementor-item.elementor-gallery-title {
        padding: 7px 20px;
        --space-between: 10px;
        margin-bottom: 10px;
    }

    .three_in_row .ginput_container_checkbox .gfield_checkbox .gchoice {
        width: 47%;
    }

    .three_in_row .ginput_container_checkbox .gfield_checkbox .gchoice {
        width: 100%;
    }
}

@media (max-width: 767px) {
    #main-content .option-group-wrapper .tickboxes>label {
        flex: 0 0 calc(100%);
    }

    #option-group-1299 .option-group-content .option-group-options label {
        flex: 0 0 calc(100%);
    }
}

@media (max-width: 575px) {
    .option-group-options.icons.swatches {
        grid-template-columns: repeat(1, 1fr);
    }
}