
.normal-logo {
    width: 100%;
}

.mobile-slidebar .scroll-logo {
    max-width: 100%;
    max-height: 100px;
    filter: invert(1) grayscale(1);
}

.top-bar__inner .redes-sociais {
    border-radius: 20px;
    margin: 5px;
    height: 46px;
    line-height: 44px;
}

.footer-logo__link img {
    max-width: 100%;
    max-height: 100px;
    filter: invert(1) grayscale(1);
}

.b-welcome {
    background-repeat: no-repeat !important;
    background-position-x: right !important;
}

.div-select {
    padding: 0px 10px;
    font-size: 14px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.07);
    margin-bottom: 10px !important;
}

.div-select select {
    width: 100%;
    height: 34px;
    margin: 2px 0px;
    border: none;
    color: #aaa;
    background-color: #fff;
}

#select-ordem {
    min-width: 200px;
}


.contactos-principais {

    a {
        text-decoration: none;
    }

    .b-contacts:hover {
        background-color: #ccc;
        text-decoration: none !important;
    }

}

.equipa-contadores {

    .b-team__inner {
        margin: -40px 0px 0px 0px;
    }

    .b-team__footer.phone {
        padding-bottom: 0px;
    }

    .b-team__footer.email {
        padding-top: 0px;
        a {
            text-decoration: none;
            color:#333;
        }
        a:hover {
            color:#d01818;
        }
    }

    .b-progress-list__item {
        padding-top:25px;
    }

    .b-progress-list {
        margin-top: 0px;
        width: 100%;
    }

    .b-progress-list__wrap {
        position: relative;
        padding-bottom: 28px;
        padding-top: 30px;
        background: #ccc;
        border-top: 13px solid #253241;
    }
    
}

.b-contacts {
    background-color: #fff;
}

.main-slider__wrap, .main-slider__slide-2 .main-slider__wrap {
    background-color: rgba(18, 24, 32, 0.9);
}

/* Pagina destaque home page */

.destaques-home {

    .b-goods-f__title {
        margin-bottom: 0px !important;
        padding-bottom: 15px;
        span {
            font-size: 14px;
            font-weight: 400;
        }
        div:nth-child(1) {
            line-height: 20px;
        }
        div:nth-child(2) {
            line-height: 16px;
        }
    }

    .b-goods-f__list li {
        display: flex !important;
        flex-direction: column;
        color: #000;
    }

    .b-goods-f__sidebar {
        height: 56px !important;
        border-top: 3px solid #ddd;
    }

    .div_preco_anterior {
        margin-top: 5px;
        margin-bottom: -12px;
    }

    .div_preco_anterior span {
        position: relative;
    }

    .div_preco_anterior span::after {
        float: right;
        position: absolute;
        content: '';
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: rgba(255, 0, 0, 0.5);
        transform: rotate(-15deg);
        transform-origin: center;
    }

}

/* Testemunhos */

.testemunhos {

    .b-reviews__author {
        display: block;
        overflow: hidden;
        width: 260px;
        margin-left: 20px;
        border-radius: 10px;
        z-index: 10;
    }

    .area-bg_dark:after {
        background-color: rgba(37, 50, 65, 0.2);
    }

}

/* Serviços Listagem */

.servicos-listagem {

    li .active img {
        filter: invert(1);
    }

    li img {
        height: 90px;
    }

}

/* Viaturas Listagem colunas */

.veiculos-listagem .widget-inner {
    background-color: initial;
}

.veiculos-listagem .b-goods-f {

    .b-goods-f__title  {
        margin-bottom: 0px !important;
        padding-bottom: 15px;
        height: 65px;
        span {
            font-size: 14px;
            font-weight: 400;
        }
        div:nth-child(1) {
            line-height: 20px;
        }
        div:nth-child(2) {
            line-height: 16px;
        }
    }

    .b-goods-f__sidebar {
        height: 20px;
    }

    .b-goods-f__price-numb {
        color:#000 !important;
        background-color: transparent !important;
    }

    .b-goods-f__list {
        padding-bottom: 0px;
        display: flex;
        justify-content: space-around;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    .b-goods-f__list-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-right: 0px !important;
        padding-left: 0px !important;
        font-size: 12px;
        align-items: center;
        width: 25%;
        color:#000;
        padding: 9px 8px;
    }

    .viat-sombra:hover {
        box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    }

    .div_preco_anterior {
        margin-top:-5px;
    }

    .div_preco_anterior span {
        position: relative;
    }

    .div_preco_anterior span::after {
        float: right;
        position: absolute;
        content: '';
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: rgba(255, 0, 0, 0.5);
        transform: rotate(-15deg);
        transform-origin: center;
    }

}

/* Viaturas Listagem Lista */

.etiqueta {
    position: absolute;
    bottom: 10px;
    right: 0px;
    padding: 1px 10px 1px 15px;
    border-radius: 10px 0px 0px 10px;
    border: 1px solid;
    border-right: none;
}

.etiqueta-slider {
    bottom: initial;
    top: 30px;
    right: 15px;
}

.veiculos-listagem .b-goods-f_row {

    flex-direction: column;
    position: relative;
    margin-bottom: 30px !important;
    padding-bottom: 0px !important;
    border: 1px solid #ddd;
    padding: 0px;

    .b-goods-f__main {
        display: flex;
        justify-content: space-between;
    }

    .b-goods-f__list {
        display: flex;
        justify-content: space-around;
        padding: 10px;
        position: absolute;
        bottom: 0px;
        border-top:none;
        border-bottom: none;
    }

    .b-goods-f_row .b-goods-f__list-item {
        width: 25%;
        text-align: center;
        border: 1px solid #eee;
        border-top: 3px solid #eee;
        flex: 0 0 25% !important;
    }

    .b-goods-f_row .b-goods-f__sidebar {
        padding-bottom: 0px;
    }

    .b-goods-f__sidebar {
        padding-bottom: 0px;
    }

    .viat-sombra:hover {
        box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
        overflow: hidden;
    }

}

/* Pagina de detalhe de viatura */

.ficha-viatura {

    h1 span {
        font-size: 24px;
    }

    .div_preco_anterior {
        font-size: 20px;
        position: relative !important;
        margin-right: 0px;
        color:rgb(220, 220, 220);
    }

    .div_preco_anterior span {
        position: relative;
    }

    .div_preco_anterior span::after {
        float: right;
        position: absolute;
        content: '';
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: rgba(255, 255, 255, 0.8);
        transform: rotate(-15deg);
        transform-origin: center;
    }

    .especificacoes {

        padding:0px;
        list-style: none;
        
        li {
            padding: 5px 0px;
        }

        li span {
            font-weight: bold;
            float: right;
        }

        .garantia-icon {
            position: relative;
            cursor: pointer;
        }

        .garantia-icon img {
            width: 20px;
            height: 20px;
            margin-right: 5px;
            cursor: pointer;
        }

        .garantia-termos {
            display: none;
        }

        .garantia-icon:hover .garantia-termos {
            display: block;
            position: absolute;
            bottom:0px;
            right: 0px;
            width: 275px;
            text-align: center;
            padding: 10px;
            background-color: #f2f2f2;
            border: 1px solid #ccc;
            border-radius: 8px;
        }

    }

    .list-mark-2 li:before {
        color: #225176 !important;
    }

    .lista-equipamentos {
        display: flex; /* Fallback caso Isotope não carregue */
        flex-wrap: wrap; /* Permite que os itens se ajustem */
        border:1px solid transparent;
    }

    .lista-equipamentos h6 {
        font-weight: 600;
    }

    .lista-equipamentos ul {
        margin-bottom: -8px;
    }

    .equipamento-item {
        width: calc(50% - 7.5px); /* Largura de 50% menos o espaço do gutter */
        margin-bottom: 20px; /* Espaço entre os itens verticalmente */
        box-sizing: border-box; /* Garantir que padding/border não afetem a largura */
        border: 1px solid #ddd; /* Apenas para visualização */
        padding: 10px;
    }

    .info-complementares {
        width: 100%;
        margin-bottom: 20px;
        box-sizing: border-box;
        border: 1px solid #ddd;
        padding: 10px;
    }

    .contactos {

         ul {
            margin: 1rem 0px 0px 0px;
            padding: 0px;
         }

         .b-team__soc-link { 
            text-align: center;
         }

         i {
            color:#fff;
         }

    }

    .b-seller {
        margin-bottom: 20px;
    }

    .b-team__soc-item {
        background-color: #225176;
    }

    .b-seller__header {
            
        background-color: #fff;
        border: 1px solid #ddd;

        .b-seller__name {
            color:#253241;
        }

        .b-seller__category {
            color:#253241;
        }

    }

}

/* SLIDER REDES SOCIAIS E EQUIPA */

.tooltip {

    margin-bottom: 1em;

    .tooltip-inner {
        background-color: #225176;
    }

    .tooltip-inner span {
        font-size: 10px;
        text-transform: lowercase;
    }

    .arrow::before {
        border-top-color: #225176;
    }
}

.slider-redes-sociais {

    /* items da equipa */

    .b-gallery__item--equipa {
        width: 300px; /* Ajuste o tamanho conforme necessário */
    }

    a:hover .div-ver-contacto {
        display: block;
    }

    .b-gallery__item--equipa {
        flex: 3 0 0; /* 3 vezes maior que um item normal */
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0px 20px;
    }

    .b-gallery__item--equipa .b-gallery__item-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        border-left: 1px solid #888;
        border-right: 1px solid #888;
        position: relative;
    }

    .b-gallery__item--equipa .image {
        width: 50px;
        height: 50px;
        background-size: cover;
        background-position: center center;
        border-radius: 10px;
        margin: 0px 5px;
    }

    .b-gallery__item--equipa .b-gallery__item-icons {

        display: flex;
        justify-content: center;
        align-items: center;

        ul {
            margin: 0px;
            padding: 0px;
            display: flex;
        }
        ul .telefone {
            background-color: #225176;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        ul .whatsapp {
            background-color: #25d366;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        ul .email {
            background-color: #333;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        ul i {
            color: #fff;
        }

    }

    .b-gallery__item--equipa .b-gallery__item-text {
        text-align: center;
        width: 200px; /* 2/3 da largura do item */
        h5 {
            font-size: 14px;
            margin: 5px 0px 0px 0px;
        }
        p {
            font-size: 10px;
            margin: 0px;
            color:#888;
        }
    }

    /* item das redes sociais */

    .b-gallery__item--rede {
        width: 100px; /* Ajuste o tamanho conforme necessário */
    }

    .b-gallery__item--rede {
        flex: 1 0 0; /* Tamanho padrão */
        text-align: center;
        padding: 10px 5px 20px 5px;
        color:#888;
        font-size: 12px;
    }

    .b-gallery__item--rede .redes-sociais {
        display: flex;
        margin-top: 5px;
        justify-content: space-around;
    }

    .b-gallery__item--rede img {
        /* filter: grayscale(1); */
        width: auto;
        height: 40px;
    }

}

/* ############ Cookies ############ */

#div_cookies {
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0px;
    padding: 30px 30px 50px 30px;
    background: #fff;
    border-top: 2px solid #225176;
    color: #225176;
    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 #225176;
    background-color: #225176;
    color: #fff;
    padding: 5px 30px;
    border-radius: 5px;
}

#fechar_cookies:hover {
    background-color: #fff;
    color: #225176;
    padding: 5px 30px;
}

/* ############ Reclamações ############ */

.div_reclamacoes {
    display: none;
    text-align: center;
    padding: 25px;
    border: 1px solid #1b1b1b;
    background: #eee;
    color:#225176;
}

.div_reclamacoes p {
    margin: 0px;
}

.div_reclamacoes p a {
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

/* ############ Litigio ############ */

.div_litigio {
    display: none;
    text-align: center;
    padding: 25px;
    border: 1px solid #1b1b1b;
    background: #eee;
    color:#225176;
}

.div_litigio p {
    margin: 0px;
}

.div_litigio p a {
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

/* ############ 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 (max-width: 1199px) {
    
    .veiculos-listagem .b-goods-f_row .b-goods-f__media {
        width: 250px;
        max-width: 40%;
    }

}

@media screen and (max-width: 991px) {
    
    .normal-logo {
        width: inherit;
        max-height: 80px;
    }

    .equipamento-item {
        width: 100%;
    }

}

@media screen and (max-width: 767px) {

    .sp-horizontal .sp-previous-arrow {
        left: 20px;
    }

    .sp-horizontal .sp-next-arrow {
        right: 20px;
    }

    .servicos-listagem li img {
        height: inherit;
        width: 54px;
        margin-top: -30px;
    }

    .ficha-viatura .equipamento-item {
        width: 100%;
    }

    .ficha-viatura .b-goods-f-price__inner {
        text-align: right;
    }

    .ficha-viatura h1 span {
        display: flex;
    }

}

@media screen and (max-width: 468px) {

    .main-slider__figure-1.img-fluid {
        display: block !important;
    }

    .main-slider__wrap, .main-slider__slide-2 .main-slider__wrap {
        padding: 30px 10px 0;
        background: rgba(18, 24, 32, 0.5);
    }

}