/* 4West /home/ site styles */

:root {
  --fw-green: #006647;
  --fw-green-dark: #004d36;
  --hero-height: 407px;
}

/* ---- Header base ---- */
#header,
#header-wrap {
  height: 70px !important;
}

#header .container {
  position: relative;
  height: 70px;
}

#logo a.standard-logo {
  display: inline-block !important;
}

#logo a.retina-logo {
  display: none !important;
}

#header.split-menu #logo img {
  max-height: 48px;
  width: auto;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

/* ---- Desktop ---- */
@media (min-width: 992px) {
  #header.split-menu #logo {
    position: absolute !important;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100% !important;
    height: 70px !important;
    margin: 0 !important;
    float: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
  }

  #header.split-menu #logo a {
    display: inline-block !important;
    pointer-events: auto;
    line-height: 0;
    vertical-align: middle;
  }

  #header.split-menu #primary-menu {
    position: relative;
    z-index: 2;
    float: none !important;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #header.split-menu #primary-menu > ul {
    float: none !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 70px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent;
    box-shadow: none;
    border: 0;
  }

  #header.split-menu #primary-menu > ul > li {
    float: none;
    height: auto;
    margin: 0;
  }

  /* About left, Egan + Contact right */
  #header.split-menu #primary-menu > ul > li:nth-child(1) {
    margin-right: auto;
  }

  #header.split-menu #primary-menu > ul > li:nth-child(2) {
    margin-left: auto;
  }

  #header.split-menu #primary-menu > ul > li > div > a,
  #header.split-menu #primary-menu ul li > a {
    display: flex;
    align-items: center;
    height: 70px;
    padding: 0 22px !important;
    line-height: 1 !important;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 12px;
  }

  .mobile-nav-toggle,
  #mobile-nav-toggle {
    display: none !important;
  }
}

/* ---- Mobile ---- */
@media (max-width: 991.98px) {
  #header,
  #header-wrap {
    height: auto !important;
    min-height: 70px;
    overflow: visible !important;
    background: transparent !important;
    background-color: transparent !important;
  }

  #header-wrap {
    background: transparent !important;
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  #header .container {
    position: relative;
    display: block !important;
    height: auto !important;
    min-height: 70px;
    padding-left: 15px;
    padding-right: 56px;
    padding-bottom: 30px;
    background: transparent !important;
    background-color: transparent !important;
  }

  /* Hamburger top RIGHT */
  #mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute !important;
    right: 8px !important;
    left: auto !important;
    top: 11px !important;
    margin: 0 !important;
    width: 48px !important;
    height: 48px !important;
    z-index: 500 !important;
    cursor: pointer;
    color: var(--fw-green);
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
  }

  #mobile-nav-toggle .menu-icon {
    display: block;
    width: 22px;
    height: 16px;
    position: relative;
  }

  #mobile-nav-toggle .menu-icon span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--fw-green);
    border-radius: 1px;
    transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
  }

  #mobile-nav-toggle .menu-icon span:nth-child(1) { top: 0; }
  #mobile-nav-toggle .menu-icon span:nth-child(2) { top: 7px; }
  #mobile-nav-toggle .menu-icon span:nth-child(3) { top: 14px; }

  body.nav-open #mobile-nav-toggle .menu-icon span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
  }
  body.nav-open #mobile-nav-toggle .menu-icon span:nth-child(2) {
    opacity: 0;
  }
  body.nav-open #mobile-nav-toggle .menu-icon span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
  }

  #header.split-menu #logo {
    position: relative !important;
    width: 100% !important;
    height: 70px !important;
    margin: 0 !important;
    float: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: auto;
    background: transparent !important;
  }

  #header.split-menu #logo img {
    max-height: 40px;
  }

  #header.split-menu #primary-menu {
    display: block !important;
    float: none !important;
    width: 100%;
    height: auto !important;
    clear: both;
    position: relative;
    z-index: 450;
    background: transparent !important;
  }

  #header.split-menu #primary-menu > ul.mobile-nav-list {
    display: none;
    float: none !important;
    width: 100%;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }

  body.nav-open #header.split-menu #primary-menu > ul.mobile-nav-list {
    display: block !important;
  }

  #header.split-menu #primary-menu > ul > li {
    float: none !important;
    display: block;
    width: 100%;
    margin: 0 !important;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
  }

  #header.split-menu #primary-menu > ul > li > div > a,
  #header.split-menu #primary-menu ul li > a {
    display: block !important;
    height: auto !important;
    padding: 15px 20px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 13px;
    color: #333 !important;
  }

  #header.split-menu #primary-menu > ul > li > div > a:hover,
  #header.split-menu #primary-menu ul li > a:hover {
    color: var(--fw-green) !important;
    background: #f7faf8;
  }
}

/* ---- Hero carousel ---- */
#slider {
  background: #ffffff;
}

#oc-slider .owl-item a {
  display: block;
  overflow: hidden;
  height: var(--hero-height);
  background: #e8e8e8;
}

#oc-slider .owl-item a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

#oc-slider .owl-item {
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

@media (max-width: 991px) {
  #oc-slider .owl-item a,
  #oc-slider .owl-item a[style] {
    height: 320px !important;
  }
}

@media (max-width: 575px) {
  #oc-slider .owl-item a,
  #oc-slider .owl-item a[style] {
    height: 260px !important;
  }
}

/* ---- About ---- */
#section-about .about-title {
  color: var(--fw-green) !important;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 500;
}

#section-about .about-lead {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  color: #777;
  font-size: 1.125rem;
  line-height: 1.7;
}

#section-about .divider {
  margin-top: 28px;
}

/* ---- Egan section ---- */
#section-egan {
  padding-top: 10px;
  padding-bottom: 40px;
}

#section-egan .fancy-title h4 {
  color: #333;
  font-size: 15px;
  letter-spacing: 0.5px;
  line-height: 1.45;
}

#section-egan .egan-logo-link {
  display: inline-block;
  margin-top: 4px;
}

#section-egan .egan-logo-link img {
  max-width: 160px;
  height: auto;
}

#section-egan .iconlist {
  margin-top: 0;
}

#section-egan .iconlist li {
  margin: 12px 0;
  line-height: 1.4;
}

#section-egan .iconlist li i {
  color: var(--fw-green);
  top: 3px;
}

#section-egan .iconlist li a {
  color: var(--fw-green);
  font-size: 0.99rem;
  text-decoration: none;
}

#section-egan .iconlist li a:hover {
  color: var(--fw-green-dark);
  text-decoration: underline;
}

#section-egan .masonry-thumbs a {
  display: block;
  overflow: hidden;
  background: #f5f5f5;
}

#section-egan .masonry-thumbs a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---- Freight modal ---- */
.bs-example-modal-lg .modal-content {
  border-radius: 2px;
}

.bs-example-modal-lg .modal-body p {
  margin-bottom: 0.65rem;
  color: #333;
  font-size: 14px;
}

.bs-example-modal-lg .freight-rates p {
  padding-left: 20px;
}

.bs-example-modal-lg .freight-rates p:first-child {
  padding-left: 20px;
  margin-bottom: 1rem;
}

.bs-example-modal-lg .modal-header .close {
  font-size: 28px;
  opacity: 0.6;
}

/* ---- Footer ---- */
#footer.dark {
  background-color: #1c1c1c;
}

#footer .footer-widgets-wrap {
  padding: 50px 0;
}

#footer .footer-big-contacts {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.55;
}

#footer .footer-big-contacts a {
  color: #ffffff;
  text-decoration: none;
}

#footer .footer-big-contacts a:hover {
  color: #ffffff;
  text-decoration: underline;
}

#footer .footer-logo-col {
  text-align: right;
}

#footer .footer-logo-col img {
  max-width: 220px;
  height: auto;
  margin-top: 6px;
}

@media (max-width: 991px) {
  #footer .footer-logo-col {
    text-align: left;
    margin-top: 24px;
  }
}

/* ---- Go to top ---- */
#gotoTop {
  border-radius: 2px;
}

#gotoTop:hover {
  background-color: var(--fw-green) !important;
}

/* ---- Focus ---- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--fw-green);
  outline-offset: 2px;
}
