@media print {
    body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body {
        --bs-bg-opacity: 0 !important;
        padding: 30px;
    }

    #titulo_header,
    #indice-lateral,
    .bd-aside,
    .botao_imprimir,
    .botao_imprimir_indicador {
        display: none !important;
    }

    .my-3 {
        page-break-after: always;
    }

    /* page-break-after works, as well */
    #secao_impressao,
    #indice_guia,
    .capa-guia,
    .separador-secao {
        display: block !important;
    }

    .separador-secao {
        width: 90vw;
        height: 90vh;
    }

    .capa-guia img,
    .capa-guia,
    .separador-secao {
        page-break-after: always;
    }

    .bloco,
    .bloco > * {
        page-break-inside: avoid !important;
    }

    .secao-ind {
        display: none !important;
    }

    .card {
        border: 0 !important;
    }

    .card-body {
        display: none;
    }

    .bloco {
        border: solid 1px #cccccc;
    }

    .list-group, .card {
        display: block !important;
    }

    .list-group-flush .list-group-item {
        border: 0 !important;
    }

    .fim_guia {
        page-break-before: always;
        display: block !important;
    }

    /* Keep Together -> Não deixa ter quebra de pagina no meio do conteudo*/
    .keep-together {
        page-break-inside: avoid;
    }

}

@page {
    size: auto;
    margin: 1vh 1vw 1vh 1vw;
}

@media (min-width: 1200px) {
    .button__topActive {
        animation: button__topActive 1s;
        display: none;
    }
}

@keyframes button__topActive {
    from {
        opacity: 0;
        transform: translate3d(0, -10px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Css dos Ids */
#carimbo_homolog {
    top: 10px;
    left: 10px;
    position: fixed;
    z-index: 9999;
}

#titulo_header {
    background-color: #054222 !important;
    max-height: 6%;
    min-height: 60px;
}

#indice-lateral {
    overflow-y: auto;
    height: 95vh;
    z-index: 1029;
}

#card-indicadores {
    border-left-width: 4px;
}

#legenda_pesq {
    font-size: 18px;
    background-color: #5c636a;
    color: whitesmoke;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

#card-indicadores img {
    max-width: 100%;
    height: auto;
}

/* Css das Classes */
.capa-guia {
    display: none;
}

.ui-autocomplete {
    z-index: 999999;
    max-height: 40%;
    max-width: 30%;
    min-width: 20%;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    padding-right: 10px;
    background-color: #F9F9F9;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
    position: fixed !important;
    top: 0px;
    margin: 20px 0px 0px 0px;
}

.radio-pesq {
    font-size: 15px;
    color: black;
}

.input-group .btn::before {
    content: none !important;
}

.botao_imprimir .btn::before {
    content: none !important;
}

.secao_indice::before {
    display: none !important;
}

.titulo_indice, #indice-lateral > .mb-4 {
    margin-bottom: 0px !important;
    margin-top: 1rem !important;
}

.botao_imprimir .btn:hover,
.botao_imprimir .btn:focus {
    background-color: #5c636a !important;
    color: #fff !important;
}

.botao_imprimir .btn {
    color: #fff !important;
}

.bd-aside, .bd-cheatsheet {
    padding-top: 90px !important;
}

.botao_imprimir_indicador .btn {
    font-size: 12px;
    width: 100%;
    margin: 5px 0;
}

.list-group-item > *,
.list-group-item p,
.list-group-item span {
    font-size: inherit !important;
    font-family: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
}

.bd-cheatsheet article, .bd-cheatsheet .bd-heading {
    padding-top: 15px;
}

.list-group-item > *,
.list-group-item p,
.list-group-item span {
    font-size: inherit !important;
    font-family: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
}

.list-group-flush .list-group-item {
    border-width: 0 0 1px;
}

.button__top {
    padding: 10px;
    align-items: center;
    background-color: #054222;
    border-radius: 50%;
    bottom: 50px;
    right: 50px;
    box-shadow: 3px 5px 12px lightGray;
    color: white;
    display: none;
    font-size: 2rem;
    justify-content: center;
    position: fixed;
    transition: transform .5s;
    z-index: 9999999999;
}

.button__top:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.button__topActive {
    animation: button__topActive 1s;
    display: flex;
}

.dropdown.bootstrap-select.show-tick {
    border-radius: 0.25rem;
}

button.btn.dropdown-toggle.bs-placeholder.btn-light {
    background-color: #E9ECEF;
}

.dropdown-item.active, .dropdown-item:active{
    background-color: #ADB5BD!important;
}

.btn-secondary {
    border: none;
}