td {
    font-size: 14px !important;
    padding: 5px 10px;
}

.div_legenda {
    position: absolute;
    background-color: #FFFFFF;
    text-align: left;
    border: 1px #999 solid;
    padding: 5px;
    display: block;
    overflow: hidden;
    font-size: 14px;
    color: #29547e;
    font-size: 9px;
    margin-top: 13px;
    margin-left: 13px;
    width: 285px;
    border-radius: 4px;
}

.legenda {
    position: absolute;
    background-color: #FFFFFF;
    z-index: 2;
    margin-top: 530px;
    padding: 5px;
    width: 130px;
    border: 1px #999 solid;
    margin-left: 17px;
    border-radius: 4px;
}

.legenda-item {
    display: flex;
    font-size: smaller;
    align-items: center;
    width: 133px;
    line-height: 2;
}

.legenda-cor-azul-escuro {
    background-color: #0000ff;
}

.legenda-cor-cinza {
    background-color: #666666;
}

.legenda-cor-roxo {
    background-color: #AB16C1;
}

.card {
    padding: 5px;
    position: relative;
    left: 10px;
    top: -137px;
    width: 110px;
    z-index: 999;
}

/* .ol_map{
    margin-top: 10px;
    width: 56%;

    margin-left: 0;
} */

.ol_map {
    width: 52%;
    float: left;
    margin: 10px;
    height: 700px;
}

.table_container {
    width: 44%;
    float: left;
    margin: 10px;
}

.datatable{
    margin-top: 10px;
    width: 40%;
    height: 700px;
    margin-left: 0;
}

.ui-dialog-titlebar-close{
    /* display: inline !important; */
    border-radius: 0px !important;
    border: none;
    font-weight: bold;
    color: #000;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    color: #3A87AD; /* Cor do spinner */
}

#loading-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#loading-csv {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.custom-btn {
    width: 30px;
    text-align: center;
    /* background-color: #3A87AD */
    color: #3A87AD
}

/* Estilos principais */
.container_rmf {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.tootip_piechart {
    position: absolute;
    background-color: white;
    padding: 5px;
    border: 1px solid black;
    border-radius: 4px;
    display: none;
    pointer-events: none;
    z-index: 2;
}

.badge{
    float: right;
    font-size: 13px;
    margin-right: 5px;
    font-weight: 0;
}

@keyframes move {
    0% { left: 0%; width: 0%; }
    50% { width: 100%; }
    100% { left: 100%; width: 0%; }
}

#progress-bar {
    animation: move 2s linear infinite;
}

@media (max-width: 768px) {
    .ol_map {
        width: 100% !important;  /* Lado a lado, 48% cada em telas maiores */
    }
    th {
        font-size: 8px !important;
        padding: 0px !important;
    }
    #datatable tbody tr td {
        font-size: 10px !important;
        padding: 0px !important;
    }
    .badge {
        font-size: 10px !important; /* Reduz o tamanho da fonte dos badges para melhor ajuste */
        padding: 5px; /* Ajusta o padding dos badges */
        width: 75px;
    }
    .container{
        margin-top: 320px !important;
    }
    .table_container {
        width: 98% !important;
    }
    #datatable thead tr th{
        width: 10px !important;
    }
}

.main_content {
    margin-top: 10px;
    width: 98%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
    height: 90%;
}