/*
Theme Name: Hydro Chute Brochure
Author: The Design Bank
Author URI: https://thedesignbank.co.uk
Description: The Design Bank custom theme for WordPress
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

:root {
  --BrandRed: #db0032;
  --BrandBlue: #44a1da;
  --BrandDarkBlue: #111138;
  --TextLight: #ffffff;
  --TextDark: #111138;
  --ShadowColour: #00000029;
  --DBoranage: #ff5103;
}

@font-face {
  font-family: "Raleway-Regular";
  src: url("/wp-content/themes/hydrochutebrochure/assets/fonts/Raleway-Regular.otf")
    format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: "Raleway-Medium";
  src: url("/wp-content/themes/hydrochutebrochure/assets/fonts/Raleway-Medium.otf")
    format("truetype");
  font-weight: 500;
}
@font-face {
  font-family: "Raleway-SemiBold";
  src: url("/wp-content/themes/hydrochutebrochure/assets/fonts/Raleway-SemiBold.otf")
    format("truetype");
  font-weight: 600;
}
@font-face {
  font-family: "Raleway-Bold";
  src: url("/wp-content/themes/hydrochutebrochure/assets/fonts/Raleway-Bold.otf")
    format("truetype");
  font-weight: 700;
}
@font-face {
  font-family: "DIN-Condensed-Bold";
  src: url("/wp-content/themes/hydrochutebrochure/assets/fonts/DIN-Condensed-Bold.ttf");
  font-weight: 700;
}

@font-face {
  font-family: "Lato", sans-serif;
  src: url("/wp-content/themes/hydrochutebrochure/assets/fonts/Lato-Regular.ttf");
  font-weight: 400;
  font-style: normal;
}

html,
body {
  overflow-x: hidden;
  font-family: "Lato", sans-serif;
  scroll-behavior: smooth;
}

h1 {
  font-family: "Raleway-Bold", sans-serif;
  font-weight: bold !important;
  font-size: 50px;
}

h2 {
  font-family: "DIN-Condensed-Bold", sans-serif;
  font-weight: bold !important;
  font-size: 96px;
  text-transform: uppercase;
}

h3 {
  font-family: "Raleway-Bold", sans-serif;
  font-weight: bold !important;
  font-size: 64px;
  margin-bottom: 20px;
}

h4 {
  font-family: "Raleway-Bold", sans-serif;
  font-weight: bold !important;
  font-size: 42px;
}

h5 {
  font-family: "Raleway-Bold", sans-serif;
  font-weight: bold !important;
  font-size: 28px;
  margin-bottom: 2rem;
}

a {
  text-decoration: none;
  color: inherit;
}

p {
  font-family: "Raleway-Medium", sans-serif;
  font-size: 18px;
  margin-bottom: 2rem;
}

b,
strong {
  font-family: "Raleway-Bold", sans-serif;
}

input[type="checkbox"] {
  accent-color: red;
}

img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

video {
  width: 100%;
  border-radius: 5px;
}

footer {
  padding-top: 100px;
}

.row > div img {
  margin-bottom: 2rem;
}

.MobileMenu {
  display: none;
}

@media only screen and (min-width: 992px) {
  .mt-6 {
    margin-top: 6rem !important;
  }

  .mt-7 {
    margin-top: 7rem !important;
  }

  .mt-8 {
    margin-top: 8rem !important;
  }
}

.BgBox {
  padding: 120px 0;
}

.BgDBlue {
  background: var(--BrandDarkBlue);
  color: var(--TextLight);
}

.BgBlue {
  background: var(--BrandBlue);
  color: var(--TextLight);
}

.BgWhite {
  color: var(--TextDark);
}

.BgRed {
  background: var(--BrandRed);
  color: var(--TextLight);
}

h4.BgRed {
  padding: 15px 30px;
}

.WhiteText {
  color: #fff !important;
}

.WhiteText svg path.Progress {
  stroke: #fff;
}

@media only screen and (max-width: 991px) {
  .BgBox {
    padding: 40px 0;
  }
}

.justify-items-center {
  justify-items: center;
}

.Hide {
  display: none;
}

.HighlightGroup span {
  display: inline-block;
  padding: 0 5px;
}

.SectionTitle {
  display: block;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 4.8px;
  text-transform: uppercase;
  padding-bottom: 1.5rem;
}

@media only screen and (max-width: 991px) {
  .SectionTitle {
    margin-top: 20px;
  }
}

@media only screen and (min-width: 992px) {
  .top-indent {
    margin-top: -3rem;
  }
}

.NoBanner {
  position: relative;
  padding: 100px 0;
  width: 100%;
}

.NoBanner h2 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Side Nav */

.mobileMenu {
  display: none;
}

.SideNav ul {
  padding-left: 0px;
}

@media only screen and (max-width: 1500px) {
  .SideNav {
    left: 50px;
  }
}

@media only screen and (min-width: 992px) {
  .SideNav {
    top: 150%;
    position: absolute;
    width: 225px;
    top: 150%;
    left: 100px;
    z-index: 1000;
  }

  .SideNav.Fixed {
    position: fixed;
    top: 25%;
  }

  .SideNav ul li {
    list-style: none;
  }

  .SideNav ul li a {
    display: flex;
    align-content: bold;
  }

  .SideNav ul li a svg {
    width: 15px;
    min-width: 15px;
    margin-right: 5px;
    transition: all 0.5s ease-in;
    opacity: 0;
  }

  .SideNav > ul > li {
    margin-bottom: 15px;
  }

  .SideNav > ul > li > a {
    font-weight: bold;
  }

  .SideNav ul.sub-menu li {
    color: #b8b8c3;
  }
}
@media only screen and (max-height: 900px) {
  .SideNav {
    top: 170%;
  }
}
@media only screen and (max-height: 800px) {
  .SideNav {
    top: 180%;
  }
}
@media only screen and (max-height: 700px) {
  .SideNav {
    top: 190%;
  }
}
@media only screen and (max-width: 991px) {
  h2 {
    font-size: 80px;
  }

  .NoBanner {
    height: 500px;
  }
  .NoBanner svg {
    width: 250px;
    height: 250px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .MobileMenu {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    width: 50px;
    background: #fff;
    border-radius: 5px;
    padding: 5px;
    z-index: 10000;
  }

  .SideNav {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0px;
    right: 0;
    background: #fff;
    z-index: 1000;
    border-top: 1px solid #111138;
    display: none;
  }

  .SideNav ul {
    width: 100%;
    background: #fff;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    margin: 10px 0 15px 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .SideNav ul::-webkit-scrollbar {
    width: 0px;
  }

  .SideNav ul::-webkit-scrollbar-track {
    background: transparent;
  }

  .SideNav ul::-webkit-scrollbar-thumb {
    background: transparent;
  }

  .SideNav ul::-webkit-scrollbar-thumb:hover {
    background: transparent;
  }

  .SideNav ul li {
    scroll-snap-align: center;
  }

  .SideNav ul li {
    margin: 15px auto;
  }

  .SideNav ul li a {
    display: flex;
    font-size: 24px;
    line-height: 32px;
    justify-content: center;
    font-weight: bold;
    color: #8d918d;
  }

  .SideNav ul li.active a {
    color: #212529;
  }

  .SideNav ul li a svg {
    display: none;
  }
}

@media only screen and (max-width: 450px) {
  .NoBanner {
    height: 500px;
  }
  .NoBanner svg {
    width: calc(100% - 50px);
    height: calc(100% - 50px);
  }
}

@media only screen and (max-width: 1500px) {
  .container:not(.NoBanner) {
    max-width: calc(100% - 400px);
    margin: 0 50px 0 auto;
  }
}

@media only screen and (max-width: 991px) {
  .container {
    max-width: 100% !important;
    margin: 0 !important;
  }
}

/* Media Splash */

.SplashMedia {
  position: relative;
  height: 80vh;
  width: 100%;
  overflow: hidden;
}

.SplashMedia video {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  object-fit: cover;
  z-index: 20;
  border-radius: 0;
}

.SplashMedia .Logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  color: #fff;
}

.SplashMedia .Logo span {
  display: block;
  width: 320px;
  height: 180px;
  background-image: url(./assets/images/HydroChute.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin: 0 auto;
}

.SplashMedia .ScrollBox {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.SplashMedia .ScrollBox span {
  display: block;
  width: 100%;
  color: #fff;
  margin-bottom: 25px;
}

.SplashMedia .ScrollBox svg {
  display: block;
  margin: 0 auto;
}

/* Hydrochute Systems */

.Interact {
  position: relative;
}

.Interact .Pin {
  position: absolute;
  display: block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 18px;
  text-align: center;
  border-radius: 50%;
  background: var(--BrandDarkBlue);
  color: #fff;
  font-family: "Lato", sans-serif;
}

.Interact .Pin span {
  display: none;
  width: max-content;
  transform: translate(30px, -40px);
  background: #fff;
  color: #000;
  padding: 15px 25px;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.Interact .Pin:nth-of-type(1) {
  top: 7.5%;
  left: 50%;
}
.Interact .Pin:nth-of-type(2) {
  top: 40%;
  left: 60%;
}
.Interact .Pin:nth-of-type(3) {
  top: 42.5%;
  left: 40%;
}
.Interact .Pin:nth-of-type(4) {
  top: 50%;
  left: 55%;
}
.Interact .Pin:nth-of-type(5) {
  top: 80%;
  left: 57.5%;
}
.Interact .Pin:nth-of-type(6) {
  top: 82.5%;
  left: 27.5%;
}
.Interact .Pin:nth-of-type(7) {
  top: 87.5%;
  left: 60%;
}

/* Chute Hoopers */

.ChuteSystems {
}

.ChuteSystems .Hopper {
}

.ChuteSystems .Hopper:nth-child(n + 2) {
  margin-top: 200px;
}

.ChuteSystems .Hopper p {
  margin: 1rem 0;
}

.ChuteSystems .Hopper .IMG {
  width: 100%;
  height: 300px;
  background-position: center;
  background-repeat: no-repeat;
}

@media only screen and (max-width: 991px) {
  .ChuteSystems .Hopper .row > div {
    order: 2;
  }

  .ChuteSystems .Hopper .row > div:has(img) {
    order: 1;
  }

  .ChuteSystems .Hopper .row > div img {
    display: block;
    max-width: 500px;
    padding: 50px;
    margin: 0 auto;
  }

  .ChuteSystems .Hopper:nth-child(n + 2) {
    margin-top: 100px;
  }
}

/* Chute System Components */

.FullWIMG {
  width: 100%;
  aspect-ratio: 2 / 1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.TextOverlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

@media only screen and (min-width: 991px) {
  .OffsetRight {
    margin-top: 15px;
  }

  .OffsetRight p {
    width: 65%;
    float: right;
  }
}

.TxtBreak p {
  font-size: 42px;
}

/* Downloads */

.Download {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7f7f7;
  padding: 20px 25px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.TempSpacer {
  height: 400px;
}

.DownloadSearch {
  display: block;
  width: 70%;
  position: relative;
  margin: 0 auto;
}

.DownloadSearch::after {
  content: "";
  display: block;
  height: 20px;
  width: 20px;
  position: absolute;
  background-image: url("assets/images/Search.svg");
  right: 5px;
  top: 15px;
}

.DownloadSearch input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #111138;
  margin-bottom: 40px;
  padding: 10px 5px;
}

.DownloadSearch input::placeholder {
  color: #b4b4b4;
}

.Download label {
  flex: 0 0 30px;
  width: 30px;
}

.Download p {
  flex: auto;
  margin: 0;
}

.Download span {
  padding: 0px 45px;
  color: #b4b4b4;
}

.Download .DownloadLink {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background-image: url(./assets/images/Download.svg);
}

.CtrlBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.DownloadBtn {
  background: var(--BrandRed);
  color: #fff;
  padding: 12px 34px;
  border-radius: 15px;
}

@media only screen and (max-width: 991px) {
  .Download {
    padding: 15px;
  }
}

/* Testimonials */

.Testimonial a {
  display: block;
  height: 550px;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 10px;
}

.Testimonial a:before {
  content: "";
  width: 65px;
  height: 55px;
  position: absolute;
  background-image: url(./assets/images/Play.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.splide__list {
  transition: height ease 0.3s;
}

.splide__arrows .splide__arrow {
  background: transparent;
  height: 30px;
}

.splide__arrows .splide__arrow svg {
  fill: none;
  height: 30px;
}

.splide__arrows .splide__arrow svg path {
  stroke: var(--TextLight);
}

.splide__arrows .splide__arrow--prev {
  left: -50px;
}

.splide__arrows .splide__arrow--next {
  right: -50px;
}

@media only screen and (max-width: 1500px) {
  .splide__arrows .splide__arrow {
    top: calc(100% - 15px);
    height: 45px;
  }

  .splide__arrows .splide__arrow svg {
    height: 45px;
  }

  .splide__arrows .splide__arrow--prev {
    left: 25%;
  }

  .splide__arrows .splide__arrow--next {
    right: 25%;
  }
  .splide__track {
    padding-bottom: 30px;
  }
}
/* Credentials */

.Credential .IMG {
  width: 100%;
  height: 200px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.Credential p {
  font-size: 14px;
}

/* FaQ */

#Accordion {
  display: flex;
  flex-direction: column;
}

#Accordion .Item {
  overflow: hidden;
}

#Accordion .Item .Header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #d3d3d3;
  padding: 45px 0;
}

#Accordion .Item .Header span {
  display: block;
  height: 30px;
  width: 30px;
}

#Accordion .Item .Header .Number {
  color: var(--BrandBlue);
  font-size: 18px;
  font-weight: bold;
  text-align: left;
}

#Accordion .Item .Header h6 {
  font-size: 18px;
  flex: 1;
  margin: 0;
  padding: 0 5px;
}

#Accordion .Item .Header .Plus {
  position: relative;
}

#Accordion .Item .Header .Plus b {
  position: absolute;
  right: 0;
  width: 17px;
  height: 2px;
  background: var(--BrandDarkBlue);
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.7s ease-in;
}

#Accordion .Item .Header .Plus b:last-child {
  top: calc(50% - 1px);
  rotate: 90deg;
}

#Accordion .Item.Open .Header .Plus b:last-child {
  rotate: 0deg;
  opacity: 0;
}

#Accordion .Item .Content {
  min-height: 0;
  max-height: 0;
  width: calc(100% - 75px);
  margin: 0 auto;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  overflow: hidden;
}

#Accordion .Item.Open .Content {
  min-height: 100%;
  max-height: 100vh;
  padding: 25px 0 45px 0;
}

@media only screen and (max-width: 991px) {
  #Accordion {
    padding: 0px 20px;
  }
  #Accordion .Item .Content {
    width: 100%;
    text-align: center;
  }
  #Accordion .Item.Open .Content {
    max-height: 1000px;
  }
}

/* Footer */

.DB_Logo {
  background-image: url(assets/images/DB_Logo.svg);
  width: 150px;
  aspect-ratio: 6 / 1;
  background-position: bottom;
  background-repeat: no-repeat;
}

@media only screen and (max-width: 991px) {
  footer {
    padding-top: 50px;
  }
  .DB_Logo {
    display: table;
    width: 100%;
    height: 40px;
  }
}
