/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


.container {
    max-width: 1140px;
    margin: auto;
    font-family: 'Montserrat', sans-serif;
}

.models,
.all-brands,
.popular-brands {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.models-brand,
.popular-brands {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.popular-brands .brand {
    padding: 10px;
    margin: 8px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100px;
    overflow: hidden;
    transition: all .4s ease-in-out;
}

.models .model,
.all-brands .brand {
    padding: 8px 16px;
    width: 25%;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    transition: all .4s ease-in-out;
    cursor: pointer;
}

.popular-brands .brand img {
    margin: 0 0 10px;
    max-width: 80%;
}

.popular-brands .brand .brand-title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.models .model:hover,
.all-brands .brand:hover,
.popular-brands .brand:hover {
    background-color: #f5f5f5;
    color: black;
}

.catalog-title {
    padding: 20px;
    margin: 0;
    font-weight: 700;

}

.box {
    background: #fff;
    padding: 20px;
    box-shadow: 0 10px 20px #4b556312;
    border: 1px solid #0000000F;
}

.mt-5 {
    margin-top: 25px
}

.models-brand {
    display: flex;
    justify-content: space-between;

}

.models-brand-name {
    font-size: 24px;
    font-weight: 600;
}

.models-brand img {
    width: 64px;
    height: 64px;
    margin-right: 15px;
}

.models-brand .left {
    display: flex;
    align-items: center;
}

.button, .select-button {
    /*background: black !important;*/
    color: black !important;
    padding: 15px 30px;
    display: block;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    background-image: linear-gradient(180deg, #FEF06E 0%, #C9691F 100%);
}

.generation {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.generation-years {
    font-weight: 600;
    color: black;
}

.generation img {
    display: block;
}

.generation-variants {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 -10px;

}

.generation-variant {
    display: block;
    max-width: 340px;
    text-align: center;
    margin: 10px;
    position: relative;
    border: 1px solid black;
}

.generation-variant-name {
    position: absolute;
    top: 20px;
    left: 25px;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 15px;
    font-size: 16px;
    color: white;
    font-weight: 600;

}

.car-container {
    max-width: 362px;
    margin: 25px auto;
    min-height: 70vh;
}

.car-stock_status {
    margin: 15px 0;
}

.car img {
    display: block;
}

.car-alert-preorder, .car-alert-order, .car-alert-notification {
    display: none;
}

.request-form.onbackorder .car-alert-preorder {
    display: block;
}

.request-form.instock .car-alert-order {
    display: block;
}

.request-form.outofstock .car-alert-notification {
    display: block;
}

.request-form-post_title {
    font-size: 20px;
    font-weight: 700;
}

.car-alert {
    background: #e6f4ff;
    padding: 15px;
}

.car-alert p {
    margin: 0;
}

.wpforms-field-label-inline a {
    color: black;
    text-decoration: underline;
    font-weight: bold;
}

.wpforms-field-label-inline a:hover {
    color: black;
}

.wpforms-submit {
    background: black;
    border-radius: 0px;
}

.car-price {
    margin-top: 15px;
}

.request-form.outofstock #wpforms-12305-field_2-container {
    display: none;
}

#wpforms-submit-12305 {
    background-image: linear-gradient(180deg, #FEF06E 0%, #C9691F 100%);
    border-radius: 0px;
}

div.wpforms-container-full input[type=checkbox]:checked:before,
div.wpforms-container-full input[type=radio]:checked:before {
    border-color: black;
}
div.wpforms-container-full input[type=checkbox]:checked:after {
    border-color: black;
    box-shadow: 0 0 0 1px #000000, 0px 1px 2px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 768px) {
    .models .model, .all-brands .brand {
        width: 50%;
    }

    .catalog-title {
        font-size: 28px;
    }

    .models-brand {
        flex-direction: column-reverse;

    }

    .models-brand .right .button {
        margin-bottom: 15px;
        text-align: center;
    }

    .models-brand-name {
        font-size: 16px;
    }

    .generations {
        font-size: 16px;
    }

    .generation-variant-name {
        font-size: 14px;
    }

    .request-form .wpforms-one-half {
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 15px;
    }
}