@charset "UTF-8";
/* 
Theme Name:     Roesler Shop
Author:         Andreas <andreas@brandbeschleuniger.net>
Author URI:     http://brandbeschleuniger.net
Version:        1.0.0
Description:    Shop theme extending Storefront.
License:        UNLICENCED
Text Domain:    roesler-shop
Template:       storefront
WordPress Available:  no
Requires License:     no
*/

body {
  background: #fff;
  color: #666;
  font-family: Helvetica, 'sans-serif';
  margin: 0;
  padding: 0;
}


/** Icons */
.flag_en {
  background: url(https://www.roesler-tyres.com/wp-content/uploads/2018/08/en1.png) 0 2px no-repeat;
  width: 30px;
  height: 25px;
}

.flag_de {
  background: url(https://www.roesler-tyres.com/wp-content/uploads/2018/08/de1.png) 0 2px no-repeat;
  width: 30px;
  height: 30px;
}



/** Site Header */
.site-header {
  background-color: #fff;
  box-shadow: 0 2px 4px 2px rgba(0, 0, 0, .1);
  padding-top: 1em;
}
@media only screen and (min-width: 768px) {
  .site-header {
    background-color: #f9b400;
    box-shadow: none;
    padding-top: 2em;
  }
}

.site-header a {
  text-decoration: none !important;
}

.site-header .site-branding {
  position: relative;
  z-index: 11; /* higher than mobile menu */
}

.site-header .site-branding img {
  max-width: none;
}

.site-branding .logo.container {
  padding: 0;
  width: auto;
}

a.cart-contents:hover,
.site-header-cart:hover > li > a {
  color: #000;
}



/**
 * Main Navigation (Header)
 */
@media (min-width: 768px) {
  .storefront-primary-navigation .col-full {
    padding: 0;
    position: relative;
  }
}

@media (min-width: 768px) {
  .woocommerce-active .site-header .main-navigation {
    width: auto;
    float: right;
    margin-right: 0;
  }
}

@media (min-width: 768px) {
  .site-header-cart {
    background: #83919b;
    position: absolute;
    right: 0;
    top: 100%;
    width: auto;
  }

  .site-header-cart .cart-contents {
    padding: 1em;
  }
}

.main-navigation ul.nav-menu > li > a {
  color: #000;
}

@media (min-width: 768px) {
  .main-navigation ul.nav-menu {
    padding-bottom: 1.6em;
  }

  .main-navigation ul.menu > li > a,
  .main-navigation ul.nav-menu > li > a {
    padding: .3em .8em;
  }
}

.main-navigation ul.menu ul.sub-menu {
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
}

.main-navigation ul.menu ul.sub-menu,
.main-navigation ul.nav-menu ul.children {
  background: rgba(255,255,255,0.95)
}

.main-navigation ul li a {
  color: #111;
}

@media only screen and (min-width: 768px) {
  .main-navigation ul.sub-menu li {
    border-bottom: 1px solid #e6e6e6;
  }
}

.main-navigation ul li:hover > a,
.main-navigation ul.menu ul a:hover,
.main-navigation ul.menu ul li:hover > a,
.main-navigation ul.menu ul li.focus,
.main-navigation ul.nav-menu ul a:hover,
.main-navigation ul.nav-menu ul li:hover > a,
.main-navigation ul.nav-menu ul li.focus {
  background-color: transparent;
  color: #111;
}

.main-navigation ul li a {
  font-size: 1em;
  padding: .8em 0;
}
@media only screen and (min-width: 768px) {
  .main-navigation ul li a {
    padding: 7px;
  }
}

.main-navigation ul.menu ul li a,
.main-navigation ul.nav-menu ul li a {
  font-size: 1em;
  padding: 1.25em;
}

.main-navigation ul.menu > li.menu-item-has-children > a::after,
.main-navigation ul.nav-menu > li.menu-item-has-children > a::after {
  margin-left: .6em;
  opacity: .5;
}

/*.main-navigation div.menu:last-child,*/
.main-navigation .handheld-navigation {
  /*
  background: #fff;
  height: 100%;
  left: 15px;
  max-height: none !important;
  position: fixed;
  transform: translateX(100%);
  transition: all 300ms ease-out;
  top: 0;
  width: calc(100% - 15px);
  z-index: 10;
  */
  transition: all 300ms ease-out;
}

/*.main-navigation.toggled .menu > ul:not(.nav-menu),*/
.main-navigation.toggled .handheld-navigation {
  /*
  box-shadow: -2px 0 4px 2px rgba(0, 0, 0, .1);
  transform: translateX(0);
  */
  max-height: 1500px;
  transition: all 600ms ease-in;
}

.handheld-navigation .menu {
  padding-top: 3em;
}

.main-navigation .handheld-navigation > ul > li {
  border-top: 1px solid #e6e6e6;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.main-navigation .handheld-navigation > ul > li:last-child {
  border-bottom: 1px solid #e6e6e6;
}

.handheld-navigation .dropdown-toggle {
  margin: 0;
  position: static;
}

.main-navigation .handheld-navigation ul {
  width: 100%;
}

.main-navigation.toggled .handheld-navigation > ul ul a {
  padding: .8em 0;
}

.handheld-navigation ul.menu ul.sub-menu {
  box-shadow: none;
  transition: all 200ms ease-out;
}

.handheld-navigation ul.menu ul.sub-menu.toggled-on {
  max-height: 400px;
  padding-bottom: .8em;
  transition: all 500ms ease-in;
}




/** Site Footer */
.site-footer {
  background-color: #83919b;
  color: #fff;
  padding-bottom: 0;
}

.footer-title {
  color: #000;
  display: block;
  margin-bottom: 10px;
}

.footer-section {
  margin-bottom: 2em;
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .footer-section {
      text-align: left;
  }
}

.footer a,
.footer-section,
.site-footer a:not(.button):not(.components-button) {
  color: #fff;
  text-decoration: none;
}

.footer .break {
  clear: both;
  display: none;
}
@media only screen and (min-width: 768px) {
  .footer .break {
      display: block;
  }
}
@media only screen and (min-width: 1200px) {
  .footer .break {
    display: none;
  }
}

.footer-icons {
  display: flex;
  justify-content: center;
}
@media only screen and (min-width: 768px) {
  .footer-icons {
    justify-content: left;
  }
}

.footer-icons > * {
  margin: 0 5px;
}




/** Mobile Nav Toggler */
button.menu-toggle {
  background: none;
  border: none;
  font-size: 1em;
  overflow: hidden;
  padding: 0;
  width: 30px;
  top: .8em;
  z-index: 11; /* higher than mobile menu */
}

button.menu-toggle:focus {
  outline: 0;
}

button.menu-toggle span {
  display: block;
  text-indent: 100%;
  white-space: nowrap;
}

button.menu-toggle::before,
button.menu-toggle::after,
button.menu-toggle span::before {
  left: 0;
  width: 100%;
}

button.menu-toggle::before {
  -webkit-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  transform: translateY(-8px);
}

button.menu-toggle::after {
  -webkit-transform: translateY(4px);
  -ms-transform: translateY(4px);
  transform: translateY(8px);
}




/** Grid: Container */
@media (max-width: 66.4989378333em) {
  .col-full {
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
  }
}




/** Article List */
ul.products {
display: flex;
flex-wrap: wrap;
}

.products a {
  text-decoration: none !important;
}

.products,
.storefront-full-width-content .site-main ul.products.columns-3 {
  margin-left: -2%
}

.products .product,
.storefront-full-width-content .site-main ul.products.columns-3 li.product {
  border: 1px solid rgb(131,145,155);
  margin: 0 0 2% 2%;
  overflow: hidden;
  position: relative;
  width: 48%;
}
@media only screen and (min-width: 480px) {
  .products .product,
  .storefront-full-width-content .site-main ul.products.columns-3 li.product {
    width: 31.333%;
  }
}
@media only screen and (min-width: 768px) {
  .products .product,
  .storefront-full-width-content .site-main ul.products.columns-3 li.product {
    margin: 0 0 2% 2%;
    width: 23%;
  }
}
@media only screen and (min-width: 1000px) {
  .products .product,
  .storefront-full-width-content .site-main ul.products.columns-3 li.product {
    width: 18%;
  }
}

.products .product img {
  transform: translateX(3%) scale(.9);
}
@media only screen and (min-width: 480px) {
  .products .product img {
    transform: translateX(6%);
  }
}
@media only screen and (min-width: 1000px) {
  .products .product img {
    transform: translateX(6%) scale(1.1);
  }
}

ul.products li.product .woocommerce-loop-product__title {
  font-size: 20px;
}
