:root{
    --base-color : #84BD00;
}

@font-face {
    font-family: NanumGothic-Regular;
    src: url("/static/app/fonts/NanumGothic-Regular.3cbe9257e888.ttf");
  }

@font-face {
    font-family: NanumGothic-Bold;
    src: url("/static/app/fonts/NanumGothic-Bold.4fa4ea432227.ttf");
}
@font-face {
    font-family: TitilliumWeb-Regular;
    src: url("/static/app/fonts/TitilliumWeb-Regular.ed1d014bf2b8.ttf");
  }

@font-face {
    font-family: TitilliumWeb-Bold;
    src: url("/static/app/fonts/TitilliumWeb-Bold.08d37409a924.ttf");
}

html, body {
  height: 100%;
  font-family: TitilliumWeb-Regular;
  display: flex;
    flex-direction: column;
}

.general-container-kindergarten{
    flex: 1 0 auto;
    margin-left: 10%;
    margin-right: 10%;
}

/* Su Mobile mettiamo margini al 2 % */
@media (max-width: 768px) {
    .general-container-kindergarten{
        margin-left: 1%;
        margin-right: 1%;
    }
}




html, body {
    height: 100%;
}
h1, h2, h3{
    color: rgb(23, 76, 4)
}
.number{
    text-align: right;
}
.row.selectable:hover{
    background-color: rgb(209, 246, 154);
}

.header-grid{
    font-style: italic;
    border-bottom: solid 1px #ccc;
}
.back-to-grid{
    font-size: 3em !important;
    font-weight: bold;
    color: #45823a;
    text-decoration: none;
}
.back-to-grid:hover{
    background-color: #d4e9d1;
    border-radius: 6px;
    text-decoration: none;
}

.prepare-add-record{
    font-size: 2em !important;
    font-weight: bold;
    color: #45823a;
    text-decoration: none;
}
.prepare-add-record:hover{
    background-color: #d4e9d1;
    border-radius: 6px;
    text-decoration: none;
}
.save-record, .save-record-request{
    background-color: #45823a;
    color: white;
    border-radius: 6px;
    padding: 10px;
    margin: 10px;
    font-size: 1.2em;
    font-weight: bold;
}
.save-record:hover{
    background-color: #82ef6f;
      color: white;
}
 

footer {
    flex-shrink: 0;
    background-color: #ececec;
    color: #3f3f3f;
    -webkit-box-shadow: 0px -4px 20px 0px rgba(51,51,20,0.56);
    -moz-box-shadow: 0px -4px 20px 0px rgba(51,51,20,0.56);
    box-shadow: 0px -4px 20px 0px rgba(116, 116, 114, 0.56);
    border-top:1px solid #fff;
    text-align:right;
    font-size:14px;
    padding:10px 10px 2px 0px;
    margin-top: 12px;
}

.dropdown-item{
    min-height: auto;

}
.edit-record{
    min-height: 50px !important;
}

/* Posizimanemt vertical centered */
.c-grid{
    margin-top: auto !important;
    margin-bottom: auto !important;
}
.row.r1{
    background-color: #e7f9e4;
}
.row.r2{
    background-color: #f7fcf7;
}

.children-info-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
}
.children-info-container.active{
    display: block;
    border-bottom: dotted 3px #707070;
    border-left: dotted 3px #707070;
    border-right: dotted 3px #707070;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    padding: 10px;
    margin-bottom: 12px;

}
.info-details.active{
    font-weight: bold;

}
.children-record {
    font-size: 1em;
}
.children-record.recorded{
    transition: background-color 2s ease;
    background-color: #82ef6f;
    border-radius: 6px;
}

.child.name{
    font-weight: bold;
}
.child.surname{
    font-weight: bold;
}
.price-list-choiches-container{
    background-color: #d6f1d1;
    display: block;

    border-radius: 6px;
    padding: 20px ;
}
.fiscal-code{
    border: dotted 2px gray;
}
.fiscal-code.is-valid{
    border: dotted 2px green;
}
.fiscal-code.is-invalid{
    border: dotted 2px red;
}

input.uppercase {
    text-transform: uppercase;
}

.add-allergies-list-service{
    padding-top: 6px;
    padding-bottom: 6px;
    text-align: center;
    background-color: #f4f4f4;
    border-radius: 6px;
}
.add-allergies-list-service:hover{
    background-color: orange;
    border-radius: 6px;
    color: white;
}
.add-parents-guardians{
    padding-top: 6px;
    padding-bottom: 6px;
    text-align: center;
    background-color: #f4f4f4;
    border-radius: 6px;

}
.add-parents-guardians:hover{
    background-color: orange;
    border-radius: 6px;
    color: white;
}

.add-price-list-service{
    padding-top: 6px;
    padding-bottom: 6px;
    text-align: center;
    background-color: #f4f4f4;
    border-radius: 6px;
}
.add-price-list-service:hover{
    background-color: orange;
    border-radius: 6px;
    color: white;
}

.parents-guardians-container{
    background-color: #f2fdf0;
    display: block;
    border-radius: 6px;
    padding: 20px ;
}

#search-window-container{
    position: absolute;
    background-color: #e8e8e8;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 6px;
    padding-bottom: 20px;
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.75);
}


.next-step-kinder-conf{
    font-size: 3em !important;
    padding: 6px;
    font-weight: bold;
    border: solid 2px #45823a;
    border-radius: 6px;

}
.next-step-kinder-conf:hover{
    background-color: #45823a;
    color: white;
}

.allergies-note-grid{
    overflow: hidden;
    text-overflow: ellipsis;
    
    text-align: justify;
}
.allergies-note-grid.h-limit{
    max-height: 150px;
}
.view-all-allergy{
    display: block;
    text-decoration: none;
    text-align: center;
}
.view-all-allergy:hover{
    border: solid 1px #1d5313;
    border-radius: 8px;
}
.icon-allergy{
    font-size: 2.8em !important;
    font-weight: bold;
    color: #45823a;
    text-decoration: none;

}
#history-days{
    position: absolute;
    display: none;
    background-color: rgb(253,253,253);
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.75);
    left:6%;
    right: 6%;
    width: 88%;
}
.history-date-access.sunday{
    font-weight: bold;
    padding-top: 12px;
}
.near-history-days{
    margin-top: 6px;
    user-select: none;
    text-align: center;
}
.near-history-days:hover{
   
    border-radius: 6px;
    background-color: #82ef6f1b !important;
    box-shadow: 0px 2px 10px 0px rgba(146, 146, 146, 0.75);
}
.near-history-days-icon{
    padding-top: 4px;
    color: rgb(222, 145, 2);
    font-size: 2.5em !important;
}
.date-reference{
    font-size: 1.2em !important;
    font-weight: bold;
    background-color: #82ef6f1b;
    border-radius: 5px;
}
#dateref-picker{
    text-align: center;
    font-size: 1.2em !important;
}
.datepicker {
    width: 300px; /* Imposta la larghezza del datepicker */
    text-align: center;
    background-color: #f6f6f6;
}

.date-cmd-icon{
    font-size: 2.0em !important;
    font-weight: bold;
}
 
.date-reference-cmd:hover{
    background-color: #82ef6f1b !important;
    border-radius: 5px;
    box-shadow: 0px 2px 10px 0px rgba(146, 146, 146, 0.75);
}
.whatsapp-chat{
    cursor: pointer; margin-left: 12px;
    user-select: none;
}
input.required{
    border: solid 2px orangered;
}

.badgecode-container-association{
    background-color: rgba(225, 244, 225, 0.403);
    border-radius: 6px;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
    padding: 15px;
    border: dotted 2px #45823a;
}


#lookup_container_unit {
    position: absolute;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 0 15px #b2b2b2;
    z-index: 1000;
  }

  .selection-children-count {
    font-weight: bold;
    color: #45823a;
    font-size: 2em;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 10px;
    background-color: #d4e9d1;
  }