.page--contact .region-content {
  padding-top: var(--header-height);
}

.page--contact #contact-link {
  display: none;
}

.page--contact .grecaptcha-badge {
  visibility: hidden;
}

.page--contact .recaptcha-text {
  font-size: 12px;
}

#contact-top {
  background-color: var(--color-functional-white);
  padding-top: 25px;
  height: 32px;
}

#main-content #contact-top span a {
  font-size: 14px;
  line-height: 32px;
  color: var(--color-functional-500);
}

#contact-top .center {
  display: flex;
  position: fixed;
  margin: auto;
  right: 0;
  left: 0;
  justify-content: space-between;
  align-items: center;
}

#contact-top .breadcrumb {
  flex: 1;
}

.contact-form-title h1 {
  color: var(--color-functional-black);
}

.page--contact .content-region > div {
  width: 100% !important;
  padding: 0 !important;
}

#contact-form {
  min-height: calc(var(--doc-height) - var(--header-height));
  background-color: var(--color-functional-white);
  display: flex;
  align-items: center;
}

#contact-form-wrapper {
  margin: auto;
  width: 1120px;
  color: var(--color-functional-black, #1d1d1d);
}

#contact-form.started #contact-form-wrapper {
  margin-top: 120px;
  padding-bottom: 20px;
}

#contact-form-wrapper .contact-form-title {
  text-align: center;
  max-width: 525px;
  margin: auto;
}

#contact-form-wrapper .contact-form-title h1 {
  font-family: var(--title-font);
  font-size: 48px;
  line-height: 52px;
  margin-bottom: 35px;
}

.started #start-button {
  display: none;
}

#contact-form-content {
  width: 600px;
  margin: auto;
}

#contact-form .answer-question-block {
  padding: 0 40px;
  margin-bottom: 45px;
  font-family: var(--text-font);
  font-size: var(--font-body-large, 1rem);
  clear: left;
}

#contact-form .answer-question-block .question,
#contact-form .answers-wrapper,
#contact-form-wrapper .options-wrapper {
  text-align: left;
}

#contact-form .answer-question-block .question > span {
  background-color: #ffffff;
  display: inline-block;
  border-radius: 0 var(--corner-extra-small, 20px)
    var(--corner-extra-small, 20px) var(--corner-extra-small, 20px);
  padding: 7px 20px 11px;
  position: relative;
}

#contact-form .answer-question-block .question {
  position: relative;
  margin-bottom: 10px;
}

#contact-form .answer-question-block .question > span::before {
  background-image: url(../../icons/givaudan_g_small.svg);
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  position: absolute;
  background-repeat: no-repeat;
  left: -1.75rem;
  background-color: #ffffff;
  border-radius: 50%;
  background-position: center;
  background-size: 1.125rem;
  top: 0;
}

#contact-form-wrapper .options-wrapper {
  position: relative;
}

#contact-form-wrapper .options-wrapper .show-inline:last-child {
  margin-bottom: 45px !important;
}

#contact-form .answer-question-block .answer {
  display: flex;
  justify-content: flex-end;
  padding: 0 20px;
  position: relative;
  margin-bottom: 45px;
}

#contact-form .answer-question-block .answer::after {
  content: "person";
  font-family: "Material Symbols Outlined";
  color: #fff;
  position: absolute;
  right: -10px;
  border-radius: 50%;
  background-color: var(--color-700, #1d1d1d);
  font-size: 1.5rem;
}

#contact-form .answer-question-block .answer > span {
  background-color: var(--color-700, #1d1d1d);
  border-radius: var(--corner-extra-small, 20px) 0px
    var(--corner-extra-small, 20px) var(--corner-extra-small, 20px);
  color: #ffffff;
  display: block;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  padding: 7px 20px 11px;
}

#contact-form .answer-question-block .question > span p {
  margin-bottom: 0;
  padding-bottom: 0px;
}

#contact-form-wrapper .options-wrapper .option:not(.image) {
  margin-top: 20px;
}

#contact-form-wrapper .options-wrapper .option.not-selected {
  opacity: 0.5;
}

#contact-form-wrapper .options-wrapper .option > span {
  cursor: pointer;
}
#contact-form-wrapper .options-wrapper .option > span > span.tooltip {
  position: relative;
  margin-left: 10px;
  border-radius: 50%;
  width: 18px;
  height: 19px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 20px;
  font-size: 12px;
  align-self: center;
}
#contact-form-wrapper
  .options-wrapper
  .option
  > span
  > span.tooltip
  > span.info {
  display: none;
  position: absolute;
  right: -240px;
  top: 20px;
  width: 200px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  z-index: 100;
  border-radius: 0 20px 20px 20px;
  padding: 9px 20px;
  font-size: 13px;
  line-height: 18px;
}
#contact-form-wrapper
  .options-wrapper
  .option
  > span
  > span.tooltip:hover
  > span.info {
  display: block;
}
#contact-form-wrapper .options-wrapper .option.text {
  margin-bottom: 5px;
}

#contact-form-wrapper .options-wrapper .option.text > span {
  padding: 0 15px;
  border-radius: var(--corner-extra-small, 20px);
  display: inline-flex;
  border: 1px solid var(--color-functional-300);
  min-height: 40px;
  position: relative;
  box-sizing: border-box;
  padding-left: 45px;
  padding-top: 6px;
  padding-bottom: 10px;
  background-color: #fff;
}

#contact-form-wrapper .options-wrapper .option.text.not-selected > span {
  border: 1px solid var(--color-functional-100);
  background-color: var(--color-functional-100);
}

#contact-form-wrapper .options-wrapper .option.text.show-inline {
  float: left;
  margin-right: 5px;
}

#contact-form-wrapper .options-wrapper .option.text.selected > span,
#contact-form-wrapper .more-option-submit span.selected {
  background-color: #ffffff;
}

#contact-form-wrapper .options-wrapper .option.text > span::before {
  content: "";
  border-radius: 50%;
  border: 2px solid var(--color-functional-black, #1d1d1d);
  position: absolute;
  height: 20px;
  width: 20px;
  top: 8px;
  left: 14px;
  box-sizing: border-box;
}

#contact-form-wrapper .options-wrapper .option.text.selected > span::before {
  background-image: url(../../icons/selected_turquoise.png);
  background-repeat: no-repeat;
  background-position: 3px 3px;
  border-color: var(--color-500);
  background-size: 10px 10px;
}

#contact-form-wrapper .options-wrapper .option.image {
  height: 77px;
  width: 128px;
  position: relative;
  display: inline-block;
  transition: opacity 0.6s ease-in-out;
  font-family: var(--title-font);
  font-size: 12px;
  line-height: 16px;
  margin-right: 8px;
  top: 80px;
  opacity: 0;
  animation-name: imageSlideUp;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}

#contact-form-wrapper .options-wrapper .option.image:nth-child(1) {
  animation-delay: 0.1s;
}

#contact-form-wrapper .options-wrapper .option.image:nth-child(2) {
  animation-delay: 0.2s;
}

#contact-form-wrapper .options-wrapper .option.image:nth-child(3) {
  animation-delay: 0.3s;
}

#contact-form-wrapper .options-wrapper .option.image:nth-child(4) {
  animation-delay: 0.4s;
}

#contact-form-wrapper .options-wrapper .option.image:nth-child(5) {
  animation-delay: 0.5s;
}

#contact-form-wrapper .options-wrapper .option.image:nth-child(6) {
  animation-delay: 0.6s;
}

#contact-form-wrapper .options-wrapper .option.image:nth-child(7) {
  animation-delay: 0.7s;
}

#contact-form-wrapper .options-wrapper .option.image:nth-child(8) {
  animation-delay: 0.8s;
}

#contact-form-wrapper .options-wrapper .option.image:nth-child(9) {
  animation-delay: 0.9s;
}

#contact-form-wrapper .options-wrapper .option.image:nth-child(10) {
  animation-delay: 1s;
}

#contact-form-wrapper .options-wrapper .option.selected {
  background-color: transparent;
}

@-webkit-keyframes imageSlideUp {
  from {
    transform: translate(0, 0);
    opacity: 0;
  }

  to {
    transform: translate(0, -80px);
    opacity: 1;
  }
}

@keyframes imageSlideUp {
  from {
    transform: translate(0, 0);
    opacity: 0;
  }

  to {
    transform: translate(0, -80px);
    opacity: 1;
  }
}

#contact-form-wrapper .response-image::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--color-functional-black, #1d1d1d);
  opacity: 0.28;
  box-sizing: border-box;
  border-radius: var(--corner-extra-small, 20px);
  left: 0;
  top: 0;
}

#contact-form-wrapper
  .options-wrapper
  .option.image.not-selected
  .response-image {
  opacity: 0.28 !important;
}

#contact-form-wrapper .options-wrapper .option.image:nth-child(2n) {
  margin-right: 200px;
}

#contact-form-wrapper .options-wrapper .option.image > span {
  color: #ffffff;
  z-index: 2;
  position: absolute;
  font-weight: bold;
  display: flex;
  height: 100%;
  width: 100%;
  align-items: flex-end;
  text-align: left;
  padding: 10px;
  box-sizing: border-box;
}

#contact-form-wrapper .options-wrapper .option.image .response-image {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  top: 0;
  z-index: 1;
  box-sizing: border-box;
  border-radius: var(--corner-extra-small, 20px);
}

#contact-form-wrapper .options-wrapper .option-input-submit,
#contact-form-wrapper .options-wrapper .option-regions-input-submit,
#contact-form-wrapper .options-wrapper .option-countries-input-submit {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
  background-color: var(--color-700, #1d1d1d);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#contact-form-wrapper .options-wrapper .option-input-submit:hover,
#contact-form-wrapper .options-wrapper .option-regions-input-submit:hover,
#contact-form-wrapper .options-wrapper .option-countries-input-submit:hover {
  background-color: var(--color-500, #414040);
}

#contact-form-wrapper .options-wrapper .option-input-submit.long {
  top: initial;
  bottom: 0.75rem;
  right: 1.25rem;
}

#contact-form-wrapper .options-wrapper .option-input-submit::after,
#contact-form-wrapper .options-wrapper .option-regions-input-submit::after,
#contact-form-wrapper .options-wrapper .option-countries-input-submit::after,
#contact-form-wrapper .options-wrapper .form-input-submit::after {
  font-family: "Material Symbols Outlined";
  content: "chevron_right";
  font-size: 1.875rem;
  padding-left: 2px;
}

.form-input input[type="checkbox"] {
  margin-top: 0;
}

.form-input input:not(.phone-field, [type="checkbox"]) {
  width: 100%;
}

.user-details-form
  input:not(
    [type="image"],
    [type="range"],
    [type="checkbox"],
    [type="radio"],
    [type="submit"]
  ),
.select2-container,
select {
  margin-bottom: 0.25rem;
}

.user-details-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.25rem;
}

#contact-form-wrapper .options-wrapper .form-input-submit {
  border: 0;
  position: absolute;
  bottom: -50px;
  right: 10px;
  width: 30px;
  height: 30px;
  background-color: var(--color-700, #1d1d1d);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#contact-form-wrapper .options-wrapper .form-input-submit:hover {
  background-color: var(--color-500, #414040);
}

#contact-form-wrapper .options-wrapper .option-restart a,
#contact-form-wrapper .more-option-submit {
  padding: 5px 15px;
  border-radius: var(--corner-extra-small, 20px);
  display: inline-flex;
  border: 1px solid #e8e8e8;
  color: var(--color-functional-black, #1d1d1d);
  cursor: pointer;
}

/* Animations */
#contact-form-wrapper .answer-question-block,
#contact-form-wrapper .answer-question-block.animate .answer,
#contact-form-wrapper .answer-question-block.animate .question,
#contact-form-wrapper .answer-question-block.animate .option:not(.image),
#contact-form-wrapper
  .answer-question-block.animate
  .options-wrapper
  .option-input,
#contact-form-wrapper
  .answer-question-block.animate
  .options-wrapper
  .form-input {
  animation-name: to-top;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  position: relative;
  animation-delay: 0.2s;
  margin-top: 20px;
}

@-webkit-keyframes to-top {
  from {
    margin-top: 20px;
  }
  to {
    margin-top: 0;
  }
}

@keyframes to-top {
  from {
    margin-top: 20px;
  }
  to {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  #contact-form-content {
    width: 320px;
    margin: auto;
  }
}

@media all and (max-width: 1119px) {
  #contact-top .breadcrumb span {
    display: none;
  }

  #contact-top .breadcrumb {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
  }

  #contact-top .breadcrumb span.breadcrumb-contact {
    display: block;
    font-family: "Fedra Serif B Pro Book";
    font-size: 18px;
    line-height: 24px;
    color: var(--color-functional-black, #1d1d1d);
  }

  .page--contact div.content-wrapper {
    margin-top: 60px !important;
    padding-top: 0;
  }

  .page--contact.g-logged-in div.content-wrapper {
    margin-top: 44px !important;
    padding-top: 0;
  }

  #contact-top {
    background-color: #ffffff;
    height: 70px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 90px;
    width: 100%;
    padding-top: 0;
    z-index: 2;
  }

  #contact-top .center {
    position: static;
  }

  #contact-form-wrapper .contact-form-title h1 {
    font-size: 38px;
    line-height: 43px;
    max-width: 50%;
    margin: auto auto 26px auto;
  }

  .page--contact .footer {
    display: none;
  }

  #contact-form .answer-question-block {
    padding: 0 15px 0 30px;
    font-size: 12px;
  }

  #contact-form-wrapper .options-wrapper .option.image:nth-child(2n) {
    margin-right: 0;
  }

  #contact-form-wrapper .options-wrapper .option.text > span {
    font-size: 12px;
  }

  .contact-form-webfrom-opened .form-wrapper-popup {
    min-width: 320px;
    padding: 30px 10px;
    height: calc(80% - 90px);
  }

  .contact-form-webfrom-opened .form-wrapper-popup.confirmation {
    max-width: 320px;
    padding: 20px;
    top: 35%;
  }

  .page--contact.logged-in.g-logged-in.sticky-tablet .header {
    top: 0;
  }

  #contact-form-wrapper .options-wrapper .option > span > span.tooltip {
    display: none;
  }
  #contact-form-wrapper
    .options-wrapper
    .option
    > span
    > span.tooltip
    > span.info {
    right: 10px;
    width: 209px;
    border-radius: 20px 0px 20px 20px;
  }
}

.page--contact .loader {
  border: 8px solid #ffffff;
  border-radius: 50%;
  border-top: 8px solid #707070;
  width: 30px;
  height: 30px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 1s linear infinite;
  display: none;
}

.page--contact .loader.loading {
  display: block;
  margin: auto;
  margin-top: 20px;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/*** WEBFORMS **/

#countries-code {
  background: white;
  height: 40px;
  border-radius: 5px;
  border: 1px solid #2d2d2d;
}

#countries-code .options {
  height: 0;
  overflow: hidden;
  cursor: pointer;
}

#countries-code .selected-option {
  width: 100%;
  display: flex;
  padding-bottom: 10px;
}

#countries-code .selected-option .code {
  height: 40px;
  background-color: #f4f5f7;
  width: 120px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

#countries-code .selected-option .code::after {
  content: "";
  position: absolute;
  left: 105px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 11px solid #2d2d2d;
}

#countries-code .options.expanded {
  height: 200px;
  overflow-y: scroll;
  background-color: #f4f5f7;
  position: relative;
  z-index: 1;
}

#countries-code .flag {
  width: 25px;
  height: 15px;
  display: inline-block;
  background-position: center;
  background-size: cover;
  margin-right: 5px;
  margin-left: 8px;
}

#contact-form-wrapper .options-wrapper .form-input input.phone-field {
  width: 200px;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  padding-right: 25px;
  padding-left: 10px;
  vertical-align: middle;
  appearance: textfield;
  margin-bottom: 0.25rem;
}

#contact-form-wrapper
  .options-wrapper
  .form-input
  input.phone-field::-webkit-outer-spin-button,
#contact-form-wrapper
  .options-wrapper
  .form-input
  input.phone-field::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.page--contact .cc-picker-code-list {
  color: var(--color-functional-500);
  font-family: var(--text-font);
  font-size: var(--font-body-large, 1rem);
  line-height: 30px;
}

#contact-form-wrapper .cc-picker-code {
  font-family: var(--text-font);
  font-size: var(--font-body-large, 1rem);
  line-height: 17px;
}

#contact-form-wrapper .cc-picker-code-select-enabled {
  height: 40px;
  display: inline-flex;
  align-items: center;
  padding-left: 25px;
  background-color: #ffffff;
  border-radius: var(--corner-extra-small);
  border: 1px solid var(--color-functional-100);
  margin-bottom: 0.25rem;
}

#contact-form-wrapper .cc-picker-code-select-enabled::after {
  top: 17px;
  right: 7px;
}

#contact-form-wrapper .cc-picker-flag {
  top: 0;
}

.page--contact .cc-picker-code-filter {
  font-family: var(--text-font);
  font-size: var(--font-body-large, 1rem);
  line-height: 17px;
  height: 36px;
  padding-left: 5px;
  margin-top: -10px;
}

.user-logged-in #contact-form {
  min-height: calc(100vh - 200px);
}

.user-logged-in #contact-form-wrapper {
  padding-bottom: 57px;
  box-sizing: border-box;
}

/*************** User details validation ******************/
.user-details-form .cc-picker {
  box-sizing: border-box;
}

.user-details-form .cc-picker.error,
.user-details-form .policy-group.error {
  border: 1px solid var(--color-error-500);
}

.user-details-form .cc-picker.error {
  border-right: 0 !important;
}

.user-details-form #phoneField.error {
  border-left: 0 !important;
}

.form-group.policy-group {
  display: flex;
  margin-top: 1rem;
  padding-top: 3px;
  margin-bottom: 1.5rem;
  align-items: center;
  gap: 0.5rem;
}

/*javali contact form*/

#contact-form .answer-question-block .answer > span,
#contact-form .answer-question-block,
#contact-form-wrapper .options-wrapper .option.text > span,
#contact-form .answer-question-block .question > span p {
  font-family: var(--text-font);
}

#contact-form-wrapper .options-wrapper .form-input .policy-group .required {
  color: var(--color-error-500);
}
@media all and (min-width: 1921px) {
  #contact-form-wrapper {
    width: var(--grid-wide);
  }

  #contact-form-wrapper .contact-form-title {
    max-width: none;
  }

  #contact-form-wrapper .contact-form-title,
  #contact-form-content {
    width: 800px;
  }

  #contact-form-wrapper .contact-form-title h1 {
    font-size: 60px;
    line-height: 72px;
    margin-bottom: 50px;
  }

  #contact-form .answer-question-block {
    font-size: 20px;
    line-height: 24px;
    min-height: 40px;
  }

  #contact-form-wrapper .options-wrapper .option.text > span {
    padding: 12px 25px 12px 45px;
  }

  #contact-form-wrapper .options-wrapper .option.text > span::before {
    top: 15px;
  }
}

@media all and (min-width: 3441px) {
  #contact-form-wrapper {
    width: var(--grid-4k);
  }

  #contact-form-wrapper .contact-form-title,
  #contact-form-content {
    width: 1200px;
  }

  #contact-form-wrapper .contact-form-title h1 {
    font-size: 90px;
    line-height: 107px;
    margin-bottom: 75px;
  }

  #contact-form-wrapper .options-wrapper .option-input-submit,
  #contact-form-wrapper .options-wrapper .option-regions-input-submit,
  #contact-form-wrapper .options-wrapper .option-countries-input-submit {
    right: 12px;
    width: 45px;
    height: 45px;
  }

  #contact-form-wrapper
    .options-wrapper
    .option
    > span
    > span.tooltip
    > span.info {
    right: -340px;
    width: 300px;
    font-size: 20px;
    line-height: 24px;
  }

  #contact-form .answer-question-block .question > span::before {
    width: 35px;
    height: 35px;
    background-position: 0px -8px;
    background-size: 35px;
  }

  #contact-form .answer-question-block {
    font-size: 30px;
    line-height: 36px;
    min-height: 55px;
  }

  #contact-form-wrapper .options-wrapper .option.text > span {
    padding: 18px 37px 18px 45px;
  }

  #contact-form-wrapper .options-wrapper .option.text > span::before {
    top: 28px;
  }
}
