/* Campanie Page */
.banner img{
  width: 100%;
}
.banner .mobile-banner{
  display: none;
}
@media(max-width:767px){
  .banner .mobile-banner{
    display: block;
  }
  .banner .desktop-banner{
    display: none;
  }
}
/*--*/
.form-container{
  max-width: 810px;
  margin: 0 auto;
}
.form-container h1{
  text-align: center;
  text-transform: uppercase;
  margin-block-start: 0.67em;
  margin-block-end: 0.67em;
  color:#fff;
  display: block;
}
/*  Form  */
/* WRAP GENERAL */
.promo-form-wrap {
  max-width: 540px;
  margin: 0 auto;
  color: #fff;
}

.promo-form-wrap br{
  display: none;
}

/* GRID */
.promo-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 18px;
}

.promo-field label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  color: #fff;
}

/* INPUT / SELECT */
.promo-input,
.promo-select,
.promo-date-input {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: #e5e5e5;
  color: #5d5d5d;
  font-size: 16px;
  box-shadow: none;
  outline: none;
  box-sizing: border-box;
}

.promo-input:focus,
.promo-select:focus,
.promo-date-input:focus {
  outline: none;
  box-shadow: none;
  background: #ececec;
}

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

/* select arrow */
.promo-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, #a8a8a8 50%),
    linear-gradient(135deg, #a8a8a8 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 17px,
    calc(100% - 13px) 17px;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

/* date icon */
.promo-date-input {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='%23b3b3b3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
  cursor: pointer;
}

/* TOOLTIP */
.promo-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.promo-tooltip-btn {
  width: 19px;
  height: 19px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #69d8ec 0%, #43c2dd 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}


.promo-tooltip-box {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translateX(-50%);
  width: 440px;
  max-width: 90vw;
  padding: 0;
  background: transparent;
  border-radius: 4px;
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
  z-index: 50;
  padding: 5px 0;
  border-radius: 6px;
  background: #555;
}

.promo-tooltip-box::before {
  content:'';
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.promo-tooltip-box img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.promo-tooltip.is-open .promo-tooltip-box,
.promo-tooltip:hover .promo-tooltip-box {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* CONSENTS */
.promo-consents {
  margin-top: 18px;
}

.promo-consent-item {
  margin-bottom: 12px;
  color: #fff;
  font-size: 16px;
  line-height: 1.15;
}

.promo-consent-item--marketing {
  max-width: 500px;
}

.promo-consent-item .wpcf7-list-item {
  margin: 0;
  display: block;
}

.promo-consent-item .wpcf7-list-item-label {
  display: inline;
}

.promo-consent-item label {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.promo-consent-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  min-width: 20px;
  height: 20px;
  border: 2px solid #e6e6e6;
  background: #f2f2f2;
  margin: 0;
  position: relative;
  top: 1px;
}

.promo-consent-item input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #37a4d5;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.promo-consent-item a,
.promo-form-note a {
  color: #fff;
  text-decoration: underline;
}

/* NOTE */
.promo-form-note {
  margin-top: 26px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
}

/* SUBMIT */
.promo-submit-wrap {
  margin-top: 20px;
  text-align: center;
}

.promo-submit {
  min-width: 119px;
  height: 52px;
  border: 0;
  border-radius: 0;
  background: #f1f1f1;
  color: #2e99d5;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 24px;
  transition: opacity .2s ease, transform .2s ease;
}

.promo-submit:hover {
  opacity: .94;
}

.promo-submit:active {
  transform: translateY(1px);
}

/* VALIDATION */
.wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #fff;
  font-size: 13px;
}

.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-color: rgba(255,255,255,.8);
  color: #fff;
}

/* FLATPICKR */
.flatpickr-calendar {
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  font-family: Arial, Helvetica, sans-serif;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #3a8fff;
  border-color: #3a8fff;
}

.flatpickr-monthDropdown-months,
.numInput.cur-year {
  font-size: 16px;
}

/* RESPONSIVE */
@media (max-width: 767px) {
  .promo-form-wrap {
    max-width: 100%;
  }

  .promo-form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .promo-tooltip-box {
    width: min(440px, 88vw);
    left: 0;
    transform: none;
  }

  .promo-form-title {
    font-size: 26px;
  }

  .promo-consent-item,
  .promo-form-note,
  .promo-field label,
  .promo-input,
  .promo-select,
  .promo-date-input {
    font-size: 15px;
  }
}
