
body,html {
    background-color: #fff !important;
    padding-top: 0 !important;
}

.hidden {
    display: none;
}

.d-display {
    display: none;
}

.d-flex {
    display: flex !important;
}

.fw-600 {
    font-weight: 600;
}

.mt-10{
    margin-top: 10px;
}

.flex-baseline{
    align-items: baseline;
}

.fw-bold {
    font-weight: 300!important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 300 !important;
    text-transform: uppercase;
}

#hero .owl-carousel, #hero .owl-carousel .owl-stage-outer, #hero .owl-carousel .owl-stage-outer .item {
    height: 250px !important;
}

.logo {
    max-height: 65px;
}

#hero .owl-carousel, #hero .owl-carousel .owl-stage-outer, #hero .owl-carousel .owl-stage-outer .item {
    height: 68vh;
    background-color: #fff;
}

.py-3 {
    padding-top: 1.25rem!important;
    padding-bottom: 1.25rem!important;
}

#navbar-desktop.py-3 .line {
    background: #fff !important;
    margin: 5px;
    height: 2px;
}

#navbar-desktop.py-2 .line {
    background: #000 !important;
    margin: 5px;
    height: 2px;
}

#navbar-desktop.py-3 {

    a, span {
        color: #fff !important;
    }

    .a21-sub-menu {
        ul {
            background-color: rgba(255,255,255,0.7) !important;

            li {
                a {
                    padding: 10px 0;
                    color: #000 !important;
                }
            }
        }
    }
    
}

#navbar-desktop.py-2 {
    background-color: #fff !important;
    box-shadow: var(--bs-box-shadow) !important;
}

#btn-navbar {
    display: none !important;
}

#btn-navbar.open .second-line {
    display: none !important;
}

#btn-navbar.open .third-line {
    transform: rotate(-45deg) translate(2px,-2px);
}

.lista-viaturas img {
    border-bottom-left-radius: 1px solid #fff !important;
    border-bottom-right-radius: 1px solid #fff !important;
}

.car-grid, .car-list {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.10)!important;
}

.car-grid:hover, .car-list:hover {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.25)!important;
}

.caixa-filtros {
    border: 1px solid #aaa;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.25)!important;
}

.imagem-topo-home{
    height: 80vh;
    background-size: cover;
    background-position: center center;

    .bg-black {
        background-color: rgba(0, 0, 0, 0.5) !important;
    }
}

.home-area-logo {
    padding: 100px;

    img {
        height: 100%;
        width: auto;
        object-fit: contain;
    }
}

.imagem-topo{
    height: 275px;
    background-size: cover;
    background-position: center center;
}

.make-slider{
	padding:40px 0;
}
#make-carousel .item{
	margin-top:20px;
}
#make-carousel .owl-buttons div{
	top:43%;
}
#make-carousel .owl-buttons div.owl-next{
	right:-16px;
}

#make-carousel img {
    width: 200px;
}

#video {
    background-size: cover;
    background-position: center
}

#back-top {
    z-index: 40;
    bottom: 0px;
    right: 7px;
}

.footer-color {
    background-color: #000;
    color: #fff;
}

.footer-bottom-color {
    background-color: #fff !important;
    color: #000;
    
    a {
        transition: all 0.3s ease;
    }

    .footer-menu {
        span {
            transition: all 0.3s ease;

            &:hover {
                cursor: pointer;
            }
        }
    }
}

.destaques-viatura a {
    border: 1px solid #ccc;
}

.form-select{
    background-color: var(--light)!important;
    border: 1px solid #eee !important;
}

.contactos-icon {
    width: 25px;
    margin: 23px;
}

.car-content {
    text-align: right;
}

.car-content h3 {
    text-align: left;
}

.text-viat-versao {
    text-align: left;
    margin-top: -10px;
    color: #6c757d!important;
    font-size: 12px;
}

.flexslider {
    margin: 0 0 10px;
}

.flex-direction-nav a {
    height: 80px;
    margin: -40px 0 0;
}

.flex-row {
    flex-direction: row;
}


/************ inicio sub-menu *******************/

li.a21-sub-menu {
    position: relative;
}

li.a21-sub-menu i {
    margin-left: 5px;
}

li.a21-sub-menu:hover > ul {
    display: block;
    opacity: 1;
    transform: translateY(0); 
}

li.a21-sub-menu > ul {
    position: absolute;
    display: none;
    opacity: 1;
    list-style: none;
    left: 0;
    top: 27px;
    padding: 10px 0px 10px 0px;
    background-color: #fff;
    transition: all 0.5s ease; 
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}
li.a21-sub-menu ul li:first {
    border-top: 1px solid #000 !important;
}

li.a21-sub-menu > ul > li > a {
    padding: 10px;
    display: block;
    color: #000;
    border-bottom: 1px solid #000;
    white-space:nowrap;
}

li.a21-sub-menu > ul > li > a:hover {
    color: #666; 
}

/************ fim sub-menu *******************/

.div_reclamacoes {
    display: none;
    text-align: center;
    padding: 25px;
    a {
        color:#444;
        text-decoration: none;
    }
    a:hover {
        color:#000;
    }
    p {
        margin: 0px;
    }
}

.div_litigio {
    display: none;
    text-align: center;
    padding: 25px;
    a {
        color:#444;
        text-decoration: none;
    }
    a:hover {
        color:#000;
    }
    p {
        margin: 0px;
    }    
}

.footer-color ul li a {
    color: #ccc !important;
    transition: all 0.3s ease;
}

.equipamento-tipo {
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    margin-top: 20px;
}

.red {
    background-color: red;
}

.parallax::after {
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateZ(-1px) scale(1.5);
    background-size: 100%;
    z-index: -1;
}

.img-viat-slider {
    height: 500px;
}

#slider-product .img-responsive {
    width: 100%;
    height: auto;
}

#gallery .lSSlideWrapper::before {
    display: none;
}

.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current, .lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide, .lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide {
    background-color: rgba(0,0,0,0.9);
}

.reservado{
    transform: rotate(-30deg);
    margin-top: 5px;
    margin-left: -43px;
    padding: 0px 50px !important;
    font-weight: 800 !important;
    color: #000 !important;
    background-color: #fff !important;
    border: 1px solid #000;
}

.vendido {
    transform: rotate(-30deg);
    margin-top: 5px;
    margin-left: -43px;
    padding: 0px 50px !important;
    font-weight: 800 !important;
    color: #fff !important;
    background-color: #000 !important;
    border: 1px solid #fff;
}


.caixa-complemento {
    overflow: hidden;
}

#gallery {
    overflow: hidden;
}

#gallery .reservado{
    transform: rotate(-30deg);
    font-weight: 800 !important;
    color: #000 !important;
    background-color: #fff !important;
    margin-top: 41px;
    margin-left: -109px;
    padding: 0px 142px !important;
    font-size: 25px;
    border: 1px solid #000;
}

#gallery .vendido {
    transform: rotate(-30deg);
    font-weight: 800 !important;
    color: #fff !important;
    background-color: #000 !important;
    margin-top: 41px;
    margin-left: -109px;
    padding: 0px 142px !important;
    font-size: 25px;
    border: 1px solid #fff;
}

.complemento {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.80)!important;
    font-size: 13px;
}

#gallery .complemento {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.80)!important;
    font-size: 20px;    
}


#div-slider-destaques-v2{
    img {
        width: 100%;
        border: 5px solid #0000;
    }
    .lSSlideWrapper::before { 
        display: none;
    }
}

.lSAction > .lSPrev {
    width: 64px;
    height: 64px;
    background-size: 128px;
    opacity: 1 !important;
}

.lSAction > .lSNext {
    width: 64px;
    height: 64px;
    background-size: 128px;
    opacity: 1 !important;
}

.lSAction > .lSNext {
    background-position: -64px 0;
}

#vehicle .lSAction > .lSNext, #vehicle .lSAction > .lSPrev {
    filter: invert(1);
}

#div-slider-destaques-v3, .destaque-viaturas-v5 {
    a {
        text-decoration: none;
        color:#000;
        text-align: center;
        transition: all 0.3s ease;
    }
    h3 {
        font-size: 1rem;
    }
    .info p {
        font-size: 0.8rem;
    }
    .lSSlideWrapper {
        background-color: #fff;
    }
    .d-flex{
        flex-direction: column;
    }
    .lSSlideWrapper::before { 
        display: none;
    }
    img {
        width: 100%;
    }

    .bloco-viatura {
        box-shadow: 0 10px 10px rgba(0, 0, 0, .10) !important;
        border-radius: 10px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .lslide {
        transition: 0.5s;
        transform: matrix(0.9, 0, 0, 0.9, 0, 0);
        padding: 10px;
    }
    .teste1 {
        transform: matrix(0.9, 0, 0, 0.9, 0, 0);
        opacity: 0.5;
    }
    .teste2 {
        transform: matrix(1, 0, 0, 1, 0, 0);
    }
    .teste3 {
        transform: matrix(0.9, 0, 0, 0.9, 0, 0);
        opacity: 0.5;
    }

    .car-grid .car-content::before {
        display: none;
    }

}

.lSSlideOuter .lSPager.lSGallery img {
    object-fit: cover;
}

@media screen and (min-width: 993px) {

    .lSSlideOuter .lSPager.lSGallery img {
        min-height: 65px;
    }

}

@media screen and (max-width: 1399px) {

    #btn-navbar { 
        display: block !important;
    }

}

@media screen and (max-width: 992px) {

    .img-viat-slider {
        height: 400px;
    }

    .lSSlideOuter .lSPager.lSGallery img {
        min-height: 40px;
    }

}

@media screen and (max-width: 575px) {

    .d-display {
        display: block;
        background-color: var(--light) !important;
        border: 1px solid #eee !important;
        float: right;
        height: 40px;
        border-radius: 5px;
    }

    .menu-filtros {

        flex-direction: column;

        #form_tags {
            display: none;
        }

        #ver_filtros {
            padding-left: 20px;
            padding-right: 20px;
            line-height: 36px;
        }

        form {
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 10px;
        }

        select {
            margin-right: 0px !important;
            margin-bottom: 10px;
            flex-basis: calc(50% - 5px);
            box-sizing: border-box;
        }

        .btn-ordenar {
            width: calc( 50% - 10px );
        }

    }

    .lslide {
        transform: matrix(1, 0, 0, 1, 0, 0) !important;
    }
    .teste1 {
        transform: matrix(1, 0, 0, 1, 0, 0) !important;
    }
    .teste2 {
        transform: matrix(0.9, 0, 0, 0.9, 0, 0) !important;
    }

}

@media screen and (max-width: 442px) {

    .img-viat-slider {
        height: 300px;
    }

    .lSSlideOuter .lSPager.lSGallery img {
        min-height: 25px !important;
    }

}

/* Destaque Viatura V5 */

.destaque-viaturas-v5 {
    .swiper {
        padding-bottom: 40px;

        .swiper-pagination {
            .swiper-pagination-bullet-active {
                background-color: #AE1C1B;
            }
        }
    }
}

@media screen and (max-width: 767.99px) {
    .destaque-viaturas-v5 {
        .swiper {
            padding-right: 15px;
            padding-left: 15px;
        }
    }
}

/* Vender Financiar */

#venderFinanciar {
    img {
        height: 70px;
        width: auto;
        object-fit: contain;
    }

    h4 {
        font-weight: 700!important;
    }

    a {
        transition: all 0.3s ease;
        text-transform: uppercase !important;
        font-weight: 700!important;

        &:hover {
            background-color: #AE1C1B !important;
        }
    }
}

/* Bloco viatura */
.car-grid {
    transition: all 0.3s ease;

    .image {
        height: 315px;

        img {
            height: 100%;
            object-fit: cover;
        }
    }

    &a {
        text-decoration: none;
        color:#000;
        text-align: center;
        transition: all 0.3s ease;
    }
    h3 {
        font-size: 1rem;
        color: #000!important;
    }
    .info p {
        font-size: 0.8rem;
    }
    .d-flex{
        flex-direction: column;
    }
    img {
        width: 100%;
    }

    .viatura-item {
        box-shadow: 0 10px 10px rgba(0, 0, 0, .10) !important;
        border-radius: 10px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .car-content {
        &:before {
            display: none;
        }

        h3 {
            font-size: 20px!important;
            font-weight: 500!important;
        }

        .text-viat-versao {
            font-size: 15px;
            font-weight: 400;
            min-height: 27px;
        }

        .preco-viatura {
            margin-top: 10px;
        }

        .link {
            transition: all 0.3s ease;
            text-transform: uppercase !important;
            font-weight: 700!important;
        }

        .info-detail-title {
            justify-content: center;
            align-items: center;

            img {
                width: 20px!important;
            }

            span {
                font-size: 12px;
                line-height: 14px;
            }


        }

        .info-detail-value {
            font-size: 13px;
        }

        .car-details {
            display: flex;
            justify-content: start;
            align-items: center;

            .car-details-img {
                height: 30px;
                width: 30px!important;
                margin-right: 10px;
            }

            .car-details-content {
                display: flex;
                flex-direction: column;
                align-items: start;
                line-height: 17px;

                span {
                    font-size: 12px;
                    color: #888888;

                    &:last-of-type {
                        font-size: 13px;
                        font-weight: 700;
                    }
                }
            }
        }
    }

    &:hover {
        span.link {
            background-color: #AE1C1B !important;
            color: #fff !important;
        }
    }
}

/* Mais informações */
.mais-informacoes-v1 {
    ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;

        li {
            padding: 0;
            width: calc(50% - 5px);
            margin-top: 10px;
            margin-right: 5px;
            margin-left: 5px;

            &:nth-of-type(odd) {
                margin-left: 0;
            }

            &:nth-of-type(even) {
                margin-right: 0;
            }

            a {
                width: 100%;
                display: flex;
                text-decoration: none;
                justify-content: center;
                margin: 0!important;
                text-align: center;
                transition: all 0.3s ease;
                background-color: #AE1C1B!important;
            }
        }
    }
}

@media screen and (max-width: 767.99px) {

    .mais-informacoes-v1 {
        ul {
            li {
                width: 100%;
                margin-right: 0;
                margin-left: 0;
            }
        }
    }

}

/* detalhe viaturas */
.descricao-viatura {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Modals */

.modal {
    .modal-dialog {
        .modal-content {
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            background-attachment: fixed;
            background-color: #fff;
            border: 1px solid #fff;

            .modal-header {
                border-bottom: 0;

                .btn-close {
                    padding: 10px;
                    font-size: 20px;
                    border: 1px solid var(--primary);
                    transition: all 0.4s;
                    text-transform: uppercase;
                    border-radius: 50%;
                    height: 30px;
                    width: 30px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    z-index: 3;
                    color: var(--primary);
                    opacity: 1;
                }

                .btn-close:hover {
                    color: #fff;
                }

                .btn-close:focus {
                    box-shadow: none;
                }

                h5 {
                    font-weight: bolder;
                    font-size: 32px;
                    font-style: normal;
                    font-weight: 600;
                    color: #000;
                }
            }

            .viatura {
                display: flex;
                margin-bottom: 20px;

                .imagem {
                    background-size: cover;
                    background-position: center center;
                    border-radius: 4px;
                    min-height: 150px;
                }

                .info {

                    padding-left: 10px;

                    > .row {
                        height: 100%;
                    }

                    .titulo {
                        font-size: 24px;
                        line-height: 28px;
                        padding-top: 3px;
                        margin-bottom: 15px;
                        color: #000;

                        span {
                            font-size: 16px;
                            line-height: 20px; 
                        }
                    }

                    .info-tec {
                        display: flex;
                        justify-content: space-between;
                        align-items: end;
                        padding-bottom: 3px;
                        margin-top: auto;

                        div {
                            div {
                                display: flex;
                                flex-direction: column;
                                font-size: 10px;
                                line-height: 13px;
                                align-items: center;
                                font-size: 10px;
                                font-weight: 500;
                                color: #000;
                            }

                            .preco {
                                color: #000;
                            }
                        }

                        img {
                            max-width: 50px;
                            max-height: 20px;
                        }

                        span {
                            line-height: 12px;
                            font-size: 14px;
                            font-weight: 500;
                            color: #000;
                        }
                    }

                    .preco {
                        margin-top: 10px;
                        text-align: end;
                        line-height: 20px;
                        
                        span{
                            color: #000;
                            font-style: normal;
                            line-height: 20px;
                            position: relative;
                            z-index: 1;
                            transition: all 0.4s;
                            text-transform: uppercase;
                            font-size: 20px;
                        }
                    }
                }
            }

            input, textarea, .nice-select, select {
                color: #000;
                font-style: normal;
                line-height: 18px;
                border-radius: 4px;
                padding: 24px 16px;
                width: 100%;
                background-color: #fff;
                border: 1px solid #000;
            }

            input {
                margin-bottom: 1rem;
            }

            .nice-select {
                height: 70px;

                .list {
                    width: 100%;
                }
            }

            .form-control:focus {
                color: #212529;
                background-color: #fff;
                outline: 0;
                box-shadow: none;
                border-color: var(--ztc-text-text-1);
            }

            .modal-footer {
                border-top: 0;

                button[type=submit] {
                    background-color: #AE1C1B!important;
                    color: #fff;
                    border: 1px solid #AE1C1B!important;
                    transition: all 0.3s;

                    &:hover {
                        background-color: var(--gray) !important;
                    }
                }

                .btn-cancel {
                    border-radius: 0.375rem;
                    color: #444;
                    font-style: normal;
                    line-height: 20px;
                    padding: 7px 10px;
                    position: relative;
                    z-index: 1;
                    border: 1px solid transparent;
                    transition: all 0.4s;
                    text-transform: uppercase;
                    background-color: transparent;
                }

                .btn-cancel:hover {
                    transform: scale(.95);
                    box-shadow: none;
                }
            }
        }
    }
}

#vehicle, #financiamento, #contactos {
    form {
        z-index: 9;

        button {
            background-color: #AE1C1B!important;
        }
    }
}

#num_viaturas {
    background-color: #AE1C1B!important;
    transition: all 0.3s ease;
    margin-left: 5px!important;

    &:hover {
        background-color: var(--gray) !important;
    }
}

#search form .form-select {
    width: 16% !important;
    margin: 0 5px !important;
}

#search h2 {
    margin-bottom: 0;
}

.seccao-lista-viaturas {
    select {
        min-width: 200px;
        margin-right: 10px;
    }
}

#gallery {
    #slider-product {
        li {
            img {
                border-radius: var(--bs-border-radius-lg) !important;
            }
        }
    }

    .lSGallery {
        img {
            border-radius: var(--bs-border-radius-lg) !important;
        }

        .active {
            border: 1px solid #AE1C1B;
            border-radius: var(--bs-border-radius-lg) !important;
        }
    }
}

#navbar-desktop {
    z-index: 999;
}

/* PARTILHA REDES SOCIAIS */

.social-icons-ficha-viatura {

    .list-inline {
        display: flex;
        justify-content: space-around;
        .partilha-rede {
            cursor: pointer;
        };
        img {
            height: 25px;
        }
    }

}