/* ==========================================================================
   Finnet theme — components.css
   Every builder element that appears in the captured page markup.
   Values are the site's own (theme options + base look); selectors are kept
   exactly as the captured markup uses them so per-item CSS keeps working.

   Not here: grid/sections/columns (layout.css), typography/buttons/forms
   (base.css), header/footer, post lists (blog.css), carousels (sliders.css),
   icons (icons.css), hero slider (rev.css).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared element variables (names identical to the ones per-page CSS targets)
   -------------------------------------------------------------------------- */
body {
  --mfn-icon-box-icon: #2a27e9;
  --mfn-clients-tiles: rgba(0, 0, 0, 0.08);
  --mfn-clients-tiles-hover: #283c92;
  --mfn-offer-thumbs-nav: #283c92;
  --mfn-faq-line: rgba(0, 0, 0, 0.1);
  --mfn-shape-divider: #000;
  --mfn-sliding-box-bg: #2a27e9;
  --mfn-blog-date-bg: #f8f8f8;
  --mfn-blog-slider-date-bg: #f8f8f8;
}

/* --------------------------------------------------------------------------
   column_column — plain WYSIWYG content block
   -------------------------------------------------------------------------- */
.column_column {
  display: flex;
}

.mcb-item-column-inner {
  width: 100%;
  word-break: break-word;
}

.column_attr.align_left {
  text-align: left;
}

.column_attr.align_right {
  text-align: right;
}

.column_attr.align_center {
  text-align: center;
}

/* Lists inside content columns (and the old .icon_box / accordion bodies) */
.column_column ul,
.icon_box ul,
.mfn-acc ul {
  list-style: disc outside;
  margin: 0 0 15px 30px;
  color: #0a0a0a;
}

.column_column ol,
.icon_box ol,
.mfn-acc ol {
  list-style: decimal;
  margin: 0 0 15px 30px;
  color: #0a0a0a;
}

.column_column ul li,
.column_column ol li,
.icon_box ul li,
.icon_box ol li,
.mfn-acc ul li,
.mfn-acc ol li {
  margin-bottom: 10px;
}

.column_column ul li ul,
.column_column ol li ol,
.icon_box ul li ul,
.icon_box ol li ol {
  margin-top: 10px;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   column_heading
   -------------------------------------------------------------------------- */
.column_heading .title {
  margin-bottom: 0;
}

.column_heading span.title {
  display: block;
}

/* --------------------------------------------------------------------------
   column_button
   -------------------------------------------------------------------------- */
.column_button .button {
  margin: 0 !important;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   column_icon_box_2 — .mfn-icon-box (modern icon box)
   Positions: -left (default row), -top, -bottom; vertical align: -start/-center;
   tablet/mobile variants; hover effects -move-up, -icon-scale, -box-scale.
   -------------------------------------------------------------------------- */
.column_icon_box_2 a:not(.button),
.column_icon_box_2 a:not(.button):hover {
  text-decoration: none;
  color: inherit;
}

.mfn-icon-box {
  box-sizing: border-box;
}

.mfn-icon-box,
.mfn-icon-box .icon-wrapper {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mfn-icon-box .icon-wrapper {
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.mfn-builder-content .mfn-icon-box:where(:not(.mfn-header-icon-box):not(.mfn-header-menu-burger)) .icon-wrapper i {
  font-size: 7vh;
  line-height: 1;
  color: var(--mfn-icon-box-icon);
}

.mfn-icon-box:not(.mfn-header-icon-box) .desc-wrapper {
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
}

.mfn-icon-box:not(.mfn-header-icon-box) .desc-wrapper > * {
  width: 100%;
  order: 2;
}

.mfn-icon-box .desc-wrapper :last-child {
  margin-bottom: 0;
}

.mfn-icon-box .desc-wrapper .title {
  display: block;
}

/* icon position */
.mfn-icon-box-left .icon-wrapper {
  margin: 0 20px 0 0;
}

.mfn-icon-box-top,
.mfn-icon-box-bottom {
  flex-direction: column;
}

.mfn-icon-box-top .desc-wrapper,
.mfn-icon-box-bottom .desc-wrapper {
  width: 100%;
  text-align: center;
}

.mfn-icon-box-top .icon-wrapper {
  margin: 0 0 30px;
}

.mfn-icon-box-top.mfn-icon-box-center .icon-wrapper,
.mfn-icon-box-bottom.mfn-icon-box-center .icon-wrapper {
  width: 40%;
}

/* vertical alignment */
.mfn-icon-box-start {
  align-items: flex-start;
}

.mfn-icon-box-center {
  align-items: center;
}

/* hover effects */
.mfn-icon-box-icon-scale:hover .icon-wrapper,
.mfn-icon-box-box-scale:hover {
  transform: scale(1.04);
}

.mfn-icon-box-move-up:hover {
  transform: translateY(-10px);
}

.mfn-icon-box,
.mfn-icon-box .icon-wrapper,
.mfn-icon-box .icon-wrapper i,
.mfn-icon-box .desc-wrapper,
.mfn-icon-box .desc-wrapper .title,
.mfn-icon-box .desc-wrapper .desc {
  transition: all 0.2s ease-in-out;
}

/* tablet position override */
@media (max-width: 959px) {
  .mfn-icon-box-tablet-top,
  .mfn-icon-box-tablet-bottom {
    flex-direction: column;
  }

  .mfn-icon-box-tablet-top .icon-wrapper {
    margin: 0 0 30px;
    order: 1;
  }

  .mfn-icon-box-tablet-top .desc-wrapper,
  .mfn-icon-box-tablet-bottom .icon-wrapper {
    order: 2;
  }
}

/* mobile position override */
@media (max-width: 767px) {
  .mfn-icon-box-left .icon-wrapper,
  .mfn-icon-box-right .icon-wrapper {
    width: 25%;
  }

  .mfn-icon-box-mobile-left,
  .mfn-icon-box-mobile-right {
    flex-direction: row;
  }

  .mfn-icon-box-mobile-left .icon-wrapper {
    margin: 0 20px 0 0;
    order: 1;
  }

  .mfn-icon-box-mobile-left .desc-wrapper,
  .mfn-icon-box-mobile-right .icon-wrapper {
    order: 2;
  }

  .mfn-icon-box-mobile-left .icon-wrapper,
  .mfn-icon-box-mobile-right .icon-wrapper {
    width: 25%;
  }

  .mfn-icon-box-mobile-center {
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   column_icon_box — the older .icon_box (round icon in a ring)
   -------------------------------------------------------------------------- */
.icon_box {
  position: relative;
  padding: 10px 0;
}

.icon_box a {
  display: block;
}

.icon_box a:hover {
  text-decoration: none;
}

.icon_box .icon_wrapper {
  box-sizing: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 15px;
  font-size: 50px;
  overflow: hidden;
  border: 8px solid #f8f8f8;
  border-radius: 100%;
  background-color: #fff;
  background-clip: content-box;
  box-shadow: inset 0 0 7px 0 rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  color: #2a27e9;
  transform: scale(1);
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.icon_box .icon_wrapper i {
  position: relative;
  z-index: 2;
}

.icon_box .icon_wrapper:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 100%;
  border-color: #e2e2e2;
  transition: background-color 0.3s ease-in-out;
}

.icon_box:hover .icon_wrapper {
  transform: scale(0.94);
  color: #fff;
}

.icon_box:hover .icon_wrapper:before,
.icon_box a:hover .icon_wrapper:before {
  background-color: #2a27e9;
}

.icon_box .image_wrapper {
  text-align: center;
  margin-bottom: 15px;
}

.icon_box .desc_wrapper {
  text-align: center;
}

.icon_box .desc,
.icon_box a .desc,
.icon_box a:hover .desc {
  color: #0a0a0a;
}

.icon_box a.button,
.icon_box a.mfn-link {
  display: inline-block;
}

/* --------------------------------------------------------------------------
   column_image — .image_frame (also used by blog thumbnails and wp captions)
   Hover: image slides up 15px, dark mask fades in, .image_links bar slides up.
   .no_link = no hover effect; .greyscale = desaturated until hover.
   -------------------------------------------------------------------------- */
.column_image {
  line-height: 0;
}

.image_frame,
.wp-caption {
  display: block;
  overflow: hidden;
  margin: 0;
  max-width: 100%;
  line-height: 0;
  box-sizing: border-box;
  border: 0 solid #f8f8f8;
}

.image_item.image_frame {
  display: inline-block;
}

.image_frame.no_border {
  border-width: 0;
}

.image_frame a,
.wp-caption a {
  display: block;
  -webkit-tap-highlight-color: transparent;
}

.image_frame .image_wrapper,
.wp-caption img {
  box-sizing: border-box;
  border-color: #e2e2e2;
}

.image_frame .image_wrapper {
  position: relative;
  overflow: hidden;
}

.image_frame .image_wrapper img {
  position: relative;
  top: 0;
  transition: all 0.3s ease-in-out;
}

.image_frame:hover .image_wrapper img,
.image_frame:focus .image_wrapper img,
.image_frame.hover .image_wrapper img {
  top: -15px;
}

.image_frame.no_link:hover .image_wrapper img,
.image_frame.no_link:focus .image_wrapper img {
  top: 0;
}

/* dark mask over the picture */
.image_frame .image_wrapper .mask {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  box-shadow: inset 0 0 5px 2px rgba(0, 0, 0, 0.07);
}

.image_frame .image_wrapper .mask:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  opacity: 0;
  background: rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
}

.image_frame:hover .image_wrapper .mask:after,
.image_frame:focus .image_wrapper .mask:after,
.image_frame.hover .image_wrapper .mask:after {
  opacity: 1;
}

.image_frame.no_link:hover .image_wrapper .mask:after,
.image_frame.no_link:focus .image_wrapper .mask:after {
  opacity: 0;
}

/* zoom / link bar that slides up from the bottom */
.image_frame .image_wrapper .image_links {
  display: flex;
  position: absolute;
  left: 0;
  bottom: -60px;
  width: 100%;
  height: 60px;
  z-index: 4;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.image_frame:hover .image_wrapper .image_links,
.image_frame:focus .image_wrapper .image_links,
.image_frame.hover .image_wrapper .image_links {
  bottom: 0;
}

.image_frame .image_wrapper .image_links a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  position: relative;
  width: 100%;
  background: #fff;
  color: #0b1a48;
  border: 0 solid #fff;
  box-shadow: inset -1px 0 0 0 transparent;
  transition: all 0.1s ease-in-out;
}

.image_frame .image_wrapper .image_links a:not(:last-child) {
  border-right-width: 1px;
}

.image_frame .image_wrapper .image_links a svg {
  width: 32px;
}

.image_frame .image_wrapper .image_links a .path {
  stroke: #0b1a48;
}

.image_frame .image_wrapper .image_links a:hover,
.image_frame .image_wrapper .image_links a:focus {
  background: #fff;
  color: #2a27e9;
  border-color: #fff;
}

.image_frame .image_wrapper .image_links a:hover .path {
  stroke: #2a27e9;
}

/* captions */
.wp-caption-text {
  display: block;
  text-align: center;
  margin: 0;
  padding: 10px 0 5px;
  line-height: normal;
  background: #f8f8f8;
  color: #a6a6a6;
}

.image_frame.no_border .wp-caption-text {
  padding: 10px 0;
}

.the_content_wrapper .image_frame,
.the_content_wrapper .wp-caption {
  margin-bottom: 20px;
}

/* greyscale images (photo_box, clients, blog tiles) */
.greyscale .image_wrapper .mask {
  display: none;
}

.greyscale img {
  filter: grayscale(100%);
}

.greyscale img:hover,
.greyscale a:hover img,
.greyscale .client_wrapper:hover img {
  filter: none;
}

@media only screen and (max-width: 767px) {
  .image_frame {
    margin-top: 0 !important;
  }
}

/* --------------------------------------------------------------------------
   column_photo_box
   -------------------------------------------------------------------------- */
.photo_box {
  text-align: center;
}

.photo_box .image_frame {
  margin-bottom: 15px;
}

.photo_box.without-desc .image_frame {
  margin-bottom: 0;
}

.photo_box .desc {
  margin-bottom: 15px;
}

/* --------------------------------------------------------------------------
   column_trailer_box — picture with caption that lifts on hover
   -------------------------------------------------------------------------- */
.column_trailer_box .mcb-column-inner {
  overflow: hidden;
}

.trailer_box {
  position: relative;
  text-align: center;
  line-height: 0;
}

.trailer_box a {
  display: block;
}

.trailer_box a:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
}

.trailer_box:hover a:after {
  opacity: 1;
}

.trailer_box .desc {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  padding: 20px 15px 35px;
  box-sizing: border-box;
}

.trailer_box .desc h2 {
  position: relative;
  bottom: 0;
  margin: 0;
  font-size: 30px;
  line-height: 30px;
  color: #fff;
  transition: all 0.3s ease-in-out;
}

.trailer_box:hover .desc h2 {
  bottom: 20px;
}

.trailer_box .desc .subtitle {
  display: inline-block;
  position: relative;
  bottom: 0;
  margin-bottom: 15px;
  padding: 4px 8px;
  line-height: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 3px;
  background-color: #2a27e9;
  color: #fff;
  transition: all 0.3s ease-in-out;
}

.trailer_box:hover .desc .subtitle {
  bottom: 20px;
}

.trailer_box .desc .line {
  display: block;
  height: 1px;
  width: 0;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease-in-out;
}

.trailer_box:hover .desc .line {
  width: 60%;
}

.trailer_box.plain .desc .line {
  background-color: #2a27e9;
}

.trailer_box.plain .desc .subtitle {
  background: none;
  color: #2a27e9;
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
  .trailer_box .desc h2 {
    font-size: 27px;
    line-height: 27px;
  }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
  .trailer_box .desc h2 {
    font-size: 24px;
    line-height: 24px;
  }
}

@media only screen and (max-width: 479px) {
  .trailer_box .desc h2 {
    font-size: 21px;
    line-height: 21px;
  }
}

/* --------------------------------------------------------------------------
   column_banner_box — .mfn-banner-box (image with overlay text, hidden CTA)
   -------------------------------------------------------------------------- */
.mfn-banner-box {
  --mfn-banner-box-animation-duration: 0.2s;
  --mfn-banner-box-offset: 0px;
  --mfn-banner-box-badge-offset: 20px;
  --mfn-banner-box-desc-bg: #e9ecef;
  --mfn-banner-box-cta-icon-size: 24px;
  --mfn-banner-box-cta-image-width: 24px;
  --mfn-banner-box-hidden-content-gap: 15px;
  position: relative;
  display: block;
  overflow: hidden;
}

.mfn-banner-box .banner-image {
  position: relative;
  line-height: 0;
  overflow: hidden;
}

.mfn-banner-box .banner-desc,
.mfn-banner-box .banner-wrapper {
  display: flex;
  align-items: center;
  position: absolute;
  box-sizing: border-box;
}

.mfn-banner-box .banner-desc {
  justify-content: center;
  left: 0;
  top: 0;
  margin: var(--mfn-banner-box-offset);
  width: calc(100% - var(--mfn-banner-box-offset) * 2);
  height: calc(100% - var(--mfn-banner-box-offset) * 2);
  z-index: 1;
}

.mfn-banner-box .banner-wrapper {
  flex-direction: column;
  padding: 30px;
  text-align: center;
  transition: all var(--mfn-banner-box-animation-duration) ease-in-out;
}

.mfn-banner-box .banner-wrapper > :last-child,
.mfn-banner-box .banner-wrapper > .last-visible-el,
.mfn-banner-box .hidden-desc .hidden-wrapper > :last-child {
  margin-bottom: 0;
}

/* content revealed on hover (JS sets --mfn-banner-box-height from the
   hidden-desc's scrollHeight so the box can animate to its real height) */
.mfn-banner-box .banner-desc .hidden-desc {
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all var(--mfn-banner-box-animation-duration) ease-in-out;
}

.mfn-banner-box .banner-wrapper .hidden-desc .hidden-wrapper {
  padding-top: var(--mfn-banner-box-hidden-content-gap);
}

.mfn-banner-box:hover .banner-desc .hidden-desc {
  opacity: 1;
  height: var(--mfn-banner-box-height, auto);
}

.mfn-banner-box-boxed .banner-wrapper {
  width: 60%;
  max-width: 100%;
  overflow: hidden;
  background-color: var(--mfn-banner-box-desc-bg);
}

.mfn-banner-box .title,
.mfn-banner-box .subtitle,
.mfn-banner-box .excerpt,
.mfn-banner-box .banner-badge,
.mfn-banner-box .banner-cta {
  transition: all var(--mfn-banner-box-animation-duration) ease-in-out;
}

.mfn-banner-box .banner-cta {
  display: inline-flex;
}

.mfn-banner-box .hidden-desc .banner-cta {
  transition-delay: var(--mfn-banner-box-animation-duration);
}

.mfn-banner-box-image-blur .banner-image img {
  transform: scale(1.03);
  transition: all var(--mfn-banner-box-animation-duration) ease-in-out;
}

.mfn-banner-box-image-blur:hover .banner-image img {
  filter: blur(6px);
}

.mfn-banner-box-image-overlay .banner-image:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  transition: all var(--mfn-banner-box-animation-duration) ease-in-out;
}

.mfn-banner-box-image-overlay:hover .banner-image:after {
  background-color: rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   column_divider_2 — .mfn-divider (modern divider with optional border)
   -------------------------------------------------------------------------- */
.mfn-divider {
  --mfn-divider-gap-top: 20px;
  --mfn-divider-gap-bottom: 20px;
  --mfn-divider-spacing: 15px;
  --mfn-divider-height: 20px;
  --mfn-divider-border-width: 3px;
  --mfn-divider-border-color: rgba(22, 25, 34, 0.25);
  --mfn-divider-pattern-color: #161922;
  --mfn-divider-icon-color: #283c92;
  --mfn-divider-addon-width: unset;
  --mfn-divider-addon-height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mfn-divider .mfn-divider-inner {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: var(--mfn-divider-gap-top);
  margin-bottom: var(--mfn-divider-gap-bottom);
}

.mfn-divider .mfn-divider-inner:before,
.mfn-divider .mfn-divider-inner:after {
  content: "";
  display: block;
  flex-grow: 1;
}

.mfn-divider-border .mfn-divider-inner:before,
.mfn-divider-border .mfn-divider-inner:after {
  border-top-width: var(--mfn-divider-border-width);
  border-bottom-width: 0;
  border-color: var(--mfn-divider-border-color);
}

.mfn-divider-border-solid .mfn-divider-inner:before,
.mfn-divider-border-solid .mfn-divider-inner:after {
  border-top-style: solid;
}

.mfn-divider-center {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   column_divider — classic <hr>
   -------------------------------------------------------------------------- */
.column_divider hr,
.column_divider .hr_dots {
  margin-bottom: 0;
}

.column.column_divider .mcb-item-divider-inner {
  margin-bottom: 0 !important;
  height: auto !important;
}

hr.hr_color,
.hr_color hr,
.hr_dots span {
  color: #283c92;
  background: #283c92;
}

hr.no_line {
  background: none;
  color: transparent;
}

.hr_dots {
  text-align: center;
  line-height: 0;
  margin: 0 auto 15px;
  clear: both;
}

.hr_dots span {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 5px;
  overflow: hidden;
  border-radius: 5px;
}

/* --------------------------------------------------------------------------
   column_list_2 — .mfn-list (modern list with icon + divider)
   -------------------------------------------------------------------------- */
.mfn-list {
  --mfn-list-icon-spacing: 10px;
  --mfn-list-icon-size: 20px;
  --mfn-list-icon-color: #161922;
  --mfn-list-divider-width: 100%;
  --mfn-list-divider-height: 1px;
  --mfn-list-divider-color: rgba(0, 0, 0, 0.1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mfn-list .mfn-list-item {
  display: flex;
  position: relative;
  padding: 7px 0;
}

.mfn-list .mfn-list-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  line-height: 0;
  margin-right: var(--mfn-list-icon-spacing);
}

.mfn-list .mfn-list-icon i {
  font-size: var(--mfn-list-icon-size);
  color: var(--mfn-list-icon-color);
}

.mfn-list .mfn-list-icon img {
  width: var(--mfn-list-icon-size);
}

.mfn-list-divider .mfn-list-item {
  margin-bottom: var(--mfn-list-divider-height);
}

.mfn-list-divider .mfn-list-item:after {
  content: "";
  display: block;
  position: absolute;
  bottom: calc(var(--mfn-list-divider-height) * -1);
  width: var(--mfn-list-divider-width);
  height: var(--mfn-list-divider-height);
  background-color: var(--mfn-list-divider-color);
}

.mfn-list-divider .mfn-list-item:last-child:after {
  display: none;
}

.mfn-list-left .mfn-list-item {
  justify-content: flex-start;
}

.mfn-list-left .mfn-list-item:after {
  left: 0;
}

.mfn-list-center .mfn-list-item {
  justify-content: center;
}

.mfn-list-center .mfn-list-item:after {
  left: calc((100% - var(--mfn-list-divider-width)) / 2);
}

.mfn-list-middle .mfn-list-item {
  align-items: center;
}

@media only screen and (max-width: 767px) {
  .mfn-list-mobile-center .mfn-list-item {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   column_list — classic .list_item (80px icon tile + text)
   -------------------------------------------------------------------------- */
.list_item,
.list_item > a {
  display: block;
}

.list_item a,
.list_item a:hover {
  color: #0a0a0a;
}

.list_item > a:hover {
  text-decoration: none;
}

.list_item .list_left {
  display: flex;
  justify-content: center;
  align-items: center;
  float: left;
  width: 80px;
  height: 80px;
  overflow: hidden;
  text-align: center;
  font-size: 50px;
  color: #2a27e9;
}

.list_item .list_left img {
  max-width: 80px !important;
  max-height: 80px !important;
  vertical-align: middle;
}

.list_item .list_left i:before {
  margin: 0;
}

.list_item .list_right {
  margin-left: 100px;
  padding: 5px 0 0;
  word-wrap: break-word;
}

.list_item .list_right h4 {
  margin-bottom: 7px;
}

/* style 1: filled tile */
.list_item.lists_1 .list_left {
  border-radius: 5px;
  background-color: #2a27e9;
  color: #fff;
  box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.1);
}

.list_item.lists_1 .list_left img {
  max-width: 60px !important;
  max-height: 60px !important;
}

/* --------------------------------------------------------------------------
   column_hover_color — .hover_color
   Colours come from the builder as inline styles: the outer .hover_color
   carries the HOVER background/border, .hover_color_bg the resting one.
   On desktop the inner box inherits the outer colours while hovered.
   -------------------------------------------------------------------------- */
.hover_color {
  text-align: center;
  border-color: transparent;
  word-wrap: break-word;
}

.hover_color,
.hover_color_bg {
  height: 100%;
}

.hover_color a {
  display: block;
}

.hover_color a:hover {
  text-decoration: none;
}

.hover_color .hover_color_bg {
  box-sizing: border-box;
  transition: all 0.4s ease-in-out;
}

.hover_color .hover_color_wrapper {
  padding: 40px 30px;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
}

.hover_color,
.hover_color a,
.hover_color a:hover,
.hover_color h1 a,
.hover_color h2 a,
.hover_color h3 a,
.hover_color h4 a,
.hover_color h5 a,
.hover_color h6 a {
  color: #fff;
}

.hover_color.align_left {
  text-align: left;
}

@media only screen and (min-width: 1240px) {
  .hover_color:hover .hover_color_bg,
  .hover_color.hover .hover_color_bg {
    background-color: inherit !important;
    border-color: inherit !important;
  }
}

/* --------------------------------------------------------------------------
   column_accordion — .accordion (open state: .question.active)
   -------------------------------------------------------------------------- */
.accordion .question {
  position: relative;
  margin-bottom: 5px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 5px;
}

.accordion .question:last-child {
  margin-bottom: 0;
}

.accordion .question > .title {
  position: relative;
  padding: 14px 14px 14px 60px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 0 solid rgba(0, 0, 0, 0.08);
  background: #f9f9f9;
  color: #0b1a48;
  box-shadow: inset 0 4px 3px -2px rgba(0, 0, 0, 0.04);
}

.accordion .question > .title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 49px;
  height: 100%;
  border: 0 solid rgba(0, 0, 0, 0.08);
  border-right-width: 1px;
}

.accordion .question > .title > .acc-icon-plus,
.accordion .question > .title > .acc-icon-minus {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 100%;
  font-size: 17px;
  line-height: 17px;
  color: rgba(0, 0, 0, 0.25);
}

.accordion .question > .title > .acc-icon-plus:before,
.accordion .question > .title > .acc-icon-minus:before {
  margin: 0 !important;
}

.accordion .question > .title > .acc-icon-minus {
  display: none;
}

.accordion .question > .answer {
  display: none;
  padding: 15px 20px 20px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: inset 0 4px 3px -2px rgba(0, 0, 0, 0.06);
}

.accordion .question.active > .title {
  border-width: 0 0 1px;
  color: #2a27e9;
}

.accordion .question.active > .title > .acc-icon-plus,
.accordion .question.active > .title > .acc-icon-minus {
  color: #2a27e9;
}

.accordion .question.active > .title > .acc-icon-plus {
  display: none;
}

.accordion .question.active > .title > .acc-icon-minus {
  display: flex;
}

.accordion .question.active > .answer {
  display: block;
}

.accordion .question.active p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   column_video — responsive iframe
   -------------------------------------------------------------------------- */
.column_video .mcb-item-video-inner {
  overflow: hidden;
  line-height: 0;
}

.content_video.iframe.auto-wh {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.content_video.iframe.auto-wh iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 767px) {
  .content_video.iframe {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
  }

  .content_video.iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* section background video */
.section.has-video {
  position: relative;
  overflow: hidden;
}

.section.has-video .section_video {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  min-width: 100%;
  overflow: hidden;
}

.section.has-video .section_video video {
  width: 100%;
  object-fit: cover;
}

.section.has-video .section_video .mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.section.has-video .section_wrapper {
  position: relative;
}

/* --------------------------------------------------------------------------
   column_map_basic — embedded Google Map iframe
   -------------------------------------------------------------------------- */
.column_map_basic {
  line-height: 0;
  text-align: center;
}

.column_map_basic .mcb-item-map_basic-inner {
  overflow: hidden;
}

.column_map_basic iframe {
  width: 100%;
  line-height: normal;
}

/* --------------------------------------------------------------------------
   column_offer_thumb — .offer_thumb.bottom (tabbed offers; thumbs as pager)
   JS: one .offer_thumb_li visible at a time; pager <li> gets .slick-active /
   its <a> gets .selected for the current one.
   -------------------------------------------------------------------------- */
.offer_thumb {
  position: relative;
  padding-left: 120px;
  box-sizing: border-box;
}

.offer_thumb.bottom {
  padding-left: 0;
}

.offer_thumb_ul {
  margin: 0 !important;
  opacity: 0;
  max-height: 500px;
  overflow: hidden;
  transition: opacity 0.3s ease-in-out;
}

.offer_thumb_ul.fn-ready,
.offer_thumb_ul.is-active {
  opacity: 1;
  max-height: none;
}

.offer_thumb_ul .offer_thumb_li {
  display: block;
  float: left;
  margin: 0 !important;
  padding-left: 30px;
  box-sizing: border-box;
}

.offer_thumb_ul .offer_thumb_li .desc_wrapper {
  float: left;
  width: 39%;
  margin-right: 4%;
  padding-top: 20px;
}

.offer_thumb_ul .offer_thumb_li .desc_wrapper .title {
  position: relative;
  min-height: 43px;
  margin-bottom: 15px;
  padding-right: 160px;
}

.offer_thumb_ul .offer_thumb_li .desc_wrapper.no-link .title {
  padding: 0;
}

.offer_thumb_ul .offer_thumb_li .desc_wrapper .title h3 {
  margin: 0;
  padding-top: 3px;
  font-size: 35px;
  line-height: 35px;
}

.offer_thumb_ul .offer_thumb_li .desc_wrapper .title a.button {
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
}

.offer_thumb_ul .offer_thumb_li .desc_wrapper.align_left {
  text-align: left;
}

.offer_thumb_ul .offer_thumb_li .image_wrapper {
  float: right;
  width: 57%;
  overflow: hidden;
}

.offer_thumb.bottom .offer_thumb_ul .offer_thumb_li .image_wrapper {
  width: 48%;
  text-align: center;
}

.offer_thumb.bottom .offer_thumb_ul .offer_thumb_li .desc_wrapper {
  width: 48%;
  margin-right: 4%;
}

.offer_thumb .slider_pagination li {
  display: inline-block;
}

.offer_thumb .slider_pagination li a:before,
.offer_thumb .slider_pagination li.slick-active a:after,
.offer_thumb .slider_pagination li a.selected:after {
  background-color: var(--mfn-offer-thumbs-nav);
}

.offer_thumb .slider_pagination a img {
  transition: all 0.3s ease-in-out;
}

@media only screen and (min-width: 768px) {
  .offer_thumb .slider_pagination {
    position: absolute;
    left: 0;
    top: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }

  .offer_thumb .slider_pagination li {
    display: block;
  }

  .offer_thumb .slider_pagination li a {
    display: block;
    box-sizing: content-box;
    width: 85px;
    height: 85px;
    margin: 0;
    padding: 8px;
    line-height: 85px;
    text-align: center;
    text-indent: 0;
    border: 0 solid rgba(0, 0, 0, 0.08);
    border-bottom-width: 1px;
    border-radius: 0;
    background-color: #fff;
  }

  .offer_thumb .slider_pagination li a img {
    vertical-align: middle;
  }

  .offer_thumb .slider_pagination a:before {
    content: "";
    display: block;
    position: absolute;
    right: -5px;
    top: 0;
    width: 5.5px;
    height: 100%;
    opacity: 0;
  }

  .offer_thumb .slider_pagination a:after {
    content: "";
    position: absolute;
    left: auto;
    right: -9px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    opacity: 0;
    border-radius: 0;
  }

  .offer_thumb .slider_pagination li.slick-active a:before,
  .offer_thumb .slider_pagination li.slick-active a:after,
  .offer_thumb .slider_pagination li a.selected:before,
  .offer_thumb .slider_pagination li a.selected:after {
    opacity: 1;
  }

  /* thumbs below the content */
  .offer_thumb.bottom .slider_pagination {
    position: static;
    margin-top: 50px;
    border: 0;
    text-align: center;
  }

  .offer_thumb.bottom .slider_pagination li {
    display: inline-block;
    margin: -1px 0 0 -1px;
  }

  .offer_thumb.bottom .slider_pagination li a {
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }

  .offer_thumb.bottom .slider_pagination li a:before {
    left: 0;
    right: auto;
    top: -5px;
    width: 100%;
    height: 5.5px;
  }

  .offer_thumb.bottom .slider_pagination li a:after {
    left: calc(50% - 4px);
    right: auto;
    top: -5px;
  }
}

@media only screen and (max-width: 959px) {
  .offer_thumb_ul li.offer_thumb_li .desc_wrapper,
  .offer_thumb_ul li.offer_thumb_li .image_wrapper,
  .offer_thumb.bottom .offer_thumb_ul li.offer_thumb_li .image_wrapper,
  .offer_thumb.bottom .offer_thumb_ul li.offer_thumb_li .desc_wrapper {
    float: none;
    width: 100%;
    margin-right: 0;
  }
}

@media only screen and (max-width: 767px) {
  .offer_thumb,
  .offer_thumb_ul li.offer_thumb_li {
    padding-left: 0;
  }

  .offer_thumb_ul li.offer_thumb_li .desc_wrapper .title {
    padding-right: 0;
  }

  .offer_thumb_ul li.offer_thumb_li .desc_wrapper .title h3 {
    margin-bottom: 15px;
  }

  .offer_thumb_ul li.offer_thumb_li .desc_wrapper .title a.button {
    position: relative;
  }

  .offer_thumb .slider_pagination {
    margin-top: 20px;
    line-height: inherit;
  }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
  .offer_thumb_ul li.offer_thumb_li .desc_wrapper .title h3 {
    font-size: 32px;
    line-height: 32px;
  }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
  .offer_thumb_ul li.offer_thumb_li .desc_wrapper .title h3 {
    font-size: 28px;
    line-height: 28px;
  }
}

@media only screen and (max-width: 479px) {
  .offer_thumb_ul li.offer_thumb_li .desc_wrapper .title h3 {
    font-size: 26px;
    line-height: 26px;
  }
}

/* --------------------------------------------------------------------------
   column_clients / column_clients_slider — ul.clients tiles
   (the carousel mechanics live in sliders.css)
   -------------------------------------------------------------------------- */
ul.clients {
  margin: 0;
  list-style: none;
}

ul.clients li {
  float: left;
  width: 16.666%;
  margin: 0 !important;
  list-style: none;
}

ul.clients .client_wrapper {
  position: relative;
  margin: 10px;
  padding: 10px 15px;
  text-align: center;
  line-height: 0;
  background: rgba(0, 0, 0, 0.01);
  transition: all 0.4s ease-in-out;
}

ul.clients .client_wrapper:hover {
  background: rgba(0, 0, 0, 0.05);
}

ul.clients .client_wrapper a,
ul.clients .client_wrapper .gs-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

ul.clients li .client_wrapper img {
  transition: all 0.4s ease-in-out;
}

@media only screen and (max-width: 767px) {
  ul.clients:not(.clients_slider_ul) li {
    width: 50% !important;
  }
}

/* --------------------------------------------------------------------------
   Blockquote / testimonial quote block
   -------------------------------------------------------------------------- */
blockquote {
  display: block;
  position: relative;
  top: 15px;
  height: auto;
  margin: 0 0 35px 25px;
  font-family: "Fin Helvetica Medium";
  font-size: 17px;
  line-height: 31px;
  color: #444;
}

blockquote a,
blockquote a:hover {
  color: #444;
}

blockquote:before {
  content: "";
}

.blockquote {
  position: relative;
  margin-bottom: 20px;
}

.blockquote .mfn-blockquote-icon {
  display: block;
  position: absolute;
  left: 25px;
  top: 25px;
  font-size: 65px;
  color: rgba(0, 0, 0, 0.1);
  transform: translate(-50%, -50%);
}

.blockquote blockquote {
  margin-bottom: 25px;
}

.blockquote p.author {
  margin-left: 25px;
}

.blockquote p.author span {
  color: #282828;
}

.blockquote p.author i {
  margin-right: 5px;
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
  blockquote {
    font-size: 15px;
  }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
  blockquote {
    font-size: 14px;
  }
}

@media only screen and (max-width: 479px) {
  blockquote {
    font-size: 13px;
  }
}

/* --------------------------------------------------------------------------
   .date_label — small date tag used by blog items and sliders
   -------------------------------------------------------------------------- */
.date_label {
  display: inline-block;
  position: relative;
  padding: 2px 5px;
  font-family: "Fin Helvetica Medium";
  font-size: 12px;
  line-height: 18px;
  border-radius: 4px;
  background-color: var(--mfn-blog-date-bg);
  color: #a8a8a8;
}

.date_label:after {
  content: "";
  display: block;
  position: absolute;
  right: -5px;
  top: 6px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5.5px 0 5.5px 5px;
  border-color: transparent;
  border-left-color: var(--mfn-blog-date-bg);
}

/* --------------------------------------------------------------------------
   .chart_box (pie chart item on the old home layout)
   -------------------------------------------------------------------------- */
.chart_box {
  position: relative;
  text-align: center;
}

.chart_box:before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 1px;
  z-index: 2;
  width: 138px;
  height: 138px;
  margin-left: -69px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 100%;
  background-color: #fff;
}

.chart_box .chart {
  position: relative;
  width: 140px;
  margin: 0 auto 10px;
}

.chart_box .chart canvas {
  position: relative;
  z-index: 2;
}

.chart_box .chart .num,
.chart_box .chart .icon,
.chart_box .chart .image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #444;
}

.chart_box .chart .icon {
  font-size: 45px;
}

.chart_box .chart .num {
  font-family: "Arizonia";
  font-size: 50px;
  line-height: 1;
}

.chart_box p {
  margin-bottom: 0;
  color: #282828;
}

/* --------------------------------------------------------------------------
   .tooltip — hover label on image links (data-tooltip, data-position)
   -------------------------------------------------------------------------- */
.tooltip {
  display: inline;
  position: relative;
  cursor: help;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.08);
}

.image_links .tooltip {
  border-bottom: 0;
  cursor: pointer;
}

.tooltip:before,
.tooltip:after {
  position: absolute;
  z-index: 98;
  bottom: 100%;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  background: #444;
  color: #fff;
  transition: transform 0.2s ease-out;
}

.tooltip:before {
  content: attr(data-tooltip);
  max-width: 250px;
  width: max-content;
  padding: 6px 12px;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  text-indent: 0;
  border-radius: 3px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  transform: translate(-50%);
}

.tooltip:after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: -4px;
  border-radius: 2px;
  transform: translate(-50%) rotate(45deg);
}

.tooltip:hover:before,
.tooltip:focus:before {
  opacity: 1;
  transform: translate(-50%, -10px);
}

.tooltip:hover:after,
.tooltip:focus:after {
  opacity: 1;
  transform: translate(-50%, -10px) rotate(45deg);
}

.tooltip[data-position="left"]:before {
  left: auto;
  right: 100%;
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
}

.tooltip[data-position="left"]:hover:before,
.tooltip[data-position="left"]:focus:before {
  transform: translate(-10px, -50%);
}

.tooltip[data-position="left"]:after {
  left: auto;
  right: 100%;
  bottom: auto;
  top: 50%;
  transform: translate(5px, -5px) rotate(45deg);
}

.tooltip[data-position="left"]:hover:after,
.tooltip[data-position="left"]:focus:after {
  transform: translate(-60%, -5px) rotate(45deg);
}

.tooltip[data-position="right"]:before {
  left: 100%;
  right: auto;
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
}

.tooltip[data-position="right"]:hover:before,
.tooltip[data-position="right"]:focus:before {
  transform: translate(10px, -50%);
}

.tooltip[data-position="right"]:after {
  left: 100%;
  right: auto;
  bottom: auto;
  top: 50%;
  transform: translate(-5px, -5px) rotate(45deg);
}

.tooltip[data-position="right"]:hover:after,
.tooltip[data-position="right"]:focus:after {
  transform: translate(60%, -5px) rotate(45deg);
}

.tooltip[data-position="bottom"]:before {
  top: 100%;
  bottom: auto;
}

.tooltip[data-position="bottom"]:hover:before,
.tooltip[data-position="bottom"]:focus:before {
  transform: translate(-50%, 10px);
}

.tooltip[data-position="bottom"]:after {
  top: 100%;
  bottom: auto;
}

.tooltip[data-position="bottom"]:hover:after,
.tooltip[data-position="bottom"]:focus:after {
  margin-top: -4px;
  transform: translate(-50%, 10px) rotate(45deg);
}

/* --------------------------------------------------------------------------
   .highlight — inline highlighted text
   -------------------------------------------------------------------------- */
.highlight {
  padding: 1px 7px;
  border-radius: 3px;
}

.highlight:not(.highlight_image) {
  background-color: #283c92;
  color: #fff;
}

/* --------------------------------------------------------------------------
   .mfn-shape-divider — SVG edge shape on sections
   -------------------------------------------------------------------------- */
.mfn-shape-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.mfn-shape-divider[data-name="top"] {
  top: 0;
}

.mfn-shape-divider[data-name="top"][data-invert="1"] {
  transform: rotate(180deg);
}

.mfn-shape-divider[data-name="bottom"] {
  bottom: 0;
  transform: rotate(180deg);
}

.mfn-shape-divider[data-name="bottom"][data-invert="1"] {
  transform: unset;
}

.mfn-shape-divider[data-bring-front="1"] {
  z-index: 2;
}

.mfn-shape-divider[data-flip="1"] svg {
  transform: rotateY(180deg);
}

.mfn-shape-divider svg {
  display: block;
  position: relative;
  width: 100%;
  height: 150px;
}

.mfn-shape-divider svg path:not(.transparent),
.mfn-shape-divider svg rect,
.mfn-shape-divider svg circle,
.mfn-shape-divider svg ellipse {
  fill: var(--mfn-shape-divider);
}

/* --------------------------------------------------------------------------
   .dark — section/wrap modifier: light text on dark backgrounds
   -------------------------------------------------------------------------- */
.dark,
.dark .list_item a:not(.icon_bar),
.dark .list_item a:not(.icon_bar):hover,
.dark .icon_box a .desc,
.dark .icon_box a:hover .desc {
  color: #fff !important;
}

.dark .column a:not(.button) {
  color: hsla(0, 0%, 100%, 0.66);
}

.dark h1, .dark h1 a, .dark h1 a:hover,
.dark h2, .dark h2 a, .dark h2 a:hover,
.dark h3, .dark h3 a, .dark h3 a:hover,
.dark h4, .dark h4 a, .dark h4 a:hover,
.dark h5, .dark h5 a, .dark h5 a:hover,
.dark h6, .dark h6 a, .dark h6 a:hover,
.dark blockquote,
.dark .column_column ul,
.dark .column_column ol,
.dark .the_content_wrapper ul,
.dark .the_content_wrapper ol {
  color: #fff;
}

.dark blockquote:after {
  color: hsla(0, 0%, 100%, 0.1);
}

.dark .accordion .question .answer {
  color: #626262;
}

.dark .post-meta,
.dark .post-meta a,
.dark .post-footer,
.dark .post-footer a span.label,
.dark .button-love a .label,
.dark .fixed-nav .desc .date,
.dark .filters_buttons li.label,
.dark .pager .pages a,
.dark .blockquote p.author span,
.dark .chart_box p,
.dark .testimonials_slider .testimonials_slider_ul li .author span,
.dark .testimonials_slider .testimonials_slider_ul li .author span a {
  color: #dedede;
}

.dark .chart_box:before,
.dark .fixed-nav .desc h6,
.dark .post-footer .post-links,
.dark .post-header .title_wrapper,
.dark .section-post-related .section-related-adjustment,
.dark .list_item .circle,
.dark .comments,
.dark input[type="text"],
.dark input[type="email"],
.dark input[type="tel"],
.dark input[type="password"],
.dark select,
.dark textarea,
.dark table td,
.dark table th,
.dark dl > dd,
.dark dl > dt {
  border-color: hsla(0, 0%, 100%, 0.08);
}

.dark hr {
  background-color: hsla(0, 0%, 100%, 0.08);
  color: hsla(0, 0%, 100%, 0.08);
}

.dark .slider_pagination a {
  background: hsla(0, 0%, 100%, 0.3);
}

/* --------------------------------------------------------------------------
   Gravity Forms inside builder content (.gform_wrapper, also carrying the
   author's .tform_wrapper class on the Contact / team pages).
   The plugin's own Orbital theme stays active and styles the controls; these
   are the few adjustments the previous theme layered on top.
   -------------------------------------------------------------------------- */
.gform_wrapper label {
  font-weight: 400;
  margin: 0.188em 0 0.75em;
}

.gform_wrapper .top_label .gfield_label,
.gform_wrapper .gform-field-label {
  font-weight: 700;
}

.gform_wrapper input,
.gform_wrapper select {
  margin: 0;
}

.gform_wrapper input[type="checkbox"],
.gform_wrapper input[type="radio"] {
  margin-left: 3px;
}

.gform_wrapper .button:after {
  content: unset;
}

/* inputs keep the white field look even on the orange home contact block */
.gform_wrapper.gform-theme--orbital input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.gform_wrapper.gform-theme--orbital select,
.gform_wrapper.gform-theme--orbital textarea {
  background-color: #fff;
}

/* the label/placeholder tint follows the surrounding text colour (.dark) */
.dark .gform_wrapper .gfield_label,
.dark .gform_wrapper .gform-field-label,
.dark .gform_wrapper .gfield_description,
.dark .gform_wrapper legend {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Contact Form 7 newsletter (only the "form not found" notice is captured)
   -------------------------------------------------------------------------- */
.wpcf7 .wpcf7-form p {
  margin-bottom: 15px;
}

.wpcf7-contact-form-not-found {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Author's own custom classes (from the site's Custom CSS option).
   .mpt .mser .sevhead .sevcon .sevlink .serviceicon .sicon .org .fancytxt
   .excerpt-hellip .tform .sev* are present in the markup but had NO rules
   anywhere in the captured CSS — they render as plain content and are left
   unstyled on purpose.
   -------------------------------------------------------------------------- */
.jbtn {
  display: block;
  margin: 0 auto;
  padding: 15px 25px;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  background: #283c92;
  color: #fff;
}

.spost .image_frame.scale-with-grid {
  margin-left: 0 !important;
}

.spost .date_label {
  display: none !important;
}

.spost .item_wrapper {
  margin: 0 !important;
}

.spost .desc h4 {
  margin: -30px 0;
  padding: 50px 0;
  background: #f15f22;
  color: #fff;
}

.spost .desc h4 a {
  display: block;
  margin: -20px 0 0 20px !important;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Leftover markup from other page builders pasted into content
   (.wpb_wrapper from WPBakery; .et_pb_*, .fl-*, .vc_* carry no rules)
   -------------------------------------------------------------------------- */
.wpb_wrapper > div {
  margin-bottom: 35px;
}

/* --------------------------------------------------------------------------
   .animate — scroll reveal. Elements start hidden; main.js adds .is-visible
   (and sets the data-anim-type keyframe) once they enter the viewport.
   -------------------------------------------------------------------------- */
.animate:not(.is-visible) {
  opacity: 0;
}

.animate.is-visible {
  opacity: 1;
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

.animate.is-visible[data-anim-type="fadeIn"] { animation-name: fnFadeIn; }
.animate.is-visible[data-anim-type="fadeInUp"] { animation-name: fnFadeInUp; }
.animate.is-visible[data-anim-type="fadeInDown"] { animation-name: fnFadeInDown; }
.animate.is-visible[data-anim-type="fadeInLeft"] { animation-name: fnFadeInLeft; }
.animate.is-visible[data-anim-type="fadeInRight"] { animation-name: fnFadeInRight; }
.animate.is-visible[data-anim-type="zoomIn"],
.animate.is-visible[data-anim-type="zoomInUpLarge"] { animation-name: fnZoomIn; }

@keyframes fnFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fnFadeInUp { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
@keyframes fnFadeInDown { from { opacity: 0; transform: translate3d(0, -40px, 0); } to { opacity: 1; transform: none; } }
@keyframes fnFadeInLeft { from { opacity: 0; transform: translate3d(-40px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fnFadeInRight { from { opacity: 0; transform: translate3d(40px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fnZoomIn { from { opacity: 0; transform: scale3d(0.9, 0.9, 0.9); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .animate:not(.is-visible) {
    opacity: 1;
  }

  .animate.is-visible {
    animation: none;
  }
}

/* ------------------------------------------------------------------
   Lightbox (main.js builds .fn-lightbox for .image_links a.zoom and rel="prettyphoto")
   ------------------------------------------------------------------ */
.fn-lightbox { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.85); padding: 40px; }
.fn-lightbox.is-open { display: flex; }
.fn-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.fn-lightbox img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.fn-lightbox figcaption { color: #fff; font-size: 14px; margin-top: 10px; }
.fn-lightbox-close, .fn-lightbox-prev, .fn-lightbox-next { position: absolute; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; padding: 10px; opacity: 0.8; }
.fn-lightbox-close:hover, .fn-lightbox-prev:hover, .fn-lightbox-next:hover { opacity: 1; }
.fn-lightbox-close { top: 15px; right: 20px; }
.fn-lightbox-prev { left: 15px; top: 50%; transform: translateY(-50%); }
.fn-lightbox-next { right: 15px; top: 50%; transform: translateY(-50%); }
.fn-lightbox-single .fn-lightbox-prev, .fn-lightbox-single .fn-lightbox-next { display: none; }
body.fn-lightbox-open { overflow: hidden; }

/* Back to top (created by main.js) */
.back_to_top { position: fixed; right: 20px; bottom: 20px; z-index: 9000; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #0b1a48; color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; display: flex; align-items: center; justify-content: center; }
.back_to_top.is-visible { opacity: 1; visibility: visible; }
.back_to_top::before { content: ""; width: 10px; height: 10px; border: solid #fff; border-width: 2px 0 0 2px; transform: translateY(2px) rotate(45deg); }

/* offer_thumb pager thumbs: 103px boxes with a 3px gap (109px cells), as before */
.offer_thumb .slider_pagination li a { margin: 3px; overflow: visible; }
.offer_thumb .slider_pagination li a img { display: inline; width: 85px; height: 85px; }

/* offer_thumb slides contain their floats; height follows the active slide */
.offer_thumb_ul.fn-track > li.offer_thumb_li { display: flow-root; float: none; }
.offer_thumb_ul.fn-track { align-items: flex-start; overflow: hidden; transition: height 0.3s ease-out, transform 0.5s ease-in-out; }

/* CF7 "form not found" notice keeps the normal paragraph margin */
p.wpcf7-contact-form-not-found { margin: 0 0 15px; }

/* image icons in icon boxes render at their natural size */
.mfn-icon-box .icon-wrapper img { height: auto; max-width: 100%; }
/* single-post featured image when no 1200x480 crop exists: scale the original to 480px tall */
.single-photo-wrapper .image_frame img.fn-fit-480 { height: 480px; width: auto; max-width: 100%; }

/* image icons: the wrapper takes a quarter of the box (as before) and the image fills it */
.mfn-builder-content .mfn-icon-box-left .icon-wrapper:has(> img),
.mfn-builder-content .mfn-icon-box-right .icon-wrapper:has(> img) { width: 25%; }
.mfn-icon-box .icon-wrapper > img { max-width: 100%; height: auto; }

/* style-simple accordion (site setting): flat rows, no gaps */
body.style-simple .accordion .question { margin-bottom: 0; border-width: 0 0 0 1px; border-radius: 0; }
body.style-simple .accordion .question > .title { padding-left: 50px; }
body.style-simple .accordion .question > .answer { padding: 0 20px 10px 50px; }
