@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');

body{
    font-family: 'Poppins', sans-serif;
}
.flex-column{
    display: flex;
    flex-direction: column;
}

.flex-wrap{
    display:flex; 
    flex-wrap:wrap;
}


.self-center{
    display : block;
    margin : auto 0;
}


.row-reverse{
    display:flex;
    flex-direction: row-reverse;
}

.flex-end{
    display: flex;
    align-content: flex-end;
}
.flex-wrap{
    flex-wrap: wrap;
}
.items-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.align-center{
    display: flex;
    align-self: center;
}

.space-between{
    display:flex;
    justify-content: space-between;
}

.space-around{
    display: flex;
    justify-content: space-around;
}

.text-center{
    text-align: center
}

.flex-row{
    display: flex;
    flex-direction: row;
}
.img-btn{
    width : 2em;
    height : 2em;
    cursor : pointer;
}
body ::-webkit-scrollbar-track{
    background: transparent;
}

body ::-webkit-scrollbar-thumb{
    background: #6F6559;
}

body ::-webkit-scrollbar{
    width: 5px;
}
.color-red{
    color :rgb(209, 56, 56);
}


.div_filtre{
    margin-top : 1em;
    background-color: white;
    box-shadow: 0 0 5px #dfdfdf;
    border-radius: 9px;
}
.filtre-toggled{
    background: rgba(61, 115, 68, 0.3);
    padding-bottom: 14px;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}
.filtre-title{
    letter-spacing: 0.1em;
    padding: 14px 25px 0;
    margin : 5px 0;
}


.div_filtre .rotater{
    display : block;
    margin : 14px 3vw 0;
 }

.rotater {
    transition: all 0.3s ease;
}

.tr-indented .foodcost-container{
    border : none;

}
.tr-indented.none{
    display: block;
    height : 0px;
}

.tr-indented{
    margin-top : 15px;
    padding: 0 25px;
    height : 62px;
    transition : all 0.3s;
    overflow-y : hidden;
}
.tr-indented:not(.none){
    padding-top : 4px;
    height : auto;
}
div.div_filtre:last-child {
    margin-bottom : 2vh;
  }
  

.img-button{
    cursor: pointer;
    width : 1em;
    height : 1em;
}

.right-container{
    overflow-y : auto;
    width : 95vw;
}

.input-container{
    position: relative;
}
.input-container:hover, .input-container select:hover{
    cursor: pointer;
}
.fake-input p{
    margin : 0;
    padding : 0;
}
.input-container input, .input-container select, .input-container .date-value{
    width: 100%;
    padding : 15px;
    border : 1px solid #6F6559;
    background : #f7f9fb;
    border-radius : 5px;
    outline: none;
    color : black;
    font-size : 1em;
    transition: 0.5s;
}
.input-container input{
    width: calc(100% - 30px);
}
.input-container input.hidden.hidden-date-input{
    height : 0;
    width : 0;
    padding : 0;
}
.input-container input[type="date"]{
    width : 0;
    padding : 0;
    border : none;
    
}
.input-container span{
    position: absolute;
    left : 0;
    top : 0;
    padding : 10px;
    font-size : 1em;
    color : rgba(0,0,0, 0.5);
    text-transform: uppercase;
    transition: 0.5s;
}


.input-container input ~span,
.input-container select ~span{
    display: block;
    color :  #3d7344;
    transform: translateX(10px) translateY(-5px);
    font-size : 0.65em;
    padding: 0 10px;
    background : #f7f9fb;
    border-left: 1px solid black;
    border-right: 1px solid black;
    letter-spacing : 0.2em;
    /* background : #3D7344; */
    color :  black;
}
.field-valid select ~span, .field-valid input ~span
{
    display: block;
    color :  #3d7344;
    transform: translateX(10px) translateY(-5px);
    font-size : 0.65em;
    padding: 0 10px;
    background : #f7f9fb;
    border-left: 1px solid #3D7344;
    border-right: 1px solid #3D7344;
    border-top: 1px solid #3D7344;
    letter-spacing : 0.2em;
    background : #3D7344;
    color : white;
}

.missing-field.input-container input ~span, .missing-field.input-container select ~span{
    display: block;
    transform: translateX(10px) translateY(-5px);
    font-size : 0.65em;
    padding: 0 10px;
    background : #f7f9fb;
    border-left: 1px solid #e30000;
    border-right: 1px solid #e30000;
    border-top: 1px solid #e30000;
    letter-spacing : 0.2em;
    background : #e30000;
    color : white;
} 

.file_item label{
    display : flex;
    flex-direction: column;
    justify-content: center;
    padding-left : 0.8em;
    display : block;
}


.visible{
    visibility: visible;
}

.radio__p{
    text-align: center;
}

::-webkit-file-upload-button{
    display: none;
}

::-webkit-calendar-picker-indicator:hover{
    cursor: pointer;
}

.pointer{
    cursor: pointer;
}

.date-input{
    font-size: 0.9em;
    outline: none;
    background : white;
    border : 2px solid #6F6559;
    border-radius: 4px;
    width : 12em;
    margin : 0.5em;
    height : 3.1em;
}
.date-value{
    width : 16vw;
}

.date-calendar{
    padding: 0.8em;
}
.hidden-date-input{
    width : 5px;
    height : 5px;
}

.bold{
    font-weight: bold;
}


.hidden{
    visibility : hidden;
}
.flex-center{
    display : flex;
    justify-content: center;
    align-items : center;
}

.align-items-center{
    align-items : center;
}

.foodcost-card{
    padding : 15px;
    display : flex;
    flex-direction: row;
    align-items: center;
    box-shadow: 0 0 5px #dfdfdf;
    border-radius: 9px;
}

#div_body{
    margin-top : 20px;
}
#logo{
    height : 5vh;
    position : absolute;

}
#logo img{
    width : 40%;
    height : auto;
    align-self: center;
    margin-bottom: 1vh;
}
.nav-p{
    display : block;
    margin-top : auto;
    margin-bottom : auto;
}

#nav a{
    padding : 0.35em 0;
}
.bodho-header{
    height : 20vh;
    background : #3D7344;
    color : #fff;
    margin-left: 1.5em;
}

.description{
    margin-top: 5px;

}
.description li{
    font-size : 15px;
    margin-bottom : 10px;
    
}


.page-title{
    font-size: 30px;
    width : 60%;
    margin-top : 20px;
    margin-left : 20px;
    display: flex;
    font-family: 'Nunito Sans Traditional Chinese';
    letter-spacing: 0.1em;
}
.page-subtitle{
    margin-top: 30px;
    font-size: 16px;
}

body{
    background : #f7f9fb;

}


.bodho-body{
    height : 72vh;
    margin-left : 2vw;
    overflow-y : auto;
    overflow-x : hidden;
}


.btn-container{
    background : white;
    width : fit-content;
    height : fit-content;
    border : 2px solid #6F6559;
    cursor : pointer;
    margin : 0.5em;
}
/* .btn-container img{
    
    filter: invert(1);
    display : none;
} */
.btn-container p{
    align-self: center;
    font-size: 14px;
    /* color : white; */
    font-weight: 600;
    min-width : 0;
    padding: 0;
    margin: 0;
}
.btn-container {
    background: white;
    transition: 0.8s;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 0px 1px #3d7344;
    border: none;
    color: white;
    padding: 6px 22px;
    border-radius : 4px;
    margin-right: 4px;
    cursor: pointer;
    width: max-content;
    z-index: 10;
    font-size: 12px;
    font-family: "Open Sans", sans-serif;
    padding : 10px 20px;
  }
  
  .btn-container:hover {
    color: #3d7344 !important;
  }
  
  .btn-container::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 0%;
    background: #3d7344;
    z-index: -1;
    transition: 0.8s;
  }
  
  
  .btn-container::before {
    bottom: 0;
    border-radius: 50% 50% 0 0;
    height: 180%;
  }
  

  .btn-container:hover::before {
    height: 0%;
  }

.red-btn::before{
    background: #e30000;
}

.fit-content{
    width : fit-content;
}
input[type="checkbox"]{
    cursor: pointer;
}

.radio__span {
    padding : 0.5em 0 0.5em 0 ;
    width: 6.8em;
    margin : 0.95em 2.6em 0 0;
    border-radius : 4px;
    cursor : pointer;
    text-align : center;
    box-sizing: border-box;
    padding: 10px;
}



.foodcost-tr{
    display : flex;
    flex-direction: row;
    box-shadow: 0 0 5px #f7f9fb;
    border : 1px solid #dfdfdf;
    padding : 0 15px;
    border-radius : 8px;
    margin-bottom : 10px;
}


.none{
    display:none;
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
    color : #6F6559
}
.alert_red{
    background-color: #e52329;
    opacity : 0.7;
}
.alert_orange{
    background-color : #f4471c;
}
.color-purple{
    color : #7c00fffa;
}
   
.alert_green{
    background-color: #3d7344
}
.left-container{
    position : relative;
}
.alert{
    position : absolute;
    bottom : 0;
    right : 0;
    border-radius : 8px;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.6s; /* 600ms to fade out */
    color: white;
    margin : 1em;
}

.border-none{
    border: none;
}

/* Checkbox */

.checkbox__label{
    width : 14px;
    height : 14px;
    background-color : white;   
    color : white;
    border : 1px solid #6F6559;
    border-radius : 4px;
    cursor : pointer;
}
.checkbox__label.checked{
    background-color : #3D7344;
}
.radio-checkbox.checked{
    background-color :  #98ae42;
}
div[class*='checkbox__label'] {
    display : flex;
    align-items: center;
    justify-content : center;
}
.radio-checkbox{
    border-radius : 50%;
    width : 10px;
    height : 10px;
    margin : 4px;
}

.labeled-checkbox-div{
    display : flex;
    flex-direction : row;
    margin-top: auto;
    margin-bottom: auto;
    justify-content: space-between;
}

.labeled-checkbox-div label {
    margin-right: 0.6em;
    cursor: pointer;
}

.checkbox-label-p{
    margin-right: 0.6em;
    width: 16vw;
}

.popup {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: auto;
    height: auto;
    background-color: white;
    padding: 20px;
    border: 1px solid #6F6559;
    z-index: 100;
    border-radius : 8px;
    max-height : 70vh;
}
.popup form > div{
    max-height : 55vh;
    overflow-y :auto;
    overflow-x :hidden;
}
.block{
    display : block;
}

.popup .closebtn{
    color : #6F6559;
}

.popup .closebtn:hover{
    color : #f4471c;
}
.popup .input-container{
    margin-bottom: 20px;
}
.foodcost-tr img{
    display : block;
    margin-top : auto;
    margin-bottom : auto;
}

.border-bottom-none{
    border-bottom : none;
}

.navigation{
    position : relative;
    width : 50px;
    background : #f7f9fb;
    box-shadow : 10px 0 0 0 #3D7344;
    border-left : 10px solid #f7f9fb;
    overflow-x : hidden;
    overflow-y : hidden;
    transition: width var(--width-transition-duration, 0.8s); /* Use a variable for the duration */
    display : flex;
    flex-direction: column;
    border-left : none;
}
.navigation:hover{
    width : 300px;
    --width-transition-duration: 0.8s; /* Slow transition when hovered */

}

.navigation:not(:hover) {
    --width-transition-duration: 0.3s; /* Faster transition when not hovered */
}
.navigation ul{
    position: absolute;
    top:0;
    left : 0;
    width : 100%;
    padding-left : 5px;
}
.navigation ul li{
    position : relative;
    list-style : none;
    width : 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
.navigation ul li.active {
    background : #3D7344;
}
.navigation ul li.active a::before {
    content : '';
    position : absolute;
    top : -30px;
    right : 0;
    width : 30px;
    height : 30px;
    /* background : #f7f9fb; */
    border-radius : 50%;
}
.navigation ul li.active a::after {
    content : '';
    position : absolute;
    bottom : 12px;
    right : 0;
    width : 30px;
    height : 30px;
    /* background : #f7f9fb; */
    border-radius : 50%;
}
.navigation ul li.active .title{
    color : #fff;
}
.navigation ul li.active img{
    filter : invert(1);
    
}
.navigation ul li a{
    position: relative;
    width : 250px;
    display : flex;
    text-decoration: none;
    color : black;
    align-items: center;
}
.navigation ul li a .icon{
    position : relative;
    display : block;
    min-width : 40px;
    height : 55px;
    line-height : 70px;
    text-align : center;
    z-index : 10;
}
.navigation ul li a .title{
    position : relative;
    display : block;
    padding-left : 10px;
    height : 55px;
    line-height: 55px;
}
.nav-href img{
    width : 1.7em;
    height : 1.7em;
    padding-left : 10px;
    margin-top : auto;
    margin-bottom : auto;
    /* margin : auto 1em;
    filter: invert(1); */
}



