/*
Theme Name: Essento (Divi)
Theme URI: https://de.essento.eu
Version: 2020.1
Description: Anpassungen des Divi-Themes für Essento: Webfonts.
Author: Markus Gut
Author URI: https://gut.digital
Template: Divi
*/

/****** FONTS *****/

/**
 * @license
 * MyFonts Webfont Build ID 3292291, 2016-10-06T05:31:14-0400
 *
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are
 * explicitly restricted from using the Licensed ../fonts/fontkit(s).
 *
 * You may obtain a valid license at the URLs below.
 *
 * Webfont: GalanoGrotesque-ExtraBold by Rene Bieder
 * URL: http://www.myfonts.com/fonts/rene-bieder/galano-grotesque/extra-bold/
 *
 * Webfont: GalanoGrotesque-Regular by Rene Bieder
 * URL: http://www.myfonts.com/fonts/rene-bieder/galano-grotesque/regular/
 *
 *
 * License: http://www.myfonts.com/viewlicense?type=web&buildid=3292291
 * Licensed pageviews: 10,000
 * ../fonts/fontkit copyright: Copyright &#x00A9; 2014 by Ren&#x00E9; Bieder. All rights reserved.
 *
 * © 2016 MyFonts Inc
*/

/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/325a0b");

/**** Galano Grotesque, René Bieder/MyFonts ****/

@font-face {
    font-family: 'GalanoGrotesque';
    src: url('./fonts/galano_grotesque-extrabold.woff2') format('woff2'),
    url('./fonts/galano_grotesque-extrabold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'GalanoGrotesque';
    src: url('./fonts/galano_grotesque-semibold.woff2') format('woff2'),
    url('./fonts/galano_grotesque-semibold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'GalanoGrotesque';
    src: url('./fonts/galano_grotesque-regular.woff2') format('woff2'),
    url('./fonts/galano_grotesque-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

/**** Bad Habits, BLKBK ****/

@font-face {
    font-family: 'BadHabits';
    src: url('./fonts/bad_habits-regular_v2.woff2') format('woff2'),
         url('./fonts/bad_habits-regular_v2.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/**** Schriftarten und -stärken ****/

html, body {
    font-family: 'GalanoGrotesque', "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }
h4,h5, h6 { font-weight: 700; }

div#sidebar h2,
div#sidebar h3,
div#sidebar h4,
div#sidebar h5/*,
section.related h2:first-child*/
{
    font-family: 'BadHabits';
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
}


/**** Produktdetailseite: Tabelle für Nährwerte ****/

table.nutrition-values {
    width: 100%;
}

table.nutrition-values td {
    border-top: 1px solid #232221;
    border-bottom: 1px solid #232221;
    padding: 0.25em 1em 0.25em 0 !important;
    vertical-align: top;
}

/**** Warenkorb: Abschnitt "Summe" volle Breite ****/

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    float: none;
    width: inherit;
}

/**** Kasse: "Was ist Paypal?" entfernen ****/
.woocommerce-checkout #payment .payment_method_paypal .about_paypal {
display: none;
}

/**** Kasse: Abstand zu Bestellübersicht ****/
h3#order_review_heading {
    margin-top: 1em;
}

/**** Kasse: Payment-Icons absetzen ****/

img.stripe-visa-icon,
img.stripe-giropay-icon,
img.stripe-sofort-icon,
.woocommerce-checkout #payment .payment_method_paypal img {
    margin-left: 1em !important;
}

/**** Kasse: Payment-Icons ersetzen ****/
img.stripe-sofort-icon {
    content:url('/wp-content/uploads/2020/04/Klarna_Sofort.svg');
    max-width: 45px !important;
}
/*
.woocommerce-checkout #payment .payment_method_paypal img {
    content:url('/wp-content/uploads/2020/04/PayPal.svg');
    max-width: 60px;
    background: white;
    padding: 5px !important;
}
*/

/**** Store Notice ****/
p.woocommerce-store-notice {
	background: white;
	padding-bottom: 16px !important;
}


/* custom Code by Jan Heitmeier - wp-hero.com */
#BorlabsCookieBox ._brlbs-block-content._brlbs-bg-dark {
	background: none !important;
    height: auto;
    bottom: 0;
    top: auto;
}
.woocommerce button.button,
body .et_pb_button,
.woocommerce a.button {
    color: #ffffff!important;
    background-color: #000000!important;
    border: none!important;
}
.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart {
    display: flex;
    align-items: stretch;
}
.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart div.quantity {
	 margin-right: 10px !important;
}
 #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a {
	 color: #000000!important; 
 }
#shipping_company_field:before,
#billing_company_field:before {
	clear: both;
}