/*
  Generale
  ----------- */

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
/*@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@300;400;500;600;700&display=swap');*/

body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
    font-size: 1rem;
}
p {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6em;
}
a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}
p > a,
label > a{
    text-decoration: underline;   
}
.btn-light{
    border-color:#dee2e6 ;
}
.table{
    color: #424242;
}
.table>:not(caption)>*>*{
    padding: 0.9rem;
}
.table>:not(:last-child)>:last-child>* {
    border-bottom-color: inherit;
    text-transform: uppercase;
}
th{
    font-weight:500 ;
}
tbody, td, tfoot, th, thead, tr{
    border-color: #e9ecef;
}
table .badge{
    padding: 4px 13px;
    font-weight: 400;
    line-height: normal;
}
.shadow{
    box-shadow: 4px 4px 25px rgb(109 105 105 / 15%) !important;
}
.card{
    border: 0;
    box-shadow: 4px 4px 25px rgb(109 105 105 / 15%);
}
.card-body,
.card-footer{
     padding: 25px;   
}
.card-title{
    font-size:1.3rem ;
}
.card-footer{
    padding-top: 0;
    border: 0;
    background: transparent;
}
.accordion-header button{
    font-weight: 500;
}
.page-item.active .page-link{
    background: #0077b5;
    border-color: #0077b5;
}
.page-link,
.page-link:hover{
    color: #0077b5;
}
table.dataTable>thead .sorting_disabled:before,
table.dataTable>thead .sorting_disabled:after{
    display: none !important;
}
.form-control{
    border: 1px solid rgb(233, 236, 239);
}
.form-check-input:checked{
    border-color: #0077b5;
    background-color:#0077b5 ;
}
.nav-pills .nav-item{
    margin-right: 8px;
}
.nav-pills .nav-link.active, 
.nav-pills .show>.nav-link{
    color: #fff;
    background-color: #648395;
}
.nav-pills .nav-link{
    text-transform: uppercase;
    color: #648395;
    font-weight: 500;
}


/* Classi personalizzate */
.icon-circle{
    border-radius: 100%;
    width: 40px;
    height: 40px;
    padding: 10px;   
}
.icon-square{
    border-radius: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;       
}
.icon-square-big{
    border-radius: 5px;
    width: 70px;
    height: 70px;
    padding: 15px;       
}/*
.box-hover:hover{
    background: #edf2f7;
}*/
.zoom {
  transition: transform .4s; /* Animation */
}
.zoom:hover {
  transform: scale(1.05);
}

/* Colori Tema */
.color-1{
    color: #0077b5;
}
.bg-color1{
    background-color: #0077b5;
}
.btn.btn-border-1{
    color: #0077b5;
    border-color: #0077b5 !important;
    border-width: 2px;
}
.btn.btn-border-1:hover{
    color: #fff;
    background: #0077b5;
}
.color-2{
    color:#91b5c9;
}
.bg-color2{
    background:#91b5c9;
}
.color-3{
    color: #255a77;
}
.btn.color-3:hover{
    color: #21506a;
    background: rgba(255,255,255,0.85);
}
.bg-color3{
    background:#255a77;
}
.color-4{
    color: #ee6c4d;
}
.bg-color4{
    background-color: #ee6c4d;
}
.color-5{
    color: #F8BE4A;
}
.bg-color5,
.bg-warning{
    background-color: #F8BE4A !important;
}
.color-6,
.text-success{
    color: #66b245 !important;
}
.bg-color6,
.bg-success{
    background-color: #66b245 !Important;
}

.color-7{
    color: #50A1DC;
}
.bg-color7{
    background-color: #50A1DC;
}

.color-8{
    color: #648395;
}
.bg-color8{
    background-color: #648395;
}

/*
  TopBar
  ----------- */
header.navbar{
    background: /*#65add3*/#50a1dc;
}
a.navbar-brand {
    background-color: /*#0a66c2*/ #0077b5;
    /*box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);*/
    width: 240px;
    transition: all 0.3s;
}
a.navbar-brand.active {
    width:100px ;
    text-align: center;
}
.navbar-brand img{
    max-height: 33px;
}
header .dropdown-menu-end[data-bs-popper]{
    /*margin-top: 10px;*/
}
header .dropdown-menu{
    padding: 10px;
    border: 0;
}
header .dropdown-header{
    font-size: 18px;
    color:#333;
    text-align: center;
    margin-bottom: 10px;
}
header .dropdown-item{
    padding:.7rem 1rem;
    font-size: 14px;
    color: #5b5b5b;
}
header .dropdown-item strong{
    font-weight: 500;
}
.dropdown-item:focus,
.dropdown-item:hover,
.dropdown-item.active,
.dropdown-item:active{
    background: transparent;
    color: inherit;
}
header .dropdown-footer{
    display: block;
    font-size:12px;
    text-align: right;
    padding-top:15px ;
    font-weight: 700;
}


/*
   Menu Laterale
  ----------------- */
#sidebar {
    width: 240px;
    position: fixed;
    top: 0px;
    left: 0;
    height: 100vh;
    z-index: 999;
    background: #fff;
    color: #fff;
    transition: all 0.3s;
    padding-top: 68px;
}
#sidebar .nav-link {
    text-align: left;
    padding:0 40px;
    font-weight: 500;
    color: #333;
}
#sidebar .nav-link:hover,
#sidebar .nav-link.active {
  color: #2470dc;
}
#sidebar:not(.active) .nav-item{
    margin:15px 0;
}
#sidebar .nav-link i{
   font-size: 24px;
   padding-right: 20px;
   vertical-align: sub;
}
#sidebar.active {
    width:100px ;
    min-width: 100px;
    max-width: 100px;
    text-align: center;
}
#sidebar.active .nav-link {
    padding: 10px 5px;
    text-align: center;
    font-size: 0.85em;
}
#sidebar.active .nav-link i {
    margin-right: 0;
    display: block;
    font-size: 1.8em;
    margin-bottom: 5px;
    padding-right: 0;
}
#sidebar.active .sidebar-heading{
    display: none !important;
}


/* 
   Corpo centrale
   ----------------- */
#content {
    width: calc(100% - 240px);
    min-height: calc(100vh - 65px);
    transition: all 0.3s;
}

#content.active {
    width: calc(100% - 100px);
}


/* 
   Pagina Dashboard
   ------------------- */
.card-promo .card-body{
    border: 2px dashed #fff;    
}
.assistenza-row a{
    position: relative;
}
.assistenza-row a i{
    z-index: 1;
}
.assistenza-row a:after{
    display: block;
    background: #000;
    opacity: 0.3;
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: all 0.3s;
}
.assistenza-row a:hover:after{
    opacity: 0;
}

/* 
   Responsive
   ------------- */
@media(max-width: 575px){

    /* Topbar */
    header .dropdown{
        position: static;
    }
    header .dropdown-menu-end[data-bs-popper]{
        width: calc(100% - 2rem);
        right: 1rem;
    }

    /* Tabs */
    .nav-pills .nav-item,
    .nav-pills .nav-link{
        display: block;
        width: 100%;
        text-align: left;
    }

}

@media(min-width: 1200px){
    .navbar-brand.active span {
        display: none !important;
    }
    .dataTables_scrollHeadInner,
    div.dataTables_scrollHead table.dataTable,
    div.dataTables_scrollBody > table{
        max-width: unset;
        width: 100% !important;
    }
}

@media(min-width:992px) and (max-width: 1199px){
    #sidebar,
    #companyLogo{
        min-width: 100px;
        max-width: 100px;
        text-align: center;
        transition: all 0.3s;
        margin-left: 0px;
    }
    #sidebar.active,
    #companyLogo.active{
        margin-left: -100px;
    }
    #sidebar .nav-link {
        padding: 10px 5px;
        text-align: center;
        font-size: 0.85em;
    }
    #sidebar .nav-link i {
        margin-right: 0;
        display: block;
        font-size: 1.8em;
        margin-bottom: 5px;
        padding-right: 0;
    }
    #sidebar:not(.active) .nav-item{
        margin:0;
    }
    #content {
        width: calc(100% - 100px);
    }
    #content.active {
        width: 100%;
    }
}

@media (max-width: 991px) {
    #sidebar,
    #companyLogo{
        min-width: 100px;
        max-width: 100px;
        text-align: center;
        margin-left: -100px !important;
        transition: all 0.3s;
    }
    #sidebar.active,
    #companyLogo.active{
        margin-left: 0 !important;
    }
    #sidebar .nav-link {
        padding: 15px 5px !important;
    }
    #content{
        width:100% !important;
    }
}