.count-faixa{
    font-size: 1.5rem;
    padding: 1rem;
}
#tamanhoRaio{
    padding: 0.7rem !important;
}
#alertaOrientacao .overlay {
    position: fixed;
    inset: 0;
    background: #f2f6fc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
    text-align: center;
    font-size: 1.2rem;
}

#alertaOrientacao img {
    max-width: 150px;
    margin-bottom: 1rem;
}

@media (max-width: 576px){
    /*CELULAR VERTICAL XS*/
     .btn-none,
     .form-control-none{
        display: none;
    }
    .dt-layout-table,
    .dt-layout-full{
        margin-top: 0 !important;
    }
    div.dt-search{
        text-align: right !important;
    }
    .dt-container > .row.mt-2:nth-of-type(1) {
        margin-top: 0 !important;
    }
    .mt-custom{
        margin-top: 0.8rem !important;
    }
    #todos,
    #semviagem,
    #viagemvazio,
    #viagemcarregado,
    #viagemnoprazo,
    #viagemcomatraso,
    #viagemnodestino,
    #rowForaFaixaDegelo,
    #rowForaFaixa,
    #rowAusenciaTemperatura,
    #rowFaixaTemperatura,
    #rowNaFaixa{
        display: none !important;
    }
    .dt-search label{
        display: none !important;
    }
    .form-check-label{
        font-size: 0.8rem !important;
    }
    .page-header-subtitle{
        font-size: 0.9rem !important;
    }
    .modal fade{
        display: flex !important;
        justify-content: center !important;
    }
    .modal-sm{
        width: 70% !important;
        margin: 0 auto !important;
    }
    .shadow-sm-none {
        box-shadow: none !important;
    }
    #primeiroFilho{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #segundoFilho{
        width: 100%;
        margin-top: -10rem !important;
    }
    .fullscreen{
        display: none !important;
    }
    #titleCard{
        display: none;
    }
    #titleCardLogo{
        display: flex !important;
    }
    .card-footer{
        padding: 0.5rem;
    }
    .authBody{
        background: #f2f6fc !important;
    }
    #cardLogin{
        background: #f2f6fc !important;
        margin-top: 0 !important;
    }
    .cards-grid{
        width: 100% !important;
        padding-left: 0.1rem !important;
        padding-right: 0.1rem !important;
        padding-bottom: 0.2rem !important;
    }
    .mt-xs-1{
        margin-top: 0.5rem !important;
    }
    .page-header .page-header-content .page-header-title {
        line-height: normal;
        font-size: 1.3rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        align-items: baseline;
        margin-bottom: 0;
    }
    #cardBody{
        padding: 0 !important;
        padding-top: 2rem !important;
    }
    .count-faixa{
        font-size: 1rem !important;
        padding: 0.5rem !important;
    }
    .card-footer{
        padding: 0.5rem !important;
    }
    .stretched-link{
        font-size: 0.8rem !important;
    }
}

@media (min-width: 576px) and (max-width: 768px){
    /*CELULAR VERTICAL SM*/
    .shadow-sm-none {
        box-shadow: none !important;
    }
    .login-sm{
        display: flex !important;
        justify-content: center !important;
        align-items: end !important;
    }
    #titleCard{
        display: none;
    }
    #titleCardLogo{
        display: flex !important;
    }
    .authBody{
        background: #f2f6fc !important;
    }
    #cardLogin{
        background: #f2f6fc !important;
        margin-top: 0 !important;
    }
    div.dt-search{
        text-align: right !important;
    }
    .dt-search label{
        display: none !important;
    }
    .card-header,
    .modal-header{
        font-size: 0.8rem !important;
    }
    .col-modal-custom{
        width: 50% !important;
        margin-bottom: 1rem !important;
        display: flex !important;
        flex-direction: column  !important;
    }
    #modalLOADLabel{
        font-size: 1rem !important;
    }
    #spin{
        font-size: 5rem !important;
    }
    label{
        font-size: 0.9rem !important;
    }
    #modalLOAD > modal-body{
        padding: 1rem !important;
    }
    .leaflet-touch .leaflet-control-layers,
    .leaflet-touch .leaflet-bar {
        border: 0px  !important;
        background-clip: padding-box  !important;
    }
    .dt-info{
        font-size: 0.7rem !important;
    }
    .card-body{
        padding: 0.7rem !important;
    }
    span.dt-column-title {
        font-size: 0.8rem !important;
    }
    .dt-container > .row.mt-2:nth-of-type(1) {
        margin-top: 0 !important;
    }
    .dt-layout-table{
        margin-bottom: 1rem !important;
    }
    #tableBuscaReferencia_wrapper > .dt-layout-table{
        margin-top: 0 !important;
    }
    #tableBuscaReferencia_wrapper table {
        width: 100%;
        min-width: 0; /* evita corte horizontal */
    }
    #tableBuscaReferencia_wrapper {
        max-height: 100vh;
        box-sizing: border-box;
    }
    .dt-layout-start{
        display: none !important;
        font-size: 0.7rem !important;
        margin-bottom: 1rem !important;
    }
    .dt-layout-end{
        margin-bottom: 0rem !important;
        font-size: 0.7rem !important;
    }
    div .dt-container .row{
        --bs-gutter-y: 0rem !important;
    }
    .page-link{
        font-size: 0.7rem !important;
    }
    .stretched-link{
        font-size: 0.7rem !important;
    }
    .fs-7{
        font-size: 0.7rem !important;
    }
    .dt-layout-table .dt-layout-full{
        margin-top: 0 !important;
    }
    .page-header-title{
        font-size: 1.3rem !important;
    }
    .page-header-subtitle{
        font-size: 0.9rem !important;
    }
    #tamanhoRaio{
        padding-top: 0.2rem !important;
        padding-bottom: 0.2rem !important;
    }
    .list-group > li{
        font-size: 0.9rem !important;
    }
    .row > .col-8 .col-4{
        padding: 0.1rem !important;
    }
    .page-header-subtitle-header{
        font-size: 1rem !important;
    }
    .mt-4{
        margin-top: 0.5rem !important;
    }
    .small{
        font-size: 0.8rem  !important;
    }
    .cards-grid{
        flex: 1 0 0% !important;
        padding-left: 0.1rem !important;
        padding-right: 0.1rem !important;
        padding-bottom: 1rem !important;
    }
    .card-footer{
        padding: 0.5rem;
    }
    .card-header{
        padding: 0.6rem !important;
    }
    .count-faixa{
        font-size: 1rem !important;
        padding: 0.5rem !important;
    }
}

@media (min-width: 768px) and (max-width: 992px){
    /*CELULAR VERTICAL MD*/
    label{
        font-size: 0.9rem !important;
    }
    .card-header,
    .modal-header{
        font-size: 0.9rem !important;
    }
    .leaflet-touch .leaflet-control-layers,
    .leaflet-touch .leaflet-bar {
        border: 0px  !important;
        background-clip: padding-box  !important;
    }
    #tableBuscaReferencia_wrapper > .dt-layout-table{
        margin-top: 0 !important;
    }
    #tableBuscaReferencia_wrapper table {
        width: 100%;
        min-width: 0; /* evita corte horizontal */
    }
    #tableBuscaReferencia_wrapper {
        max-height: 100vh;
        box-sizing: border-box;
    }
    .dt-container > .row.mt-2:nth-of-type(1) {
        margin-top: 0 !important;
    }
    .dt-layout-start{
        font-size: 0.7rem !important;
    }
    .dt-layout-end{
        font-size: 0.7rem !important;
    }
    #todos,
    #semviagem,
    #viagemvazio,
    #viagemcarregado,
    #viagemnoprazo,
    #viagemcomatraso,
    #viagemnodestino {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .card-body{
        padding: 0.7rem !important;
    }
    .fs-7{
        font-size: 0.8rem !important;
    }
    .mt-custom{
        margin-top: 0.8rem !important;
    }
    .cards-grid{
        flex: 1 0 0% !important;
        padding-left: 0.1rem !important;
        padding-right: 0.1rem !important;
        padding-bottom: 1rem !important;
    }
    .count-faixa{
        font-size: 1.2rem !important;
        padding: 0.5rem !important;
    }
    .card-footer{
        padding: 0.5rem;
    }
    .stretched-link{
        font-size: 0.7rem !important;
    }
    .fs-custom{
        font-size: 1rem !important;
    }
    .page-header .page-header-content .page-header-title {
        line-height: normal;
        font-size: 1.1rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        align-items: baseline;
        margin-bottom: 0;
    }
    .page-header-subtitle{
        font-size: 1rem !important;
    }
    .page-link{
        font-size: 0.7rem !important;
    }
}

#modalReferenciasVisualizarEditarDados .col-6 {
    display: flex;
    flex-direction: column;
    max-height: 100%;
    overflow-y: auto;
}

.header-img {
    background-color: black !important;
    background-image: url(/public/static/img/b3.jpg) !important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.col-checklist{
    flex: 0 0 auto;
    width: 21%;
}

.danger-200 {
    background-color: #FCA5A5; /* vermelho claro */
}

.dark-200 {
    background-color: #6B7280; /* cinza escuro leve */
}

.warning-200 {
    background-color: #FEF08A;
}

.authBody {
    background-image: url(/public/static/img/home.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

@media only screen and (min-width: 992px) {
    .header-img {
        background-image: url(/public/static/img/b3.jpg) !important;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
}

@media only screen and (min-width: 1200px) {
    .header-img {
        background-image: url(/public/static/img/b3.jpg) !important;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
}

@media only screen and (min-width: 1500px) {
    .header-img {
        background-image: url(/public/static/img/b3.jpg) !important;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-10px);
    }
    40% {
        transform: translateX(10px);
    }
    60% {
        transform: translateX(-10px);
    }
    80% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0);
    }
}

.roboto {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

.shake {
    animation: shake 0.5s;
}

body::after {
/*    content: "XS";*/
    position: fixed;
    bottom: 0;
    right: 0;
    background: black;
    color: white;
    font-size: 12px;
    padding: 4px;
    z-index: 9999;
}

@media (min-width: 0px) {
/*    body::after {
        content: "Xs";
    }*/
    .dt-search label{
        display: none !important;
    }
    .dt-length label{
        display: none !important;
    }
    h5{
        font-size: 1rem !important;
    }
}

@media (min-width: 576px) {
/*    body::after {
        content: "SM";
    }*/
    .col-modal-custom{
        width: 50% !important;
        margin-bottom: 1rem !important;
    }
    .modal-body .card-body{
        padding: 0.7rem !important;
    }
    .px-custom{
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

@media (min-width: 768px) {
/*    body::after {
        content: "MD";
    }*/
}

@media (min-width: 992px) {
/*    body::after {
        content: "LG";
    }*/
    h1{
        font-size: 2rem !important;
    }
    .page-header-subtitle{
        font-size: 1rem !important;
    }
}
@media (min-width: 1200px) and (max-width: 1400px){
/*    body::after {
        content: "XL";
    }*/
    .stretched-link{
        font-size: 0.9rem !important;
    }
    .px-custom{
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .fs-7{
        font-size: 0.8rem !important;
    }
    .dt-container > .row.mt-2:nth-of-type(1) {
        margin-top: 0 !important;
    }
    .dt-length,
    .dt-search,
    .dt-info,
    .page-link{
        font-size: 0.8rem !important;
    }
    #rowTables > .col-12{
        padding: 0 !important;
    }
    .small{
        font-size: 0.7rem !important;
    }
    .cards-grid{
        width: 100% !important;
        padding-left: 0.1rem !important;
        padding-right: 0.1rem !important;
        padding-bottom: 0.5rem !important;
    }
    h5{
        font-size: 1rem !important;
    }
    h1{
        font-size: 1.5rem !important;
    }
    .page-header
    .page-header-content
    .page-header-subtitle{
        font-size: 1rem !important;
    }
    #enter{
        padding: 0.7rem 0.5rem;
        font-size: 0.875rem;
        border-radius: 0.25rem;
    }
    #inputEmailAddress,
    #inputPassword {
        min-height: calc(1em + 1rem + 2px) !important;
        padding-top: 0.7rem !important;
        padding-bottom: 0.7rem !important;
        font-size: 0.75rem !important;
        border-radius: 0.25rem !important;
    }
    #cardLogin {
        width: 85% !important;
    }
    .form-check-label{
        font-size: 0.8rem !important;
    }
}
@media (min-width: 1400px) {
/*    body::after {
        content: "XXL";
    }*/
     .dt-search label{
        display: inline-block !important;
    }
    .dt-length label{
        display: inline-block !important;
    }
    .count-faixa{
        font-size: 3rem;
        padding: 1rem;
    }
    .form-check-label{
        font-size: 0.8rem !important;
    }
    #inputEmailAddress,
    #inputPassword {
        min-height: calc(1em + 1rem + 2px) !important;
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
        font-size: 1rem !important;
        border-radius: 0.25rem !important;
    }
    .cards-grid{
        width: 100% !important;
        padding-left: 0.3rem !important;
        padding-right: 0.3rem !important;
        padding-bottom: 1rem !important;
    }
    #rowTables > .col-12{
        padding: 0 !important;
    }
}

.search-input {
    display: none;
    position: absolute;
    opacity: 0;
    transition: left 0.3s ease, opacity 0.5s ease, transform 0.5s ease;
    transform: translateX(-50%);
    width: 100%;
}

/* Garantir que o modal tenha um z-index menor */
#modalContatosEditar_Detalhes {
    z-index: 1051; /* Certifique-se de que o modal tenha um z-index menor */
}

/* Ajuste o z-index do dropdown do Selectize para que ele fique acima do modal */
.selectize-dropdown {
    z-index: 1060 !important;  /* Valor maior que o z-index do modal */
}

.search-input.show {
    display: block;
    left: 0;
    top: 0;
    opacity: 1;
    transition: opacity 0.5s ease;
    transform: translateX(0);
}
.select2-container--open {
    z-index: 1051 !important;
}

#selectContatos {
    position: relative;
    z-index: 1050;
}

.card img {
    position: relative;
    top: 0;
    left: 0;
    justify-content: center;
    width: 35%;
    height: auto;
    object-fit: scale-down;
    z-index: 1;
}
.modal {
    overflow: visible;
}
.selectAbsolute {
    position: relative;
    z-index: 1050; /* valor mais alto que o z-index do modal */
}

.card-body {
    position: relative; /* Necessário para que o z-index do card-body funcione corretamente */
    z-index: 2;         /* Garante que o conteúdo do card-body fique acima da imagem */
}

.card-footer {
    position: relative; /* Necessário para que o z-index do card-footer funcione corretamente */
    z-index: 2;         /* Garante que o conteúdo do card-footer fique acima da imagem */
}


.grid {
    border: transparent;
}
.grid .nav {
    display: flex !important;
    justify-content: space-evenly !important;
    padding: 0;
}
.grid .nav-tabs {
    border-bottom-color: transparent;
    font-weight: 500;
}
.grid .nav-tabs .nav-item .nav-link {
    border-bottom: 0;
    display: inline-flex;
    align-items: center;
}
.grid .nav-tabs .nav-item .nav-link.active {
    border-color: transparent;
    background-color: #2f2f2f;
    color: white;
}
.grid .nav-tabs .nav-item .nav-link .img-pug {
    height: 1em;
    padding: 1px 0;
}
.grid .grid-text {
    background-color: #f2f6fc;
    font-size: 0.875rem;
    padding: 1.5rem;
}

.grid .tab-pane {
    border-radius: 0.35rem;
}

.bg-gerensat {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-gerensat-rgb), var(--bs-bg-opacity)) !important;
}

.localizacao {
    max-width: 20ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-block-start: 0;
    margin-block-end: 0;
}

.motorista {
    max-width: 13ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-block-start: 0;
    margin-block-end: 0;
}

.trasportadora {
    max-width: 20ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-block-start: 0;
    margin-block-end: 0;
}

/*.gridDatahora {
    max-width: 17ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-block-start: 0;
    margin-block-end: 0;
}*/

.pNowrap {
    white-space: nowrap;
    margin-block-start: 0;
    margin-block-end: 0;
}
.fs-7{
    font-size: 0.9rem;
}
.carregamento {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.carregamento div {
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 16px;
    background: #333333;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.carregamento div:nth-child(1) {
    left: 8px;
    animation-delay: -0.24s;
}
.carregamento div:nth-child(2) {
    left: 32px;
    animation-delay: -0.12s;
}
.carregamento div:nth-child(3) {
    left: 56px;
    animation-delay: 0;
}

.btn-outline-gray {
    --bs-btn-color: var( --bs-gray-custom);
    --bs-btn-border-color: #c5ccd6;
    --bs-btn-hover-color: var( --bs-gray-custom);
    --bs-btn-hover-bg: #c5ccd6;
    --bs-btn-hover-border-color: #c5ccd6;
    --bs-btn-focus-shadow-rgb: 33, 40, 50;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #c5ccd6;
    --bs-btn-active-border-color: #212832;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #212832;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #212832;
    --bs-gradient: none;
}

@keyframes spinning {
    from {
        transform: rotate(0deg)
    }
    to {
        transform: rotate(360deg)
    }
}
@keyframes bounceOnce {
    from {
        transform: translateY(0); /* Inicia sem deslocamento */
    }
    50% {
        transform: translateY(-10px); /* Aumenta o deslocamento para cima */
    }
    to {
        transform: translateY(0); /* Retorna à posição original */
    }
}

/* Aplica a animação bounce uma única vez ao ícone */
.bounce-once {
    animation: bounceOnce 0.5s ease forwards;
}

.spin {
    animation-name: spinning;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    /* linear | ease | ease-in | ease-out | ease-in-out */
    animation-timing-function: linear;
}
.spin:hover {
    animation-duration: 1s;
}

.spinhov:hover {
    animation-name: spinning;
    animation-duration: 1s;
    animation-iteration-count: 3;
    /* linear | ease | ease-in | ease-out | ease-in-out */
    animation-timing-function: ease-in-out;
}

@keyframes spin3D {
    from {
        transform: rotateY(0deg)
    }
    to {
        transform: rotateY(360deg)
    }
}

.spin3D {
    animation-name: spin3D;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    /* linear | ease | ease-in | ease-out | ease-in-out */
    animation-timing-function: ease-in-out;
}

.spin3D:hover {
    animation-duration: 1s;
}

.spinhov3D:hover {
    animation-name: spin3D;
    animation-duration: 1s;
    animation-iteration-count: 3;
    /* linear | ease | ease-in | ease-out | ease-in-out */
    animation-timing-function: ease-in-out;
}

@keyframes animatetop {
    from {
        top:-300px;
        opacity:0
    }
    to {
        top:0;
        opacity:1
    }
}

.w3-animate-top{
    position:relative;
    animation:animatetop 0.4s
}

@keyframes tilt-shaking {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.tilthov:hover {
    animation-name: tilt-shaking;
    animation-duration: 0.15s;
    animation-iteration-count: 3;
}

.tilt {
    animation: tilt-shaking 0.15s infinite;
}

@keyframes colorAlert {
    0% {
        background-color: red;
    }
    25% {
        background-color: orange;
    }
    50%{
        background-color: red;
    }
    75%{
        background-color: orange;
    }
    100% {
        background-color: red;
    }
}

@keyframes colorAlertFlash {
    0% {
        background-color: red;
    }
    10% {
        opacity: 1;
    }
    15% {
        opacity: .1;
    }
    20% {
        opacity: 1;
    }
    25% {
        background-color: orange;
    }
    35% {
        opacity: 1;
    }
    40% {
        opacity: .1;
    }
    55% {
        opacity: 1;
    }
    50%{
        background-color: red;
    }
    60% {
        opacity: 1;
    }
    65% {
        opacity: .1;
    }
    70% {
        opacity: 1;
    }
    75%{
        background-color: orange;
    }
    85% {
        opacity: 1;
    }
    90% {
        opacity: .1;
    }
    95% {
        opacity: 1;
    }
    100% {
        background-color: red;
    }
}

@keyframes textAlert {
    0% {
        color: black;
    }
    25% {
        color: red;
    }
    50%{
        color: black;
    }
    75%{
        color: red;
    }
    100% {
        color: black;
    }
}

.text-alert {
    animation: textAlert 5s infinite;
}

.alertaDiv {
    animation: colorAlert 10s infinite;
}
.alertaDivFlash {
    animation: colorAlertFlash 10s infinite;
}

/* Flash class and keyframe animation */
.flashit{
    -webkit-animation: flash linear 1s infinite;
    animation: flash linear 1s infinite;
}
@-webkit-keyframes flash {
    0% {
        opacity: 1;
    }
    50% {
        opacity: .1;
    }
    100% {
        opacity: 1;
    }
}
@keyframes flash {
    0% {
        opacity: 1;
    }
    50% {
        opacity: .1;
    }
    100% {
        opacity: 1;
    }
}

.loading {
    position: absolute;
    background-color: #040404bd;
    z-index:1002;
    overflow: auto;
    align-items: center;
    justify-content: center;
    display:none;
}

.truncate-15 {
    max-width: 15ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.truncate-20 {
    max-width: 20ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.truncate-25 {
    max-width: 25ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.truncate-30 {
    max-width: 30ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.truncate-35 {
    max-width: 35ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.truncate-40 {
    max-width: 40ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.truncate-45 {
    max-width: 45ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.truncate-50 {
    max-width: 50ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



