/**
 * 6.0 Header
 * -----------------------------------------------------------------------------
 */

header#mendi-masthead,
.mendi-search-container .mendi-search:before {
  -moz-transition: 0.1s ease-in-out;
  -webkit-transition: 0.1s ease-in-out;
  -o-transition: 0.1s ease-in-out;
  -ms-transition: 0.1s ease-in-out;
  transition: 0.1s ease-in-out;
}

header#mendi-masthead {
  width: 100%;
  padding: 30px 0;
}
header#mendi-masthead.mendi-std-header {
  padding: 0;
}
.header-main {
  width: 100%;
  clear: both;
  float: left;
  border-bottom: 1px solid #e9e9e9;
}

.transparent-header {
  position: fixed;
  z-index: 9999;
}
.no-sticky .transparent-header {
  position: absolute;
}

.transparent-header #logo {
  margin: 7px 0 0;
}
.transparent-header .header-main.sticky #logo {
  margin: 17px 0 0;
}

.mendi-std-header #logo a {
  display: table-cell;
  padding: 0;
  line-height: 95px;
  height: 95px;
  vertical-align: middle;
}

.logo-dark,
.header-main.sticky .logo-dark,
.transparent-header .logo-light,
#logo a.mendi-standard-logo {
  display: inline-block;
}
.logo-light,
.header-main.sticky .logo-light,
.transparent-header .logo-dark,
#logo a.mendi-retina-logo {
  display: none;
}

.header-main.sticky {
  background: #ffffff;
  padding: 0;
  border-bottom: 1px solid #f0f0f0;
  z-index: 9999;
  top: 0;
  position: fixed;
}

.header-main.sticky .main-nav > ul > li > a {
  color: #333333;
}

.mendi-std-header .header-main.sticky .main-nav > ul > li > a {
  line-height: 60px;
}

.mendi-std-header .header-main.sticky .main-nav > ul > li > div {
  line-height: 60px;
}

.header-main.sticky .mendi-search-container .mendi-search:before {
  color: #333333;
  line-height: 60px;
}

.transparent-header
  .header-main.sticky
  .mendi-search-container
  .mendi-search:before {
  line-height: 62px;
}

.mendi-std-header .header-main.sticky #logo a {
  line-height: 55px;
  height: 60px;
}

.mendi-header-with-topbar a,
.mendi-std-header .main-nav > ul > li > a,
.mendi-std-header .mendi-search-container .mendi-search:before {
  color: #333333;
}

.mendi-std-header {
  padding: 0;
}
.mendi-header-with-topbar .header-top {
  float: left;
}
.mendi-header-with-topbar .header-top .header-contact {
  float: left;
  width: auto;
  margin: 0;
}
.mendi-header-with-topbar .header-top ul.header-contact li {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0;
  padding: 10px 20px;
  float: left;
}
.mendi-header-with-topbar .header-top ul.header-contact li:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.mendi-header-with-topbar .header-top ul.header-contact li,
.mendi-header-with-topbar .header-top ul.header-contact li a {
  color: #cccccc;
}
.header-top .social-links-container {
  float: right;
  color: #cccccc;
  font-size: 12px;
  display: none;
}
.header-top .social-links-container p {
  float: left;
  line-height: 44px;
  margin: 0;
}
.header-top .mendi-social-links {
  margin-left: 30px;
  float: left;
}
.header-top .mendi-social-links li a {
  border: none;
  background: none;
  border-radius: 0;
  margin: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  width: 50px;
  text-align: center;
  height: 44px;
}
.header-top .mendi-social-links li a:before {
  border-radius: 0;
}
.header-top .mendi-social-links li:last-child a {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.header-top .mendi-social-links li i {
  color: #cccccc;
  line-height: 42px;
}
.header-top .mendi-social-links li a:hover i {
  color: #ffffff;
}
/*.mendi-header-with-topbar .header-main {
   padding: 30px 0;
 }
 .mendi-header-with-topbar .main-nav, .mendi-header-with-topbar .mendi-search-container {
   margin-top: 2px;
 }*/

/* Left Side Header */
@media (min-width: 767px) and (max-width: 2000px) {
  .mendi-left-pos-header {
    padding-left: 260px;
  }

  .mendi-left-side-header #logo {
    text-align: center;
    margin: 40px 0 0;
  }
  .mendi-left-side-header #logo a {
    display: inline-block;
  }
  .mendi-left-side-header #logo a.mendi-retina-logo {
    display: none;
  }

  #mendi-masthead.mendi-left-side-header {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 260px;
    z-index: 9999;
    padding: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    float: left;
  }
  .mendi-left-side-header .header-main,
  .mendi-left-side-header .mendi-container {
    width: 100%;
    height: 100%;
  }
  .mendi-left-side-header .header-main {
    background: #ffffff;
  }
  .mendi-left-side-header .header-main .mendi-row .mendi-col-10,
  .mendi-left-side-header .header-main .mendi-row .mendi-col-2 {
    width: 100%;
    position: inherit;
  }

  .mendi-left-side-header .main-nav > ul {
    margin: 40px 0 0;
    width: 100%;
  }
  .mendi-left-side-header .main-nav > ul li {
    width: 100%;
  }
  .mendi-left-side-header .main-nav ul li a {
    color: #333333;
    padding: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    padding: 15px 24px;
    line-height: normal;
  }
  .mendi-left-side-header .main-nav > ul > li:last-child a {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .mendi-left-side-header .mendi-std-header .main-nav ul li a,
  .mendi-left-side-header
    .mendi-std-header
    .header-main.sticky
    .main-nav
    > ul
    > li
    > a {
    padding-top: 14px;
    padding-bottom: 14px;
    line-height: normal;
  }
  .mendi-left-side-header .header-main .main-nav ul li > ul.mendi-sub-menu,
  .mendi-left-side-header .mendi-mega-menu-container {
    position: inherit;
    width: 100%;
    top: 0 !important;
    box-shadow: none;
    left: 0;
  }
  .mendi-left-side-header .header-main .main-nav ul li > ul.mendi-sub-menu ul {
    left: 0;
    position: inherit;
    clear: both;
  }
  .mendi-left-side-header
    .header-main
    .main-nav
    ul
    li
    > ul.mendi-sub-menu
    ul
    li
    a {
    padding-left: 60px;
  }
  .mendi-left-side-header
    .header-main
    .main-nav
    ul
    li
    > ul.mendi-sub-menu
    ul
    ul
    li
    a {
    padding-left: 80px;
  }
  .mendi-left-side-header .main-nav ul li > ul.mendi-sub-menu li a {
    padding-left: 40px;
    padding-right: 40px;
  }
  .mendi-left-side-header
    .header-main
    .main-nav
    ul
    li
    > ul.mendi-sub-menu
    ul
    li:hover
    a,
  .mendi-left-side-header
    .main-nav
    ul
    li
    .mendi-mega-menu-container
    li
    ul
    li:hover
    > a {
    padding-left: 65px;
  }
  .mendi-left-side-header
    .header-main
    .main-nav
    ul
    li
    > ul.mendi-sub-menu
    ul
    ul
    li:hover
    a {
    padding-left: 85px;
  }
  .mendi-left-side-header .main-nav ul li > ul.mendi-sub-menu li a:hover,
  .mendi-left-side-header
    .main-nav
    ul
    li
    .mendi-mega-menu-container
    li:hover
    > a {
    padding-left: 45px;
  }
  .mendi-left-side-header .main-nav ul li > ul.mendi-sub-menu li:last-child a {
    padding-bottom: 10px;
  }
  .mendi-left-side-header .mendi-mega-menu-container,
  .mendi-left-side-header .mendi-mega-menu-container > ul {
    width: 100% !important;
  }
  .mendi-left-side-header
    .mendi-mega-menu-container
    > ul
    li.mendi-mega-menu-title
    > a {
    margin: 0;
  }
  .mendi-left-side-header .mendi-mega-menu-container > ul {
    padding: 0;
  }
  .mendi-left-side-header .main-nav ul li .mendi-mega-menu-container a {
    padding: 13px 40px;
    color: rgba(0, 0, 0, 0.4);
  }
  .mendi-left-side-header
    .mendi-mega-menu-container
    > ul
    li.mendi-mega-menu-title
    ul
    li
    a {
    padding-left: 60px;
  }

  .mendi-left-side-header .mendi-mega-menu-container > ul li ul {
    display: none;
  }
  .mendi-left-side-header .mendi-mega-menu-container > ul li:hover ul {
    display: block;
  }

  .mendi-left-side-header .mendi-has-sub-menu > a:before {
    content: "\f105";
    top: 18px;
  }
  .mendi-left-side-header
    .mendi-mega-menu-container
    .mendi-has-sub-menu
    > a:before {
    content: "\f105";
  }
  .mendi-left-side-header .mendi-has-sub-menu:hover > a:before,
  .mendi-left-side-header
    .mendi-mega-menu-container
    .mendi-has-sub-menu:hover
    > a:before {
    content: "\f107";
  }
  .mendi-left-side-header
    .main-nav
    ul
    li
    > ul.mendi-sub-menu
    li:first-child
    a:before,
  .mendi-left-side-header
    .main-nav
    ul
    li
    > ul.mendi-sub-menu
    li:last-child
    a:before {
    top: 12px;
  }
  .mendi-left-side-header
    .mendi-mega-menu-container
    .mendi-has-sub-menu
    > a:before {
    top: 16px;
  }
  .mendi-left-side-header .mendi-search-container .mendi-search:before {
    color: #333333;
  }

  .mendi-left-side-header .mendi-social-links {
    margin: 40px 0 0;
    float: left;
    clear: both;
    width: 100%;
    text-align: center;
  }
  .mendi-left-side-header .mendi-social-links li {
    float: none;
    display: inline-block;
  }
  .mendi-left-side-header .mendi-social-links li a {
    margin: 0 10px 10px;
  }
}

/**
  * 6.1 Menu
  * -----------------------------------------------------------------------------
  */

.header-main .mendi-row .mendi-col-10 {
  position: inherit;
}

.main-nav {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Raleway", sans-serif;
}

.main-nav > ul {
  float: right;
  margin: 0;
}

.main-nav > ul > li {
  float: left;
  margin: 0;
  padding: 0;
  display: inline;
  position: relative;
}

.main-nav > ul > li > a {
  color: #333333;
  font-size: 18px;
  line-height: 95px;
  text-transform: uppercase;
  font-weight: 400;
  padding: 0 10px;
  display: inline-block;
}

.main-nav > ul > li > div {
  color: #333333;
  font-size: 18px;
  line-height: 95px;
  text-transform: uppercase;
  font-weight: 400;
  padding: 0 10px;
  display: inline-block;
}

.transparent-header .main-nav > ul > li > a {
  line-height: 43px;
  color: #ffffff;
}
.transparent-header .header-main.sticky .main-nav > ul > li > a {
  line-height: 63px;
}

/* Sub Menu */
.main-nav ul li > ul.mendi-sub-menu {
  position: absolute;
  top: 30px;
  left: 0px;
  display: none;
  background: #ffffff;
  width: 255px;
  margin: 0;
  padding: 0;
  z-index: 9999;
  box-shadow: 0 1px 3px 2px rgba(0, 0, 0, 0.05);
  padding-top: 20px;
  &:hover {
    display: block;
  }
  &::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 10px solid var(--green);
    border-right: 10px solid var(--green);
    border-bottom: 10px solid var(--green);
  }
}
.main-nav ul li:hover > ul.mendi-sub-menu {
  display: block;
}
.main-nav ul li > ul.mendi-sub-menu li,
.mendi-mega-menu-container > ul li {
  display: block;
  clear: both;
}
.main-nav ul li > ul.mendi-sub-menu li a,
.mendi-mega-menu-container > ul li a {
  padding: 10px 20px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  float: left;
  width: 100%;
  box-sizing: border-box;
}
.main-nav ul li > ul.mendi-sub-menu li a:hover,
.mendi-mega-menu-container > ul li a:hover {
  background: rgba(0, 0, 0, 0.03);
}
.main-nav ul li > ul.mendi-sub-menu li:first-child a {
  padding-top: 15px;
}
.main-nav ul li > ul.mendi-sub-menu li:last-child a {
  padding-bottom: 15px;
}
.main-nav ul li > ul.mendi-sub-menu li a:hover {
  padding-left: 25px;
}
.mendi-mega-menu-container ul li a:hover {
  padding-left: 15px;
}
.mendi-mega-menu-container > ul li.mendi-mega-menu-title > a:hover {
  padding-left: 10px;
}

.header-main .main-nav ul li > ul.mendi-sub-menu li.mendi-has-sub-menu {
  position: relative;
}
.header-main .main-nav ul li > ul.mendi-sub-menu ul {
  position: absolute;
  left: 230px;
  top: 0;
}
.transparent-header .header-main.sticky .main-nav ul li > ul.mendi-sub-menu ul {
  top: 0;
}
.mendi-has-sub-menu > a {
  position: relative;
}
.mendi-has-sub-menu > a:before {
  position: absolute;
  font-family: FontAwesome;
  right: 20px;
  top: 8px;
}
.mendi-sub-menu .mendi-has-sub-menu > a:before {
  content: "\f105";
}
.main-nav ul li > ul.mendi-sub-menu li:first-child a:before,
.main-nav ul li > ul.mendi-sub-menu li:last-child a:before {
  top: 14px;
}
.mendi-mega-menu-container .mendi-has-sub-menu > a:before {
  content: "";
}

/* Mega Menu */
.main-nav > ul > li.mendi-mega-menu {
  position: inherit;
}
.mendi-mega-menu-container {
  position: absolute;
  top: 95px;
  display: none;
  width: 1170px;
  background: #ffffff;
  left: 0px;
  z-index: 9999;
  box-shadow: 0 1px 3px 2px rgba(0, 0, 0, 0.05);
}
.mendi-mega-menu-container > ul {
  float: left;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  padding: 20px;
  margin: 0;
}
.mendi-mega-menu-container.col-4 > ul {
  width: 25%;
}
.mendi-mega-menu-container.col-3 > ul {
  width: 33.33333333%;
}
.mendi-mega-menu-container.col-2 > ul {
  width: 50%;
}
.mendi-mega-menu-container > ul:last-child {
  border-right: 0px;
}
.main-nav ul li.mendi-mega-menu:hover .mendi-mega-menu-container {
  display: block;
}
.mendi-mega-menu-container > ul li a {
  padding: 10px;
  line-height: normal;
}
.mendi-mega-menu-container > ul li.mendi-mega-menu-title > a {
  color: #333333;
  margin-bottom: 5px;
  font-weight: bold;
}
.mendi-mega-menu-container > ul li.mendi-mega-menu-title ul {
  padding: 0;
  margin: 0;
}
.transparent-header .mendi-mega-menu-container,
.transparent-header .main-nav ul li > ul.mendi-sub-menu {
  top: 43px;
}
.transparent-header .header-main.sticky .mendi-mega-menu-container,
.transparent-header .header-main.sticky .main-nav ul li > ul.mendi-sub-menu {
  top: 63px;
}
.header-main.sticky .mendi-mega-menu-container,
.header-main.sticky .main-nav ul li > ul.mendi-sub-menu {
  top: 60px;
}
/* Responsive Menu */
#mendi-responsive-menu-trigger {
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  font-size: 14px;
  position: absolute;
  top: 50%;
  margin-top: -25px;
  line-height: 38px;
  text-align: center;
  width: 60px;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
#mendi-responsive-menu-trigger i {
  color: #333333;
}

/**
  * 6.2 Search
  * -----------------------------------------------------------------------------
  */

.mendi-search-container {
  position: relative;
}

.mendi-search-container .mendi-search:before {
  color: #ffffff;
  line-height: 44px;
}
.mendi-std-header .mendi-search-container .mendi-search:before {
  line-height: 96px;
}

.mendi-search {
  /*position: relative;*/
  display: inline-block;
  min-width: 15px;
  text-decoration: none;
}

.mendi-search:before {
  font-family: FontAwesome;
  content: "\f002";
  font-size: 20px;
  color: #ffffff;
}
.mendi-search.search-is-visible:before {
  content: "\f057";
  color: #ffffff;
  font-size: 20px;
}

.mendi-search-form {
  position: absolute;
  height: 40px;
  width: 265px;
  top: 0px;
  right: 30px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
}
.mendi-search-form form {
  height: 100%;
  width: 100%;
}
.mendi-search-form input {
  border-radius: 0;
  border: none;
  background: #ffffff;
  height: 100%;
  width: 100%;
  padding: 0 7%;
  border-radius: 30px;
  background: #d9d9d9;
  /* Rethink Sans 18 Semibold */
  font-family: "Rethink Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  &::placeholder {
    color: var(--very-dark-blue);

    /* Rethink Sans 18 Semibold */
    font-family: "Rethink Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }
}

.mendi-search-form input:focus {
  outline: none;
}
.mendi-search-form.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}
.sticky .mendi-search-container .mendi-search-form {
  top: 60px;
}
.transparent-header .mendi-search-container .mendi-search-form {
  top: 40px;
}
.transparent-header .sticky .mendi-search-container .mendi-search-form {
  top: 63px;
}

/**
  * 6.3 Header Top
  * -----------------------------------------------------------------------------
  */

.header-top {
  float: right;
  width: 100%;
}

.header-top ul.header-contact {
  margin: 0 0 5px;
  float: right;
}

.header-top ul.header-contact li {
  display: inline;
  color: #ffffff;
  margin-left: 15px;
}

.header-top ul.header-contact li a {
  color: #ffffff;
  font-size: 12px;
}

.header-top ul.header-contact li i {
  margin-right: 5px;
}

/**
  * 7.0 Page Title & Breadcrumb
  * -----------------------------------------------------------------------------
  */
.mendi-title-holder {
  width: 100%;
  float: left;
  clear: both;
  color: #ffffff;
  padding: 65px 0;
  text-align: center;
}
.mendi-title-overlay {
  position: relative;
}
.mendi-title-overlay:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.mendi-title-holder h1 {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: normal;
  margin: 0;
  text-transform: uppercase;
  position: relative;
}
