.vertical-collpsed .vertical-menu #sidebar-menu > ul > li {
    white-space: initial;
}

.flag-translation{

    border: 2px solid #ffffff;
    border-radius: 30px;
    padding: 1px;
    cursor: pointer;
}

.flag-translation:hover{
border: 2px solid black;
}

.flag-translation-active{
border: 2px solid black;
    border-radius: 30px;
    padding: 1px;
    cursor: pointer;

}

.toast-black {
    border: 2px solid #343a40 !important;
    background-color: rgb(20, 23, 25) !important;
}

#toast-container > .toast-black:hover {
    opacity: 1;
}

.z-index-999{
    z-index: 999!important;
}

.logo-login{
    max-width: 400px;
}
.dataTables_filter{
    display: none;
}
#datatable_filter{
    display: none;
}
@media only screen and (min-width: 768px) {
    #buttons-datatable, #buttons-datatableModal  {
        float: right;
    }
}
@media only screen and (max-width: 767px) {
    .btn-registro{
        width: 100%;
    }
}
body:not(.modal-open){
    padding-right: 0 !important;
}
.h-map-400{
    height: 400px;
}
.btn-cadastrar-topo{
    border: 1rem solid #ffffff;
}
@media only screen and (max-width: 992px) {
    .logo span.logo-sm {
        display: none !important;
    }
}

@media only screen and (max-width: 520px) {
    .dtr-details .dtr-data .btn-badge-data {
        display: block;
        width: 100%;
    }
}

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

.bg-genesis.bg-soft {
    background-color: rgba(254,200,61, 0.25) !important; }

.select2-container {
    display: block!important;
}

.dtr-details{
    width: 100%;
}

.sk-cube-grid {
    width: 40px;
    height: 40px;
    margin: 100px auto;
}

.sk-cube-grid .sk-cube {
    width: 33%;
    height: 33%;
    background-color: #ffffff;
    float: left;
    -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
    animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}
.sk-cube-grid .sk-cube1 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s; }
.sk-cube-grid .sk-cube2 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s; }
.sk-cube-grid .sk-cube4 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
    -webkit-animation-delay: 0s;
    animation-delay: 0s; }
.sk-cube-grid .sk-cube8 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s; }

@-webkit-keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    } 35% {
          -webkit-transform: scale3D(0, 0, 1);
          transform: scale3D(0, 0, 1);
      }
}

@keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    } 35% {
          -webkit-transform: scale3D(0, 0, 1);
          transform: scale3D(0, 0, 1);
      }
}

@keyframes sk-chase-dot {
    80%, 100% { transform: rotate(360deg); }
}

@keyframes sk-chase-dot-before {
    50% {
        transform: scale(0.4);
    } 100%, 0% {
          transform: scale(1.0);
      }
}

.wizard .steps > ul > li a {
    height: 100%;
}

.select2-dropdown {
    z-index: 1060;
}

.label-required:after {
    content: '*';
    --bs-text-opacity: 1;
    color: rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important;
}

label .avatar-xs{
    width: .85rem;
    height: .85rem;
    font-size: 0.5rem;
}

.vertical-align{
    display: flex;
    justify-content: right;
    align-items: center;
}

.dtr-data{
    white-space: normal;
    word-break: break-word;
}

.datepicker{
    z-index: 1002 !important;
}
@media only screen and (min-width: 768px) {
    .img-thumbnail {
        max-width: 400px !important;
    }
}

.vertical-collpsed .vertical-menu {
    position: fixed !important;
}

.dropdown-item.buttons-columnVisibility{
    padding: 0.35rem 0.5rem;
    background: #fff !important;
}

.dropdown-item.buttons-columnVisibility span{
    margin-left: 5px;
}

.dropdown-item.buttons-columnVisibility:before{
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f00c';
    --bs-text-opacity: 1;
    margin-left: 5px;
    color:transparent!important;
}

.dropdown-item.buttons-columnVisibility.active:before {

    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f00c';
    --bs-text-opacity: 1;
    color: rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important;
}
#buttons-datatable .dropdown-menu{
    height: 250px;
    width: 180px;
    overflow: scroll;
}

#buttons-datatable .dropdown-menu::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

#buttons-datatable .dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}
#buttons-datatable .dropdown-menu::-webkit-scrollbar-thumb {
    background: #888;
}
#buttons-datatable .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #555;
}

table.dataTable.dtr-column>tbody>tr>td.control:before{
    width: 1em !important;
    height: 1em !important;
}

table.table-bordered.dataTable td:last-child, table.table-bordered.dataTable td:last-child {
    border-bottom: 1px solid #eff2f7 !important;
}

.tb-opcoes span{
    display: none;
}
table.dataTable>thead .control-table.sorting_asc:before{
    opacity: 0 !important;
}
table.dataTable>thead .control-table.sorting_asc:after{
    opacity: 0 !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #adb5bd !important;
}
.w-btn{
    max-width:70px;
    min-width: 50px;

}
.btn-zoom{
    padding: 6px 10px 6px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5px ;
}
.btn-outline-color{
    background-color:#282929 ;
    color: white;
}
.btn-outline-color:hover{
    background-color:white ;
    color: #282929;
}
.btn-outline-color{
    background-color:#282929 ;
    color: white;
    transition: ease all .6s;
}
.btn-outline-color:hover{
    background-color:white ;
    color: #282929;
    border: #282929 solid 1px;
    transition: ease all .6s;
}
.text-color{
    color: #282929;
}
.btn-color{
    background-color:#282929 ;
    color: white;
    transition: ease all .6s;
}
.btn-color:hover{
    background-color:#000000 ;
    color: white;
    transition: ease all .6s;
}
.img-tutorial:hover{
    transform: scale(1.15);
    transition: ease all .8s;
}


.fav-track {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: .25rem;
    -ms-overflow-style: none;
    scrollbar-width: none;

    .fav-track::-webkit-scrollbar {
        display: none;
    }

    /* cartão */

    .fav-card {
        flex: 0 0 48%;
    }

    @media (min-width: 768px) {
        .fav-card {
            flex: 0 0 45%;
        }
    }

    .fav-thumb {
        width: 100%;
        height: 140px;
        background: #fff;
    }

    .object-fit-cover {
        object-fit: cover;
    }

    .fav-overlay {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: .5rem .6rem;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 60%);
        color: #fff;
    }

    .fav-title {
        font-size: .9rem;
        font-weight: 600;
    }

    .fav-nav {
        z-index: 2;
        border-radius: 999px;
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
/* evita seleção durante drag */
.user-select-none { user-select: none; }
.is-dragging { cursor: grabbing; }

/* botões laterais: mais visíveis e clicáveis */
.fav-nav, .ma-nav{
    z-index: 3;
    border-radius: 999px;
    width: 36px; height: 36px;
    display:flex; align-items:center; justify-content:center;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
    position: absolute; top: 60%; transform: translateY(-60%);
}



.fav-nav:hover, .ma-nav:hover{ background: #fff; }

.ma-track{
    display:flex; gap:.75rem;
    overflow-x:auto; scroll-behavior:smooth;
    padding-bottom:.25rem;
    -ms-overflow-style:none; scrollbar-width:none;
}


.ma-card{ flex:0 0 48%; }         /* ~2 por “linha” visual no mobile */
@media (min-width:768px){ .ma-card{ flex:0 0 45%; } }

.ma-thumb{ width:100%; height:140px; background:#fff; position:relative; }
.ma-overlay{
    position:absolute; left:0; right:0; bottom:0;
    padding:.5rem .6rem; color:#fff;
    background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 60%);
}
.ma-title{ font-size:.9rem; font-weight:600; }

.ma-nav{
    z-index:3; border-radius:999px;
    width:36px; height:36px; display:flex; align-items:center; justify-content:center;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.ma-nav.start-0 { left:.35rem !important; }
.ma-nav.end-0   { right:.35rem !important; }

