body.eimbt-legacy-mode #slide_img {
  min-height: 620px !important;
  background-size: min(52vw, 680px) auto !important;
  background-position: right center !important;
  background-repeat: no-repeat !important;
}

body.eimbt-legacy-mode {
  overflow-x: hidden;
}

body.eimbt-legacy-mode #slide_img .row-bg,
body.eimbt-legacy-mode #slide_img .row-bg-inner,
body.eimbt-legacy-mode #slide_img .row-bg-wrap {
  background-size: min(52vw, 680px) auto !important;
  background-position: right center !important;
  background-repeat: no-repeat !important;
}

body.eimbt-legacy-mode #slide_img.vc_row-o-full-height {
  min-height: 620px !important;
}

body.eimbt-legacy-mode #features .lqd-imggrp-img-container img {
  width: min(82vw, 520px) !important;
  margin-right: auto;
  margin-left: auto;
}

body.eimbt-legacy-mode .eimbt-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

body.eimbt-legacy-mode #whymorocco .flickity-page-dots,
body.eimbt-legacy-mode #whymorocco .carousel-dots,
body.eimbt-legacy-mode #whymorocco .carousel-dots-mobile,
body.eimbt-legacy-mode #whymorocco .carousel-dots-mobile-center .flickity-page-dots {
  display: none !important;
}

body.eimbt-legacy-mode #whymorocco .carousel-items,
body.eimbt-legacy-mode #whymorocco .carousel-item {
  opacity: 1 !important;
  visibility: visible !important;
}

body.eimbt-legacy-mode #whymorocco .carousel-items:not(.flickity-enabled) {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
}

body.eimbt-legacy-mode #whymorocco .carousel-items:not(.flickity-enabled) > .carousel-item {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

body.eimbt-legacy-mode #whymorocco .flickity-viewport {
  min-height: 260px;
}

@media (min-width: 768px) {
  body.eimbt-legacy-mode #whymorocco .carousel-items:not(.flickity-enabled) > .carousel-item {
    flex-basis: 50% !important;
    max-width: 50% !important;
  }
}

@media (min-width: 992px) {
  body.eimbt-legacy-mode #whymorocco .carousel-items:not(.flickity-enabled) > .carousel-item {
    flex-basis: 33.333333% !important;
    max-width: 33.333333% !important;
  }
}

body.eimbt-legacy-mode .eimbt-carousel-arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #001962;
  border-radius: 999px;
  background: #ffffff;
  color: #001962;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

body.eimbt-legacy-mode .eimbt-carousel-arrow:hover,
body.eimbt-legacy-mode .eimbt-carousel-arrow:focus-visible {
  border-color: #e66907;
  background: #e66907;
  color: #ffffff;
}

body.eimbt-legacy-mode #header .lqd-custom-menu ul.inline-nav,
body.eimbt-legacy-mode #header ul.eimbt-header-menu {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

body.eimbt-legacy-mode #header .lqd-custom-menu ul.inline-nav > li,
body.eimbt-legacy-mode #header ul.eimbt-header-menu > li {
  margin-inline: 0 !important;
}

body.eimbt-legacy-mode #header .lqd-custom-menu ul.inline-nav > li > a,
body.eimbt-legacy-mode #header ul.eimbt-header-menu > li > a {
  white-space: nowrap;
}

body.eimbt-legacy-mode #mobile-primary-nav.eimbt-header-menu {
  display: block !important;
}

body.eimbt-legacy-mode .programmes_cards {
  align-self: flex-start !important;
}

body.eimbt-legacy-mode .eimbt-programs-masonry {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
  margin-right: 0 !important;
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.eimbt-legacy-mode .eimbt-programs-masonry::before,
body.eimbt-legacy-mode .eimbt-programs-masonry::after {
  display: none !important;
}

body.eimbt-legacy-mode .eimbt-programs-masonry > .eimbt-programs-masonry-heading {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
}

body.eimbt-legacy-mode .eimbt-programs-masonry > .programmes_cards {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: none !important;
  flex: none !important;
  vertical-align: top !important;
  margin: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  box-sizing: border-box !important;
}

body.eimbt-legacy-mode .programmes_cards > .vc_column-inner {
  height: auto !important;
  min-height: 0 !important;
  display: block !important;
  overflow: visible !important;
  padding-bottom: 42px !important;
  box-sizing: border-box !important;
}

body.eimbt-legacy-mode .programmes_cards .wpb_wrapper {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  display: block !important;
}

body.eimbt-legacy-mode .programmes_cards .programme_title h5 {
  line-height: 1.25 !important;
}

body.eimbt-legacy-mode .programmes_cards .programme_description p {
  line-height: 1.55 !important;
  margin-bottom: 22px !important;
}

body.eimbt-legacy-mode .programmes_cards .icon_box_tabs {
  align-items: flex-start !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  overflow: visible !important;
}

body.eimbt-legacy-mode .programmes_cards .icon_box_tabs .iconbox-icon-wrap {
  flex: 0 0 30px !important;
  margin-top: 2px !important;
}

body.eimbt-legacy-mode .programmes_cards .icon_box_tabs .lqd-iconbox-title {
  display: block !important;
  overflow-wrap: anywhere;
  line-height: 1.4 !important;
}

body.eimbt-legacy-mode .eimbt-book-call {
  padding: 0;
  background: transparent;
}

body.eimbt-modal-open {
  overflow: hidden;
}

body.eimbt-legacy-mode .eimbt-book-call-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  padding: 24px;
  transition: opacity 180ms ease, visibility 180ms ease;
}

body.eimbt-legacy-mode .eimbt-book-call-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

body.eimbt-legacy-mode .eimbt-book-call__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 14, 80, 0.82);
  cursor: pointer;
}

body.eimbt-legacy-mode .eimbt-book-call__container {
  position: relative;
  width: min(760px, 100%);
  max-height: min(760px, calc(100dvh - 48px));
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  overflow: auto;
  overscroll-behavior: contain;
  background: #f6f9fe;
  border: 1px solid rgba(0, 25, 98, 0.12);
  box-shadow: 0 28px 90px rgba(0, 15, 70, 0.32);
  padding: 38px;
  transform: translateY(12px);
  transition: transform 180ms ease;
}

body.eimbt-legacy-mode .eimbt-book-call-modal.is-open .eimbt-book-call__container {
  transform: translateY(0);
}

body.eimbt-legacy-mode .eimbt-book-call__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 25, 98, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: #001962;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

body.eimbt-legacy-mode .eimbt-book-call__close:hover,
body.eimbt-legacy-mode .eimbt-book-call__close:focus-visible {
  border-color: #e66907;
  background: #e66907;
  color: #ffffff;
}

body.eimbt-legacy-mode .eimbt-book-call__header {
  padding-right: 44px;
}

body.eimbt-legacy-mode .eimbt-book-call__title {
  margin: 0 0 8px;
  color: #001962;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

body.eimbt-legacy-mode .eimbt-book-call__note {
  max-width: 560px;
  margin: 0;
  color: #5f6d8f;
  font-size: 13px;
  line-height: 1.55;
}

body.eimbt-legacy-mode .eimbt-book-call .wpcf7-form {
  display: block;
  margin: 0;
}

body.eimbt-legacy-mode .eimbt-book-call .wpcf7-form p {
  margin: 0 0 26px;
}

body.eimbt-legacy-mode .eimbt-book-call .wpcf7-form p:has(textarea),
body.eimbt-legacy-mode .eimbt-book-call .wpcf7-form p:has(.wpcf7-acceptance),
body.eimbt-legacy-mode .eimbt-book-call .wpcf7-form p:has(input[type="submit"]),
body.eimbt-legacy-mode .eimbt-book-call .wpcf7-form p:has(button[type="submit"]),
body.eimbt-legacy-mode .eimbt-book-call .wpcf7-response-output {
  grid-column: 1 / -1;
}

body.eimbt-legacy-mode .eimbt-book-call label,
body.eimbt-legacy-mode .eimbt-book-call .wpcf7-list-item-label {
  color: #001962;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

body.eimbt-legacy-mode .eimbt-book-call .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 15px;
  font-weight: 100 !important;
}

body.eimbt-legacy-mode .eimbt-book-call br {
  display: none;
}

body.eimbt-legacy-mode .eimbt-book-call input,
body.eimbt-legacy-mode .eimbt-book-call select,
body.eimbt-legacy-mode .eimbt-book-call textarea {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid #c8d4e8;
  border-radius: 0;
  background: transparent;
  color: #001962;
  padding: 10px 0 13px;
  font: inherit;
  font-size: 17px;
  line-height: 1.35;
  box-shadow: none;
}

body.eimbt-legacy-mode .eimbt-book-call textarea {
  min-height: 108px;
  resize: vertical;
}

body.eimbt-legacy-mode .eimbt-book-call input::placeholder,
body.eimbt-legacy-mode .eimbt-book-call textarea::placeholder {
  color: #6f7896;
  opacity: 0.9;
}

body.eimbt-legacy-mode .eimbt-book-call input:focus,
body.eimbt-legacy-mode .eimbt-book-call select:focus,
body.eimbt-legacy-mode .eimbt-book-call textarea:focus {
  border-color: #e66907;
  outline: 0;
}

body.eimbt-legacy-mode .eimbt-book-call input[type="checkbox"] {
  width: 24px;
  height: 24px;
  min-height: 24px;
  flex: 0 0 24px;
  appearance: none;
  border: 1px solid #c8d4e8;
  background: transparent;
  margin: 0 14px 0 0;
  padding: 0;
  vertical-align: middle;
}

body.eimbt-legacy-mode .eimbt-book-call input[type="checkbox"]:checked {
  background: #001962;
  border-color: #001962;
  box-shadow: inset 0 0 0 4px #f6f9fe;
}

body.eimbt-legacy-mode .eimbt-book-call .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

body.eimbt-legacy-mode .eimbt-book-call .wpcf7-acceptance .wpcf7-list-item {
  margin-top: 8px;
  margin-bottom: 10px;
}

body.eimbt-legacy-mode .eimbt-book-call .wpcf7-form p:has(.wpcf7-acceptance) {
  margin-top: 10px;
  margin-bottom: 20px;
}

body.eimbt-legacy-mode .eimbt-book-call .wpcf7-form p:has(input[type="submit"]),
body.eimbt-legacy-mode .eimbt-book-call .wpcf7-form p:has(button[type="submit"]) {
  margin-top: 8px;
  margin-bottom: 0;
}

body.eimbt-legacy-mode .eimbt-book-call input[type="submit"],
body.eimbt-legacy-mode .eimbt-book-call button[type="submit"] {
  width: 100%;
  min-width: 0;
  min-height: 64px;
  border: 1px solid #e66907;
  border-radius: 0;
  background: #e66907;
  color: #ffffff;
  padding: 17px 28px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

body.eimbt-legacy-mode .eimbt-book-call input[type="submit"]:hover,
body.eimbt-legacy-mode .eimbt-book-call input[type="submit"]:focus-visible,
body.eimbt-legacy-mode .eimbt-book-call button[type="submit"]:hover,
body.eimbt-legacy-mode .eimbt-book-call button[type="submit"]:focus-visible {
  border-color: #001962;
  background: #001962;
}

body.eimbt-legacy-mode .eimbt-book-call .wpcf7-not-valid-tip,
body.eimbt-legacy-mode .eimbt-book-call .wpcf7-response-output {
  font-size: 13px;
  line-height: 1.35;
}

body.eimbt-legacy-mode .eimbt-book-call .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #e42d2d;
  font-weight: 400;
}

body.eimbt-legacy-mode .eimbt-book-call .wpcf7-form p:has(.wpcf7-not-valid-tip) {
  margin-bottom: 28px;
}

body.eimbt-legacy-mode .eimbt-book-call .wpcf7-response-output {
  margin: 4px 0 0 !important;
  padding: 12px 14px !important;
  border-color: rgba(0, 25, 98, 0.18) !important;
  color: #001962;
}

body.eimbt-legacy-mode #footer.eimbt-footer-simple {
  padding: 30px 0 !important;
  background: #040e50;
}

body.eimbt-legacy-mode #footer .eimbt-footer-simple__inner {
  width: min(1200px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
  gap: 28px;
  align-items: center;
  margin: 0 auto;
}

body.eimbt-legacy-mode #footer .eimbt-footer-simple__logo {
  justify-self: start;
  display: inline-flex;
}

body.eimbt-legacy-mode #footer .eimbt-footer-simple__logo img {
  width: 150px;
  height: auto;
}

body.eimbt-legacy-mode #footer .eimbt-footer-simple__copyright {
  justify-self: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

body.eimbt-legacy-mode #footer .eimbt-footer-simple__socials {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
}

body.eimbt-legacy-mode #footer .eimbt-footer-simple__socials li {
  margin: 0 !important;
}

@media (max-width: 991px) {
  body.eimbt-legacy-mode #header .lqd-custom-menu ul.inline-nav,
  body.eimbt-legacy-mode #header ul.eimbt-header-menu {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 14px 28px 18px !important;
    margin: 0 !important;
    background: #ffffff;
  }

  body.eimbt-legacy-mode #header .lqd-custom-menu ul.inline-nav > li,
  body.eimbt-legacy-mode #header ul.eimbt-header-menu > li {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  body.eimbt-legacy-mode #header .lqd-custom-menu ul.inline-nav > li > a,
  body.eimbt-legacy-mode #header ul.eimbt-header-menu > li > a {
    width: 100% !important;
    display: block !important;
    padding: 13px 0 !important;
    border-bottom: 1px solid rgba(0, 25, 98, 0.1);
    color: #001962 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em;
    text-align: left !important;
    white-space: normal !important;
  }

  body.eimbt-legacy-mode #header .lqd-custom-menu ul.inline-nav > li:last-child > a,
  body.eimbt-legacy-mode #header ul.eimbt-header-menu > li:last-child > a {
    border-bottom: 0;
  }

  body.eimbt-legacy-mode #mobile-primary-nav.eimbt-header-menu {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  body.eimbt-legacy-mode #slide_img {
    min-height: 520px !important;
    background-size: min(70vw, 560px) auto !important;
    background-position: right top !important;
  }

  body.eimbt-legacy-mode .programmes_cards > .vc_column-inner {
    min-height: 0 !important;
  }

  body.eimbt-legacy-mode .eimbt-programs-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  body.eimbt-legacy-mode .eimbt-programs-masonry > .programmes_cards {
    margin-bottom: 0 !important;
  }

  body.eimbt-legacy-mode .eimbt-book-call__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 26px 28px;
  }

  body.eimbt-legacy-mode #footer .eimbt-footer-simple__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  body.eimbt-legacy-mode #footer .eimbt-footer-simple__logo,
  body.eimbt-legacy-mode #footer .eimbt-footer-simple__copyright,
  body.eimbt-legacy-mode #footer .eimbt-footer-simple__socials {
    justify-self: center;
  }

  body.eimbt-legacy-mode #footer .eimbt-footer-simple__logo {
    order: 1;
  }

  body.eimbt-legacy-mode #footer .eimbt-footer-simple__copyright {
    order: 2;
  }

  body.eimbt-legacy-mode #footer .eimbt-footer-simple__socials {
    order: 3;
  }
}

@media (max-width: 640px) {
  body.eimbt-legacy-mode #header .navbar-brand img,
  body.eimbt-legacy-mode #header .logo-default img,
  body.eimbt-legacy-mode #header img[src*="logo"] {
    max-width: 140px !important;
    height: auto !important;
  }

  body.eimbt-legacy-mode #header .lqd-custom-menu ul.inline-nav,
  body.eimbt-legacy-mode #header ul.eimbt-header-menu {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  body.eimbt-legacy-mode #header .lqd-custom-menu ul.inline-nav > li > a,
  body.eimbt-legacy-mode #header ul.eimbt-header-menu > li > a {
    font-size: 13px !important;
  }

  body.eimbt-legacy-mode #features .lqd-imggrp-img-container img {
    width: min(76vw, 390px) !important;
  }

  body.eimbt-legacy-mode .eimbt-book-call {
    padding: 0;
  }

  body.eimbt-legacy-mode .eimbt-book-call-modal {
    padding: 12px;
  }

  body.eimbt-legacy-mode .eimbt-book-call__container {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 34px 26px 30px;
  }

  body.eimbt-legacy-mode .eimbt-book-call__title {
    font-size: 28px;
    line-height: 1.08;
  }

  body.eimbt-legacy-mode .eimbt-book-call__note {
    font-size: 13px;
    line-height: 1.5;
  }

  body.eimbt-legacy-mode .eimbt-book-call .wpcf7-form p {
    margin-bottom: 24px;
  }

  body.eimbt-legacy-mode .eimbt-book-call label,
  body.eimbt-legacy-mode .eimbt-book-call .wpcf7-list-item-label {
    font-size: 15px;
  }

  body.eimbt-legacy-mode .eimbt-book-call input,
  body.eimbt-legacy-mode .eimbt-book-call select,
  body.eimbt-legacy-mode .eimbt-book-call textarea {
    min-height: 54px;
    font-size: 16px;
  }

  body.eimbt-legacy-mode .eimbt-book-call .wpcf7-not-valid-tip {
    margin-top: 5px;
    font-size: 13px;
  }

  body.eimbt-legacy-mode .eimbt-book-call .wpcf7-form p:has(.wpcf7-not-valid-tip) {
    margin-bottom: 30px;
  }

  body.eimbt-legacy-mode .eimbt-book-call .wpcf7-form p:has(.wpcf7-acceptance) {
    margin-top: 14px;
    margin-bottom: 22px;
  }

  body.eimbt-legacy-mode .eimbt-book-call .wpcf7-list-item {
    align-items: flex-start;
  }

  body.eimbt-legacy-mode .eimbt-book-call input[type="checkbox"] {
    margin-top: 2px;
  }

  body.eimbt-legacy-mode .eimbt-book-call input[type="submit"],
  body.eimbt-legacy-mode .eimbt-book-call button[type="submit"] {
    min-height: 62px;
    font-size: 13px;
  }

  body.eimbt-legacy-mode .eimbt-programs-masonry {
    grid-template-columns: 1fr;
  }
}
