html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  overflow-x: hidden;
}
body {
  font-family: 'Barlow Condensed', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif !important;
  overflow-x: hidden;
}
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

:root {
  --global-orange: #ff8a1c;
  box-sizing: border-box;
}
html, body {
  color: white;
  background-color: #000;
  text-decoration-color: currentColor;
}
header {
  position: relative;
}
.row-logo {
  padding-block: 3vw;
}
.logo {
  text-align: end;
}
.logo img {
  width: 220px;
}
.certified {
  font-weight: bold;
}
header nav {
  display: inline-block;
  background: darkgray;
  text-align: end;
  padding: 6px;
  position: absolute;
  top: 50px;
  right: 0px;
  z-index: 2;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  transform: translateX(100%);
  transition: transform 0.5s ease-out;
}
#menubutton {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 44px;
  height: 44px;
  padding: 0 0 15px 25px;
}
.show-menu {
  transform: translateX(0);
}
header nav a {
  text-decoration: none;
  font-size: 1.3rem;
  display: block;
  padding: 0.3rem 0.5rem;
  border-bottom: 1px solid gray;
}
header nav a:last-child {
  border: 0;
}
header nav a:hover, header nav a:focus {
  background: var(--global-orange);
  color: black;
}
.customer-login {
  position: absolute;
  top: 80px;
  right: 15px;
}
.hero {
  display: flex;
  width: 100vw;
  aspect-ratio: 20 / 9;
  align-content: center;
  flex-wrap: nowrap;
}
.hero h1 {
  color: var(--global-orange);
  font-size: clamp(24px, 6vw, 100px);
  font-family: 'Poppins', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-style: italic;
  transform: translateY(-10vw);
  margin: auto;
}
.hero img {
  width: 40vw;
}
.home {
  background: url('../img/hero-home.jpg'), #999999;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about {
  background: url('../img/hero-about.jpg'), #999999;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hydraulics {
  background: url('../img/hero-hydraulics.jpg'), #999999;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.power-generation {
  background: url('../img/hero-power-generation.jpg'), #999999;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.pneumatic {
  background: url('../img/hero-pneumatic.jpg'), #999999;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.electro-mechanical {
  background: url('../img/hero-electro-mechanical.jpg'), #999999;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.commercial {
  background: url('../img/hero-commercial.jpg'), #999999;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.military {
  background: url('../img/hero-military.jpg'), #999999;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.certifications {
  background: url('../img/hero-certifications.jpg'), #999999;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.contact {
  background: url('../img/hero-contact.jpg'), #999999;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.gallery {
  background: url('../img/hero-gallery.jpg'), #999999;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.avflex {
  background: url('../img/hero-avflex.jpg'), #999999;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.certificates figure {
  display: inline-block;
}
.contact-avflex, .contact-avflex > * {
  color: #aaa;
  font-style: italic;
  text-align: right;
}
.contact-global a, .contact-avflex a {
  color: #009EEF;
}
.contact-form {
  padding: 12px;
  border-radius: 12px;
  background-color: #222;
}
h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: bold;
  text-align: center;
}
main h2 {
  text-wrap: balance;
}
h4 {
  font-size: 1.2rem;
  color: var(--global-orange);
}
p:not(address p), li {
  text-align: justify;
}
p::selection, li::selection {
  background: #ff8a1cde;
}
a {
  color: white;
}
a:hover {
  color: #ffe0b3;
}
img {
  max-width: 100%;
}
.bolder {
  font-weight: bold;
  font-size: 1.2em;
}
.parts h3 {
  font-weight: bold;
  color: var(--global-orange);
}
.parts a {
  text-decoration-color: var(--global-orange);
}
.gallery-item {
  background-color: var(--global-orange);
  aspect-ratio: 1 / 1;
}
.gallery-item img {
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.gallery-item img:hover {
  scale: 1.1;
}
#gallery-zoom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10;
  display: flex;
  -ms-flex-align: center;
  place-content: center;
  padding: 5vw;
  visibility: hidden;
}
#zoom-close {
  position: absolute;
  color: white;
  top: 1vh;
  right: 2vw;
  font-size: 5em;
  cursor: pointer;
}
#zoomPic {
  /* width: fit-content;
  height: auto; */
  scale: 0;
  opacity: 0;
  transition: all 0.75s ease-out;
  /* animation: 0.9s ease-in 0.2s 1 zoomIn; */
}
.zoomStyle {
  scale: 1 !important;
  opacity: 1 !important;
}
footer {
  background-color: #343434;
  border-top: 3px solid var(--global-orange);
}
#footer-logo, #footer-logo-avflex {
  width: 50%;
  max-width: 150px;
}
footer nav {
  padding: 0 1rem;
}
footer nav a {
  display: block;
  text-decoration: none;
  padding-left: 0.5rem;
}
.nobreak {
  white-space: nowrap;
}
.emailgroup {
  margin-left: 1em;
  text-indent: -1em;
}
.list-left {
  padding-left: 1rem;
}
.row>*:not(footer .row>*) {
  padding-right: calc(var(--bs-gutter-x) * 1);
  padding-left: calc(var(--bs-gutter-x) * 1);
}
figcaption {
  text-align: center;
}
.thanks {
  color: var(--global-orange);
  font-weight: 700;
  padding-top: 15px;
  text-align: center;
  visibility: hidden;
}
.modal {
  background: rgba(11,77,161,0.8);
}
@keyframes zoomIn {
  0% {
    opacity: 0;
    scale: 0%;
  }
  95% {
    opacity: 1;
    scale: 110%
  }
  100% {
    opacity: 1;
    scale: 100%;
  }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */
.hidden,
[hidden] {
  display: none !important;
}
.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}
.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}
.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}
.clearfix::after {
  clear: both;
}

/* Small devices (landscape phones, 576px and up) */
@media only screen and (min-width: 576px) {
  .customer-login {
    top: 60px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .customer-login {
    top: 50px;
  }
  #menubutton {
    display: none;
  }
  header nav {
    display: block;
    background: transparent;
    text-align: center;
    text-wrap: balance;
    position: relative;
    margin-bottom: 1rem;
    transform: none;
    top: 0;
  }
  header nav a {
    display: inline-block;
    padding: 3px 5px;
    border: 1px solid white;
    margin: 3px 0;
  }
  header nav a:last-child {
    border: 1px solid white;
  }
  nav a:hover, .current {
    background-color: var(--global-orange);
    color: black;
  }
  footer nav {
    padding: 0;
  }
  .footer-info > .col-md-4 {
    border-left: 1px solid white;
  }
}
/* Large devices (desktops, 992px and up) */
@media only screen and (min-width: 992px) {

}
/* X-Large devices (large desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  p, main li {
    font-size: 1.5rem;
  }
  main .col-md-7 {
    width: 70%;
  }
}
/* XX-Large devices (larger desktops, 1400px and up) */
@media only screen and (min-width: 1400px) {

}

@media only screen and (min-width: 35em) {

}

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

