@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600..800&family=PT+Sans:ital,wght@0,400;0,700;1,400&display=swap");


/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
  --ne-cyan: #00b4cf;              /* logo cyan, decorative */
  --ne-cyan-deep: #00788a;         /* cyan that reads on white */
  --ne-navy: #012b40;              /* the site's own navy */
  --ne-navy-2: #0a3a52;
  --ne-charcoal: #2d2d2d;
  --ne-paper: #ffffff;
  --ne-mist: #f2f6f8;
  --ne-line: #e3e9ed;

  --ne-ink: #1e2a31;
  --ne-ink-soft: #5b6870;
  --ne-on-navy: #d6e4ea;

  --ne-font-head: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --ne-font-text: "PT Sans", "Segoe UI", Arial, sans-serif;

  --ne-container: 1170px;
  --ne-gutter: clamp(1rem, 3.5vw, 1.75rem);
  --ne-radius: 8px;
  --ne-shadow: 0 2px 4px rgba(1, 43, 64, 0.06), 0 14px 30px -18px rgba(1, 43, 64, 0.45);
}


/* ==========================================================================
   2. Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ne-font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ne-ink);
  background: var(--ne-paper);
  -webkit-font-smoothing: antialiased;
}

/* The inline theme settings name PT Sans for every span and input too */
input, button, select, textarea, body, span {
  font-family: var(--ne-font-text);
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: var(--ne-cyan-deep);
  text-decoration: none;
}

a:hover {
  color: var(--ne-navy);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--ne-font-head);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ne-navy);
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: calc(var(--ne-container) + 2 * var(--ne-gutter));
  margin-inline: auto;
  padding-inline: var(--ne-gutter);
}

.container .container {
  max-width: none;
  padding-inline: 0;
}

.pull-right {
  float: right;
}

/* Bootstrap 2 and Visual Composer columns */
.row-fluid,
.vc_row-fluid > .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2rem;
}

.row-fluid > [class*="span"],
.vc_row-fluid > .container > [class*="vc_col-"] {
  flex: 1 1 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .row-fluid > .span3 { flex: 1 1 calc(25% - 2rem); }
  .row-fluid > .span6 { flex: 1 1 calc(50% - 2rem); }
  .vc_row-fluid > .container > .vc_col-sm-4 { flex: 1 1 calc(33.333% - 2rem); }
}


/* ==========================================================================
   3. Parts that need the theme's scripts, or are empty
   ========================================================================== */

.top_nav,
#page-bg,
.mobile_small_menu,
.menu-small,
.scrollup,
.latest_blog .header .pagination,
.he-view,
.footer_social_icons,
#social_widget-2,
.rs-p-wp-fix,
.slider-img {
  display: none !important;
}


/* ==========================================================================
   4. Header: logo and menu
   ========================================================================== */

.header_wrapper {
  position: relative;
  z-index: 50;
  background: var(--ne-paper);
  border-top: 4px solid var(--ne-cyan);
  box-shadow: 0 6px 18px -14px rgba(1, 43, 64, 0.5);
}

header#header .span12 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 0.9rem;
}

#logo img {
  display: block;
  width: auto;
  height: 96px;
}

#logo .logo_desc:empty {
  display: none;
}

#navigation {
  float: none;
}

#navigation .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#navigation .menu > li {
  position: relative;
}

#navigation .menu > li > a {
  display: block;
  padding: 0.7rem 0.7rem;
  font-family: var(--ne-font-head);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ne-ink);
  border-bottom: 2px solid transparent;
}

#navigation .menu > li > a:hover,
#navigation .menu > li:focus-within > a {
  color: var(--ne-cyan-deep);
}

#navigation .menu > li.current-menu-item > a {
  color: var(--ne-cyan-deep);
  border-bottom-color: var(--ne-cyan);
}

#navigation .menu > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0.36rem;
  height: 0.36rem;
  margin-left: 0.4rem;
  vertical-align: 0.2em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

#navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 14rem;
  padding: 0.4rem 0;
  background: var(--ne-paper);
  border-top: 2px solid var(--ne-cyan);
  box-shadow: 0 16px 32px -14px rgba(1, 43, 64, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0s linear 0.15s;
}

#navigation .menu > li:hover > .sub-menu,
#navigation .menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

#navigation .menu > li:nth-last-child(-n+4) > .sub-menu {
  left: auto;
  right: 0;
}

#navigation .sub-menu a {
  display: block;
  padding: 0.45rem 1.1rem;
  font-size: 0.95rem;
  color: var(--ne-ink-soft);
}

#navigation .sub-menu a:hover {
  color: var(--ne-navy);
  background: var(--ne-mist);
}

@media (max-width: 1100px) {
  header#header .span12 {
    flex-direction: column;
    gap: 0.5rem;
  }

  #logo img {
    height: 80px;
  }

  #navigation {
    width: calc(100% + 2 * var(--ne-gutter));
    margin-inline: calc(-1 * var(--ne-gutter));
    overflow-x: auto;
    scrollbar-width: none;
  }

  #navigation::-webkit-scrollbar {
    display: none;
  }

  #navigation .menu {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    padding-inline: calc(var(--ne-gutter) - 0.6rem);
  }

  #navigation .menu > li > a {
    padding-inline: 0.6rem;
    white-space: nowrap;
  }

  #navigation .sub-menu,
  #navigation .menu > li.menu-item-has-children > a::after {
    display: none;
  }
}


/* ==========================================================================
   5. Banner: the slider's first slide, with its headline and button
   ========================================================================== */

#slider-fullwidth {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto auto 1fr;
  justify-items: center;
  overflow: hidden;
  background: var(--ne-navy);
  border-bottom: 0 !important;
}

#slider-fullwidth > img.rev-slidebg:first-of-type {
  grid-row: 1 / -1;
  grid-column: 1;
  width: 100%;
  height: clamp(18rem, 42vw, 34rem);
  object-fit: cover;
  object-position: center top;
}

/* Second slide and its layers are not shown */
#slider-fullwidth > img.rev-slidebg ~ img.rev-slidebg,
#slider-fullwidth > img.rev-slidebg ~ img.rev-slidebg ~ a {
  display: none;
}

#slider-fullwidth > a.rs-layer {
  grid-column: 1;
  position: relative;
  z-index: 2;
  margin: 0 var(--ne-gutter);
  text-align: center;
  color: #ffffff;
}

#slider-fullwidth > a.rs-layer:not(.rev-btn) {
  grid-row: 2;
  padding: clamp(0.8rem, 2vw, 1.25rem) clamp(1.25rem, 4vw, 2.5rem);
  font-family: var(--ne-font-head) !important;
  font-size: clamp(1.75rem, 1rem + 3.6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  background-color: rgba(1, 43, 64, 0.72) !important;
  border-radius: var(--ne-radius);
}

#slider-fullwidth > a.rev-btn {
  grid-row: 3;
  margin-top: 1rem;
  padding: 0.85rem 2rem;
  font-family: var(--ne-font-head) !important;
  font-size: 1rem;
  font-weight: 700;
  background: var(--ne-cyan) !important;
  color: var(--ne-navy);
  border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
}

#slider-fullwidth > a.rev-btn:hover {
  background: #ffffff !important;
}


/* ==========================================================================
   6. Page sections
   ========================================================================== */

/* The rows carry an inline "padding: 0 !important", so the spacing goes on
   their containers */
.composer_content > .container {
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
}

.composer_content > .container + .container {
  padding-top: 0;
}

/* Strapline band under the banner */
.section-style.no_borders {
  padding-block: 1.5rem !important;
  text-align: center;
  background-color: var(--ne-navy) !important;
}

/* (the site's custom CSS forces a 36px line height on this heading) */
.section-style .dynamic_page_header h1 {
  margin: 0;
  font-size: clamp(1.15rem, 0.9rem + 1vw, 1.6rem) !important;
  font-weight: 700;
  line-height: 1.35 !important;
  letter-spacing: 0.04em;
  color: var(--ne-on-navy) !important;
}

.dynamic_page_header h1 b {
  color: #ffffff;
}

/* Intro text */
.wpb_text_column h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
  line-height: 1.25 !important;
}

.wpb_text_column h3 {
  margin-top: 1rem;
  font-family: var(--ne-font-text);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ne-ink);
}

.wpb_text_column p {
  font-size: 1.1rem;
}

/* Main button ("BOOK NOW") */
.vc_btn3-container {
  margin-block: 1.25rem 2rem !important;
  text-align: center;
}

.vc_btn3 {
  display: inline-block;
  padding: 1rem 2.25rem;
  font-family: var(--ne-font-head);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: var(--ne-navy);
  border-radius: 999px;
  transition: background-color 0.15s ease;
}

.vc_btn3:hover {
  color: var(--ne-navy);
  background: var(--ne-cyan);
}

.divider__.solid_border {
  height: 1px;
  background: var(--ne-line);
}

.vc_empty_space {
  height: 2rem !important;
}

/* Three feature cards with drawn icons */
.vc_row-fluid > .container:has(.services_medium_new) {
  row-gap: 1.5rem;
}

.services_medium_new {
  height: 100%;
  padding: 2rem 1.75rem 1.75rem;
  text-align: center;
  background: var(--ne-mist);
  border-radius: var(--ne-radius);
}

.services_medium_new .icon_wrapper {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  background: var(--ne-navy);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 180, 207, 0.35) !important;
}

.services_medium_new .overlay {
  display: none !important;
}

.services_medium_new .icon_wrapper i {
  position: absolute;
  inset: 1.15rem;
  background-color: var(--ne-cyan);
  -webkit-mask: var(--ne-ico) center / contain no-repeat;
  mask: var(--ne-ico) center / contain no-repeat;
}

.linecon-icon-star     { --ne-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.7 5.6 6.1.8-4.5 4.2 1.1 6-5.4-3-5.4 3 1.1-6-4.5-4.2 6.1-.8z'/%3E%3C/svg%3E"); }
.linecon-icon-calendar { --ne-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.linecon-icon-data     { --ne-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M21 20H3'/%3E%3C/svg%3E"); }

.services_medium_new h2 {
  margin-bottom: 0.6rem;
  font-size: 1.3rem !important;
  line-height: 1.3 !important;
}

.services_medium_new h2 a {
  color: var(--ne-navy);
}

.services_medium_new h2 a:hover {
  color: var(--ne-cyan-deep);
}

.services_medium_new p {
  margin: 0;
  font-size: 1rem;
  color: var(--ne-ink-soft);
}

/* Sponsor and partner logos */
.wpb_text_column div[style*="text-align: center"]:has(img) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.wpb_text_column div[style*="text-align: center"] img {
  width: auto;
  max-height: 110px;
  margin: 0 !important;
}


/* ==========================================================================
   7. Latest news: the carousel as four cards
   ========================================================================== */

.latest_blog .header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.latest_blog .header h3 {
  margin: 0;
  font-size: 1.6rem;
}

.latest_blog .header::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--ne-line);
}

.latest_blog .row,
.caroufredsel_wrapper {
  position: static !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

ul.carousel_blog {
  position: static !important;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  width: auto !important;
  height: auto !important;
  left: auto !important;
}

ul.carousel_blog > li:nth-child(n+5) {
  display: none;
}

.carousel_blog .blog-article {
  display: flex;
  flex-direction: column;
  width: auto !important;
  margin: 0 !important;
  overflow: hidden;
  background: var(--ne-paper);
  border: 1px solid var(--ne-line);
  border-radius: var(--ne-radius);
  box-shadow: var(--ne-shadow);
}

.carousel_blog .he-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 514 / 340;
  object-fit: cover;
}

.carousel_blog dl {
  margin: 0;
  padding: 1rem 1.1rem 0;
}

.carousel_blog dd {
  margin: 0;
}

.carousel_blog h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.carousel_blog h3 a {
  color: var(--ne-navy);
}

.carousel_blog h3 a:hover {
  color: var(--ne-cyan-deep);
}

.carousel_blog .info {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--ne-ink-soft);
}

/* comment counts are a 2018 snapshot */
.carousel_blog .info li:first-child {
  display: none;
}

.carousel_blog .blog_content {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0.5rem 1.1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--ne-ink-soft);
}

@media (max-width: 991px) {
  ul.carousel_blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 559px) {
  ul.carousel_blog {
    grid-template-columns: minmax(0, 1fr);
  }

  ul.carousel_blog > li:nth-child(n+4) {
    display: none;
  }
}


/* ==========================================================================
   8. Footer
   ========================================================================== */

footer#footer .inner {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--ne-on-navy);
  background: var(--ne-navy);
}

footer#footer .row-fluid.ff {
  row-gap: 2rem;
}

footer#footer .widget-title {
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  border-bottom: 2px solid var(--ne-cyan);
}

footer#footer .widget-title:empty {
  display: none;
}

footer#footer a {
  color: #ffffff;
}

footer#footer a:hover {
  color: var(--ne-cyan) !important;
}

/* Tweets */
.tweet_list dl {
  margin: 0 0 1rem;
}

.tweet_list dt {
  display: none;
}

.tweet_list dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.tweet_list .date {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: rgba(214, 228, 234, 0.7);
}

/* Recent news */
.widget_recent_entries li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget_recent_entries .post-date {
  display: block;
  font-size: 0.8rem;
  color: rgba(214, 228, 234, 0.7);
}

/* Newsletter form */
#mc_subheader {
  font-size: 0.95rem;
}

#mc_signup_form .mc_var_label {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

#mc_signup #mc_signup_form .mc_input {
  width: 100% !important;
  height: 2.4rem !important;
  padding: 0 0.6rem;
  font: inherit;
  color: var(--ne-ink);
  background: #ffffff;
  border-radius: 4px !important;
}

#mc-indicates-required {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(214, 228, 234, 0.7);
}

#mc_signup_form #mc_signup_submit {
  width: auto !important;
  margin-top: 1rem;
  padding: 0.6rem 1.5rem;
  font-family: var(--ne-font-head);
  font-weight: 700;
  color: var(--ne-navy);
  background: var(--ne-cyan);
  border: 0 !important;
  border-radius: 999px !important;
  cursor: pointer;
}

/* Contact info */
.widget_contact_info li {
  padding: 0.35rem 0;
  font-size: 0.95rem;
}

.widget_contact_info li::before {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ne-cyan);
}

.widget_contact_info .email::before   { content: "Email"; }
.widget_contact_info .address::before { content: "Address"; }
.widget_contact_info .phone::before   { content: "Phone"; }

/* Copyright bar (the theme's cyan with white text is hard to read) */
footer#footer #copyright {
  padding-block: 1rem;
  font-size: 0.85rem;
  color: var(--ne-on-navy);
  background: #011f2f;
}

footer#footer #copyright .desc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

footer#footer #copyright .pull-right {
  float: none;
}

#menu-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.25rem;
}

footer#footer #copyright li a {
  color: #ffffff;
  background: none;
}


/* ==========================================================================
   9. Focus and motion
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--ne-cyan-deep);
  outline-offset: 2px;
}

footer :focus-visible,
#slider-fullwidth :focus-visible {
  outline-color: var(--ne-cyan);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}