.button.primary {
    background-color: #FFBA00;
    border-color: #FFBA00;
    color: black;
    -webkit-box-shadow: none;
    box-shadow: none;
}

svg {
    max-width: 100%;
}

.button.secondary,
.button.primary {
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 14px;
}

@media(min-width:768px) {

    .button.secondary,
    .button.primary {
        padding: 8px 20px;
    }
}



/* ******************* Car Sliders **********************/

.cars-sliders-home .header h2 {
    font-size: 32px !important;
    line-height: 37.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.cars-sliders-home .slick-center>a,
.cars-sliders-home .slick-center>a>article {

    width: 100%;
}

.cars-sliders-home .button.secondary {
    background-color: #322B29;
    border-color: #322B29;
    color: white;
}

.cars-sliders-home .card-vehicle--title {
    font-size: 18px !important;
    line-height: 21px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
}



.cars-sliders-home.jeep .primary {
    margin-top: 4o0px;
}

.cars-sliders-home .selector-autos--carousel .card-vehicle--figure img {
    object-fit: contain;
    height: 13rem;
}


.cars-sliders-home .slick-initialized .slick-slide {
    display: block;
    height: auto;
}

@media(max-width:768px) {
    .cars-sliders-home .header h2 {
        font-size: 24px !important;
        line-height: 28px;
        text-transform: uppercase;
        font-weight: 600;
        margin-top: 20px;
        order: 2;
    }

    .cars-sliders-home .card-vehicle--title {
        font-size: 22px !important;
        line-height: 25px;
    }

    .cars-sliders-home .button.primary,
    .cars-sliders-home .button.secondary {
        font-size: 16px;
        line-height: 20px;
        padding: 8px 20px;
    }

    .cars-sliders-home.jeep .header img {
        max-width: 80px;
    }


    .selector-autos--carousel .slick-prev,
    .selector-autos--carousel .slick-next {
        top: 50%;
    }
}

.slick-initialized .slick-slide {
    height: auto;
}

/************* Masonry Overlay with Hero Button ***************/

.masonry-overlap-hero-button .masonry-grid {
    position: relative;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1rem 1fr 1rem 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.masonry-overlap-hero-button .masonry-item {
    position: relative;
    overflow: hidden;
}

.masonry-overlap-hero-button .image-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.masonry-overlap-hero-button .image-container img {
    width: 100%;
    height: auto;
    -webkit-transition: -webkit-transform 0.3s ease, -webkit-filter 0.3s ease;
    transition: -webkit-transform 0.3s ease, -webkit-filter 0.3s ease;
    -o-transition: transform 0.3s ease, filter 0.3s ease;
    transition: transform 0.3s ease, filter 0.3s ease;
    transition: transform 0.3s ease, filter 0.3s ease, -webkit-transform 0.3s ease, -webkit-filter 0.3s ease;
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.masonry-overlap-hero-button .image-container:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-filter: brightness(80%);
    filter: brightness(80%);
}

.masonry-overlap-hero-button .caption-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 2;
}

.masonry-overlap-hero-button .image-container:hover .caption-overlay {
    opacity: 1;
}


.masonry-overlap-hero-button .hero-button .hero-title {
    font-size: 18px;
    line-height: 18px;
    font-weight: 900;
    text-transform: uppercase;
}





@media (max-width: 768px) {
    .masonry-overlap-hero-button .masonry-grid {
        min-height: 250px;
    }



    .masonry-overlap-hero-button .primary {
        margin: 0 auto;
    }

    .masonry-overlap-hero-button .hero-button .hero-title {

        text-align: center;
    }

    
}

@media (min-width: 400px) and (max-width: 768px) {}

@media(max-width:400px) {
    .masonry-overlap-hero-button .masonry-grid {
        min-height: 220px;
    }




}

/******************** Hero Columns *********************/
.hero-columns .full-width-image {
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: right bottom;
    object-position: right bottom;

}

.hero-columns .wrapper {
    padding-left: 5vw;
}

.hero-columns .hero-title {
    font-size: 24px;
    line-height: 28px;
    font-weight: 900;
}

.hero-columns .button-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.hero-columns .slider-planes-wrapper {
    bottom: 0;
    left: 10%;
    padding-left: 0;
    padding-right: 0;
}


@media(min-width:768px) {
    .hero-columns .title-background-wrappper {
        justify-content:center!important;
    }
}

@media(min-width:1024px) {
    .hero-columns .title-background-wrappper {
        justify-content: start!important;
    }
}


@media(min-width: 2000px) {
    .hero-columns .full-width-image {
        /* max-height: 500px; */
        object-fit: contain;
    }

}

@media(max-width:768px) {
    .hero-columns .wrapper {
        padding-left: 0;
    }

    .hero-columns .hero-title {
        font-size: 21px;
        line-height: 24px;
    }

    .hero-columns .button-container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .hero-columns .img-full .mobile img {
        height: 300px;
        -o-object-fit: cover;
        object-fit: cover;
    }



    .hero-columns .img-planes-mobile {
        width: 300px;
        bottom: 9px;
        right: 4px;
    }


}

@media (min-width: 400px) and (max-width: 768px) {}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-columns .full-width-image {
        max-width: 90vw;
    }

    .hero-columns .slick-slide img {
        width: 70%;
    }

    .hero-columns .slider-planes-wrapper {

        left: 18%;

    }
}

/**************** Img Full ******************/
.img-full.desktop img {
    /* height: 28rem; */
    -o-object-fit: cover;
    /* object-fit: cover; */
    -o-object-position: 0 60%;
    /* object-position: 40% 60%; */
}

@media(max-width:1024px) {
    .img-full.desktop img {
        height: 20rem;
    }
}

@media(max-width:768px) {
    .img-full.desktop img {
        height: auto !important;
    }
}

/****************** Brand Logos ********************/
.masonry-overlap-hero-button .brand-logos{
    margin-top:2rem;
}
@media(min-width:1024px){
    .masonry-overlap-hero-button .brand-logos{
        margin:0;
        justify-content: flex-start;
    }
}
/****************** Branches ********************/
.branches {
    background-color: #f7f7f7;
}


.branches .branches-title {
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, .8);
    height: 100%;
    letter-spacing: 0.1em;
    margin: 0;
    color: white;
    height: auto;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 2;
    position: relative;
    font-size: 30px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px 0;
}

.branches .branches-title:after {
    content: "";
    width: 100%;
    height: 50px;
    background: rgba(0, 0, 0, .8);
    display: block;
    position: absolute;
    top: -50px;
}



.branches .branches-title span:first-of-type {
    margin-bottom: 10px;
}

.branches .branches-title-wrapper {
    background-size: cover;
    height: 100%;
}

.branches .branches-featured .title-top {
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    line-height: 28px;
    font-weight: 300;
}

.branches .branches-featured .title-bottom {
    font-family: "Roboto", sans-serif;
    font-size: 40px;
    line-height: 46px;
    font-weight: 700;
    margin-bottom: 30px;
}


.branches-featured .text {
    font-size: 14px;
    line-height: 15px;
    font-weight: 400;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 0;
}

.branches .branches-featured .icon-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    margin-right: 10px;
}

.branches .branches-featured img {
    /* margin-right: 10px; */
    width: 25px;
}

.branches .slick-slide.slick-current {
    background: #F7F7F7;
    position: relative;
    z-index: 1;
}

.branches .slick-slide {
    padding: 50px;
}

.branches-featured-container {
    padding: 30px;
}

.branches .slick-slide.slick-current:before {
    content: "";
    display: block;
    width: 40px;
    height: 200px;
    position: absolute;
    left: -40px;
    background-color: #F7F7F7;
    bottom: 0;
}

.slider-branches-home .carousel-control-next-icon,
.slider-branches-home .carousel-control-prev-icon {
    top: 100% !important;
    background-color: #FFBA00 !important;
    color: black;
}

.branches-map {
    height: 100%;
}

.branches .paragraph {

    display: flex;
}

.slider-branches-home .carousel-control-prev-icon {
    left: 50px !important;
}

.slider-branches-home .carousel-control-next-icon {
    right: 50px !important;
}

.slick-list {
    padding: 0 !important;
}

@media(max-width:768px) {


    .slider-branches-home .carousel-control-prev-icon {
        left: 10% !important;
    }

    .slider-branches-home .carousel-control-next-icon {
        right: 10% !important;
    }

    .branches-featured-container {
        padding: 50px;
    }

    .branches-featured .text {
        font-size: 14px;
    }

    .branches .paragraph {
        padding: 0 20px;
    }

    .branches .branches-title {
        font-size: 30px;
        position: absolute;
        height: 100%;
    }

    .slider-branches-home .carousel-control-next-icon,
    .slider-branches-home .carousel-control-prev-icon {
        top: 100% !important;
    }


}

.jeep-logo-footer {
    flex-wrap: wrap;
    gap: 6px;
}

.jeep-logo-footer .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(20% - 6px);
}

.main-footer--title {
    font-size: 20px;
    text-transform: none;
    font-weight: 600;
}



.main-footer--contacto a {
    color: #ffffff !important;
    text-decoration: none;
    line-height: 1.5em;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.image-slider img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.hero-columns .slick-slide img {
    width: 80%;
}


@media (min-width: 768px) {
    .slider-planes-wrapper.mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    .jeep-logo-footer .logo {
        max-width: calc(20% - 5px);
        width: 20%;
    }

    .footer-father {
        padding: 0px;
    }

    .social-network-icon {
        width: 30px;
        height: 30px;
    }

    .branches .slick-slide {
        padding: 20px;
    }

}

@media (min-width: 2000px) {

    .hero-columns .slider-planes-wrapper {
        left: 10% !important;
    }

    .selector-autos--carousel .slick-arrow {
        height: 36px !important;
        width: 26px !important;
        z-index: 9000;
    }
}