/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* AO Custom Styling */

/* Woo PAGE WIDTH OVERRIDE */
/*body.home .ast-container,
.ast-header-breadcrumb .ast-container,
body.search-results .ast-container,
body.tax-product_cat .ast-container {
  max-width: inherit !important;
}*/

.cnt-width {
    max-width: 1240px !important;
}

/* SHOP SIDEBAR */
#secondary {
  padding-top:20px !important;
  order:1
}
.wp-block-search__inside-wrapper {
  position: relative;
}

#secondary .widget_search label {
  display:none;
}

#secondary .wp-block-search__inside-wrapper .wp-block-search__input {
  padding:20px 15px;
  background-color:#EFEFEF;
  color:#000;
  border-radius: 15px 15px 15px 15px;
}
#secondary .widget_search input[type="search"]{
  /* position: absolute; */
  background-color: #EFEFEF;
}
#secondary .wp-block-search__button {
  position: absolute;
  right:0;
  padding:13px 10px;
  border-radius: 0px 15px 15px 0px !important;
  /* background-color: #78160e;
  color:#fff; */

}


/* Products Category Menu */
#secondary .widget_nav_menu {
  max-height: 250px;
  overflow: scroll;
}

.menu-product-categories-container {
  padding-top:10px;
}

#menu-product-categories li.menu-item a {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight:500;
  color: #111827;
}

#menu-product-categories li.menu-item {
  padding-left:39px;
}

#menu-product-categories li.menu-item-has-children{
  padding-left:10px;
}

#menu-product-categories li.current-menu-item  > a,
#menu-product-categories li a.active-parent-item {
  font-weight:bold;
  padding-bottom:1px;
  border-bottom:1px solid #78160e;
}

#menu-product-categories span.plus,
#menu-product-categories span.minus {
  font-weight: 500;
  font-size: 25px;
  line-height: 20px;
  display:block;
  width:25px;
  height:20px;
  float:left;
  cursor: pointer;
}

#menu-product-categories span.plus::before {
  content: '\002B'; /* Plus */
}

#menu-product-categories span.minus::before {
  content: '\2212'; /* Minus */
}

/* Remove Sidebar Border  */
.ast-left-sidebar #secondary, 
.ast-left-sidebar #primary {
  border-width:0px;
}

/* Single Product */
/* GO Back button */
.shop-go-back {
  float:right;
}
.shop-go-back::before{
  content: "\2190";
  margin-right:5px;
  font-size:19px;
}

/*price styling */
.woocommerce div.product p.ao_regular_price {
    color: #334155;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 .2em;
}

/* Price Fixes */
.ao-sale-amount {
  text-decoration: line-through;
  margin-right:15px;
}

#menu-product-categories li.menu-item-has-children a {
  margin-left:5px;
}

#menu-product-categories li.menu-item-has-children ul {
  display:none;
}
#menu-product-categories li.menu-item-has-children ul.active-menu {
  display:block;
}
#menu-product-categories li.menu-item-has-children ul.sub-menu {
  margin-top:15px;
  margin-bottom:15px;
}
#menu-product-categories li.menu-item-has-children ul li a {
  margin-left:0px;
}

/*Sale ribbon*/
.ast-onsale-card { 
    color: #FFFFFF;
    background-color: #78160E;
}


/* HOMEPAGE PRODUCT CATS SIDEBAR */
.home .wc-block-product-categories-list {
  list-style-type: none;
  padding-left:0px;
}
.home .wc-block-product-categories-list  li {
  padding-left:0px;
}
.home .wc-block-product-categories-list  li ul {
  padding-left:25px;
}

.home .wc-block-product-categories-list--depth-0 li::before {
  content: '\25B6'; /* Right-pointing triangle */
  padding: 0 5px;
}

.home .wc-block-product-categories-list--depth-1 li::before {
  content: ''; /* Nothing */
}

.home .wc-block-product-categories-list  li a {
  text-decoration: none;
}
.home .wc-block-product-categories-list  li a:hover {
  text-decoration: underline;
}


/* Show the child ul when the parent is focused/clicked */
/* .home .wc-block-product-categories-list--depth-0 li:focus-within ul {
  display: block;
  }*/

::-webkit-datetime-edit-year-field:not([aria-valuenow]),
::-webkit-datetime-edit-month-field:not([aria-valuenow]),
::-webkit-datetime-edit-day-field:not([aria-valuenow]) {
    color: transparent;
}


/* Bundle page styling */
.bundle-thumbnail {
  width:100%;
}
.bundle-content {
  width:100%;
}
.bundle-cart-notice {
  display:none
}

/* Change address button on basket page */
#wc-block-components-totals-shipping__change-address__link {
  padding:15px 20px;
  background-color: #78160E;
  color:#fff;
  text-decoration: none;
  margin-top:10px;
}


/* Cart Date selector overrides */
.ui-widget.ui-widget-content {
  border-color: #78160E !important;
}
.ui-widget-header {
  border-width: 0px !important;
  background-color: #ffffff !important;
}
.ui-datepicker table {
  border-width:1px 0 0 0px !important;
}

.ui-datepicker-header.ui-corner-all {
  border-top-right-radius: 0px !important;
  border-top-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
} 

.ui-state-active, .ui-widget-content .ui-state-active, 
.ui-widget-header .ui-state-active,
.ui-state-default.ui-state-hover, 
a.ui-button:active, .ui-button:active, 
.ui-button.ui-state-active:hover {
  background-color: #78160E !important;
  border-color: #78160E !important;
  color:#ffffff !important;
}

.ui-state-default, 
.ui-widget-content .ui-state-default, 
.ui-widget-header .ui-state-default {
  text-align: center;
}

.ui-state-highlight, 
.ui-widget-content .ui-state-highlight, 
.ui-widget-header .ui-state-highlight {
  background-color: #ffffff !important;
  border-color: #78160E !important;
}
.ui-state-highlight.ui-state-hover {
  color:#78160E !important;
}

/**Johannes */

/*.ast-single-post.ast-page-builder-template .site-main > article, .woocommerce.ast-page-builder-template .site-main, .ast-page-builder-template .post-navigation {
     padding-top: 0em; 
     padding-left: 0px; 
     padding-right: 0px; 
}
*/

.ast-above-header-bar .site-above-header-wrap {
    max-width: 100%;
    padding-left: 35px;
    padding-right: 35px;
}

.ast-primary-header-bar .site-primary-header-wrap {
    max-width: 100%;
    padding-left: 35px;
    padding-right: 35px;
}


.ast-builder-menu-2 .menu-item > .menu-link {    
    color: #FFFFFF;
    font-size: 12px;
}

.ast-builder-menu-2 .menu-item:hover > .menu-link, .ast-builder-menu-2 .inline-on-mobile .menu-item:hover > .ast-menu-toggle {
    color: #ff0000;
}

.ast-builder-menu-2 .menu-item.current-menu-item > .menu-link, .ast-builder-menu-2 .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, .ast-builder-menu-2 .current-menu-ancestor > .menu-link {
    color: #ff0000;
}

/*woocommerce*/
.woocommerce form .show-password-input, .woocommerce-page form .show-password-input {
    position: absolute;
    right: 0.7em;
    cursor: pointer; 
	top: 3px;  
    background-color: #78160e;    
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
	padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 6px;
    padding-left: 0;
}

.newsletter-form .form-inline {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping to a new line */	
}

.newsletter-form .form-inline  p {
    margin-bottom: 0;
}

.newsletter-form .form-group {
    flex: 0 0 auto;
	padding: 10px;
}

.newsletter-form .form-group:nth-child(1) {
    flex: 0 0 80%;
}

.newsletter-form .form-group:nth-child(2) {
    flex: 0 0 20%;
}

.newsletter-form .form-group input[type="submit"] {    
    padding-bottom: 10px;
}

footer h2, h2.widget-title {
    font-weight: 600;
color: #FFFFFF;    
    font-size: 21px
}

footer a, footer p {
    color: #FFFFFF;
    fill: #FFFFFF;
    padding-left: 0px;
    padding-right: 0px;
}

footer a:hover, footer a:focus {
    color: #ff0000;
}



/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 320px) {
.newsletter-form .form-inline {
    display: block;
	}
}

@media (max-width: 544px) {
    .woocommerce ul.products li.product.mobile-align-left, .woocommerce-page ul.products li.product.mobile-align-left {
        text-align: left;
        min-height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        height: auto;
        min-height: 350px;
        box-sizing: border-box;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
  #secondary {
    padding-top:0;
    order:0
  }

  #secondary .widget_nav_menu {
    max-height: inherit;
    overflow: visible;
  }  

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 

  .ast-left-sidebar #primary {
    padding-left: 0px;
  }

  /* Bundle page styling */
  .bundle-wrapper {
    display: flex;
  }
  .bundle-thumbnail {
    width:50%;
  }
  .bundle-content {
    width:46%;
  }

}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 

}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) { 

}

/* Sticky header on mobile */
@media (max-width: 921px) {
    .ast-header-break-point #ast-mobile-header {
        position: fixed;
        top: 0;
        z-index: 9999;
        width: 100%;
        background-color: #ffffff;
    }

    /* Add padding to the body or main content */
    body {
        padding-top: 130px; 
    }
}

.woocommerce-js div.product form.cart .variations {
	border-bottom: none !important;
}