
/* GERAL */

html {
    scroll-behavior: smooth;
}

.text-ruicar {
    color: #345ea6;
}

.l-theme {
    overflow: unset!important;
}

.grecaptcha-badge {
    visibility: hidden;
    width: 0!important;
}

.btn-primary:hover { 
    background-color: #ce1414;
}

.is-invalid {
    border-color: #ce1414 !important;
    box-shadow: 0 0 0 0.3rem rgba(206, 20, 20, 0.25);
    background-color: #ce141411 !important;
}

/* Isotope width calc fix */

.isotope-item {
    width: 33.33%!important;
}

@media (max-width: 991.99px) {
    .isotope-item {
        width: 50%!important;
    }
}

@media (max-width: 767.99px) {
    .isotope-item {
        width: 100%!important;
    }
}

/* MENU */

.header {

    .div-logo {
        position: absolute;
        z-index: 10;
    }

    .top-bar__item {
        height: 40px;
    }

    .top-bar__item i {
        font-size: 25px;
        margin-right: 10px;
        position: relative;
        top: 7px;
    }

    .normal-logo {
        width: 100%;
        transition: all 0.3s ease;
    }

    .navbar-brand {
        top: -20px;
        display: flex;
        justify-content: center;
        align-items: top;
        transition: all 0.3s ease;
    }

    &.navbar-scrolling .header-main .navbar-brand {
        /*top: 35px;*/
        top: 0px;
    }

    &.navbar-scrolling {
        opacity: 1;
    }

    .navbar.navbar-expand-md {
        height: 65px;
    }

    .main-menu {
        padding-top: 0px;
    }

    .header-main {
        box-shadow: 0px 0px 5px #000;
    }

    .top-bar {
        height: 52px;
    }

    .top-bar__inner:before {
        min-height: 70px;
    }

}

.seccao-inicial {
    padding-top: 160px;
}

@media (max-width: 992px) {

    .seccao-inicial {
        padding-top: 60px;
    }

}

@media (min-width: 768px) and (max-width: 992px) {
    .header.navbar-scrolling {
        .header-main .navbar-brand {
            top: -10px!important;
        }
    }

    .header {
        &.navbar-scrolling .header-main .navbar-brand {
            top: -10px!important;
        }
    }
}

@media (min-width: 768px) {
    .header.navbar-scrolling {
        .normal-logo {
            width: 60%;
            height: auto;
            object-fit: contain;
        }
    }
}

.mobile-slidebar {

    .scroll-logo {
        max-width: 100%;
    }
    
    li a {
        padding: 10px 10px;
    }

    .dropdown-toggle {
        display: none;
    }

    .dropdown-item:hover {
        background-color: transparent;
        color: #fff;
    }

    .dropdown-menu {
        padding: 0px;
        margin: 0px;
    }

}

.l-theme {
    padding-top: 65px;
}

.l-theme {
    max-width: 2500px;
}

/* SLIDER HOME */

.background-festividades .sp-arrows {
    display: none; 
}

.slider-home-link {
    cursor: pointer;
}

.sp-slide {
    background-size: cover;
    background-position: center center;
    height: 70vh;
    background-repeat: none;
}

.sp-layer.campanha {
    width: 100% !important;
    margin-top: -150px;
}

.main-slider__figure-1 {
    bottom: 120px !important;
}


/* SECCAO BOAS VINDAS */

.seccao-bem-vindos {
    
    background-size: contain !important;
    min-height: 500px;
    background-position-x: right !important;
    background-repeat: no-repeat !important;

    .b-welcome__bg {
        content: "";
        position: absolute;
        top: 0;
        width: 1750px;
        bottom: 0;
        right: 0;
        background: #ffffff;
        background: linear-gradient(90deg,rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 0) 80%);
    }

    ul li {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    
        img {
            height: 95px;
            margin-bottom: 25px;
        }

    }

}

/* IMAGEM E TEXTO */

@media (max-width: 991px){
    
    .seccao-imagem-texto {

        .ui-title-slogan {
            margin-top: 40px;
        }

    }

}

/* VEICULOS LISTAGEM - QUADRICULA */

#precoMin, #precoMax {
    text-align: center;
}

@media (max-width: 991px){
    
    .veiculos-listagem {
        .section-sidebar {
            margin-bottom: 0px;
        }
        .b-filter-goods .col-auto {
            width: 100%;
        }
    }

}

@media (min-width: 768px){
    .div-screen-fixa {
        position: sticky;
        top: 160px;
    }
}

select {
    width: 100%;
    height: 35px;
    border-radius: 0px;
    border: 1px solid #ccc;
    color: #777;
}

.b-goods-f:not(.b-goods-f_row) .b-goods-f__list {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 0px;
    border-bottom: none;
    display: flex;
    justify-content: space-around;
    border: none;
    color: #222;
}

.b-goods-f .b-goods-f__title {
    padding-bottom: 0px;
    height: 75px;
    line-height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.b-goods-f .b-goods-f__title {
    margin-bottom: 0px !important;
}

.b-goods-f:not(.b-goods-f_row) .b-goods-f__main {
    padding-bottom: 0px;
    padding-top: 0px;
}

.b-goods-f:not(.b-goods-f_row) .b-goods-f__list-item {
    display: flex;
    flex-direction: column;
    padding-right: 0px;
    padding-left: 0px;
    font-size: 12px !important;
    line-height: 12px;
    align-items: center;
    justify-content: center;
    width: 25%;
    height: 48px;
    .icon {
        margin-bottom:5px;
    }
}

.b-goods-f.b-goods-f_mod-a:not(.b-goods-f_row) .b-goods-f__title {
    margin-bottom: 0px !important;
}

.b-goods-f:not(.b-goods-f_row) .b-goods-f__sidebar {
    height: 65px !important;;
    line-height: 1;
    border-top: 1px solid #CCC;
    color: #222;
}

.b-goods-f:not(.b-goods-f_row) .b-goods-f__price-numb {
    color: #222;
}

.b-goods-f_row .b-goods-f .b-goods-f__title {
    border-bottom: none !important;
}

.imagem-viatura {
    aspect-ratio: 6/4;
    background-size: cover;
    background-position: center center;

    .div_preco_mensalidade {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        color: #fff;
        background-color: #ce1414;
        width: 100%;
        text-align: center;
    }

    .location-container {
        position: absolute;
        bottom: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
        left: 0;
        text-align: end;

        > div {
            padding: 2px 5px;
            font-weight: 700;
            color: #fff;
            font-size: 12px;

            i {
                margin-left: 5px;
            }
        }

        &.has-promotion {
            bottom: 25px;
        }
    }
}

/* VEICULOS LISTAGEM - LISTA */

.b-goods-f_row {

    margin-bottom: 30px;
    padding-bottom: 0px;

    .bloco-viatura {
        background-color: #fff;
        display: flex;
    }

    .b-goods-f__media  {
        width: 40%;
        min-height: 100%;
        overflow: hidden;
    }

    .imagem-viatura {
        height: 100%;
        aspect-ratio: unset;
    }

    .b-goods-f__main {
        width: 60%;
    }

    .b-goods-f__title {
        display: flex;
        padding-bottom: 0px;
        span {
            margin-left: 10px;
            font-size: 15px;
        }
    }

    .b-goods-f__descrip {
        padding-left: 0px;
    }

    .b-goods-f__list-item {
        flex: 0 0 25%;
        text-align: center;
        padding-top: 10px;
    }

    .b-goods-f__descrip {
        width: 100% !important;
    }

    .b-goods-f__sidebar {
        padding-bottom: 0;
        display: flex;
        width: 100%;
        min-width: 100%;
    }

    .b-goods-f__price-group {
        width: 100%;
    }

    .b-goods-f__price-numb {
        background-color: transparent;
        color: #000;
        justify-content: end!important;
        align-items: end;
    }
}



/* SECCAO MORADAS */

.localizacoes {

    position: relative;

    .img-morada {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        aspect-ratio: 10/6;
    }

    .bg-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: linear-gradient(0deg, rgba(255,255,255,1) 0, rgba(255,255,255,0.2) 50%, rgba(255,255,255,1) 100%)
    }

    .morada {
        box-shadow: 0px 0px 5px #ccc;
    }

    .entry-media {
        margin-bottom: 0px;
    }
    
    .entry-main {
        padding:20px;
        background-color: #fff;
    }
    
    .b-post-1 .entry-title {
        margin-bottom: 5px;
    }
    
    .b-post-1 .entry-content {
        margin-bottom: 10px;
    }

    .entry-content p {
        padding-left: 25px;
        margin-bottom: 0px;
        color: #253241;
    }

    .entry-content:hover p {
        color: #ce1414;
    }
    
    .entry-content i {
        position: absolute;
        margin-top: 6px;
        font-size: 20px;
        color: #253241;
    }

    .entry-content:hover .icon {
        color: #ce1414;
    }
    
    .entry-content span {
        font-size: 11px;
    }
    
    .btn-1, .btn-2 {
        width: 100%;
        font-weight: 600;
        i {
            position: relative;
            margin-right: 10px;
            color: #fff;
            margin-top: 0px;
            font-size: 15px;
        }
    }
    
    .btn-2 {
        background-color: transparent;
        color: #ce1414;
        i {
            color: #ce1414;
        }
    }
    
    .btn-2:hover {
        background-color: #eee;
    }

    .morada-v2 {
        overflow: hidden;
        margin-bottom: 20px;
        .img-morada {
            height: 100%;
        }
        .entry-main {
            background-color: rgba(255,255,255,0.8);
        }
    }

}


/* OPCOES HOME */

.seccao-opcoes-home {

    .info-campanha {

        padding: 30px;

        h4 {
            margin-bottom: 20px;
        }

        .btn {
            position: absolute;
            bottom: 30px;
            right: 30px;
        }

    }

}

@media (max-width: 1200px) {
    .seccao-opcoes-home {
        .info-campanha {
            .btn {
                position: unset;
            }
        }
    
    }
}

@media (max-width: 991px) {
    .seccao-opcoes-home {
        .info-campanha {
            .btn {
                position: unset;
                margin-left: -40px;
            }
        }
    
    }
}

@media (max-width: 768px) {
    .seccao-opcoes-home {
        .b-find__form {
            padding: 20px;
        }

        .info-campanha {
            padding: 15px;

            .btn {
                position: unset;
                width: 100%;
                margin-left: 0;
            }
        }
    
    }
}

/* QUADRICULA SERVIÇOS */

.servicos-quadricula {

    .b-services-content__title {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    li img {
        height: 90px;
    }

    .active img {
        filter: brightness(5);
    }

    .imag-serv-quadricula {
        aspect-ratio: 6/4;
        background-size: cover;
        background-position: center center;
    }

}

/* QUATRO PASSOS */

.quatro-passos {
    &:after {
        opacity: 0.85;
    }

    .b-steps-list__number {
        &:before {
            display: none;
        }

        &:after {
            display: none;
        }
    }
}

/* TESTEMUNHOS */

.testemunhos {

    .b-reviews__author {
        width: 100px;
        height: 100px;
        background-size: cover;
        background-position: center center;
    }

}

.area-bg_dark:after {
    background-color: rgba(255, 255, 255, 0.8) !important;
}

/* FOOTER */

.footer-logo__link img {
    max-width: 100%;
}

.premios {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    div {
        height: 100px;
        padding: 0 10px;
        img {
            max-width: 100%;
            max-height: 100%;
        }
    }

}

.footer__btn-up { 
    position: absolute;
    right: 20px;
    bottom: 95px;
    z-index: 999;
}

.footer__btn-up .ic {
    color:#ce1414;
}

.footer__btn-up:hover .ic {
    color:#EEEEEE;
}

.footer .copyright {
    margin-top: 40px;
}

.align-bottom {
    display: flex;
    align-items: end;
    height: 50px;
}

.footer-copyright {
    text-align: center;
    width: 100%;
}

.footer-social {

    i {
        padding: 10px 10px;
        margin: 0px 5px;
        font-size: 20px;
        width: 45px;
        height: 45px;
        color: #fff;
        transition: all 0.3s;
        border: 1px solid #253241;
        border-radius: 5px;
    }
    i:hover {
        background-color: #fff;
        color: #ce1414;
    }
}




/* ############ Cookies ############ */

#div_cookies {
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0px;
    padding: 30px 30px 50px 30px;
    background: #fff;
    border-top: 2px solid #253241;
    color: #253241;
    display: none;
    align-content: center;
    z-index: 999999;
}

#div_cookies a {
    color: #05233b;
    font-weight: 600;
    text-decoration: none;
}

#div_cookies a:hover {
    text-decoration: underline;
}

#fechar_cookies {
    border: 1px solid #253241;
    background-color: #253241;
    color: #fff;
    padding: 5px 30px;
    border-radius: 5px;
}

#fechar_cookies:hover {
    background-color: #fff;
    color: #253241;
    padding: 5px 30px;
}

/* ############ Reclamações ############ */

.div_reclamacoes {
    display: none;
    text-align: center;
    padding: 25px;
    border: 1px solid #1b1b1b;
    background: #eee;
    color:#253241;
    padding: 25px 85px 25px 25px;

    .container{
        display: flex;
        justify-content: space-around;
    }
    
    img {
        height: 130px;
    }
    
    .reclamacoes_texto {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    p {
        margin: 0px;    
    }
    
    p a {
        color: #000;
        font-weight: 700;
        text-decoration: none;
    }

}

@media screen and (max-width: 991px) {

    .div_reclamacoes {

        .container {
            flex-direction: column;
        }
        
        img {
            margin-bottom: 20px;
        }

    }

}

/* ############ Litigio ############ */

.div_litigio {
    display: none;
    text-align: center;
    padding: 25px;
    border: 1px solid #1b1b1b;
    background: #eee;
    color:#253241;
    padding: 25px 85px 25px 25px;

    .container{
        display: flex;
        justify-content: space-around;
    }
    
    img {
        height: 130px;
    }
    
    .litigio_texto {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    p {
        margin: 0px;    
    }
    
    p a {
        color: #000;
        font-weight: 700;
        text-decoration: none;
    }

}

@media screen and (max-width: 991px) {

    .div_litigio {

        .container {
            flex-direction: column;
        }
        
        img {
            margin-bottom: 20px;
        }
        
    }

}

/* ############ MODAL COMPRAR ############ */

#modal-comparar {

    table {
        width: 100%;
        border-collapse: collapse;
    }

    img {
        width: 100px;
    }

}

/* ############ MODAL PARTILHAR ############ */

#modal-partilhar {

    .list-inline {
        display: flex;
        justify-content: space-evenly;
        padding: 0px;
    }

    img {
        width: 45px;
    }

}


.modal {
    
    .viatura {

        width: 100%;
        display: flex;
        border-bottom: 1px solid #e9ecef;
        margin-top: -10px;

        .img {
            height: 90px;
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;
            margin-left: 15px;
        }

        .info-tec {
            display: flex;
            justify-content: space-around;
            align-items: center;
            div {
                text-align: center;
                font-size: 10px;
            }
            .preco span {
                font-size: 19px;
            }
        }

    }

    .icon_close {
        font-size: 30px;
        cursor: pointer;
    }

}

@media screen and (min-width: 1200px) {

    .header .navbar-brand {
        top: -30px;
        margin-bottom: -100px !important;
    }

    .header {
        &.navbar-scrolling .header-main .navbar-brand {
            top: 6px;
        }
    }

    .header-contacts {
        display: none !important;
    }

}

@media screen and (max-width: 991px) {

    /* MENU */

    .header {

        .header-contacts {
            overflow: hidden;
            padding-top: 0px;
            padding-left: 0px;
        }

        .menu-mobile-button {
            top: 5px;
        }

        .navbar-brand {
            top: -10px;
            padding-top: 0;
            height: 100px;
        }

        .normal-logo {
            width: 100%;
            height: auto;
            object-fit: contain;
        }
        
    }

}

@media screen and (max-width: 767px) {

    .header .menu-mobile-button {
        top: -15px;
    }

    .header-main {
        height: 65px;
    }

    .l-theme {
        padding-top: 65px;
    }

    .main-slider__figure-1 {
        bottom: 20px !important;
        top: 0px;
        width: 72vw;
    }

    .sp-layer.campanha {
        margin-top: -300px;
    }

    .header {
        &.navbar-scrolling .header-main .navbar-brand {
            top: -10px;
        }
    }

}

@media screen and (max-width: 540px) {

    .header .normal-logo {
        width: 100%;
        max-width: inherit
    }

}

/* Bloco Viatura */

.bloco-viatura:hover {
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    overflow: hidden;
}

.bloco-viatura {
    overflow: hidden;
    .b-goods-f__list {
        border-bottom: none!important;
    }

    .b-goods-f__sidebar:before {
        height: 0!important;
        display: unset!important;
    }

    .b-goods-f__price-group {
        display: flex!important;
        justify-content: end;
        align-items: start;
        overflow: hidden;
        position: relative;

        &.text-center {
            justify-content: center;
        }
    }

    .b-goods-f__sidebar {
        overflow: hidden;
    }

    .b-goods-f__price {
        display: flex;
        justify-content: end;
        align-items: center;
        width: 100%;

        .div_preco_mensalidade {
            background-color: #ce1414;
            height: 65px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: start;
            position: absolute;
            left: 0;
            transform: matrix3d(1, 0, 0, 0, -0.5, 1, 0, 0, 0, 0, 1, 0, -16, 0, 0, 1);
            padding: 0 15px 0 25px;
            z-index: 2;

            div {
                position: relative;
                z-index: 2;
                font-size: 12px;
                transform: matrix3d(1, 0, 0, 0, 0.5, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
                color: #fff;

                &:first-of-type {
                    margin-left: -8px;
                    height: 20px;
                }
            }
        }

        .div_preco_anterior {
            background-color: #eee;
            padding: 0 25px 0 0;
            position: relative;
            height: 65px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            transform: matrix3d(1, 0, 0, 0, -0.5, 1, 0, 0, 0, 0, 1, 0, -16, 0, 0, 1);
            width: 50%;
            padding-right: 15px;
            padding-left: 0;
            align-items: end;

            div {
                position: relative;
                z-index: 2;
                font-size: 14px;
                font-size: 20px;
                color: #345ea6;
                font-weight: 500;
                transform: matrix3d(1, 0, 0, 0, 0.5, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);

                &:first-of-type {
                    font-size: 14px;
                    height: 20px;
                }
            }
        }

        .b-goods-f__price-numb {
            position: relative;
            height: 65px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding-right: 8px;
            width: 50%;
            font-size: 17px;
            font-weight: 500;

            span {
                position: relative;
                z-index: 2;
                font-size: 20px;
                font-weight: 600;
                color: #e82121;
            }
        }
    }

    .b-goods-f__price-numb {
        padding: 15px!important;
    }

    .b-goods-f__price-group.text-center {
        .b-goods-f__price {
            justify-content: center;
            
            .b-goods-f__price-numb {
                width: 100%;
            }
        }
    }
}

.etiqueta {
    width: fit-content;
    padding: 0 10px 0 20px;
    position: absolute;
    top: 8px;
    border: 1px solid;
    border-left: 0;
    transform: matrix3d(1, 0, 0, 0, -0.5, 1, 0, 0, 0, 0, 1, 0, -16, 0, 0, 1);

    div {
        transform: matrix3d(1, 0, 0, 0, 0.5, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .bloco-viatura {
        .b-goods-f__list-item {
            font-size: 9px!important;
        }

        .b-goods-f__price {

            .div_preco_mensalidade {
                padding: 0 6px 0 25px;

                div {
                    font-size: 9px;
                    line-height: 11px;
                }
            }
    
            .div_preco_anterior {
                width: 50%;
                position: absolute;
                left: 0;
                padding-right: 8px;
                
                div {
                    font-size: 15px;
                    line-height: 13px;
                    font-weight: 500;
                }
            }
    
            .b-goods-f__price-numb {
                font-size: 15px;
                width: 40%;
                padding: 10px!important;
            }
        }
    }
}

@media (max-width: 768px) {
    .bloco-viatura {
        .b-goods-f__price {
            width: 100%;

            .div_preco_mensalidade {
    
                div {
    
                }
            }
    
            .div_preco_anterior {
                position: absolute;
                left: 0;
                width: 50%;
                height: 65px;
                padding-right: 15px;
                padding-left: 0;
                align-items: end;

                div {
                }
            }
    
            .b-goods-f__price-numb {
                width: 30%;
            }
        }
    
        .b-goods-f__price-numb {
            
        }
    }
}

/* Ficha da Viatura Dados Técnicos */

.dados-tecnicos-v1 {
    .preco {
        display: flex;
        justify-content: end;
        align-items: center;
        flex-wrap: wrap;
        font-size: 32px;
        line-height: 32px;
        margin-bottom: 30px;
        position: relative;
        overflow: hidden;
        min-height: 65px;
        
        .line {
            transform: rotate(118deg) translateY(-30%);

            &:after {
                content: "";
                background-color: #ce1414;
                border-radius: 0;
                height: 3px;
                width: 45px;
                display: inline-block;
                transition: all 0.5s;
                margin: 0;
            }
        }

        .prevalue {
            display: block;
            display: flex;
            flex-direction: column;
            font-size: 18px;
            line-height: 22px;
            color: #535457;

            span {
                font-size: 12px;
                line-height: 12px;
                color: #535457;
            }
        }
    }

    .div_preco_mensalidade {
        text-align: center;
        color: #ce1414;
        font-size: 22px;
        font-weight: 600;
    }

    .div_preco_anterior {
        background-color: #eee;
        padding: 0 25px 0 0;
        position: relative;
        height: 65px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: end;
        transform: matrix3d(1, 0, 0, 0, -0.5, 1, 0, 0, 0, 0, 1, 0, -16, 0, 0, 1);
        padding: 0 15px 0 15px;
        width: 60%;
        position: absolute;
        left: 0;

        div {
            position: relative;
            z-index: 2;
            font-size: 14px;
             transform: matrix3d(1, 0, 0, 0, 0.5, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);

            &:first-of-type {
                font-size: 14px;
                height: 20px;
            }
        }
    }

    .b-goods-f__price-numb {
        position: relative;
        height: 65px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-right: 8px;

        span {
            position: relative;
            z-index: 2;
        }
    }
    
    .titulo {
        .marca-modelo {
            h3 {
                font-size: 36px;
                line-height: 38px;
            }

            h4 {
                font-size: 30px;
                line-height: 30px;
            }
        }

        p {
            font-size: 26px;
            line-height: 30px;
        }
    }
    
    hr {
        height: 3px;
        color: #ce1414;
        border-radius: 4px;
        background-color: #ce1414;
        opacity: 1;
    }

    .dados {
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;

        .item-dados {
            padding-left: 15px;
            padding-right: 15px;
            padding-bottom: 30px;
            color: #010205;
            font-size: 16px;
            line-height: 16px;

            img {
                height: 25px;
            }

            div {
                color: #bbb;
                font-size: 12px;
                line-height: 14px;
            }
        }
    }
}

@media (min-width: 992px) and (max-width: 1350px) {
    .dados-tecnicos-v1 {
        .preco {
            display: flex;
            flex-wrap: nowrap;

            .line {
                &:last-of-type {
                    display: none;
                }
            }
        }
        .preco-div {
            width: fit-content;
        }
    }
}

/* @media (max-width: 1200px) { */
    .dados-tecnicos-v1 {
        .preco {
            min-height: 65px;
        }
        .preco-div {
        }
        .div_preco_anterior {
            width: 60%;
            position: absolute;
            left: 0;
        }
    }
/* } */

/* Ficha da Viatura Mais Informações */

.mais-informacoes-v1 {
    margin-top: 30px;
    
    ul {
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;
        display: flex;
        flex-wrap: wrap;
        
        li {
            margin-bottom: 10px;
            width: 100%;

            a { 
                width: 100%;
                transition: all 0.3s;
                justify-content: center;
                align-items: center;
                display: flex;
                height: 100%;
            }

            a:hover {
            }
            
        }
    }
}

@media (max-width: 576px) {
    .mais-informacoes-v1 {
        ul {
            li {
                width: 100%;
                padding-left: 0!important;
                padding-right: 0!important;
            }
        }
    }
}

/* Modal */

.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: 22px;
                    border: 1px solid #ce1414;
                    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: #ce1414;
                    opacity: 1;
                    background-color: transparent;
                }

                .btn-close:hover {
                    color: #fff;
                    cursor: pointer;
                }

                .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;
                padding-left: 15px;
                padding-right: 15px;
                border: none;

                .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: 18px 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;

                .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 {
                    box-shadow: none;
                }
            }
        }
    }
}


#modal-comparar {

    table {
        width: 100%;
        text-align: center;
        font-size: 14px;
      }

      table td, table th {
        width: 20%;
      }

      table th, table tr, table td {
        padding: 2px
      }

      table tr:nth-child(even) {
        background: #212121;
      }

      table thead {
        background: #EEEEEE;
      }

      table thead th {
        font-weight: normal;
        text-align: center;
        border-left: 1px solid #CCCCCC;
      }

      table thead th:first-child {
        border-left: none;
      }

      .price {
        

        span {
            border-radius: 52px;
            color: var(--ztc-text-btn-text1);
            font-family: var(--ztc-family-font1);
            font-size: var(--ztc-font-size-font-s20);
            font-style: normal;
            font-weight: var(--ztc-weight-semibold);
            line-height: 20px;
            padding: 10px 20px;
            position: relative;
            z-index: 1;
            border: 1px solid var(--ztc-bg-btn-bg1);
            transition: all 0.4s;
            text-transform: uppercase;
            background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
                        radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%)!important;
            border: none!important;
        }
      }

      .titulo {
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        color: #fff;
      }

      .imagem img {
        text-align: center;
        max-height: 100px;
        width: auto;
        border-radius: 10px;
        margin: 5px;
      }

      a {
        border-radius: 52px;
        background-color: #d3d3d3;
        color: #444;
        font-family: var(--ztc-family-font1);
        font-size: var(--ztc-font-size-font-s20);
        font-style: normal;
        font-weight: var(--ztc-weight-semibold);
        line-height: 20px;
        padding: 10px 20px;
        position: relative;
        z-index: 1;
        border: 1px solid #d3d3d3;
        transition: all 0.4s;
        text-transform: uppercase;
      }

      a:hover {
        background-color: transparent;
      }

      td {
        color: #fff;
      }
}

#modal-mais-informacoes {
    ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;

        li {
            border-radius: 52px;
            background: var(--ztc-bg-btn-bg1);
            color: var(--ztc-text-btn-text1);
            font-family: var(--ztc-family-font1);
            font-size: var(--ztc-font-size-font-s20);
            font-style: normal;
            font-weight: var(--ztc-weight-semibold);
            line-height: 20px;
            padding: 16px 20px;
            position: relative;
            z-index: 1;
            border: 1px solid var(--ztc-bg-btn-bg1);
            transition: all 0.4s;
            text-transform: uppercase;
            max-width: 385px;
            min-width: 385px;
            margin-bottom: 10px;
            text-align: center;

            &:hover {
                cursor: pointer;
                background-color: transparent;
                color: #fff;
            }
        }
    }
}

#modal-partilhar {
    ul {
        display: flex;
        justify-content: space-around;
        margin-top: 30px;
        margin-bottom: 20px;

        li {
            margin: 0 10px;

            &:hover {
                cursor: pointer;
            }

            img {
                height: 50px;
                width: auto;
            }
        }
    }
}

/* Galeria detalhes viaturas */
#gallery {
    .swiper {
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .swiper-button-next, .swiper-button-prev {
            &:after {
                color: #ce1414;
            }
        }
    }

    .mySwiper2 {
        margin-bottom: 10px;
    }
}

/* Ficha da Viatura Equipamento */

.equipamento {

    .about-boxarea {
        display: initial;
    }

    .grid-item {
        width: calc( 50% - 5px ); 
        margin-bottom: 20px;
    }
    
    .moldura {
        /* border-radius: 8px;
        background: rgba(255,255,255,1);
        box-shadow: 0 3px 23px rgba(39, 79, 117, .15);
        padding: 10px */
    }
    
    .list {
        display: flex;
        flex-direction: column;
        /* padding: 0px 10px; */
        margin: 0px;
    }

    .list-text {
        font-size: 14px;
        line-height: 1.6;

        p {
            margin-bottom: 0;
        }
    }
    
    li {
        font-size: 13px;
        line-height: 22px;
        cursor: pointer;
        position: relative;
        list-style-type: none;
        margin-bottom: 0;
    }

    li::before {
        font-family: 'Pe-icon-7-stroke';
        font-size: 14px;
        opacity: 0.8;
        content: '\e685';
        color: #ce1414;
    }
    
    .acc-btn {
        margin-bottom: 0.5rem;
        font-family: Montserrat;
        font-weight: 500;
        line-height: 1.2;
        color: inherit;
        font-size: 1rem;
    }
    
    .acc-content {
        /* padding-left: 15px; */
    }

}

@media (max-width: 992px) {
    .equipamento {
        .grid-item {
            width: calc( 90% - 5px );
        }
    }
}

/* Accordion */
.accordion {
    width: 100%;
    border: none;
    padding: 0;

    .card {
        box-shadow: 0 0 12px 8px rgba(129, 129, 129, 0.06);
        
        .card-header {
            padding: 0;

            button {
                background-color: #ce1414;
                border: none;
                display: flex;
                justify-content: space-between;
                align-items: center;
                color: #fff;

                img {
                    height: 50px;
                    filter: brightness(5);
                }

                &:hover {
                    color: #fff;
                }

                &:focus {
                    text-decoration: none;
                }

                &.collapsed {
                    background-color: #fff;
                    color: #000;

                    img {
                        filter: unset;
                    }

                    &:hover {
                        color: #000;
                    }
                }

            }
        }

        .card-body {
            padding: 30px;
        }
    }
}

/* secção video texto */

.seccao-video-texto {
    .video-container {
        background: #000;
        display: flex;
        align-items: center;
        width: 100%;
        .b-services__main {
            width: 100%;
        }
    }
    iframe {
        max-width: 100%;
        width: 100%!important;
    }
}

@media (max-width: 768px) {
    .seccao-video-texto {
        iframe {
            height: 280px!important;
        }
    }
}

/* secção video texto */

.seccao-video-texto {
    iframe {
        max-width: 100%;
        width: 100%!important;
    }
}

@media (max-width: 767px) {
    .seccao-video-texto {
        iframe {
            height: 280px!important;
        }
    }
}

/* secção viaturas destaque */

@media (max-width: 767px) {
    .destaques-home {
        .ui-title {
            margin-bottom: 25px;
        }
    }

    .section-carousel .slick-prev, .section-carousel .slick-next {
        display: block!important;
        top: -50px;
        right: unset;
        left: 50%;
        transform: translateX(-52%);
    }

    .section-carousel .slick-next {
        transform: translateX(52%);
    }
}