/*
Theme Name: Storefront Hammersmith Books Child Theme
Theme URI: http://woothemes.com/storefront
Author: WooThemes
Author URI: http://woothemes.com
Template: storefront
Description: Storefront Hammersmith Books child theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: storefront-child
*/

html { visibility: hidden; }

*, html, body {
	font-family: 'Lato', sans-serif!important;
	font-weight: 400;
	font-size: 1em;
	color: #606a70;
}

p , .p, .entry-content li {
	font-size: 0.85em;
	line-height: 1.3em;
	}
	
.entry-content ul ul  {
	margin-top: 10px;
}

.entry-content li li {
	font-size: 1em;
	padding-top: 1px;
	padding-bottom: 1px;
	}
	
.tab_content p {
	font-size: 1em;
}

a:focus {
	outline: none!important; 
	border: 0!important;
}

button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, .button:focus, .added_to_cart:focus {
    outline: none!important;
}


/* EXPAND THE THEME'S DEFAULT MAX-WIDTH */
.col-full {
  max-width: 1150px;
  padding-left: 15px;
  padding-right: 15px;
}

.site-header {
	padding-top: 15px!important;
	margin-bottom: 0!important;
}

.site-header .site-logo-link img {
  width: 243px;
}

.site-header .site-branding img, .site-header .site-logo-anchor img, .site-header .site-logo-link img {
	min-width: 220px;
	}
	
.site-header .site-branding, .site-header .site-logo-anchor, .site-header .site-logo-link {
    margin-bottom: 0;
}
	
.woocommerce-result-count {
    padding: 0.7em 0!important;
}

.site-header .site-logo-anchor img, .site-header .site-logo-link img {
    max-height: none!important;
}

.site-search .widget_product_search input[type="search"], .site-search .widget_product_search input[type="text"] {
    padding: 5px 1.618em 0 3.631em;
	height: 44px;
}






/* After amending the functions.php file to remove the left-column from the single product page, this line pushes the page to display full width */
body.single-product.woocommerce #primary { width: 100%; }

.woocommerce-breadcrumb {
    border-bottom: 0px!important;
    font-size: 0.8em!important;
    margin: 10px 10px 10px 0px!important;
    padding: 1em 0;
}

/* FIX MINI CART BUTTON SIZE PROBLEM */
.button.wc-forward {
  display: block;
  margin-top: 2px;
}

.woocommerce-breadcrumb a {
    font-weight: 400;
}

button, input[type="button"], input[type="reset"], input[type="submit"], .button, .added_to_cart {
    box-shadow: none!important;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea, .input-text {
    background-color: #f4faf4;
	border: 1px solid #006633;
    box-shadow: none!important;
    color: #60646c;
	min-height: 45px!important;
}


/* Customises the + - quantity buttons */
.plus {
	margin-left: 3px;
	padding: 3px 5px 3px 5px!important;
}

.minus {
	margin-right: 3px;
	padding: 3px 6px 3px 6px!important;
}



/* Hides the sku and category data from beneath the buy box on the grouped product page */
.single-product div.product .product_meta {
    display: none;
}

.woocommerce-loop-product__title {
	line-height: 20px;
}

.product_title {
	font-weight: 600;
	margin-bottom: 0!important;
}

.author-name {
	color: #006633;
}

table tbody td, table tbody tr:nth-child(2n) td{
	background: #d6ebd6;
	border-bottom: 1px solid #fff;
}

.quantity .plus, .quantity .minus {
    background: #006633;
	color: #fff!important;
}

.single-product div.product form.cart {
    border-bottom: none!important;
    border-top: none!important;
	}

.woocommerce-tabs {
	border-color: #006633!important;
}

.format-note {
	font-size: 0.85em;
	font-weight: 600;
}

.group_table {
	margin-bottom: 10px;
}

.price {
	color: #ff0000;
}

.price del {
	color: #1f1f1f;
}

.onsale {
    border: 2px solid #ff0000!important;
	color: #fff!important;
	background: #ff0000;
	min-height: 26px;
	padding-top: 10px!important;
}

.single-product .onsale {
	padding-top: 2px!important;
}

.related .onsale {
    padding-top: 10px !important;
}

.single-product ins .amount {
	color: #ff0000!important;
}

.single-product ins .woocommerce-Price-currencySymbol {
	/*color: #ff0000;*/
}

.yith-wcpb-child-of-bundle-table-item {
	font-size: 13px;
}








.entry-summary .cart {
	margin-bottom: 0px!important;
}

.drm-note {
	padding: 15px;
	font-size: 0.85em;
	background: #ecf8ec;
	font-size: 0.85em;
}

.section-title {
	font-weight: 400;
	margin-bottom: 14px;
}


.single-product div.product p.stock::before {
	margin-right: 0!important;
}

/* hides the product in stock notice and its smiley face */
.single-product div.product p.stock.in-stock {
    display: none;
}

/* removes sad face on product out of stock notice */
.single-product div.product p.stock.out-of-stock::before {
    content: ""!important;
}


/* Hides the main page heading on pages - but not blog */
.type-page .entry-header {
	display: none;
}

.hentry {
	border-bottom: none!important;
    margin: 0!important;
    padding-bottom: 15px;
}

/* Forces blog entry to be full page width */
.hentry.type-post .entry-content {
    float: left;
    margin-right: 0;
    width: 100%;
}

.hentry .entry-header h1 {
    border-bottom: 0px!important;
    margin-bottom: 3px;
    padding-bottom: 0.618em;
	font-weight: 400!important;
}

.hentry .entry-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1)!important;
}


.storefront-product-section {
	margin-bottom: 20px!important;
	border-bottom: none!important;
}

.home .content-area, .widget-area {
    margin-bottom: 0!important;
}

.content-area {
	margin-bottom: 0;
}

.content-area .site-main {
	margin-bottom: 0;
}

.home-widgetized-area .widget {
	margin-bottom: 10px;
}
	

.home-widgets-wrapper {
   overflow: hidden;
   clear: both;
   margin-bottom: 30px;
}

.home-widgets-wrapper .home-widgetized-area {
	float: left;
	width: 31.3%;
	margin: 1%;
	background: #d6ebd6;
	padding-bottom: 100000px;
	margin-bottom:  -100000px;
}

.home-widgetized-area .textwidget, .home-widgetized-area .rpwe-block {
	padding: 15px 15px 0px 15px;
}

/* Hides the blog feed thumbnail completely */
.rpwe-thumb {
	display: none!important;
}



.home-widgetized-area h4 {
	text-align: center;
	font-size: 1.618em;
	font-weight: 400;
	padding-bottom: 14px;
	background: #fff;
}

.twitter-timeline { 
	font-size: 14px!important; 
	padding-bottom: 5px; 
	margin-top: 0!important;
	padding-top: 0!important;}


.related.products > h2 {
    text-align: center!important;
	margin-bottom: 40px;
}

h2 {
	font-weight: 400;
}

h2, .beta, h1, .alpha  {
	letter-spacing: 0;
	font-weight: 400;
}

/*hides price on single product add to cart */
.product-type-simple .cart .amount {
	display: none;
}

.product-type-simple .cart {
	background: #d6ebd6;
	padding-left: 25px!important;
	padding-right: 25px!important;
}

/* hides icons before left menu items */
.widget_product_categories ul li.current-cat::before {
    content: ""!important;
}
.widget_product_categories ul li::before {
    content: ""!important;
    margin-right: 0px!important;
}


.product_cat-coming-soon .quantity.buttons_added,
.product_cat-coming-soon .single_add_to_cart_button.button {
    display: none;
}


.widget_product_categories a { color: #006633!important;}


#home-top {
	background: #c4e1c4;
	float: left;
	width: 100%;
	background-image: url(https://www.hammersmithbooks.co.uk/wp-content/uploads/2016/09/banner.jpg);
	background-size: cover;
	height: 278px;
}

#home-top p {
	text-align: left;
	color: #fff;
	font-size: 15px;
}

#home-top-left {
	float: left;
	width: 48%;
	margin: 18px 0 18px 0;
	padding: 0 2% 0 2%;
	text-align: left;
	color: #fff;
}


.home-top-title {
	min-height: 42px;
}

#home-top-right {
	float: left;
	width: 36%;
	margin: 20px 16% 0 0;
	padding: 11px 1% 11px 1%;
	text-align: left;
	/*border-left: 2px solid #fff; */
	background-color: rgba(51, 51, 51, 0.5);
}

.home-top-right-text {
	float: left;
	width: 78%;
}

.home-top-right-image {
	float: right;
	width: 15%;
}




.discount-green {
	color: #006633;
	font-size: 1.3em;
}

.discount-white {
	color: #fff;
}




#home-top h1 {
	color: #fff;
	text-align: left;
	font-weight: 700;
	font-size: 26px;
	padding: 0;
	line-height: 1.214;
	margin-bottom: 0;
}

/*#home-top h2 {
	font-weight: 400;
	font-size: 26px;
	padding: 0;
	line-height: 1.214;
	margin-bottom: 0;
}*/

.textwidget > h2 {
	font-weight: 400;
	font-size: 22px;
	padding: 0;
	line-height: 1;
}
	


.home .site-main {
	padding-top: 1px!important;
	margin-bottom: 0!important;
}

ul.products li{
	margin-bottom: 10px!important;
	font-size: 12px!important;
	line-height: 1px;
}



.home-subscribe-button {
	display: inline-block;
	padding: 5px 10px 5px 10px;
	width: 250px;
	font-size: 14px;
	font-weight: 700;
	background: #99cc99;
	text-align: center;
	color: #fff;
}

.search-inside-button {
	float: left;
	display: inline-block;
	padding: 7px 10px 7px 10px;
	width: 215px;
	font-size: 17px;
	font-weight: 700;
	text-align: center;
	background-color: #f4faf4;
	height: 44px;
	color: #6d6d6d;
}

.widget-subscribe-button {
	display: inline-block;
	padding: 5px 10px 5px 10px;
	width: 250px;
	font-size: 14px;
	font-weight: 700;
	background: #99cc99;
	text-align: center;
	margin-top: 10px;
	color: #fff;
}


.main-navigation ul li a::before {
    content: "";
    margin-right: 0em;
}


.main-navigation li ul li a {
    background: #f4faf4;
	margin-left: 0!important;
}

.site-header, .main-navigation ul ul, .secondary-navigation ul ul, .main-navigation ul.menu > li.menu-item-has-children::after, .secondary-navigation ul.menu ul, .main-navigation ul.menu ul, .main-navigation ul.nav-menu ul {
    margin-left: 0!important;
}

.main-navigation ul ul li a, .secondary-navigation ul ul li a {
    color: #006633 !important;
	padding-top: 3px!important;
	padding-bottom: 3px!important;
	font-size: 12px!important;
}

.sub-menu { padding-left: 0px!important; }
.sub-menu li a { padding-left: 35px!important; }



.woocommerce-info, .woocommerce-noreviews, p.no-comments {
    background-color: #c0ddc0!important;
}

.widget_shopping_cart .product_list_widget li {
	font-size: 11px;
	font-weight: 600;
}

.catalogue-thumb {
	float: left;
	width: 50%;
	margin-right: 5%;
}

.catalogue-thumb  img {
	width: 100%;
	max-width: 250px;
}

.catalogue-text {
	float: left;
	width: 45%;
	font-size: 13px;
	line-height: 1.3em;
}

.catalogue-text h5 {
	font-weight: 700;
	font-size: 14px;
}



.widget_nav_menu ul li::before {
    content: none!important;
}

.footer-widgets {
    padding-top: 10px!important;
}

.footer-widgets a {
	font-weight: 400!important;
}

.site-footer a:not(.button) {
	font-size: 0.85em;
}

ul.products li.product img, .single-product .woocommerce-main-image img {
	border: 1px solid #d5ecd5;
}

.related ul.products li.product img {
    max-height: 205px!important;
    width: auto;
	margin-bottom: 8px;
} 


.footer-widgets ul.menu li.current-menu-item > a {
    color: #99cc99!important;
}

.site-info {
    padding: 10px 0 0 0;
	font-size: 0.9em;
	color: #fff;
}

.site-info a {
    font-size: 1em!important;
	font-weight: 400;
}

.firsty-powered {
	float: right;
}

.firsty-powered img {
    float: left;
	margin-left: 10px;
	width: 80px!important;
}

.firsty-powered img.glassboxx-logo {
	width: 120px !important;
}

.form-row label {
    padding-bottom: 10px;
}

label.inline {
	margin-top: 5px;
}

/* Styles the Constant Contact form labels */
.constantcontactwidget_form label {
	display: inline-block;
	width: 90px;
}


/* Adds a logo to the Facebook link in the footer */
.menu-item-295  {
	background-image: url('https://www.hammersmithbooks.co.uk/wp-content/uploads/2015/06/facebook-icon.png');
	background-size: 25px 25px;
	padding-left: 30px;
	background-repeat: no-repeat;
}

/* Adds a logo to the Twitter link in the footer */
.menu-item-296  {
	background-image: url('https://www.hammersmithbooks.co.uk/wp-content/uploads/2015/06/twitter-icon.png');
	background-size: 25px 25px;
	padding-left: 30px;
	background-repeat: no-repeat;
}

/* Adds a logo to the Instagram link in the footer */
.menu-item-11489 {
	background-image: url('https://www.hammersmithbooks.co.uk/wp-content/uploads/2019/12/instagram-icon.png');
	background-size: 25px 25px;
	padding-left: 30px;
	background-repeat: no-repeat;
}

/* Adds a logo to the Pinterest link in the footer */
.menu-item-387  {
	background-image: url('https://www.hammersmithbooks.co.uk/wp-content/uploads/2015/06/pinterest-icon.png');
	background-size: 25px 25px;
	padding-left: 30px;
	background-repeat: no-repeat;
}

/* Adds a logo to the Google+ link in the footer */
.menu-item-388  {
	background-image: url('https://www.hammersmithbooks.co.uk/wp-content/uploads/2015/06/googleplus-icon.png');
	background-size: 25px 25px;
	padding-left: 30px;
	background-repeat: no-repeat;
}

/* Adds a logo to Firsty link in the footer */
.menu-item-297  {
	background-image: url('https://www.hammersmithbooks.co.uk/wp-content/uploads/2016/09/firsty-powered.png');
	background-size: 59px 32px;
	padding-left: 30px;
	background-repeat: no-repeat;
}

.widget_nav_menu ul li {
    margin-bottom: 0.2em;
}

#nav_menu-2, #nav_menu-3, #nav_menu-4, #nav_menu-7 {
	margin-bottom: 10px!important;
}

.my-account-instruction {
	padding: 10px 15px 10px 15px;
	margin: 10px 0 20px 0;
	background: #eff7ef;
	font-size: 0.8em;
}

.my-account-instruction p {
	margin-bottom: 4px;
}

.my-account-instruction li {
	margin: 1px 0 2px 0;
}

.woocommerce-MyAccount-navigation ul {
    margin-left: 0;
}

.woocommerce-MyAccount-navigation li {
    float: left;
    margin-right: 20px !important;
	border-right: 1px solid rgba(0, 0, 0, 0.05);
	padding-right: 20px;
}

.woocommerce-MyAccount-navigation li:last-child {
	border-right: none;
}

.woocommerce-MyAccount-navigation-link--downloads {
    display: none;
}

#ostLightbox h2 {
	display: none;
}

.ostContent {
	padding: 10px 15px 10px 15px;
	font-size: 1.1em;
}

.ostContent li {
	margin: 4px 0 4px 0;
	font-size: 1em;
}

.ostContent h3 {
	padding: 15px 0 5px 0;
}

.ostContent h4 {
	padding: 10px 0 5px 0;
}

.ostContent img {
	padding-top: 10px;
	padding-bottom: 10px;
}

.constantcontactwidget_form {
	padding-left: 15px;
	padding-right: 15px;
}

.constantcontactwidget_form input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea, .input-text {
    background-color: #f4faf4;
	border: 1px solid #006633;
    box-shadow: none!important;
    color: #60646c;
	min-height: 28px!important;
	width: 100%;
	max-width: 300px;
}

.search-inside-grid {
	float: left;
	min-width: 130px;
	width: 20%;
	margin: 6.5%;
	text-align: center;
	min-height: 475px;
}
.search-inside-grid  img
{
	border: 1px solid #d5ecd5;
}
.search-inside-grid  h3
{
	font-size: .857em;
	min-height: 50px;
	text-align: left;
}
.search-inside-grid .button  
{
	margin-top:10px;
}
.clear
{
	clear:both;
}
/* forces catalogue images to be a maximum height but keep the width ratio */
ul.products li.product img {
    max-height: 205px;
    width: auto;
}

ul.products li.product h3 {
    min-height: 50px;
	line-height: 18px;
	margin: 12px;
}

ul.products li.product .onsale {
	/*display: none;*/
}

#twitter-widget-0 { 
	margin-left: 10px!important;
	}
	

.hentry.type-post .entry-meta {
    margin-right: 0%;
    width: 100%;
}

.blog .entry-meta {
	display: none;
	}
	
/* Share icons text */
.sfsiaftrpstwpr .sfsi_plus_Sicons span {
	font-size: 14px;
}

.storefront-sorting {
	/*display: none;*/
}

#menu-footer-menu-1 {
	line-height: 15px;
}

#menu-footer-menu-2 {
	line-height: 15px;
}

#menu-footer-menu-3 {
	line-height: 15px;
}

ul.products li.product .button {
	margin-bottom: 14px;
}

ul.products {
	margin-bottom: -14px!important;
}

#mc_embed_signup input[type="text"],
#mc_embed_signup input[type="email"] {
	min-height: 45px!important;
	border-bottom-width: 1px!important;
	border-bottom-style: solid!important;
	border-bottom-color: #006633!important;
	width: 100%!important;
	margin-bottom: 5px;
	max-width: 500px!important;
}

#mc_embed_signup form {
	padding: 10px 0 0 3%!important;
}

.indicates-required {
	font-size: 80%;
	float: right;
}

a.about_paypal {
    font-size: 10px;
    margin-left: 10px;
}

.ctcc-left-side {
    color: #80b380!important;
}

.home-widgetized-area .textwidget, .home-widgetized-area .rpwe-block {
	padding: 0 15px 0 15px;
}

/* hides the sesrch button */
.site-header .site-search .woocommerce-product-search button {
    display: none;
}


/* Search Inside link on product page  */
.product-search-inside a:link,
.product-search-inside a:focus,
.product-search-inside a:visited {
    border: 1px solid #99cc99;
	background: #99cc99;
    padding: 2px 15px 5px 15px;
    margin: 0 0 20px 0;
    display: inline-block;
	color: #fff;
}

.product-search-inside a:hover {
    border: 1px solid #80b380;
	background: #80b380;
	color: #fff;
}

.quantity .qty { max-width: 150px!important; min-width: 50px!important; }


.wpcf7 form.sent .wpcf7-response-output {
  font-size: 23px;
  margin: 10px 0;
}


@media screen and (max-width: 974px) {
	.search-inside-grid { min-height: 400px;}
}

@media screen and (max-width: 768px) {
	.col-full { margin-left: 0; margin-right: 0; }
	.site-header .site-logo-link img { margin-bottom: 20px; }
	.site-header-cart .cart-contents:after { font-size: 1.5em;  }
	.site-header-cart .cart-contents { background: #fff!important; }
	.single-product  img { width: 100%; max-width: 330px; }
	.site-header-cart .cart-contents {right: 12px!important;}

/* Stops the qty box squashing too small and knocking buttons out on line */
	.quantity.buttons_added { min-width: 75px; }	
	.quantity .qty { max-width: 2em!important; }
	table td, table th { padding: 0.557em 1em!important; }

	#home-top {	min-height: 143px; }
}

@media screen and (min-width: 768px) {
	.woocommerce-active .site-header .main-navigation { margin-right: 0%; width: 80%; }
	.woocommerce-active .site-header .site-header-cart { width: 20%; }
	
	.main-navigation ul  { padding-left: 30px; }
	.main-navigation ul li a { padding: 15px 4px 15px 4px !important; color: #fff!important; }
	.menu.nav-menu { background: #99cc99; }

	.secondary-navigation, .site-search { margin-top: 40px; }
	
	.site-header-cart .cart-contents { background: #99cc99!important; padding: 15px 0 15px 0!important; color: #fff!important; }
	.site-header-cart .cart-contents:after { font-size: 1.5em; padding-top: 10px; }
	
	/* left and right columns of product page */
	.single-product div.product .images { width: 29.1765%!important; margin-left: 2%!important; }
	.single-product div.product .summary { width: 62.9412%!important; }
	
	.widget_product_categories ul li { 	margin-left: /*20px*/0px; }
	.widget_product_categories h3.widget-title { border-bottom: none!important; font-weight: 600!important; font-size: 1.2em!important; letter-spacing: -1px!important; margin-left: /*20px*/0px; }
		.quantity.buttons_added { min-width: 110px; }	
}

	
@media screen and (min-width: 581px) and (max-width: 830px) {
	#home-top {	min-height: 143px; }
}

@media screen and (min-width: 581px) and (max-width: 1042px) {
	#home-top-left { width: 46%; margin: 20px 2% 10px 0; padding: 0 2% 0 2%; }
	#home-top-right { width: 46%; margin: 20px 0 10px 2%; padding: 2% 2% 2% 2%; }
}


@media screen and (max-width: 580px) {
	.site-header .site-branding img, .site-header .site-logo-anchor img, .site-header .site-logo-link img { min-width: 190px; }
	.site-header .site-logo-link img { width: 270px; }
	#home-top-left { width: 90%; margin: 20px 5% 0px 5%; padding: 0; border-right: none; text-align: center; }
	#home-top-right { width: 86%; margin: 20px 7% 10px 7%; padding: 5% 7% 5% 7%; text-align: center; }
	.home-top-right-text { display: block; width: 100%;}
	.home-top-right-image { display: none; } 
	#home-top h1 { font-size: 18px; line-height: 1.214; }
	#home-top h2 { font-size: 18px;}
	#home-top p { display: none; }
	#home-top {	min-height: 390px; }
	.home-subscribe-button { margin-bottom: 5px;}
	.home-top-title { min-height: 0px; margin-bottom: 10px; }
	.home-widgets-wrapper { overflow: visible; clear: both; 	margin-bottom: 30px; }
	.home-widgets-wrapper .home-widgetized-area { width: 98%; margin: 1%; padding-bottom: 10px; margin-bottom: 20px; }
	ul.products li.product img { max-height: auto; }
	ul.products li.product h3 { min-height: 0px; }
	.tabs li { margin-bottom: 10px; }
}

@media only screen and (max-width: 480px) {	
	table.cart td, table.cart th { padding: 0.3em!important; }
	.cart-item .product-remove { max-width: 30px !important; }
	.cart_item .product-name { font-size: 12px!important; padding-top: 0.5em!important; }
	.cart_item .product-price { font-size: 12px!important; padding-top: 0.5em!important; }
	.cart_item .product-subtotal { font-size: 12px!important; padding-top: 0.5em!important; }
	.cart_item .quantity { max-width: 40px!important; min-width: 0px!important;}
	
	#home-top {	min-height: 143px; }
}

@media screen and (max-width: 500px) {
	.firsty-powered { float: left; margin-top: 10px; }
}

@media screen and (max-width: 460px) {
	#home-top {	min-height: 326px; }
	#home-top-right { width: 88%; margin: 20px 6% 10px 6%; padding: 4% 5% 4% 5%; }
	#home-top h1 { font-size: 16px; }
	
}


/* Small screen mobile grouped product */
@media only screen and (max-width: 360px) {
	.group_table .quantity { min-width: 0px!important; width: 83px!important; }
	.group_table tbody tr td  { padding: 5px!important; }
	.group_table .quantity .qty { width: 40px!important; }

	#home-top {	min-height: 292px; }
}






@media screen and (min-width: 1043px) {
	.site-header .site-logo-link img { width: 100%; max-width: 440px; }
	.site-header .site-branding, .site-header .site-logo-anchor, .site-header .site-logo-link { width: 38.7391304348%; }
	.woocommerce-active .site-header .secondary-navigation { width: 30.8260869565%; }
}

@media screen and (min-width: 768px) and (max-width: 1042px){
	.site-header .site-logo-link img { width: 100%; max-width: 440px; }
	.site-header .site-branding, .site-header .site-logo-anchor, .site-header .site-logo-link { width: 33.7391304348%; }
	.woocommerce-active .site-header .secondary-navigation { width: 35.8260869565%; }
}