/* -------- MAIN --------  */

main .container .div-card-main {
    width: 100%;
    background: var(--color-light-gray);
    padding: 20px 20px 0 20px;
    margin-top: 80px;
    margin-bottom: 80px;
    padding-bottom: 20px;
}

main .div-card-main .div-title-card h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    margin-left: 15px;
    margin-bottom: 20px;
}

main .div-gallery-main {
    margin-bottom: 60px;
}


/* SLIDER SWIPER */

.swiper-container {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.3;
}

.swiper-div-view img {
    width: 100%;
    height: 100%;
}

.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
    height: 12px;
    width: 12px;
}

.swiper-pagination-bullet-active {
    background: var(--color-yellow-primary);
    opacity: 1;
}

.gallery-top {
    height: auto;
    width: 100%;
    cursor: pointer;
}

.gallery-thumbs {
    height: 20%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px 0;
}

.gallery-thumbs .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.swiper-slide-visible,
.swiper-slide-thumb-active {
    cursor: pointer;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-button-next.swiper-button-white,
.swiper-button-prev.swiper-button-white {
    text-shadow: 2px 2px 8px #000;
    color: var(--color-yellow-primary);
}

.icon-whats-footer {
    width: 20px;
}

.swiper-pagination-fraction {
    color: #FFF;
    text-shadow: 2px 2px 8px #000;
}

.swiper-overlay{
    position: absolute;
    width: calc(100% - 30px);
    height: 100%;
    z-index: 2;
}

main .div-gallery-info {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

main .div-gallery-info .div-description-info h1 {
    font-size: 28px;
    color: var(--color-white);
    font-weight: 700;
}

main .div-gallery-info .price-value-car {
    font-size: 34px;
    margin-top: 20px;
    margin-bottom: 20px;
}

main .div-gallery-info .div-description-info p {
    font-family: "Work Sans";
    color: var(--color-white);
    font-weight: 300;
    font-size: 14px;
}

main .div-gallery-info .div-description-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
}

main .div-gallery-info .div-description-button button {
    width: 65%;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

main .div-gallery-info .button-description-whats {
    margin-bottom: 20px;
    height: 40px;
    background: var(--color-gradient-button);
    -webkit-box-shadow: 0px 3px 6px var(--color-shadow-dark-button);
    box-shadow: 0px 3px 6px var(--color-shadow-dark-button);
    color: var(--color-black);
    border: none;
}

main .div-gallery-info .button-description-whats:hover {
    background: var(--color-white);
    color: var(--color-black);
}

main .div-gallery-info .button-description-finance {
    height: 40px;
    color: var(--color-white);
    background: transparent;
    border: 2px solid var(--color-yellow-primary);
}

main .div-gallery-info .button-description-finance:hover {
    background: var(--color-gradient-button);
    color: var(--color-black);
    border: none;
}

.open-gallery{
    position: absolute;
    z-index: 5;
    right: 10px;
    top: 8px;
    cursor: pointer;
}

.open-gallery .fa{
    text-shadow: 0 0 10px #fff;
}


/* MEDIA QUERIES */


/* Extra small devices (portrait phones, less than 576px) */

@media (max-width: 575.98px) {
    /* MAIN  */
    main .container .div-card-main {
        height: 100%;
        padding-bottom: 30px;
    }
    .div-gallery-main .swiper-div-view {
        height: 170px;
    }
    .div-gallery-main .swiper-div-preview {
        height: 40px;
    }
    main .div-gallery-info .div-description-info h1 {
        margin-top: 24px;
        margin-bottom: 20px;
    }
    main .div-gallery-info .price-value-car {
        text-align: center;
        font-size: 30px;
    }
    main .gallery-info .div-description-info h1 {
        margin-top: 20px;
    }
    main .div-gallery-info .div-description-info p {
        text-align: justify;
    }
    main .div-gallery-info .div-description-button button {
        font-size: 16px;
        height: 50px;
        width: 100%;
    }
    main .div-gallery-main {
        margin-bottom: 0;
    }
}


/* Small devices (landscape phones, 576px and up) */

@media (min-width: 576px) and (max-width: 767.98px) {
    /* MAIN  */
    main .container .div-card-main {
        height: 100%;
        padding-bottom: 30px;
    }
    .div-gallery-main .swiper-div-view {
        height: 270px;
    }
    .div-gallery-main .swiper-div-preview {
        height: 40px;
    }
    main .div-gallery-info .div-description-info h1 {
        margin-top: 24px;
        margin-bottom: 20px;
    }
    main .div-gallery-info .div-description-info p {
        text-align: justify;
    }
    main .div-gallery-info .div-description-button button {
        width: 100%;
    }
    main .div-gallery-info .price-value-car {
        text-align: center;
        font-size: 30px;
    }
    main .div-gallery-main {
        margin-bottom: 0;
    }
}


/* Medium devices (tablets, 768px and up) */

@media (min-width: 768px) and (max-width: 991.98px) {
    main .container .div-card-main {
        height: 100%;
        padding-bottom: 30px;
    }
    .div-gallery-main .swiper-container-div-view {
        height: 240px;
    }
    main .div-gallery-info .div-description-info p {
        font-size: 6px;
    }
    main .div-gallery-info .div-description-button button {
        font-size: 14px;
    }
    main .div-gallery-info .div-description-button button {
        width: 100%;
        margin-bottom: 10px;
    }
}


/* Large devices (desktops, 992px and up) */

@media (min-width: 992px) and (max-width: 1199.98px) {
    .gallery-top {
        height: auto;
    }
}


/* Extra large devices (large desktops, 1200px and up) */


/* @media (min-width: 1200px) {

} */