/* vars copied from index: */
/* responsive */
@-ms-viewport {
  width: device-width;
}
/* reponsive sizes */
.only-sm,
.only-md,
.only-lg,
.only-xl {
  display: none !important;
}
.inline-sm,
.inline-md,
.inline-lg,
.inline-xl {
  display: none;
}
@media only screen and (max-width: 799px) {
  .only-sm {
    display: block !important;
  }
  .inline-sm {
    display: inline;
  }
}
@media only screen and (min-width: 800px) and (max-width: 991px) {
  .only-md {
    display: block;
  }
  .inline-md {
    display: inline;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .only-lg {
    display: block;
  }
  .inline-lg {
    display: inline;
  }
}
@media only screen and (min-width: 1200px) {
  .only-xl {
    display: block;
  }
  .inline-xl {
    display: inline;
  }
}
.from-sm,
.from-md,
.from-lg,
.from-xl,
.from-inline-sm,
.from-inline-md,
.from-inline-lg,
.from-inline-xl {
  display: none;
}
@media only screen and (min-width: 0) {
  .from-sm {
    display: block;
  }
  .from-inline-sm {
    display: inline;
  }
}
@media only screen and (min-width: 800px) {
  .from-md {
    display: block;
  }
  .from-inline-md {
    display: inline;
  }
}
@media only screen and (min-width: 992px) {
  .from-lg {
    display: block;
  }
  .from-inline-lg {
    display: inline;
  }
}
@media only screen and (min-width: 1200px) {
  .from-xl {
    display: block;
  }
  .from-inline-xl {
    display: inline;
  }
}
@media only screen and (max-width: 799px) {
  .hidden-sm {
    display: none;
  }
}
@media only screen and (min-width: 800px) and (max-width: 991px) {
  .hidden-md {
    display: none;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .hidden-lg {
    display: none;
  }
}
@media only screen and (min-width: 1200px) {
  .hidden-xl {
    display: none;
  }
}
/* vars unique to home */
@font-face {
  font-family: 'Avenir Next';
  src: url(/files/assets/fonts/Avenir_Next_regular.woff2);
}
@font-face {
  font-family: AvenirNextUL;
  src: url(/files/assets/fonts/AvenirNext-UltraLight.woff2);
}
.avenirUL {
  font-family: AvenirNextUL;
}
.avenirNormal {
  font-family: 'Avenir Next';
}
canvas {
  position: fixed;
  left: 0;
  top: 150px;
  z-index: -1;
}
.fade-in {
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 0.5s;
}
@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
body.home {
  background: #2e6699;
}
body.home a:hover {
  text-shadow: none;
}
/* common sm navigation(homeFooter and main) */
#homeWrapper {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "header" "content" "footer";
}
@media only screen and (max-width: 799px) {
  #homeWrapper {
    grid-template-rows: 80px 1fr auto;
  }
}
#homeHeader {
  grid-area: header;
}
#homeHeader #shopButtons {
  margin-top: 15px;
  margin-right: 10px;
}
#homeLogo img {
  display: block;
  margin: 62px auto 32px auto;
}
#homeSearch form {
  display: flex;
  flex-wrap: nowrap;
}
#homeSearch form input,
#homeSearch form button {
  margin: 0;
}
#homeSearch form input {
  padding: 8px 16px;
  border-bottom: 0;
}
#homeSearch form input:focus {
  outline: medium solid #AC1917;
}
#homeSearch form button {
  width: 60px;
  background: #113E68;
}
#homeSearch form button:hover {
  background: #3a80c0;
  border: 1px solid #3a80c0;
}
#homeContent {
  grid-area: content;
  overflow: auto;
  margin: 0 auto 16px auto;
}
@media only screen and (min-width: 800px) {
  #homeContent {
    width: 768px;
  }
}
#homeContent h1 {
  color: #FFF;
  text-align: center;
  text-transform: uppercase;
}
@media only screen and (max-width: 799px) {
  #homeContent h1 {
    padding: 10px 3px;
    margin: 10px 0;
    border: 2px solid #FFF;
    border-left: none;
    border-right: none;
  }
}
#homeContent a {
  color: #FFF;
}
#homeContent .gridHome {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
  grid-template-rows: 1fr;
  grid-template-areas: "sh sh . ws ws";
}
#homeContent .gridHome div {
  text-align: center;
  font-family: 'Avenir Next';
}
#homeContent .gridHome .gridarealeft {
  grid-area: sh;
}
#homeContent .gridHome .gridarearight {
  grid-area: ws;
}
#homeContent .gridHome .gbox {
  display: flex;
  border-radius: 10%;
  height: 350px;
  background-repeat: no-repeat;
  background-position: center 40%;
  background-size: cover;
  align-items: flex-end;
  justify-content: center;
  transition: all ease 0.5s;
}
#homeContent .gridHome .gbox.wagon {
  background-image: url(/files/assets/iconShop4.svg);
  background-size: 80%;
}
@media only screen and (max-width: 799px) {
  #homeContent .gridHome .gbox.wagon {
    background-size: auto 60%;
  }
}
#homeContent .gridHome .gbox.repair {
  background-image: url(/files/assets/iconRepair4.svg);
  background-size: 80%;
}
@media only screen and (max-width: 799px) {
  #homeContent .gridHome .gbox.repair {
    background-size: auto 70%;
  }
}
#homeContent .gridHome .gbox span {
  transition: all ease 0.5s;
  font-size: 30px;
  text-transform: uppercase;
  padding-bottom: 10%;
}
#homeContent .gridHome a.gbox {
  text-decoration: none;
}
#homeContent .gridHome a.gbox:hover {
  background-color: rgba(44, 116, 184, 0.5);
  background-position-y: 30%;
}
#homeContent .gridHome a.gbox:hover span {
  color: #FFF;
  padding-bottom: 16%;
}
@media only screen and (max-width: 799px) {
  #homeContent .gridHome a.gbox:hover {
    background-color: rgba(44, 116, 184, 0);
  }
  #homeContent .gridHome a.gbox:hover span {
    padding-bottom: 6px;
  }
}
@media only screen and (max-width: 799px) {
  #homeContent .gridHome {
    display: block;
    margin: 0 0px;
  }
  #homeContent .gridHome .gbox {
    background-size: contain;
    background-color: rgba(44, 116, 184, 0);
    border: 1px solid #FFF;
    max-width: 280px;
    height: 23vh;
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
  }
  #homeContent .gridHome .gbox span {
    padding-bottom: 2px;
  }
}
#homeFooter {
  grid-area: footer;
  border-bottom: none;
  margin: 16px 0;
  display: block;
}
#homeFooter .footer-right {
  position: absolute;
  bottom: 8px;
  right: 10px;
  line-height: auto;
}
#homeFooter .footer-right .navigation-social {
  height: auto;
}
#homeFooter li a {
  color: #AAA;
}
#homeFooter li a:hover {
  color: #3a80c0;
}
#homeFooter #navigation {
  margin: 0 auto;
}
#homeFooter #navigation ul {
  margin-left: auto;
  margin-right: auto;
}
#homeFooter #navigation ul:nth-child(1) {
  width: 520px;
}
#homeFooter #navigation ul:nth-child(2) {
  width: 480px;
}
#homeFooter #navigation ul:nth-child(2) li {
  margin-right: 0;
}
@media only screen and (max-width: 799px) {
  #homeFooter #navigation {
    font-size: 0;
    position: absolute;
    top: 70px;
    left: 0;
    border-top: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
  }
  #homeFooter #navigation ul {
    width: 100% !important;
    width: device-width;
    margin: 0;
  }
  #homeFooter #navigation ul li {
    display: block;
  }
  #homeFooter #navigation ul li a {
    text-align: left;
    padding: 5px 15px;
    display: block;
    color: #FFF;
    background-color: #2e6699;
    font-size: 24px;
  }
  #homeFooter #navigation ul:nth-child(2) {
    margin-top: -4px;
    margin-bottom: -4px;
  }
}
