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


/*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;
}
button.ast-search-submit {
	display: none;
}
input#search-field {
	height: 46px;
	margin: 0 20px 20px 0;
}
.paragraph-margin-correction p {
	margin-bottom: unset;
}


/* 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;
}



/* UABB Adv Menu > off canvas > mobile */
.uabb-creative-menu.off-canvas .uabb-off-canvas-menu .uabb-menu-toggle:before {
    padding: 10px;
}
.uabb-creative-menu.off-canvas .uabb-off-canvas-menu .uabb-has-submenu-container a span.menu-item-text > span.uabb-menu-toggle {
    padding: 0 10px;
}


/* quote to cart request */
.mini-quote-dropdown {
    min-width: 320px;
    padding: 20px;
    border: solid 1px #1E2A43;
    box-shadow: 3px 2px 12px #1E2A43;
}
a.quote-remove.remove_from_quote_button {
    font-size: 24px !important;
}
a#view-quote {
    background-color: #1E2A43;
}
img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    object-fit: unset !important;
}

/* HIDE ADD-TO-CART BUTTONS */
button.single_add_to_cart_button.button.alt {
    display: none !important;
}

/* Dev Styling */
.woocommerce-js a.button {background-color: #0172bd;}
.woocommerce-js a.button:hover {background-color: #192546;}
.woocommerce .star-rating {color: #0172bd;}
li.ast-article-single {background-color:#ffffff;text-align:center!important; padding:15px!important;}
.fl-post-grid-post {border:none;}
.woocommerce ul.products li.product.desktop-align-left .star-rating, .woocommerce ul.products li.product.desktop-align-left .button, .woocommerce-page ul.products li.product.desktop-align-left .star-rating, .woocommerce-page ul.products li.product.desktop-align-left .button {margin:5px auto;}
.related h2 {font-size:36px; text-transform:capitalize;}
.fl-post-grid-image img {margin-top:10px;}
.woocommerce-js a.button.alt.disabled, .woocommerce-js a.button.alt.disabled:hover {background-color:#666666;}
.woocommerce-Tabs-panel {background-color:#ffffff;padding:15px!important;}
th, td {border-color:#666666!important;}
.fas.fa-search {font-weight:500!important;}
h2.fl-post-grid-title a {color:#0a0a0a;}
.quote-li .afrq-menu-item {display: block;}
.woocommerce-js button.button:disabled, .woocommerce-js button.button:disabled[disabled] {
    padding: 14px 40px;
}


/* header search bar */
form.custom-header-search-form div {
    display: flex;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    /*overflow: hidden;*/
    border: 0 solid transparent;
    min-height: 50px;
	justify-content: center;
}
form.custom-header-search-form input {
    flex-basis: 60%;
    border-radius: 0px;
    border: unset;
}
form.custom-header-search-form button {
    border-radius: 0px;
    background-color: #0172BD;
    color: #ffffff;
	flex-basis: 10%;
    width: 100%;
    padding: 10px 20px;
}
form.custom-header-search-form button:hover {
    background-color: #1E2A43;
    color: #ffffff;
}
