/* 
Theme Name: Lewis Masonic Digital
Version: 2.0 
Description: Child theme for Storefront. 
Author: Firsty Group
Author URI: http://firstygroup.com
Template: storefront 
*/  

/* --------------- Theme customization starts here ----------------- */


html, body, button, input, select, textarea, h1, h2, h3, h4, h5, h6 {
	font-family: Georgia, serif;
}

h3 {
  line-height: 1.3;
}

a:focus {
	outline: none;
}

button.menu-toggle,
button.menu-toggle:hover {
	border: 0;
	background-color: #f6f6f6;
}

button {
	font-weight: 400;
}

button:focus {
	outline: 0;
}

.widget_shopping_cart .buttons a {
	border-radius: 4px;
}

input[type="text"], input[type="number"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"], textarea, .input-text {
	box-shadow: none;
	border-radius: 4px;
}

button.alt, input[type="button"].alt, input[type="reset"].alt, input[type="submit"].alt, .button.alt, .widget-area .widget a.button.alt {
	border-radius: 4px;
}

.site-header {
	background: #000;
	/*border-top: 25px solid #377e46;*/
	border-top: 0;
}

.header-my-account a:link,
.header-my-account a:visited {
	color: #fff;
}

.header-my-account a:hover {
	color: #367e46;
}

.storefront-primary-navigation {
	background: #f6f6f6;
}

.home-banner-slider {
	text-align: center;
	margin: 0 auto;
	display: block;
	width: 100%;
	max-width: 1200px;
}

.home h1 {
	text-align: center;
	margin: 50px 0;
}

.intro-text {
	width: 100%;
	margin: 0 auto;
	margin-bottom: 0px;
	margin-bottom: 40px;
	background: #f6f6f6;
	padding: 5%;
	max-width: 1200px;
}

.home-3-columns {
	float: left;
	width: 29.333%;
	height: auto;
	margin: 20px 2% 0px 2%;
}

.wcpscwc-product-slider button.slick-prev, .wcpscwc-product-slider button.slick-prev:hover {
	left: -20px;
}

.wcpscwc-product-slider button.slick-next, .wcpscwc-product-slider button.slick-next:hover {
	right: -20px;
}

ul.products li.product img, ul.products .wc-block-grid__product img, .wc-block-grid__products li.product img, .wc-block-grid__products .wc-block-grid__product img {
	padding: 0 25px;
}

.home-product-slider {
	display: block;
	float: left;
	width: 100%;
	margin-top: 35px;
}

.home-product-slider h3 {
	margin-bottom: 25px;
}

.woocommerce-breadcrumb {
	border-bottom: 1px solid #b1cdb7;
	font-size: .857em;
	padding: 1em 0;
}

.woocommerce-breadcrumb a:first-of-type::before {
	display: none;
}

.home .site-main ul.products li.product {
	background: transparent;
}

.button {
	font-weight: 400;
}



/* CATEGORY VIEW */

/* To make images the same height - may remove this */
ul.products li.product img {
	height: 275px;
	width: auto;
}

.site-main ul.products li.product {
	background: #f6f6f6;
	padding-bottom: 35px;
	padding-top: 35px;
	border-radius: 4px;
}

.listing-authorname {
	margin-bottom: .5407911001em;
}

ul.products li.product .button, ul.products .wc-block-grid__product .button, .wc-block-grid__products li.product .button, .wc-block-grid__products .wc-block-grid__product .button {
	margin-top: 15px;
	border-radius: 4px;
}

.woocommerce-loop-product__title {
	padding: 0 15px;
}



/*  PRODUCT PAGE  */


.woocommerce-grouped-product-list-item__label,
.single-product div.product form.cart table.woocommerce-grouped-product-list .woocommerce-grouped-product-list-item__quantity,
.woocommerce-grouped-product-list-item__price
 {
	background: #f6f6f6!important;
}

.woocommerce-grouped-product-list-item__quantity {
	border-radius: 4px 0 0 4px;
}

.woocommerce-grouped-product-list-item__price {
	border-radius: 0 4px 4px 0;
}

.single_add_to_cart_button.button.alt {
	font-size: 22px;
	font-weight: 400;
}

/* Makes product page image the same width */
.single-product div.product .woocommerce-product-gallery img {
	width: 100%;
}

h1.product_title.entry-title {
	margin-bottom: 10px;
}

h3.product-authorname {
	color: #367e46;
	line-height: 1.25;
}

.product-publicationdate {
	font-size: 18px;
	margin: 0;
}

.woocommerce-product-details__short-description {
	margin-top: 25px;
}

.related > h2:first-child, .upsells > h2:first-child {
	font-size: 2em;
	margin-top: 2.2906835em;
}

.product-description {
	display: block;
	float: left;
	width: 100%;
	border-bottom: 1px solid #b1cdb7;
	margin-bottom: 30px;
	padding-bottom: 15px;
}

.product-abouttheauthor {
	display: block;
	float: left;
	width: 100%;
	border-bottom: 1px solid #b1cdb7;
	margin-bottom: 30px;
	padding-bottom: 15px;
}

.single-product div.product form.cart table.woocommerce-grouped-product-list .woocommerce-grouped-product-list-item__label {
	font-size: 20px;
	line-height: 1.25;
}

.woocommerce-grouped-product-list-item__price {
	font-size: 20px;
}

.wc-grouped-product-add-to-cart-checkbox {
	margin-top: 15px;
}

.single-product div.product form.cart table.woocommerce-grouped-product-list .woocommerce-grouped-product-list-item__label label::after {
	content: 'Glassboxx protected file';
	display: block;
	font-size: 13px;
	margin-top: 7px;
}

.product-glassboxx-notice {
	padding: 15px;
	background: #d7dde9;
	margin: 5px 0px 20px 0px;
	font-size: 1.1em;
	border-radius: 4px;
}





/* FOOTER */

.site-footer {
	background-color: #383838;
	color: #fff;
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:not(.button):not(.components-button) {
	color: #d0d0d0;
}

.widget_nav_menu ul li::before {
	display: none;
}

.widget_nav_menu ul li {
	padding-left: 0;
}

.firsty-logo {
	width: 135px;
	height: auto;
	margin: 0 0 5px 0;
	padding: 0px;
}

.social-icon {
	float: left;
	margin-right: 5px;
	width: 40px;
}








@media screen and (max-width: 689px) {
	.home-3-columns { width: 100%; margin: 20px 0% 0px 0%; }
	.single_add_to_cart_button.button.alt { width: 100%; }
}


@media screen and (max-width: 767px) {
	.storefront-primary-navigation { background: #000; }
	.header-my-account { display: none; }
}



@media screen and (min-width: 768px) {
	.woocommerce-active .site-header .site-branding { width: 48.9130434783%; margin-right: 2.347826087%; }
	.header-my-account { width: 25%; margin-right: 2%; float: left; text-align: right; margin-top: 25px; color: #989898; }
	.woocommerce-active .site-header .site-search { width: 21.7391304348%; margin-right: 0; margin-top: 16px; }

	.site-header .site-branding img { max-width: 322px; }
	.site-header { padding-top: 22px; border-bottom: 0; }
	.col-full { max-width: 1280px; }
	.primary-navigation { font-size: 20px; }
	.main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 1em 0.5em; }
	.main-navigation ul.menu ul.sub-menu, .main-navigation ul.nav-menu ul.children { background-color: #f6f6f6; }
	.site-header-cart .cart-contents { padding: 1em 0; font-size: 20px; }
	
	.single-product div.product .woocommerce-product-gallery { width: 31.1764705882%; }
	.single-product div.product .summary { width: 62.9411764706%; }
	
	.footer-widgets { border-bottom: 1px solid #f6f6f6; }
}



/* Hides annoying 'Edit' button when logged in */
.edit-link {
	display: none;
}