/*
 Theme Name:   Eartech Storefront
 Theme URI:    https://www.eartech.se/
 Description:  Eartech Woocommerce Storefront Child Theme
 Author:       Vilhelm von Platen
 Author URI:   https://www.platendesign.com
 Template:     storefront
 Version:      2.0
*/

@import url('https://fonts.googleapis.com/css?family=Titillium+Web');

.page, a, h1, h2, h3, h4, h5, body, button, input, select, textarea {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 400;
}
.button {
  border-radius: 32px;
}
#page a {
  text-decoration: none;
}
p {
	font-size: 20px;
}

/* ----- HEADER ----- */

header#masthead .col-full {
  max-width: 1200px;
}
header#masthead {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  border: 0;
  min-height: 100px;
}
header#masthead .site-branding {
  width: 150px;
  margin: 0;
  position: relative;
  top: 25px;
}

header#masthead nav.secondary-navigation {
  margin: 25px 0 0 25px;
  width: 50%;
}
@media (max-width:1024px) {
  header#masthead .site-branding {
    width: 14.6vw;
    min-width: 120px;
  }
  header#masthead nav.secondary-navigation {
    margin: 25px 0 0 2.4vw;
  }
}
header#masthead nav.secondary-navigation .menu {
  float: left;
}
header#masthead nav.secondary-navigation .menu a {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .15em;
  padding: 5px;
}
header#masthead nav.secondary-navigation .menu a:hover {
  background-color: #0099cc;
  border-radius: 4px;
}

/* ----- STANDARD MENU ----- */
header#masthead nav.main-navigation {
  width: 100%;
}
header#masthead nav.main-navigation .primary-navigation {
  width: 63%;
  margin: -15px 0 0 190px;
}
header#masthead nav.main-navigation .primary-navigation li{
  margin: 0;
}
header#masthead nav.main-navigation .primary-navigation li:hover {
  background-color: #0099cc;
  border-radius: 8px;
}
header#masthead nav.main-navigation .primary-navigation a {
  font-size: 25px;
  padding: 0 7px;
}
header#masthead nav.main-navigation .primary-navigation .sub-menu {
  z-index: 999999999;
  margin-top: -4px;
  padding-bottom: 8px;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
header#masthead nav.main-navigation .primary-navigation .sub-menu .sub-menu {
  margin-left: -3px;
}
header#masthead nav.main-navigation .primary-navigation .sub-menu a {
  font-size: 16px;
  text-transform: capitalize;
}
header#masthead nav.main-navigation button.menu-toggle {
  border-radius: 25px;
  border-width: 1px;
}
@media (max-width:1024px) {
  header#masthead nav.main-navigation .primary-navigation a {
    font-size: 2.4vw;
    padding: 0 7px;
  }
  header#masthead nav.main-navigation .primary-navigation {
    margin: -15px 0 0 calc(18.4vw);
  }
}


/* ----- HAMBURGER MENU ----- */

@media (max-width: 768px) {
  #masthead .storefront-primary-navigation > .col-full #site-navigation button.menu-toggle {
    border: none;
    padding: 15px;
    height: 60px;
    width: 60px;
    margin: 20px 20px 0 0;
  }
  #masthead .storefront-primary-navigation > .col-full #site-navigation button.menu-toggle span {
    color: rgba(0, 0, 0, 0);
    font-size: 8px;
  }
  button.menu-toggle::before, button.menu-toggle::after, button.menu-toggle span::before {
    height: 4px;
    width: 30px;
    border-radius: 0;
    left: unset;
  }
  button.menu-toggle::before {
  -webkit-transform: translateY(-12px);
  -ms-transform: translateY(-12px);
  transform: translateY(-12px);
  }
  button.menu-toggle::after {
  -webkit-transform: translateY(12px);
  -ms-transform: translateY(12px);
  transform: translateY(12px);
  }
  #masthead .storefront-primary-navigation > .col-full {
    margin: 0;
  }
  #masthead .storefront-primary-navigation > .col-full #site-navigation .handheld-navigation a {
    font-size: 20px;
    padding: 12px 0 12px 25px;
  }
  #masthead .storefront-primary-navigation > .col-full #site-navigation .handheld-navigation .dropdown-toggle {
    font-size: 30px;
    padding: 5px 25px;
  }
  #masthead .storefront-primary-navigation > .col-full #site-navigation .handheld-navigation .dropdown-toggle::after {
    content: "\f13a";
    font-size: 30px;
  }
  #masthead .storefront-primary-navigation > .col-full #site-navigation .handheld-navigation ul li > ul {
    margin: 0;
  }
  #masthead .storefront-primary-navigation > .col-full #site-navigation .handheld-navigation ul li > ul > li > a {
    background-color: #0093c9;
    padding-left: 50px;
  }
}


/* ----- MEGA MENU -----*/

body.mega-menu-primary header#masthead nav.main-navigation {
  width: 65%;
  margin: -20px 0 0 180px;
}
header#masthead .main-navigation #mega-menu-wrap-primary {
  background-color: rgba(0,0,0,0);
  z-index: 999999999;
}
@media (max-width: 767px) {
  header#masthead .main-navigation #mega-menu-wrap-primary {
    display: none;
  }
  body.mega-menu-primary header#masthead nav.main-navigation {
    width: 100%;
    margin: 0;
  }
}
@media (max-width:1024px) and (min-width:768px) {
  body.mega-menu-primary header#masthead nav.main-navigation #mega-menu-primary > li > a {
    font-size: 2.4vw;
  }
  body.mega-menu-primary header#masthead nav.main-navigation #mega-menu-primary > li > a {
    font-size: 2.4vw;
  }
  body.mega-menu-primary header#masthead nav.main-navigation {
    margin: 20px 0 0 2.617924em;
	width: 100%;
  }
}


/* ----- SEARCH ----- */
header#masthead .site-search {
  position: relative;
  top: 50px;
  clear: none;
  z-index: 9999999;
  width: 18%;
}
header#masthead .site-search form::before{
  content: none;
}
header#masthead .site-search input {
  height: 40px;
  border: 1px rgba(255,255,255,0.75) solid;
  border-radius: 20px;
  background-color: rgba(0,200,220,0);
  box-shadow: none;
  padding: 5px 15px;
}
header#masthead .site-search input:focus {
  outline: none;
  background-color: rgba(255,255,255,1);
  box-shadow: inset 1px 1px 4px rgba(0,0,0,0.5);
  border-width: 0;
}
header#masthead .site-search input::placeholder {
  color: rgba(255,255,255,1);
}
header#masthead .site-search button {
  width: 30px;
  height: 30px;
  background-color: #00aadd;
  border-radius: 15px;
  clip: unset;
  clip-path: unset;
  -webkit-clip-path: unset;
  top: 6px;
  right: 6px;
  left: auto;
  text-indent: 30px;
  color: #ffffff;
  z-index: 99999999;
}
header#masthead .site-search button:hover {
  background-color: #0099cc;
}
header#masthead .site-search input:focus+button {
  box-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
header#masthead .site-search button::before {
  content: "\f002";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 3px;
  left: 7px;
  text-indent: 0;
}
@media (max-width:1024px) {
  header#masthead .site-search {
    top: 4.9vw;
  }
}


/* ----- BREADCRUMB ----- */
@media (max-width: 767px) {
  .storefront-breadcrumb {
    display: none;
  }
}
@media (max-width: 1024px) {
  .storefront-breadcrumb nav.woocommerce-breadcrumb {
    font-size: 1.7vw;
  }
}
.storefront-breadcrumb {
  position: relative;
  padding: 0;
  margin: 0;
  font-size: 20px;
  background-color: #00aadd;
  z-index: 9;
  height: 35px;
}
.storefront-breadcrumb .col-full {
  max-width: 1100px;
  padding: 0 50px;
  margin: 0 auto;
}
.storefront-breadcrumb nav.woocommerce-breadcrumb {
  color: #ffffff;
}
.storefront-breadcrumb nav.woocommerce-breadcrumb a:first-child::before {
  content: none;
}
.storefront-breadcrumb nav.woocommerce-breadcrumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.storefront-breadcrumb nav.woocommerce-breadcrumb a:hover {
  color: rgba(255,255,255,1);
}


/* ----- HEADER CART ----- */

@media (max-width: 1024px) {
  header#masthead #site-header-cart .cart-contents {
    font-size: 1.7vw;
  }
}
body.home header#masthead #site-header-cart {
  top: -200px;
}
header#masthead #site-header-cart {
  position: relative;
  top: 28px;
  width: 20%;
  min-width: 250px;
}
header#masthead #site-header-cart > li > a {
  position: relative;
  z-index: 99999999;
  padding: 0 15px;
  font-size: 17.5px;
}
header#masthead #site-header-cart:hover > li > a {
  color: #333333;
}
header#masthead #site-header-cart .widget_shopping_cart {
  box-shadow: 0 5px 10px rgba(0,0,0,0.5);
  padding-top: 55px;
  margin-top: -40px;
  background-color: #ffffff;
}
header#masthead #site-header-cart .widget_shopping_cart p {
  background-color: #ffffff;
  color: #333333;
}
header#masthead #site-header-cart .mini_cart_item {
  padding: 15px;
}
header#masthead #site-header-cart .mini_cart_item .remove::before {
  color: #cc0000;
}
header#masthead #site-header-cart .mini_cart_item .remove:hover::before {
  color: #ff0000;
}
header#masthead #site-header-cart .button {
  border-radius: 20px;
}
header#masthead #site-header-cart .mini_cart_item a {
  color: #333333;
}
header#masthead #site-header-cart .mini_cart_item span {
  color: #666666;
}


/* ----- CONTENT ----- */

body.fl-builder #content .col-full {
  max-width: 100%;
  padding: 0;
}
body.fl-builder #content header.entry-header {
  display: none;
}
@media (max-width: 1200px) {
  body.fl-builder #content .col-full {
    margin: 0;
  }
}
body.fl-builder #content .author {
  max-width: 1100px;
  margin: 0 auto;
}
body.fl-builder #content .author .author-picture img {
  border-radius: 50px;
  float: left;
  margin-right: 25px;
}
body.fl-builder #content .author .author-name::after {
  color: #aaaaaa;
  font-size: 15px;
  content: "Artikelförfattare:";
  position: absolute;
  top: 0px;
  left: 125px;
}
body.fl-builder #content .author .author-name {
  font-size: 20px;
  position: relative;
  padding-top: 25px;
}
body.fl-builder #content .author .author-bio {

}
/* ----- PRODUCT ----- */

body.single-product #content {
  padding-top: 40px;
  background-color: #f0f0f0;
}
body.single-product #content .col-full {
  max-width: 100%;
  padding: 0;
}
body.single-product #content .col-full .product{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
body.single-product #content .col-full .product .woocommerce-product-gallery {
  max-width: 400px;
  margin-right: 50px;
  width: 30%;
}
body.single-product #content .col-full .product .flex-viewport {
  max-width: 400px;
}
body.single-product #content .col-full .product .entry-summary {
  max-width: 650px;
  width: 60%;
  display: flex;
  flex-wrap: wrap;
}
body.single-product #content .col-full .product .entry-summary h1.product_title {
  order: 1;
  width: 100%;
  margin-bottom: 10px;
  font-size: 30px;
}
body.single-product #content .col-full .product .entry-summary .price {
  order: 3;
  margin: 0 20px 0 0;
  font-size: 30px;
}
body.single-product #content .col-full .product .entry-summary .woocommerce-product-details__short-description {
  order: 2;
  width: 100%;
  border-top: 1px #dddddd solid;
  margin-bottom: 20px;
  padding-top: 10px;
  font-size: 20px;
}
body.single-product #content .col-full .product .entry-summary form.cart {
  order: 4;
  width: 250px;
  padding: 0;
  margin: 0;
}
body.single-product #content .col-full .product .entry-summary form.cart .quantity {
  margin-right: 0;
}
body.single-product #content .col-full .product .entry-summary form.cart .quantity input {
  border-top-left-radius: 22px;
  border-bottom-left-radius: 22px;
  background-color: #ffffff;
  box-shadow: inset 1px 1px 4px rgba(0,0,0,0.5);
}
body.single-product #content .col-full .product .entry-summary form.cart button.single_add_to_cart_button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 32px;
  border-bottom-right-radius: 32px;
  background-color: #00aadd;
}
body.single-product #content .col-full .product .entry-summary form.cart button.single_add_to_cart_button:hover {
  background-color: #0099cc;
}
body.single-product #content .col-full .product .entry-summary .product_meta {
  order: 5;
  margin-top: 50px;
}
body.single-product #content .col-full .product .entry-summary .product_meta span {
  color: #999999;
}
body.single-product #content .col-full .product .entry-summary .product_meta a {
  font-weight: 400;
  text-decoration: none;
  color: #999999;
}
body.single-product #content .col-full .product .entry-summary .product_meta a:hover {
  color: #666666;
}
body.single-product #content .col-full .product .wc-tabs-wrapper {
  background-color: #ffffff;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 40px 0 0;
}
body.single-product #content .col-full .product .wc-tabs-wrapper .wc-tabs {
  max-width: 400px;
  width: 30%;
  margin-right: 50px;
}
body.single-product #content .col-full .product .wc-tabs-wrapper .panel {
  width: 60%;
  max-width: 650px;
}
body.single-product #content .col-full .product .related {
  width: 100%;
  background-color: #e0e0e0;
  padding-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
body.single-product #content .col-full .product .related h2 {
  background-color: #e0e0e0;
  width: 100%;
}
body.single-product #content .col-full .product .related .products {
  max-width: 1100px;
}
body.single-product #content .col-full .product .related .products .product a {
  padding: 10px;
  border-radius: 13px;
}
body.single-product #content .col-full .product .related .products .product a:hover {
  background-color: #d0d0d0;
}
body.single-product #content .col-full .product .related .products .product a .woocommerce-loop-product__title {
  background-color: rgba(0, 0, 0, 0);
}
body.single-product #content .col-full .product .related .products .add_to_cart_button {
  display: none;
}
@media (max-width: 767px) {
  body.single-product #content .col-full .product .woocommerce-product-gallery {
    max-width: 600px;
    margin-right: 0;
    width: 80%;
  }
  body.single-product #content .col-full .product .flex-viewport {
    max-width: 600px;
  }
}
@media (max-width: 1100px) {
  body.single-product #content .col-full {
    margin: 0;
  }
}

/* ----- PRODUCT ARCHIVE ----- */

body.tax-product_cat .col-full, body.post-type-archive-product .col-full {
  max-width: 1200px;
  padding: 0 25px;
  margin: 0 auto;
}
body.tax-product_cat .col-full #primary, body.post-type-archive-product .col-full #primary {
  margin-top: 40px;
}


/* ----- SIDEBAR ----- */

#content #secondary.widget-area {
  display: none;
}
#content #primary.content-area {
  width: 100%;
}
body.tax-product_cat #content #secondary.widget-area, body.post-type-archive-product #content #secondary.widget-area {
  display: block;
  width: 20%;
  margin-right: 5%
}
body.tax-product_cat #content #primary.content-area, body.post-type-archive-product #content #primary.content-area {
  width: 75%;
}

#content #secondary.widget-area {
  margin-top: 50px;
}

#content #secondary.widget-area li.cat-item::before {
  display: none;
}
#content #secondary.widget-area li.cat-item {
  padding: 0;
  margin: 0;
}
#content #secondary.widget-area li.cat-item a {
  display: block;
  background-color: #f0f0f0;
  width: 100%;
  padding: 14px;
  height: 45px;
  font-size: 16px;
  font-weight: 400;
  border-top: 1px #d0d0d0 solid;
}
#content #secondary.widget-area .children {
  margin: 0;
}
#content #secondary.widget-area .children li.cat-item a {
  background-color: #e3e3e3;
  padding-left: 30px;
}
#content #secondary.widget-area .children .children li.cat-item a {
  background-color: #dadada;
  padding-left: 45px;
}
#page #content #secondary.widget-area li.cat-item a:hover {
  background-color: #d0d0d0;
}
#page #content #secondary.widget-area li.cat-item.current-cat > a {
  background-color: #d0d0d0;
}

/* ----- FOOTER ----- */

footer#colophon .site-info {
  display: none;
}
