/* Bootstrap reset e extensões */
.pagination.-with-dropdown select {
    border-color: #007bff;
    color: #007bff;
    cursor: pointer;
}
.pagination.-with-dropdown .-item-dropdown {
    margin: 0 10px;
}
.form-control {
    border-color: #868686;
}
.ui-autocomplete {
    z-index: 1060; /* Para ficar acima do modal do Bootstrap */
}
/* --- */

@page {
    margin: 20mm
}

body {
    padding-bottom: 100px;
}
body > header {
    background-color: #024C46;
    height: 50px;
}
body > header > .container {
    height: 100%;
}
body > header h1 {
    color: #fff;
    font-size: 16px;
    line-height: 1;
    margin-top: 6px;
    text-align: left;
    text-transform: uppercase;
}
body > header h1 > span {
    display: inline-block;
}
body > header h1 > span:nth-of-type(1) {
    font-size: 30px;
}
body > header h1 > span:nth-of-type(2) {
    font-size: 12px;
}
body > header .logoCalcario {
    background-color: #fff;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 0 6px;
    width: auto;
}
@media print {
    body > header {
        display: flex;
        margin-bottom: 1.5cm;
    }
    body > header .texto {
        color: #666;
        flex: 1 1 auto;
        padding-top: 0.3cm;
        text-align: center;
    }
    body > header .texto .nomeEmpresa {
        font-size: 1.2em;
    }
    body > header .logo {
        width: 4cm;
    }
    body > header .logo img {
        opacity: 0.7;
        width: 100%;
    }
}


body > nav.menuPrincipal {
    margin-bottom: 70px;
    margin-top: 30px;
}

body > main h2 {
    margin-bottom: 40px;
}

body > main .content > .btn-group {
    margin-bottom: 30px;
}

/* COMPONENTES */
.form-filtro {
    border: solid 1px #000;
    border-radius: 5px;
    margin-bottom: 25px;
    padding: 20px;
}


#formFiltroComponent .filtrosEscolhidos {
    margin-bottom: 60px;
}
#formFiltroComponent .filtrosEscolhidos .table-bordered td {
    border-color: var(--gray);
}

/* PÁGINA DE FRETE */
#freteApp table.fretes .destino {
    text-transform: uppercase;
}
#freteApp table.fretes .pagamento-aberto {
    background-color: red;
    color: white;
}
#freteApp table.fretes .pagamento-autorizado {
    background-color: blue;
    color: white;
}
#freteApp table.fretes .pagamento-pago {
    background-color: green;
    color: white;
}
#freteApp table.fretes .pagamento-cancelado {
    background-color: black;
    color: white;
}
#freteApp table.fretes td.acoes {
    color: black;
    font-size: 20px;
}
#freteApp #formFiltro .badge {
    margin-top: 5px;
    white-space: normal;
}
#freteApp #formFiltro #formFiltroSelectTransportador option, 
#freteApp #formFiltro #formFiltroSelectCliente option {
    font-size: 13px;
    padding: 5px 0;
    white-space: normal;
}
#freteApp > .fretesTableCaption {
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}
@media print {
    #freteApp table.fretes .badge {
        background-color: none;
        border: none;
        color: black;
    }
}

/* PÁGINA DE CLIENTES */
#formCliente #formClienteSelectCidade {
    position: absolute;
}