body {
    font-family: Arial, sans-serif;
}

.dialog-content {
    background-color: #F0F0F0;
    padding: 5px;
}

#topbar {
    display: block;
    height: 80px;
    text-align: center;
    background-image: url('../images/topo_fundo.jpg');
    background-repeat: repeat-x;
    background-position: top center; 
}

#bottombar {
    display: block;
    height: 20px;
    background-image: url('../images/bottom-bar-back.png');
    background-repeat: repeat-x;
    background-position: top center; 
}

a.l-btn span span.l-btn-text,
a.l-btn span span.l-btn-text:focus,
a.l-btn span span.l-btn-text:hover {
    outline: 0 none;
}

.ftitle{
    font-size:12px;
    font-weight:bold;
    color:#15428b;
    padding:0px 0;
    margin-bottom:5px;
    border-bottom:1px solid #ccc;
}

.flabel label{
    display:block;
    float:left;
    margin: 0px 5px 0px 0px;
}

.ffield {
    margin: 0px 0px 5px 0px;
}

.ffield label{
    display:block;
    float:left;
    margin: 1px 0px 0px 0px;
    height: 20px;
    padding-top: 3px;
}

.ffield input[type="text"], .ffield input[type="password"], .ffield input[type="checkbox"], .ffield textarea {
    margin: 1px 0px 0px 0px;
    padding:0;
    border:1px solid #A4BED4;
    font-size:12px;
}

.ffield input[type="text"], .ffield input[type="password"], .ffield input[type="checkbox"] {
    height: 20px;  
}

.combo input[type="text"] {
    border:0px;
}

.ftable td {
    width: 1px;
}

.ftable input[type="text"], .ftable input[type="password"], .ftable input[type="checkbox"], .ftable textarea {
    margin: 1px 0px 0px 0px;
    padding:0;
    border:1px solid #A4BED4;
    font-size:12px;
}

.ftable input[type="text"], .ftable input[type="password"], .ftable input[type="checkbox"] {
    height: 20px;  
}

.ftable .combo input[type="text"] {
    border:0px;
}

.tabs-header {
    border: none !important;
    background: transparent !important;
}

.l-btn {
    vertical-align:middle;
}

.button-sep {
    display:inline-block;
    width:0;
    height:22px;
    border-left:1px solid #ccc;
    border-right:1px solid #fff;
    vertical-align:middle;
}

.alert {
    color: #856404;
    background-color: #fff3cd;
    padding-left: 1rem;
    border: 1px solid #ffeeba;
    float: left;
    width: 300px;
}

.text-center {
    text-align: center;
}

.style_grid_yellow, .style_grid_red, .style_grid_green
{
    color: black;
}

.break-line
{
    display: inline-block;
}

.menu-link {
    text-decoration: none; 
    color: #000; 
    position: absolute;
    width: 150px;
}


[field='transito_veiculo'] div:contains('Parado') {
    background-color:'red';
    color: #000;
}

[field='transito_veiculo'] div:contains('Em trânsito') {
    background-color:'#00ff00';
    color: #000;
}

[field='transito_veiculo'] {
    color: #000;
}

.table-map {
    font-size:9pt !important;
    font-weight:normal;
    background-color: #d5d5d5;
}

table.table-map tr {
    background-color: #e3e3e3;
}

table.table-map tr:nth-child(even) {
    background-color: #fff !important;
}


nav.listing-group {
    width: 100%;
}

.listing-group-right {
    float: right !important;
    left: -10px !important;
    position: relative !important;
}

#area_mapa_logistico .mapboxgl-ctrl-top-right {
    right: 190px !important;
}

#area_mapa_veiculos .mapboxgl-ctrl-top-right {
    right: 190px !important;
}

.listing-group {
    font: 14px Tahoma;
    position: absolute;
    top: 7px;
    left: 10px;
    z-index: 1;
    border-radius: 3px;
    width: 180px !important;
    text-transform: uppercase;
    font-weight: bold;
    color: #ffffff;
    opacity: 0.9;
}

.listing-group input[type='checkbox']:first-child + label {
    border: 1px solid rgba(0, 0, 0, 0.25);
}

.listing-group input[type='checkbox'] {
    display: none;
}

.listing-group div {
    display: flex;
}

.listing-group span {
    position: relative;
    top: 8px;
}

.listing-group span.span-card-total {
    font-weight: 600;
    font-size: 14pt;
    top: 30px;
    right: 5x;
    color: #363849;
    text-shadow: 2px 2px 2px #000;
    float: inline-end;
    width: 100%;
    text-align: end;
    z-index: 1;
}

.listing-group span.span-card-filter {
    font-weight: 600;
    font-size: 28pt;
    position: relative;
    top: 0;
    left: 10px;
    text-shadow: 2px 2px 2px #000;
    z-index: 2;
}

.listing-group input[type='checkbox'] + label {
    border-radius: 3px 3px 3px 3px;
    /* background-color: #363849; */
    background: linear-gradient(90deg, rgba(54,56,73,0.896796218487395) 0%, rgba(22,23,29,1) 35%, rgba(54,56,73,0.6867121848739496) 100%);
    display: block;
    cursor: pointer;
    padding: 5px 5px 10px 5px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    /* margin: 0px; */
    margin-bottom: 5px;
    text-shadow: 2px 2px 2px #363849;
    box-shadow: -2px 2px 2px #363849;
}

.listing-group input[type='checkbox']:checked + label>span:after {
    content: '✔';
    margin-right: -3px;
    float: right;
    position: relative;
    top: -14px !important;
}

#area_mapa_veiculos .atrasado, #area_mapa_veiculos .desvio_rota {
    animation: blinker 1s step-start infinite;
}

.alert_blinker, #area_mapa_logistico .atrasado, #area_mapa_logistico .chk_desvio_rota, #area_mapa_logistico .desvio_rota {
    animation: blinker 1s step-start infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.flabel:not(:has(input)) {
    align-items: end !important;
    display: flex;
}
.ffield {
    align-items: end !important;
}

.ftitle:has(span):hover {
    cursor: pointer;
}

.spinner-text {
    border: 1px solid #A4BED4 !important;
}

.combogrid-disabled input {
    background-color: #eee !important;
    cursor: not-allowed !important;
    pointer-events: none;
    color: #444;
}

.combogrid-disabled .combo-arrow {
    pointer-events: none;
    opacity: 0.5;
}

/* 
display: inline-flex !important;
td:contains('No prazo'), td:contains('No prazo')>div:contains('No prazo'),
[field='transito_veiculo'] div:contains('Em trânsito')
{
    background-color:#00ff00;
}

td:contains('Atrasado'), td:contains('Atrasado')>div:contains('Atrasado'),
[field='transito_veiculo'] div:contains('Parado')
{
    background-color:red;
}

td:contains('Tendêcia de atraso'), td:contains('Tendência de atraso')>div:contains('No Tendência de atraso')
{
    background-color:yellow;
}

td:contains('Adiantado'), td:contains('Adiantado')>div:contains('Adiantado')
{
    background-color:#006fff;
} */