@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Open+Sans:ital,wght@0,300;0,700;1,300;1,700&display=swap');
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  text-align: center;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 21px;
  font-weight: 300;
}
* {
	margin:0;
	padding:0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
a[data-fancybox] {
  outline: 0;
}
::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;
}
b {
  font-weight: 700;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
header {
  box-shadow: 0px 7px 5px rgba(0,0,0,0.3);
  position: fixed;
  width: 100%;
  z-index: 11;
  background-color: white;
}
.logo {
  text-align: left;
}
.hero, .hero2 {
  padding-top: 97px;
}
.hero2 {
	background: url('../img/fas-slide03.jpg') no-repeat center/cover;
	width: 100vw;
	-webkit-aspect-ratio: 1920 / 967;
	aspect-ratio: 1920 / 967;
	position: relative;
	display: flex;
}
.hero2 h1 {
	font-family: "Bungee", Arial, sans-serif;
	font-size: clamp(24px, 9vw, 140px);
	color: white;
	text-shadow: 5px 5px 7px rgba(0, 0, 0, 0.5 );
	align-content: center;
	justify-content: center;
	text-wrap: balance;
	text-align: center;
	width: 100%;
	padding: 0 10%;
}
.container {
  padding: 1em;
}
.buffer-space {
  margin: clamp(30px, 2vw, 3rem ) 0px;
}
.buffer-space * {
  margin: 0px;
  padding: 0px;
}
h1, h3 {
  font-family: "Bungee", Arial, sans-serif;
  font-weight: 100;
  color: #2D2DA0;
}
h2 {
  color: #666;
  font-size: 1.5rem;
  margin: 1em 0px;
}
p {
  margin-bottom: 1em;
}
#menubutton {
  position: absolute;
  top: 30px;
  right: 10px;
  width: 40px;
}
nav {
  position: absolute;
  width: 100%;
  height: 0px;
  overflow-y: hidden;
  -moz-transition: height 0.7s ease-in;
  transition: height 0.7s ease-in;
  z-index: 10;
}
.nav-open {
  height: 360px;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav li {
  text-align: left;
  background-color: rgba(220, 220, 220, 0.9);
}
nav a {
  display: block;
  padding: 0.5em 1em;
  border-bottom: 1px solid #8b1820;
  text-decoration: none;
  color: #222;
}
nav a:hover {
  background-color: rgba( 226, 195, 195, 0.8 );
}
nav li ul li a {
  padding-left: 3em;
}
.submenu {
  display: block;
}
.summary {
  background-color: rgba(230, 230, 230, 0.3);
}
img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.cards {
  display: flex;
  flex-wrap: wrap;
}
.card {
  width: 50%;
  background-color: transparent;
  padding: 1em;
  font-size: 0.7em;
  display: flex;
  flex-direction: column;
  align-items: start;
  opacity: 0;
  transition: opacity 0.5s ease-in 1s;
}
.card img, .gallery img, .gallery3 img, .btn {
  -moz-transform-origin: center;
  transform-origin: center;
  transition: width,height 2s, 2s ease-in-out, ease-in-out 0.9s, 0.9s;
}
.card img:hover, .gallery img:hover, .gallery3 img:hover, .btn:hover {
  transform: scale(1.1);
}
.reveal {
  opacity: 1;
}
.cardgroup {
  font-family: "Bungee", "Arial-Black", "Arial Black", sans-serif;
  text-align: center;
  margin: 10px 0px 5px;
  width: 100%;
}
.btn {
  display: inline-block;
  line-height: 2.6em;
  padding: 0px 1em;
  color: #222;
  text-decoration: none;
  border: 1px solid #999;
  border-radius: 1.3em;
  margin-left: auto;
  margin-right: auto;
  background-color: #fafafa;
  margin-top: 10px;
  font-size: 0.7rem;
}
.btn:hover {
  background-image: linear-gradient( #a1dde2, #ceeaed 15% );
}
.cardbtn {
  width: 100%;
  align-self: flex-end;
}
.photo {
  margin: 0 auto;
}
.greenpanel {
  background-image: linear-gradient( #dff8e7, #a7dae6);
  padding: 2em 0px;
}
.greenpanel .container, .whitepanel .container, .titlebar {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.call2action, .stormpanel {
  padding: clamp(1.8rem, 5vw, 5rem) 1rem;
}
.call2action h2 {
	font-size: clamp(1.5rem, 5vw, 48px);
}
.row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.col33, .col50, .col66 {
  width: 100%;
  padding: 1em 0px;
}
.grid2 {
 display: grid;
 grid-template-columns: repeat( 2, 1fr );
 column-gap: 1em;
}
.stormpanel {
  background: url('../img/experience-bg.jpg') no-repeat center/cover;
}
.gallery, .gallery3 {
  display: grid;
  grid-template-columns: repeat( 2, 1fr );
  gap: 1em;
  margin-top: 2em;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.gallerypic {
  background-color: #e6e6e6;
}
.lightgraypanel {
  background-color: #ededed;
}
.graypanel {
  background-image: repeating-linear-gradient(-90deg, #505050 2%, #505050 4%, #606060 4%, #606060 6% );
  color: white;
  padding: 25px;
}
.logorev, .logotype {
  max-width: 200px;
}
footer {
  font-size: 16px;
  font-weight: bold;
}
footer a {
  color: white;
}
.contact {
  line-height: 2.5em;
}
.copyright {
  font-size: 0.65em;
  font-weight: 300;
}
.workers {
  display: grid;
  grid-template-columns: repeat( 3, 1fr);
  column-gap: 0.6em;
}
.logosfinance {
  font-size: 0.7em;
  text-align: center;
}
.logosfinance > img {
  width: 45%;
}
p.logosfinance {
  margin-top: 10px;
}
.logosdealer img {
  width: 60%;
}
figcaption {
  font-size: 0.8rem;
  font-style: italic;
  color: inherit;
}
video {
  width: 100%;
  max-width: 100%;
}
a[href^="tel:"] {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden,
[hidden] {
  display: none !important;
}
.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}
.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}
.invisible {
  visibility: hidden;
}
.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}
.center {
  text-align: center;
}


    /* Custom, iPhone Retina */
    @media only screen and (min-width : 320px) {

    }

    /* Extra Small Devices, Phones */
    @media only screen and (min-width : 480px) {
      .cards {
        flex-wrap: nowrap;
        max-width: 960px;
        margin-left: auto;
        margin-right: auto;
      }
      .row {
        flex-direction: row;
      }
      .col50 {
        width: 50%;
        padding: 1em;
      }
      .col33 {
        width: 33%;
        padding: 1em;
      }
      .col66 {
        width: 66%;
        padding: 1em;
      }
      .contact {
        text-align: center !important;
      }
      .address {
        text-align: right !important;
      }
      .gallery {
        grid-template-columns: repeat( 3, 1fr );
      }
      .startend {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }
    }

    /* Small Devices, Tablets */
    @media only screen and (min-width : 768px) {
      header {
        display: grid;
        grid-template-columns: repeat( 2, 1fr );
        padding-left: 5%;
        padding-right: 5%;
      }
      #menubutton {
        display: none;
      }
      nav {
        position: relative;
        width: 100%;
        height: auto;
        overflow-y: visible;
        z-index: 12;
        display: flex;
        align-items: center;
        justify-content: flex-end;
      }
      nav a {
        display: inline;
        padding: 0.5em 1em;
        border-bottom: 0;
        text-decoration: none;
        color: #222;
      }
      nav li {
        text-align: left;
        background-color: transparent;
        display: inline-block;
        position: relative;
      }
      nav li a {
        border-radius: 10px;
      }
      nav li a:hover {
        background-color: #efefef;
        box-shadow: inset -5px 5px 5px rgba(100, 100, 100, 0.2);
      }
      ul.submenu {
        display: none;
        background-color: white;
        position: absolute;
        top: 40px;
      }
      #products:hover ul.submenu {
        display: block;
      }
      #products::after {
        content: "";
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 10px solid #8b1820;
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translate( -50%, 0);
      }
      ul.submenu li {
        border-bottom: 1px solid #8b1820;
        width: 100%;
      }
      ul.submenu li a {
        box-shadow: none;
        border-radius: 0;
        padding-left: 1rem;
        display: block;
        white-space: nowrap;
      }
      ul.submenu li a:hover {
        background-color: #eee;
      }
      .col33, .col50, .col66 {
        text-align: left;
      }
      .container-small {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
      }
      .gallery {
        grid-template-columns: repeat( 4, 1fr );
      }
      .gallery3 {
        grid-template-columns: repeat( 3, 1fr );
      }
      .about {
        flex-wrap: wrap;
      }
      .about .card {
        width: 29%;
        margin: 1em;
      }
      .middle {
        align-items: center;
      }
      .greenpanel {
        background-image: url('../img/swirl.png'), linear-gradient( #dff8e7, #a7dae6 );
        background-position: 40% 45%, center;
        background-size: 100%;
        background-repeat: no-repeat, no-repeat;
      }
    }

    /* Medium Devices, Desktops */
    @media only screen and (min-width : 992px) {
      header {
        padding-left: 5vw;
        padding-right: 5vw;
      }
      .cards {
        max-width: 67vw;
      }
      .summary {
        background: url('../img/man-at-windows.jpg') no-repeat center top/cover;
      }
    }

    /* Large Devices, Wide Screens */
    @media only screen and (min-width : 1200px) {
    }

    @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 */
}

@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) ")";
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

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

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

  thead {
    display: table-header-group;
  }

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

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

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

