@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,400;0,700;1,400;1,700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto Condensed", sans-serif;
  list-style: none;
  /* user-select: none; */
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
  box-shadow: none;
}

input,
select,
textarea,
button {
  border: 1px solid #3bcaf6;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input[type="submit"] {
  padding: 5px 10px;
  border: solid 1px #3bcaf6;
  border-radius: 10px;
  background-color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
}

button:hover,
input[type="submit"]:hover {
  cursor: pointer;
  background-color: #3bcaf6;
}

select,
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 5px;
  border-radius: 10px;
}

label {
  display: inline-block;
  margin: 15px 0 5px 0;
}

#container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: url("https://elearning.81fad.com/templates/standard_backup_81fad/static/images/login/bg.jpg")
    no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: relative;
}

header {
  padding: 20px 40px;
  width: 100vw;
  height: 100px;
  min-height: 100px;
  background-color: #3bcaf6;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#logo,
#menu {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#logo img {
  height: 70px;
}

#menu img {
  height: 30px;
}

#menu:hover {
  cursor: pointer;
}

main {
  width: 100%;
  overflow: auto;
  height: calc(100vh - 170px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.sez_1 {
  margin: 50px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sez_2 {
  width: calc(100vw - 100px);
  margin: 50px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#main_container {
  padding: 15px;
  border: solid 2px #3bcaf6;
  border-radius: 10px;
  width: 350px;
  max-width: calc(100vw - 40px);
  background-color: rgba(255, 255, 255, 0.8);
}

#alert_nuovo_accordo {
  width: 90%;
  margin: 5px 0;
  font-style: italic;
  text-align: center;
  text-wrap: balance;
  font-size: 0.9rem;
}

footer {
  width: 100vw;
  /* height: 70px; */
  /* min-height: 70px; */
  background-color: #3bcaf6;
  color: #fff;
  /* display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap; */
  text-align: center;
  padding: 5px;
}

.footer_riga {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.footer_riga_elemento {
  padding: 5px 10px;
}

#modulo_assistenza {
  display: none;
  padding: 15px;
  /* margin: 50px 0; */
  border: solid 2px #293cb4;
  border-radius: 10px;
  width: 350px;
  max-width: calc(100vw - 40px);
  background-color: rgba(255, 255, 255, 0.8);
  position: relative;
}

#modulo_assistenza:target {
  display: block;
  margin: 20px 0;
}

#x_modulo_assistenza {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border: solid 2px #293cb4;
  border-radius: 100%;
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #fff;
  font-size: 0.9rem;
}

#x_modulo_assistenza:hover {
  cursor: pointer;
}

.assistenza_da_menu {
  padding: 5px 10px;
  border: solid 2px #293cb4;
  border-radius: 10px;
}

.assistenza_da_menu:hover {
  background-color: #293cb4;
}

#modulo_cambio_password,
#modulo_user_pass,
#modulo_cambio_username {
  display: none;
  padding: 15px;
  /* margin: 50px 0; */
  border: solid 2px #3bcaf6;
  border-radius: 10px;
  width: 350px;
  max-width: calc(100vw - 40px);
  background-color: rgba(255, 255, 255, 0.8);
  position: relative;
}

#x_modulo_cambio_password,
#x_modulo_user_pass,
#x_modulo_cambio_username {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border: solid 2px #3bcaf6;
  border-radius: 100%;
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #fff;
  font-size: 0.9rem;
}

#x_modulo_cambio_password:hover,
#x_modulo_user_pass:hover,
#x_modulo_cambio_username:hover {
  cursor: pointer;
}

#faq {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  font-size: 1.6rem;
  width: fit-content;
  padding: 10px 20px;
  border: solid 2px #293cb4;
  border-radius: 10px;
  background-color: #293cb4;
  z-index: 1000;
}

#faq:hover {
  cursor: pointer;
  background-color: #fff;
  color: #293cb4;
}

#div_faq {
  display: none;
  width: 300px;
  max-height: calc(100vh - 270px);
  border: solid 2px #293cb4;
  border-radius: 10px;
  padding: 10px;
  background-color: #fff;
  position: absolute;
  bottom: 120px;
  right: 50px;
  z-index: 1000;
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.9);
}

#div_faq_header {
  background-color: #293cb4;
  padding: 5px 10px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#div_faq_header {
  color: #293cb4;
}

#div_faq_header h3 {
  color: #fff;
}

#x_faq {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border: solid 2px #293cb4;
  border-radius: 100%;
  background-color: #fff;
  font-size: 0.9rem;
}

#x_faq:hover {
  cursor: pointer;
}

.domanda {
  padding: 0 10px;
  margin: 15px 0;
  width: fit-content;
  font-weight: bold;
}

.domanda:hover {
  cursor: pointer;
}

.risposta {
  display: none;
  padding: 0 20px;
  margin-bottom: 20px;
}

#richiesta_assistenza {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#richiedi_ulteriore_assistenza,
#telefona_assistenza {
  padding: 5px;
  margin: 10px 0;
  border: solid 2px #293cb4;
  color: #fff;
  background-color: #293cb4;
  border-radius: 10px;
}

#richiedi_ulteriore_assistenza:hover,
#telefona_assistenza:hover {
  cursor: pointer;
  background-color: #fff;
  color: #293cb4;
}

#menu_opzioni {
  display: none;
  font-weight: bold;
  /* margin-top: auto; */
  margin-top: 150px;
  padding: 10px;
  width: fit-content;
  background-color: #3bcaf6;
  border: solid 2px #fff;
  border-radius: 10px;
  position: relative;
}

#menu_opzioni * {
  margin: 10px 0;
}

#menu_opzioni *:hover {
  cursor: pointer;
}

#x_menu_opzioni {
  color: #3bcaf6;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border: solid 2px #3bcaf6;
  border-radius: 100%;
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #fff;
  font-size: 0.9rem;
  margin: auto;
}

#x_menu_opzioni:hover {
  cursor: pointer;
}

.grecaptcha-badge {
  display: none !important;
}

#recupero_password,
#recupero_username {
  display: inline-block;
  width: fit-content;
  padding: 5px 10px;
  margin: 0 0 0 10px;
  background-color: #3bcaf6;
  border: solid 1px #3bcaf6;
  border-radius: 10px;
  font-size: 0.85rem;
}

#recupero_password:hover,
#recupero_username:hover {
  cursor: pointer;
  color: #fff;
}

#recupero_user_pass {
  width: fit-content;
}

#recupero_user_pass:hover {
  cursor: pointer;
}

#modulo_privacy {
  display: none;
  /* width: 90%;
    height: 90%; */
  margin: 20px;
  padding: 20px;
  border: solid 3px #3bcaf6;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.9);
}

#modulo_privacy:target {
  display: block;
}

.informativa_privacy:hover {
  cursor: pointer;
}

#menu_desktop {
  display: none;
}

.divisorio {
  margin: 30px 0 15px 0;
  border: 2px solid #3bcaf6;
}

/* iframe */
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

#iframeContainer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

iframe {
  height: 400px;
  border: none;
}

#closeButton {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

#privacy {
  /*pagina 81fad.com/login/privacy */
  padding: 50px;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#div_privacy {
  height: fit-content;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 20px;
}

#app_81fad {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999; /* Assicura che l'elemento sia in primo piano */
}

#app_81fad img {
  width: 400px;
}

/* Media Query */
@media (min-width: 600px) {
  #menu_desktop {
    display: block;
  }

  .elemento_menu {
    display: inline-block;
    margin: 0 20px;
    font-size: 1.4rem;
    font-weight: bold;
  }

  .elemento_menu:hover {
    cursor: pointer;
  }

  #menu_mobile {
    display: none;
  }
}

@media (max-width: 600px) {
  #app_81fad img {
    width: 250px;
  }
}
