/*---------------------------------*/
/*------------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;
}

th{
    color: white;
}

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

.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: var(--label-color);
}
.sidebar .nav-link{
    color: var(--field-bg-color) !important;
}
.nav-link.active{
    background-color: var(--secondary-color) !important;
}

.nav-item:hover > .nav-link.active{
    color: var(--field-bg-color) !important;
}
.nav-item:hover > .nav-link{
    color: var(--secondary-color) !important;
}
.nav-item:hover > .nav-link > p{
    color: var(--secondary-color) !important;
}

.nav-item:hover > .nav-link.active > p{
    color: var(--field-bg-color) !important;
}

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

li.nav-item:hover {
    font-weight: 400;
}

.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: 500;
}

[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;
}

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

@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--------------*/
/*---------------------------------*/

.row.login-tab {
    height: 610px;
}

.box-right-login{
    height: auto;
}

.login-form {
    padding: 50px 30px;
    align-content: center;
}
    .btn-login-submit {
    color: #fff;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: none;
    border-radius: 5px;
    padding: 10px 45px;
}

.btn-login-submit:hover {
    color: #fff;
    background-color: var(--field-border-color);
    border-color: var(--field-border-color);
}

.row.tab-container.align-items-center {
    width: 1100px;
}

.remember-pw{
    color: var(--secondary-color);
}

.container {
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}
.welcome-section {
    background-color: var(--primary-color);
    color: white;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 500px;
}
.content-wrapper{
    background-color: transparent;
}
/*---------------------------------*/
/*-------------REGISTER------------*/
/*---------------------------------*/

.row.register-tab{
    width: 1100px;
}

.btn-register-submit{
    color: #fff;
    background-color: #511F5C;
    border-color: #511F5C;
    box-shadow: none;
    border-radius: 5px;
    padding: 10px 45px;
}

.btn-register-submit:hover {
    color: #fff;
    background-color: var(--field-border-color);
    border-color: var(--field-border-color);
}

.row.register-tab {
    height: 610px;
}

.box-left-register{
    height: auto;
}

/*---------------------------------*/
/*---------LOGIN / REGISTER--------*/
/*---------------------------------*/

/* Inio Animazione colonna login/register */

.tab-container .col-12 {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    opacity: 1;
}

.tab-container .col-left.slide-out-right {
    transform: translateX(50%);
    opacity: 0;
}

.tab-container .col-right.slide-out-left {
    transform: translateX(-50%);
    opacity: 0;
}

.tab-container .col-left.slide-in-right {
    transform: translateX(50%);
    opacity: 0;
}

.tab-container .col-right.slide-in-left {
    transform: translateX(-50%);
    opacity: 0;
}

/* Fine Animazione colonna login/register */

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

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

.header-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: var(--secondary-color);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    user-select: none;
    min-width: 165px;
}


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

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

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


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

@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: 50px !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) {
    


    .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%;
    }
    .box-home img{
    width: 80px;
    border-radius: 50%;
    background-color: #ffffff;
}
}

@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;
}

/* ---------------------------------------*/
/* ----- Nascondi input upload file ------*/
/* ---------------------------------------*/
.file-input {
    display: none;
  }
  .file-label i {
    margin-right: 8px;
  }
  .file-upload-wrapper{
      justify-content: left;
      display: flex;
  }
  .file-upload-wrapper label{
      min-width: 120px;
      text-align: center;
  }

/*---------------------------------*/
/*-------------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.active .page-link{
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    border-radius: 5px;
}
.paginate_button {
    padding: 0.2em !important;
}

.name-file-box{
    text-align: right;
}

.paginate_button:hover {
    background: linear-gradient(to bottom, var(--field-border-color) 0%, var(--field-border-color) 100%) !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;
}

.select2-dropdown{
    border-left: 1px solid var(--secondary-color) !important;
    border-right: 1px solid var(--secondary-color) !important;
    border-bottom: 1px solid var(--secondary-color) !important;
    border-radius: 0px 0px 20px 20px !important;
    padding-bottom: 20px !important;
}
.select2-results__option--highlighted{
    color: var(--field-bg-color) !important;
    background-color: var(--secondary-color) !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%;
}

.box-container
{
    background-color: var(--field-bg-color);
    border-radius: 10px;
    box-shadow: 0px 2px 5px var(--label-color);
}

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

.form-label, .form-control-label{
    font-weight: 500 !important;
    font-size: 0.625vw;
    letter-spacing: .1rem;
    color: var(--label-color);
    padding: 5px 15px;
    text-transform: uppercase;
}

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;
}

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

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

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

.btn-secondary:hover{
    background-color: #ae194100;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: none;
    border: none;
    border-bottom: solid 4px var(--secondary-color) !important;
}

.btn-secondary {
    background-color: #ae194100;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: none;
    border: none;
    border-bottom: solid 4px var(--secondary-color) !important;
}

th {
    color: black;
}

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

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

.action-button {
    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;
}

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

.action-button-add {
    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: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--field-bg-color);
    box-shadow: none;
    border: none;
    border: solid 2px var(--secondary-color) !important;
}

.action-button-add:hover {
    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: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--field-bg-color);
    box-shadow: none;
    border: none;
    border: solid 2px var(--secondary-color) !important;
}

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

.action-button.remove{
    padding: 2px 9px 0px 9px;
    background-color: #ee7b74;
    transition: 0.2s;
}
.action-button.remove:hover{
    background-color: #f83a30 ;
    transition: 0.2s;
}
.action-button.short img{
    width: 25px;
    height: 25px;
}

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

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

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
}

.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: 50%;
}
.t-invoice .table td:nth-child(4), .table th:nth-child(4) {
width: 12%;
}
.t-invoice .table td:nth-child(5), .table th:nth-child(5) {
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-list{

}

tr.odd{
    background-color: #eeeaea!important;
}
.odd td {
    background-color: #f8f8f8!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;
}

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



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

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


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


.fc .fc-button-primary:not(:disabled).fc-button-active, .fc .fc-button-primary:not(:disabled):active {
    background-color: var(--fc-button-active-bg-color);
    border-color: none;
    color: var(--fc-button-text-color);
}

h2#fc-dom-1 {
    text-align: center;
    font-size: 20px;
    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;
}

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

.action-button:disabled{
    background-color: #c7c7c7;
    color: #fff;
    border: solid 2px #c7c7c7 !important;
}
.btn-arrivato {
    background: rgba(248, 141, 1, 0.568);
}

.btn-in-gestione {
    background: #d743049a;
}

.btn-partito{
    background: rgb(255 193 7 / 72%);
}

.btn-completato {
    background: rgba(22, 172, 2, 0.568);
}

.btn-incassa {
    background: rgba(1, 145, 121, 0.568);
}

.btn-inizio, .btn-inizio:hover {
    background: #4CAF50 !important;
}

.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: rgb(255 193 7 / 72%) !important;
}

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

.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 5px;
    color: #fff;
    align-content: center;
    height: 150px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.button-action-shift {
    width: 100%;
    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;
}

.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;
}

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;
}




@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;
}
}

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

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


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

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

    #customersTable td {
        text-align: left;
    }

    body:not(.layout-fixed) .main-sidebar {
        height: inherit;
        min-height: 100%;
        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: 24%;
        }
        .t-invoice .table td:nth-child(4), .table th:nth-child(4) {
        width: 10%;
        }
        .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: 20%;
        }
        nav.main-header.navbar.navbar-expand.navbar-white.navbar-light.pb-xl-4 {
            position: sticky;
            top: 0;
        }
        .action-button, .action-button-add {
            background-color: var(--secondary-color);
            padding: 6px 6px;
            font-size: 12px;
            color: var(--field-bg-color);
            border-radius: 5px;
            transition: 0.4s;
            text-transform: uppercase;
            min-width: 120px;
        }
    
        .action-button:hover, .action-button-add:hover {
            background-color: var(--secondary-color);
            padding: 6px 6px;
            font-size: 12px;
            color: var(--field-bg-color);
            border-radius: 5px;
            transition: 0.4s;
            text-transform: uppercase;
            min-width: 120px;
        }
    
        .action-button.short img{
            width: 22px;
            height: 22px;
        }
        .action-button:hover{
            color: var(--field-bg-color);
        }


}

/* 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) {

    #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;
    }

    .name-file-box{
        text-align: center;
    }

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

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

    .top-page-title{
            font-size: 1.667vw;
            font-weight: 600;
            border-radius: 20px;
            color: var(--primary-color);
            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: 22px;
    }

    .paginate_button {
        padding: 0em !important;
    }

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

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

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

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

    .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: 38%;
    }
    .t-invoice .table td:nth-child(4), .table th:nth-child(4) {
    width: 11%;
    }
    .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: 25%;
    }
    .file-upload-wrapper{
        align-items: center;
    }
    .header {
        padding: 0%;
    }

    .file-upload-wrapper {
    flex-direction: column;
    align-items: center;
    }
    #calendar {
        padding-bottom: 50px;
    }
    .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: 110px !important;
    }
}

.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;
}

.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;
        text-align: center;
    }

.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;
    }