@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/css/fontawesome-all.min.css'); 
}
.theme-dark select > option {
    background-color: black;
}
.min-width-300
{
    min-width: 300px;
}
.min-width-200
{
    min-width: 200px;
}

.min-width-100
{
    min-width: 100px;
}

.min-width-70
{
    min-width: 70px;
}

/* PAGINA IMPOSTAZIONI*/
#nosort_imp::after,
#nosort_imp::after,
#nosort_imp::after {
  display: none !important;
}
#nosort_imp::before,
#nosort_imp::before,
#nosort_imp::before {
  display: none !important;
}

/* PAGINA FATTURE */
.nosort_fv::after,
.nosort_fv::after,
.nosort_fv::after {
  display: none !important;
}
.nosort_fv::before,
.nosort_fv::before,
.nosort_fv::before {
  display: none !important;
}



/* PAGINA BLOCCO LICENZA SCADUTA */

#blocco_licenza_scaduta
{
  width: 100vw!important;
  min-width: 100vw!important;
  z-index: 999999999999999999999999999;
  height: 100vh;
  min-height: 100vh;
  background-color: red;
  position: fixed;
  top: 0;
  left: 0;
}

/* IMPOSTAZIONI CSS TABELLA */
.theme-dark .table {
    color: #f1f1f1;
}
.bt_azioni_tab:hover {
    background-color: #4a89dc;
}
.bt_azioni_tab:hover i {
    color: #ffffff;
}

/*vecchio colore riga sel: #4A89DC nuovi colori riga sel chiara: #e5e5e9 scura: #2c2c2e */
.riga_sel {
    background-color:#e5e5e9 !important;
    /*color: #ffffff !important;*/
}
.riga_sel td{
    background-color:#e5e5e9 !important;
    /*color: #ffffff !important;*/
}

.theme-dark .riga_sel,.theme-dark .riga_sel {
    background-color:#2c2c2e !important;
    color: #ffffff !important;
}
.theme-dark .riga_sel td,.theme-dark .riga_sel{
    background-color:#2c2c2e !important;
    color: #ffffff !important;
}

/* VECCHI CSS RIMOSSI PERCHé HO CAMBIATO COLORE DI RIGA_SEL*/
/*.riga_sel .bt_azioni_tab
{
    background-color: #4a89dc!important;
    color: #ffffff!important;
    border: 1px solid #ffffff!important;
}
.riga_sel .bt_azioni_tab:hover,.riga_sel .bt_azioni_tab i:hover
{
    background-color: #ffffff!important;
    color: #4a89dc!important;
}*/
/* IMPOSTAZIONI CSS PAGINAZIONE */
.pagination .page-item {
    margin-right: 0px;
    margin-left: 1px;
}
.page-item.active .page-link {
    background-color:#4A89DC;
    color: #ffffff;
}
.pagination a {
    color: #727272;
}
.page-link:hover {
    color: #4A89DC;
}

/* versione dark */
.theme-dark .page-item.active .page-link {
    background-color:#4A89DC;
    color: #ffffff;
}
.theme-dark .pagination a {
    color: #727272;
}
.theme-dark .page-link {
    background-color: #1b1d21;
}
.theme-dark .page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* IMPOSTAZIONI CSS FILTRO CERCA */
.ddCutSpan
{
    display: inline-block;
    width: 53px;
    padding: 0;
    height: 53px!important;
    font-size: 12px;
    line-height: 53px!important;
    text-align: center;
    border-radius:14px;
    border:1px solid #aaa;
}

.theme-light .ddCutSpan
{
    background-color: #fff;
}
.sel-clienti {
    position: relative;
}
/* campo select */
.sel-clienti .invalid
{
    position: absolute;
    top: 50%;
    margin-top: -4px;
    right: 20px;
}

.select2-container {
    width: 100% !important;
}
.select2-selection {
    height: 53px !important;
    border-right-width: 1px !important;
    border-top-width: 1px !important;
    padding-left: 13px !important;
    padding-right: 10px !important;
    border-radius: 0px !important;
    font-size: 12px;
    border-color: rgba(0, 0, 0, 0.08) !important;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
    color: #727272 ;
}
.select2-selection__rendered {
    padding: 0;
    height: 53px!important;
    font-size: 12px;
    line-height: 53px!important;
}

.select2-selection__choice, .select2-selection__choice__remove
{
    height: 30px!important;
    line-height: 30px!important;
}
.select2-selection--multiple, .select2-selection
{
    height: 53px!important;
    line-height: 53px!important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice
{
    vertical-align: middle!important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice
{
    background-color: #4a89dc!important;
    color:#ffffff!important;
    border-left-color: #ffffff!important;
    border-right-color: #ffffff!important;
    border-top-color: #ffffff!important;
    border-bottom-color: #ffffff!important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove
{
    background-color: #4a89dc!important;
    color:#ffffff!important;
}
.select2-container .select2-search--inline .select2-search__field
{
    vertical-align: middle!important;
}
/* versione dark */
.theme-dark .select2-selection {
    border-color: #32363b !important;
}  

/* label */
.sel-clienti .color-theme.text-uppercase {
    opacity: 1;
    left: 23px !important;
    transform: translateX(-14px) !important;
    margin-left: 0px !important;
    position: absolute;
    padding: 0px 5px !important;
    height: 23px;
    font-size: 12px;
    transition: all 250ms ease;
    background-color: #FFF;
    top: -12px;
  }

/* dropdown */
.select2-container--open .select2-dropdown {
    top: 5px;
}
.select2-container--open .select2-dropdown--above {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.select2-dropdown {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #727272;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #727272 !important;
}

/* focus select */
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #4A89DC;
}

/* versione dark */
.theme-dark .select2-dropdown {
    background-color: #21252a;
    border: 1px solid #32363b !important;
}
.theme-dark .select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #32363b !important;
}
  
.theme-dark .select2-selection,.theme-dark .select2-selection--single
{
    color: #FFF !important;
    background-color:transparent !important;

}
.select2-selection__arrow
{
    top: 13px!important;
}

.theme-dark .select2-selection__rendered
{
    color: #ffffff !important;
}

.theme-light .select2-search__field
{
    color:#1f1f1f!important
}

/* datepicker */

.ui-datepicker
{
   background-color: #ffffff;
   border: 1px solid;
   border-color: rgb(211, 211, 211);
}
.ui-datepicker-header
{
    background-color: #4A89DC;
    color:#ffffff ;
}

.theme-dark .ui-datepicker
{
    background-color: #21252a;
    border: 1px solid #32363b !important;
   
}
.theme-dark .ui-datepicker-header
{
    background-color: #4A89DC;
    color:#ffffff ;
}
/*
.ui-datepicker-prev 
{
    content: "\f005";  Inserisci il codice dell'icona qui 
    font-family: "Font Awesome 5 Free";
}
*/


.ui-datepicker-prev,.ui-datepicker-next
{
    text-align: center;
}

.ui-datepicker-prev::after
{
    content: "\f104"; 
    font-family: "FontAwesome";
    text-align: center;
    color: white;

}

.ui-datepicker-next::after
{
    content: "\f105"; 
    font-family: "FontAwesome";
    text-align: center;
    color: white;

}
.ui-datepicker-calendar td
{
    text-align: center;
}

.ui-datepicker-calendar a
{
    color: #4A89DC;
    text-align: center!important;
}

.ui-datepicker-calendar a:hover
{
    font-weight: 600;
}

.ui-state-active
{
    border: 1px solid #4a89dc74!important;
    background-color: #1e3d65!important;
    color: white!important;
    font-size: 1.2em!important;
    padding:2px!important;
}
.ui-state-highlight
{
    text-decoration: none!important;
    font-size: 1.1em!important;
    padding:2px!important;
    border:1px solid #4a89dc74!important;
    background-color: #4a89dc56!important;
}

/* Selettori mese/anno del jQuery UI Datepicker */
/* Layout header del datepicker */
.ui-datepicker .ui-datepicker-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Stile base per i select mese/anno */
.ui-datepicker .ui-datepicker-title select {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-color: #4A89DC!important; /* leggero contrasto sul blu */
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
  border-radius: 2px !important; /* nessun arrotondamento */
  padding: 4px 28px 4px 10px;   /* spazio a destra per la freccia */
  font-weight: 500;
  line-height: 1.2;
  box-shadow: none !important;
  outline: 0 !important;

  /* Freccia ▼ personalizzata (SVG bianca) */
  background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'>\<path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px 12px;
}

/* Larghezze minime */
.ui-datepicker select.ui-datepicker-month { min-width: 90px; }
.ui-datepicker select.ui-datepicker-year  { min-width: 72px; }

/* Effetto hover e focus */
/* Linea divisoria tra mese e anno */
.ui-datepicker select.ui-datepicker-month {
  border-right-color: rgba(255,255,255,0.35) !important;
}

.ui-datepicker-close
{
    display: none;
}
.conf_lett_preview
{
    font-size:1.3em;
    cursor: pointer;
    color: #4A89DC;
}
.conf_lett_preview:hover
{
    text-decoration: underline;
    color: #2a6496;
}
/* notifiche agenzia delle entrate */

#modaleRicevuteView ul,#modaleRicevuteView li
{
    list-style-type: none;
    padding: 0; /* Rimuove l'indentazione/rientro */
    margin: 0; /* Rimuove il margine esterno */
}



.theme-dark #modaleRicevuteView .modal-content,.theme-dark #modaleFvAcqView .modal-content
{
    background-color: #21252a;
}

.theme-dark #modaleRicevuteView li
{
    color: #FFF !important;
}

.ric_err_r
{
    color:#fff;
    width: 100%;
}

.cursore
{
    cursor: pointer;
}

.fvacqVi
{
    max-width: none!important;min-width: 1000px;width:1000px;
    height: 700px;
    min-height: 700px;
    background-color: white;

}

.contenitore_chiudiFv
{
    position: relative;
    margin-top: 5px;
    margin-right: 5px;
    text-align: right;

}

/* modale fatture acquisto */

.theme-dark .modal-content
{
    background-color: #21252a !important;
}

/* classi per select e campo testo (tipo selezione valuta e importo) sulla stessa riga */
.d_inp_span
{
    left:100px!important
}

.d_inp_select
{
    width:115px!important;
    display:inline-block!important;
}

.d_inp_text
{
    display:inline-block!important;
    width:calc(100% - 120px)!important;
}

/* classi per personalizzare il file input (rimosso bottone) */

input[type=file]::file-selector-button {
    display: none;
}

input[type=file]::-webkit-file-upload-button {
    display: block;
    width: 0;
    height: 0;
    margin-left: -100%;
}

input[type=file]::-ms-browse {
    display: none;
}

.obbligatorio::after
{
    content: "*";
    
}

.modal-footer .row
{
    width: 100%;
}

.avviso_obb, .theme-dark .modal-footer .avviso_obb
{
    color:#e37c7c!important;
}


/* Stili per la colonna mobile di datatable */
.swipe-container {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
    border: 0px;
    background-color: transparent;
    height: auto!important;
}

.swipe-content {
    transition: transform 0.3s;
    transform: translateX(0);
}

.swipe-options {
    justify-content: flex-end;
    position: absolute;
    top: 0;
    left: 100%;
    width: auto;
    min-width:130px;
    box-shadow: -5px 0px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.2s;
    height: 100%!important;
}

.swipe-container.swipe-show .swipe-content {
    transform: translateX(-100px);
}

.swipe-container.swipe-show .swipe-options {
    transform: translateX(calc(-100% + 0px));
    opacity: 1;
    pointer-events: auto;
}

  
.swipe-uno-btn_OLD
{
    height: 45%;
    margin-top:5%;
}
.swipe-due-btn_OLD
{
    height: 45%;
    margin-bottom:5%;
}


.swipe-uno-btn span
{
    border-bottom:none!important;
}
.swipe-uno-btn  i,.swipe-due-btn  i
{
    width:50px!important;
    line-height: 50px!important;
}

.swipe-content .icon-xxs i
{
    width:45px!important;
    height: 45px!important;
    line-height: 45px!important;
}

.swipe-options-left {
    display: flex;
    justify-content: flex-start;
    position: absolute;
    top: 0;
    right: 100%;
    width: auto;
    height: 100%;
    box-shadow: 5px 0px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.2s;
}
.swipe-container.swipe-show-left .swipe-content {
    transform: translateX(70px);
}

.swipe-container.swipe-show-left .swipe-options-left {
    transform: translateX(calc(100% - 0px));
    opacity: 1;
    pointer-events: auto;
}


.oscillate
{
    position: relative;
    animation: oscillateAnimation 2s ease-in-out 3;
}
  
  /* Definizione dell'animazione */
@keyframes oscillateAnimation {
    0%, 100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(4px);
    }
}


/* Rimuovi la selezionabilità della riga quando lo slider è aperto */
.select-info
{
    display: none!important;
}
div.dtfc-left-top-blocker, div.dtfc-right-top-blocker
{
    display: none!important;
}
.theme-dark div.dataTables_scrollBody,.theme-dark div.dataTables_scrollHeadInner table.table-bordered tr th:first-child
{
    /*border-left: none!important;*/
 
    border-left: 1px solid rgba(255, 255, 255, 0.125)!important;
}
table.dataTable tbody tr>.dtfc-fixed-left, table.dataTable tbody tr>.dtfc-fixed-right
{
    border-left: none!important;
}
.select2-container .select2-selection--multiple 
{
    height: auto!important;
}
@media (min-width: 767.98px)
{
    #pg_home_avsf .card
    {
        min-height:506px!important;
    }
    #modaleResidence_img
    {
        max-height: 500px;
        overflow-y: scroll;
        overflow-x: hidden;
    }
}
@media (max-width: 767.98px) {
    /* Regole CSS da applicare ai dispositivi "sm" */

    #blocco_back h1
    {
        font-size:20px!important;
    }
    .margin_mobile_filtri
    {
        margin-bottom: 20px!important;
    }

    .margin_special
    {
        margin-top:30px!important
    }
    .mobile_hide,div.dataTables_scrollHead table.dataTable 
    {
        display: none;
    }
    div.dataTables_scrollBody>table>tbody tr:first-child td
    {
        border-top: 1px solid rgba(0, 0, 0, 0.125)!important;
      
    }
    .theme-dark div.dataTables_scrollBody>table>tbody tr:first-child td
    {
        border-top: 1px solid rgba(255, 255, 255, 0.125)!important;
    }
    .dataTables_length
    {
        margin-bottom:20px!important;
    }
    .select2-container .select2-selection--multiple 
    {
        height: auto!important;
    }
}

.theme-dark .filepond--drop-label
{
    background-color: #1b1d21 !important;
}

/*#ricerca_res_rmtype_div span.select2-selection.select2-selection--multiple
{
    height:53px!important;
    min-height: 53px!important;
}*/

.box_facilities_custom
{
    border: 1px solid #e5e5e9;
    position:relative;
    min-height: 53px!important;
    padding-top: 15px;
    padding-left: 10px;
    padding-bottom: 15px;
}
.theme-dark .box_facilities_custom
{
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.box_facilities_label
{
    position:absolute;
    display: inline-block;
    top:-13px;
    left:12px;
    padding-left: 4px;
    padding-right: 4px;
    background-color: #ffffff;
}

.box_facilities_custom .form-check
{
    display: inline-block!important;
    min-width: 197px!important;
}

.theme-dark .box_facilities_custom .form-check label
{
    background-color: transparent!important;
}


.box_facilities_custom2
{
    position:relative;
    border: 1px solid #e5e5e9;
    padding:10px;
}

.theme-dark .box_facilities_custom2
{
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.box_facilities_label2
{
    position:absolute;
    display: inline-block;
    top:-13px;
    left:12px;
    padding-left: 4px;
    padding-right: 4px;
    background-color: #ffffff;
}

.box_facilities_custom2 .form-check
{
    display: inline-block!important;
    min-width: 143px!important;
}

.theme-dark .box_facilities_custom2 .form-check label
{
    background-color: transparent!important;
}

.toast-tiny 
{
    z-index: 1060!important;
    max-width: 500px!important;
}
.nuovo_errore
{
    border-color: #d9626b!important;
}
.theme-dark .nuovo_errore
{
    border-color: #d9626b!important;
}
.theme-dark input:not([type=file]).nuovo_errore,
.theme-dark select.nuovo_errore,
.theme-dark textarea.nuovo_errore {
    border-color: #d9626b!important;
}

.theme-light input:not([type=file]).nuovo_errore,
.theme-light select.nuovo_errore,
.theme-light textarea.nuovo_errore {
    border-color: #d9626b!important;
}

.bt_azioni_dropdown
{
    display: inline-block!important;
    width: 40px!important;
    height: 40px!important;
}
.bt_azioni_dropdown::after
{
    display: none!important;
}

.header-logo
{
    background-size: 45px 45px;
    background-position: center;
}


.logo_login
{
    height: 100px;
}

.forgot_pw
{
    display: block; 
    text-decoration:underline;
}

.theme-light input:disabled
{
    background-color: white!important;
}

#modaleLeadDirect .dataTables_length,#modaleLeadDirect .dataTables_info,#modaleLeadDirect .dataTables_paginate,#modaleTicket .dataTables_length,#modaleTicket .dataTables_info,#modaleTicket .dataTables_paginate
{
    display: none;
}

#modaleLeadDirect_op_tb_revenue_wrapper .row,#modaleLeadDirect_op_tb_revenue_wrapper .col-md-12,#modaleTicket_file_wrapper .row,#modaleTicket_file_wrapper .col-md-12

{
    margin-bottom: 0px!important;
    padding-bottom: 0px!important;
}


#modaleLeadInvoiceLd .dataTables_length,#modaleLeadInvoiceLd .dataTables_info,#modaleLeadInvoiceLd .dataTables_paginate
{
    display: none;

}

#modaleLeadInvoiceLd_tb_revenue_wrapper .row,#modaleLeadInvoiceLd_tb_revenue_wrapper .col-md-12
{
    margin-bottom: 0px!important;
    padding-bottom: 0px!important;
}

#modaleLeadClose .dataTables_length,#modaleLeadClose .dataTables_info,#modaleLeadClose .dataTables_paginate
{
    display: none;

}
#modaleOpportClose_documents_wrapper .row,#modaleOpportClose_documents_wrapper .col-md-12
{
    margin-bottom: 0px!important;
    padding-bottom: 0px!important;
}
#modaleLeadCloseCont_documents_wrapper .row,#modaleLeadCloseCont_documents_wrapper .col-md-12
{
    margin-bottom: 0px!important;
    padding-bottom: 0px!important;
}

#modaleLeadCloseCont_pandadoc_wrapper .row,#modaleLeadCloseCont_pandadoc_wrapper .col-md-12
{
    margin-bottom: 0px!important;
    padding-bottom: 0px!important;
}


#modaleLeadCloseCont_invoice_wrapper .row,#modaleLeadCloseCont_invoice_wrapper .col-md-12
{
    margin-bottom: 0px!important;
    padding-bottom: 0px!important;
}
#modaleLeadCloseCont_tbbooking_wrapper .row,#modaleLeadCloseCont_tbbooking_wrapper .col-md-12
{
    margin-bottom: 0px!important;
    padding-bottom: 0px!important;
}
#modaleOpportClose_invoice_wrapper .row,#modaleOpportClose_invoice_wrapper .col-md-12
{
    margin-bottom: 0px!important;
    padding-bottom: 0px!important;
}
#modaleResidence .dataTables_length,#modaleResidence .dataTables_info,#modaleResidence .dataTables_paginate,#modaleOpportClose .dataTables_length,#modaleOpportClose .dataTables_info,#modaleOpportClose .dataTables_paginate
{
    display: none;

}

#modaleResidence_f_floorplan_wrapper .row,#modaleResidence_f_floorplan_wrapper .col-md-12
{
    margin-bottom: 0px!important;
    padding-bottom: 0px!important;
}


.note-btn
{
    color: black!important;
}

.theme-dark .note-btn
{
    color: black!important;
}

.theme-dark .note-current-fontname span, .theme-dark .note-btn-group span, .theme-dark .note-dropdown-menu span
{
    color: black!important;
}

.step-indicator {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.step-indicator li {
    text-align: center;
    position: relative;
    flex-grow: 1;
}

.step-indicator li .step {
    width: 30px;
    height: 30px;
    line-height: 30px;
    border: 2px solid #ddd;
    display: inline-block;
    border-radius: 50%;
    background-color: #fff;
    color: #ddd!important;
    z-index: 2;
    position: relative;
}

.step-indicator li.completed .step {
    border-color: #4A89DC !important;
    color: #4A89DC !important;
}

.step-indicator li .label {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #ddd;
}

.step-indicator li.completed .label {
    color:  #666; /* Sostituisci con il colore desiderato per le etichette completate */
}

.step-indicator li:not(:last-child):after {
    content: '';
    position: absolute;
    width: calc(100% - 4px);
    height: 2px;
    background-color: #ddd;
    top: 15px;
    left: calc(50% + 15px);
    z-index: 1;
}

.step-indicator li.completed:not(:last-child):after {
    background-color: #4A89DC !important;
}


.step-indicator li.activeM .step {
    border-color:#4A89DC !important;
    color: #4A89DC !important;
}

.step-indicator li.activeM .label {
    color:  #4A89DC !important;
}

.step-indicatorSep
{
    border-bottom: 1px solid #f8f6f6;
    width: 100%;
    margin-top:20px
    
}

.p_finebook
{
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: bold;
    color:  #4A89DC !important;
}

/* stili numero telefonico internazionale 
background-color: #FFF;
*/

.inp_st
{
    position: relative;
    margin-bottom: 15px !important;
}
.inp_st label
{
    opacity: 1;
    left: 23px !important;
    top: -12px !important;
    transform: translateX(-14px) !important;
    margin-left: 0px !important;
    position: absolute;
    padding: 0px 5px !important;
    height: 23px;
    font-size: 12px;
    transition: all 250ms ease;
    background-color: #FFF;
    
}
.iti
{
    width: 100%!important; 
}
.inp_st input
{
    height: 53px;
    border-left-width: 1px !important;
    border-right-width: 1px !important;
    border-top-width: 1px !important;
    border-radius: 0px !important;

}

.theme-light input
{
    color: #727272;

}

.theme-dark .iti__dropdown-content
{
    background-color: #21252a!important;
    color: #ffffff!important;
}

.theme-dark .iti__globe
{
    color: #ffffff!important;
}

.errore_tel
{
    position: absolute;
    top: 22px;
    right: 10px;
}

/* fine stili numero telefonico internazionale */

.btn_icon_c
{
    width: 40px;
    height: 40px;
    display: inline-block;
    text-align: center;
    line-height: 40px;
    margin-right: 15px;
    
}

/* inizio stili per la pagina drag & drop */
.btnBookingOpp
{
   height: 53px;
    width: 53px;
    line-height: 49px;
    font-size: 22px;
    margin-top: 8px;
    border-color: #4A89DC;
    color: #4A89DC;
    cursor: pointer;
    border: 1px solid;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
}


.dd-cut-active
{
    background-color: rgb(255, 194, 0)!important;
}
.dd_selected_unsorted {
    outline: 2px solid #32f1ff;   /* o quello che vuoi */
    /* oppure background, box-shadow, ecc. */
}

/* Chrome/Edge/Safari */
.vis-native-hscroll::-webkit-scrollbar { display: initial !important; height: 12px; }
.vis-native-hscroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,.35); border-radius: 6px; }
.vis-native-hscroll::-webkit-scrollbar-track { background: rgba(0,0,0,.12); }
.vis-native-hscroll { scrollbar-width: thin; -ms-overflow-style: auto; }
.vis-labelset
{
    min-width: 400px;
    max-width: 400px;
    width: 100%;
}

/*.dd_intestazione_col_room
{
    max-width: 402px;
    min-width: 402px;
    width: 100%;
    position: fixed;
    top:0px;
    left:1px;
    background: #e2e5f3;
    z-index: 999999999;
    border-top:1px solid #ccc;

}*/
.dd_intestazione_col_room
{
    max-width: 402px;
    min-width: 402px;
    width: 100%;
    position: fixed;
    top:0px;
    left:0px;
    z-index: 999999999;
}

.theme-dark .dd_intestazione_col_room
{
    background-color: #1b1d21;
}

.vis-time-axis .vis-text {
    height: 50px; /* Aumenta l'altezza secondo necessità */
    line-height: 20px; /* Assicurati che il testo sia centrato verticalmente */
    white-space: normal; /* Permette di andare a capo nel testo se necessario */
}

.theme-light .vis-minor.vis-odd
{
    background-color: #eeeeee;
}

.theme-light .vis-minor.vis-even
{
    background-color: #ffffff;
}
.theme-light .vis-time-axis.vis-foreground .vis-minor.vis-saturday
{
    background-color: #fffdea;
}
.theme-light .vis-time-axis.vis-foreground .vis-minor.vis-sunday
{
    background-color: #fff3d0;
}



.theme-dark .vis-minor.vis-odd
{
    background-color: #2c2c2e;
}

.theme-dark .vis-minor.vis-even
{
    background-color: #21252a;
}

.theme-dark .vis-minor.vis-saturday
{
    background-color: #141438;
}

.theme-dark .vis-minor.vis-sunday
{
    background-color: #0f0f34;
}

.theme-dark .vis-text.vis-major,.theme-dark .vis-text.vis-minor
{
    color: #ffffff;
}

.vis-text.vis-minor
{
    border-top: 1px solid #d9d9d9;
}
.vis-text.vis-major
{
    font-size: 14px;
    font-weight: bold;
}

.theme-dark .vis-inner
{
    color: #ffffff;
}

#dd_intestazione_col_room
{
    height: 100px;
    
}

.theme-light #dd_intestazione_col_room
{
    background: #f7f7f7 !important;
    border-bottom: 1px solid #ccc;
}

.calendar_room_gr
{
    display: grid!important;
    grid-template-columns: repeat(3, 1fr)!important;
    width: 100%!important;
}
.calendar_room_gr div:nth-child(3)
{
    margin-left: 20px;
}

.vis-inner
{
    width: 100%;
}

#timeline-container {
    /*height: calc(100vh - 200px);  rimuovo il limite all'altezza avendo rimosso il div delle unsorted */
    position: relative;
    overflow: scroll;
}

#timeline {

overflow-y: scroll;
position: relative;
}
.contenitore_unsorted
{
    position: absolute;
    top: calc(100vh - 220px);
    left: 0px;
    height: 200px;
    overflow-y: scroll;
    display: block;
    width: 100%;
    box-shadow: 0px -4px 6px -2px rgba(0, 0, 0, 0.1);
    z-index: 9;
}

.resizer {
    cursor: ns-resize; /* Cursore di ridimensionamento verticale */
}

.theme-light .contenitore_unsorted
{
    background-color: #ffffff;
}

.theme-dark .contenitore_unsorted
{
    background-color: #1b1d21;
}

.group {
padding: 10px;
margin: 5px;
background-color: #f0f0f0;
}
.dd_daallocare
{
    
    display: flex;
    flex-direction: column;
    align-items: left;
   
}
#external-items {

    display: flex;
    flex-direction: column;
    align-items: left;

  
}

.external-item {
    padding: 0px;
    padding-left: 5px;
    padding-right: 5px;
    height: 26px;
    margin-bottom: 5px;
    background-color: #b3dc8e;
    border: 1px solid #b3dc8e;
    cursor: grab;
    color:#1a1a1a;
}
.external-item2
{
    padding: 10px;
    margin-bottom: 5px;
    background-color: #b3dc8e;
    border: 1px solid #b3dc8e;
    color:#1a1a1a;
}
.vis-item .vis-delete {
    left: -24px!important;
}
.dd_non_available,.dd_allocated
{
    top: 0px !important;
    height: 34px;
    line-height: 34px;
}

.theme-light .dd_non_available
{
   
    background-color: rgba(67, 74, 84, 0.9) !important;
    color: #FFF !important;
    border-color: #434A54 !important;
}

.theme-light .dd_allocated
{
    border-color: #ccc !important;
}

.theme-dark .dd_allocated
{
  
    border-color: #ccc !important;
}

.dd_allocated_paid
{
    background-color: #b3dc8e !important;
}
.theme-dark .dd_allocated_paid
{
    background-color: #b3dc8e !important;
}
.theme-light .dd_allocated_paid
{
    background-color: #b3dc8e !important;
}

.dd_allocated_provisional
{
    background-color: #7e807f !important;
}

.theme-dark .dd_allocated_provisional
{
    background-color: #7e807f !important;
}

.dd_allocated_partial_paid
{
    background-color: #f1ca86 !important;
}
.theme-dark .dd_allocated_partial_paid
{
    background-color: #f1ca86 !important;
}
.theme-light .dd_allocated_partial_paid
{
    background-color: #f1ca86 !important;
}


.dd_allocated_not_paid
{
    background-color: #e37c7c !important;
}

.theme-dark .dd_allocated_not_paid
{
    background-color: #e37c7c !important;
}
.theme-light .dd_allocated_not_paid
{
    background-color: #e37c7c !important;
}

.dd_not_allocated_not_paid
{
    background-color: #e37c7c !important;
    border-color: #e37c7c !important;
}
.theme-dark .dd_not_allocated_not_paid
{
    background-color: #e37c7c !important;
    border-color: #e37c7c !important;
}
.theme-light .dd_not_allocated_not_paid
{
    background-color: #e37c7c !important;
    border-color: #e37c7c !important;
}

.dd_not_allocated_partial_paid
{
    background-color: #f1ca86 !important;
    border-color: #f1ca86 !important;
}
.theme-dark .dd_not_allocated_partial_paid
{
    background-color: #f1ca86 !important;
    border-color: #f1ca86 !important;
}
.theme-light .dd_not_allocated_partial_paid
{
    background-color: #f1ca86 !important;
    border-color: #f1ca86 !important;
}

.dd_not_allocated_paid
{
    background-color: #b3dc8e !important;
    border-color: #b3dc8e !important;
}
.theme-dark .dd_not_allocated_paid
{
    background-color: #b3dc8e !important;
    border-color: #b3dc8e !important;
}
.theme-light .dd_not_allocated_paid
{
    background-color: #b3dc8e !important;
    border-color: #b3dc8e !important;
}

.theme-dark .dd_non_available
{
   
    background-color: rgba(67, 74, 84, 0.9) !important;
    color: #FFF !important;
    border-color: #434A54 !important;
}
.c_logo_home_big
{
    max-width: 50%;
}

.vis-panel.vis-top
{
    /*background-color: red;
    border-top:1px solid #ccc;
    border-bottom: 1px solid #ccc;
    */
    position: fixed;
    /*top:114px!important;*/
    top:0px!important;
    left: 417px!important;
    background: white;
    z-index: 999999999;
    border:none!important;
    border-top-left-radius: 14px !important;
    border-top-right-radius: 14px !important;
    
  
}

.theme-dark .vis-panel.vis-top
{
    background-color: #1b1d21;
}

/*.vis-labelset .vis-label, .vis-itemset .vis-item {
    height: 26px;
}
.vis-group
{
    max-height: 26px!important;
}

.vis-left .vis-label
{
    max-height: 26px!important;
}

*/
.vis-labelset .vis-label:last-child,.vis-foreground .vis-group:last-child
{
    border-bottom: 1px solid #ccc;

}
.vis-item .vis-item-content
{
    padding-top: 0px;
    padding-bottom: 0px;
}
.vis-editable
{
    top:0px!important;
}

.dd_intestazione_filtri, .dd_intestazione_filtri select
{
    font-weight: bold!important;
    margin-bottom: 10px!important;

}

.vis-panel.vis-left, .vis-panel.vis-center
{
    top: 120px !important;
}
.vis-time-axis.vis-foreground
{
    top:20px!important;
}
.theme-light .dd_intestazione_filtri, .theme-light .dd_intestazione_filtri select
{
    background: #f7f7f7 !important;
}

.theme-light #pg_calendar
{
    background: #f7f7f7 !important
}

/*.theme-light .vis-panel.vis-top
{
    background: #f7f7f7 !important
}*/

.dd_intestazione_headertab
{
    font-size: 0.8em;
    border-top-left-radius: 14px !important;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px !important;
    margin-left:-1px!important;
}

.theme-light .dd_intestazione_headertab
{
    background: #ffffff !important;
}

#pg_calendar .stepper a
{
    font-size:12px!important
}
/* fine stili per la pagina drag & drop */

.elimina_filtro
{
    position: absolute;
    right: -7px;
    top: -7px;
    background-color: white;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    border: 1px solid #e37c7c;
    line-height: 14px;
    cursor: pointer;
}

.home_result
{
    border-radius: 3px;
    padding: 10px;
}

.home_result .col-md-2
{
    max-width: 70px;
    align-content:center;
}

.home_result_lead, .home_result_contact, .home_result_account, .home_result_opp, .home_result_invoice, .home_result_booking, .home_result_room, .home_result_residence, .home_result_product
{
    border: 1px solid #e37c7c;
}

.home_result_availability
{
    border: 1px solid #4A89DC;
}

.theme-dark #home_card_graph text, .theme-dark #home_card_graph_bookging text
{
    fill: #ffffff!important;
}

.theme-dark #home_card_graph .google-visualization-tooltip text, .theme-dark #home_card_graph_bookging .google-visualization-tooltip text
{
    fill: #1b1d21!important;
   
}




/* inizio stili la nuova interfaccia calendar errati */
/*
.vis-group[data-group="x"] {
    height: auto !important;
    max-height: none !important;
}

.vis-item.vis-range {
    height: auto !important;
    min-height: 30px;
}

.vis-item {

    position: relative;
    z-index: 1;
}


.vis-item-overflow {
    overflow: visible !important;
}



.gruppo_fisso
{
    position: fixed;
    bottom: 0px;
    left: 0px;
    z-index: 999999999;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #ccc;
}
    #timeline-unsorted .vis-item-overflow {
    overflow: visible !important;
}
*/
/* fine stili la nuova interfaccia calendar errati */

#timeline-unsorted .vis-group[data-group="gr_uns"] {
    height: auto !important;
    max-height: none !important;
}

#timeline-unsorted .vis-item.vis-range {
    height: auto !important;
    min-height: 30px;
}

#timeline-unsorted .vis-item {

    position: relative;
    z-index: 1;
}





#timeline-container {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Occupa tutta l'altezza della finestra */
    position: relative; /* Necessario per posizionare timeline-unsorted */
}

#timeline {
    flex-grow: 1; /* Permette alla timeline di espandersi */
    overflow-y: auto; /* Scorrimento verticale */
}

#timeline-unsorted {
    
    border-top: 1px solid #ccc;
    overflow-x: auto; /* Scorrimento orizzontale */
    position: relative; /* Fissa la posizione */
}

.theme-light #timeline-unsorted
{
    background-color: #ffffff;
}

#timeline-unsorted .vis-center
{
    top:0px!important;
}

/*.theme-light .resizer
{
    
    background: #cbcde0;
}
    

.vis-panel.vis-center, 
.vis-panel.vis-left, 
.vis-panel.vis-right {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
}
    
*/


.resizer
{
    border-top-left-radius: 14px!important;
    border-top-right-radius: 14px!important;
    border-left:1px solid;
    border-top:1px solid;
    border-right:1px solid;
   
}

#resizer
{
    position: absolute;
    top:9px;
    right:15px;
}

.theme-light #resizer
{
    color:#d6d6d6
}

.stepper
{
    margin-right: 50px;
}
.theme-light .resizer
{
    background-color: #ffffff!important;
    border-color:#d8d8d8!important;
}
#resizer {
    cursor: ns-resize;
    
}
#timeline {
    flex-grow: 1;
    overflow-y: auto; /* Scorrimento verticale */
    overflow-x: hidden; /* Nasconde eventuali contenuti orizzontali che si estendono */

}

.vis-grid {
    width: 100px; /* Imposta una larghezza fissa per le colonne */
}

.vis-time-axis .vis-grid {
    width: 100px; /* Assicurati che le griglie della timeline abbiano la stessa larghezza */
}

.vis-timeline {
    overflow-x: auto; /* Permette lo scorrimento orizzontale */
}

/*#timeline-unsorted .vis-center
{
    background: rgba(0, 0, 0, 0.2);
}
*/

#timeline-unsorted .vis-panel.vis-center,#timeline-unsorted .vis-panel.vis-left,#timeline-unsorted .vis-panel.vis-right
{
    border-bottom-style: none; 
     border-top-style: none;
}

/*.theme-light #timeline .vis-panel.vis-left
{
    background: #e2e5f3;
}*/

.theme-light #timeline-unsorted .vis-panel.vis-left
{
    background: #ffffff;
}


/*.theme-light .dd_intestazione_col_room .select2-container--default .select2-selection--single
{
    background: #e2e5f3;
}*/

.vis-timeline
{
    border:none!important;
}

#dd_anno_div
{
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom:0px!important;
}

#dd_anno
{
    border-radius: 14px!important;
}

.theme-light #dd_anno
{
    background:#ffffff!important;
}

#dd_residenece_id_div
{
    padding-right: 13px!important  ;
}

#dd_residenece_id_div .select2-container--default .select2-selection--single 
{
    border-radius: 14px!important;
}


.theme-light .vis-labelset .vis-label:nth-child(odd) {
    background-color: #eaeaea!important; /* Colore per le righe dispari */
}

.theme-light .vis-labelset .vis-label:nth-child(even) {
    background-color: #ffffff!important; /* Colore per le righe pari */
}

.theme-light .vis-foreground .vis-group:nth-child(odd) {
    background-color: #eaeaea!important; /* Colore per le righe dispari */
}

.theme-light .vis-foreground .vis-group:nth-child(even)
{
    background-color: #ffffff!important; /* Colore per le righe pari */
}

#timeline-unsorted .vis-left
{
   top:0px!important;
}

#timeline-unsorted .vis-group-level-0
{
   border-bottom:none!important;
}
/* test nuova sticky unsorted*/

#timeline-unsorted .vis-panel.vis-center {
    min-height: 200px; /* Imposta un'altezza minima adeguata */
    overflow-y: auto; /* Permette lo scorrimento verticale */
    height: auto!important;
}

#timeline-unsorted .vis-item {
    cursor: grab;
}

#timeline-unsorted .vis-item:active {
    cursor: grabbing;
}


#timeline-unsorted .vis-item.vis-readonly {
    pointer-events: all !important;
    user-select: all !important;
    cursor: grab !important;
}

.dd_unsorted_group_fn
{
   
}

#timeline-unsorted .vis-label.vis-group-level-0.dd_unsorted_group_fn
{
    visibility: hidden;
}

.drag_element_customN
{
    width: 400px;
    height: 40px;
    background-color: rgba(216,216,216,0.9);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 15px;
    line-height: 40px;
}

.new_not_allocated span
{
    display: block;
    width: 3px;
    position: absolute;
    left: 5px; /* Posizionamento a sinistra del contenitore */
    top: 5px; /* Padding superiore */
    bottom: 5px; /* Padding inferiore */
    width: 3px!important; /* Spessore della linea */
}

.new_not_allocated_not_paid span,.new_not_allocated_not_paid2
{
    background-color: #e37c7c !important;
}

.new_not_allocated_paid span,.new_not_allocated_paid2
{
    background-color: #b3dc8e !important;
}

.new_not_allocated_partial_paid span,.new_not_allocated_partial_paid2
{
    background-color: #f1ca86 !important;
}

.new_not_allocated_provisional span,.new_not_allocated_provisional2
{
    background-color: #7e807f !important;
}

.theme-dark .new_not_allocated_not_paid span,.theme-dark .new_not_allocated_not_paid2
{
    background-color: #e37c7c !important;
}
.theme-dark .new_not_allocated_paid span,.theme-dark .new_not_allocated_paid2
{
    background-color: #b3dc8e !important;
}
.theme-dark .new_not_allocated_partial_paid span,.theme-dark .new_not_allocated_partial_paid2
{
    background-color: #f1ca86 !important;
}
.theme-dark .new_not_allocated_provisional span,.theme-dark .new_not_allocated_provisional2
{
    background-color: #7e807f !important;
}


.new_not_allocated p
{
    margin-bottom: 0px;
    margin-left: 10px;
    margin-top:2px;
}

.new_not_allocated 
{
    background-color: #d8d8d8  ;
}

.new_not_allocated-vertical-line
{
    position: absolute; /* Posizione assoluta per posizionarla correttamente */
    left: 5px; /* Posizionamento a sinistra del contenitore */
    top: 5px; /* Padding superiore */
    bottom: 5px; /* Padding inferiore */
    width: 3px; /* Spessore della linea */
   
}

.new_not_allocated_error2
{
    background-color: blue; 
}

/*
  INIZIO NUOVA GESTIONE FILTRI PAGINE
*/
#sezione_filtri_leads .input-style.has-borders input,
#sezione_filtri_contacts .input-style.has-borders input,
#sezione_filtri_accounts .input-style.has-borders input,
#sezione_filtri_opp .input-style.has-borders input,
#sezione_filtri_invoice .input-style.has-borders input,
#sezione_filtri_tickets .input-style.has-borders input,
#sezione_filtri_rooms .input-style.has-borders input,
#sezione_filtri_residences .input-style.has-borders input,
#sezione_filtri_prtemplates .input-style.has-borders input,
#sezione_filtri_occupancies .input-style.has-borders input,
#sezione_filtri_globalsearchNew .input-style.has-borders input
{
    height: 36px;
}

#sezione_filtri_leads .select2-container .select2-selection--multiple,
#sezione_filtri_contacts .select2-container .select2-selection--multiple,
#sezione_filtri_accounts .select2-container .select2-selection--multiple,
#sezione_filtri_opp .select2-container .select2-selection--multiple,
#sezione_filtri_invoice .select2-container .select2-selection--multiple,
#sezione_filtri_tickets .select2-container .select2-selection--multiple,
#sezione_filtri_rooms .select2-container .select2-selection--multiple,
#sezione_filtri_residences .select2-container .select2-selection--multiple,
#sezione_filtri_prtemplates .select2-container .select2-selection--multiple,
#sezione_filtri_occupancies .select2-container .select2-selection--multiple,
#sezione_filtri_globalsearchNew .select2-container .select2-selection--multiple
{
    height: 36px!important;
}

#sezione_filtri_leads .input-style.has-borders select,
#sezione_filtri_contacts .input-style.has-borders select,
#sezione_filtri_accounts .input-style.has-borders select,
#sezione_filtri_opp .input-style.has-borders select,
#sezione_filtri_invoice .input-style.has-borders select,
#sezione_filtri_tickets .input-style.has-borders select,
#sezione_filtri_rooms .input-style.has-borders select,
#sezione_filtri_residences .input-style.has-borders select,
#sezione_filtri_prtemplates .input-style.has-borders select,
#sezione_filtri_occupancies .input-style.has-borders select,
#sezione_filtri_globalsearchNew .input-style.has-borders select
{
    height: 36px!important;
}

#sezione_filtri_leads .select2-selection--multiple, #sezione_filtri_leads .select2-selection,
#sezione_filtri_contacts .select2-selection--multiple, #sezione_filtri_contacts .select2-selection,
#sezione_filtri_accounts .select2-selection--multiple, #sezione_filtri_accounts .select2-selection,
#sezione_filtri_opp .select2-selection--multiple, #sezione_filtri_opp .select2-selection,
#sezione_filtri_invoice .select2-selection--multiple, #sezione_filtri_invoice .select2-selection,
#sezione_filtri_tickets .select2-selection--multiple, #sezione_filtri_tickets .select2-selection,
#sezione_filtri_rooms .select2-selection--multiple, #sezione_filtri_rooms .select2-selection,
#sezione_filtri_residences .select2-selection--multiple, #sezione_filtri_residences .select2-selection,
#sezione_filtri_prtemplates .select2-selection--multiple, #sezione_filtri_prtemplates .select2-selection,
#sezione_filtri_occupancies .select2-selection--multiple, #sezione_filtri_occupancies .select2-selection,
#sezione_filtri_globalsearchNew .select2-selection--multiple, #sezione_filtri_globalsearchNew .select2-selection
{
    line-height: 36px!important;
}

#sezione_filtri_leads .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_contacts .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_accounts .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_opp .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_invoice .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_tickets .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_rooms .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_residences .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_prtemplates .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_occupancies .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_globalsearchNew .select2-container--default .select2-selection--multiple .select2-selection__choice
{
    vertical-align: top !important;
}

#sezione_filtri_leads .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_contacts .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_accounts .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_opp .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_invoice .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_tickets .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_rooms .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_residences .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_prtemplates .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_occupancies .select2-container--default .select2-selection--multiple .select2-selection__choice,
#sezione_filtri_globalsearchNew .select2-container--default .select2-selection--multiple .select2-selection__choice
{
    margin-top:4px!important;
    z-index: 9;
}

#sezione_filtri_leads .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_contacts .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_accounts .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_opp  .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_invoice .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_tickets .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_rooms .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_residences .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_prtemplates .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_occupancies .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_globalsearchNew .select2-container .select2-search--inline .select2-search__field
{
    vertical-align: top !important;
}

#sezione_filtri_leads .select2-container .select2-selection--multiple .select2-selection__rendered,
#sezione_filtri_contacts .select2-container .select2-selection--multiple .select2-selection__rendered,
#sezione_filtri_accounts .select2-container .select2-selection--multiple .select2-selection__rendered,
#sezione_filtri_opp .select2-container .select2-selection--multiple .select2-selection__rendered,
#sezione_filtri_invoice .select2-selection--multiple .select2-selection__rendered,
#sezione_filtri_tickets .select2-selection--multiple .select2-selection__rendered,
#sezione_filtri_rooms .select2-selection--multiple .select2-selection__rendered,
#sezione_filtri_residences .select2-selection--multiple .select2-selection__rendered,
#sezione_filtri_prtemplates .select2-selection--multiple .select2-selection__rendered,
#sezione_filtri_occupancies .select2-selection--multiple .select2-selection__rendered,
#sezione_filtri_globalsearchNew .select2-selection--multiple .select2-selection__rendered
{
    display: inline-block!important;
    height: 36px!important;
    overflow-y: scroll!important;
}

#sezione_filtri_contacts  .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_accounts  .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_opp .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_invoice .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_tickets .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_rooms .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_residences .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_prtemplates .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_occupancies .select2-container .select2-search--inline .select2-search__field,
#sezione_filtri_globalsearchNew .select2-container .select2-search--inline .select2-search__field
{
    vertical-align: top!important;
    top:0px!important;
    height: 36px!important;
  
}

[aria-describedby="select2-modale_contact_filtro_account_id-container"],[aria-describedby="select2-modale_fv_filtro_opp-container"],
[aria-describedby="select2-modale_fv_filtro_account-container"],[aria-describedby="select2-modale_fv_filtro_lead-container"],
[aria-describedby="select2-modale_ticket_filtro_booking_id-container"],
[aria-describedby="select2-ricerca_room_type-container"],
[aria-describedby="select2-ricerca_res_rmtype-container"],
[aria-describedby="select2-filtri_occ_opp-container"]
{
    position: absolute;
    vertical-align: top!important;
    top:0px!important;
    height: 36px!important;
}

.apri_nuovi_filtri
{
    line-height: 57px;
    cursor: pointer;
}


#sezione_filtri_leads,
#sezione_filtri_contacts,
#sezione_filtri_accounts,
#sezione_filtri_opp,
#sezione_filtri_invoice,
#sezione_filtri_tickets,
#sezione_filtri_rooms,
#sezione_filtri_residences,
#sezione_filtri_prtemplates,
#sezione_filtri_occupancies
{
    padding-bottom: 12px;
    width: 100%;
    min-height: 50px; /* Imposta un'altezza minima */
    max-height: 460px; /* Evita che cresca troppo */
    overflow-x: hidden;
    resize: vertical;
    overflow-y: auto; /* Importante per lo scroll */
    display: flex;
    flex-direction: column; /* Permette agli elementi interni di adattarsi */
}

#pg_leads .select2-container--open .select2-dropdown,
#pg_contacts .select2-container--open .select2-dropdown,
#pg_accounts .select2-container--open .select2-dropdown,
#pg_quotes .select2-container--open .select2-dropdown,
#pg_invoices .select2-container--open .select2-dropdown,
#pg_tickets .select2-container--open .select2-dropdown,
#pg_rooms .select2-container--open .select2-dropdown,
#pg_residences .select2-container--open .select2-dropdown,
#pg_pr_catalogue .select2-container--open .select2-dropdown,
#pg_occupancies .select2-container--open .select2-dropdown
{
    top:-66px!important;
}

#sezione_filtri_globalsearchNew .select2-container--open .select2-dropdown
{
    top:-2px!important;
}

.resize_riga_filtri
{
    border-bottom: 1px dashed #ccc;
    height: 10px;
    cursor: ns-resize;
}


.select2-results__group
{
    cursor: pointer;
}

/*
    
    FINE NUOVA GESTIONE FILTRI PAGINE

*/

.resize_riga_filtri2
{
    border-bottom: 1px dashed #ccc;
    height: 10px;
    margin-bottom:10px;
}

.testoGlobalSearch  .input-style.has-borders input
{
    height: 36px!important;

}

.testoGlobalSearch .input-style
{
    margin-bottom: 0px!important;
}

#home_search_results
{
    max-height: 700px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.global_search_cat_icon
{
    font-size: 13px;
    display: inline-block;
    margin-left: 5px;
}

.global_search_cat_icon, .global_search_cat_span
{
    cursor:pointer;
}

.global_search_cat_span:hover
{
    text-decoration: underline ;
}


#pg_home .card-body {
    z-index: 2;
    border: 1px solid #ccc;
    border-radius: 20px;
}

#pg_home .card-header {
    z-index: 2;
    border-bottom: 0;
    padding-bottom: 15px !important;
}

.theme-light #pg_home .card-header {
    background-color: #FCFCFC;
}

.theme-dark #pg_home .card-header {
    background-color: #1b1d21;
}

#pg_home .btn, #pg_home input, #pg_home select {
    border-radius: 10px !important;
}

#pg_home_glsearch .check-age {
    padding: 15px 25px;
    font-size: 12px !important;
}

#pg_home .c_logo_home_big {
    max-width: 350px;
}

#pd-editor iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 1150px !important;
}

#modalePanda .modal-content
{
    min-height: 1150px;
}

#modaleInstallmentsReport_sales_p_div .select2-container .select2-selection--multiple
{
    height: 53px!important;
}
