/*
 Theme Name:   NIMS QUIZ
 Template:     twentytwentyfive
*/


/*NIMS*/
#page div#header, #page hr {
    display: none;
}
/*FORM CHECK ORDER*/
#nims-check-form {
    text-align: center;
}

#nims-check-form input {
    background: transparent;
    border-bottom: 1px solid #1f355b !important;
    box-shadow: none;
    outline: none;
    /* all: unset; */
    border: none;
    width: 100%;
    text-align: center;
    padding: 18px;
}


#nims-check-form button {
    background: transparent;
    border: none;
    border-radius: 5px;
    border: 1px solid #1f355b;
    font-size: 18px;
    margin-top: 1rem;
    padding: 11px;
}

/*FORM REGISTRAZIONE*/
#section-registration-form,#section-valid-order,#section-invalid-order{
	display:none;
}

/*BYPASS ELEMENTOR*/
body.elementor-editor-active #section-registration-form, body.elementor-editor-active #section-valid-order, body.elementor-editor-active #section-invalid-order{
	display:block;
}

body.elementor-editor-active #section-quiz-check, body.elementor-editor-active #section-quiz-win, body.elementor-editor-active #section-quiz-fail{
	display:block;
}
/*BYPASS ELEMENTOR*/

#registration-form {
    width: 100%;
    max-width: 100%;
  }

  #registration-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
  }

  #registration-form .form-row .form-group {
    flex: 1;
  }

  #registration-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
  }

  #registration-form .form-group input[type="text"],
  #registration-form .form-group input[type="email"] {
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
  }

  #registration-form .form-group input:focus {
    outline: none;
    border-color: #000;
  }

  #registration-form .checkbox-group {
    margin: 20px 0;
  }

  #registration-form .checkbox-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
  }

  #registration-form button[type="submit"] {
    padding: 12px 20px;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    width: auto;
  }

  #registration-form button[type="submit"]:hover {
    background-color: #333;
  }

#registration-form{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    min-height: 240px;
    justify-content: space-around;
}

form#registration-form input {
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid #cccccc;
    padding-left: 1.5em;
}

form#registration-form button {
    border-radius: 20px;
    background-color: #1f355b !important;
}

/*QUIZ*/
.ays-field input+label:before{
    display: none;
  }


  #section-quiz-fail, #section-quiz-win{
    display: none;
  }
  .ays-quiz-container {
    box-shadow: none !important;
    margin-top: 0 !important;
  }
  input.ays_next.action-button {
    margin: 0 auto;
  }
  #ays-quiz-container-1 .ays_buttons_div:has(.ays_next.ays_finish.action-button) {
    justify-content: center !important;
  }
  /*LOADER*/
#ajax-loader-overlay,#ajax-loader {
    display: none;
}
#ajax-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* nero semi-trasparente */
    z-index: 9998;
}

#ajax-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

#footer{
	display:none;
}