:root {
  --zwc-padding-main: clamp(50px, 8.5vw, 80px);
  --zwc-h1-text: clamp(26px, 6vw, 70px);
}

.zwc-iframe-page :is(header, footer, .zwc-banner-sec, aside) {
  display: none !important;
}

.zwc-iframe-page .zwc-form-section {
  padding: 0;
}

.zwc-iframe-page .zwc-form-section .content-wrap {
  border: 0;
}

.zwc-iframe-page .zwc-form-section h2 {
  display: block;
}

.zwc-banner-sec.zwc-error {
  height: 50svh;
  display: flex;
  align-items: center;
}

.zwc-banner-sec.zwc-error .content-wrap {
  width: min(700px, 100%);
}

.zwc-prd-not .zwc-form-section {
  display: none;
}

.zwc-banner-sec {
  background-color: #01599d;
  text-align: center;
  color: #fff;
  padding: 50px 0;
}

h1 {
  margin: 0 auto;
  font-size: var(--zwc-h1-text);
  width: 100%;
}

h1 span {
  display: block;
}

.zwc-form-section h2 {
  padding-bottom: 20px;
  display: none;
  text-align: center;
}

.zwc-header-sec {
  display: none;
}

body.zwc-hidden {
  overflow: hidden;
}

.zwc-wrapper h2 {
  font-size: clamp(19px, 2vw, 28px);
}

.zwc-mb {
  margin-bottom: 4px;
}

.cwl-ln-block {
  display: inline-block;
}

.zwc-form-section .content-wrap {
  background-color: #fff;
  border: 1px solid #e6e9f4;
  padding: clamp(20px, 3vw, 50px);
  border-radius: 8px;
  width: 90%;
  max-width: 700px;
}

.cwl-field-row {
  display: flex;
}

.cwl-field-row .cwl-field-col {
  display: block;
  flex-basis: 0;
  flex-grow: 1;
  flex-shrink: 1;
}

.zwc-form-section {
  padding: var(--zwc-padding-main) 0;
}

.cwl-field-wrap:has(.cwl-hidden),
.cwl-field-row.cwl-hidden {
  display: none;
}

.zgdprform-opt-container {
  font-size: 15px;
  display: flex;
  align-items: start;
margin-bottom:15px;
}

.cwf-error-msg {
  color: red;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: -0.3px;
  width: 100%;
  display: block;
  text-align: left;
  margin-top: 6px;
}

/* .zwc-success-message.active {
  opacity: 1;
  visibility: visible;
} */

.zwc-success-message {
  position: fixed;
  inset: 0;
  z-index: 111;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 16, 46, 0.65);
  /* opacity: 0;
  visibility: hidden; */
}

.zwc-success-message .zwc-popup-wrap {
  width: 100%;
  max-width: 590px;
  margin: 0 auto;
  text-align: center;
  background-color: #fff;
  padding: 50px;
  border-radius: 8px;
}

.zwc-success-message .thankyou-logo {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 50px;
  background: url(/sites/zweb/images/marketplace/partners/zwc-thankyou-icon.png)
    center / 100% no-repeat;
}

.zwc-success-message .zwc-sec-title {
  max-width: 560px;
  margin: 0 auto;
}

.zwc-success-message .zwc-sec-title h2 {
  margin-bottom: clamp(20px, 1.7vw, 25px);
  font-size: 30px;
}

.zwc-success-message .zwc-sec-title a {
  padding: 14px 30px 14px 30px;
  background-color: #e73f30;
  color: #fff;
  border-radius: 2px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: -moz-max-content;
  max-width: max-content;
  margin: 0 auto;
  position: relative;
}

.zwc-pos {
  position: relative;
}

#cwl_phone_1 {
  padding-left: 90px;
}

.cwl_conterynum {
  position: absolute;
  padding: 11px 15px;
  border-right: 1px solid #dae0ed;
  font-size: 16px;
  color: #333;
}

.zwc-success-message .zwc-sec-title a span {
  font-size: 17px;
  font-family: var(--primaryfont-semibold);
}

.cwl-mandatory {
  color: red;
  margin-left: 0;
}

.cwl-privacy-wrap {
  font-size: 15px;
  display: inline-block;
}

.cwl-gsi-form {
  background-color: #f7f9ff;
  padding-bottom: 110px;
}

.cwl-gsi-form .cwl-form-inner {
  background-color: #fff;
  border: 1px solid #e6e9f4;
  padding: 50px;
  border-radius: 8px;
  width: 100%;
  max-width: 930px;
  margin: -220px auto 0;
}

.cwl-gsi-form .cwl-form-group {
  max-width: 600px;
  margin: 0 auto;
}

.cwl-gsi-form .cwl-form-group .cwl-sec-title {
  position: relative;
  padding: 0 0 20px;
}

.cwl-gsi-form .cwl-form-group .cwl-sec-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 1px;
  background-color: #f60014;
}

.cwl-gsi-form .cwl-form-group .cwl-sec-title h2 {
  font-size: 24px;
  font-family: var(--primaryfont-regular);
  margin-bottom: 0;
  letter-spacing: -0.4px;
}

.cwl-form-wrap {
  margin: 30px 0;
}

.cwl-field-row:not(:last-child) {
  margin-bottom: 25px;
}

.cwl-field-row .cwl-form-label {
  width: 100%;
  display: block;
  padding-bottom: 7px;
  font-size: 18px;
  font-family: var(--primaryfont-regular);
  letter-spacing: -0.2px;
}

.cwl-field-row .cwl-form-input,
.cwl-field-row .cwl-form-select {
  border: 1px solid #dae0ed;
  border-radius: 3px;
  outline: 0;
  padding: 14px 16px;
  width: 100%;
  max-width: 100%;
  font-size: 15px;
  color: #333;
  transition: all 0.2s;
}

.cwl-field-row .cwl-form-input::-moz-placeholder,
.cwl-field-row .cwl-form-select::-moz-placeholder {
  color: rgba(51, 51, 51, 0.4);
}

.cwl-field-row .cwl-form-input::placeholder,
.cwl-field-row .cwl-form-select::placeholder {
  color: rgba(51, 51, 51, 0.4);
}

.cwl-field-row .cwl-select-wrap {
  position: relative;
  max-width: 100%;
}

select.cwl_conterynum {
  width: max-content;
  max-width: max-content;
}

.cwl-field-row .cwl-form-select.cwl_conterynum {
  width: fit-content;
  padding: 11px 24px 11px 16px;
  border-radius: 0;
  border-width: 0 1px 0 0;
  background: transparent;
  appearance: none;
}

.cwl-field-row .cwl-form-select.cwl_conterynum:hover,
.cwl-field-row .cwl-form-select.cwl_conterynum:focus {
  border-color: #dae0ed;
}

.cwl-field-row .cwl-select-wrap .cwl-form-select.cwl_conterynum {
  background: transparent;
}

.cwl-field-row .zwc-pos .cwl-select-wrap::before {
  right: 0;
  left: 62px;
  top: 51px;
}

.cwl-field-row .cwl-select-wrap::before,
.cwl-field-row .cwl-form-select.cwl_conterynum::before {
  content: "";
  position: absolute;
  top: 56px;
  right: 20px;
  width: 8px;
  height: 8px;
  background-image: none;
  border-right: 1.5px solid #000;
  border-top: 1.5px solid #000;
  transform: rotate(135deg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 12px;
  pointer-events: none;
}

.cwl-field-row .cwl-select-wrap .cwl-form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.cwl-field-row .cwl-form-select,
.cwl-field-row .cwl-form-checkbox,
.cwl-field-row .cwl-form-radio {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #333;
  align-items: flex-start;
}

.cwl-field-row .cwl-radio-group,
.cwl-field-row .cwl-checkbox-group {
  display: flex;
  gap: 10px;
}

.cwl-field-row .cwl-radio-group input[type="radio"],
.cwl-field-row .cwl-radio-group input[type="checkbox"],
.cwl-field-row .cwl-checkbox-group input[type="radio"],
.cwl-field-row .cwl-checkbox-group input[type="checkbox"] {
  margin: 0;
}

.cwl-privacy-wrap [type="checkbox"],
.zgdprform-opt-container [type="checkbox"] {
  margin-left: 1px;
  margin-right: 7px;
}

.cwl-field-row .cwl-form-checkbox input,
.cwl-field-row .cwl-form-radio input {
  position: relative;
  top: 4px;
}

.cwl-field-row .cwl-radio-group .cwf-error-msg,
.cwl-field-row .cwl-checkbox-group .cwf-error-msg {
  margin-top: -6px;
}

.cwl-field-row .cwl-submit-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: max-content;
  margin: 30px auto;
  position: relative;
}

.cwl-field-row .cwl-submit[disabled] {
  background-color: #e05b4f;
  cursor: not-allowed;
}

.cwl-email-field-wrap {
  position: relative;
}

.cwl-email-field-wrap .cwl-email-status {
  position: absolute;
  right: 10px;
  top: 49px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.cwl-email-field-wrap .cwl-email-status.cwl-done {
  background: #0fa237;
}

.cwl-email-field-wrap .cwl-email-status.cwl-done::before {
  position: absolute;
  left: 9px;
  bottom: 5px;
  height: 2px;
  width: 50%;
  background-color: #fff;
  content: "";
  transform: rotate(-45deg);
  transform-origin: left bottom;
  border-radius: 2px;
}

.cwl-email-field-wrap .cwl-email-status.cwl-done::after {
  position: absolute;
  top: 9px;
  left: 8px;
  height: 25%;
  width: 2px;
  background-color: #fff;
  content: "";
  transform: rotate(-45deg);
  transform-origin: left bottom;
  border-radius: 2px;
}

.cwl-email-field-wrap .cwl-email-status.cwl-loading {
  border: 2px solid rgba(3, 169, 245, 0.25098039);
  border-left-color: #03a9f5;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

.cwl-field-row .cwl-captcha-control {
  max-width: 100%;
  position: relative;
}

.cwl-field-row .cwl-captcha-control .cwl-form-input.cwl-captcha {
  padding: 23px 20px;
  font-size: 21px;
}

.cwl-field-row .cwl-captcha-control .cwl-capcha-group {
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  right: 16px;
  top: 4px;
  width: 225px;
  height: max-content;
  align-items: center;
  justify-content: space-between;
}

.cwl-field-row .cwl-captcha-control .cwl-capcha-group .cwl-captcha-img {
  height: 63px;
  margin-right: 5px;
}

.cwl-field-row .cwl-captcha-control .cwl-capcha-group .cwl-reload {
  width: 25px;
  height: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: url(/sites/zweb/images/commonroot/cwf-reload.svg) center / contain
    no-repeat;
  position: relative;
  right: 0;
}

.cwl-field-row .cwl-submit {
  outline: 0;
  border: 0;
  padding: 14px 30px 14px 30px;
  background-color: #e73f30;
  color: #fff;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-family: var(--primaryfont-semibold);
}

.cwl-submit-loader {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 11;
  background-color: rgba(222, 85, 71, 0.81960784);
}

.cwl-submit-wrap.loading .cwl-submit-loader {
  opacity: 1;
  visibility: visible;
}

.cwl-submit-wrap.loading .cwl-submit-loader::after {
  content: "";
  display: block;
  width: 1.2em;
  height: 1.2em;
  position: absolute;
  left: 50%;
  top: 50%;
  border: 0.15em solid transparent;
  border-right-color: white;
  border-radius: 50%;
  animation: btnRotate 0.7s linear infinite;
}

@keyframes btnRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.cwl-submit {
  background-color: rgba(222, 85, 71, 0.81960784);
}

.cwl-field-row .cwl-form-input:hover,
.cwl-field-row .cwl-form-select:hover {
  border-color: #7182a5;
}

.cwl-field-row .cwl-form-input:focus,
.cwl-field-row .cwl-form-select:focus {
  border-color: #086cb8;
}

.cwl-field-row a {
  color: #056cb8;
  font-family: var(--zf-secondary-medium);
}

.cwl-field-row .cwl-checkbox-wrap.cwl-others-open,
.cwl-field-row .cwl-radio-wrap.cwl-others-open {
  margin-bottom: 0;
}

.cwl-privacy-wrap a {
  display: inline-block;
  margin: 0 2px;
}

.cwl-note {
  font-size: 12px;
  color: #333;
  position: relative;
  padding-left: 22px;
  margin-top: 8px;
  display: block;
}

.cwl-note.cwl-dc-note {
  color: #0fa237;
  display: none;
}

.cwl-note.cwl-dc-note.zwc-active {
  display: block;
}

.cwl-checkbox-group {
  flex-direction: column;
  border: 1px solid #c8cedb;
  padding: 10px;
  height: 93px;
  max-width: 100%;
  flex-wrap: nowrap;
  overflow: auto;
  border-radius: 3px;
}

#cwl_succeed {
  height: clamp(100px, 8vw, 300px);
  resize: none;
}

@media (max-width: 991px) {
  .cwl-field-row {
    flex-direction: column;
    justify-content: center;
    gap: 25px;
  }

  .cwl-data-fields-group,
  .zwc-form-section h2 {
    width: min(600px, 100%);
    margin: 0 auto;
  }

  .cwl-checkbox-group,
  .cwl-field-row .cwl-form-input,
  .cwl-field-row .cwl-form-select,
  .cwl-field-row .cwl-select-wrap,
  .cwl-field-row .cwl-captcha-control {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .zwc-success-message .zwc-popup-wrap {
    max-width: 90%;
    padding: 30px;
  }

  .zwc-header-sec {
    display: flex;
  }
}

@media (max-width: 500px) {
  .cwl-gsi-form .cwl-form-inner {
    padding: 30px 25px;
  }

  .zwc-success-message .zwc-sec-title a {
    padding: 14px 20px 14px 20px;
  }

  .zwc-success-message .zwc-sec-title a::before {
    content: unset;
  }
}

@media (max-width: 480px) {
  .cwl-field-row .cwl-form-select,
  .cwl-field-row .cwl-form-checkbox,
  .cwl-field-row .cwl-form-radio {
    font-size: 15px;
  }

  .cwl-field-row .cwl-form-label {
    font-size: 17px;
  }

  .cwl-field-row .cwl-captcha-control {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .cwl-field-row .cwl-captcha-control .cwl-capcha-group {
    position: unset;
    width: 100%;
    border: 1px solid #dae0ed;
    border-radius: 3px;
    padding: 10px 25px;
    margin-inline: auto;
    flex-wrap: nowrap;
  }
}
