@charset "utf-8";
.pg-fv {
    height: 370px;
    padding-top: 122px;
    background-image: url(https://ud-undertheday.com/system_panel/uploads/images/fv-contact-bg.png);
    background-position: center;
    background-size: cover;
}
.pg-fv__box {
      display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 6px;
}
.pg-fv__subtitle {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
.pg-fv__title {
    font-family: "Anton", serif;
    font-size: clamp(5rem, 0.143rem + 7.59vw, 9.25rem);
    font-weight: 400;
    line-height: 1;
}

.contact {
      padding-top: 80px;
    padding-bottom: 160px;
}
.contact__inner {
      padding: 0 clamp(1.25rem, -24.75rem + 40.63vw, 24rem);
}

.contact__main {
      margin-top: 55px;
    border: 1px solid #707070;
    padding: 40px clamp(1.25rem, -4.179rem + 8.48vw, 6rem);
}
.contact__title {
      text-align: center;
    font-size: 32px;
    font-weight: 500;
}
.contact__text {
      margin-top: 9px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.formWrap {
  margin-top: 60px;
}
.form > div {
      display: flex;
    flex-direction: column;
    row-gap: 40px;
}
.formRow {
      display: flex;
    justify-content: space-between;
}
.label {
      margin-bottom: 0;
    font-weight: 700;
    text-align: center;
    font-size: 20px;
}
.requiredText {
      font-weight: 700;
        padding: 2px 16px;
    background-color: #FFD500;
    border-radius: 15px;
    margin-right: clamp(0.313rem, -0.354rem + 1.39vw, 1.313rem);
}
.formInput {
    width: 559px;
    padding: clamp(0.75rem, 0.5rem + 0.52vw, 1.125rem) clamp(1rem, 0.833rem + 0.35vw, 1.25rem);
    height: 59px;
  background-color: #EEEEEE;
  border: none;
      font-size: 15px;
    color: #000;
  border-radius: 0;
}
.formSelect {
      width: 559px;
    padding: clamp(0.75rem, 0.5rem + 0.52vw, 1.125rem) clamp(1rem, 0.833rem + 0.35vw, 1.25rem);
    height: 59px;
    color: #473B37;
    background-color: #EEEEEE;
  border: none;
      font-size: 15px;
    color: #000;
  border-radius: 0;
}
.formTextArea {
        width: 559px;
    height: 177px;
    padding: clamp(0.75rem, 0.5rem + 0.52vw, 1.125rem) clamp(1rem, 0.833rem + 0.35vw, 1.25rem);
    background-color: #EEEEEE;
  border: none;
  border-radius: 0;
  color: #000;
}
.privacyBox {
       width: 559px;
    height: 177px;
    padding: clamp(0.75rem, 0.5rem + 0.52vw, 1.125rem) clamp(1rem, 0.833rem + 0.35vw, 1.25rem);
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: #EEEEEE;
    color: #37291E;
}
.privacyBox p {
  font-size: 14px;
  color: #707070;
}
.privacy-check__text {
      margin-top: 47px;
    display: flex;
    align-items: center;
    column-gap: 11px;
}
.privacy-checkbox {
      margin-top: 20px;
    display: flex;
    column-gap: 11px;
    align-items: center;
}
.checkbox {
      width: 31px;
    height: 31px;
}
.privacyLabel {
  font-size: 16px;
}
.privacyLabel span {
      color: #0779ff;
    text-decoration: underline;
}
.contact__btn {
    margin-top: 80px;
    justify-content: center;
}
.form__btn {
        width: 250px;
    height: 74px;
    border: none;
    font-size: 18px;
    color: #000;
    font-weight: 700;
    background-color: #FFD500;
    transition: .5s;
}
.form__btn:hover {
  background-color: #FDEC95;
}

@media (max-width: 1023px) {
  .formInput {
    width: clamp(25rem, -4.929rem + 62.35vw, 34.938rem);
  }
  .formSelect {
    width: clamp(25rem, -4.929rem + 62.35vw, 34.938rem);
  }
  .formTextArea {
    width: clamp(25rem, -4.929rem + 62.35vw, 34.938rem);
  }
  .privacyBox {
    width: clamp(25rem, -4.929rem + 62.35vw, 34.938rem);
  }
}

@media (max-width: 767px) {
  .pg-fv {
    height: 304px;
    padding-top: 115px;
    background-image: url(https://ud-undertheday.com/system_panel/uploads/images/fv-contact-bg--sp.png);
  }
  .pg-fv__subtitle {
    font-size: 14px;
  }
  .contact__title {
    font-size: 20px;
  }
  .contact__text {
    font-size: 14px;
  }
  .form > div {
    row-gap: 24px;
  }
  .requiredText {
    font-size: clamp(0.75rem, 0.491rem + 1.06vw, 1rem);
  }
  .label {
    font-size: clamp(0.875rem, 0.487rem + 1.59vw, 1.25rem);
  }
  .formRow {
        flex-direction: column;
    row-gap: 8px;
  }
  .formSelect {
        width: 100%;
    height: clamp(2.5rem, 1.272rem + 5.04vw, 3.688rem);
  }
  .formInput {
        width: 100%;
    height: clamp(2.5rem, 1.272rem + 5.04vw, 3.688rem);
  }
  .formTextArea {
        width: 100%;
    height: clamp(9.875rem, 8.647rem + 5.04vw, 11.063rem);
  }
  .privacyBox {
        width: 100%;
    height: clamp(9.875rem, 8.647rem + 5.04vw, 11.063rem);
  }
  .checkbox {
        width: 27px;
    height: 27px;
  }
  .contact__btn {
        align-items: center;
    margin-top: 44px;
  }
}

/* Z-INDEX */
.formError {
	margin-top: -40px !important;
}

.formError {
	z-index: 990;
}

.formError .formErrorContent {
	z-index: 991;
}

.formError .formErrorArrow {

	z-index: 996;
}

.ui-dialog .formError {
	z-index: 5000;
}

.ui-dialog .formError .formErrorContent {

	z-index: 5001;
}

.ui-dialog .formError .formErrorArrow {
	z-index: 5006;
}

.inputContainer {
	position: relative;
	float: left;
}

.formError {
	position: absolute;

	top: 300px;
	left: 300px;
	display: block;
	cursor: pointer;
	text-align: left;
}

.formError.inline {
	position: relative;
	top: 0;
	left: 0;
	display: inline-block;
}

.ajaxSubmit {
	padding: 20px;
	background: #55ea55;
	border: 1px solid #999;
	display: none;
}

.formError .formErrorContent {
	width: 100%;
	background: #ee0101;
	position:relative;
	color: #fff;
	min-width: 120px;
	font-size: 11px;
	border: 2px solid #ddd;
	box-shadow: 0 0 6px #000;
	-moz-box-shadow: 0 0 6px #000;
	-webkit-box-shadow: 0 0 6px #000;
	-o-box-shadow: 0 0 6px #000;
	padding: 4px 10px 4px 10px;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-o-border-radius: 6px;
}

.formError.inline .formErrorContent {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
	border: none;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-o-border-radius: 0;
}

.greenPopup .formErrorContent {
	background: #33be40;
}

.blackPopup .formErrorContent {
	background: #393939;
	color: #FFF;
}

.formError .formErrorArrow {
	width: 15px;
	margin: -2px 0 0 13px;
	position:relative;
}

body[dir='rtl'] .formError .formErrorArrow,
body.rtl .formError .formErrorArrow {
	margin: -2px 13px 0 0;
}

.formError .formErrorArrowBottom {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
	margin: 0px 0 0 12px;
	top:2px;
}

.formError .formErrorArrow div {
	border-left: 2px solid #ddd;
	border-right: 2px solid #ddd;
	box-shadow: 0 2px 3px #444;
	-moz-box-shadow: 0 2px 3px #444;
	-webkit-box-shadow: 0 2px 3px #444;
	-o-box-shadow: 0 2px 3px #444;
	font-size: 0px;
	height: 1px;
	background: #ee0101;
	margin: 0 auto;
	line-height: 0;
	font-size: 0;
	display: block;
}

.formError .formErrorArrowBottom div {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
}

.greenPopup .formErrorArrow div {
	background: #33be40;
}

.blackPopup .formErrorArrow div {
	background: #393939;
	color: #FFF;
}


.formError .formErrorArrow .line10 {
	width: 13px;
	border: none;
}

.formError .formErrorArrow .line9 {
	width: 11px;
	border: none;
}

.formError .formErrorArrow .line8 {
	width: 11px;
}

.formError .formErrorArrow .line7 {
	width: 9px;
}

.formError .formErrorArrow .line6 {
	width: 7px;
}

.formError .formErrorArrow .line5 {
	width: 5px;
}

.formError .formErrorArrow .line4 {
	width: 3px;
}

.formError .formErrorArrow .line3 {
	width: 1px;
	border-left: 2px solid #ddd;
	border-right: 2px solid #ddd;
	border-bottom: 0 solid #ddd;
}

.formError .formErrorArrow .line2 {
	width: 3px;
	border: none;
	background: #ddd;
}

.formError .formErrorArrow .line1 {
	width: 1px;
	border: none;
	background: #ddd;
}