@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/*
Theme Name: PORTAL CRECI BRASIL
Theme URI: https://portalcreci.org.br/
Author: Lucas Coelho
Author URI: https://portalcreci.org.br/
Description: Tema WordPress.
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE.txt
*/

body {
    font-family: 'Roboto', sans-serif !important;
}

#top-bar {
    height: 30px;
}

#nav-padrao {
    height: 70px;
}

.navbar-dark .btn {
    background-color: #006e14;
    color: white;
}

.navbar-dark .btn:hover {
    background-color: #003b0b;
}

.navbar-light {
    height: 112px;
    /* 7rem = 7 * 16px */
}

.navbar-light .nav-link {
    font-size: 12px;
}

.nav-link {
    display: block;
    font-size: 12px !important;
    padding: 1.6px 4.8px !important;
    /* 0.1rem = 1.6px, 0.3rem = 4.8px */
}

footer {
    background-color: #00a11d;
    color: #fff;
    height: 60px;
    font-size: 12px;
}

footer ul {
    -ms-flex-line-pack: center;
    align-content: center;
    height: 100%;
    -ms-flex-pack: center;
    justify-content: center;
}

footer ul li {
    -ms-flex-align: center;
    align-items: center;
    margin-right: 16px;
    /* 1rem = 16px */
}

footer ul li a {
    color: #fff;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ABA CSS */
.tabs-creci.primary .head-tabs {
    border-bottom-color: #44644a;
    padding-left: 0 !important;
}

.tabs-creci .head-tabs .nav-item a {
    padding: 11px !important;
    ;
    text-align: center;
}

.tabs-creci.primary .head-tabs .nav-item.active {
    background: #44644a;
    border-bottom-color: #44644a;
}

.tabs-creci.secondary .head-tabs {
    border-bottom-color: #008000;
}

.tabs-creci.secondary .head-tabs .nav-item.active {
    background: #008000;
    border-bottom-color: #008000;
}

.tabs-creci.tab-footer {
    display: flex;
    flex-direction: column-reverse;
}

.tabs-creci.tab-footer .head-tabs {
    border-bottom: 0;
    border-top: 4.8px solid #333333;
    /* 0.3rem = 4.8px */
}

.tabs-creci.tab-footer.primary .head-tabs {
    border-top: 4.8px solid #006400;
}

.tabs-creci.tab-footer.secondary .head-tabs {
    border-top: 4.8px solid #008000;
}

.tabs-creci.tab-head-full .head-tabs .nav-item {
    margin-right: 0;
}

.tabs-creci .head-tabs {
    border-bottom: 4.8px solid #333333;
    /* 0.3rem = 4.8px */
    display: flex;
    justify-content: flex-start !important;
    z-index: 1;
}

.tabs-creci .head-tabs .nav-item {
    align-items: center;
    background: #ffffff;
    border: 0;
    cursor: pointer;
    display: flex;
    flex-grow: 1;
    height: 40px;
    justify-content: center;
    margin-right: 32px;
    /* 2rem = 32px */
}

.tabs-creci .head-tabs .nav-item a {
    align-items: center;
    flex-grow: 1;
    height: 40px;
    padding: 14px;
    text-align: center;
}

.tabs-creci .head-tabs .nav-item span {
    cursor: pointer;
    margin-right: 4.8px;
    /* 0.3rem = 4.8px */
}

.tabs-creci .head-tabs .nav-item.active {
    background: #006400;
}

.tabs-creci .head-tabs .nav-item.active .nav-link {
    color: #ffffff;
    cursor: pointer;
    display: block;
}

.tabs-creci .head-tabs .nav-item .nav-link {
    color: #000000;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.tabs-creci .head-tabs .nav-item .nav-link * {
    cursor: pointer;
}

.tabs-creci .head-tabs .nav-item .nav-link label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.tabs-creci .body-tab-content {
    background: #ffffff;
    overflow: auto;
}

.tabs-creci .body-tab-content.midia-wrapper .images-grid {
    display: none;
}

.tabs-creci .body-tab-content.midia-wrapper .images-grid:first-child {
    display: block;
}

.tabs-creci .body-tab-content.full-element-padding .body-tab-pane {
    padding: 0;
    height: 35vmax;
}

.tabs-creci .body-tab-content .body-tab-pane {
    display: none;
    padding: 35.2px 41.6px;
    /* 2.2rem = 35.2px, 2.6rem = 41.6px */
    height: 100%;
}

.tabs-creci .body-tab-content .body-tab-pane.show {
    display: block;
}

.card-img {
    height: 100%;
    object-fit: cover;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.nav-tabs .nav-link {
    font-weight: bold;
    color: #000;
}

.nav-tabs .nav-link.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

.card {
    border: none;
    border-radius: 10px;
}

.card-img-top {
    border-radius: 10px 0 0 10px;
}

.card-title {
    font-size: 20px;
    /* 1.25rem = 20px */
    font-weight: bold;
}

.card-text {
    font-size: 14.4px;
    /* 0.9rem = 14.4px */
}

.btn-success {
    background-color: #28a745;
    border: none;
}

.btn-danger {
    background-color: #dc3545;
    border: none;
}

.text-muted {
    font-size: 12.8px;
    /* 0.8rem = 12.8px */
}

.gallery {
    background-color: white;
    margin-bottom: 48px;
    /* 3rem = 48px */
}

.gallery .single .tns-controls {
    display: none;
}

.gallery .gallery-images {
    height: 100%;
    min-height: 250px;
}

.gallery .gallery-images .images-grid {
    height: 100%;
}

.gallery .gallery-description {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    padding: 10px;
    justify-content: flex-start;
}

.gallery .gallery-description>.row {
    width: 100%;
}

.gallery .gallery-description h3 {
    font-weight: normal;
}

.gallery .gallery-title-details {
    color: #595959;
    font-size: 20px;
    line-height: 26px;
    /* 2.2rem = 35.2px */
    margin: 0 0 8px;
    /* 0.5rem = 8px */
}

.gallery .txt-right {
    text-align: right;
}

.gallery .span-cod {
    font-size: 14px;
    /* 1.4rem = 22.4px */
    line-height: 35.2px;
    /* 2.2rem = 35.2px */
    margin: 0 0 8px;
    /* 0.5rem = 8px */
}

.gallery .span-cod .cod-anuncios {
    color: #008000;
    font-size: 20px;
}

.gallery .gallery-price {
    color: #008000;
    font-size: 20px;
    font-weight: bold;
    line-height: 36.8px;
    /* 2.3rem = 36.8px */
    margin: 0 0 8px;
    /* 0.5rem = 8px */
}

.gallery .gallery-address {
    font-size: 12px;
}

.gallery .gallery-buttons {
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    margin: 0 0 9px;
    /* 1rem = 16px */
    width: 97%;
}

.gallery .gallery-buttons a,
.gallery .gallery-buttons button {
    display: block;
    text-align: center;
}

.gallery .gallery-icons {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    /* 1rem = 16px */
    width: 100%;
}

.gallery .gallery-icons .btn-favoritar-call {
    text-decoration: none;
}

.gallery .gallery-icons .btn-favoritar-call .icon-heart {
    color: #008000;
    display: none;
}

.gallery .gallery-icons .btn-favoritar-call .icon-heart-o {
    color: #008000;
}

.gallery .gallery-icons .btn-favoritar-call.active .icon-heart {
    display: block;
}

.gallery .gallery-icons .btn-favoritar-call.active .icon-heart-o {
    display: none;
}

.gallery .gallery-icons .room-icons {
    align-items: center;
    color: #008000;
    display: flex;
}

.gallery .gallery-icons i {
    color: #008000;
    font-size: 16px;
    /* 1.6rem = 25.6px */
    margin: 0 16px 0 8px;
    /* 1rem = 16px, 0.5rem = 8px */
}

.gallery .gallery-spacer {
    flex: 0 0 auto;
}

.gallery .icon-heart-o {
    float: right;
    margin-right: 16px;
    /* 1rem = 16px */
}

.gallery .gallery-broker-details {
    align-items: center;
    justify-content: space-between;
    position: relative;
    font-size: 12px;
}

.gallery .gallery-broker-details p {
    margin: 0 0 8px;
    /* 0.5rem = 8px */
}

.gallery .gallery-broker-details p:last-child {
    margin-bottom: 0;
}

.gallery .gallery-broker-details i {
    color: #008000;
    font-size: 12px;
}

/* Responsividade */
@media (max-width: 576px) {
    #nav-padrao {
        height: auto;
        padding: 10px 0;
    }

    .navbar-light {
        height: auto;
    }

    .navbar-light .nav-link {
        font-size: 14px;
        padding: 10px 0 !important;
    }

    footer {
        height: auto;
        padding: 20px 0;
    }

    footer ul {
        flex-direction: column;
        align-items: center;
    }

    footer ul li {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .tabs-creci .head-tabs .nav-item {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .tabs-creci .head-tabs {
        flex-direction: column;
    }

    .tabs-creci .head-tabs .nav-item {
        width: 100%;
    }

    .gallery .gallery-buttons {
        flex-direction: column;
        padding: 10px;
    }

    .gallery .gallery-buttons a,
    .gallery .gallery-buttons button {
        width: 100%;
        margin-bottom: 10px;
    }

    .card-img-top {
        border-radius: 10px 10px 0 0;
    }

    .card {
        margin-bottom: 20px;
    }

    .gallery .gallery-images {
        min-height: 150px;
    }

    .gallery .gallery-title-details {
        font-size: 18px;
    }

    .gallery .gallery-price {
        font-size: 18px;
        padding: 10px;
    }

    .gallery .gallery-address {
        padding: 10px;
    }

    .gallery .gallery-icons {
        padding: 10px;
    }

    .gallery .gallery-broker-details {
        padding: 10px;
    }

    .gallery .gallery-description>.row {
        padding: 10px;
    }

    .img-fluid {
        width: 100%;
        padding-bottom: 3%;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    #nav-padrao {
        height: auto;
        padding: 15px 0;
    }

    .navbar-light {
        height: auto;
    }

    .navbar-light .nav-link {
        font-size: 14px;
        padding: 10px 0 !important;
    }

    footer {
        height: auto;
        padding: 20px 0;
    }

    footer ul {
        flex-direction: row;
        justify-content: space-around;
    }

    footer ul li {
        margin-right: 0;
    }

    .tabs-creci .head-tabs .nav-item {
        margin-right: 15px;
    }

    .gallery .gallery-buttons {
        flex-direction: row;
    }

    .gallery .gallery-buttons a,
    .gallery .gallery-buttons button {
        width: 48%;
    }

}

@media (min-width: 768px) {
    #nav-padrao {
        height: 70px;
    }

    .navbar-light {
        height: 112px;
    }

    .navbar-light .nav-link {
        font-size: 12px;
        padding: 1.6px 4.8px !important;
    }

    footer {
        height: 60px;
    }

    footer ul {
        flex-direction: row;
        justify-content: center;
    }

    footer ul li {
        margin-right: 16px;
    }

    .tabs-creci .head-tabs .nav-item {
        margin-right: 32px;
    }

    .gallery .gallery-buttons {
        flex-direction: row;
    }

    .gallery .gallery-buttons a,
    .gallery .gallery-buttons button {
        width: auto;
    }
}

.image-container {
    width: 100%;
    height: 100%;
    max-height: 318px;
}

.image-container img {
    width: 100%;
    height: 100%;
    max-height: 318px;
    object-fit: cover;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.breadcrumb {
    color: #006e14;
    font-size: 12px;
    margin: 10px 0;
    padding-left: 0 !important;
    padding-top: 18px !important;
    padding-bottom: 10px !important;
}

.breadcrumb span:first-child:before {
    content: "";
}

.breadcrumb span:before {
    content: ">>";
    padding-left: 4px;
    padding-right: 4px;
}