html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/*Gestione pulsanti Sx Anteprima/Pubblica/Modifica/Elimina*/

.sticky-container {
    padding: 0px;
    margin: 0px;
    position: fixed;
    right: 0px;
    top: 230px;
    width: 210px;
    z-index: 1100;
}

.sticky li {
    list-style-type: none;
    background-color: #fff;
    color: #efefef;
    height: 55px;
    padding: 0px;
    margin: 0px 0px 5px 0px;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

    .sticky li:hover {
        margin-left: -10px;
    }



    .sticky li p {
        padding-top: 5px;
        margin: 0px;
        line-height: 16px;
        font-size: 11px;
    }

        .sticky li p a {
            text-decoration: none;
            color: #2C3539;
        }

            .sticky li p a:hover, .sticky li p input:hover {
                color: #fff
            }



.btn-inserimento {
    color: #2C3539;
    padding: 10px 10px 5px 25px;
    background: url('../img/Inserimento.png') left 20px top 8px no-repeat transparent;
}



.btn-modifica {
    color: #2C3539;
    padding: 10px 10px 5px 25px;
    background: url('../img/Modifica.png') left 20px top 8px no-repeat transparent;
}



.btn-elimina {
    color: #2C3539;
    padding: 10px 10px 5px 25px;
    background: url('../img/Elimina.png') left 20px top 8px no-repeat transparent;
}

.btn-anteprima {
    color: #2C3539;
    padding: 10px 10px 5px 25px;
    background: url('../img/Anteprima.png') left 20px top 8px no-repeat transparent;
}





.btn-esci {
    color: #428bca;
    padding: 10px 10px 5px 25px;
    background: url('../img/Uscita.png') left 20px top 8px no-repeat transparent;
}

.btn-cerca {
    color: #2C3539;
    padding: 10px 10px 5px 25px;
    background: url('../img/Ricerca.png') left 20px top 8px no-repeat transparent;
}




.btn-block{
    display:block;
    width:100%;
    padding-left:0px;
    padding-right:0px;

}

/*Colore button*/

.btn-ConfermaInserimento {
    background-color: #228B22
}

.btn-ConfermaModifica {
    background-color: #DB9112
}

.btn-ConfermaElimina {
    background-color: #e51616
}

.btn-InserimentoFattura {
    background-color: #228B22;
    height: 35px;
    width: 80px;
}

.btn-ModificaFattura {
    background-color: #e51616;
    height: 35px;
    width: 80px;
}






/*Gestione Scrollbar Tabella*/
.my-custom-scrollbar {
    position: relative;
    height: 600px;
    overflow: auto;
}

.table-wrapper-scroll-y {
    display: block;
}

/* Layout a flex per i box paginati: i controlli restano in fondo anche con pochi elementi */
.my-custom-scrollbar.pagination-flex,
.table-wrapper-scroll-y.pagination-flex {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.my-custom-scrollbar.pagination-flex > .table-scroll-content,
.table-wrapper-scroll-y.pagination-flex > .table-scroll-content {
    flex: 1 1 auto;
    overflow: auto;
    min-height: 0;
}

.my-custom-scrollbar.pagination-flex > nav,
.table-wrapper-scroll-y.pagination-flex > nav {
    flex: 0 0 auto;
    margin-top: auto;
    background-color: #fff;
    z-index: 1;
}

/* Modern layout for old operational pages */
main .text-start {
    text-align: left;
    width: 100%;
    display: flow-root;
}

main .text-start .col-md-6,
main .text-start .col-md-6 .col-12 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

main .text-start .d-flex.justify-content-center {
    justify-content: flex-start !important;
}

.page-actions {
    max-width: 100%;
}

.page-actions .list-inline {
    margin-bottom: 0;
}

.select2-container {
    width: 100% !important;
}

.select2-container--open .select2-dropdown .select2-results__options {
    max-height: 400px !important;
}

/* Portale Cliente Web Lavanderia: responsive mobile + desktop */
body.cliente-portale {
    margin-bottom: 0;
}

body.cliente-portale main {
    padding-bottom: 4.5rem;
}

@media (min-width: 992px) {
    body.cliente-portale main {
        padding-bottom: 5rem;
    }

    body.cliente-portale .fixed-bottom .nav-link {
        font-size: 1.05rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

/* Pagina iniziale pubblica a tutto schermo */
.home-fullscreen {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.home-content {
    position: relative;
    z-index: 1;
    color: #000;
    max-width: 90%;
}

@media (max-width: 576px) {
    .home-content h1 {
        font-size: 1.75rem;
    }

    .home-content p {
        font-size: 1rem;
    }
}