/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

.hpn #header {
  border-bottom: none;
}

.hpn #header-wrap {
  border-bottom: none !important;
}

.hpn .primary-menu {
  margin-left: 15px;
}

.hpn .full-header .tagline {
  display: inline-block;
  font-size: 15px;
  padding: 5px 7px;
  text-transform: uppercase;
  line-height: 20px;
  font-weight: 300;
  font-family: "Roboto Condensed", sans-serif;
}

.hpn .emphasis-title .tagline .last {
  letter-spacing: -0.7px;
}

@media (max-width: 575.98px) {
  .hpn #header {
    position: fixed;
    z-index: 100;
    width: 100%;
  }

  .slider-inner {
    margin-top: 70px;
  }

  .hpn .emphasis-title .tagline {
    font-size: 30px !important;
    letter-spacing: -1px;
  }

  .hpn .emphasis-title .tagline .last {
    letter-spacing: -0.3px;
  }

  .stretched .full-header #header-wrap > .container {
    padding-right: 0;
  }
}

.stretched .full-header #header-wrap > .container {
  padding-left: 0;
  max-width: none;
}

.hpn .emphasis-title .tagline {
  letter-spacing: 1px;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.7);
}

.hpn .emphasis-title .tagline .bright {
  color: white;
}

@media (min-width: 992px) {
  .hpn #logo {
    flex-flow: column;
  }

  .hpn .dark.full-header .tagline {
    opacity: 0;
  }

  .hpn .dark.header-size-custom #logo img {
    height: 150px;
  }

  .hpn .header-size-custom #logo img {
    height: 80px;
  }

  .hpn .header-size-custom .header-row {
    height: 70px;
  }

  .hpn #header.sticky-header #header-wrap,
  #header.full-header.border-full-header.sticky-header #header-wrap {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
}

#oc-past-work .oc-item {
  filter: grayscale(0%);
  opacity: 1;
  transition: 0.7s;
}

body:not(.device-touch) #oc-past-work .oc-item {
  filter: grayscale(90%);
  opacity: 0.4;
}

body:not(.device-touch) #oc-past-work .oc-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

#template-contactform-submit.error {
  pointer-events: none;
  opacity: 0.2;
}

#template-contactform .is-invalid {
  border-color: red !important;
}

.bg-overlay-bg {
  /* backdrop-filter: blur(3px); */
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0);
}

.portfolio-image-div {
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #f9f9f9;
  background-size: cover;
  background-position: center;
  padding-top: 75%;
  filter: grayscale(0%);
  transition: 0.7s;
}

body:not(.device-touch) .portfolio-image-div {
  filter: grayscale(80%);
  opacity: 0.6;
}

body:not(.device-touch) .portfolio-image:hover .portfolio-image-div {
  filter: grayscale(0%);
  opacity: 1;
}

.office-images .portfolio-item:nth-of-type(1) .portfolio-image-div {
  padding-top: calc(3 / 3 * 100%);
}

.office-images .portfolio-item:nth-of-type(2) .portfolio-image-div {
  padding-top: calc(2 / 3 * 100%);
}

.office-images .portfolio-item:nth-of-type(3) .portfolio-image-div {
  padding-top: calc(2.5 / 3 * 100%);
}

.office-images .portfolio-item:nth-of-type(4) .portfolio-image-div {
  padding-top: calc(3.5 / 3 * 100%);
}

.office-images .portfolio-item:nth-of-type(5) .portfolio-image-div {
  padding-top: calc(3 / 3 * 100%);
}

.office-images .portfolio-item:nth-of-type(6) .portfolio-image-div {
  padding-top: calc(2 / 3 * 100%);
}

.office-images .portfolio-item:nth-of-type(7) .portfolio-image-div {
  padding-top: calc(2 / 3 * 100%);
}

@media (max-width: 991.98px) {
  .office-images .portfolio-item:nth-of-type(2) .portfolio-image-div {
    padding-top: calc(2.5 / 3 * 100%);
  }

  .office-images .portfolio-item:nth-of-type(3) .portfolio-image-div {
    padding-top: calc(3.5 / 3 * 100%);
  }

  .office-images .portfolio-item:nth-of-type(4) .portfolio-image-div {
    padding-top: calc(4 / 3 * 100%);
  }

  .office-images .portfolio-item:nth-of-type(5) .portfolio-image-div {
    padding-top: calc(1.5 / 3 * 100%);
  }

  .office-images .portfolio-item:nth-of-type(6) .portfolio-image-div {
    padding-top: calc(3 / 3 * 100%);
  }
}

@media (max-width: 767.98px) {
  .office-images .portfolio-item:nth-of-type(5) .portfolio-image-div {
    padding-top: calc(2 / 3 * 100%);
  }
}

.side-panel-wrap {
  background-image: url(../images/hpn_logo_watermark.jpg);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 300px;
}

.slider-inner {
  background-size: auto 120%;
}

h2.about-title {
  max-width: 700px;
  font-size: 40px;
  margin-bottom: 0 !important;
  background-color: #f9f9f9;
  color: #444;
  padding: 15px 0;
}

/* .mobile-parallax {
  background-size: cover !important;
  background-position: center center !important;
}

*/
@media (max-width: 575.98px) {
  .mobile-parallax {
    background-size: auto 130% !important;
    background-position: top !important;
  }

  h2.about-title {
    font-size: 28px;
    padding: 5px 0;
  }

  h2.first-section-title {
    font-size: 28px !important;
  }

  h2.aep-title {
    font-size: 1.3rem;
  }
}

.features .col-padding {
  padding: 3rem 1rem;
}

@media (min-width: 1024px) {
  #section-about .parallax {
    padding: 12vh 0 !important;
  }
}

.grecaptcha-badge {
  visibility: hidden;
}

@supports (-webkit-touch-callout: inherit) {
  .parallax {
    background-size: cover !important;
    background-attachment: scroll !important;
    background-position: center center !important;
  }
}
