﻿#contentVF {
    padding-top: 113px;
    width: 100%;
    background-color: white;
    min-height: 100vh; /* Isso garante que tenha pelo menos altura da tela */
    box-sizing: border-box;
}
    #contentVF a:focus {
        outline: unset !important;
        outline-offset: unset !important;
        text-decoration: none;
    }

.header, .footer {
    display: none;
}

#loading {
    z-index: 1000;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.conteiner-loading {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 10px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: rgba(0, 138, 67, 1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.popup-vf {
    visibility: hidden;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    top: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

button {
    font-family: 'Fira Sans', "Inter";
}

html, body {
    margin: 0;
    padding: 0;
    height: auto !important;
    min-height: 100vh;
}

.footer-sig {
    position: unset !important;
    margin-top: 0 !important;
}

.conteiner-body-spacing {
    margin: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

    .conteiner-body-spacing p {
        font-size: 17px;
        color: #666667;
    }
/*---controle de seleto de RM------*/
.listCidade {
    width: 100% !important;
}

#divPesqMapa {
    width: 100% !important;
}
/*------------------------------*/
h1 {
    font-size: 18px;
}

.intro p {
    font-size: 28px;
    font-weight: 300 !important;
}

#divIntro {
    display: flex;
    width: 100%;
    flex-direction: column;
    position: relative;
    z-index: 1; /* coloca o texto acima do ::before */
    color: white;
    padding: 20px 40px
}

    #divIntro .div-conteiner-intro p {
        color: white;
        font-size: 28px;
        font-weight: 300 !important;
    }

#bannerIntro {
    position: relative;
    background-image: url('https://www.quintoandar.com.br/guias/wp-content/uploads/2023/09/vlt-rio-de-janeiro-1.webp');
    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.8); /* filtro escuro */
        z-index: 0; /* fica atrás do conteúdo */
        pointer-events: none;
    }

.div-conteiner-intro {
    max-width: 1008px;
    padding: 32px 0px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#nav-opcoes {
    margin-left: auto;
}

    #nav-opcoes ul {
        display: flex;
        gap: 15px;
        list-style-type: none;
    }

        #nav-opcoes ul li a {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 5px;
            color: white;
        }

            #nav-opcoes ul li a:hover {
                text-decoration: none;
                cursor: pointer;
            }
            #nav-opcoes ul li a:focus-visible {
                border: 1px solid white;
                padding: 3px;
                text-decoration: none;
            }
            #nav-opcoes ul li a p {
                color: white;
                font-weight: 600 !important;
                font-size: 14px;
            }

            #nav-opcoes ul li a span {
                font-size: 20px;
            }

.btbannerintro {
    width: fit-content;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    margin: 5px 0;
    padding: 8px 16px;
    font-family: "Fira Sans", 'Open Sans';
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
}

    .btbannerintro:hover, .btbannerintro:focus-visible {
        background-color: rgba(255,255,255,0.3);
    }

#sectionRedeRM {
    gap: 24px;
    display: flex;
    flex-direction: column;
}

    #sectionRedeRM .section-header {
        display: flex;
        align-items: center;
        gap: 10px;
    }

        #sectionRedeRM .section-header h2 {
            font-size: 24px;
            font-weight: 600 !important;
            margin: 0;
        }

        #sectionRedeRM .section-header span {
            font-size: 20px;
            color: #A4A4A5;
        }

        #sectionRedeRM .section-header a {
            cursor: pointer;
            align-items: center;
            display: flex;
        }

            #sectionRedeRM .section-header a:hover {
                text-decoration: none;
            }

.section-dados-imagens {
    display: flex;
    position: relative;
    justify-content: space-between;
}

.item-section-imagem img {
    width: 100%;
    aspect-ratio: 1.7 / 1;
    border-radius: 8px;
    border: 1px solid #E5E5E6;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
}

.item-section-imagem {
    position: relative;
    width: 45%;
    cursor: pointer;
}

#seta-investimento {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 60%;
    width: 30%;
    border: unset;
    box-shadow: unset;
    pointer-events: none;
}

.section-valor-km {
    position: absolute;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
    top: 13px;
    left: 19px;
    padding: 8px 16px;
    color: black;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

    .section-valor-km label {
        font-size: 24px;
        font-weight: 600 !important;
        color: black;
        margin: 0;
    }

    .section-valor-km p {
        font-size: 12px;
        font-weight: 600 !important;
        color: black;
    }

.dados-section-seta {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .dados-section-seta label {
        color: white;
        font-weight: 600 !important;
        font-size: 17px;
        margin: 0;
    }

    .dados-section-seta p {
        color: white;
        font-weight: 600 !important;
        font-size: 12px;
    }

.div-rede-obs{
    display: flex;
    justify-content:space-between;
}
.div-rede-obs div{
    width: 45%;
}
.info-rede-obs {
    font-size: 12px !important;
    color: dimgray !important;
}

.sectionSobreVF {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
}

    .sectionSobreVF h2 {
        font-size: 24px;
        font-weight: 600 !important;
    }

    .sectionSobreVF p {
        font-size: 16px;
        color: #666667;
        padding-bottom: 16px;
    }

    .sectionSobreVF strong {
        font-weight: 700 !important;
    }

.btbannerVF {
    color: var(--primarycolor);
    border: 1px solid var(--primarycolor);
    background-color: transparent;
    font-weight: 600;
    font-size: 15px;
    border-radius: 4px;
    padding: 8px 16px;
    width: fit-content;
}

    .btbannerVF:hover, .btbannerVF:focus-visible {
        background-color: #c0e5cb;
    }

#head-categorias-graficos {
    display: flex;
    gap: 16px;
    padding: 8px 40px;
    border-top: 1px solid #E5E5E6;
    border-bottom: 1px solid #E5E5E6;
    align-items: center;
}

    #head-categorias-graficos p {
        font-size: 14px;
    }

    #head-categorias-graficos ul {
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

.categoria-disable {
    border: 1px solid lightgray;
    border-radius: 64px;
    padding: 0 8px;
    cursor: pointer;
}

    .categoria-disable a {
        color: #474748;
    }

        .categoria-disable a:hover, .categoria-disable a:focus-visible {
            text-decoration: none;
        }

.categoria-active {
    border: 1px solid var(--primarycolor);
    border-radius: 64px;
    padding: 1px 8px;
    background-color: #EDF8F0;
    font-family: 'Fira Sans';
    font-size: 14px;
    cursor: pointer;
}

    .categoria-active a {
        color: var(--primarycolor);
    }

        .categoria-active a:hover, .categoria-active a:focus-visible {
            text-decoration: none;
        }

    .categoria-active:hover, .categoria-active:has(a:focus-visible), 
    .categoria-disable:has(a:focus-visible) {
        background-color: #c0e5cb;
    }
    

#conteiner-graficosVF {
    background-color: #F7FBFF;
    padding: 16px 40px;
    display: flex;
    height: auto;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: start;
}

.header-grafico {
    display: flex;
    gap: 5px;
    align-items: center;
}

    .header-grafico h3 {
        margin: 0;
        font-size: 12px;
    }

    .header-grafico span {
        font-size: 16px;
        color: #A4A4A5;
        cursor: pointer;
    }


.item-grafico {
    width: 48.9%;
    height: auto;
    border: 1px solid #E5E5E6;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    position: relative;
}

canvas {
    height: 395px !important;
    width: 100% !important;
}

.header-sub {
    padding: 16px 0;
}

    .header-sub h4 {
        font-size: 18px;
        font-weight: 600 !important;
        margin: 3px 0;
    }

    .header-sub p {
        font-size: 12px;
        color: #666667;
    }

.conteiner-grafico {
    border-radius: 8px;
    position: relative;
    padding: 16px 8px;
    height: 450px;
}

.footer-grafico {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

    .footer-grafico p {
        font-size: 12px;
        color: #666667;
        margin-right: 20px;
    }

    .footer-grafico a {
        position: absolute;
        right: 8px;
        cursor: pointer;
    }
        .footer-grafico a:focus-visible {
            border: 1px solid black;
        }

    .footer-grafico span {
        font-size: 20px;
        color: #A4A4A5;
    }

.footer-logos {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 24px;
    padding: 8px 20px;
    background-color: #ffffff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    width: 100%;
}

    .footer-logos img {
        object-fit: contain;
    }

.section-lista-projetos {
    background-color: #F7FBFF;
    padding: 24px 40px;
}

.conteiner-lista-projetos {
    background: linear-gradient(to bottom, #FFEDDB4D, #FFEDDBCC);
    border-radius: 8px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    gap: 24px;
}

    .conteiner-lista-projetos h3 {
        font-size: 18px;
        font-weight: 600 !important;
    }

    .conteiner-lista-projetos h4 {
        font-size: 28px;
        font-weight: 300 !important;
    }

#btnIrListProj {
    border-radius: 4px;
    background-color: white;
    border: 1px solid #E5E5E6;
    width: fit-content;
    white-space: nowrap;
    padding: 8px 16px;
    height: fit-content;
    font-size: 15px;
    font-weight: 600;
}

    #btnIrListProj:hover, #btnIrListProj:focus-visible {
        background-color: #F1F1F2;
    }

#popup-exportar {
    display: none;
    z-index: 150;
    position: absolute;
    right: 35px;
    background-color: white;
    padding: 10px 2px;
    top: 47px;
    border-radius: var(--spacing-spacing_xs, 8px);
}

    #popup-exportar button {
        display: flex;
        cursor: pointer;
        text-align: left;
        width: 403px;
        transition: background-color 0.3s;
        padding: 5px;
        border: unset;
        align-items: center;
        background-color: unset;
        gap: 4px;
    }

        #popup-exportar button:hover {
            background-color: #f5f5f5;
            border-radius: 4px;
        }

            #popup-exportar button:focus-visible{
                border: 1px solid black;
            }

            #popup-exportar button:last-child {
                margin-bottom: 0;
            }

.btn-exportar span {
    font-size: 20px;
    margin-right: 10px;
    color: #666667;
}

.conteiner-exportar {
    padding: 0;
}

    .conteiner-exportar h3 {
        font-size: 14px !important;
        font-weight: 400 !important;
        margin: 0;
        color: #252526 !important;
    }

    .conteiner-exportar p {
        font-size: 12px !important;
        color: #666667 !important;
        font-weight: 400 !important;
        margin: 0;
    }

#popup-info-rede-transporte {
    background-color: white;
    padding: 16px;
    border-radius: 8px;
    width: 579px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    #popup-info-rede-transporte h3 {
        margin: 0;
        color: #666667;
    }

    #popup-info-rede-transporte p {
        font-size: 14px;
        color: black;
    }

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .popup-header h2 {
        margin: 0;
        font-size: 24px;
        font-weight: 600 !important;
    }

    .popup-header span {
        color: black;
        cursor: pointer;
    }

.tooltip-tema {
    position: absolute;
    min-height: 30px;
    max-width: 265px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    z-index: 999;
    opacity: 0;
    font-size: 12px;
    visibility: hidden;
    display: none;
    transition: opacity 0.3s;
}

    .tooltip-tema::before {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        border: 8px solid transparent;
    }

    .tooltip-tema p {
        color: white;
        font-size: 12px;
    }

.tooltip-top::before {
    top: 99%;
    border-top-color: #555;
}

.tooltip-bottom::before {
    bottom: 99%;
    border-bottom-color: #555;
}

#popupManual {
    display: none;
    justify-content: center;
    align-items: center;
}

.header-manual {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .header-manual h2 {
        font-size: 24px;
        font-weight: 600 !important;
        color: #252526;
    }

        .header-manual h2 span {
            color: red;
            font-size: 16px;
            font-weight: 400 !important;
        }

    .header-manual span {
        color: black;
        cursor: pointer;
    }



#conteiner-manual {
    background-color: white;
    padding: 0 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 800px;
    height: 581px;
    overflow-y: auto;
    position: relative;
}

    #conteiner-manual p {
        margin-top: 20px;
        font-size: 16px;
        color: #252526;
    }

    #conteiner-manual br {
        margin-bottom: 5px;
    }

.conteiner-tutorial {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.manualImg {
    width: 100%;
}

.popup-footer-manual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 762px;
    bottom: 10px;
}

    .popup-footer-manual #currentPage {
        font-size: 14px;
        color: #666667;
    }

#nav-manual {
    display: flex;
    gap: 20px;
}

    #nav-manual button {
        border-radius: 5px;
        font-family: "Fira Sans";
        font-size: 14px;
        font-weight: 600;
        gap: 10px;
        align-items: center;
        padding: 5px;
        width: 120px;
        justify-content: center;
    }

.volta-button {
    border: 2px solid #008A43;
    color: #008A43;
    display: none;
    background-color: transparent;
}

    .volta-button:hover {
        background-color: #E5F5EA;
    }

    .volta-button:focus-visible {
        color: #008A43;
        background: #98D4AA;
    }
    

.prox-button {
    color: white;
    background-color: #008A43;
    display: flex;
    border: none;
}

    .prox-button:focus-visible {
        background-color: #002E16;
    }

.popup a:focus-visible {
    border: 1px solid black;
}

.zoom-modal {
    display: none;
}

@media (max-width: 1154px) {
    #divIntro {
        padding: 30px;
    }

    #nav-opcoes ul li a p {
        display: none;
    }

    h1 {
        font-size: 16px;
    }

    #divIntro .div-conteiner-intro p {
        font-size: 24px;
    }

    .btbannerintro {
        font-size: 12px;
    }

    .div-conteiner-intro {
        padding: 0;
        gap: 15px;
    }

    #bannerIntro {
        background-size: cover;
    }

    .conteiner-body-spacing {
        margin: 15px 30px;
        gap: 30px;
    }

        .conteiner-body-spacing p {
            font-size: 14px;
        }

    #sectionRedeRM .section-header h2 {
        font-size: 20px;
    }

    .item-section-imagem img {
        object-fit: cover;
    }

    .dados-section-seta label {
        font-size: 5px;
    }

    .dados-section-seta p {
        font-size: 5px;
    }

    .section-valor-km {
        top: 5px;
        left: 6px;
    }

        .section-valor-km label {
            font-size: 10px;
        }

        .section-valor-km p {
            font-size: 7px;
        }

    .sectionSobreVF h2 {
        font-size: 20px;
    }

    .sectionSobreVF p {
        font-size: 14px;
    }

    .btbannerVF {
        font-size: 12px;
    }

    #head-categorias-graficos {
        padding: 8px 30px;
    }

        #head-categorias-graficos ul {
            flex-wrap: wrap;
            justify-content: start;
        }

    #conteiner-graficosVF {
        padding: 16px 30px;
    }

    .item-grafico {
        width: 100%;
    }

    .section-lista-projetos {
        padding: 24px 20px;
    }

    .conteiner-lista-projetos {
        flex-direction: column;
        gap: 15px;
    }

    .categoria-active {
        font-size: 12px;
    }

    .header-sub h4 {
        font-size: 16px;
    }

    .footer-grafico p {
        font-size: 10px;
        margin-right: 20px;
    }

    .conteiner-lista-projetos h3 {
        font-size: 16px;
    }

    .conteiner-lista-projetos h4 {
        font-size: 24px;
    }

    #btnIrListProj {
        font-size: 12px;
    }

    #popup-exportar button {
        width: 100%;
    }

    #popup-exportar {
        width: 80%;
        right: 26px;
        top: 55px;
    }

    .popup-vf {
        padding: 30px;
    }

    .popup-header h2 {
        font-size: 20px;
    }

    .section-dados-imagens {
        cursor: zoom-in;
    }

    .zoom-modal {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.9);
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

        .zoom-modal.active {
            display: flex;
        }

    .zoom-container {
        max-width: 90%;
        max-height: 90%;
        overflow: hidden;
        border-radius: 8px;
        background-color: white;
    }

    .zoom-target {
        display: inline-block;
        cursor: grab;
        touch-action: none;
    }

    .popup-footer-manual {
        width: 100%;
        position: unset;
        margin-top: 28px;
        margin-bottom: 20px;
    }

    #conteiner-manual {
        max-width: 100vw;
        margin: 10px;
        height: fit-content;
    }

    #nav-manual button {
        width: 85px;
    }

    .header-manual h2 {
        font-size: 20px;
    }

    #conteiner-manual p {
        font-size: 14px;
    }
}

@media print {
    @page {
        padding: 1pt 0pt -1;
        border: none;
        margin: 0mm 0mm 15mm;

        @bottom-center {
            background: #002E16;
            color: #fff;
            content: " Estudo Nacional de Mobilidade Urbana. © 2024 Copyright - BNDES. Todos os direitos reservados. ";
            padding-top: 12pt;
            padding-bottom: 12pt;
            font-size: 10pt;
            font-style: bold;
        }
    }

    @page {
        @bottom-right {
            background: #002E16;
            color: #fff;
            content: counter(page) " / " counter(pages);
            padding-top: 12pt;
            padding-bottom: 12pt;
            padding-right: 20px;
            font-size: 8pt;
            font-style: bold;
        }
    }

    @page {
        @bottom-left {
            background: #002E16;
            color: #002E16;
            content: " - ";
        }
    }

    .footer {
        display: table-footer-group;
        background-color: #002E16;
        width: 100%;
        position: fixed;
        bottom: 0;
        -webkit-print-color-adjust: exact;
    }

    .footer-bottom {
        justify-content: center;
        flex: 1;
    }

    .image-header {
        height: 30px;
        margin: 20px 25px 20px 60px;
    }

    .titulo-subtitulo {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 4px;
        position: relative;
        flex: 0 0 auto;
    }

        .titulo-subtitulo .h {
            position: relative;
            width: fit-content;
            margin-top: -1px;
            font-family: 'Fira Sans';
            font-weight: 400;
            color: rgba(0, 138, 67, 1);
            font-size: 28px;
            letter-spacing: 0px;
            line-height: normal;
            font-style: normal;
        }

    #head-idioma,
    #divHeader,
    .footer-sig,
    #nav-row,
    .vlibras-window,
    .floating-button,
    .botao-outlined,
    #head-categorias-graficos {
        display: none !important;
    }

    .header {
        display: table-header-group;
        background-color: white;
    }

    th {
        display: flex;
        -webkit-align-items: center;
        align-items: center;
    }

    #divIntro {
        display: none;
    }

    .sectionSobreVF {
        display: none;
    }

    .section-lista-projetos {
        display: none;
    }

    .menudefault {
        display: none;
    }

    #head-idioma .menuIdiomas {
        display: none;
    }

    #barra-responsive-header {
        border-bottom: 0;
        margin-bottom: 0;
    }

    .footer-bottom {
        justify-content: center;
    }

        .footer-bottom nav {
            display: none;
        }

    .item-grafico {
        break-inside: avoid;
        width: 47.9%;
        height: auto;
    }

    .footer-sig {
        display: block;
    }

    #barra-responsive-header a {
        display: none;
    }

    #contentVF {
        padding-top: 0;
    }

    .item-section-imagem img {
        height: 240px;
    }

    .dados-section-seta label {
        font-size: 14px;
        color: white;
    }

    .dados-section-seta p {
        font-size: 10px;
        color: white;
    }

    canvas {
        height: 250px !important;
    }
    .conteiner-grafico {
        height: auto !important;
    }
    #conteiner-graficosVF {
        padding: 16px 30px 90px 30px;
    }

    .section-valor-km label {
        font-size: 14px;
    }

    .section-valor-km p {
        font-size: 10px;
    }
}
