/*-- Header --*/

.header .navbar-dark .navbar-nav .nav-link {
  text-transform: uppercase;
  font-size: 0.85rem;
  line-height: 36px;
}

.cw-header-contact {
  padding: 0.75rem;
}

.header a.header-business-phone {
  font-weight: 700;
  font-size: 1.25rem;
  text-shadow: 1px 1px 3px black;
  padding: 0;
}

.header .header-business-phone:before {
  font-family: FontAwesome;
  content: "\f2a0";
  border-radius: 50%;
  margin-right: 0.5rem;
  padding: 8px 10px;
  color: white;
  border: 2px solid #222;
  font-size: 1rem;
  font-weight: normal;
  text-shadow: none;
  background: var(--color-theme-secondary);
}

.header .container {
  max-width: none;
  z-index: 2;
}

.header .header-info-logo-img {
  position: relative;
  z-index: 2;
  padding: 0.5rem 0;
}

.header .header-info-logo-img img {
  width: 260px;
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 12px 12px;
  background: rgb(255 255 255 / 100%);
}

@media (min-width: 768px) {
  .header .header-info-logo-img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
  }

  .header .header-info-logo-img img {
    border-radius: 0 0 15px 0;
    background: rgb(255 255 255 / 65%);
  }

  .cw-header-contact {
    position: absolute;
    z-index: 2;
    top: 3rem;
    width: 100%;
  }

  .header a.header-business-phone {
    font-size: 1.75rem;
  }
}

/*-- Subpages --*/

section:not(.page-home) .header {
  position: relative;
  min-height: 250px;
  padding-bottom: 0;
  background: #111
    url(https://apihoard.webit.com/api/v1/Image/85D740087FF08BFD11E3599063C9C61D/85D740087FF08BFD11E3599063C9C61D.jpg?size=1920x1440)
    no-repeat center center;
  background-size: cover;
}

section:not(.page-home) .header:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgb(0 0 0/42%);
}

/* Hero */
@media screen and (max-width: 812px) {
  .display-4 {
    font-size: 2rem;
  }

  h3,
  .h3 {
    font-size: 1.5em;
  }

  h5,
  .h5 {
    font-size: 1em;
  }
}

.webit__hero {
  position: relative;
  min-height: 450px;
  background-image: linear-gradient(
      rgba(101, 67, 33, 0.5),
      rgba(101, 67, 33, 0.5)
    ),
    url("https://apihoard.webit.com/api/v1/Image/111ADF0768AFD7F685A502AE101708F4/111ADF0768AFD7F685A502AE101708F4.jpg?size=800x600");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  .webit__hero {
    min-height: 700px;
    background-image: linear-gradient(
        rgba(101, 67, 33, 0.5),
        rgba(101, 67, 33, 0.5)
      ),
      url("https://apihoard.webit.com/api/v1/Image/111ADF0768AFD7F685A502AE101708F4/111ADF0768AFD7F685A502AE101708F4.jpg?size=1920x1440");
    margin-bottom: 0;
  }
}

@-webkit-keyframes divider {
  100% {
    height: 25%;
  }
}

@keyframes divider {
  100% {
    height: 25%;
  }
}

.webit__hero-divider {
  display: none;
}

@media screen and (min-width: 768px) {
  .webit__hero-divider {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    fill: #654321;
    height: 400%;
    -webkit-animation: divider 1.5s forwards;
    animation: divider 1.5s forwards;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
  }
}
