/*
 Theme Name:   BFM
 Description:  BFM Theme
 Author:       aceArt
 Author URI:   https://www.aceArt.de
 Template:     storefront
 Version:      1.0
 Text Domain:  storefront-bfm-child
*/

a:focus {
 outline: 0; 
}

h1{
font-weight: bold;
}

h2{
font-weight: bold;
}

mark{
   /* Highlight*/
   font-weight: bold;
   color: #80c9ff;
   
}


.divSnip {
   
   height: 100%;
   padding: 0px;
   width: 100%;
   /*
   background-color: #212121;
   */
   position: relative;
   padding-bottom: 70px;
   align-items: center;
   
   


    }



.containerSnip{
  display: flex;
  justify-content: center;
  align-items: top;
   
   
}

.buttonSnip{
   position: absolute;
   bottom: 0;
   width: 100%;
   

}




.nochfragen{
   background: #303030;
   padding-top: 10px;
   padding-left: 10px;
   

}

.nochfragencontent{
   display: flex;
   justify-content: center;
  align-items: center;
   padding-top: 10px;
}

.nochfragen h2 {
   text-align: center;
}


.storefront-handheld-footer-bar ul li>a {
    height: 3em; //4.235801032em
}

.storefront-handheld-footer-bar ul li > a::before {
    line-height: 2; //2.618046972
    font-size: 1.4em; //1.618em
}

#colophon .storefront-handheld-footer-bar {

display: none;

}


.wp-block-group.has-background{
   padding: 1.25em 1.25em;
   margin-bottom: 20px;

}

.custom-logo-link:focus {
    outline: none;
}


.wc-block-grid__products .wc-block-grid__product .price {
color: #BBBBBB;   
}


.hentry .entry-content .wp-block-button .wp-block-button__link{
font-size: 12px;
}

.wp-block-group__inner-container{
   
padding: 1.25em 1.25em; background: #303030;
   margin-bottom: 20px;

}


.wp-block-group.has-background{
   padding: 0; 
   
   background: #303030;
   margin-bottom: 0;
}

.figcaption{
   color: #ffffff;
   
}



// Gallery captions
/* Add multi-line by line breaks to Gutenberg galleries. */
.blocks-gallery-item figcaption {
   white-space: pre-line;
   color: #555 !important;
}

/* Prevent the last image from growing to fill available space if there aren't three images in a row. */
.blocks-gallery-item {
   flex-grow: 0 !important;
   display: inline-block !important;
}

.wp-block-gallery .blocks-gallery-image figure, .wp-block-gallery .blocks-gallery-item figure {
   display: inline-block;
   height: auto;
   padding: 5px 0;
}

.wp-block-gallery.is-cropped .blocks-gallery-image a, .wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a, .wp-block-gallery.is-cropped .blocks-gallery-item img {
   /*height: 270px;*/
}  

.wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption {
   position: relative;
   background: none;
   margin: 10px 0 15px 0;
   padding: 0;
}

@media(max-width: 400px){
   .hentry .entry-content .wp-block-gallery .blocks-gallery-image, .hentry .entry-content .wp-block-gallery .blocks-gallery-item, .editor-styles-wrapper .wp-block-gallery .blocks-gallery-image, .editor-styles-wrapper .wp-block-gallery .blocks-gallery-item {
      width: 100%;
   }
   
}

// End of Gallery captions


/*Background color for Checkout-AddOn*/

#customer_details + #wc_checkout_add_ons {


   color: #ff0000;
   
   
}

#wc_checkout_add_ons {
   background-color: #80c9ff;
   padding: 15px;
   color: #000;
}

.woocommerce-info, .woocommerce-noreviews, p.no-comments {
   background-color: #80c9ff;
   color: #000;
}

.woocommerce-message a, .woocommerce-info a, .woocommerce-error a, .woocommerce-noreviews a, p.no-comments a {
   color: #000;
}

.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before, .woocommerce-noreviews::before, p.no-comments::before {
color: #000;   
}


/* Background color for checkout table */
.woocommerce-checkout .shop_table th, .woocommerce-checkout .shop_table, .woocommerce-checkout .shop_table, .woocommerce-checkout .shop_table td {
   background-color: unset;
}

/* Move sale (offer) badge over image */
.wc-block-grid__product-onsale {
   position: absolute;
   top: 9px;
   right: 9px;
   background-color: #80c9ff;
   border: 0;
   color: white;
   border-radius: 0;
}

/* Set product attributes to the same horizontal alignment */
.wc-block-grid__product .wc-block-grid__product-title {
   min-height: 38px;
}

/* Footer Datei File Bild entfernen*/

.widget_nav_menu ul li:before {
display: none;
}
.widget_nav_menu ul li {
padding-left: 0;
}


/*Shopping Cart on mobile*/

.site-header-cart .cart-contents{
   display:block;
}

.site-header-cart .cart-contents::after {
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: baseline;
    content: "";
    height: 1em;
    float: right;
    line-height: 1.618;
    font-variant: normal;
}

.woocommerce-checkout .form-row.create-account label{
   padding-left:0px;
}



/* Product Image Icon Magnify Glas*/

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    position: absolute;
   top: auto;
    bottom: 0.875em;
    right: 0.875em;
   
}



/* Remove original Sale Banner */
.wc-block-grid__product-onsale {
   /*display: none;*/
   background-color: #9a3431;
   font-size: 15px;
   border-radius: 6px;
}

/* BeRocket sales labels centering */
li.product .berocket_better_labels.berocket_better_labels_label {
   display: inline-block;
}
/* BeRocket move sales label in single product over image. */
body.single.single-product .summary .berocket_better_labels_position.berocket_better_labels_position_right {
   position: absolute;
   right: calc(62% + 9px);
   top: 19px;
}


/* Farbe on Backorder in Rot */
.available-on-backorder{
   
color: #ff0000;
}

/* Backorder in Cart */
.backorder_notification{
    display: none;
}
.backorder_notification_custom{
    display: block;
    margin-bottom:0px;
   color: #ff0000;
}


/* Textfarbe von Tabellen Unterschrift */
.wp-block-table .figcaption{
	color: #ffffff; !important
	
}

/* Horizontally center align buttons. */
.wp-block-buttons.is-content-justification-center {
   text-align: center;
}


/** product button center */
.product.type-product a.button.product_type_simple {
   display: block;
   max-width: 40%;
   margin: auto;
   margin-top: 4px;
}

.grecaptcha-badge {
	bottom: 66px;
}

//Fonts
/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v34-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/open-sans-v34-latin-italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open-sans-v34-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v34-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v34-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v34-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v34-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
