:root {
    /*  Padrão  */
    --template1: #5cb7d3;
    /* Painel lateral */
    --template2: #0090c4;
    /* cor hover */
    --template3: #0086bb;
}
.field-icon {
  float: right;
  margin-left: -25px;
  margin-top: -25px;
  position: relative;
  z-index: 2;
  margin-right: 8px;
  cursor: pointer;
}
#mensagem-recuperar{
  color: var(--template1) !important;
  font-size: 13px;

}

.select2-selection__rendered {
    font-weight: 500;
    line-height: 36px !important;
    border-radius: 7px !important;
    border: 1px solid #c9c7c7;
}
.select2-container .select2-selection--single {
    height: 39px !important;
}
.select2-selection__arrow {
    height: 38px !important;
}


hr.separador {
  border: 1px dotted #666;
  border-radius: 5px;
}

.select2-selection__rendered {
    line-height: 35px !important;
}
.select2-container .select2-selection--single {
    height: 39px !important;
}
.select2-selection__arrow {
    height: 38px !important;
}
hr.separador {
  border: 1px dotted #666;
  border-radius: 5px;
}
.text-verde{
  color:#0e9e29;
}
.ocultar{
  display:none;
}
.textareag{
    width:1000px;
    height:550px;
}
.side-menu .slide .side-menu__item:hover {
    background-color: var(--template2);

}
.main-sidemenu {
    background-color: #2A2E3F;
}
.app-sidebar {
    background-color: #2A2E3F;
}

.slide-menu {
    border-left: 4px solid #de7b53;
    background-color: #2a2e3f !important;
    color: #ffffff;
}
.side-menu__item a{
    background-color: var(--template2);
    color: #ffffff;
}

.side-menu__item:hover .side-menu__icon,
.side-menu__item:hover .side-menu__label,
.side-menu__item:hover .angle {
    color: #ffffff !important;
    fill: #ffffff !important;

}
.slide-item.active,
.slide-item:hover,
.slide-item:focus {
    text-decoration: none;
    color: var(--template1) !important;

}
.app-sidebar .side-item.side-item-category {
    color: #7660a7;
}
.main-sidebar-header {
    background: #2A2E3F !important;
}
.main-header {
    background-color: #2A2E3F !important;
}
.slide-item .app-sidebar .slide-menu .slide-item:before:hover {
    color: var(--template1) !important;
}
.slide.is-expanded .slide-menu a:hover:before {
   color: var(--template1) !important;
}
.slide:hover .side-menu__label,
.slide:hover .angle {
    color: #fff !important;
    fill: #fff !important;
}
.header-icon-svgs {
    color: #ffffff;
    fill: #ffffff;
}
.font-size-11{
    font-size: 11px !important;
}

#calendar {
    max-width: 1320px;
    margin: 0 auto;
}

<style>
/* ==========================================================
   OTIMIZAO MOBILE 100% - SEM MEXER NA LGICA DE PROGRAMAO
   ========================================================== */
@media only screen and (max-width: 768px) {
    /* 1. Trava a largura da tela para eliminar a rolagem horizontal */
    html, body, .page, .main-content, .main-container {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    /* 2. Tabelas responsivas com rolagem interna isolada */
    .table-responsive, .dataTables_wrapper {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important; 
    }
    table, .table {
        max-width: 100% !important;
    }

    /* 3. Modais ocupando 95% da tela do celular de forma confortvel */
    .modal-dialog {
        width: 95vw !important;
        max-width: 95vw !important;
        margin: 10px auto !important;
    }
    .modal-body {
        overflow-x: hidden !important;
        padding: 15px !important;
    }

    /* 4. Ajustes absolutos para os campos Select2 no estourarem */
    .select2-container, 
    .select2-container .select2-selection--single, 
    .select2-dropdown, 
    .select2-results__options {
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 100% !important;
    }

    /* 5. Menus suspensos, dicas e textos longos */
    .dropdown-menu, .dropdown-item-text {
        width: 100% !important;
        max-width: 90vw !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 6. Janelas de alerta do SweetAlert adaptadas para toque */
    .swal2-popup {
        width: 95vw !important;
        padding: 1em !important;
    }
    .swal2-actions {
        flex-direction: column !important;
        width: 100% !important;
    }
    .swal2-actions button {
        width: 90% !important;
        margin: 5px auto !important;
    }

    /* 7. Inputs, selects e caixas de texto com preenchimento total */
    input, select, .form-control, .input-group {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 8. Imagens de preview centralizadas */
    #divImg {
        text-align: center !important;
        margin-top: 10px !important;
        margin-bottom: 15px !important;
        width: 100% !important;
    }
}
</style>