/*---------------------------------*/
/*------------VARIABLES------------*/
/*---------------------------------*/

:root
{

    --text-color: #181818;
    --field-bg-color:  #ffffff;
    --field-border-color: #D74204;
    --label-color: #093668;
    --primary-color:  #D74204;
    --secondary-color:  #D74204;
    --secondary-hover:  #D74204;

}



body
{
    font-family: "Jost";
    font-size: 16px; /* Dimensione base leggibile */
    font-weight: 300; /* Più sottile per un look raffinato */
    line-height: 1.8; /* Spaziatura maggiore tra le righe */
    width: 100%;
    position: relative;
    height: auto;
    margin-bottom: 0px !important;
}


/* Stili più piccoli e sottili per i titoli */
h1 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 8px;
}

h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 6px;
}

h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 5px;
}

h4 {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 4px;
}

h5 {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 3px;
}

h6 {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 2px;
}

.description-text-home {
    font-size: 16px;
    font-weight: 400;
    margin-top: 8px;
    margin-bottom: 16px;
}

th{
    color: white;
}

p {
    font-family: var(--font-text);
    font-size: 0.938vw;
    line-height: 1.5;
    color: var(--field-bg-color);
}

.nav-link p {
    font-family: var(--font-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--label-color);
}


.nav-sidebar .menu-open {
    background: #ffffff00;
    border-radius: 10px;
}

li.nav-item.has-treeview.menu-open {
    background: transparent;
}

.nav-sidebar .menu-open > .nav-link {
    background: var(--primary-color) !important;
    color: #fff !important;
}

.nav-sidebar .menu-open > .nav-link p {
    color: white;
}

.nav-sidebar .menu-open {
    background: #fff;
    border-radius: 12px;
}

.nav-sidebar .menu-open > .nav-link {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 12px;
}

.menu-open > .nav-treeview .nav-link i {
    color: var(--primary-color) !important;
}

.menu-open > .nav-treeview .nav-link p {
    color: var(--label-color) !important;
}

.nav-treeview .nav-link:hover {
    background-color: #e9ecef !important;
    border-radius: 12px;
}

.brand-link .brand-image {
    margin-left: 0.2rem;
    max-height: 50px;
}

[class*=sidebar-dark] .brand-link, [class*=sidebar-dark] .brand-link .pushmenu {
    border-bottom: 0px solid #4b545c;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

img.brand-image.img-circle.elevation-3 {
    box-shadow: 0 10px 20px rgb(0 0 0 / 0%), 0 6px 6px rgb(0 0 0 / 0%) !important;
    border-radius: 0px;
}

a.brand-link {
    margin-top: 24px;
    margin-bottom: 16px;
}

.sidebar-collapse.sidebar-mini .main-sidebar .nav-sidebar .nav-link {
    width: 40px;
    height: 40px;
    padding: 8px 10px;
    margin-left: 4px;
}

.sidebar-collapse.sidebar-mini .main-sidebar .sidebar {
    padding-left: 12px;
    padding-right: 12px;
}

.sidebar-collapse.sidebar-mini .main-sidebar .brand-link .brand-image {
    margin-left: 0px;
    margin-right: 0px;
    max-height: 50px;
}

[class*=sidebar-dark] .brand-link {
    border-bottom: 0px solid #4b545c;
}

.nav-link.active p {
    color: white;
}

.sidebar .nav-link.active {
    color: white !important;
}

.btn-primary.focus, .btn-primary:focus{
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.flow > * + * {
    margin-top: var(--flow-space, 1em);
}
.alert-success {
    color: #155724;
    background-color: #d4edda;
    font-weight: 600;
}
.alert-danger{
    color: #721c24 !important;
    background-color: #f8d7da !important;
    font-weight: 600;
}

@media (max-width: 1367px) {
    label{
        font-size: 16px;
    }
}

@media (max-width: 1200px) {
    label{
        font-size: 18px;
    }
}

@media (max-width: 992px) {
	p {
        font-size: 16px;
    }
}

@media (max-width: 769px) {
    p {
        font-size: 14px;
    }
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 20px;
    }
    h4 {
        font-size: 18px;
    }
    h5 {
        font-size: 16px;
    }
    h6 {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    p {
        font-size: 3.256vw;
    }

    

}

/*----------------------------------*/
/*--------------SIDEBAR-------------*/
/*----------------------------------*/

.main-sidebar{
    background-color: rgba(255, 255, 255, 0);
    border-right: 2px solid white;
}

.sidebar-collapse .main-sidebar:hover {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.navbar-white {
        background-color: #ffffff00;
        border: none;
}

body {
    background-color: #a9a9a900;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #a9a9a900;
}

.sidebar .nav-link{
    color: var(--label-color) !important;
    border-radius: 12px;
}

.sidebar.nav-link.active {
    color: white !important;
}

.nav-link.active{
    background-color: var(--secondary-color) !important;
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link:hover {
    background-color: #e9ecef !important;
    border-radius: 12px;
}

.nav-sidebar .menu-open > .nav-link:hover {
    background-color: var(--secondary-color) !important;
    color: #fff !important;
}

.nav-sidebar > .nav-item > .nav-link:hover {
    background-color: #e9ecef !important;
    border-radius: 12px;
}

.nav-sidebar > .nav-item > .nav-link.active:hover {
    background-color: var(--secondary-color) !important;
    border-radius: 12px;
}

.nav-sidebar .nav-treeview .nav-link:hover {
    background-color: #e9ecef !important;
    border-radius: 12px;
}

.nav-sidebar .menu-open > .nav-link:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.nav-sidebar .menu-open > .nav-link:hover p{
    color: #fff !important;
}

.nav-sidebar .nav-link:hover {
    background-color: #e9ecef;
}

.navbar .nav-link{
    font-size: 20px;
    color: var(--label-color) !important;
    font-weight: 400 !important;
}

.solo-mobile {
    display: none;
}

.icon-table{
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 21px;
    margin: 0px 8px;
    vertical-align: text-bottom;
}
.icon-table:hover{
    color: var(--secondary-hover);
    cursor: pointer;
    filter: brightness(0.7);
}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:focus, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:hover {
    background-color: rgb(255 255 255 / 0%) !important;
    color: #D74204 !important;
    /* margin-left: 16px !important; */
    font-weight: 600;
}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active > p, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:focus > p, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:hover > p {
    color: #D74204 !important;
    font-weight: 600;
}

.nav-sidebar .nav-header {
    font-size: .9rem;
    padding: 0.5rem 0.2rem !important;
  }

[class*=sidebar-dark-] .nav-sidebar>.nav-item>.nav-link.active {
        box-shadow: 0 0px 0px rgba(0, 0, 0, .0), 0 0px 0px rgba(0, 0, 0, 0);
}

@media (max-width: 1367px) {

    .nav-sidebar .nav-link p {
        display: inline;
        font-size: 18px;
        margin: 0;
        white-space: normal;
    }
}

@media (max-width: 1200px) {

    .nav-sidebar .nav-link p {
        display: inline;
        font-size: 18px;
        margin: 0;
        white-space: normal;
    }

}

@media (max-width: 992px) {

    .navbar-nav .nav-item {
        font-size:  18px;
    }

    .nav-sidebar .nav-link p {
        display: inline;
        font-size: 18px;
        margin: 0;
        white-space: normal;
    }
}

@media (max-width: 576px) {

    .nav-sidebar .nav-link p {
        display: inline;
        font-size: 3.721vw;
        margin: 0;
        white-space: normal;
    }

    .navbar-nav .nav-item {
        font-size: 3.721vw;
    }
}
.login-wrapper{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:50px 30px;
}

.login-card{
    height: 650px;
    width:1152px;
    display:flex;
    background-image: url(/img/background.png);
    border-radius:30px;
    overflow:hidden;
    box-shadow:
    0 20px 40px rgba(0,0,0,.08);
}

.login-left{
    width:50%;
    background:#f7f7f7;
    border-radius: 24px;
    padding:70px 60px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.login-left h1{
    font-size:52px;
    font-weight:700;
    text-align:center;
    margin-bottom:60px;
}

.form-group{
    margin-bottom:25px;
}

.form-group label{
    display:block;
    margin-bottom:10px;
    font-size:16px;
}

.form-group input{
    width:100%;
    height:54px;
    border:1px solid #d8dce1;
    border-radius:10px;
    padding:0 18px;
    outline:none;
}

.form-group input:focus{
    border-color:var(--primary-color);
}

.remember-box{
    margin-top:10px;
    display:flex;
    align-items:center;
    gap:8px;
}

.btn-login{
    margin-top:40px;
    background:var(--primary-color);
    color:white;
    border:none;
    border-radius:12px;
    height:44px;
    font-weight:600;
    transition:.3s;
    width: 96px;
    vertical-align: text-bottom;
}

.btn-reset-pw {
    margin-top:40px;
    background:var(--primary-color);
    color:white;
    border:none;
    border-radius:12px;
    height:44px;
    font-weight:600;
    transition:.3s;
    width: 275px;
    vertical-align: text-bottom;
}

.btn-login:hover {
    background:radial-gradient(circle at top left, #D74204, #FF611F);
}

.btn-reset-pw:hover {
    background:radial-gradient(circle at top left, #D74204, #FF611F);
    
}

.forgot-password{
    display:block;
    text-align:center;
    margin-top:50px;
    text-decoration: underline;
    color:#444;
}

a.forgot-password:hover {
    color: var(--primary-color);
}

.login-right{
    width:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:transparent;
}

.illustration-card{
    width:320px;
    height:320px;
    background-image: url(/img/background.png);
    background-size: cover;
    border-radius:35px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.illustration-card img{
    max-width:100%;
    margin-bottom: -62px;
}

body.login-page {
    background-image: url(/img/background_login.png);
    background-size: cover;
}

.login-left h2 {
    font-size: 36px;
    place-self: center;
}


.btn-login,
.btn-reset-pw {
    transition: none;
}

/*---------------------------------*/
/*---------------HOME--------------*/
/*---------------------------------*/

.header-home {
    text-align: center;
    line-height: 0.8;
    padding: 3% 0% ;
}

.header-box-home {
    text-align: center;
    line-height: 0.8;
    padding: 0px;
}

.header-box-home p {
    text-align: center;
    line-height: 0.8;
    padding: 0px;
}

.header-home p {
    margin: 0 auto;
    line-height: 2;
    color: var(--label-color);
}

.header-box-home p {
    margin: 0 auto;
    line-height: 2;
    color: var(--label-color);
}

.box-home p {
    color: var(--label-color);
    font-weight: 400;
}
.box-home img{
    width: 60px;
}
.box-home {
    border-radius: 5px;
    box-shadow: 0px 30px 40px -20px var(--primary-color);
    padding: 20px;
    margin: 20px;
    border-top: 10px solid var(--primary-color);
    min-height: 240px;
}
/*
img {
    float: right;
}
*/

/*---------------------------------*/
/*---------------WIZARD--------------*/
/*---------------------------------*/

.wizarc-content{
    height: 70vh;
    padding: 5% 10%;
}

.box-home.wizard{
    width: 1250px;
    height: 650px;
    padding: 50px 80px;
    cursor:auto;
}
.box-home.wizard.step {
        transform: none;
        background-color: #fff;
    }
.box-home.wizard.step:hover {
        transform: none;
        background-color: #fff;
    }

.wizard-button {
    background-color: var(--secondary-color);
    padding: 5px 12px;
    font-size: 18px;
    color: var(--field-bg-color);
    border-radius: 5px;
    transition: 0.4s;
    text-transform: uppercase;
    width:330px;
}
.wizard-button:hover {
    background-color: var(--primary-color);
    color: var(--field-bg-color);
}

.sub-title-wizard{
    font-weight: 600;
    color: var(--text-color);
    padding: 5px;
}


.radio-button {
    display: none;
}

.styled-radio {
    display: inline-block;
    padding: 16px;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    background-color: transparent;
    color: var(--secondary-color);
    cursor: pointer;
    transition: background-color 0.5s ease, color0.5s ease;
    user-select: none;
    min-width: 165px;
}

.radio-button:checked + .styled-radio {
    background-color: var(--secondary-color);
    color: white;
}

.styled-radio:hover {
    color: white;
    background-color: var(--primary-color);
}

label.action-button {
    font-weight: 400;
    font-size:  16px;
    width:180px;
}

.button-action-user {
    padding: 8px 12px;
    font-size: 18px;
    font-weight: 400;
    color: var(--field-bg-color);
    border-radius: 5px;
    transition: 0.4s;
    text-transform: uppercase;
    background-color: #ae194100;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: none;
    border: none;
    border: solid 2px var(--secondary-color) !important;
}

.inputbox {
    border-radius: 10px;
    padding: 10px;
    background-color: #e9ecef;
}

/*---------------------------------*/

@media (max-width: 450px) {
    .box-home {
        transition: transform 0.3s ease, background-color 0.3s ease;
        cursor: pointer;
        min-height: 190px;
    }
    .box-home:hover {
        transform: scale(1.03);
        background-color: rgb(255 0 0 / 5%);
    }
    .box-home.wizard{
    width:100%;
    padding: 20px;
    margin: 0px;
    box-shadow: 0px 0px 3px 0px var(--primary-color);
    }
    .container-fluid {
    padding: 0 10px !important;
    }
    .container-fluid {
    padding-bottom: 0px !important;
    }

    .styled-radio{
        min-width: 142px;
    }
    label.action-button {
    font-size:  3vw;
    }
}
@media (max-width: 1025px){
    .box-home-container {
    background-color: transparent !important;
    border-radius: 0px !important;
    box-shadow: none !important;
    }
    .box-home:hover {
        transform: scale(1.03);
        background-color: rgb(255 0 0 / 5%);
    }
    .content-wrapper{
        height: 100vh !important;
    }
    .box-home.wizard{
    height: 820px;
    }
    .box-home.wizard img{
    width: 120px;
    border-radius: 50%;
    }
    .box-container {
    background-color: #ffffff00 !important;
    border-radius: 0px !important;
    box-shadow: none !important;
    height: 100%;
}
}

@media (max-width: 1025px) and (min-width: 450px) {
    .box {
        transition: transform 0.3s ease, background-color 0.3s ease;
        cursor: pointer;
        text-align: center;
        height: 180px;
        width: 70%;
        justify-self: center;
    }
    .box-home:hover {
        transform: scale(1.03);
        background-color: rgb(255 0 0 / 5%);
    }
}

@media (min-width: 1025px) {

body {
    width: 100%;
}
.tab-container {
    margin: 0 auto;
}
    .box-home-down {
        position: relative;
        top: 80px;
    }
    
    .box-home {
        transition: transform 0.3s ease, background-color 0.3s ease;
        cursor: pointer;
    }
    .box-home:hover {
        transform: scale(1.03);
        background-color: rgb(255 0 0 / 5%);
    }
    .box-home:hover img {
    background-color:#ffffff;
    }
    .header-home p {
        width: 60%;
    }
    .header-box-home p {
        width: 60%;
    }

    .box-home img{
    width: 80px;
    border-radius: 50%;
    background-color: #ffffff;
}
.nav.nav-tabs.report{
    min-width: 50%;
}
.button-action-ticket, .button-action-ticket:hover {
    height: auto !important;
    font-size: 22px !important;
}
td.control {
    cursor: auto !important;
}
.control::before {
        display: none !important;
    }
}

@media (min-width: 1367px) {
    .box-home.wizard img{
        width: 150px;
    }
}


/*---------------------------------*/
/*---------Box sizing rules--------*/
/*---------------------------------*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

/*---------------------------------*/
/*------Remove default margin------*/
/*---------------------------------*/

h2, p {
  margin: 0;
}

/*---------------------------------*/
/*--------------MODAL--------------*/
/*---------------------------------*/

.modal-header.mod{
    border-bottom: 3px solid #292c5b;
}
.modal-body, .alert-success{
    font-size: 16px;
    font-weight: bold;
}
.modal.show{
    background-color: #00000077;
}
.modal-body.separator {
    border-top: 1px solid #CED7E1;
    border-bottom: 1px solid #CED7E1;
}
.modal-body.separator label{
    display: none;
}

.modal-header {
    border: none;
}
.modal-title {
    color:#545454;
    font-size: 30px;
    font-weight: 600;
}

/* ---------------------------------------*/
/* ----- Nascondi input upload file ------*/
/* ---------------------------------------*/
.file-input {
    display: none;
  }
  .file-label i {
    margin-right: 8px;
  }
  .file-upload-wrapper{
    display: flex;
    justify-content: flex-start;
}

  .file-upload-wrapper label{
      min-width: 120px;
      text-align: center;
  }

  .file-name {
        max-width: 100%;
        overflow: visible;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }

.custom-control.custom-switch.custom-switch-lg .custom-control-label::before {
    width: 2.5rem !important;
    height: 1.5rem !important;
    border-radius: 1.5rem !important;
}

.custom-control.custom-switch.custom-switch-lg .custom-control-label::after {
    width: calc(1.5rem - 4px) !important;
    height: calc(1.5rem - 4px) !important;
    border-radius: 1.5rem !important;
    background-color: #fff;
}

.custom-control.custom-switch.custom-switch-lg .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(1rem) !important;
}

.custom-control.custom-switch.custom-switch-lg .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #093668 !important;
    border-color: #093668 !important;
}

.custom-control.custom-switch.custom-switch-lg .custom-control-label {
    padding-left: 2rem !important;
    padding-top: 2px !important;
    cursor: pointer;
    font-weight: 400 !important;
    font-size: 18px;
}

/*---------------------------------*/
/*-------------GENERAL-------------*/
/*---------------------------------*/


.tableFixHead table {
    width: max-content; /* fa sì che il contenuto si allarghi quanto serve */
}
.tableFixHead th,
.tableFixHead td {
    white-space: nowrap; /* Impedisce il ritorno a capo */
}

.modal-dialog {
    max-width: 700px;
}

.page-item .page-link{
    color: #585858 ;
    border-color: #CED7E1;
    border-radius: 0px;
    font-weight: 500;
}

.page-item.active .page-link{
    color: var(--field-bg-color) !important;
    background-color: #CED7E1 !important;
    border-color: #CED7E1 !important;
    color: #2c3e50 !important;
    border-radius: 0px;
}
.paginate_button {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.page-item.disabled .page-link {
    color: #CED7E1 !important;
    border-color: #CED7E1 !important;
}
.page-item:first-child .page-link
{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.page-item:last-child .page-link {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.paginate_button:hover {
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 0%) !important;
    border-color: transparent !important;
    border-radius: 10px !important;
}

.paginate_button.previous:hover {
    border-radius: 10px 3px 3px 10px !important;
}
.paginate_button.next:hover {
    border-radius: 3px 10px 10px 3px !important;
}

.disabled a{
    color: #a3a3a3 !important;
    border-color: #a3a3a3 !important;
}

.select2-dropdown{
    border-left: 1px solid #ced7e1  !important;
    border-right: 1px solid #ced7e1  !important;
    border-bottom: 1px solid #ced7e1  !important;
    border-radius: 0px 0px 20px 20px !important;
    padding-bottom: 20px !important;
    margin-top: -6px;
}
.select2-results__option--highlighted{
    color: var(--field-bg-color) !important;
    background-color: #ced7e1  !important;
}
.select2-results__option{
    font-size: 0.938vw !important;
    margin: 0px 5px !important;
    border-radius: 5px !important;
}
.select2-search__field {
    border-bottom: 2px solid  var(--secondary-color) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0px !important;
    font-size: 21px;
}

body > div.wrapper > aside > a > img {
    opacity: 1 !important;
}
body > div.wrapper > aside > a > img:hover {
    border-radius: 20px;
    box-shadow: 0px 0px 7px var(--field-bg-color);
}

.content-wrapper{
    padding: 2%;
}

.fc {
    background:white;
    border-radius:12px;
}

.fc-toolbar {
    padding:15px;
}

.fc-timegrid-slot {
    height:45px !important;
}

.fc-event{
    border:none !important;
    border-radius:6px !important;
    padding:2px;
}

body{
    background:#f5f5f7;
}

.dashboard-card{
    border:none;
    border-radius:12px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.text-notification-row, .text-notification-row:hover {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
}

.box-home-title {
    font-size: 28px;
    font-weight: 400;
}

.dashboard-card .card-header{
    background:white;
    border-bottom:none;
    border-radius: 12px 12px 0px 0px;
    font-weight:600;
}

.spacer-container {
    margin-top: 4px;
    margin-bottom: 4px;
    margin-right: 12px;
    margin-left: 12px;
    border-top: 1px solid #093668;
}

.status-pill{
    --status-color: #000;
    --status-bg: #fff;

    display:inline-flex;
    align-items:center;
    gap:12px;

    padding:10px 16px;

    border:1px solid var(--status-color);
    border-radius:999px;

    background:var(--status-bg);
}

.status-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--status-color);
    flex-shrink:0;
}

.status-text{
    color:var(--status-color);
    font-size:16px;
    font-weight:400;
    line-height:1;
}

.status-active{
    --status-color:#2F80ED;
    --status-bg:#EAF3FF;
}

.status-started{
    --status-color:#8B4AD6;
    --status-bg:#F3ECFF;
}

.status-arrived{
    --status-color:#D946A0;
    --status-bg:#FFEAF6;
}

.status-progress{
    --status-color:#F59E0B;
    --status-bg:#FFF4DE;
}

.status-completed{
    --status-color:#55B56E;
    --status-bg:#EAF8EE;
}

.status-paid{
    --status-color:#0B4A8B;
    --status-bg:#EAF2FB;
}

.status-suspended{
    --status-color:#6E6E6E;
    --status-bg:#F1F1F1;
}

hr {
    margin-top: 24px;
    margin-bottom: 24px;
    border: 0;
    border-top: 1px solid #CED7E1;
}

.card-notification-home {
    height: 317px;
    overflow-y: auto;
}

.status-divider{
    width:1px;
    height:18px;
    background:#ff5b00;
}

.status-time{
    color:#1f1f1f;
    font-size:16px;
    font-weight:400;
    line-height:1;
}

.notification-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 15px;
}

.page-title{
    font-size: 36px;
    font-weight:700;
}

.fc-timegrid-slot-lane{
    background:#fdfdfd;
}

.title-h4{
    font-weight: 600;
    color: var(--text-color);
    padding: 5px;
}

.title-h5{
    font-weight: 400;
    color: var(--text-color);
    padding: 5px;
    font-size: 24px;
}

.form-label, .form-control-label {
    font-weight: 400 !important;
    font-size: 18px;
    letter-spacing: .1rem;
    color: #000;
    padding: 5px 15px;
    padding-left:0px;
}

a.btn.btn-success, button.btn.btn-success{
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--field-bg-color);
}


.content-header{
    max-height: 120px;
}
.content-wrapper{
    overflow-y: auto;
}

.content-wrapper {
    background: transparent;
}

.btn-primary {
    color: var(--field-bg-color);
    background-color:  var(--secondary-color);
    border-color:  var(--secondary-color);
    border-radius: 8px;
}

a.page-link{
    border-color: var(--label-color);
}

.elevation-4 {
    box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.5) !important;
}

input.form-control.form-control-sm{
    border-color: var(--label-color);
}

th {
    color: black;
}

.outline-button, .outline-button:hover {
    background-color: transparent;
    border: 2px solid #D74204;
    padding: 12px;
    font-size: 16px;
    width: max-content;
    display: flex;
    color: #000;
    font-weight: 600;
    border-radius: 12px;
    transition: 0.4s;
    justify-content: flex-end;
    align-content: center;
    align-items: center;
}

.swal2-popup.swal2-modal.swal2-icon-question.swal2-show {
    width: 380px;
}

button.swal2-confirm.btn-conferma-crea.swal2-styled {
    margin: 0px;
}



.submit-button {
    background-color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    height: 44px;
    width: 180px;
    font-size: 18px;
    color: var(--field-bg-color);
    border-radius: 8px;
    transition: 0.4s;
    text-transform: uppercase;
}

.submit-button:hover {
    transition: 0.4s;
    background-color: var(--primary-color);
}

.upload-button {
    background-color: #F6F6F6;
    color: #585858;
    border: 1px solid #CED7E1;
    border-radius: 8px;
}
.col-xl.mt-5{ 
    min-width: 30%;
    max-width: 33%;
}
a.action-button, a.action-button:hover {
    padding: 12px;
}

.action-button {
    padding: 8px 12px;
    font-size: 16px !important;
    font-weight: 600;
    color: var(--field-bg-color);
    border-radius: 12px;
    transition: 0.4s;
    background: linear-gradient(to right, #D74204, #FF611F, #D74204, #D74204);
    background-size: 200% 100%;
    background-position: left center;
    color: var(--field-bg-color);
    box-shadow: none;
    border: none;
    cursor: pointer;
}


.action-button:hover {
    background-position: #D74204;
    color: var(--field-bg-color);
}

.action-button.popup{
    width: 100%;
    display: block;
    text-align: center;
    cursor: pointer;
}
.action-button img{
    width: 16px;
}

.action-button.remove{
    padding: 2px 9px 0px 9px;
    background-color: var(--primary-color);
    color: var(--field-bg-color);
    transition: 0.2s;
    cursor: pointer;
}
/*
.action-button.remove:hover{
    background-color: #ee7b74 ;
    transition: 0.2s;
}
*/
.action-button.short img{
    width: 25px;
    height: 25px;
}

.tab .nav-pills .nav-link:hover, .nav-item-mobile:hover {
    color: black !important;
}

.tab .nav-pills .nav-link.active:hover, .nav-item-mobile:hover {
    color: white !important;
}

.top-page-title{
    font-size: 36px;
    font-weight: 500;
    color: var(--text-color);
    padding: 5px;
}

input[type=checkbox], input[type=radio] {
    filter: hue-rotate(150deg);
}



.t-invoice .table td:nth-child(1), .table th:nth-child(1) {
width: 5%;
}
.t-invoice .table td:nth-child(2), .table th:nth-child(2) {
width: 5%;
}
.t-invoice .table td:nth-child(3), .table th:nth-child(3) {
width: 5%;
}
.t-invoice .table td:nth-child(4), .table th:nth-child(4) {
width: 50%;
}
.t-invoice .table td:nth-child(5), .table th:nth-child(5) {
width: 12%;
}
.t-invoice .table td:nth-child(6), .table th:nth-child(6) {
width: 12%;
}

/* Botton excel-csv

table.dataTable thead th, table.dataTable thead td {
    padding: 10px 18px;
    border-bottom: 0px solid #ffffff00 !important;
}
/*
.dataTables_scrollHead{
    background-color: white;
    color: black !important;
    border-top: 2px solid var(--field-border-color)!important;
    border-bottom: 2px solid var(--field-border-color) !important;
}
*/

tr.odd{
    background-color: #0936680a !important;
}
.odd td {
    background-color: #fff!important;
}

.dataTables_filter label {
    margin-bottom: 24px;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 16px 10px !important;
}

table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
    border-top: 1px solid #6e8ab9 !important;
}

label{
    font-size: 16px;
}

.page-link{
    padding: .5rem 1rem;
    font-size: 16px;
}

table.dataTable thead .sorting {
    background-image: none !important;
}

button#startTracking, button#stopTracking {
    font-size: 16px !important;
    font-weight: 300;
    padding: 5px 12px;
    margin-left: 5px;
    margin-bottom: 5px !important;
}

.select2-selection {
    border: 1px solid #ced7e1 !important;
    border-radius: 8px !important;
    background-color: transparent !important;
}

.modal-body.vocebody .select2-selection, .modal-body.vocebody input.form-control {
    border: 1px solid #ced7e1 !important;
    border-radius: 8px !important;
    background-color: #fff !important;
}

.modal-body.vocebody label, .total-item label{
    font-weight: 400 !important;
}

.select2-selection--single {
    height: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
}

.select2-selection__clear {
    margin-left: 0.3em;
}
.select2 {
    width: 100% !important;
}
.select2-container .selection span{
    min-height: 15px !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
    position: absolute;
    top: 0% !important;
    left: 50%;
    width: 0;
    height: 0;
    margin-top: -2px;
    margin-left: -4px;
    border-color: #343a40 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0;
}

.select2-search__field {
    background-color: transparent;
 }

.select2-container--bootstrap4.select2-container--focus .select2-selection,
.select2-container--bootstrap4.select2-container--open .select2-selection {
    border-color: #ced7e1 !important;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, 0) !important;
}

.dataTables_length select{
        max-width: 60px;
    }


.action-button.fast{
    min-width: auto;
    width: 65px;
}
.fast-btn {
    width: 27px;
    margin: 0px 8px;
}
.fast-btn:hover {
    filter: brightness(0.7);
}


.fc .fc-button-primary {
    background-color: var(--field-bg-color);
    border-color: #CED7E1;
    color: #585858;
}

.fc .fc-button-primary:not(:disabled):active, .fc .fc-button-primary:not(:disabled).fc-button-active, .fc .fc-button-primary:hover{
    background-color: #CED7E1;
    border-color: #CED7E1;
    color: #585858;
}

h2#fc-dom-1 {
    text-align: center;
    font-size: 34px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.fc .fc-button-primary:not(:disabled).fc-button-active:focus, .fc .fc-button-primary:not(:disabled):active:focus {
    box-shadow: rgba(161, 173, 185, 0) 0px 0px 0px 0.2rem;
}

a {
    color:"";
    text-decoration: none;
    background-color: transparent;
}

.button-action-ticket:hover {
    width: 100%;
    font-size: 18px;
    font-weight: 400;
    align-content: center;
    height: 150px;
    border-radius: 10px;
}

.action-button:disabled{
    background-color: #c7c7c7;
    color: #fff;
    border: solid 2px #c7c7c7 !important;
}
.btn-arrivato {
    background: #F3D5E6;
    color: #C42E80;
}

.btn-in-gestione {
    background: #FDECCE;
    color: #F59E0B;
}

.btn-partito{
    background: #E3D8EF;
    color: #733AAF;
}

.btn-completato {
    background: #DDEDE3;
    color: #57A773;
}

.btn-incassa {
    background: #CED7E1;
    color: #093668;
}
.btn-cliente {
    background: rgb(1 118 145 / 57%);
}
.btn-materiali {
    background: rgba(165, 85, 11, 0.568);
}
.btn-documento {
    background: rgba(126, 57, 245, 0.568);
}
.btn-truck {
    background: #bc472b91;
}
.btn-list {
    background: rgba(45, 204, 169, 0.568);
}
.btn-inizio, .btn-inizio:hover {
    background: #D8DFE7 !important;
    color: #093668 !important;
}
.btn-materiali.active, .btn-documento.active {
    box-shadow: 0px 0px 10px #d74204;
}

.fw-bold {
    text-align: center;
    margin-top: 10px;
    text-transform: uppercase !important;
    font-size: 20px;
    color: #212529;
    font-weight: 600;
    padding: 5px;
}

.btn-fine, .btn-fine:hover {
    background: #F9E1D7 !important;
    color: #D74204 !important;
}

.card-no-border {
    box-shadow: 0 0 0px rgba(0, 0, 0, 0), 0 0px 0px rgba(0, 0, 0, 0);
}

.accordionbox-input{
    border-radius: 10px;
    border: 1px solid #093668;
}
.card-header.accordion{
    border-radius: 10px;
    background-color: #ffe6dc;
}

.vehicle-row:nth-child(odd) {
    background-color: #ebebeb;
}

.icon-button{
    width: 60px;
    margin-bottom: 10px;
    height: 60px;
}

.icon-button-payments{
    width: 60px !important;
    margin-bottom: 10px;
    height: 60px;
}

.button-action-ticket {
    width: 100%;
    font-size: 18px;
    font-weight: 400;
    padding: 5px 2px;
    align-content: center;
    height: 150px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.button-action-shift {
    width: 100%;
    height: 167px;
    font-size: 18px;
    font-weight: 400;
    border: none;
    padding: 5px 5px;
    color: #fff;
    align-content: center;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

a.button-action-shift.btn-primary.w-100.d-block.text-center:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.dataTables_length label{
    display: flex;
    flex-direction: column;
}

.action-button.popup {
        min-height: 80px;
        align-content: center;
    }

a.action-button.popup.btn-cash {
    align-content: center;
    background-color:#84DCBF;
    border-color: #84DCBF !important;
}

a.action-button.popup.btn-credit {
    align-content: center;
    background-color: #B2AFAF;
    border-color: #B2AFAF !important;
}

a.action-button.popup.btn-bank {
    align-content: center;
    background-color:#D0A0AB;
    border-color: #D0A0AB !important;
}

a.action-button.popup.btn-pos {
    align-content: center;
    background-color:#f7d075;
    border-color: #f7d075 !important;
}


a.action-button.popup.btn-cash:active, a.action-button.popup.btn-cash:hover {
    align-content: center;
    background-color:#1BBE87;
    border-color: #1BBE87 !important;
}

a.action-button.popup.btn-credit:active, a.action-button.popup.btn-credit:hover {
    align-content: center;
    background-color: #777373;
    border-color: #777373 !important;
}

.btn-cancel {
    border: 0;
    border-radius: .25em;
    background: initial;
    background-color: #6e7881;
    color: #fff;
    font-size: 1em;
    height: 44px;
    width: 120px;
}

/* Nei footer dei modali il pulsante secondario affianca action-button: con le stesse misure i due restano allineati */
.modal-footer .btn-secondary,
.modal-footer .btn-secondary:hover {
    padding: 8px 12px;
    border: none;
    border-radius: 12px !important;
    font-size: 16px;
    font-weight: 600;
}

a.action-button.popup.btn-bank:active, a.action-button.popup.btn-bank:hover {
    align-content: center;
    background-color:#A74C61;
    border-color: #A74C61 !important;
}

a.action-button.popup.btn-pos:active, a.action-button.popup.btn-pos:hover {
    align-content: center;
    background-color:#F7BE38;
    border-color: #F7BE38 !important;
}

/* The fixed sidebar took its height from the page, so on short screens the lower menu items were unreachable */
aside.main-sidebar.sidebar-dark-primary.elevation-4 {
    position: fixed;
    height: 100vh;
    height: 100dvh;
}

tr.child ul.dtr-details
 {
    display: block !important;
}

tr.child ul.dtr-details li:not(:first-child) {
    border-top: 0.5px solid #cfcfcf !important;
}

table.dataTable tr.child ul.dtr-details {
    width: 100%;
    box-sizing: border-box;
}

table.dataTable tr.child ul.dtr-details li {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.spinner-lg {
    width: 4rem;
    height: 4rem;
    border-width: 0.5rem;
    color: var(--secondary-color )!important;
}
td.control::before{
    padding-right: 10px;
}

table.dataTable tbody td:first-child
{
    padding-right: 0px;
}

.btn-signature {
    background: #CFEAE7;
    color: #0D9488;
}

canvas#signature-pad {
    border: 1px solid #ccc;
    width: 100%;
    border-radius: 10px;
}

/*----------------------------------*/
/*-------------CALENDAR-------------*/
/*----------------------------------*/

.card-container
{
    background-color: var(--field-bg-color);
    border-radius: 12px;
    box-shadow: 0px 5px 25px -15px #7e7e7e;
    width: 100%;
}

.fc-scrollgrid-sync-inner a {
    color: #000;
}

.fc .fc-view-harness {
    border-top: 2px solid #000;
}

.fc-timeGridWeek-view thead{
    border-bottom: 2px solid #CED7E1;
}

.fc-timeGridWeek-view thead th{
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

.fc-theme-standard td, .fc-theme-standard th
{
    border: 1px solid #CED7E1;
}
.fc-theme-standard td
{
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

button.fc-today-button.fc-button.fc-button-primary {
    margin-left: 20px !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
}

.fc-direction-ltr .fc-button-group > .fc-button:focus {
    outline: none !important;
    box-shadow: none !important;
}
.fc-direction-ltr .fc-button-group > .fc-button {
    border-radius: 8px !important;
}
.fc-direction-ltr .fc-button-group > .fc-timeGridWeek-button.fc-button {
    border-radius: 0px !important;
}
.fc-direction-ltr .fc-button-group > .fc-prev-button.fc-button, .fc-direction-ltr .fc-button-group > .fc-dayGridMonth-button.fc-button {
    border-bottom-right-radius: 0px !important;
    border-top-right-radius: 0px !important;
}
.fc-direction-ltr .fc-button-group > .fc-next-button.fc-button, .fc-direction-ltr .fc-button-group > .fc-timeGridDay-button.fc-button {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.swal2-icon-show {
    display: none !important;
}

.status-popup {
    font-size: 16;
    color: #6c757d;
    padding: 12px !important;
    background-color: #D7420414;
    border-radius: 20px;
    border: 1px solid #D74204;
}

.swal2-html-container {
    width: 100%;
    justify-content: left;
    margin: 18px auto 5px !important;
}

.swal2-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 0px !important;
}

.swal2-popup.swal2-modal.swal2-icon-question.swal2-show, .swal2-popup.swal2-modal.popup-edit.swal2-show {
    padding-left: 24px;
    padding-right: 24px;
}

.swal2-confirm {
    padding: 8px 12px;
    font-size: 18px !important;
    font-weight: 400;
    color: var(--field-bg-color);
    border-radius: 12px !important;
    transition: 0.4s;
    background: linear-gradient(to right, #D74204, #FF611F, #D74204, #D74204) !important;
    background-size: 200% 100% !important;
    background-position: left center !important;
    color: var(--field-bg-color);
    box-shadow: none;
    border: none;
    cursor: pointer;
    flex-grow: 1 !important;
}

.btn-conferma-crea::before {
    content: "" !important; 
    display: inline-block !important;
    background-image: url('/img/icons/nuovo-white.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 16px !important;
    height: 16px !important;
    margin-right: 8px !important;
    }


.swal2-confirm:focus {
    box-shadow: 0 0 0 !important;
}

.popup-edit .swal2-actions {
    flex-direction: row !important;
}

.btn-trash-popup {
    order: 2;
    background-color: #ffffff !important;
    border-radius: 12px !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    margin-left: 10px !important;
    border: 1px solid #BB2525 !important;
    box-shadow: none !important;
    border-radius: 12px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
}

.btn-trash-popup::before {
    content: "" !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    background-image: url('/img/icons/elimina.png') !important;
}

.swal2-popup {
    padding: 12px;
    border-radius: 24px;
}

h2#swal2-title {
    width: 90%;
}

.popup-edit .swal2-title {
    padding-top: 5px !important;
    border-bottom: none;
    padding-bottom: 0px;
}
.swal2-title {
    padding-top: 0px !important;
    border-bottom: 1px solid #CED7E1;
    padding-bottom: 20px;
}
.swal2-title{
    text-align: left !important;
}
.swal2-actions {
    padding-top: 24px !important;
    border-top: 1px solid #CED7E1;
}

.wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: -1;
}

.separator {
    border-top: 1px solid #CED7E1;
    margin: 24px 0;
}
/*----------------------------------*/
/*----------NEW-DATATABLE-----------*/
/*----------------------------------*/

.btn.btn-export-data, .btn-secondary {
    background-color: #F7D9CD;
    border-radius: 8px !important;
    color: #585858 !important;
    border: none;
}

.btn.btn-export-data:hover, .btn-secondary:hover {
    background-color: #F7D9CD;
    border-radius: 8px !important;
    color: #585858 !important;
}

.btn.btn-export-data.buttons-excel, button.btn.btn-secondary.buttons-excel.buttons-html5  {
    margin-right: 8px;
}

.btn-icon-export {
    width: 16px;
    height: 16px;
    margin-right: 0px;
    vertical-align: middle;
}

.btn-icon-back {
    width: 20px;
    height: 20px;
    margin-right: 0px;
    vertical-align: middle;
    cursor: pointer;
}


input.form-control, select.form-control {
    background-color: transparent;
    border: 1px solid #CED7E1;
    border-radius: 8px;
    min-height: 44px;
    color: #585858 !important;
}

.dataTables_length label {
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    color: #585858 !important;
    font-weight: 400 !important;
}

.dataTables_length label .custom-select {
    width: 48px;
    border-radius: 4px !important;
    color: #585858 !important;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #CED7E1 !important;
    border-radius: 8px !important;
    min-height: 38px;
    width: 165px;
    background-image: url('/img/Tabelle/cerca.png');
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 16px 16px;
    padding-left: 36px !important;
}
.icon-table-img{
    width: 20px;
    margin: 0 5px;
    cursor: pointer;
}

.icon-table-popup{
    width: 44px !important;
    background-color: #09366814;
    border-radius: 12px;
    padding: 8px;
}

.status-badge {
    display: inline-block;
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    text-transform: uppercase;
}

.status-attivo {
    background-color: #2D7DD214;
    border-color: #2D7DD2;
    color: #2D7DD2;
}

.status-partito {
    background-color: #733AAF14;
    border-color: #733AAF;
    color: #733AAF;
}

.status-arrivato {
    background-color: #C42E8014;
    border-color: #C42E80;
    color: #C42E80;
}

.status-gestione {
    background-color: #F59E0B14;
    border-color: #F59E0B;
    color: #F59E0B;
}

.status-terminato {
    background-color: #57A77314;
    border-color: #57A773;
    color: #57A773;
}

.status-pagato {
    background-color: #09366814;
    border-color: #093668;
    color: #093668;
}

.status-sospeso {
    background-color: #58585814;
    border-color: #585858;
    color: #585858;
}

.emetti-preventivo {
    background-color: #D1E2EE;
    border-color: #D1E2EE;
    color: #1B6CA8;
    text-align: center;
    font-weight: 600 !important;
}

.emetti-preventivo:hover {
    background-color: #D1E2EE;
    border-color: #D1E2EE;
    color: #1B6CA8;
    text-align: center;
    font-weight: 600 !important;
}

.emetti-preventivo h5, .approvazione-preventivo h5 {
    font-weight: 600 !important;
}

.approvazione-preventivo {
    background-color: #F3E4D2;
    border-color: #F3E4D2;
    color: #C47A1E;
    text-align: center;
}

.approvazione-preventivo:hover {
    background-color: #F3E4D2;
    border-color: #F3E4D2;
    color: #C47A1E;
    text-align: center;
}

.back-link {
    color: #000;
    text-decoration: none;
}

table.dataTable thead th{
    border-top: 1px solid #093668 !important;
    border-bottom: 1px solid #093668 !important;
}
table.dataTable {
    border-collapse: collapse !important;
}

table.dataTable tbody tr.odd td {
    background-color: #0936680A !important;
    border-top: 1px solid #CED7E1 !important;
    border-bottom: 1px solid #CED7E1 !important;
}

.actions-cell{
    max-width: 140px;
    text-align: center;
}

/*----------------------------------*/
/*-------------NEW-TAB--------------*/
/*----------------------------------*/

.tab .nav-pills .nav-link, .nav-item-mobile {
    background-color: transparent !important;
    border: 2px solid var(--label-color) !important;
    border-radius: 22px !important;
    color: #000;
    font-weight: 600;
    padding: 6px;
}
.tab .nav-pills .nav-link.active, .nav-item-mobile.active {
    background-color: var(--label-color) !important;
    color: #fff;
}

/* Allineamento della cella nella tabella */
td.col-status {
    text-align: center;
    vertical-align: middle !important;
}

ul.nav.nav-treeview a.nav-link {
    background: rgba(255, 255, 255, 0);
}
.modal-content {
    border-radius: 24px;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    padding-left: .75rem;
    align-content: center;
    /* align-content: center; */
    line-height: calc(1.5em + .75rem);
    color: #495057;
}

.select2-selection.select2-selection--multiple {
    overflow-y: scroll;
}

i.fas.fa-download.icon-table {
    color: var(--label-color);
}
table.dataTable>tbody>tr.child ul.dtr-details {
    text-align: left;
}

.nav-pills.suppliers .nav-link {
    border: none !important;
    background-color: #ffffff;
}

@media (min-width: 992px) {
  div#collaborator-table_info {
        margin-top: 2px;
    }
    div#invoice-table_info {
   
    margin-top: 3px;
}
.container-fluid{
    padding: 20px;
}
.action-button.link, .action-button.link:hover{
    padding: 11px 12px;
}
.modal-content {
        min-width: 600px;
    }
    .modal-sm .modal-content, .modal-dialog{
        min-width: auto;
        max-width: 380px;
    }
}

/* Extra large devices (large desktops, 1367px and down) */
@media (max-width: 1367px) {

    .form-label, .form-control-label{
        font-size: 12px;
        letter-spacing: .2rem;
    }


    .page-link{
        padding: .5rem 1rem;
        font-size: 16px;
    }

}
/* Extra large devices (large desktops, 1200px and down) */
@media (max-width: 1200px) {


    span.select2.select2-container.select2-container--bootstrap4 {
        width: 100% !important;
    }

    #customersTable td {
        text-align: left;
    }

    body:not(.layout-fixed) .main-sidebar {
        position: fixed;
        top: 0;
    }

    #customersTable td.actions-cell {
        text-align: right !important;
        white-space: nowrap;
    }

    #customersTable td.control {
        text-align: center !important;
    }

    table.dataTable thead .sorting {
        text-align: left;
    }

    .form-label, .form-control-label{
        font-size: 18px;
        letter-spacing: .2rem;
    }

    .page-link{
        padding: .5rem 1rem;
        font-size: 18px;
    }

    .box p {
        font-size: 18px;
    }

    .top-page-title{
        font-size: 28px;
    }

    .card.restyle .card-body {
        max-width:780px;
    }

    .solo-mobile {
        display: block;
    }

    .t-invoice th, .t-invoice td input{
        padding: 5px;
    }
    .t-invoice .table td:nth-child(1), .table th:nth-child(1) {
        width: 5%;
        }
        .t-invoice .table td:nth-child(2), .table th:nth-child(2) {
        width: 10%;
        }
        .t-invoice .table td:nth-child(3), .table th:nth-child(3) {
        width: 10%;
        }
        .t-invoice .table td:nth-child(4), .table th:nth-child(4) {
        width: 24%;
        }
        .t-invoice .table td:nth-child(5), .table th:nth-child(5) {
        width: 10%;
        }
        .t-invoice .table td:nth-child(6), .table th:nth-child(6) {
        width: 10%;
        }
        .t-invoice .table td:nth-child(7), .table th:nth-child(7) {
        width: 20%;
        }
        nav.main-header.navbar.navbar-expand.navbar-white.navbar-light.pb-xl-4 {
            position: absolute;
            top: 0;
            width: 100%;
        }
        .box-container {
            margin-top: 70px;
            height: 92vh;
        }

        .action-button {
            background-color: var(--secondary-color);
            font-size: 16px !important;
            line-height:24px !important;
            color: var(--field-bg-color);
            border-radius: 12x;
            transition: 0.4s;
            min-width: auto;
        }
    
        .action-button:hover {
            background-color: var(--secondary-color);
            padding: 8px 12px;
            font-size: 12px;
            color: var(--field-bg-color);
            border-radius: 12px;
            transition: 0.4s;
            min-width: auto;
        }
    
        .action-button.short img{
            width: 22px;
            height: 22px;
        }
        .action-button:hover{
            color: var(--field-bg-color);
        }

        .text-label-collaborators, .text-label-customes{
            display: none;
        }

}

/* Large devices (desktops, 992px and down) */
@media (max-width: 992px) {

    .fc-toolbar-chunk {
        margin-top: 10px;
    }

    .fc .fc-toolbar {
        align-items: center;
        display: flex;
        justify-content: space-between;
    }

    .fc-button-group {
        width: 100%;
    }

    .card.restyle .card-body {
        max-width:760px;
    }

    .text-label-collaborators, .text-label-customes{
        display: none;
    }

    .box p {
        font-size: 18px;
    }

    .alert-success{
        font-size: 16px;
    }


    .text-label-collaborators, .text-label-customes{
        display: none;
    }

     /* Content tables head-body */

    .submit-button{
        font-size: 16px;
    }

    .form-label, .form-control-label {
        font-size: 14px;
        letter-spacing: .1rem;
    }

    .select2-results__option {
        font-size: 18px !important;
    }
    .form-label, .form-control-label {
        font-size: 18px;
    }

    .data-table tbody, .data-table thead{
        font-size: 18px;
    }

    /* Botton excel-csv*/
    .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
        font-size: 18px !important;
    }

    .btn-group > :not(.btn-check:first-child) + .btn{
        font-size: 18px !important;
    }

    .page-link{
        padding: .5rem 1rem;
        font-size: 18px !important;
    }

    .top-page-title{
        font-size: 25px;
    }

    .pagination {
        justify-content: space-between;
    }

    .paginate_button {
        padding: 0em !important;
    }
}
/* Medium devices (tablets, 769px and down) */
@media (max-width: 769px) {
    .box-menu__button {
        padding:0.3em 0.4em;
    }

    .text-label-collaborators, .text-label-customes{
        display: none;
    }

    .box p {
        font-size: 16px;
    }

    .card.restyle .card-body {
        max-width:700px;
    }

    .form-label, .form-control-label{
        font-size: 14px;
    }

    .data-table tbody, .data-table thead{
        font-size: 16px;
    }

    /* Botton excel-csv*/
    .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
        font-size: 14px !important;
    }

    .btn-group > :not(.btn-check:first-child) + .btn{
        font-size: 14px !important;
    }

    .page-link{
        padding: .5rem 1rem;
        font-size: 14px !important;
    }

    .submit-button{
        font-size: 14px;
    }

    .top-page-title{
        font-size: 25px;
    }

    .pagination {
        justify-content: space-between;
    }

    .paginate_button {
        padding: 0em !important;
    }
}
/* Small devices (landscape phones, 576px and down) */
@media (max-width: 576px) {

    body{
        background:#ffffff;
    }
    nav.main-header{
        border-bottom: 1px solid #e0dcdb;
    }
    .navbar .nav-link {
        color: #8fa1b5 !important;
    }

    .not-active {
        pointer-events: none;
        cursor: default;
        background: #DEDEDE !important;
        color: #8C8C8C !important;
    }

    .not-active img {
        filter: grayscale(1);
        opacity: 0.45;
    }

    .middle-arrow{
        position: absolute;
        right: -20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        margin-top: 5px;
    }
    .fc-header-toolbar{
        padding-top: 0px !important;
    }
    .fc .fc-toolbar {
        flex-direction: column !important;
    }
    .fc .fc-prev-button {
        margin-right: 10px !important;
    }
    .fc .fc-next-button {
        margin-left: 10px !important;
    }
    .fc-toolbar-title {
        margin-top: 0px;
    }
    h2#fc-dom-1 {
        font-size: 20px;
    }
    .btn-mobile-100 {
        width: 100% !important;
    }

    #collaborator-table th:nth-child(3),
    #collaborator-table td:nth-child(3) {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .box-right-intervento{
        align-content: end;
    }


    .submit-button {
        font-size: 3vw;
    }

    .margin-header-calendar {
        margin-top: 57px;
    }

    a.btn.btn-success.mdi.mdi-plus.md-1_3.w-100.text-button{
        padding: 0px;
    }

    .top-title-table {
        font-size: 22px;
        color: #000000;

    }

    .top-page-title{
            font-size: 24px;
            font-weight: 600;
            border-radius: 20px;
            color: #000000;
            padding: 5px;
    }

    .text-label-collaborators, .text-label-customes{
        display: none;
    }

    .custom-file{
    text-align-last: center;
    }

    span.select2-selection.select2-selection--single{
        align-content: center;
        font-weight: 400 !important;
    }

    /* Content tables head-body */

    /* Botton excel-csv*/
    .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
        font-size: 2.791vw !important;
    }

    .btn-group > :not(.btn-check:first-child) + .btn{
        font-size: 2.791vw !important;
    }

    .box p {
        font-size: 14px ;
    }

    .page-link{
        padding: .5rem 1rem;
        font-size: 14px !important;
    }

    .top-page-title{
        font-size: 24px;
    }

    .paginate_button {
        padding: 0em !important;
    }

    .pagination {
        justify-content: center;
    }

    .form-label, .form-control-label {
        font-size: 2.791vw;
    }

    .dataTables_wrapper .dataTables_filter input {
        margin-left: 0px !important;
    }

    .form-label, .form-control-label {
        font-size: 2.326vw;
        letter-spacing: 0.1rem;
    }

    .data-table tbody, .data-table thead{
        font-size:2.791vw;
    }

    .container-icon-40 {
        width: 40px;
        height: 40px;
    }

    .view-user {
        font-size: 20px;
        font-weight: 600;
        height: 44px;
        width: max-content;
    }

    .dataTables_wrapper .dataTables_filter {
        margin-top: 0px !important;
    }

    .dataTables_wrapper .dataTables_filter label {
        padding: 16px !important;
    }

    a#view-user:hover {
        color: #000000;
    }

    .select2-results__option {
        font-size: 2.791vw !important;
    }

    .t-invoice th, .t-invoice td input{
        padding: 5px;
    }
    .t-invoice .table td:nth-child(1), .table th:nth-child(1) {
    width: 5%;
    }
    .t-invoice .table td:nth-child(2), .table th:nth-child(2) {
    width: 10%;
    }
    .t-invoice .table td:nth-child(3), .table th:nth-child(3) {
    width: 10%;
    }
    .t-invoice .table td:nth-child(4), .table th:nth-child(4) {
    width: 38%;
    }
    .t-invoice .table td:nth-child(5), .table th:nth-child(5) {
    width: 11%;
    }
    .t-invoice .table td:nth-child(6), .table th:nth-child(6) {
    width: 11%;
    }
    .t-invoice .table td:nth-child(7), .table th:nth-child(7) {
    width: 25%;
    }
    .file-upload-wrapper{
        align-items: center;
    }
    .header {
        padding: 0%;
    }

    #calendar {
        padding-left: 8px;
        padding-right: 8px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
    }
    .totals-container {
        display: block !important;
    }
    .total-item, .total-item input{
        text-align: left !important;
    }
    .action-button.fast, .action-button-add.fast {
        width: 100%;
    }
    .dataTables_length label{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    .action-button.popup {
        min-height: 132px;
        align-content: space-between;
        font-weight: 700;
    }
    .dtr-title{
        min-width: 130px !important;
    }

    .dataTables_filter input {
        width: auto;
    }
    .file-name {
        overflow: hidden;
    }
    .submit-button {
        font-size: 14px !important;
        min-width: auto;
    }


    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: block;
    }
    td.actions-cell, li.actions-cell {
        min-width: 80px;
        width: 80px;
        text-align: right;
        white-space: nowrap;
        }
    td.txt-truncate {
        max-width: 160px !important;
        width: 160px !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        }
    a.action-button, a.action-button:hover {
        padding: 8px 12px;
    }

    .form-group label, label.form-label {
        display: block;
        margin-bottom: 0px;
        font-size: 16px !important;
    }

    .form-label, .form-control-label {
        padding-left: 3px !important;
        padding-bottom: 1px;
    }

    .btn-login {
        margin-top: 30px;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 12px;
        height: 44px;
        font-weight: 600;
        transition: .3s;
        width: 96px;
        vertical-align: text-bottom;
    }

    .forgot-password{
        display:block;
        text-align:center;
        margin-top:30px;
        text-decoration: underline;
        color:#444;
    }

    .btn-reset-pw {
        margin-top:30px;
        background:var(--primary-color);
        color:white;
        border:none;
        border-radius:12px;
        height:44px;
        font-weight:600;
        transition:.3s;
        width: 275px;
        vertical-align: text-bottom;
    }

    .login-left h2 {
        font-size: 28px;
        place-self: center;
    }

    .login-wrapper {
        width: 100%;
    }

    .login-card {
        height: 605px;
        width: 100%;
        display: flex;
        background-image: url(/img/background.png);
        background-size: contain;
        border-radius: 30px;
        overflow: hidden;
        flex-direction: column-reverse;
        box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
    }

    .login-right {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: transparent;
    }

    .login-left {
        width: 100%;
        height: 100%;
        background: #f7f7f7;
        border-radius: 24px;
        padding: 30px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .illustration-card {
        width: auto;
        height: 116px;
        background:transparent;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .illustration-card img {
        width: 175px;
        height: 140px;
        margin-bottom: 24px;
        position: absolute;
    }

    .btn-create-calendar {
        width: 95% !important;
        align-self: center;
    }

    p.description-text-home {
        color: #000000;
        margin-top: 8px;
    }

    aside.main-sidebar.sidebar-dark-primary.elevation-4, .navbar-white {
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    }

    .dataTables_filter label, .dataTables_wrapper .dataTables_filter input {
        width: 100%;
    }
    .swal2-close {
        position: relative;
        top: -20px;
        right: -20px;
    }
    .swal2-title {
    font-size: 24px;
    }

    #pills-master_data-tab, #pills-customer_devices-tab, #pills-file_archive-tab, #pills-history_of_projects-tab {
        border-radius: 80px !important;
        padding: 12px 24px;
        height: 44px !important;
        margin-top: 8px !important;
    }

}

.spacer{
    height: 50px;
}

.noscroll{
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}
.mail-notify {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--button-grey-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mail-notify i {
    width: 16px;
    height: 16px;
    padding-top: 3px;
}

.mail-notify .notification-message {
    position: absolute;
    top: 0px;
    right: -8px;
    font-size: 12px;
    min-width: 16px;
    height: 16px;
    font-weight: 700;
    color: #000;
}
.totals-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 20px;
    }

.total-item {
        flex: 1;
    }

.total-item label {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
    }

.total-item input {
        width: 100%;
        height: 40px;
        font-size: 16px;
        text-align: right;
        padding: 5px;
    }

ul.select2-selection__rendered {
    padding: 0px;
}

input.select2-search__field {
    margin: 0px !important;
    border-bottom: none !important;
}

.fc .fc-button-primary:disabled {
    background-color: #CED7E1;
    border-color: #CED7E1;
    color: #585858;
}

.fc .fc-button-primary:not(:disabled):active, .fc .fc-button-primary:not(:disabled).fc-button-active, .fc .fc-button-primary:hover {
    background-color: #CED7E1;
    border-color: #CED7E1;
    color: #585858;
}

.form-row .form-control:not(textarea),
.form-row .select2-selection--single,
.form-row .select2-selection--multiple,
span.select2-selection.select2-selection--single {
    height: 48px !important;
    min-height: 48px !important;
}
.card-orange.card-outline {
    border-top: 3px solid #d74204;
}
.product-cell-actions {
    align-content: center;
}
/* Fra 992 e 1200 px la barra laterale resta aperta e occupa 250 px, ma la barra superiore
   e' larga il 100%: sul notebook la pagina sbordava di 250 px in orizzontale */
@media (min-width: 992px) and (max-width: 1200px) {
    body:not(.sidebar-collapse) nav.main-header.navbar.navbar-expand.navbar-white.navbar-light.pb-xl-4 {
        width: calc(100% - 250px);
    }
}
