.disable{
    border: none !important;
    background-color: #0000000f;
    filter: grayscale(1);
}

.success{
    border-color: #28a745 !important;
    background-color: #28a74607;
    
}

.danger{
    border-color: #dc3545 !important;
    background-color: #dc354607;
}

.warning{
    border-color: #dca735 !important;
    background-color: #dcd13508;
}

.info{
    border-color: #355cdc !important;
    background-color: #3578dc06;
}



.selected{
    border-width: 0.2rem !important;
    border: solid #007bff !important;
    background-color: #007bff11 !important;
    
}


button:active{
    transform: scale(0.9) !important;
}
button{
    transition: 50ms !important;
}

.shorted{
    display: none !important;
}

@media (max-width: 767px) {
    .shorted{
        display: flex !important;
    }
}





/*
========================================================= compteur 
*/

.custom-count-sm{
    margin: auto;
    aspect-ratio: 1 / 1;
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 1rem;
  
}

.custom-count-lg{
    aspect-ratio: 16 / 8;
    margin: auto;
    width: 40%;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    align-items: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}



.custom-count-sm h3{
    font-size: large;
}

.custom-count-sm h4{
    font-size: medium;
    font-style: italic;
    font-weight: 400;
}


/*
767px breakpoint
*/
@media (max-width: 767px) {
    .custom-count-sm h3{
        font-size:small;
    }
    .custom-count-sm{
        width: 33%;
    }
    .custom-count-lg{
        margin-top: 2%;
        width: 90%;
    }
    .custom-count-sm h4{
        font-size: x-small;
    }
    

}
.custom-time-display{
    aspect-ratio: 16 / 9;
    color:#007bff;
    margin: auto;
    border-radius: 1rem;
    border: solid rgba(195, 227, 255, 0.752);
    padding: 1rem;
    background-color: rgba(0, 136, 255, 0.114);
}



.custom-count-sm h3{
    font-size: large;
}

/*
767px breakpoint
*/
@media (max-width: 767px) {
    .custom-count-sm h3{
        font-size:small;
    }
    .custom-count-sm{
        width: 33%;
    }

}

/*
========================================================= time display 
*/
.custom-time-display{
    aspect-ratio: 16 / 9;
    color:#007bff;
    margin: auto;
    border-radius: 1rem;
    border: solid rgba(195, 227, 255, 0.752);
    padding: 1rem;
    background-color: rgba(0, 136, 255, 0.114);
}



/*
========================================================= check in / out btn 
*/
.custom-check-container{
    width: 33%;
    aspect-ratio: 1 / 1;
    display: flex;
}
.check-btn-xl{
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    margin: 1%;
    box-shadow: 0 5px 1px rgba(0, 0, 0, 0.1);
}
.check-btn-sm{
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    margin: 20%;
    box-shadow: 0 5px 1px rgba(0, 0, 0, 0.1);
}

.custom-check-container img{
    width: 80%;
    aspect-ratio: 1 / 1;
}
/*
========================================================= list of checks 
*/

.custom-list{
    padding-inline-start: 0px !important;
}
.custom-list-item{
    list-style:none;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 0.4rem;

}
.custom-list-item-row{

    display: flex;
}
.custom-list-item-container{
    font-size: larger;
    padding: 1rem;
    border-radius: 1rem;
    border :1px solid rgba(0, 0, 0, 0.125);
   
}
.custom-list-item-container-left{
    border-radius: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.125);

    width: 25%;
}
.custom-list-item-container-mid{
    width: 50%;
    text-align: center;
}
.custom-list-item-container-right{
    border-left: 1px solid rgba(0, 0, 0, 0.125);;
    display: flex;
    flex-direction: row-reverse;
    width: 25%;
}

.custom-list-icon{
    aspect-ratio: 1 / 1;
    max-width: 30px;
    max-height: 30px;
    
}
.custom-list-icon-edit{
    aspect-ratio: 1 / 1;
    max-width: 30px;
    max-height: 30px;
    cursor:pointer;
    
}
.custom-list-icon-edit{
    aspect-ratio: 1 / 1;
    max-width: 30px;
    max-height: 30px;
    cursor:pointer;
    transition: 50ms !important;
}
.custom-list-icon-edit:active{
    transform: scale(0.9) !important;
}


/*
========================================================= login form 
*/
.custom-main-logo{
    width: 100%;
   
    display: flex;
    justify-content: center;
}
.custom-main-logo img{
    aspect-ratio: 1 /1 ;
    margin: auto;
    width: 10%;

}

.custom-login-form{
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.custom-help{
    margin-top: 1rem;
    font-weight: 400;
   font-style: italic;
}


.custom-anim-mp4{
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    aspect-ratio: 1/1;
  }



/*
========================================================= history 
*/


  .custom-history{
 
  }


  .custom-history-row-header{
    color: #212529;
    background-color: buttonface;
    border-radius:0 0 1rem 1rem;
    height: 4rem;
    display: flex;
    width: 100%;
  }

  .custom-history-header{
    border-right: solid;
    width: 12%;
    margin: auto;
    text-align: center;
  }
  .custom-history-header:last-child{
    border-right: none;

  }

  .custom-history-week{
    margin-top: 1rem;
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .custom-history-week-separator{
    display: none;
  }
  .custom-history-day{
    user-select: none;
    cursor: pointer;
    width: 12%;
    margin: auto;
    aspect-ratio: 1 / 1;
    border: solid;
    border-width: 0.1rem;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .custom-history-day:hover{
    transform: scale(1.05);

  }
  .custom-history-day h1{
    font-size: 1rem;
    background-color: #ecf5ff;
    border-radius: 100%;
    padding: 0.5rem;
    aspect-ratio: 1 / 1;
    text-align: center;
  }
  .custom-history-day h2{
    font-size: 2rem;
    text-align: center;
  }
  .custom-history-day h4{
    font-size: 0.8rem;
    text-align: center;
    background-color: #212529;
    color: #fff;
    border-radius: 3rem;
    padding: 3%;
  }

  .custom-freeday{
    background: repeating-linear-gradient( 45deg, #28a7464f, #28a7464f 1px, #28a74600 2px, #28a74600 10px );
  }

  .custom-history-day-head{
    width: 5%;
    margin: auto;
    aspect-ratio: 2 / 3;
    border: solid;
    border-width: 0.1rem;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .custom-history-day-head span{
    display: none;
    }

  .custom-history-menu{
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #0000000f;
    border-radius: 1rem 1rem 0 0;

  }
  .custom-history-menu-btn{
    width: 20%;
    margin: auto;    
    display: flex;
    justify-content: center;
  }
  .custom-history-menu-title{
    width: 50%;
    margin: auto;   
    display: flex;
    justify-content: center; 
  }

  .custom-history-menu-btn img{
   aspect-ratio: 1 / 1 ;
   width: 30%;
   cursor: pointer;
   user-select: none;
  }
  .custom-history-menu-btn img:hover{
    transform: scale(1.1);

  }
  .custom-history-list{
    width : 70%; 
    margin : auto;
    background-color: #00000004;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius:0 0 1rem 1rem  ;
  }

  

  @media (max-width: 767px) {
    .custom-history-header:first-child{
        display: none;
    }
    .custom-history-header:last-child{
        display: none;
    }
    .custom-history-day-head span{
        display: unset;
    }
    .custom-history-week-separator{
        display: flex;
    }
    .custom-history-day-head{
        width: 100%;
        aspect-ratio: unset;
        border: none;
        border-radius: 0;
        background-color: #00000004;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .custom-history-day{
        width : 14%;
        border: none;
        border-radius: 0;
        border-width: 0.01rem !important;
    }
    .custom-history-day h1{
        font-size: 0.8rem;
    }
    .custom-history-day h2{
        font-size: 0.8rem;
    }
    .custom-history-day h4{
        font-size: 0.5rem;
    }



    .custom-history-menu-btn img{
        width: 80%;
    }
    .custom-history-menu-title h1{
        font-size: 1rem;
    }
    .custom-history-row-header{
        display: none;
    }
    .custom-history-list{
        width: 100%;
    }
  }

  
/*
========================================================= option 
*/


.custom-option-quota-selector{
    display: flex;
    width: 250px
}

.custom-option-quota-option{
    padding : 0.2rem;
    text-align: center;
    width: 50%;
    border-radius: 3rem 0 0 3rem;
    margin: 1rem 0 1rem 0;
    border-right: none;
    background-color: #212529;
    color: #fff;
    cursor: pointer;
    user-select: none;
}
.custom-option-quota-option:hover{
    transform: scale(1.05);
}


.custom-option-quota-option:last-child{
    border-radius:  0 3rem 3rem 0;
}   

.sw-selected{
    box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.273) inset;
    background-color: #fff;
    color: #212529;
    cursor:initial ;
}

.custom-day{
    width: 60%;
}

.custom-day-box{
    margin: 1rem;  
    display: flex;
    flex-direction: row;  
} 
.custom-day-box input{
    width: 50% !important;
    margin-left: auto;
} 

.custom-workingday-row{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
@media (max-width: 767px) {
    .custom-day{
        width: 100%;
    }
    
}


/*
========================================================= checkbox
*/
.checkbox-wrapper-16{
    margin: 0.2rem;
}

  .checkbox-wrapper-16 *,
  .checkbox-wrapper-16 *:after,
  .checkbox-wrapper-16 *:before {
    box-sizing: border-box;
  }

  .checkbox-wrapper-16 .checkbox-input {
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(100%);
            clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
  .checkbox-wrapper-16 .checkbox-input:checked + .checkbox-tile {
    border-color: #2260ff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #2260ff;
  }
  .checkbox-wrapper-16 .checkbox-input:checked + .checkbox-tile:before {
    transform: scale(1);
    opacity: 1;
    background-color: #2260ff;
    border-color: #2260ff;
  }
  .checkbox-wrapper-16 .checkbox-input:checked + .checkbox-tile .checkbox-icon,
  .checkbox-wrapper-16 .checkbox-input:checked + .checkbox-tile .checkbox-label {
    color: #2260ff;
  }
  .checkbox-wrapper-16 .checkbox-input:focus + .checkbox-tile {
    border-color: #2260ff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 0 0 4px #b5c9fc;
  }
  .checkbox-wrapper-16 .checkbox-input:focus + .checkbox-tile:before {
    transform: scale(1);
    opacity: 1;
  }

  .checkbox-wrapper-16 .checkbox-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 7rem;
    min-height: 7rem;
    border-radius: 0.5rem;
    border: 2px solid #b5bfd9;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: 0.15s ease;
    cursor: pointer;
    position: relative;
  }
  .checkbox-wrapper-16 .checkbox-tile:before {
    content: "";
    position: absolute;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #b5bfd9;
    background-color: #fff;
    border-radius: 50%;
    top: 0.25rem;
    left: 0.25rem;
    opacity: 0;
    transform: scale(0);
    transition: 0.25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
  }
  .checkbox-wrapper-16 .checkbox-tile:hover {
    border-color: #2260ff;
  }
  .checkbox-wrapper-16 .checkbox-tile:hover:before {
    transform: scale(1);
    opacity: 1;
  }

  .checkbox-wrapper-16 .checkbox-icon {
    transition: 0.375s ease;
    color: #494949;
  }
  .checkbox-wrapper-16 .checkbox-icon svg {
    width: 3rem;
    height: 3rem;
  }

  .checkbox-wrapper-16 .checkbox-label {
    color: #707070;
    transition: 0.375s ease;
    text-align: center;
  }

/*
========================================================= Planning
*/
.custom-planning-form-row{
  width: 100%;
  display: flex;
  justify-content: center;
}
.custom-planning-form{
  padding: 2%;
  width: 80%;
}
