/**
Theme Name: CYBERsprout
Author: CYBERsprout
Author URI: https://cybersprout.net
Description: CYBERsprout\'s child theme for Astra
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cybersprout
Template: astra
*/



/*
 * NOTE... these stylings apply NETWORK WIDE, to ALL sites (main and sub-sites)
 * Please keep modules named the same across sites when applying class names
 */



/******************************************************************************/


/*Make Astra full width by default*/
.ast-container, .ast-woo-shop-archive .site-content > .ast-container {
max-width:100%;
}
.ast-container, #primary, .ast-plain-container #primary {
padding:0;
margin:0;
}

/* Column Classes
    Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css
--------------------------------------------- */

.one-half,
.one-third,
.one-fourth,
.one-fifth,
.one-sixth,
.two-thirds,
.two-fourths,
.two-fifths,
.two-sixths,
.three-fourths,
.three-fifths,
.three-sixths,
.four-fifths,
.four-sixths,
.five-sixths {
  float: left;
  margin-left: 2.564102564102564%;
}

.one-half,
.two-fourths,
.three-sixths {
  width: 48.717948717948715%;
}

.one-third,
.two-sixths {
  width: 31.623931623931625%;
}

.two-thirds,
.four-sixths {
  width: 65.81196581196582%;
}

.one-fourth {
  width: 23.076923076923077%;
}

.three-fourths {
  width: 74.35897435897436%;
}

.one-fifth {
  width: 17.9487184%;
}

.two-fifths {
  width: 38.4615393641026%;
}

.three-fifths {
  width: 58.9743603282051%;
}

.four-fifths {
  width: 79.4871812923077%;
}

.one-sixth {
  width: 14.52991452991453%;
}

.five-sixths {
  width: 82.90598290598291%;
}

.first {
  clear: both;
  margin-left: 0;
}

@media only screen and (max-width: 768px) {
  .one-half, .one-third, .one-fourth, .one-fifth, .one-sixth, .two-thirds, .two-fourths, .two-fifths, .two-sixths, .three-fourths, .three-fifths, .three-sixths, .four-fifths, .four-sixths, .five-sixths {
    width:100%;
	margin-left: 0;
  }
}





/* BUTTONS
 * Used to customize or tweak and set alternative styled buttons
 * NOTE: use the Customizer to style the bulk of the site's buttons.
--------------------------------------------- */

/* (.inverted-colors) : white BG w/black TXT,BRDR -hover- black BG w/white TXT */
/* STATIC state */
.inverted-colors a.uabb-button *,
.inverted-colors a.uabb-btn *,
.inverted-colors .fl-slide-cta-button a * {
    color: #000000 !important;
}
.inverted-colors .uabb-creative-button-wrap a, 
.inverted-colors .uabb-creative-button-wrap a:visited,
.inverted-colors a.uabb-btn, 
.inverted-colors a.uabb-btn:visited,
.inverted-colors .fl-slide-cta-button a, 
.inverted-colors .fl-slide-cta-button a:visited{
    background: none;
    background: #ffffff;	/* remove if you want it transparent */
    border: 1px solid #000000 !important;
}
/* HOVER state */
.inverted-colors a.uabb-button:hover *,
.inverted-colors a.uabb-btn:hover *,
.inverted-colors .fl-slide-cta-button a:hover *{
    color: #ffffff !important;
}
.inverted-colors .uabb-creative-button-wrap a:hover,
.inverted-colors a.uabb-creative-transparent-btn.uabb-transparent-fade-btn:hover,
.inverted-colors a.uabb-btn:hover,
.inverted-colors .fl-slide-cta-button a:hover{
    background: #000000 !important;
}
.inverted-colors .uabb-creative-button-wrap a:hover,
.inverted-colors a.uabb-btn:hover,
.inverted-colors .fl-slide-cta-button a:hover{
    border: 1px solid #000000 !important;
}



/* Navigation / Header styles
--------------------------------------------- */
ul#menu-top-bar li a:hover {
    text-decoration: underline;
}

#select-location-toggle {
    cursor: pointer;
}
#select-location-toggle .change-location {
    float: right;
}
#select-location-toggle .change-location:hover {
    color: #F8C13C;
}
#select-location-toggle .uabb-module-content.uabb-imgicon-wrap {
    margin-right: 10px;
}
#select-location-toggle:hover {
    background-color: #00787A;
}

.off-canvas--location-selection p.uabb-cta-title {
    margin-bottom: 0px !important;
}
@media only screen and (max-width: 768px) {
	div#select-location-toggle p.uabb-infobox-title {
	    display: none !important;
	}
}

/* header search bar */
form.custom-header-search-form {
    background: #fafafa;
}
form.custom-header-search-form div {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    /*overflow: hidden;*/
    border: 0 solid transparent;
    min-height: 50px;
}
form.custom-header-search-form input {
    flex-basis: 90%;
    border-radius: 0px;
    border: unset;
}
form.custom-header-search-form button {
    border-radius: 0px;
    background-color: #00787A;
    color: #ffffff;
	flex-basis: 10%;
    width: 100%;
    padding: 10px 20px;
}
form.custom-header-search-form button:hover {
    background-color: #F8C13C;
    color: #000000;
}


/* CUSTOM: clickable columns
--------------------------------------------- */
/* Here's some optional hover over effects. Delete if not used */
.clickable-col .fl-col-content:hover{
	box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.3); /* Horizontal/Vertical/Blur/Spread/Color */
	transition-timing-function: ease-in-out;
    transition-duration: 0.4s; 
}
 .clickable-col .fl-col-content{
	transition-timing-function: ease-in-out;
    transition-duration: 0.4s; 
}



/* See here for a visual editor: https://cssgenerator.org/box-shadow-css-generator.html */
 .clickable-col .fl-col-content:hover {
   transform: translateY(-8px);
   transition: all .4s ease-in-out;
}
.clickable-col.fl-col-content {
   transition: all .4s ease-in-out;
}



/* To stop the hover on child column */
.no-effect .fl-col-content:hover{
     transform:none;
     box-shadow:none;
}



/* Contact us Page */
.uabb-map-marker-text .uabb_map_info_text p {
    margin: 0px;
}



/* product card styles */
.product-card--sale-badge {
    position: relative;
}
div.fl-html span.onsale {
    position: absolute;
    z-index: 500;
    border-radius: 25px;
    background-color: #00787a;
    padding: 7px;
    color: white;
    font-weight: 700;
    left: 0px;
	min-height: unset !important;
    min-width: unset !important;
    line-height: unset !important;
	top: unset !important;
}
.product-card-infobox {
    min-height: 100px;
}
.product-card-infobox .uabb-infobox-title-wrap {
    min-height: 86px;
}
.uabb-adv-post--product-card p.uabb-infobox-title {
    display: none;
}
span.price > del > span.amount {
    font-size: .7rem;
}
span.price > ins > span.amount {
    font-weight: 700;
}


a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.added {
    display: grid;
    margin-bottom: 20px;
}
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart:hover,
a.button.product_type_variable.add_to_cart_button:hover {
    background-color: #00787a;
}
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart,
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.alt {
    padding: 10px 20px;
}
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.added {
    margin-bottom: 5px !important;
}
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.added:after {
    display: contents;
}
a.added_to_cart.wc-forward.button.alt {
    z-index: 500 !important;
	clear: both;
}
.woocommerce .quantity .qty,
input.qty {
    width: 2.7em !important;
    margin-right: 5px;
	padding: 7px !important;
}
a.minus, a.plus {
    display: none !important;
}
a.added_to_cart.wc-forward {
    display:none;
}

/*
.woopack-product-action {
    display: inline-flex;
}

a.added_to_cart.wc-forward.button.alt {
    display: none;
}

*/


.staff-picks-product-card div.fl-html {
    position: relative;
    left: 20px;
}
.staff-picks-product-card {
    position: absolute;
	top: 0px;
}
span.pick-name {
    position: relative;
    display: block;
    height: 25px;
    top: -15px;
    text-align: center;
    color: #ffffff;
    background-color: #093959;
    font-size: 16px;
	line-height: 23px;
}




/* global BB tweaks */
.fl-post-grid-empty {
    text-align: center;
}


/* blog - recipes tweaks */
.wp-block-ryelle-recipe-meta.rmb-recipe__meta-list {
    margin-bottom: 1.5em;
}


/* WooPack category module */
.woo-product-category-grid .uabb-product-cat-inner img {
    padding: 20px 30px 100px !important;
}
.woo-product-category-grid div.uabb-category__title-wrap mark.uabb-count {
    display: none !important;
}
/* PP category module */
.pp-product-category-grid .pp-category__img img {
    padding: 10px 5px 45px !important;
	height: auto !important;
}


/* home - featured products */
#uabb-adv-posts--featured-wc-products a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    white-space: nowrap;
}


/* WooC Cart/Checkout page tweaks */
p.woocommerce-shipping-destination {
    display: none;
}
tr.cart_item td.product-name,
tr.order_item td.product-name {
    font-size: 16px;
    padding-left: 30px !important;
}
tr.tax-rate th:nth-of-type(1),
table.order_details > tfoot > tr > th.tax-rate {
    padding-left: 30px !important;
	font-weight: 300 !important;
}
table.order_details > tfoot > tr > th.pickup-details,
table.order_details > tfoot > tr > th.pickup-details ~ td {
    border: unset;
	background-color: #c2da6c;
}
tr.woocommerce-shipping-totals.shipping > td {
    background-color: yellow;
    padding-left: 10px !important;
}
textarea#alternative_pickup_person_message,
textarea#additional_alternate_person_notice {
    resize: none;
    padding: 10px;
    overflow: hidden;
    height: 80px;
    border: unset;
}
p.hide-until-yes > label > span.optional {
    display: none !important;
}
p.hide-until-yes {
	display: none;
}
p#additional_alternate_person_field > span > label {
    display: inline;
    padding-left: 5px;
    margin-right: 35px;
}


/* Product archive pages */
.facet-accordion-filtering .uabb-adv-accordion-content p {
    display: none;
}
.facet-control-selections {
    text-align: right;
}
.facet-control-selections .facetwp-facet,
.facet-control-resultscount .facetwp-facet {
    margin-bottom: unset !important;
}
.facet-control-selections div.fl-html div {
    float: right;
    margin-left: 10px;
}
.facet-control-selections div.fl-html {
	display: flex;
	float: right;
    margin-right: 10px;
}
.facetwp-selections ul {
    margin: 0 0 0 15px;
}
.facet-control-selections div.fl-html div select {
    padding: 5px 3px;
}

input.facetwp-search {
    padding: 5px 10px;
    margin-top: 10px !important;
    min-width: unset !important;
}
span.facetwp-input-wrap i.facetwp-icon {
    height: 56px;
}
.facetwp-facet {
	margin-bottom: 10px !important;
}
.facet-text-search-html .facetwp-facet.facetwp-facet-text_search.facetwp-type-search {
    text-align: center;
}
.pp-offcanvas-custom-content p {
    display: none !important;
}

span.facetwp-selection-value {
    color: #00787a;
}
span.facetwp-counter {
    font-weight: 300 !important;
    padding-left: 5px;
}
.facetwp-checkbox,
span.facetwp-slider-label {
    color: #093959 !important;
    font-size: 16px !important;
	font-weight: 700 !important;
}
span.out-of-stock-notice-in-loop {
    font-weight: 700;
    color: #df5b49;
}

span.facetwp-expand {
    letter-spacing: 3px;
    font-size: 18px;
}


/* footer */
footer h2 {
    font-size: 1.6rem;
}