/* ===== GLOBAL BOX-SIZING FIX ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

#register_interest_button_one {
  font-family: "Cormorant Garamond", Sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #3f674c;
  background: none;
  cursor: pointer;
}

a {
  text-decoration: none !important;
}
.icon-image {
  display: none;
}
.riga1 {
  display: block;
}
.call-to-action-menu {
  position: fixed;
  bottom: 62px;
  left: 18px;
  padding: 0;
  z-index: 3;
  display: flex;
  background-color: #fff;
  border-radius: 25px;
  box-shadow: 0 0 0px rgb(0 0 0 / 0%);
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 142px;
  opacity: 1;
  margin: 0px 15px 0px 0px;
  padding-top: 0px;
}
.call-to-action-menu ul {
  list-style: none !important;
  padding: 0px !important;
  margin: auto !important;
}
.call-to-action-menu ul li {
  text-align: center;
  margin-right: 0px !important;
  text-transform: uppercase;
  font-family: "Cormorant Garamond";
  padding: 5px 0px;
}
.call-to-action-menu ul li img {
  max-width: 35px;
}
.call-to-action-menu ul li span {
  color: #191d23;
  font-size: 7px;
  line-height: 1.2;
  text-align: center;
  display: block;
}
.help-contact {
  width: 45px;
  height: 45px;
  background-color: transparent;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 5;
  cursor: pointer;
  border-radius: 100%;
  box-shadow: 0 0 0 rgb(0 0 0 / 0%);
}
.help-contact img {
  position: absolute !important;
  top: 21% !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
  display: block !important;
  color: #041427 !important;
  text-align: center !important;
  width: 35px !important;
  animation: mypulse !important;
  animation-duration: 2s !important;
  animation-delay: 2s !important;
  animation-iteration-count: infinite !important;
}
@keyframes mypulse {
  0% {
    transform: scale3d(1, 1, 1);
  }
  50% {
    transform: scale3d(1.2, 1.2, 1.2);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}

.icon-imag {
  display: none;
}

div.newsletter-box input[type="email"] {
  width: 86% !important;
  min-height: 42px;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 5px 0 0 5px;
  padding: 0px 0px 0px 15px !important;
}
div.newsletter-box .wpcf7-spinner {
  margin: 0px;
  position: absolute;
  top: 10px;
  right: 20px;
}

div.newsletter-box input[type="submit"] {
  background: none;
  background-color: #3f674c !important;
  background-image: url("/wp-content/themes/hello-theme-child-master/images/white-send.svg");
  background-position: center center;
  background-size: 20px auto;
  background-repeat: no-repeat;
  border: 0;
  font-size: 0;
  height: 42px;
  outline: 0;
  position: absolute;
  right: 3px;
  top: 0px;
  width: 50px;
  border-radius: 0px 5px 5px 0px !important;
}
a {
  text-decoration: none !important;
}
a:hover {
  text-decoration: none !important;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.modal-backdrop {
  z-index: 1050;
  background: rgba(0, 0, 0, 0.4);
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.popup-main {
  z-index: 1055;
  background: none;
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  overflow-y: auto;   /* FIX: popup itself scrolls, not the page */
  -webkit-overflow-scrolling: touch;
}
.popup-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  width: 100%;
  overflow: auto;
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
}

/* FIX: Lock body scroll when popup is open */
body.popup-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
}
.popup-container {
  text-align: center;
  height: auto;
  position: relative;
  display: table;
  max-width: 100%;
  margin: 0px auto;
  /* FIX: ensure close button is never clipped */
  overflow: visible;
}
.popup-close {
  /*     position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    right: 20px;
    top: 20px;
    display: block;
    z-index: 100;
    cursor: pointer; */
}

.popup-close:after,
.popup-close::before {
  /*     content: "";
    width: 25px;
    height: 2px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #191919; */
}
.popup-close::before {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.popup-close::after {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}
.popup_form {
  /*     background-color: #fff;
    padding: 50px; */
	text-align:left;
}
.form-cont {
  padding-left: 20px;
  padding-right: 20px;
}
.form-cont-row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -20px;
  margin-right: -20px;
  margin-bottom: 10px;
  align-items: center;
}
.field-cont {
  padding-left: 20px;
  padding-right: 20px;
  flex: 0 0 auto;
  position: relative;
}
.col-6 {
  width: 50%;
}
.col-12 {
  width: 100%;
}
.col-100 {
  width: 100%;
}
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="text"],
select,
textarea {
  font-family: "Cormorant Garamond", Sans-serif;
  font-weight: 400;
  line-height: 18px;
  font-size: 16px;
  -webkit-appearance: none;
  border-color: #000;
  border-style: solid;
  border-width: 1px;
  border-color: #eaecf1;
  background-color: #f6f7fa;
  color: #0d1427;
  padding: 15px 24px 17px;
  border-radius: 6px;
  /* FIX: ensure inputs don't overflow their containers */
  width: 100%;
  max-width: 100%;
}
input[type="submit"] {
  padding: 17px 28px 16px !important;
  font-family: "Cormorant Garamond" !important;
  text-transform: uppercase !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  letter-spacing: 1px !important;
  color: #ffffff !important;
  background-color: #3f674c !important;
  border-style: none !important;
  border-radius: 0 0 0 0 !important;
  border-color: none !important;
}
input[type="submit"]:focus {
  outline: 0 !important;
}
input[type="submit"]:hover {
  color: #ffffff !important;
  background-color: #7e7e7e !important;
}
input[type="checkbox"] {
  font-size: 16px;
  width: auto; /* FIX: checkboxes should not stretch to 100% */
  max-width: none;
}
.field-cont-checkbox {
  padding-left: 8px !important;
}
.wpcf7-not-valid-tip {
  color: red;
  font-family: "Cormorant Garamond", Sans-serif;
  font-weight: 600;
  text-align: left;
  margin-top: 4px;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: red;
  background: red;
  color: #fff;
  font-weight: 500;
  padding: 10px;
}
.wpcf7-not-valid {
  border-color: red !important;
}

.call-to-action-menu div.call-action-text {
  color: #191d23;
  font-size: 7px;
  line-height: 1.2;
  text-align: center;
  display: block;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #859ba8;
    background-color: #859ba8;
    padding: 10px;
    color: #fff !important;
    font-weight: 500;
}


#modal_register_interest .wpcf7-spinner {
  position: absolute;
  top: 11px;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
.wpcf7-spinner {
  position: absolute !important;
}
.iti {
  width: 100% !important;
}

.ib-close-button {
  visibility: visible !important;
}

/* retirement */
.parent-pageid-24280 .elementor-element-54378889,
.parent-pageid-32265 .elementor-element-54378889,
.parent-pageid-33824 .elementor-element-54378889 {
  background-color: #31331e !important;
}
.parent-pageid-24280 .elementor-element-700234f6,
.parent-pageid-32265 .elementor-element-700234f6,
.parent-pageid-33824 .elementor-element-700234f6 {
  background-color: #181a0e !important;
}

/*  */

.js-chat,
.popup-close {
  cursor: pointer;
}
.newsletter-box .wpcf7-acceptance,
.newsletter-box .wpcf7-acceptance a {
  color: #fff;
}
.spr-chat__trigger-box.spr-live-chat-frame,
div#spr-chat__trigger-button {
  display: none;
}
.wpcf7-form span.wpcf7-list-item-label span,
.wpcf7-form span.wpcf7-list-item-label span a {
  font-size: 14px !important;
}
.wpcf7-form *,
.wpcf7-form input[type="submit"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="text"],
select,
textarea {
  font-family: "Cormorant Garamond", Georgia, Sans-serif !important;
}
.page-id-24280 .elementor-element-54378889,
.page-id-32265 .elementor-element-54378889,
.page-id-32265-ru .elementor-element-54378889,
.page-id-32503 .elementor-element-54378889,
.page-id-46424 .elementor-element-54378889,
.page-id-46435 .elementor-element-54378889,
.page-id-46446 .elementor-element-54378889 {
  background-color: #31331e !important;
}
.page-id-24280 .elementor-element-700234f6,
.page-id-32265 .elementor-element-700234f6,
.page-id-32265-ru .elementor-element-700234f6,
.page-id-32503 .elementor-element-700234f6,
.page-id-46424 .elementor-element-700234f6,
.page-id-46435 .elementor-element-700234f6,
.page-id-46446 .elementor-element-700234f6 {
  background-color: #181a0e !important;
}
.call-to-action-menu {
  border: 1px solid #1c2945;
}
#register-interest-submit:hover {
  background: 0 0 !important;
  border: 1px solid #2d2d2d !important;
  color: #2d2d2d !important;
}
.popup_form {
  background-color: #f3f3f4 !important;
/*   padding: 3em 2em; */
}
.popup-container {
/*   width: 50%; */
}
.popup-close {
  position: absolute;
  width: 40px;
  height: 40px;
  right: 0;
  top: -1px;
  display: block;
  z-index: 100;
  background: #315b6d;
  color: #fff;
}
.popup-close::before,
.popup-close:after {
  content: "";
  width: 16px;
  height: 1px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #878f9b;
}
html[lang="en-US"] .newsletter-box input[type="submit"],
html[lang="ka-GE"] .newsletter-box input[type="submit"],
html[lang="ru-RU"] .newsletter-box input[type="submit"] {
  right: 12px !important;
}
html[lang="ar"] .newsletter-box input[type="submit"] {
  right: auto !important;
  left: 12px;
  border-radius: 5px 0 0 5px !important;
}
html[lang="ar"] div.newsletter-box input[type="email"] {
  border-radius: 0;
  direction: rtl;
}
html[lang="ar"] .call-to-action-menu,
html[lang="ar"] .help-contact {
  left: 15px;
  right: auto;
}
html[lang="ar"] .spr-chat__box {
  left: 13px;
  right: auto;
  bottom: 10px;
}
html[lang="ar"] .wpcf7 input[type="email"],
html[lang="ar"] .wpcf7 input[type="tel"],
html[lang="ar"] .wpcf7 input[type="text"],
html[lang="ar"] .wpcf7 input[type="url"],
html[lang="ar"] .wpcf7 textarea {
  direction: rtl;
  font-family: "Amiri", Sans-serif !important;
}
html[lang="ar"] #popup_modal_register_interest h2,
html[lang="ar"] .wpcf7-acceptance,
html[lang="ar"] .wpcf7-acceptance a {
  font-family: "Amiri", Sans-serif !important;
}
.register_button a {
  cursor: pointer;
}
.ri_heading {
  font-family: "Cormorant Garamond", Sans-serif !important;
  font-size: 32px;
  font-weight: 500;
  text-transform: uppercase;
  color: #3f674c;
}
@media (max-width: 1024px) {
  .col-md-60 {
    width: 60%;
  }
  .col-md-40 {
    width: 40%;
  }
}
@media (max-width: 768px) {
  .popup-main {
    top: 5%;
  }
	.rmri__lede{ display: none;}
  .popup_form {
    padding: 0;
  }
  .col-70 {
    width: 70%;
  }
  .col-30 {
    width: 30%;
  }
  .col-100 {
    width: 100%;
  }

  /* FIX: popup container takes full width on tablets */
  .popup-container {
    width: 90% !important;
  }
}
@media (max-width: 576px) {
  .email-subscribtion-form .col-70 {
    width: 100%;
  }
  .col-60,
  .col-70,
  .col-30 {
    width: 100%;
  }
  .popup_form {
    padding: 1em;
  }
  .col-6 {
    width: 100%;
  }
  .popup-wrapper {
    padding: 10px 10px;
  }
  .popup-wrapper h2 {
    padding-top: 0px;
    font-size: 20px;
  }
  .field-cont-checkbox p {
    text-align: left;
  }
  .field-cont {
    flex: unset;
  }
  .popup-wrapper {
    padding: 0px 0px 0px 0px;
  }
  .wpcf7-form input[type="submit"] {
    width: 100%;
  }

  /* ===== MOBILE OVERFLOW + ABOVE-FOLD FIXES ===== */

  /* Full-width popup container, close button never clipped */
  .popup-container {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: visible !important;
    display: block !important;
  }

  /* Wrapper: anchored to top, scrolls internally */
  .popup-wrapper {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    max-width: 100vw !important;
    padding: 75px 0 20px !important;
    align-items: flex-start !important;
    top: 0 !important;
    transform: none !important;
    left: 0 !important;
    position: fixed !important;
    height: 100% !important;
    width: 100% !important;
  }

  /* Form: compact vertical spacing */
  .popup_form {
    padding: 0px 0px 0px !important;
    overflow-x: hidden !important;
  }

  .form-cont {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
  }

  /* Fix negative margins causing overflow */
  .form-cont-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 6px !important;
  }

  /* All field containers full width, no extra padding */
  .field-cont {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }

  /* Compact input height on mobile */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 10px 16px !important;
    font-size: 15px !important;
  }
  input[type="tel"]{
    padding-left: 95px !important;
  }

  /* Phone flag+input row fix */
  .iti,
  .iti--separate-dial-code {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Close button: pulled out of table layout, fixed to viewport top-right */
  .popup-close {
    position: fixed !important;
    top: 75px !important;
    right: 0px !important;
    z-index: 2000 !important;
    width: 40px !important;
    height: 40px !important;
    background: #3f674c !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* Ensure the X lines are visible */
  }
  .popup-close::before,
  .popup-close::after {
    content: "" !important;
    width: 16px !important;
    height: 2px !important;
    background: #ffffff !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    margin: auto !important;
    display: block !important;
  }
  .popup-close::before {
    transform: rotate(-45deg) !important;
  }
  .popup-close::after {
    transform: rotate(45deg) !important;
  }

  /* Submit button: full width, prominent */
  .wpcf7-form input[type="submit"],
  input[type="submit"] {
    width: 100% !important;
    padding: 14px 20px !important;
    margin-top: 8px !important;
  }

  /* reCAPTCHA — scale down to fit */
  .g-recaptcha,
  #rc-imageselect {
    transform: scale(0.85);
    transform-origin: 0 0;
  }
}

/* ===== JS SCROLL LOCK (add/remove this class via JS) ===== */
/* When popup opens: document.body.classList.add('popup-open')  */
/* When popup closes: document.body.classList.remove('popup-open') */
body.popup-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
}