* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Raleway", sans-serif!important;
}
.pt-2 {
  padding-top: 0.4em !important;
}
.color_black{
  color: black;
}
.mb-6{
  margin-bottom: 5rem;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.edit-button {
  display: flex;
  align-items: end;
  margin-left: -17px;
  color: #147dc3;
  z-index: 0;
}
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 50%)!important;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ccc;
}
.d-flex-lable{
  display: flex;
  margin-top: 8px;
}
.pt-5{
  padding-top: 1.5rem;
}
.pb-5{
  padding-bottom: 8px;
}
.d-none{
  display: none;
}
.d-flex {
  display: flex;
}
testo-blu-grassetto {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0c7ec3;
  font-weight: bold;
  background-color: #e6e7e9;
  border-radius: 20px;
}
.px-6{
  padding-left: 20px;
  padding-right: 20px;
}
.px-5{
  padding-left: 8px;
  padding-right: 8px;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

testo-blu {
  color: #0e7dc3;
}
.d-flex{
  display: flex;
}
header {
  border-bottom: 1px solid #0c7ec3;

  display: grid;
  gap: 0px 0px;
  grid-template-rows: 10% 80% 10%;
}

textarea{
  resize: none;
}
logo {
  background-image: url("../immagini/MYADP_logo.png");
  background-size: 85%;
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center left;
}
logo2 {
  background-image: url("../immagini/logo-dipofam-progetto-finanziato.png");
  background-size: 100%;
  display: block;
  width: 50%;
  height: 100px;
  background-repeat: no-repeat;
  background-position: center left;
}
@media (min-width: 768px) {
  logo2 {
    background-position: center;
    background-size: contain;
  }
}
hamburger {
  display: block;
  background-image: url("../immagini/menu_hamburger.png");
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center right;
  width: 100%;
  height: 100%;
}

navigazione {
  display: grid;
  gap: 0px 0px;
  grid-template-columns: 25% 50% 25%;
}

padding {
  display: grid;
  gap: 0px 0px;
  grid-template-rows: 10% 90%;
  padding: 0 30px;
}

torna-indietro {
  display: flex;
  justify-content: center;
  align-items: center;
}
spazio{
  z-index: 1;
}
torna-indietro a {
  text-decoration: none;
  color: white;
  background: transparent !important;
  padding: 15px 20px !important;
  font-weight: bold;
  border: 1px solid white;
  border-radius: 13px !important;
  width: 80% !important;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px !important;
}

.margin_bottom_8px {
  margin-bottom: 8px;
}
testo-bianco {
  color: white;
}
.testo-bianco {
  color: white;
}

a {
  background-color: white;
  text-decoration: none;
}

immagine-home {
  background: url("../immagini/MYADP_BARRA-02.png");
  background-repeat: no-repeat;
  background-size: 50%;
  height: 30px;
  background-position: center;
}

immagine-cerca {
  background: url("../immagini/MYADP_BARRA-03.png");
  background-repeat: no-repeat;
  background-size: 50%;
  height: 30px;
  background-position: center;
}

immagine-dona {
  background: url("../immagini/MYADP_BARRA-04.png");
  background-repeat: no-repeat;
  background-size: 40%;
  height: 30px;
  background-position: center;
}

immagine-messaggi {
  background: url("../immagini/MYADP_BARRA-05.png");
  background-repeat: no-repeat;
  background-size: 50%;
  height: 30px;
  background-position: center;
}

immagine-profilo {
  background: url("../immagini/MYADP_BARRA-06.png");
  background-repeat: no-repeat;
  background-size: 50%;
  height: 30px;
  background-position: center;
}

footer {
  border-top: 1px solid #0c7ec3;
  display: grid;
  gap: 0px 0px;
  grid-template-columns: 20% 20% 20% 20% 20%;
  grid-template-rows: 80% 20%;
}
.footer {
  position: fixed;
  background-color: white;
  bottom: 0;
  left: 0;
  border-top: 1px solid #0c7ec3;
  display: flex;
  justify-content: space-evenly;
}

footer a {
  text-align: center;
  font-size: 15px;
  display: grid;
  gap: 0px 0px;
  grid-template-columns: 100%;
  grid-template-rows: 70% 30%;
}

@media screen and (min-width: 427px) {
  logo {
    background-size: 75%;
  }
}

@media screen and (min-width: 492px) {
  logo {
    background-size: 65%;
  }

  hamburger {
    background-size: 50%;
  }
}

@media screen and (min-width: 600px) {
  hamburger {
    background-size: 30%;
  }

  footer * {
    background-size: 40% !important;
  }
}

@media screen and (min-width: 700px) {
  logo {
    background-size: 55%;
  }

  footer * {
    background-size: 30% !important;
  }

  hamburger {
    background-size: 30%;
  }
}
.bg-147dc3{
  border-color: #147dc3;
  border-style: solid;
  border-width: 1px;
}
.form-text-box{
  border: none;
  height: 60px;
  width: 90%;
  padding: 5px;
}
.color-gray{
  color: #ccc;
}
.color-147dc3{
  color: #147dc3;
  text-decoration: none;
}
.color-white{
  color: #fff;
  text-decoration: none;
}
.bold-147dc3{
  color: #147dc3;
  font-weight: bold;
}
.maggiordomo{
  height: 140%;
  overflow: auto;
}
.testo-in-fondo {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.ms-5 {
  margin-left: 10px;
}
.freccia{
  font-family: initial!important;
  color: white;
}
.justify-self-start {
  height: 100%;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  padding-left: 20px;
  align-items: center;
  color: white;
  padding-top: 10px;
  font-size: 14px;
}
.justify-self-start {
  height: 100%;
  padding-left: 20px;
  align-items: center;
  color: white;
  padding-top: 10px;
  font-size: 14px;
}
testo-bianco-footer{
  display: flex;
  align-items: center;
}
.testo-indietro {
  font-family: "Montserrat Alternates", sans-serif;
  padding-left: 8px;
  font-weight: initial!important;
}
.align-items-center{
  align-items: center;
}
/* Stile per coprire l'intero schermo con uno sfondo semitrasparente */
.modal-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Stile per il contenitore della modale */
.modal-content {
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  flex-direction: column;
}
video#myVideo {
  width: 100%;
  height: 100%;
}

/* Stile per il pulsante di chiusura */
.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  cursor: pointer;
}

.tasti-user{
  overflow: auto;
}

.justify-content-center{
  justify-content: center;
}
.justify-content-between{
  justify-content: space-between;
}
.p-5{
  padding: 1rem;
}
.dati{
  color: #147dc3;
}
.dati ul li label{
  font-size: 0.8em;
}
.dati ul li div{
  /*font-size: 1.2em;*/
  font-weight: bold;
}
.user_img{
  height: 170px;
  width: 170px;
  border-radius: 50%;
  border: 1px solid #147dc3;
  background-image: url('../immagini/MYADP_no_sfondo_maggiordomo.png');
  background-position: center;
  background-size: cover;
  z-index: 0;
}
.user_img_full{
  height: 320px;
  width: 100%;
  background-image: url('../immagini/MYADP_no_sfondo_maggiordomo.png');
  background-position: center;
  background-size: cover;
}
.pencil-icon{
  font-size: 22px;
}
.overlay-box {
  position: absolute;
  top: 35%;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: end;
  justify-content: end;
  color: #147dc3;
  pointer-events: auto;
}

.d-block{
  display: block;
}
.username{
  color: black;
  padding-bottom: 10px;
}
.close{
  color: black;
  display: flex;
  justify-content: space-between;
}
.close-btn{
  font-size: 32px;
  display: flex;
  align-items: center;
}
.justify-content-end{
  justify-content: end;
}
/*new css*/
.my-adp-logo{
  background-image: url("../immagini/MYADP_logo.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 60px;
  height: 60px;
}
.my-adp-hamburger{
  background-image: url("../immagini/svg/myadp_icone-17.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 35px;
  height: 35px;
  margin-top: 0.8rem;
}
.immagine-maggiordomo{
  /*padding: 0.8rem;*/
  width: 80%;
  background-color: #e6e7e9;
  border-radius: 15px;
  margin-bottom: 0.5rem;
}
.immagine-palestra{
  /*padding: 0.8rem;*/
  width: 80%;
  background-color: #e6e7e9;
  border-radius: 15px;
  margin-bottom: 0.5rem;

}
.immagine-nutrizionista{
  /*padding: 0.8rem;*/
  width: 80%;
  background-color: #e6e7e9;
  border-radius: 15px;
  margin-bottom: 0.5rem;
}
.immagine-fisioterapista{
  /*padding: 0.8rem;*/
  width: 80%;
  background-color: #e6e7e9;
  border-radius: 15px;
  margin-bottom: 0.5rem;

}
.immagine-family-room{
  /*padding: 0.8rem;*/
  width: 80%;
  background-color: #e6e7e9;
  border-radius: 15px;
  margin-bottom: 0.5rem;

}
.immagine-lavanderia{
  /*padding: 0.8rem;*/
  width: 80%;
  background-color: #e6e7e9;
  border-radius: 15px;
  margin-bottom: 0.5rem;

}

.border-bottom-blu{
  border-bottom: 1px solid #147dc3;
}
.testo-blu {
  color: #147dc3;
}
.link-centrali-hp{
  background-color: #e6e7e9;
  border-radius: 20px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-weight: bold;
  color: #147dc3;
}
.info-box{
  background-color: #147dc3;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 20px;
}
.footer-ico{
  width: 1.5rem;
  height: 1.5rem;
}
.head-menu{
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
.font-monserrat{
  font-family: "Montserrat Alternates", sans-serif;
}
