﻿html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#form1 {
    flex: 1;
}

.text {
    text-align: left;
}

#divHeader {
    background-color: rgb(0, 138, 67);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

    #divHeader .logo {
        height: 30px;
        margin-left: 20px;
    }

    #divHeader .menudefault {
        list-style-type: none;
        margin-left: 20px;
        margin-bottom: unset;
    }


        #divHeader .menudefault li:last-child {
            margin-right: 0;
        }

        #divHeader .menudefault li a {
            display: inline-block;
            color: white;
            text-align: center;
            padding: 14px 16px;
            text-decoration: none;
        }

            #divHeader .menudefault li a:hover {
                text-decoration: underline;
                cursor: pointer;
            }


#divBody {
    background-color: white;
    position: relative;
    margin-top: 113px;
    width: 100%;
}

#bannerIntro {
    position: relative;
    background-image: url('../imagens/default/Foto_Relatorios_ENMU.jpg');
    background-size: 137%;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

    #bannerIntro::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6); /* filtro escuro */
        z-index: 0; /* fica atrás do conteúdo */
        pointer-events: none;
    }


#divPesqMapa {
    width: 100% !important;
}

#divIntro {
    position: relative;
    z-index: 1; /* coloca o texto acima do ::before */
    padding: 90px 120px;
    text-align: justify;
    color: white;
}

    #divIntro h1 {
        font-size: 64px;
        font-weight: 600 !important;
    }

    #divIntro h2 {
        font-size: 36px;
        font-weight: 300 !important;
    }

    #divIntro p {
        font-size: 16px;
        color: white;
        text-align: start;
        font-family: "Fira Sans",'Inter';
    }

.container-default {
    margin: 20px 120px 0 120px;
}

.btHomeDefault {
    width: fit-content;
    background-color: white;
    color: rgb(0, 138, 67);
    border: 1px solid rgb(0, 138, 67);
    margin: 5px 0;
    padding: 10px;
    font-family: "Fira Sans", 'Open Sans';
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
}

.coluna {
    flex: 1 1 45%;
    border-radius: 10px;
}

.colunaImage {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-end;
}

    .colunaImage img {
        max-width: 100%;
        height: auto;
        display: block;
    }

.cardview {
    background-color: #fff;
    border: none;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    width: 100%;
}

.cardviewColuna {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

#cardviewColunas {
    padding: unset;
}

#cardview-indicadores {
    background: linear-gradient(to bottom right, rgba(229, 242, 253, 0.3), rgba(229, 242, 253, 1));
    position: relative;
    height: 480px;
    overflow: hidden;
}

#cardview-bpraticas {
    background: linear-gradient(to bottom right, rgba(255, 237, 219, 0.3), rgba(255, 237, 219, 0.8));
}

#cardview-indicadores, #cardview-bpraticas {
    box-shadow: 0 0 2px rgba(0,0,0,0.3);
    /*margin: 15px;*/
    padding: 40px;
}

.colunaEspaco {
    /*padding: 13px;*/
}

.image-no-canto {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 13vw;
}

#conteudo-cardviewmap {
    display: flex;
    margin: 30px 0;
    background-color: #EDF8F0;
    border-radius: 10px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

#cardviewmapa {
    padding: 0;
}

#formMapa {
    /* margin: 10px; */
    align-content: center;
    padding: 40px;
}

    #formMapa h2 {
        color: #008A43;
        font-size: 24px;
        font-weight: 600 !important;
    }

    #formMapa h3 {
        font-size: 48px;
        font-weight: 300 !important;
        color: #252526;
    }

    #formMapa p {
        font-size: 16px;
        color: #666667;
    }

.cardview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

    .cardview-header h2 {
        font-size: 20px;
        font-weight: bold;
        margin-top: 0;
        color: rgb(0, 138, 67);
    }

.cardview h2 {
    font-size: 24px;
    font-weight: 600 !important;
    margin: 0;
    color: rgb(0, 138, 67);
}

.cardview h3 {
    font-size: 48px;
    font-weight: 300 !important;
    color: #252526;
}

.cardview p {
    margin-top: 10px;
    font-size: 16px;
    color: #666667;
}

.cardview-header .ir-para {
    font-size: 13px;
    font-weight: bold !important;
    text-decoration: none;
    color: rgb(0, 138, 67);
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

    .cardview-header .ir-para .material-symbols-outlined {
        margin-left: 5px;
        font-size: 16px;
    }

.ir-para:hover {
    cursor: pointer;
}

#imageMapa {
    background-image: url('../imagens/default/MapaBNDES.png');
    background-size: inherit;
    background-repeat: no-repeat;
    height: 480px;
    position: relative;
}

.map-circle {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
}

    .map-circle:hover {
        background-color: #008A43;
    }

        .map-circle:hover + .tooltip-map-rm {
            visibility: visible;
            opacity: 1;
        }

.seletor-rm-marker {
    display: flex;
    position: absolute;
}

#seletor-rm-BL {
    top: 83px;
    left: 320px;
}

#seletor-rm-BH {
    top: 295px;
    left: 373px;
}

#seletor-rm-CP {
    top: 319px;
    left: 331px;
}

#seletor-rm-CT {
    top: 358px;
    left: 307px;
}

#seletor-rm-DF {
    top: 244px;
    left: 330px;
}

#seletor-rm-FL {
    top: 386px;
    left: 323px;
}

#seletor-rm-FT {
    top: 105px;
    left: 426px;
}

#seletor-rm-GO {
    top: 257px;
    left: 310px;
}

#seletor-rm-JP {
    top: 146px;
    left: 475px;
}

#seletor-rm-MC {
    top: 178px;
    left: 460px;
}

#seletor-rm-MN {
    top: 111px;
    left: 189px;
}

#seletor-rm-NT {
    top: 126px;
    left: 467px;
}

#seletor-rm-PA {
    top: 417px;
    left: 287px;
}

#seletor-rm-RC {
    top: 161px;
    left: 470px;
}

#seletor-rm-RJ {
    top: 328px;
    left: 383px;
}

#seletor-rm-SV {
    top: 211px;
    left: 431px;
}

#seletor-rm-ST {
    top: 342px;
    left: 350px;
}

#seletor-rm-SL {
    top: 92px;
    left: 366px;
}

#seletor-rm-SP {
    top: 333px;
    left: 339px;
}

#seletor-rm-TR {
    top: 122px;
    left: 388px;
}

#seletor-rm-VT {
    top: 292px;
    left: 415px;
}

.tooltip-map-rm {
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    border-radius: 5px;
    padding: 3px;
    position: absolute;
    z-index: 1;
    margin-left: -25px;
    margin-top: -31px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    white-space: nowrap;
}

#divSeletorMapa {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important;
}

.tooltiptext {
    visibility: hidden;
    background-color: #252526;
    text-align: center;
    border-radius: 5px;
    padding: 1px 10px;
    position: absolute;
    z-index: 1;
    left: 50%;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    color: white;
    white-space: nowrap;
    transform: translateX(50%) translateY(-44px);
}

    .tooltiptext label {
        color: white;
    }

#imageMapa #divPesqMapa {
    background-color: white;
    text-align: center;
    padding: 10px;
    border-radius: 40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position: relative;
}

.listEstado {
    border: none;
}

.button-mapa {
    border: none;
    color: rgb(0, 138, 67);
    background-color: transparent;
    font-weight: bold;
}

#vertical-line {
    border-left: 1px solid lightgray;
    height: 25px;
    margin: 0 10px;
}

#divVerde {
    width: 100%;
    background-color: rgb(0, 138, 67);
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 20px 120px;
}

.div-infoqtd {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /*width: 300px;*/
}


    .div-infoqtd h2 {
        font-size: 56px;
        font-weight: 275 !important;
        margin-bottom: 0;
    }

    .div-infoqtd h3 {
        font-size: 18px;
        font-weight: 600 !important;
    }


    .div-infoqtd p {
        font-size: 14px;
        font-weight: 400 !important;
        color: white;
    }

.titulo {
    color: rgb(0, 138, 67);
    font-weight: 400 !important;
    font-size: 28px;
    margin: 0;
}

.cardview-destaque {
    margin: 30px 0;
}

#header-destaque {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    #header-destaque a {
        color: rgb(0, 138, 67);
        font-size: 14px;
        font-weight: 600 !important;
        margin: 0;
    }

#divDestaque {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

    #divDestaque .item-destaque {
        width: 30%;
        height: 368px;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        text-align: left;
        flex: 1;
        display: flex;
        gap: 20px;
        padding: 20px;
        background-color: #F7F7F8;
        border-radius: 10px;
        overflow: hidden;
    }

.conteudo-destaque {
    margin: 20px;
    width: 100%;
}

.item-destaque .imagemdestaque {
    background-color: lightgray;
    border-radius: 5px;
    overflow: hidden;
}

.imagemdestaque img {
    height: 160px;
    width: 100%;
    object-fit: cover;
}

.item-destaque h2 {
    color: #252526;
    font-size: 18px;
    font-weight: 600 !important;
    margin: 0;
}

.item-destaque span {
    font-size: 12px;
    font-weight: 400 !important;
    color: #252526;
}

.item-destaque p {
    font-size: 16px;
    color: #252526;
}

.item-destaque button {
    width: 300px;
    background-color: transparent;
    color: rgb(0, 138, 67);
    border: 1px solid rgb(0, 138, 67);
    margin: 5px 0;
    padding: 5px;
    font-family: "Fira Sans",'Open Sans';
    font-size: 13px;
    font-weight: 600;
}

.round-button {
    margin: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgb(0, 138, 67);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: rgb(0, 138, 67);
    background-color: white;
}


#divBody > div > p.titulo {
    font-size: 17pt;
    font-weight: bold;
    color: darkblue;
    margin: 5px;
}

#divBody > div > p {
    font-family: "Fira Sans",'Inter';
    text-align: justify;
    margin-top: 30px;
}





#divDescription {
    /*background-color: rgb(197, 224, 180);*/
    background-color: rgb(197, 224, 180);
}

    #divDescription img, #divDescription p {
        float: left;
        margin-top: 18px;
        margin-left: 7px;
        margin-bottom: 5px;
    }

    #divDescription .imgDir {
        float: right;
        margin-right: 7px;
        margin-bottom: 5px;
    }

    #divDescription p {
        float: left;
        margin-left: 20px;
        margin-top: 12px;
        width: 470px;
        color: darkblue;
    }



#credits label {
    font-size: 14px;
    font-family: 'Calibri', 'Verdana', 'Arial', 'Helvetica', 'sans-serif';
}

.floatRight {
    float: right;
    margin-right: 4px;
}

.lblCentro {
    text-align: center;
}

.botaoMenu {
    position: relative;
    float: left;
}

    .botaoMenu span {
        position: absolute;
        left: 8px;
        float: left;
        top: 10px;
        width: 234px;
        text-align: center;
    }

.lblLogin {
    font: 15px Tahoma, Geneva, sans-serif;
}

.marginLogin {
    margin-top: 10px;
}

@media (min-width:1280px) {
    #UpRegiao:hover + .tooltiptext {
        visibility: visible;
        opacity: 1;
    }
}

@media (max-width: 1280px) {
    #imageMapa {
        display: none;
    }
    .tooltiptext {
        display: none;
    }

    .container-default {
        padding: 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
        width: 100vw;
    }

    .cardview {
        display: flex;
        flex-direction: column;
        margin-bottom: 5px;
        box-sizing: border-box;
    }

    .cardviewColuna {
        padding: 0;
    }

    .cardview #imageMapa {
        background-color: lightgray;
        width: 100vw;
        height: 200px; /* Altura inicial desejada */
        margin-top: 10px;
        overflow: hidden;
    }

    .coluna {
        width: 95%;
        margin: 0 auto;
        padding: 10px;
    }

    .colunaImage img {
        width: 90vw;
    }

    #conteudo-cardviewmap {
        width: 95vw;
        height: fit-content;
        margin: 10px auto;
    }

    #formMapa {
        padding: 0;
    }

    #divPesqMapa {
        width: 80vw !important;
    }

    .image-no-canto {
        display: none;
    }

    .cardview-destaque {
        width: 100%;
        margin: 0;
    }

    .cardview h2 {
        font-size: 18px;
    }

    .cardview h3 {
        font-size: 35px;
    }

    #divDestaque {
        flex-direction: column;
        justify-content: center;
        align-content: center;
        align-items: center;
        gap: 5px;
    }

    #header-destaque {
        margin: 0 5px 10px 5px;
    }

    #divDestaque .item-destaque {
        width: 95vw;
    }

    .conteudo-destaque {
        width: 90vw;
    }

    #divBody {
        margin-top: 90px;
    }

    #divIntro {
        padding: 18px;
    }

        #divIntro h1 {
            font-size: 50px;
        }

        #divIntro h2 {
            font-size: 25px;
        }

    .div-infoqtd h2 {
        font-size: 30px;
    }

    .div-infoqtd h3 {
        font-size: 12px;
    }

    #divVerde {
        padding: 2px 15px;
    }

    #imageMapa {
        display: none;
    }

    #formMapa h2 {
        font-size: 18px;
    }

    #formMapa h3 {
        font-size: 35px;
    }

    .div-infoqtd {
        width: 27vw;
    }

    #cardview-indicadores {
        height: auto;
        margin-bottom: 10px;
    }

    #cardview-indicadores, #cardview-bpraticas {
        margin: 0 auto;
    }

    #divSeletorMapa {
        justify-content: start;
    }

    .popup-login {
        width: 100vw;
    }

    html, body {
        width: 100vw;
        overflow-x: clip;
    }
}
