@font-face {
  font-family: "IvarDisplay";
  src: url("./font/IvarDisplay-Regular.woff2") format("woff2"), url("./font/IvarDisplay-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Sailec";
  src: url("./font/Sailec-Regular.woff2") format("woff2"), url("./font/Sailec-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Sailec";
  src: url("./font/Sailec-Medium.woff2") format("woff2"), url("./font/Sailec-Medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}
.buttonWrapper .button--avanti,
.buttonWrapper .button--flag, .buttonWrapper .button--main, .buttonWrapper .button--flag[data-dir="-1"], .buttonWrapper .buttonLarge--gray, .buttonWrapper .buttonLarge--main {
  background-color: #000;
  border: none;
  padding: 20px 30px;
  box-sizing: border-box;
  position: relative;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}

.buttonWrapper .buttonLarge--main {
  display: block;
  width: 90%;
  margin: 0 auto;
}
@media (min-width: 650px) {
  .buttonWrapper .buttonLarge--main {
    width: 180px;
    padding: 20px 0;
    text-align: center;
  }
}

.buttonWrapper .buttonLarge--gray {
  display: block;
  width: 90%;
  margin: 0 auto;
}
@media (min-width: 650px) {
  .buttonWrapper .buttonLarge--gray {
    width: 290px;
    padding: 20px 0;
    text-align: center;
  }
}

.buttonWrapper .button--flag[data-dir="-1"], .buttonWrapper .buttonLarge--gray {
  background-color: #c0c0c0;
}

.buttonWrapper {
  margin: 80px 0;
  text-align: center;
}
.buttonWrapper.flags {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}
.buttonWrapper .button--avanti,
.buttonWrapper .button--flag {
  padding: 20px 75px 20px 30px;
}
.buttonWrapper .button--avanti::after,
.buttonWrapper .button--flag::after {
  content: "";
  display: block;
  width: 50px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background-image: url("/static/icons/arrow--white.svg");
  background-repeat: no-repeat;
  background-position: center;
}
.buttonWrapper .button--flag {
  padding: 28px;
}
.buttonWrapper .button--flag::after {
  width: 56px;
}
.buttonWrapper .button--flag[data-dir="-1"] {
  padding: 28px;
  transform: rotate(180deg);
}
.buttonWrapper .button--flag[data-dir="-1"]::after {
  background-image: url("/static/icons/arrow--gray.svg");
}
.buttonWrapper .spacer {
  margin: 20px 0;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: #000;
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  font-family: Sailec;
  font-weight: 400;
}

main {
  flex-grow: 1;
}

h1 {
  text-align: center;
  font-family: IvarDisplay;
  font-weight: 400;
  line-height: 2em;
}

h2 {
  text-align: center;
}

.subtitle {
  font-weight: 500;
  text-align: center;
  padding: 0 8%;
  font-size: 14px;
  line-height: 22.4px;
  letter-spacing: 0.5px;
  display: block;
  max-width: 635px;
  margin: 30px auto;
}

.imgHome {
  width: 90%;
  margin: 10px auto 40px;
}
.imgHome img {
  width: 100%;
}

header {
  text-align: center;
  padding: 20px 0;
  box-sizing: border-box;
  border-bottom: 1px solid #c0c0c0;
  position: -webkit-sticky;
  position: sticky;
  height: 100px;
  background-color: #fff;
  top: 0;
  z-index: 10;
}
header .headerLogo {
  width: 250px;
}

footer {
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 14px;
  height: 80px;
  background-color: #000;
  padding: 0 15px;
  box-sizing: border-box;
  color: #fff;
  font-family: sans-serif;
  text-align: center;
  justify-content: center;
}

form {
  font-size: 12px;
}
form .selectContainer {
  position: relative;
  margin: 80px auto 0;
  width: 90%;
  max-width: 335px;
}
form .selectContainer.hidden {
  display: none;
}
form .selectContainer::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-image: url("/static/icons/dropdown.svg");
  pointer-events: none;
}
form select {
  display: block;
  margin: 0;
  width: 100%;
  padding: 15px 0;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid #c0c0c0;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  background-color: transparent;
  color: black;
}
form .showWrapper {
  cursor: pointer;
  text-decoration: underline;
}
form .displayPrivacy.hidden {
  display: none;
}
form .opaco--disabled {
  opacity: 0.5;
  pointer-events: none !important;
}
form label {
  margin: 20px 0;
  display: block;
}
form label input {
  display: block;
  width: 100%;
  border: 1px solid #c0c0c0;
  padding: 20px;
  box-sizing: border-box;
  outline: none;
  border-radius: 0;
}
form label input[type=text],
form label input[type=email] {
  font-size: 16px;
}
form label input[type=checkbox],
form label input[type=radio] {
  display: inline-block;
  width: auto;
  padding: 0;
}
form label.check {
  text-align: center;
}
form label.check.left {
  text-align: left;
}
form label.check input {
  opacity: 0;
}
form label.check input:checked ~ span::after {
  display: inline-block;
}
form label.check span:not(.messaggioErrore) {
  position: relative;
  pointer-events: none;
}
form label.check span:not(.messaggioErrore) a {
  pointer-events: all;
  color: #000;
}
form label.check span:not(.messaggioErrore)::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  position: absolute;
  left: -18px;
  top: -2px;
  border: 1px solid black;
}
form label.check span:not(.messaggioErrore)::after {
  content: "";
  display: none;
  width: 12px;
  height: 12px;
  position: absolute;
  left: -18px;
  top: -2px;
  border: 1px solid black;
  background-image: url("/static/icons/checkbox.svg");
  background-size: 100%;
}
form label.radio {
  display: inline-block;
}
form label.radio input {
  opacity: 0;
}
form label.radio input:checked ~ .radioButtonCustom::before {
  display: inline-block;
}
form label.radio input:checked ~ .radioConsensoCustom::before {
  display: inline-block;
}
form label.radio .radioConsensoCustom {
  position: relative;
}
form label.radio .radioConsensoCustom::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  position: absolute;
  left: -15px;
  top: -1px;
  border: 1px solid black;
  border-radius: 50px;
}
form label.radio .radioConsensoCustom::before {
  content: "";
  display: none;
  width: 4px;
  height: 4px;
  position: absolute;
  left: -11px;
  top: 3px;
  background-color: black;
  border-radius: 50px;
}
form label.radio.radio--block {
  padding-left: 20px;
  display: block;
  margin: 10px 0;
}
form label.radio.radio--block .radioButtonCustom {
  position: relative;
  display: block;
  width: 90%;
  margin: 0 auto;
}
form label.radio.radio--block .radioButtonCustom::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  position: absolute;
  left: -15px;
  top: 0px;
  border: 1px solid black;
  border-radius: 50px;
}
form label.radio.radio--block .radioButtonCustom::before {
  content: "";
  display: none;
  width: 4px;
  height: 4px;
  position: absolute;
  left: -11px;
  top: 4px;
  background-color: black;
  border-radius: 50px;
}

.sliderCorniceWrapper {
  position: relative;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.sliderCorniceWrapper .corniceArrow {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 50%;
  margin-left: 125px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("/static/icons/simpleArrow--black.svg");
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}
.sliderCorniceWrapper .corniceArrow[data-direzione="-1"] {
  left: auto;
  right: 50%;
  margin-right: 125px;
  transform: translateY(-50%) rotate(180deg);
}

.sliderCornice {
  width: 250px;
  overflow-y: hidden;
  overflow-x: scroll;
  margin: 0 auto;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.sliderCornice::-webkit-scrollbar {
  display: none;
}

.corniceWrapper {
  pointer-events: none;
  position: relative;
  width: 100%;
  display: inline-block;
  vertical-align: top;
  scroll-snap-align: start;
  outline: 1px solid black;
  outline-offset: -1px;
}
.corniceWrapper .cornicePreview {
  display: block;
  width: 100%;
  height: auto;
}
.corniceWrapper .contestPreviewWrapper {
  position: absolute;
  top: 0;
  width: 80%;
  left: 10%;
  margin-top: 9.85%;
  padding-bottom: 80%;
  -o-object-fit: cover;
     object-fit: cover;
}
.corniceWrapper .contestPreviewWrapper.lower {
  margin-top: 19.699%;
}
.corniceWrapper .contestPreview {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.radioCorniceWrapper {
  text-align: center;
  margin-top: 13px;
}
.radioCorniceWrapper .radioCornice {
  display: inline-block;
  margin: 0 10px;
}
.radioCorniceWrapper .radioCornice input {
  opacity: 0;
}
.radioCorniceWrapper .radioCornice input:checked ~ .radioCustom::before {
  display: inline-block;
}
.radioCorniceWrapper .radioCornice .radioCustom {
  position: relative;
}
.radioCorniceWrapper .radioCornice .radioCustom::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  position: absolute;
  left: -15px;
  top: 3px;
  border: 1px solid #000;
  border-radius: 50px;
}
.radioCorniceWrapper .radioCornice .radioCustom::before {
  content: "";
  display: none;
  width: 6px;
  height: 6px;
  position: absolute;
  left: -12px;
  top: 6px;
  background-color: #000;
  border-radius: 50px;
}

.step1,
.step2,
.step3 {
  display: none;
}
.step1.active,
.step2.active,
.step3.active {
  display: block;
}

.formino {
  padding: 0 5%;
  max-width: 635px;
  margin: auto;
}

.messaggioErrore {
  display: none;
  color: #D93025;
}
.messaggioErrore.visible {
  display: block;
}

.questionarioOuterWrapper {
  margin-top: 20px;
  padding: 20px 0;
  min-height: calc(100vh - 80px - 100px - 70px);
  box-sizing: border-box;
  display: flex;
}
.questionarioOuterWrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/static/images/bg2.jpeg");
  filter: grayscale(100%) opacity(0.2);
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.questionarioOuterWrapper .questionarioWrapper {
  display: none;
  width: 80%;
  margin: auto;
  background-color: #fff;
  max-width: 635px;
}
.questionarioOuterWrapper .questionarioWrapper .wrapperQ1,
.questionarioOuterWrapper .questionarioWrapper .wrapperQ2,
.questionarioOuterWrapper .questionarioWrapper .wrapperQ3 {
  padding: 0 15px;
}
.questionarioOuterWrapper .questionarioWrapper .subtitle {
  margin-bottom: 15px;
}
.questionarioOuterWrapper .questionarioWrapper.active {
  display: block;
}
.questionarioOuterWrapper .buttonWrapper .pagination {
  display: inline-block;
  margin: 0;
  margin-right: 5px;
  transform: translateY(5px);
}

.thankyouWrapper {
  margin-top: 25px;
  text-align: center;
}
.thankyouWrapper h2 {
  font-weight: 500;
  margin-top: 0;
}

.thankyouContestWrapper {
  background-image: url("/static/images/bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 30px 0;
  margin-top: 25px;
}
.thankyouContestWrapper h2 {
  font-weight: 500;
  margin-top: 0;
  line-height: 2em;
}
.thankyouContestWrapper .buttonWrapper {
  margin: 0;
}

.contestShare {
  margin-top: 30px;
  background-color: #000;
  padding: 30px 0;
  color: #fff;
}
.contestShare h2 {
  font-weight: 500;
  margin-top: 0;
}
.contestShare .shareLink {
  display: block;
  width: 90%;
  margin: 30px auto 0;
  box-sizing: border-box;
  padding: 5px;
  padding-right: 40px;
  background-color: #fff;
  border-radius: 3px;
  color: #000;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
@media (min-width: 650px) {
  .contestShare .shareLink {
    width: 385px;
  }
}
.contestShare .shareLink::after {
  content: "copiato!";
  display: block;
  opacity: 0;
  color: #17871D;
  text-align: center;
  line-height: 30px;
  width: 100%;
  height: 40px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  font-weight: 500;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.contestShare .shareLink.active::after {
  opacity: 1;
  pointer-events: all;
}
.contestShare .shareLink .iconCopy {
  position: absolute;
  width: 40px;
  height: 40px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("/static/icons/copy.svg");
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}
.contestShare .iconsShare {
  display: flex;
}

.contestWrapper {
  min-height: calc(100vh - 80px - 100px - 50px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.contestWrapper .contestStep1,
.contestWrapper .contestStep2 {
  min-width: 100%;
  margin: auto;
  display: none;
}
.contestWrapper .contestStep1.active,
.contestWrapper .contestStep2.active {
  display: block;
}
.contestWrapper .contestStep1 #inputImmagine,
.contestWrapper .contestStep2 #inputImmagine {
  opacity: 0;
}

.iconsHome .icon {
  text-align: center;
  margin: 40px auto;
}
.iconsHome .icon img {
  width: 100px;
  height: 100px;
  background-size: contain;
  background-position: center;
}
.iconsHome .icon div {
  font-family: IvarDisplay;
  font-size: 18px;
  line-height: 16.6px;
  letter-spacing: 1px;
}
@media (min-width: 650px) {
  .iconsHome {
    display: flex;
    flex-wrap: wrap;
    margin: 0 60px;
    justify-content: space-around;
  }
  .iconsHome .icon {
    width: 30%;
  }
}

.iconsSocials {
  display: flex;
  justify-content: space-around;
}
.iconsSocials a {
  width: 14%;
  max-width: 60px;
  text-align: center;
}
.iconsSocials a img {
  width: 50%;
}

.iconsShare {
  display: flex;
  justify-content: center;
  margin-bottom: 80px;
}
.iconsShare a {
  width: 25%;
  max-width: 70px;
  text-align: center;
}
.iconsShare a img {
  width: 50%;
}

dialog {
  cursor: default;
  box-sizing: border-box;
  background: #fff;
  outline: none;
  border-radius: 0;
  border: none;
  padding: 20px 40px;
  color: #000;
  position: relative;
  min-height: 50%;
  max-width: 588px;
}
dialog.open {
  display: block;
}
dialog div {
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 0.5px;
}
dialog div.dialogTitle {
  font-size: 22px;
  line-height: 120%;
  margin: 50px 0;
  font-family: IvarDisplay;
}
dialog .dialogChiuditore {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background-image: url("/static/icons/close.svg?12");
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: bottom left;
  cursor: pointer;
}
dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}
