html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    background: #fff;
    font-family: 'Lato', sans-serif;
}

@media screen and (max-width: 768px) {
    .logo-toship {
        top: -195px;
        bottom: unset !important;
    }
}

.uppercase {
    text-transform: uppercase;
}

.doc-btns {
    display: none;
}

.doc-btns .btn:not(:first-child) {
    margin-left: 10px;
}

.doc {
    padding: 5px;
    border-radius: 4px;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}

.doc img {
    width: 100%;
}

.doc .name {
    z-index: 100;
}

.doc:hover {
    background-color: #C0BFBF;
}

.doc:hover > .doc-btns {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}


/* --------------------------------------------------------------- */
/*                         TABELA COM SCROLL                       */
/* --------------------------------------------------------------- */

/* .table-fixed thead {
  width: 99%;
}

.table-fixed thead::after {
  width: 1%;
  content: '';
  display: block;
  float: left;
  background-color: #E8EBED;
  position: absolute;
  right: 5px;
  top: 0;
  height: 36px;
}

.table-fixed tbody {
  height: 230px;
  overflow-y: auto;
  width: 100%;
}

.table-fixed thead, .table-fixed tbody, .table-fixed tr, .table-fixed td, .table-fixed th {
  display: block;
}

.table-fixed tbody td, .table-fixed thead > tr> th {
  float: left;
  border-bottom-width: 0;
} */

.table-responsive-y {
    height: 230px;
    overflow-y: auto;
}

.table input[type="text"],
.table input[type="email"],
.table input[type="date"],
.table select {
    min-width: 120px !important;
}


/* --------------------------------------------------------------- */
/*                             LOGOMARCA                           */
/* --------------------------------------------------------------- */

.logomarca {
    max-height: 86px;
    object-fit: contain;
    aspect-ratio: 16/9;
    border-radius: 5px;
    padding: 5px;
    margin: 4px;
    background-color: rgba(255, 255, 255);
}


/* --------------------------------------------------------------- */
/*                        TABELA TERMOMETRO                        */
/* --------------------------------------------------------------- */


table.table-termometer tbody tr {
    background-color: #dc2626 !important;
    color: #FFF;
}

table.table-termometer tbody tr[rank-a] {
    background-color: #10b981 !important;
    color: #FFF;
}

table.table-termometer tbody tr[rank-b] {
    background-color: #fbbf24 !important;
    color: inherit;
}

.table-striped.table-termometer tbody tr:nth-of-type(2n+1) {
    filter: brightness(90%);
}

@keyframes savingAnimation {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.3;
    }
}

@media screen and (min-width: 1200px) {
    #imprimir {
        max-width: 920px;
    }
}
button i.icon-save::before {
    font-size: 1em;
    animation: savingAnimation 1s ease-in-out infinite;
    -o-animation: savingAnimation 1s ease-in-out infinite;
    -moz-animation: savingAnimation 1s ease-in-out infinite;
    -webkit-animation: savingAnimation 1s ease-in-out infinite;
}

@media print {

    /* --------------------------------------------------------------- */
    /*                          NÃO IMPRIMIR                           */
    /* --------------------------------------------------------------- */
    .no-print {
        display: none;
    }

    div.border {
        border: none !important;
    }


    /* --------------------------------------------------------------- */
    /*                         TABELA TERMOMETRO                        */
    /* --------------------------------------------------------------- */
    table.table-termometer tbody tr {
        color: inherit !important;
    }

    /* table.table-termometer tbody tr:nth-child(1),
    table.table-termometer tbody tr:nth-child(2),
    table.table-termometer tbody tr:nth-child(3),
    table.table-termometer tbody tr:nth-child(4) {
        background-color: #48A9A6 !important;
        color: #FFF;
        color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    table.table-termometer tbody tr:nth-child(5),
    table.table-termometer tbody tr:nth-child(6),
    table.table-termometer tbody tr:nth-child(7),
    table.table-termometer tbody tr:nth-child(8) {
        background-color: #F1D97E !important;
        color: inherit;
        color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    } */
    .table-foc td,
    .table-foc th {
        font-size: 10px;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

}


#chart {
    margin-left: auto;
    margin-right: auto;
}

.atualizacoes {
    height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

.atualizacoes h2 {
    font-size: 1.3em;
    text-align: center;
    background: #eee;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
}

/* .btnExportPdf{display:none;} */

.card.carga .card-body {
    max-height: 300px;
    overflow-y: scroll;
}

/* DATATABLES LAYOUTS */
.dt-button-collection .dropdown-menu {
    padding: 0;
}

.dropdown-item.buttons-columnVisibility:hover {
    background-color: #d0cece;
}

.dropdown-item.buttons-columnVisibility::before {
    content: '\f070';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

.dropdown-item.buttons-columnVisibility.active {
    background-color: white;
    color: black;
}

.dropdown-item.buttons-columnVisibility.active::before {
    content: '\f06e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}


dialog {
    border: 1px solid rgba(0, 0, 0, .125);
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, .7);
    backdrop-filter: blur(.7px);
}

dialog.dialog-full {
    width: 90%;
    height: 90%;
}

select[readonly] {
    background: #e9ecef;
    pointer-events: none;
    touch-action: none;
}

#route-info {
    position: absolute;
    top: 5%;
    left: 2rem;
    height: 90%;
    overflow: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    backdrop-filter: blur(.3rem);
    background-color: rgba(11, 9, 9, 0.2);
    -ms-overflow-style: none;
    scrollbar-width: none;
    overscroll-behavior: contain;
}

#route-info::-webkit-scrollbar {
    display: none;
}

.route-timeline {
    position: relative;
    padding-left: 1rem;
}

.route-timeline::before {
    content: '';
    position: absolute;
    width: .1rem;
    background-color: #17B890;
    min-height: 100%;
    top: 0;
    left: .2rem;
}

.route-detail {
    width: 100%;
    padding: .5rem 1rem;
    border-radius: .3rem;
    background-color: #fff;
    /*box-shadow: 0 1rem 3rem rgba(0,0,0,.175);*/
    position: relative;
}

.route-detail[open] > dl {
    display: flex;
    padding: 1rem;
    justify-content: space-around;
    color: #333;
}

.route-detail summary {
    list-style: none;
    padding: .5rem 1rem;
    margin: -.5rem -1rem;
    border-radius: .3rem;
    font-weight: 600;
    text-overflow: ellipsis;
}

.route-detail summary:hover {
    background-color: #f2f5f9;
}

.route-detail summary::-webkit-details-marker,
.route-detail summary::marker {
    display: none;
}

.route-detail summary::before {
    content: attr(data-number);
    font-size: .7rem;
    line-height: 1rem;
    text-align: center;
    color: #fff;
    width: 1rem;
    height: 1rem;
    position: absolute;
    top: .7rem;
    left: -1.28rem;
    border-radius: 50%;
    background-color: #17B890;
}


/* --------------------------------------------------------------- */
/*                        TABELA META                              */
/* --------------------------------------------------------------- */
table.table-meta tbody tr td[concluido] {
    /* background-color: #10b981 !important;
    color: #fff !important; */
    color: #10b981 !important;
}

table.table-meta tbody tr td[pendente] {
    /* background-color: #dc2626 !important;
    color: #fff !important; */
    color: #dc2626 !important;
}

.table-striped.table-meta tbody tr:nth-of-type(2n+1) {
    filter: brightness(90%);
}


/* --------------------------------------------------------------- */
/*                        PROGRESS BAR                             */
/* --------------------------------------------------------------- */
.progress-outer {
    background: var(--bs-body-bg);
    padding: 1.0px;
    border: 1px solid;
    border-radius: 2rem;
    /* margin-bottom: 10px; */
    position: relative;
}

.progress {
    border-radius: 2rem;
    margin: 0;
}

.progress .progress-bar {
    border-radius: 5px;
    box-shadow: none;
    animation: animate-positive 2s;
}

.progress .progress-value {
    font-size: 10px;
    font-weight: 700;
    color: var(--bs-body-color);
    position: absolute;
    top: 3px;
    right: 4px;

}

@keyframes animate-positive {
    0% {
        width: 0;
    }
}