/*** GENERAL ***/

body, html {
  height: auto;
  margin: 0;
  font-size: 18px;
  font-size: min(3vw, 18px);
  font-family: "Lato", sans-serif;
  line-height: 1.6em;
  color: #666;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

a {
  color: #0564c8;
}

/*** HEADER ***/

header {
  text-align: center;
  top: 0px;
  left: 0px;
  position: relative;
  background-color: white;
}
header a {
  text-decoration: none;
  color: #0564c8;
}
.topcell img {
  width: 100%;
}
.main_menu {
  max-width: 1200px; 
  margin: 0 auto; 
  position: relative;
  display: flex;
  justify-content: space-between;
}
.main_menu__logo {
  display: block;
  width: 180px;
}
.main_menu__link {
  width: 110px; 
  height: 60px; 
  font-weight: 600; 
  color: #0564c8;
  display: block;
  padding: 15px 0;
}
.main_menu__link:hover {
  background-color: #0564c8;
  color: white;
}
.main_menu__link--highlighted {
  background-color: #0564c8; 
  color: white;
}
.main_menu__phone_number {
  margin-right: 3px;
  text-align: right;
  font-style: italic;
}

/*** STICKY MENU ***/

.menubar_all {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 199;
}
.menubar {
  width: 100%;
  background-color: #0564c8;
  /*position: sticky;*/
  top: 0;
  height: 50px;
  z-index: 2;
  color: white;
  font-weight: 600;
  line-height: 50px;
}
.dropcontainer {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
}
.dropdown {
  display: inline-block;
  font-family: "Lato", sans-serif;
  flex-grow: 1;
  position: relative;
}
.dropdown.store a {
  text-decoration: none;
  color: white;
  display: block;
}
.dropdown.store a:hover {
  color: #0564c8;
}
.dropbtn {
  background-color: #0564c8;
  color: white;
  font-size: .88em;
  font-weight: 600;
  line-height: 50px;
  text-align: center;
}
.dropdown-content {
  display: none;
  position: absolute; 
  left: 0px;
  font-weight: normal;
  letter-spacing: 1px;
}
.dropbtntouch {
  display: block;
  z-index: 100;  
}
.dropdown:hover .dropbtn, 
.dropdown:active .dropbtn,
.dropdown:hover .dropbtn a, 
.dropdown:active .dropbtn a,
.dropbtnclicked {
  background-color: lightblue; 
  color: #0564c8;
}
.dditems {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid grey;
  border-collapse: collapse;
  color: #0564c8;
  line-height: 18px;
  font-size: 0.72em;
  display: flex;
  flex-wrap: wrap;
}
.dditems img.spec {
   margin-top: 2px; 
   margin-left: 10px;
   height: 100%;
   width: auto;
   margin-right: 20px;
}
.dditems .rbit {
   margin-right: 10px;
}
.divcell {
  height: 79px;
  background-color: white; 
  overflow: hidden; 
  float: left;
  border: 1px solid #e6e6e6;
  text-decoration: none;
  flex: 1 1 24%;
  min-width: 299px;
  display: flex;
  justify-content: center;
}
.divcell:hover {
  border: 1px solid blue;
  z-index: 10;
}
.centext {
  font-size: 1.33em;
  font-weight: 600;
  text-align: center;
  margin-top: 30px;
  font-style: italic;
}
.lessbold {
  font-weight: normal;
}
.pimg1 {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url('../img/image1.webp');
  height: 35vw;
}
.grey-overlay {
  background: #999;
  opacity: 0.5;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.ptext2 {
        position: absolute;
             top: 35%;
           width: 100%;
      text-align: center;
           color: #000;
       font-size: 14.4em;
  letter-spacing: 8px;
         opacity: 0.9;
}
.ptext2 .border {
  color: #fff;
  padding: 0 20px;
}

/* Welcome to text */
.abovebord {          
  position: absolute;
  top: 1vw;
  left: 37.5vw;
  text-align: center;
  color: #fff;
  font-size: 2vw;
  letter-spacing: .6vw;
}

/* 3D Quador logo */
.d3 {
  width: 40vw;
  position: absolute;
  left: 30vw
}
.d3:hover {
  animation: shake 0.5s;
}
@keyframes shake {
    0% { transform: translate( 1px,  1px) rotate( 0deg); }
   10% { transform: translate(-1px, -2px) rotate(-1deg); }
   20% { transform: translate(-3px,  0px) rotate( 1deg); }
   30% { transform: translate( 3px,  2px) rotate( 0deg); }
   40% { transform: translate( 1px, -1px) rotate( 1deg); }
   50% { transform: translate(-1px,  2px) rotate(-1deg); }
   60% { transform: translate(-3px,  1px) rotate( 0deg); }
   70% { transform: translate( 3px,  1px) rotate(-1deg); }
   80% { transform: translate(-1px, -1px) rotate( 1deg); }
   90% { transform: translate( 1px,  2px) rotate( 0deg); }
  100% { transform: translate( 1px, -2px) rotate(-1deg); }
}
.section {
  text-align: center;
  padding: 50px 80px;
  position: relative;
}
.section-light {
  background-color: #eee;
  color: #666;
}
.pimg2, .pimg3, .pimg4, .pimg5, .pimg6, .pimg7 {
  position: relative;
  opacity: 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 30vw;
}
.pimg2 {
  background-image: url('../img/image2.webp');
}
.ptext {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  color: #000;
  font-size: 1.5em;
  letter-spacing: 8px;
  text-transform: uppercase;
}
.section-dark {
  background-color: #282e34;
  color: #ddd;
}
.pimg3 {
  background-image: url('../img/image3.webp');
}
.ptext .border.trans{
  background-color: transparent;
}
.section-quad {
  background-color: #0564c8;
  color: #fff;
}
a.online {
  color: white;
  text-decoration: none;
}
.pimg4 {
  background-image: url('../img/image4.webp');
  min-height: 400px;
}
.pimg5 {
  background-image: url('../img/image5.webp');
  min-height: 400px;
}
.pimg6 {
  background-image: url('../img/image6.webp');
  min-height: 400px;
}
.pimg7 {
  background-image: url('../img/image7.webp');
  min-height: 400px;
}
footer p {
  margin: 0;
  color: #006BCC;
}
.footerwrap {
  min-height: 175px;
  background-color: #FFFFFF;
  color: black;
}
.main-footer {
  margin: auto;
  background-color: white;
  min-height: 175px;
  max-width: 1200px;
  position: relative;
  display: flex;
  justify-content: space-between;
} 
.statement,
.footer_details,
.footer-logo {
  line-height: 2.5em;
  font-size: 0.83em;
  text-align: justify;
  margin: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer_details,
.footer-logo {
  line-height: 2em;
  justify-content: center;
}
.title {
  color: #006BCC;
  font-weight: 600;
  font-size: min(4vw, 1.22em);
}
.rock {
  height: auto;
}
.rock img {
  width: 130px;
}
.copyr {
  background-color: #0564c8;
  margin: 0 auto;
  color: white;
  text-align: center;
  padding-top: 10px;
  font-size: 0.8em;
  height: unset;
  position: relative;
}
.copyr p {
  font-size: 1.2em;
}
.moreinfo {
  padding-left: 10px;
}
.bullet::before {
  content: "▸";
  font-size: 0.75em;
  padding-right: 5px;  
}
.products_link {
  color: #ffffff;
}

@media(max-width: 1200px){
  .dropcontainer {
    max-width: 98vw;
  }
  .main_menu__phone_number {
    margin-right: 10px;
  }
}

@media(max-width: 820px){
  .main_menu__phone_number {
    display: none;
  }
  .main_menu {
    justify-content: space-between;
    justify-content: space-evenly;
  }
  .section {
    padding: 20px;
  }
  .pimg1 {
  }
  .pimg2, .pimg3, .pimg4, .pimg5, .pimg6, .pimg7 {
    background-attachment: scroll;
  }
  .footer-logo {
    display: none;
  }
  .section-heading {
    margin-top: 0;
  }
  .section p {
    margin-bottom: 0;
  }
}

@media(max-width: 720px){
}

@media(max-width: 630px){
  .footer-logo {
    display: flex;
  }
  .statement {
    display: none;
  }
  .footer_details {
    text-align: center;
  }
  .menubar,
  .footerwrap,
  .main-footer,
  .copyr {
    height: auto;
    padding-top: 0;
    padding: 0.3em; 
  }
  .main_menu__link {
    height: auto;
    width: 15vw;
    padding: 5px 0;
  }
  .main_menu__logo {
    width: 25vw;
  }
}

@media(max-width: 530px){
  .menubar {
    content: "Hamburger";
  }
}

h2 {
  margin: 0 0 10px;
}

.menubar_all {
  position: sticky;
}

#brandsSection,
#specialsSection,
#servicesSection,
#newProductsSection {
  padding: 10px 0;
}

#products,
#about {
  position: absolute;
  top: -100px;
}
#brands,
#specials,
#services,
#newProducts {
  position: absolute;
  top: -109px;  
}
#brands:active {
  background-color: pink;
}
.dropbtn a {
  color: white;
  text-decoration: none;
  background-color: none;
  top: 0; 
  right: 0; 
  bottom: 0; 
  left: 0;
}
