
* {
    font-family: 'Inter',sans-serif !important
}

.body{
    /*    position: relative;*/
    height: 100vh;
    padding:0
}

.body .content {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: auto;
    min-width: 400px;
    z-index: 99;
    position: relative;
}

.body .content >:nth-child(2){
    flex: 1;
    overflow: hidden;
    min-height: 500px;
    margin-bottom: 20px;
    overflow: auto;
    z-index: 99;

}

.header,.footer {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    /*    position: absolute;
        bottom: 0;
        margin-bottom: 10px*/
    /*    padding-top: 20px;
        margin-bottom: 10px*/
}
/*
footer {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}*/



p {
    margin : 0 0 4px;
}


@media (min-width: 768px) {
}

@media (max-width: 520px){
}

@media (max-width: 600px) {

}

@media (max-width: 800px) {
}

@media (max-width: 1199px){
}

@media (min-width: 1300px){
}


.separator{
    border-top: 1px solid #E6E6E6;
    margin: auto

}



.login,.password{
    height: 100vh;
    width: 100vw;
    margin: auto;
}

.login:before,.password:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background-image: url("../../img/logo.jpg");
    background-repeat: no-repeat;
    /*    background-position: 50% 0;*/
    background-size: cover;

}

.maiuscolo{
    text-transform: uppercase
}

.minuscolo{
    text-transform: lowercase
}

.capitalize{
    text-transform: capitalize
}

.center{
    text-align: center;
}
.s{
    font-size: 1.1rem;
}

.relative{
    position: relative;
}



.alert {
    position: relative;
    padding: 13px !important;
    line-height: 18px;
    font-weight: lighter;
    text-align: justify;
}

.alert .close {
    position: absolute;
    right: 6px;
    top: 0;
}

.alert .close i {
    font-size: 13px;
}

.alert-danger~.input-label:after{
    color:rgba(168,68,66,.8) !important
}



/*////TABD PRESENZE*/
div.titolo{
    padding:0;
}

div.titolo h1{

}

div.presenze{
    padding:0;
    height: 95%;
    border-bottom: 1px solid lightgray;
}

div.presenze div.elenco{
    height: 100%;
    /*    min-height: 130px;*/
    background: transparent;
    padding: 0;
}



div.presenze   div.tabs> div{
    padding:5px;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    overflow-y: hidden;
}

div.presenze   div.tabs> div::-webkit-scrollbar {
    height: 2px;              /* Altezza della scrollbar */
}

div.presenze   div.tabs> div::-webkit-scrollbar-thumb {
    background: var(--appcolor);         /* Colore del cursore della scrollbar */
    border-radius: 3px;
}

div.presenze  div.tabs > div:not(:first-child) {
    border-top: 1px solid var(--grigiochiarissimo);
}

div.presenze > div.tabs ul{
    border: 0px;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px;
    margin: 0;
    list-style: none;
}

div.presenze >  div.tabs ul li{
    flex: 0 0 auto;
}

div.presenze > div.tabs  li[data-tab] {  /*lo posso scrivere anche cosi vul dire che prendo tutti i li con qualsiasi valore in data-tab*/
    padding: 0px;
}

div.presenze > div.tabs ul li a{
    display: block;
    text-decoration: none;
}

div.presenze >  div.tabs ul li[data-tab] a { /*lo posso scrivere anche cosi vul dire che prendo tutti i li con qualsiasi valore in data-tab*/
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    padding: 14px 0;
    color:var(--appcolor);
    border:none !important;
}

div.presenze >  div.tabs ul li[data-tab="giorno"] a{
    width: 40px;
    height: 40px;
    padding: 10px 0;
}

div.presenze >  div.tabs ul li[data-tab="giorno"] a.tuttoilmese {
    border-radius: 30px;
    width: 100px;
}


div.presenze div.navigator{
    display: flex;
    align-items: center;
    min-height: 50px;
    background: var(--bianco);
    /*    border-top: 1px solid var(--appcoloralpha2);*/
}



div.presenze div.navigator a.button{
    margin-right: 10px;
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    display: flex;
    align-items: center;
    line-height: 1;
}

div.presenze div.navigator a.button i{
    left: 50%;
    top: 30%;
}

div.presenze div.navigator  span{
    flex-grow: 1;
}


div.presenze   div.tabs{
    background: var(--appcoloralpha2);
    padding: 0;
}

div.presenze div.elenchi div.tabs{
    padding:0;
    background: var(--grigiochiarissimo);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin-bottom:0.5px
}

div.presenze div.elenchi div.tabelle,div.presenze div.elenchi div.tabelle div.tabella{
    padding: 0;
    border-radius: 4px;
}

div.presenze div.elenchi .tabelle .tabella .table{
    margin-bottom: 0px

}
div.presenze div.elenchi .tabelle thead{
    position: sticky;
    z-index: 1;
    top: 0;
    height: 50px;
    background: var(--appcolor) !important;
}
div.presenze div.elenchi .tabelle .tabella{
    overflow: auto
}
div.presenze div.elenchi .tabelle thead tr{
    font-size: 1.5rem;
}


div.presenze div.elenchi .tabelle thead tr th{
    vertical-align: middle !important;
    /*    padding: 0 0 0 20px;*/
}

div.presenze div.elenchi .tabelle tbody tr{
    border-bottom: 1px solid lightgray;
}

div.presenze div.elenchi .tabelle tbody tr td{
    vertical-align: middle;
    padding: 8px;

}

div.presenze div.elenchi .tabelle tbody tr td a{
    padding: 0 5px;
    display: flex;
    align-items: center;
    color: var(--nero);
    gap: 5px;
    outline: none;
    border: none;
    text-decoration: none;
}

div.presenze div.elenchi .tabelle tbody tr td a ion-icon,
div.presenze div.elenchi .tabelle tbody tr td a i,
div.presenze div.elenchi .tabelle tbody tr td ion-icon,
div.presenze div.elenchi .tabelle tbody tr td  i{
    font-size: 20px;
    color: var(--appcolor);
    margin-right: 5px;
}

div.presenze div.elenchi .tabelle tbody tr td a.next span.descrizione{
    flex-grow: 1;
    margin-top: 3px;
}

div.presenze div.elenchi .tabelle tbody tr td a.next span.badge{
    height: 30px;
    width: 30px;
    border-radius: 50%;
    margin-right: 10px;
    text-align: center;
    padding: 9px 2px 0 0;
    color: var(--bianco);
    background-color: var(--appcolor);
}

div.presenze div.elenchi .tabelle tbody tr td a.next span.badge.clock{
    background: none;
    color: var(--appcolor);
    padding: 0;
}

div.presenze div.elenchi .tabelle tbody tr td a.next span.badge.clock i{
    line-height: 1;
    display: inline-block;
    font-size: 30px;

}


div.presenze div.elenchi .tabelle tbody tr td a i.next{
    color: gray;
}





div.presenze



/*ul.nav-tabs{
        border-bottom:none
}

li.nav-item:not(.active){
        border-bottom:1px solid lightgray;
}

.tipo li.nav-item{
        border-bottom:none;
}

li[data-tab="mese"] {
        padding: 4px 5px 7px 5px;
}



li[data-tab="giorno"] {
        padding: 4px 0px 7px 0px;
}

li[data-tab="giorno"] a {
        border-radius: 50%;
        text-align: center;
}
li[data-tab="giorno"] a.tuttoilmese {
    border-radius: 30px;
}
*/

.tabelenchi .tipo li.active  {
    font-weight: bold;
}
.tabelenchi .tipo li.active a {
    color:var(--appcolor);
}

/*li.nav-item a{
    color:var(--nero);
}*/
/*li[data-tab="mese"] a,li[data-tab="giorno"] a{
    color:var(--appcolor);
        //background: var(--grigiochiarissimo);
}*/

ul li span.badge{
    float:right;
    height:30px;
    width: 30px;
    border-radius: 50%;
    padding: 10px 2px 0 0;
    background: var(--appcolor);
    margin-right: 10px;
}

ul li span.badge.clock{
    background: none;
    color: var(--appcolor);
    font-size: 25px;
    padding: 0;
}


/*
.elencocantieri ul li a:hover{
    background: transparent;

}

.elencocantieri ul li a:hover{
    background: transparent;

}
.tabelenchi .datatab ul li> a{
    border: 1px solid transparent;
    color: var(--nero);
}
.tabelenchi .datatab ul li.active> a{
    border: 1px solid transparent;
    color: var(--appcolor);
}*/






i.dipendente{
    color: transparent !important;           /* Rende il riempimento trasparente */
    -webkit-text-stroke: 1.5px var(--appcolor); /* Aggiunge il bordo colorato */
    text-stroke: var(--appcolor);
    font-size: 18px;
}

i.dipendente.assente{
    -webkit-text-stroke: 1.5px var(--rosso); /* Aggiunge il bordo colorato */
    text-stroke: var(--rosso);
}

i.capocantiere{
    color: var(--appcolor) !important;
    -webkit-text-stroke: 1.5px var(--appcolor); /* Aggiunge il bordo colorato */
    text-stroke: var(--appcolor);
    font-size: 18px;
}

i.segreteria{
    color: transparent !important;           /* Rende il riempimento trasparente */
    -webkit-text-stroke: 1.5px var(--gialloscuro); /* Aggiunge il bordo colorato */
    text-stroke: var(--gialloscuro);
    font-size: 18px;
}

i.ufficiopersonale{
    color: var(--gialloscuro) !important;
    -webkit-text-stroke: 1.5px var(--gialloscuro); /* Aggiunge il bordo colorato */
    text-stroke: var(--gialloscuro);
    font-size: 18px;
}

i.supervisore{
    color: transparent !important;           /* Rende il riempimento trasparente */
    -webkit-text-stroke: 1.5px var(--appcolor); /* Aggiunge il bordo colorato */
    text-stroke: var(--appcolor);
    font-size: 18px;
}

i.amministratore{
    color: var(--appcolor) !important;
    -webkit-text-stroke: 1.5px var(--appcolor); /* Aggiunge il bordo colorato */
    text-stroke: var(--appcolor);
    font-size: 18px;
}

i.master{
    color: var(--rosso) !important;
    -webkit-text-stroke: 1.5px var(--rosso); /* Aggiunge il bordo colorato */
    text-stroke: var(--rosso);
    font-size: 18px;
}


i.rpct{
    color: transparent !important;
    -webkit-text-stroke: 1.5px var(--rosso); /* Aggiunge il bordo colorato */
    text-stroke: var(--rosso);
    font-size: 18px;
}



.tabellacapocantiere thead{
    position: sticky;
    z-index: 1;
    top: 0;
    height: 50px;

}

.tabellacapocantiere thead tr{
    font-size: 1.5rem;
}


.tabellacapocantiere thead tr th{
    vertical-align: middle;
    padding: 0 0 0 20px;
}

.tabellacapocantiere tbody tr{
    border-bottom: 1px solid lightgray;
}

.tabellacapocantiere tbody tr td{
    vertical-align: middle;
    padding: 8px;
}

.tabellacapocantiere tbody tr td a{
    padding: 0 5px;
    display: flex;
    align-items: center;
    color: var(--nero);
    gap: 5px;
    outline: none;
    border: none;
    text-decoration: none;
}

.tabellacapocantiere tbody tr td a ion-icon,
.tabellacapocantiere tbody tr td a i,
.tabellacapocantiere tbody tr td ion-icon,
.tabellacapocantiere tbody tr td  i{
    font-size: 20px;
    color: var(--appcolor);
    margin-right: 5px;
}

.tabellacapocantiere tbody tr td a.next span.descrizione{
    flex-grow: 1;
    margin-top: 3px;
}

.tabellacapocantiere tbody tr td a.next span.badge{
    height: 30px;
    width: 30px;
    border-radius: 50%;
    margin-right: 10px;
    text-align: center;
    padding-top: 9px;
    color: var(--bianco);
    background-color: var(--appcolor);
}

.tabellacapocantiere tbody tr td a i.next{
    color: gray;
}



.rigacapocantiere ion-icon{
    color:var(--grigio);

}

.rigacapocantiere.rigaselezionata ion-icon{
    color:var(--appcolor);
}

.rigacapocantiere.rigaselezionata + span{
    background: var(--appcoloralpha2);
}

.btn-reset{
    border-left: none;
    background: #eee;
}