/*******for bootstrap******/
/*
body {
    font-size: 0.9rem !important;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 70vh;
}

.content-wrapper {
    flex: 1 0 auto;
}
*/
.nascondi{
  display:none;
}

.form-inline label {
  padding: 5px;
  margin-bottom:5px;
}

.bootstrap-dialog .modal-dialog {
  margin-top: 0;
  margin-bottom: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}  

.modal .modal-dialog.center {
  margin-top: 0;
  margin-bottom: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
} 
/*****************************/

 /* Tooltip */
 .custom-toltip + .tooltip > .tooltip-inner {
  background-color: #3074AF; 
  color: #FFFFFF; 
  border: 1px solid black;
  padding: 10px;
  font-size: 14px;
}
/* Tooltip on top */
.custom-toltip + .tooltip.top > .tooltip-arrow {
  border-top: 5px solid black;
}
/* Tooltip on bottom */
.custom-toltip + .tooltip.bottom > .tooltip-arrow {
  border-bottom: 5px solid black;
}
/* Tooltip on left */
.custom-toltip + .tooltip.left > .tooltip-arrow {
  border-left: 5px solid black;
}
/* Tooltip on right */
.custom-toltip + .tooltip.right > .tooltip-arrow {
  border-right: 5px solid black;
}  
/*--bootgrid for bootstrap 4 dark light mode ***/
.text{
height: auto !important;
font-size: 1rem !important;
}

table td.loading, .bootgrid-table td.no-results {
background: #424A52 !important;
text-align: center;
}


.bootgrid-header .actionBar{
  background-color: #49494a  !important;
  text-align: left !important;
  padding: 0.2rem;
  border-radius: 5px;
}

.bootgrid-header .search{
  min-width: 280px;
}
.bootgrid-header .search span {
border-collapse: separate;
border: 1px solid #ccc;
border-radius: 4px;
display: table-cell;
border-right: 0;
background-color: #BE1ACC;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
padding: 8px 12px;
text-align: center;
font-size: 0.8rem;
}
.bootgrid-table >thead{
  background-color:  #45B0C0;
}

.dark-mode .bootgrid-table >thead >tr >th:hover{
background-color:  #17A2B8;
}

.dark-mode .bootgrid-table >thead >tr >th >a{
color:  #fff !important;
}

.bootgrid-table >thead >tr >th >a:hover{
color:  rgb(216, 23, 23) !important;
}

.light-mode .bootgrid-table >thead{
background-color:  #e88cc08a;
}

ul.pagination > li:first-child > a, 
ul.pagination > li:first-child > span {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

ul.pagination > li > a {
  position: relative;
  float: left;
  padding: 6px 12px;
  line-height: 1.42857143;
  text-decoration: none;
  border: 1px solid #BE1ACC;
  color:#fff;
}

.light-mode ul.pagination > li > a {
color:rgb(17, 35, 136);
}

.light-mode ul.pagination > li:active {
color:rgb(17, 35, 136) !important;
}

.light-mode ul.pagination > li > a:hover {
color:rgb(236, 237, 240) !important;
}


ul.pagination > li:last-child > a, 
ul.pagination > li:last-child > span {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 2;
  background-color: #BE1ACC;
  border-color: #BE1ACC;
  cursor: default;
  color:rgb(236, 237, 240) !important;
}

.pagination > li > a:hover, 
.pagination > li > span:hover, 
.pagination > li > a:focus, 
.pagination > li > span:focus {
  background-color: #9E1ACC;
  border-color: #9E1ACC;
}


/*****actionBar bootgrid ************/
.light-mode .bootgrid-header .actionBar{
background-color: #c732d5 !important;
text-align: left !important;
padding: 0.2rem;
color:white;
}


.light-mode .actions.btn-group .btn-default {
background-color:#BE1ACC;
border-color: #3d3d3d;
border-radius: 0px;
color: #fff;
}

.dark-mode .actions .btn-default {
 background-color: #099BE32B;
border-color: #099BE32B;
border-radius: 0px;
color: #fff;
}

.dark-mode .actionBar .btn-default {
 background-color:#099BE32B;
border-color: #099BE32B;
border-radius: 0px;
color: #fff;
}

.dark-mode .actionBar .btn-default:hover {
background-color:#099ae383;
border-color: #099BE32B;
border-radius: 0px;
color: #fff;
}

.light-mode .actionBar .btn-default {
 background-color: #BE1ACC;
border-color: #3d3d3d;
border-radius: 0px;
color: #fff;
}

.light-mode .actionBar .btn-default:hover {
background-color: #4c6a6eb6;
border-color: #17A2B8;
border-radius: 0px;
color: #fff;
}
/*********************/

.layout-navbar-fixed .wrapper .sidebar-dark-primary .brand-link:not([class*="navbar"]) {
background-color: #45B0C070;
}
.brand-text{
font-style: italic;
}

.main-header, .main-footer{
border:0;
}
.spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-left: -50px; /* half width of the spinner gif */
  margin-top: -50px; /* half height of the spinner gif */
  text-align:center;
  z-index:1234;
  overflow: auto;
  width: 100px; /* width of the spinner gif */
  height: 102px; /*hight of the spinner gif +2px to fix IE8 issue */
}

#pdfdiv_content{
  width:100%;
  height: 600px;
  border:1px solid #666;;
  position:relative;
}

.nav-sidebar > .nav-item .nav-icon2 {
  margin-left: .05rem;
  font-size: 1.2rem;
  margin-right: .2rem;
  text-align: center;
  width: 2rem;
  border-radius: 20px;
  height: 2rem;
  padding-top: 0.6rem;
} 

.nav-sidebar > .nav-item .nav-icon3 {
  margin-left: .5rem;
  font-size: 1.rem;
  margin-right: .2rem;
  text-align: center;
  width: 1.5rem;
  border-radius: 20px;
  height: 1.5rem;
  padding-top: 0.4rem;
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link > .nav-icon {
  width: 1.6rem;
  margin-left: 1rem;
}

.myinner {
  position: absolute;
  left: 20%;
  top: 50%;
  transform: translate(-10%, -50%);
  min-width: 50%;
  text-align: center;
  border-radius: 10px;
  z-index: 1000;
}

.light-mode .myinner {
  background-color: #e4e4e4;
  border: 3px solid #45B0C0;
  }

.dark-mode .myinner {
    background-color: #3F474E;
    border: 3px solid rgb(0, 255, 0);
     }  

.box-myinner {
  position: absolute;
  left: 20%;
  top: 50%;
  padding:15px;
  transform: translate(-10%, -50%);
  background-color: #4481c1;
  color: #fdfdfd;
  /* unnecessary styling properties */
  min-width: 50%;
  text-align: center;
  border: 1px solid blue;
  border-radius: 10px;
  z-index: 1000;
}


.myDisable{
  pointer-events: none;
  background-color:#f1f1f1;
  opacity: 0.7;
}

.bg-flex-bar{
background-color:#1c879973;
}


.layout-navbar-fixed .wrapper .content-wrapper {
margin-top: calc(2.5rem + 1px);
}
/**********dark mode sidebar menu******************/
[class*="sidebar-dark-"] .nav-sidebar > .nav-item.menu-open > .nav-link, [class*="sidebar-dark-"] .nav-sidebar > .nav-item:hover > .nav-link, [class*="sidebar-dark-"] .nav-sidebar > .nav-item > .nav-link:focus {
background-color: #2C9BAE;
color: #fff;
}

[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link:focus, [class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link:hover {
background-color: rgba(44, 155, 174, .4);
color: #fff;
}
/********toaster******/
.dark-mode .toast-header .img-fluid {
background-color: #1D9DAC;
}

.light-mode .morris-hover {
background-color: rgb(17, 17, 17);
color:#fff;
}

.card.no-border {
box-shadow:none !important
}

/******box position center******/
.gm-inner {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
min-width: 320px;
max-width: 800px;
z-index: 1000;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border: 1px solid #2C9BAE;
background-color:#ffffff;
}

.gm-inner-header{
min-height: 30px;
text-align: center;
padding: 0.5rem;
padding-left: 45px;
border: 1px solid rgba(138, 126, 126, 0.47);
background-color:#2C9BAE;
color:black;
content: '';
}

.gm-inner-header h6::before {
/*  background-color:#6b6767; */
display: block;
border-radius: 50px;
position: absolute;
left: 2px;
top: 2px;
padding: 1px 1px;
content: url(../../images/logo-small.png);
}

.gm-inner-body{
padding: 0.5rem;
content: '';
}

.gm-inner-footer{
padding: 0.5rem;
border: 1px solid #dadadb;
background-color:#dadadb;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
color:black;
}

.dark-mode .gm-inner{
border: 1px solid #2C9BAE;
background-color:#3F474E;
}

.dark-mode .gm-inner .gm-inner-footer{
padding: 0.5rem;
border: 1px solid #353537;
background-color:#343A40;
color:#fff;
}

.gm-inner-body::after, .gm-inner-footer::after, .gm-inner-header::after {
display: block;
clear: both;
content: "";
}

.modal .modal-header{
display: block;
min-height: 50px;
padding: 0.8rem;
padding-left: 50px;
content: '';
}
/*
.light-mode .modal .modal-header{
background-color:#D7006E;
color:#fff;
}
*/
.modal .modal-header::before {
/*  background-color:#6b6767; */
display: block;
border-radius: 50px;
position: absolute;
left: 2px;
top: 6px;
padding: 1px 1px;
content: url(../../images/logo-small.png);
}

.bootstrap-datetimepicker-widget table td.day.today {
background: #45b0c07a;
cursor: pointer;
}

/*********** footer menu **********/
.footer-menu {
display:flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
align-items: center;
margin-top: 0px;
background-color: #AA0A82 !important;

}

.btn-sistema{
background-color: #4B3F40;
color:#FFF;
min-width: 120px;
}
.btn-sistema:hover{
background-color: #A58E80;
min-width: 120px;
}
.btn-postazioni{
background-color: #F39C12;
min-width: 120px;
}
.btn-postazioni:hover{
background-color: #c27b09;
min-width: 120px;
}
.btn-promozioni{
background-color: #0073B7;
min-width: 120px;
}
.btn-promozioni:hover{
background-color: #034368;
min-width: 120px;
}
.btn-trattamenti{
background-color: #be7a0b;
min-width: 120px;
}
.btn-trattamenti:hover{
background-color: #9b640b;
min-width: 120px;
}
.btn-utenti{
background-color: #00A65A;
min-width: 120px;
}
.btn-utenti:hover{
background-color: #007942;
min-width: 120px;
}
.btn-personale{
background-color: #035381;
min-width: 120px;
}
.btn-personale:hover{
background-color: #023958;
}
.btn-assenze{
background-color: #d3321d;
min-width: 120px;
}
.btn-assenze:hover{
background-color: #991f0f;
}

/********bg icons*****/
.bg-sistema{
background-color: #DD4B39;
}
.bg-postazioni{
background-color: #F39C12;
}
.bg-promozioni{
background-color: #0073B7
}
.bg-trattamenti{
background-color: #be7a0b;
}
.bg-utenti{
background-color: #00A65A;
}
.bg-personale{
background-color: #035381;
}
.bg-assenze{
background-color: #d3321d;
}

.control-sidebar-dark {
color: #fff !important;
}

.control-sidebar-dark .nav-link {
color: #fff !important;
}

.control-sidebar-dark .nav-item:hover > .nav-link {
background-color: #BE1ACC;
color: #eeeeee !important;
}

.control-sidebar-light {
color: #226daf;
background-color: #AA0A82;
border-left: none;
}

.control-sidebar-light .menu-title {
min-height: 40px;
padding-top: 0.7rem;
background-color: #FFF;
margin: 10px;
  margin-top: 10px;
color: #000;
border-radius: 5px;
}

.mflex{
display: flex;
width: 100%;
flex-direction: row;
flex-wrap: wrap;
min-height: 50px;
align-items: center;
background-color: #4E6C86E6;
padding: 5px;
margin-bottom: 15px;
margin-top:10px;
color: #fff;
border-radius: 5px;
}

.mflex >div{
margin-bottom: 10px;
}

.colflex{
display: flex;
width: 100%;
flex-direction: column;
flex-wrap: wrap;
row-gap: 1rem;
min-height: 50px;
align-items:center;
background-color: #343A40;
padding: 5px;
margin-bottom: 15px;
margin-top:10px;
color: #fff;
}

.dark-mode .colflex{
background-color: #343A40;
color: #fff;
}

.light-mode .colflex{
background-color: #AA0A82;
color: #fff;
}

.title-bar{
color:#ffffff; 
background-color:#5F7A92; 
margin-top: 20px; 
padding-top:10px;
text-align: center;
border-radius: 5px;
}

/****morris******/
.morris-hover{
position:absolute;z-index:1000;
background-color: rgb(77, 77, 77) !important;
padding: 5px;
border-radius: 10px;
}

.fa, .fas{
font-size:0.9rem !important;
}

/***********nuovo************/

.perf-background-overlay {
background-image: url("../../images/Overlay2.png");
background-position: center right;
background-repeat: no-repeat;
background-size: cover;
opacity: 0.09;
transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
height: 100%;
width: 100%;
top: 0;
left: 0;
position: absolute;
filter: brightness( 200% ) contrast( 200% ) saturate( 200% ) blur( 0px ) hue-rotate( 360deg );
}

/********light mode********/
.light-mode .navbar-light{
background-color: #ffffff;
}
.light-mode .navbar-light .navbar-nav .nav-link {
color: #FFF;
transition: transform .4s;
}


.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
color: #dd1461 !important;
transition: all .2s ease-in-out;
transform: scale(1.2);
}

@media screen and (max-width: 767px) {
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
  transition: all .2s ease-in-out;
  transform: scale(1.05);
  }  
}

.navbar-light .navbar-brand img{
transition: transform .2s;
margin-top: -50px;
}

.navbar-light .navbar-brand img:hover{
-webkit-transition: -webkit-transform .2s ease-in-out;
-ms-transition: -ms-transform .2s ease-in-out;
transition: transform .2s ease-in-out;
transform: scale(1.1);
}


.light-mode .brand-link {
background-color: #AA0A82 !important;
}


.main-header .nav-link {
height: 2.5rem;
position: relative;
font-size: 1.5rem;
}

.light-mode .content-wrapper {
background-color: #ffffff !important;
}

.light-mode [class*="sidebar-light-"] .nav-sidebar > .nav-item.menu-open > .nav-link, [class*="sidebar-light-"] .nav-sidebar > .nav-item:hover > .nav-link {
background-color: #BE1ACC;
color: #eeeeee !important;
}

.light-mode [class*="sidebar-light"] .brand-link .pushmenu:hover, [class*="sidebar-light"] .brand-link {
color: rgb(235, 235, 235);
}

.light-mode .bootgrid-table td.no-results {
background: #C1C1C1 !important;
text-align: center;
}

.navbar-brand {
display: inline-block;
padding-top: .3125rem;
padding-bottom: .3125rem;
margin-right: .5rem;
margin-top: 2.5rem;
line-height: inherit;
white-space: nowrap;
max-width: 250px;
}

@media screen and (max-width: 767px) {
.navbar-brand .brand-image {
  max-width: 200px !important;
     }
}  

.layout-top-nav .wrapper .main-header .brand-image {
margin-top: -.5rem;
margin-right: .2rem;
height: auto;
max-width: 280px;
}

/*********footer****************/
.light-mode .main-footer{
background-color: #131313;
}

.light-mode .main-footer a {
color:#ffffff !important;
font-weight: 600;
}

.light-mode .main-footer strong {
color:#b3b3b3 !important;
}

.light-mode .main-footer {
color:#b3b3b3 !important;
}

        /* =========================
   footer
========================= */
.perf-footer {
    background-color: #A58E80;
    padding: 50px 20px 0 20px;
    margin-top: 0;
}

.footer-copy {
  background-color: #4B3F40 !important;
  color: #FFF !important;
  margin-top: 30px;
  margin-left: -20px;
  margin-right: -20px;
  padding-bottom: 5px;
  padding-top: 10px;
}
    .container-footer {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        gap: 60px;
        flex-wrap: wrap;
    }

    .footer-col {
        width: 35%;
        min-width: 200px;
    }

    .footer-title {
        font-size: 26px;
        font-weight: 600;
        color: #FFF;
        margin-bottom: 15px;
        text-align: left;
        font-weight: 300;
        font-size: 34px;
    }

    .footer-contact-list {
        list-style: none;
        text-align: left;
        padding: 0;
        margin: 0;
    }

    .footer-contact-list li {
        font-size: 18px;
        color: #FFF;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
    }

    .footer-contact-list i {
        margin-right: 10px;
        color: FFF;
    }

    .footer-contact-list a {
        color: #FFF;
        /* stesso colore del testo */
        text-decoration: none;
    }

    .footer-contact-list a:hover {
        color: #000000;
        /* colore leggermente più scuro al passaggio */
        text-decoration: underline;
    }

    .footer-brand {
        font-size: 34px;
        font-weight: 300;
        color: #FFF;
        margin-bottom: 5px;
        text-align: left;
    }

    .footer-slogan {
        color: #FFF;
        font-size: 18px;
        margin-bottom: 15px;
        text-align: left;
    }

    /* SOCIAL con PNG */
    .footer-social-png {
        display: flex;
        gap: 8px;
        justify-content: flex-start;
    }

    .footer-social-png a {
        width: 58px;
        height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s ease;
    }

    .footer-social-png img {
        width: 58px;
        /* più grande, come l’originale */
        height: 58px;
    }

    .footer-social-png a:hover {
        background-color: #ffffff;
        transform: translateY(-3px);
    }

    .footer-social {
    display: flex;
    gap: 12px;
}

.social-icon svg {
    width: 42px;
    height: 42px;
    fill: #fff; /* 👈 colore */
    transition: 0.3s;
}

.social-icon:hover svg {
    fill: #dc3545; /* hover */
}

    @media (max-width: 768px) {
        .container-footer {
            gap: 40px;
        }

        .footer-col {
            width: 100%;
            text-align: center;
        }
    }


            /* =========================
   CARRELLO MOBILE
========================= */

        .cart-mobile-icon {
            position: relative;
            font-size: 26px;
            color: #FFF;
            text-decoration: none;
        }

        .cart-mobile-icon i {
            font-size: 28px;
        }

        #cart_badge_mobile {
            position: absolute;
            top: -6px;
            right: -10px;
            background: #dc3545;
            color: #fff;
            font-size: 11px;
            padding: 2px 6px;
            border-radius: 50px;
            font-weight: bold;
        }

        @media (max-width: 768px) {

            /* reset padding bootstrap */
            .navbar-collapse {
                padding-left: 0 !important;
                padding-right: 0 !important;
            }

            /* allinea menu */
            .navbar-nav {
                padding-left: 10px;
                padding-right: 10px;
            }

            /* ogni voce menu */
            .navbar-nav .nav-link {
                padding-left: 5px;
            }
            

        }

        @media (max-width: 768px) {

            .navbar-nav {
                padding-left: 18px;
                /* 👈 aumenta qui (puoi salire anche a 20/24) */
            }

            .navbar-nav .nav-link {
                padding-left: 8px;
            }

        }

        @media (max-width: 768px) {

            .navbar .container-lg {
                padding-left: 8px !important;
                padding-right: 8px !important;
            }

        }

        @media (max-width: 768px) {

            .navbar-toggler {
                margin-right: 20px;
                margin-bottom:20px !important;
                /* distanza manuale */
                background-color:#FFF !important
            }

        }

                @media (min-width: 768px) {

            .navbar-toggler {
                margin-right: 10px;
                margin-bottom:20px !important;
                /* distanza manuale */
                background-color:#FFF !important
            }

        }

        @media (min-width: 768px) and (max-width: 991.98px) {

            .cart-mobile-icon {
                margin-right: 12px;
                /* 👈 spazio dal bordo */
            }

        }

        @media (max-width: 768px) {

            .brand-image {
                position: relative;
                top: 10px;
                /* 👈 regola qui */
            }

        }

/***********Prenotazioni**************/
.card-body{
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 0;
    padding-top: 1rem;
}
.box-articolo{
  position: relative;
  padding: 10px;
  margin-top:-10px; 
  min-height:80px;
  font-size:1.1rem; 
  line-height:1rem; 

  background-color:#2e2e2e;
  border-radius: 5px;
  transition: transform .2s;
}

.box-articolo:hover{
  -webkit-transition: -webkit-transform .2s ease-in-out;
  -ms-transition: -ms-transform .2s ease-in-out;
  transition: transform .2s ease-in-out;
  transform: scale(1.02);
  background-color:#c21a73;
  color:#fff;
 } 

.box-articolo a{
  color:#fff;
 }

.box-articolo .descrizione{
  font-size:1.1rem; 
  line-height:1rem; 
  color:#D60370;
}

.box-articolo .price{
  position: absolute;
  bottom:5px;
  right: 10px;
  font-size: 1.5rem;
}

.badge-prezzo {
  color: #fff;
  background-color: #D60370;
}

.box-articolo:hover .descrizione{
  color: #fff;
}  
.box-articolo:hover .badge-prezzo{
  color: #D60370;
  background-color: #fff;
}  
/*****single produce*******/
.product-img img{
  border-radius: 3%;
}

/*****cart********/
@media screen and (max-width: 767px) {
  .modal-dialog.small{
    max-width: 350px !important;
  }
}  

/******swiper*****/
.swiper-container {
  width: 100%;
  height: auto;
  padding: 10px;
  animation: fadeInAnimation 2s ease-in-out;
  animation-fill-mode: forwards;
  opacity: 0;
  overflow: hidden;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 767px) {
  .swiper-container {
  width: 100%;
  height: auto;
  overflow: hidden;
} 
}

.swiper-container .swiper-wrapper {
  align-items: center;


}
.swiper-slide img{
  border-radius: 10px;
  
}


