/**
Theme Name: Supreme Plastic Roofing
Author: Bloom Online
Author URI: https://bloomonline.co.nz
Description: WooCommerce Store theme built with Astra for Supreme Plastic Roofing
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: supreme-plastic-roofing
Template: astra
*/

#primary {
    margin: 0;
}

.spr-page-heading .spr-subtitle {
    font-weight: 300;
    padding-left: 15px;
}

.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-bottom: 10px;
}

a[href^="tel:"] {
	color: inherit !important;
}

/********************
HEADER & NAVIGATION
********************/

.header-main-layout-2 .main-header-container {
	display: none;
}

.ast-below-header-navigation.ast-justify-content-center {
  justify-content: left;
}

.main-header-bar .main-header-bar-navigation {
  display: none;
}

.ast-menu-cart-outline .ast-addon-cart-wrap {
    background: #48626f;
    border: none;
	font-size: 16px;
}

.ast-site-header-cart i.astra-icon::after {
	box-shadow: none;
}

/********************
 CUSTOM HEADER & NAVIGATION
********************/

#spr-top-header-cart {
    text-align: right;
}

#header-top-bar .ast-menu-cart-outline .ast-addon-cart-wrap {
	background: #94a2aa;
	border: none;
	color: #fff;
	border-radius: 0;
	padding: 0 20px;
}

#header-top-bar .ast-site-header-cart .ast-woo-header-cart-info-wrap {
	line-height: 2.6;
}

#header-top-bar .ast-site-header-cart i.astra-icon {
    font-size: 16px;
    font-size: 1em;
}

#header-top-bar .widget_search .search-field,
#header-top-bar .widget_search .search-field:focus {
  padding-top: 9px;
	padding-bottom: 9px;
}

#tagline {
  font-weight: bold;
}

#phone {
    font-size: 2.625em;
    font-weight: bold;
    line-height: 1em;
}

#phone::before {
    content: url(https://supremeplastics.co.nz/wp-content/themes/supreme-plastic-roofing/images/phone.png);
    position: relative;
    top: .12em;
    right: .2em;
}

/********************
Mega Menu
********************/

.ast-below-header-menu .astra-megamenu a,
.ast-below-header-menu .astra-megamenu ul a{
    padding: 10px;
    display: block;
    word-wrap: break-word;
    line-height: 1.2;
}

.astra-megamenu.sub-menu.astra-mega-menu-width-content {
    padding: 15px 30px !important;
}

.ast-desktop .ast-below-header-navigation .astra-megamenu-li li.menu-item-heading > a:hover {
    color: #48626f;
    background-color: transparent;
}

.ast-desktop .ast-mega-menu-enabled .astra-megamenu-li:hover .astra-megamenu.sub-menu > li {
    padding-left: 5px;
    padding-right: 5px;
}

/********************
Knowledge Brochures
********************/

.brochure-heading h2 {
    border-bottom: 1px solid #dbdbdb;
    line-height: 1.6em;
}

.brochure-heading h2 span.fl-heading-text span {
    font-weight: 300;
    margin-left: 10px;
}

/********************
 FEATURED DEALS
********************/

.spr-featured-bottom {
    background: #8BC53F;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.spr-featured-price {
    font-size: 28px;
}

/********************
WooCommerce
********************/

.ast-woocommerce-container {
	margin-top: 50px;
}

.page-title {
    font-weight: 700;
    border-bottom: 1px solid #dbdbdb;
    line-height: 1.5;
}

.woocommerce span.onsale {
    background-color: #FFB159;
    color: #fff !important;
}

.woocommerce ul.products li.product.product-category>a,
.woocommerce-page ul.products li.product.product-category>a {
	width: 100%;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	border: 2px solid #dddedf !important;
}

/* Buttons */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background-color: #48626f;
	color: #ffffff;
}
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: #8bc53f;
    color: #fff;
}

.products .woocommerce-product-details__short-description p:last-child {
    display: none;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
	margin-bottom: 0;
	font-size: 1.5em;
}

.woocommerce ul.products li.product a.button,
.woocommerce-page ul.products li.product a.button {
	background: #8bc53f;
	width: 100%;
}

.woocommerce-cart-form__cart-item.cart_item dd {
    font-weight: normal;
}

.woocommerce div.product .variations_form label {
  margin-bottom: 0;
}

.woocommerce div.product .variations_form a.reset_variations {
    margin: 0;
}

/* Gallery */
@media screen and (max-width: 768px){
	.woocommerce #content div.product div.images,
	.woocommerce div.product div.images,
	.woocommerce-page #content div.product div.images,
	.woocommerce-page div.product div.images {
    max-width: 500px;
	}

}

/********************
 ICONIC VARIATION SWATCHES
********************/

.iconic-was-swatches {
    margin: 5px 0 0;
}

.iconic-was-swatches--border.iconic-was-swatches--visual .iconic-was-swatch:hover:before,
.iconic-was-swatches--border.iconic-was-swatches--visual .iconic-was-swatch--selected:before {
    border-color: #8bc53f;
}

/********************
 BLOCKS
********************/
.wp-block-gallery {
	margin-bottom: 15px;
}

/********************
 FOOTER
********************/
#footer-phone .fl-icon i::before {
    border: 2px solid #48626f !important;
    padding: 3px 8px;
    border-radius: 50px;
}

#footer-phone .fl-icon i {
  font-size: 30px;
}

#footer-phone .fl-icon-text {
  font-weight: 700;
  font-size: 30px;
}

.ast-custom-footer .fl-icon i.fa-facebook-f {
    color: #ffffff;
    background: #48626f;
    line-height: 35px;
    width: 35px;
    height: 35px;
    text-align: center;
    border-radius: 50px;
}

.footer-icon-col {
    text-align: center;
}

.footer-icon-col .fl-icon i {
    font-size: 30px;
    color: #9caab2;
}

.footer-icon-col .fl-rich-text {
    color: #9caab2;
    line-height: 1.1;
    font-weight: 600;
    font-size: 16px;
}

.footer-visit {
    font-size: 16px;
}

.spr-copyright {
    font-size: 14px;
}
