@charset "utf-8";

/**
 * Styles for the components that were rebuilt in React and therefore no longer
 * rely on their original jQuery plugin markup (hero slider, carousel, lightbox,
 * accordion state). Values are taken from the plugin stylesheets they replace,
 * so the rendering is unchanged. Everything else still comes from the original
 * theme CSS.
 */

/* -----------------------------------------------------------------------------
 * 1.0 Hero slider — replaces Revolution Slider 4.6.5 (fullscreen, preview4)
 * -------------------------------------------------------------------------- */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #1a427e;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Caption stage: the 1170x600 grid the original slider positioned its layers
   inside (startwidth/startheight), centred in the viewport. */
.hero-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1170px;
  height: 600px;
  margin: -300px 0 0 -585px;
  z-index: 5;
}

.hero-caption {
  position: absolute;
  white-space: nowrap;
  opacity: 0;
  /* perspective(400px) reproduces the slider's 3D matrix (m34 = -0.0025),
     which is what puts the captions on the grayscale-antialiasing path. */
  transform: perspective(400px) translate3d(0, 20px, 0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-slide.is-active .hero-caption {
  opacity: 1;
  transform: perspective(400px) translate3d(0, 0, 0);
}

.hero-caption.is-multiline {
  white-space: pre-line;
}

.hero-caption .tp-splitted {
  display: inline-block;
  white-space: pre;
}

/* Caption typography, carried over verbatim from the slider's stylesheet. */
.mendi-medium-white {
  color: #ffffff;
  text-shadow: none;
  background-color: transparent;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 46px;
  line-height: normal;
  border-width: 0px;
  border-color: rgb(255, 255, 255);
  border-style: none;
}

.mendi-medium-blue {
  color: #1a427e;
  text-shadow: none;
  background-color: transparent;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 46px;
  line-height: 50px;
  border-width: 0px;
  border-color: rgb(255, 255, 255);
  border-style: none;
}

.mendi-white {
  color: #ffffff;
  text-shadow: none;
  background-color: transparent;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 24px;
  text-transform: uppercase;
  border-width: 0px;
  border-color: rgb(255, 255, 255);
  border-style: none;
}

.mendi-blue {
  color: #1a427e;
  text-shadow: none;
  background-color: transparent;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 24px;
  text-transform: uppercase;
  border-width: 0px;
  border-color: rgb(255, 255, 255);
  border-style: none;
}

.mendi-white-light {
  color: #ffffff;
  text-shadow: none;
  background-color: transparent;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 32px;
  line-height: 24px;
  font-weight: 300;
  letter-spacing: 0.5px;
  border-width: 0px;
  border-color: rgb(0, 0, 0);
  border-style: none;
}

.mendi-white-bold {
  color: #ffffff;
  text-shadow: none;
  background-color: transparent;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 46px;
  line-height: 47px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-width: 0px;
  border-color: rgb(0, 0, 0);
  border-style: none;
}

.mendi-white-cont {
  color: #ffffff;
  text-shadow: none;
  background-color: transparent;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;
  border-width: 0px;
  border-color: rgb(0, 0, 0);
  border-style: none;
}

/* Slider navigation glyphs. */
@font-face {
  font-family: 'revicons';
  src: url('/font/revicons.eot?5510888');
  src: url('/font/revicons.eot?5510888#iefix') format('embedded-opentype'),
    url('/font/revicons.woff?5510888') format('woff'),
    url('/font/revicons.ttf?5510888') format('truetype'),
    url('/font/revicons.svg?5510888#revicons') format('svg');
  font-weight: normal;
  font-style: normal;
}

.hero .tparrows {
  position: absolute;
  top: 50%;
  margin-top: -55px;
  width: 30px;
  height: 110px;
  background: transparent;
  cursor: pointer;
  z-index: 600;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.hero:hover .tparrows,
.hero:hover .tp-bullets {
  opacity: 1;
}

.hero .tparrows.preview4:after {
  position: absolute;
  line-height: 110px;
  text-align: center;
  font-family: 'revicons';
  color: #fff;
  font-size: 20px;
  top: 0px;
  left: 0px;
  z-index: 0;
  width: 30px;
  height: 110px;
  background: rgba(36, 208, 40, 0.24);
  transition: all 0.2s ease-in-out;
}

.hero .tparrows,
.hero .tp-bullets .bullet {
  color: #666666;
}

.hero .tp-leftarrow {
  left: 0;
}

.hero .tp-rightarrow {
  right: 0;
}

.hero .tp-rightarrow.preview4:after {
  content: '\e825';
}

.hero .tp-leftarrow.preview4:after {
  content: '\e824';
}

.hero .tp-bullets {
  position: absolute;
  opacity: 0;
  transition: opacity 0.2s ease-out;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  height: 17px;
  z-index: 1000;
  white-space: nowrap;
}

.hero .tp-bullets.preview4 .bullet {
  cursor: pointer;
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  box-shadow: none;
  width: 6px;
  height: 6px;
  border: 5px solid rgba(0, 0, 0, 0);
  display: inline-block;
  margin-right: 2px;
  margin-bottom: 0px;
  transition: background-color 0.2s, border-color 0.2s;
  float: none;
  box-sizing: content-box;
}

.hero .tp-bullets.preview4 .bullet:hover,
.hero .tp-bullets.preview4 .bullet.selected {
  box-shadow: none;
  background: rgba(255, 255, 255, 1);
}

@media (max-width: 1199px) {
  .hero-stage {
    left: 0;
    width: 100%;
    margin-left: 0;
    padding: 0 30px;
  }

  .hero-caption {
    left: 30px !important;
    right: 30px;
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .hero {
    height: 70vh;
    min-height: 420px;
  }

  .hero-stage {
    top: 0;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
  }

  .hero-caption {
    position: static !important;
    left: auto !important;
    right: auto;
    margin: 0 0 14px;
    white-space: normal;
  }

  .mendi-medium-white,
  .mendi-medium-blue {
    font-size: 20px;
  }

  .mendi-white,
  .mendi-blue,
  .mendi-white-bold {
    font-size: 32px;
    line-height: 1.2;
  }

  .mendi-white-light {
    font-size: 22px;
  }

  .mendi-white-cont {
    font-size: 15px;
    line-height: 22px;
  }

  .hero .tparrows.preview4 {
    width: 20px;
    height: 80px;
    margin-top: -40px;
  }

  .hero .tparrows.preview4:after {
    width: 20px;
    height: 80px;
    line-height: 80px;
    font-size: 14px;
  }
}

/* -----------------------------------------------------------------------------
 * 2.0 Logo carousel — replaces Owl Carousel
 * -------------------------------------------------------------------------- */

.pc-carousel {
  overflow: hidden;
  width: 100%;
}

.pc-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.pc-carousel-slide {
  flex: 0 0 auto;
}

.pc-carousel-slide .mendi-portfolio-item {
  width: 100%;
  padding: 0;
}

.pc-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------------------------------------------
 * 3.0 Accordion open/closed state (was toggled by jQuery slideToggle)
 * -------------------------------------------------------------------------- */

.mendi-accordion-collapse {
  display: none;
}

.mendi-accordion-panel.current > .mendi-accordion-collapse {
  display: block;
}

/* -----------------------------------------------------------------------------
 * 4.0 Lightbox — replaces fancyBox
 * -------------------------------------------------------------------------- */

.pc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(10, 10, 10, 0.9);
  cursor: zoom-out;
}

.pc-lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

.pc-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  color: #ffffff;
  font-size: 34px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
}

/* -----------------------------------------------------------------------------
 * 5.0 Misc
 * -------------------------------------------------------------------------- */

.wp-img {
  width: 50px;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 100;
}

/* Placement previously carried as inline styles in the markup. */
.main-nav > ul {
  margin-top: 8px;
}

.iso.nav-iso {
  z-index: 9999;
  float: right;
  margin-top: 13px;
  margin-bottom: 12px;
}

.iso.footer-iso {
  z-index: 9999;
  float: right;
  margin: 0px 0 0px 0;
}

.iso.nav-iso img,
.iso.footer-iso img {
  display: block;
  height: 80px;
}

.iso.iso-bar img {
  height: 120px;
}

.mendi-fullwidth-info-text .mendi-heading h2:before {
  bottom: -30px;
}

/* Click target covering the "Corporate Cleaning" band, matching the inline
   styles the original carried on its wrapping anchor. */
.mendi-plan-overlay-link {
  position: absolute;
  display: block;
  width: 100%;
  height: 150%;
  top: -12%;
}

/* Elements the original drove with jQuery and that now carry a click handler. */
a[role='button'],
[role='button'].mendi-accordion-panel,
.mendi-portfolio-filter ul li a,
.service-tile {
  cursor: pointer;
}

.iso {
  cursor: zoom-in;
}

/* Page-scoped overrides that lived in inline <style> blocks on the old pages. */
.page-about .mendi-row-fw {
  padding: 20px 0;
}

.page-services .mendi-fw-btm-border {
  border-bottom: 0;
}

/* Only the about page carried these extra .imgframe rules inline; the clients
   page uses the plain border + shadow from style.css. */
.page-about .imgframe {
  margin-right: auto;
  margin-left: auto;
  display: inherit;
  margin-bottom: 20px;
  margin-top: 10px;
}

.form-feedback {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: 3px;
}

.form-feedback.is-success {
  background: #eaf6ea;
  color: #2f6f31;
}

.form-feedback.is-error {
  background: #fdecea;
  color: #a5342b;
}

.mendi-contact-form .honeypot {
  display: none;
}

@media (max-width: 767px) {
  /* #logo is absolutely positioned, so its column collapses and the open menu
     would otherwise start underneath the logo. Clear the 53px header bar. */
  .main-nav > ul.show {
    margin-top: 53px;
  }
}
