/* 
	Autore: Catapultista
	Cliente: Clinica Laponte
*/

:root {
  --verde: #327683;
  --verde-chiaro: #86b3b9;
  /* oppure #2a646f al 40% */
  --grigio: #efefef;
  --marrone: #a67c52;
  --marrone-chiaro: #dab795;
  --beige: #f9f2ec;
  --giallo: #f7f2c9;
  --giallo-chiaro: #faf8e6;
}

@font-face {
  font-family: 'Satoshi-Variable';
  src: url('../fonts/Satoshi-Variable.woff2') format('woff2'),
    url('../fonts/Satoshi-Variable.woff') format('woff'),
    url('../fonts/Satoshi-Variable.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Satoshi-VariableItalic';
  src: url('../fonts/Satoshi-VariableItalic.woff2') format('woff2'),
    url('../fonts/Satoshi-VariableItalic.woff') format('woff'),
    url('../fonts/Satoshi-VariableItalic.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: 'Satoshi-Light';
  src: url('../fonts/Satoshi-Light.woff2') format('woff2'),
    url('../fonts/Satoshi-Light.woff') format('woff'),
    url('../fonts/Satoshi-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Satoshi-LightItalic';
  src: url('../fonts/Satoshi-LightItalic.woff2') format('woff2'),
    url('../fonts/Satoshi-LightItalic.woff') format('woff'),
    url('../fonts/Satoshi-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: 'Satoshi-Regular';
  src: url('../fonts/Satoshi-Regular.woff2') format('woff2'),
    url('../fonts/Satoshi-Regular.woff') format('woff'),
    url('../fonts/Satoshi-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Satoshi-Italic';
  src: url('../fonts/Satoshi-Italic.woff2') format('woff2'),
    url('../fonts/Satoshi-Italic.woff') format('woff'),
    url('../fonts/Satoshi-Italic.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: 'Satoshi-Medium';
  src: url('../fonts/Satoshi-Medium.woff2') format('woff2'),
    url('../fonts/Satoshi-Medium.woff') format('woff'),
    url('../fonts/Satoshi-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Satoshi-MediumItalic';
  src: url('../fonts/Satoshi-MediumItalic.woff2') format('woff2'),
    url('../fonts/Satoshi-MediumItalic.woff') format('woff'),
    url('../fonts/Satoshi-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: 'Satoshi-Bold';
  src: url('../fonts/Satoshi-Bold.woff2') format('woff2'),
    url('../fonts/Satoshi-Bold.woff') format('woff'),
    url('../fonts/Satoshi-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Satoshi-BoldItalic';
  src: url('../fonts/Satoshi-BoldItalic.woff2') format('woff2'),
    url('../fonts/Satoshi-BoldItalic.woff') format('woff'),
    url('../fonts/Satoshi-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: 'Satoshi-Black';
  src: url('../fonts/Satoshi-Black.woff2') format('woff2'),
    url('../fonts/Satoshi-Black.woff') format('woff'),
    url('../fonts/Satoshi-Black.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Satoshi-BlackItalic';
  src: url('../fonts/Satoshi-BlackItalic.woff2') format('woff2'),
    url('../fonts/Satoshi-BlackItalic.woff') format('woff'),
    url('../fonts/Satoshi-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
  font-style: italic;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Satoshi-Variable';
  color: #222;
  /* cursor: none; */
  -webkit-animation: caricamento 1.5s ease-in-out forwards;
  -moz-animation: caricamento 1.5s ease-in-out forwards;
  -o-animation: caricamento 1.5s ease-in-out forwards;
  animation: caricamento 1.5s ease-in-out forwards;
}

@keyframes caricamento {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes caricamento {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-moz-keyframes caricamento {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  } 
}

*:focus, *:hover {
  outline: none;
  outline-offset: unset;
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all .3s ease-in-out;
}

a:hover {
  text-decoration: none;
}

a.iubenda-tp-btn.iubenda-cs-preferences-link {
  display: none !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Alegreya', serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  position: relative;
  color: var(--grigio-scuro);
}

img {
  max-width: 100%;
  object-fit: cover;
}

.abslink {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
  border: 2px solid;
  border-radius: 5px;
  padding: 4px 15px;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0px;
  transition: all .3s ease-in-out;
}

a.iubenda-tp-btn.iubenda-cs-preferences-link {
  display: none !important;
}

button.iubenda-tp-btn.iubenda-cs-preferences-link {
  display: none !important;
}

.page-content {
  margin-top: 40px;
}

.container {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
}

.sintomo-content > .container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  column-gap: 100px;
}

.sintomo-content .description {
  width: 80%;
}

.sintomo-content .aside {
  width: 20%;
}

.aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 120px;
}

.aside img {
  height: 70px;
  object-fit: contain;
}

.aside-center {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  text-align: center;
}

.aside-center span {
  color: var(--verde);
  font-size: 26px;
  line-height: 1.2;
}

.aside-center .title-sintomo {
  background: var(--giallo);
  width: 110px;
  height: 110px;
  border-radius: 100px;
  padding: 0px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.1;
  margin: 0 auto;
}

.title-step {
  display: flex;
  justify-content: flex-start;
  padding: 50px 60px 50px 80px;
  border-radius: 60px;
  width: 90%;
  margin-left: calc(-50px + -30px);
  margin-bottom: 60px;
  font-size: 30px;
  letter-spacing: 2px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--marrone);
  background: -moz-linear-gradient(to right, transparent 0%, var(--giallo-chiaro) 100%) padding-box, linear-gradient(to right, transparent, var(--giallo)) border-box;
  background: -webkit-linear-gradient(to right, transparent 0%, var(--giallo-chiaro) 100%) padding-box, linear-gradient(to right, transparent, var(--giallo)) border-box;
  background: linear-gradient(to right, transparent 0%, var(--giallo-chiaro) 100%) padding-box, linear-gradient(to right, transparent, var(--giallo)) border-box;
  border: 1px solid transparent;
}

.cf7mls-no-moving-animation .fieldset-cf7mls-wrapper .fieldset-cf7mls {
  padding-top: 0;
}

.fieldset-cf7mls .intro-form {
  width: 90%;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 50px;
}

.title-step ~ label, p > label {
  color: var(--verde);
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-form-control-wrap > span {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.wpcf7-form-control-wrap .wpcf7-list-item {
  margin: 0;
}

/* input[type="radio"] {
  display: none;
} */

label .wpcf7-list-item-label {
  color: var(--verde);
  font-weight: 600;
  font-size: 22px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  transition: all .3s ease-in-out;
}

/* label input[type="radio"]:checked + .wpcf7-list-item-label {
  background: var(--giallo);
  border-color: var(--giallo);
} */

.cf7mls-btns {
  position: relative;
  height: 200px;
}

.fieldset-cf7mls .cf7mls_back {
  float: none;
  display: flex;
  justify-content: center;
  position: absolute;
  left: calc(50% - 30px);
  transform: translateX(-50%);
  border-radius: 100px;
  min-width: initial;
  width: 50px;
  height: 50px;
  color: var(--verde-chiaro);
  font-size: 18px;
  background: transparent;
  border: 2px solid var(--verde-chiaro);
  transition: all .3s ease-in-out
}

.cf7mls_next.action-button {
  float: none;
  position: absolute;
  left: calc(50% - -30px);
  transform: translateX(-50%);
  border-radius: 100px;
  min-width: initial;
  width: 50px;
  height: 50px;
  color: var(--verde);
  font-size: 18px;
  background: transparent;
  border: 2px solid var(--verde);
  transition: all .3s ease-in-out
}

.fieldset-cf7mls .cf7mls_back:hover {
  background: var(--verde-chiaro);
  color: #fff;
}

.fieldset-cf7mls .cf7mls_next.action-button:hover {
  background: var(--verde);
  color: #fff;
}

.cf7mls_next.action-button img, .cf7mls_next.action-button.sending img {
  display: none !important;
}

.cf7mls_progress_bar_percent_wrap {
  position: relative;
  top: 100px;
}

.wpcf7-list-item label, .wpcf7-list-item label input {
  transition: all .3s ease-in-out;
}

.wpcf7-list-item label:hover {
  background: var(--giallo-chiaro);
  border-color: var(--giallo-chiaro);
}

.wpcf7-list-item label:hover input:not(:checked) {
  background: #fff;
  border-color: var(--verde-chiaro);
}

label:has([type=radio]) {
  display: inline-flex;
  align-items: center;
  column-gap: 12px;
  border: 2px solid var(--verde-chiaro);
  padding: 10px 12px;
  border-radius: 100px;
  transition: all .3s ease-in-out;
}

label:has([type=radio]:not(:disabled)) {
  cursor: pointer;
}

[type=radio] {
  appearance: none;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: inherit;
  border-radius: inherit;
}

label:has([type=radio]:checked) {
  border-color: var(--giallo-chiaro);;
  background: var(--giallo-chiaro);
}

[type=radio]:checked {
  border-color: var(--verde-chiaro);
  background: var(--verde-chiaro)
}

.title-step ~ div p {
  margin: 0;
}

label:has(input) {
  min-width: fit-content;
}

.title-step ~ div textarea {
  border: none;
  border: 2px solid var(--verde-chiaro);
  background: #fff;
  border-radius: 20px;
  padding: 10px 12px;
  height: 110px;
  font-size: 16px;
  max-width: 500px;
  width: 100%;
  transition: all .3s ease-in-out;
}

input[type="number"] {
  border: none;
  width: 90px;
  color: var(--verde);
  font-weight: 600;
  font-size: 22px;
  text-align: center;
  padding: 10px 14px;
  border: 2px solid #86b3b990;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  transition: all .3s ease-in-out;
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.fieldset-cf7mls-wrapper fieldset:last-child label {
  text-transform: initial;
}

.fieldset-cf7mls-wrapper fieldset:last-child input::placeholder {
  color: #ccc;
  font-size: 18px;
  font-weight: 400;
}

.fieldset-cf7mls-wrapper fieldset:last-child input {
  border: none;
  border-bottom: 1px solid #555;
  margin-top: 20px;
  font-weight: 600;
  font-size: 20px;
  color: #333;
}

form.cf7mls input.wpcf7-form-control.wpcf7-submit {
  border: none;
  background: none;
  text-align: center;
  float: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 20px;
  border: 2px solid var(--verde);
  border-radius: 100px;
  color: var(--verde);
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s ease-in-out;
}

form.cf7mls input.wpcf7-form-control.wpcf7-submit:hover {
  background: var(--verde);
  color: #fff;
}

.fieldset-cf7mls-wrapper fieldset:last-child .cf7mls-btns {
  margin-top: 60px;
}

.fieldset-cf7mls-wrapper fieldset:last-child .cf7mls_back {
  bottom: 70px;
  left: calc(0% - -30px);
}

fieldset select {
  width: 80px;
  color: var(--verde);
  font-weight: 600;
  font-size: 22px;
  cursor: pointer;
  border: 2px solid var(--verde-chiaro);
  padding: 10px 14px;
  border-radius: 100px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%23327683"><path d="M5.23 7.2L10 12l4.77-4.8a1 1 0 0 0-1.54-1.28L10 9.44 6.77 5.92a1 1 0 0 0-1.54 1.28z"/></svg>');
  background-repeat: no-repeat;
  background-position: 46px 12px;
  background-size: 24px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all .3s ease-in-out;
}

.fieldset-cf7mls-wrapper .wpcf7-not-valid-tip {
  margin-top: 20px;
}

.wpcf7 form .wpcf7-response-output {
  border: none;
  padding: 0;
}

.fieldset-cf7mls-wrapper div.wpcf7-validation-errors .wpcf7-icon-wraning {
  margin-top: 0px;
}

label:has(input[name="step-1"]) {
  width: 100px;
}

label:has(input[name="step-2"]) {
  width: 370px;
}

label:has(input[name="step-3"]) {
  width: 200px;
}

label:has(input[name="step-4"]) {
  width: 240px;
}

label:has(input[name="step-5"]) {
  width: 270px;
}

label:has(input[name="step-6"]) {
  width: 210px;
}

label:has(input[name="step-7"]) {
  width: 100px;
}

label:has(input[name="step-8"]) {
  width: 320px;
}

label:has(input[name="step-9"]) {
  width: 320px;
}

label:has(input[name="step-10"]) {
  width: 170px;
}

label:has(input[name="step-11"]) {
  width: 180px;
}

label:has(input[name="step-12"]) {
  width: 200px;
}

label:has(input[name="step-13"]) {
  width: 360px;
}

label:has(input[name="step-14"]) {
  width: 100px;
}

label:has(input[name="step-15"]) {
  width: 100px;
}

label:has(input[name="step-16"]) {
  width: 200px;
}

label:has(input[name="step-17"]) {
  width: 200px;
}

label:has(input[name="step-18"]) {
  width: 240px;
}

label:has(input[name="step-19"]) {
  width: 280px;
}

.grazie-page .page-content > .container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  column-gap: 100px;
}

.grazie-page .page-content .description {
  width: 80%;
}

.grazie-page .page-content .aside {
  width: 20%;
}

.grazie-page .description p {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 50px 60px 50px 80px;
  border-radius: 60px;
  width: 100%;
  margin-left: calc(-50px + -30px);
  margin-bottom: 60px;
  font-size: 30px;
  letter-spacing: 2px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--marrone);
  background: -moz-linear-gradient(to right, transparent 0%, var(--giallo-chiaro) 100%) padding-box, linear-gradient(to right, transparent, var(--giallo)) border-box;
  background: -webkit-linear-gradient(to right, transparent 0%, var(--giallo-chiaro) 100%) padding-box, linear-gradient(to right, transparent, var(--giallo)) border-box;
  background: linear-gradient(to right, transparent 0%, var(--giallo-chiaro) 100%) padding-box, linear-gradient(to right, transparent, var(--giallo)) border-box;
  border: 1px solid transparent;
}

.go-home {
  position: relative;
  color: var(--verde);
  font-weight: 600;
  font-size: 18px;
  display: block;
  text-align: center;
}

.go-home:before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--verde-chiaro);
  height: 2px;
  width: 130px;
}

.sub-footer .container {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.credit, .policy {
  display: inline-block;
  font-size: 12px;
}

.policy a {
  font-style: italic;
  letter-spacing: 1px;
}

.policy a img {
  max-width: 25px;
  display: inline-block;
  margin-top: -3px;
  padding-left: 5px;
  animation-duration: 4s;
  animation-name: occhio-catapultista;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes occhio-catapultista {
  0% {
    transform: rotateX(0deg);
  }
  10% {
    transform: rotateX(90deg);
  }
  20% {
    transform: rotateX(0deg);
  }
  100% {
    transform: rotateX(0deg);
  }
}

@media (max-width: 767px) {

  .page-content {
    margin-top: 20px;
  }

  .sintomo-content > .container {
    flex-direction: column;
  }

  .sintomo-content .description, .sintomo-content .aside {
    width: 100%;
  }

  .aside {
    row-gap: 40px;
    margin-bottom: 40px;
  }

  .aside-center {
    row-gap: 20px;
  }

  .fieldset-cf7mls .intro-form {
    width: 100%;
    font-size: 17px;
  }

  .title-step {
    padding: 30px 50px 30px 30px;
    border-radius: 60px;
    width: 100%;
    margin-left: calc(0px + -30px);
    margin-bottom: 20px;
    font-size: 26px;
    line-height: 1.2;
  }

  .title-step ~ label {
    font-size: 19px;
  }

  fieldset {
    padding: 0;
  }

  [type=radio] {
    width: 22px !important;
  }

  label:has([type=radio]) {
    column-gap: 8px;
    padding: 10px 8px;
  }

  .title-step ~ div textarea {
    height: 100px;
    font-size: 16px;
    max-width: 330px;
  }

  .fieldset-cf7mls-wrapper fieldset:last-child label {
    padding-right: 50px;
  }

  .cf7mls-btns {
    height: 180px;
  }

  .fieldset-cf7mls .cf7mls_back {
    left: calc(50% - 40px);
  }

  .cf7mls_next.action-button {
    left: calc(50% - -20px);
  }

  .cf7mls-btns .cf7mls_next.action-button, .cf7mls-btns .cf7mls_back.action-button {
    padding: initial;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .wpcf7 form .wpcf7-response-output {
    display: none !important;
  }

  label .wpcf7-list-item-label {
    font-size: 18px;
  }

  label:has(input[name="step-1"]) {
    width: 90px;
  }

  label:has(input[name="step-2"]) {
    width: 310px;
  }

  label:has(input[name="step-3"]) {
    width: 170px;
  }

  label:has(input[name="step-4"]) {
    width: 210px;
  }

  label:has(input[name="step-5"]) {
    width: 230px;
  }

  label:has(input[name="step-6"]) {
    width: 180px;
  }

  label:has(input[name="step-7"]) {
    width: 90px;
  }

  label:has(input[name="step-8"]) {
    width: 270px;
  }

  label:has(input[name="step-9"]) {
    width: 270px;
  }

  label:has(input[name="step-10"]) {
    width: 140px;
  }

  label:has(input[name="step-11"]) {
    width: 150px;
  }

  label:has(input[name="step-12"]) {
    width: 160px;
  }

  label:has(input[name="step-13"]) {
    width: 300px;
  }

  label:has(input[name="step-14"]) {
    width: 90px;
  }

  label:has(input[name="step-15"]) {
    width: 90px;
  }

  label:has(input[name="step-16"]) {
    width: 160px;
  }

  label:has(input[name="step-17"]) {
    width: 160px;
  }

  label:has(input[name="step-18"]) {
    width: 240px;
  }

  label:has(input[name="step-19"]) {
    width: 240px;
  }

  .grazie-page .page-content > .container {
    flex-direction: column;
  }

  .grazie-page .page-content .description, .grazie-page .page-content .aside {
    width: 100%;
  }

  .grazie-page .page-content .description {
    margin-bottom: 100px;
  }

  .grazie-page .description p {
    flex-direction: column;
    row-gap: 0;
    padding: 20px;
    border-radius: 60px;
    width: 100%;
    margin-left: 0;
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 1.2;
  }

  .go-home {
    margin-top: 70px;
  }

  .sub-footer .container {
    flex-direction: column;
    row-gap: 5px;
    margin-bottom: 5px;
  }

}