/*
 Theme Name: Storefront Child Locavore
 Theme URI:
 Description: Storefront Locavore Child Theme
 Author: Matthias Huber | Locavore
 Author URI: https://www.locavore.eu/
 Template: storefront
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags: Storefront Child Theme
*/

/*
You can start adding your own styles here. Use !important to overwrite styles if needed. */

/*!
 * Web Fonts from Fontspring.com
 *
 * All OpenType features and all extended glyphs have been removed.
 * Fully installable fonts can be purchased at http://www.fontspring.com
 *
 * The fonts included in this stylesheet are subject to the End User License you purchased
 * from Fontspring. The fonts are protected under domestic and international trademark and 
 * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
 * distributing this font software.
 *
 * (c) 2010-2020 Fontspring
 *
 *
 *
 *
 * The fonts included are copyrighted by the vendor listed below.
 *
 * Vendor:      Paulo Goode
 * License URL: https://www.fontspring.com/licenses/paulogoode/webfont
 *
 *
 */

@font-face {
    font-family: 'woodfordbourne-thin';
    src: url('woodfordbourne-thin-webfont.woff2') format('woff2'),
         url('woodfordbourne-thin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'woodfordbourne-thinitalic';
    src: url('woodfordbourne-thinitalic-webfont.woff2') format('woff2'),
         url('woodfordbourne-thinitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'woodfordbourne-regular';
    src: url('woodfordbourne-regular-webfont.woff2') format('woff2'),
         url('woodfordbourne-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'woodfordbourne-italic';
    src: url('woodfordbourne-italic-webfont.woff2') format('woff2'),
         url('woodfordbourne-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'woodfordbourne-bold';
    src: url('woodfordbourne-bold-webfont.woff2') format('woff2'),
         url('woodfordbourne-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'woodfordbourne-bolditalic';
    src: url('woodfordbourne-bolditalic-webfont.woff2') format('woff2'),
         url('woodfordbourne-bolditalic-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;

}

/*
Defining Fonts
*/

body {
  font-family: 'woodfordbourne-regular', Arial, sans-serif; }

h2 {
  font-family: 'woodfordbourne-bold', Arial, sans-serif; }

/*
 Remove the ‘box’ around active links
 */
 
a:focus,
.focus a {
	outline: none !important;
}

.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
  background-color: #42698c; }

table {
  border-spacing: 0;
  width: 100%;
  border-collapse: collapse; }
  table caption {
    padding: 1em 0;
    font-weight: 600; }
  table td,
  table th {
    padding: 1em 1.41575em;
    text-align: left;
    vertical-align: top; }
    table td p:last-child,
    table th p:last-child {
      margin-bottom: 0; }
  table th {
    font-weight: 600; }
  table thead th {
    padding: 1.41575em;
    vertical-align: middle; }
  table tbody h2 {
    font-size: 1em;
    letter-spacing: normal;
    font-weight: normal; }
    table tbody h2 a {
      font-weight: normal; }

/*
 Defining Footer Link-Text Color 
 */
.site-footer a:not(.button) {
    color: #fff !important;
    text-decoration: none !important; }

/*
 Adding a Home Button to Handheld Fotter Bar & Defining Icon-Color
 */

.storefront-handheld-footer-bar ul li.home > a:before {
 content: "\f015";
 color: #1f3855 !important; }

.storefront-handheld-footer-bar ul li.search > a::before {
 content: "\f002";
 color: #1f3855 !important; }

.storefront-handheld-footer-bar ul li.my-account > a::before {
 content: "\f007"; 
 color: #1f3855 !important; }

.storefront-handheld-footer-bar ul li.cart > a::before {
 content: "\f291";
 color: #1f3855 !important; }

.storefront-handheld-footer-bar ul li.cart .count {
 background-color: #1f3855 !important;
 color: #ffffff;
 border-color: #ffffff; }
 
 /*
 "Vor kurzem angesehene Produkte" regular statt bold
 */
 .widget-area .widget {
  font-size: 0.875em; }
  .widget-area .widget h1.widget-title {
    font-size: 5.41575em !important; }
  .widget-area .widget a:not(.button):not(.components-button) {
    font-weight: normal !important;
	color: #1f3855 !important;
    text-decoration: underline; }
    .widget-area .widget a:not(.button):not(.components-button):hover {
      text-decoration: none; }
	  
/*
 hentry-meta regular statt bold
 */
  .hentry {
  margin: 0 0 4.235801032em; }
  .hentry .wp-post-image {
    margin-bottom: 1.618em;
    margin-left: auto;
    margin-right: auto; }
  .hentry .entry-header {
    margin-bottom: 1em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
    .hentry .entry-header .posted-on,
    .hentry .entry-header .post-author,
    .hentry .entry-header .post-comments,
    .hentry .entry-header .byline {
      font-size: 0.875em; }
      .hentry .entry-header .posted-on a,
      .hentry .entry-header .post-author a,
      .hentry .entry-header .post-comments a,
      .hentry .entry-header .byline a {
        font-weight: normal !important;
	    color: #1f3855 !important;
        text-decoration: underline; }
        .hentry .entry-header .posted-on a:hover,
        .hentry .entry-header .post-author a:hover,
        .hentry .entry-header .post-comments a:hover,
        .hentry .entry-header .byline a:hover {
          text-decoration: none; }
  .hentry .entry-content a:not(.button) {
    text-decoration: underline; }
    .hentry .entry-content a:not(.button):hover {
      text-decoration: none; }
  .hentry .entry-taxonomy {
    margin: 1.41575em 0 0;
    padding-top: 1em;
    border-top: 1px solid rgba(0, 0, 0, 0.05); }
  .hentry.type-page .entry-header {
    border-bottom: 0;
    margin-bottom: 0; }

/*
 * CSS für die Top-Bar
 */
#topbar_info {
	background-color: #1F3855;
    height: 40px;
    line-height: 40px;
}

#topbar_info p {
    color: #fff;
}

@media (max-width: 768px) {
    #topbar_menu {
        display: none !important;
    }
}

#topbar_menu {
    background-color: #fff;
    height: 20px;
    line-height: 20px;
	margin-top: 20px;
	margin-bottom: 0px;
}

#topbar_menu p {
    color: #1f3855;
}

#topbar_menu a {
    color: #1f3855;
}


/*
 * Position ReCaptcha-Badge (über Handheld-Toolbar)
 */
.grecaptcha-badge { 
    bottom:75px !important; 
}

/*
 * Full Width WooCommerce-Seiten (ohne Sidebar)
 */
body.woocommerce #primary,
body.woocommerce-checkout #primary,
body.woocommerce-cart #primary,
body.woocommerce-orders #primary {
	float: none;
	width: 100%;
}

/*
 * "Shop", "Kategorie:Magazin", etc. werden nicht angezeigt
 */
.page-title {
  display: none;
}

/*
 * Tabelle Design
 */
.wp-block-table td, .wp-block-table th {
	border: 1px lightgray !important;
	border-bottom-style: solid !important;
	padding: .5em !important;
}

/*
 * Schriftgröße Produktinhalt & Lieferzeit Warenkorb
 */
.woocommerce p.units-info {
    font-size: .9em !important;
    margin: 0 !important;
}

.woocommerce p.delivery-time-info {
    font-size: .9em !important;
    margin: 0 !important;

}

/*
 * Zeilenabstand Produkt-Widgets
*/
.wc-block-grid__product p.tax-info {
	margin: 0.4em !important;
}

.wc-block-grid__product p.shipping-costs-info {
	margin: 0.4em !important;
}

.wc-block-grid__product p.product-units {
	margin: 0 !important;
}

.woocommerce p.delivery-time-info {
	margin: 0 !important;
}

.product p.wc-gzd-additional-info {
	margin: .5em 0 !important;
}

/*
 * AGB-Checkbox rechtsbündig
 */
#order_review .legal {
    text-align: right !important;
}

/*
 * Cursor bei Checkboxen normal
 */
.woocommerce-form__label-for-checkbox {
    cursor: auto;
}

/*
 * blendet Smiley vor Lagerbestand aus
 */
.stock::before {
    display: none !important;
}

/*
.woocommerce-message {
	display: none !important;
}
*/

/*
 * Abstand über Rechnung-Download-Button unter "mein Konto"
 */
.my_account_orders .button, .woocommerce-MyAccount-downloads .button {
	margin-top: 0.236em;
}

/*
 * Im Produktkatalog: Abstand zwischen Button "Warenkorb" und "Warenkorb anzeigen" inkl. Design des Buttons
 */
.wp-block-button__link.add_to_cart_button.ajax_add_to_cart {
	margin-bottom: 5px !important;
}

.added_to_cart.wc-forward {
	display: inline-block !important;
}

/* Flexbox on WooCommerce archive products - Warenkorbbutton immer auf selber Höhe, Produkte mit Schatten und Rahmen */
.woocommerce .products ul,
.woocommerce ul.products {
 display: flex;
 flex-flow: row wrap;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
 display: flex;
 flex-flow: column nowrap;
 padding: 10px !important;
 margin: 5px !important;
 box-shadow: 0px 0px 15px silver;
 max-width: 250px !important;
}

.woocommerce ul.products li.product .button {
 margin-top: auto;
 display: block;
}

/* Produktempfehlungen mit Rahmen und Schlagschatten */
.theme-twentytwenty .wc-block-grid.has-3-columns .wc-block-grid__product, .wc-block-grid.has-3-columns .wc-block-grid__product { 
 border: none !important;
 padding: 10px !important;
 box-shadow: 0px 0px 15px silver !important;
 margin: 5px !important;
 background-color: white !important;
 max-width: 257px !important;
}
	
.theme-twentytwenty .wc-block-grid.has-4-columns:not(.alignwide):not(.alignfull) .wc-block-grid__product, .theme-twentytwenty .wc-block-grid.has-5-columns:not(.alignfull) .wc-block-grid__product, .theme-twentytwenty .wc-block-grid.has-6-columns:not(.alignfull) .wc-block-grid__product, .theme-twentytwenty .wc-block-grid.has-7-columns .wc-block-grid__product, .theme-twentytwenty .wc-block-grid.has-8-columns .wc-block-grid__product, .wc-block-grid.has-4-columns:not(.alignwide):not(.alignfull) .wc-block-grid__product, .wc-block-grid.has-5-columns:not(.alignfull) .wc-block-grid__product, .wc-block-grid.has-6-columns:not(.alignfull) .wc-block-grid__product, .wc-block-grid.has-7-columns .wc-block-grid__product, .wc-block-grid.has-8-columns .wc-block-grid__product {
 border: none !important;
 padding: 10px !important;
 box-shadow: 0px 0px 15px silver !important;
 margin: 5px !important;
 background-color: white !important;
 max-width: 257px !important;
}

.stock.in-stock {
	margin: 0.5em auto;
}

/*WooDiscuz (Fragen & Antworten auf Produktdetailseite) Farbanpassungen*/

.wpc-comment-label {
    color: #000000 !important;
	background: #ffffff !important;
}

.wpc-comment-author {
    color: #000000 !important;
	font-weight: bold !important;
}