/* 
Theme Name: Stanford University Press
Version: 1.0 
Description: Child theme for Storefront. 
Author: Firsty Group
Author URI: http://firstygroup.com
Template: storefront 
*/  

/* --------------- Theme customization starts here ----------------- */

html, body {
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
	font-style: normal;
}

button, input, textarea {
	font-family: "Montserrat", sans-serif;
	font-weight: 500;
	font-style: normal;
}

h2 + h3, .beta + h3 {
	border-top: 0;
}

h1, h2, h3 {
	font-family: "Montserrat", sans-serif;
	font-weight: 500;
	font-style: normal;
}

a:focus,
input:focus,
button:focus {
	outline: none;
	border: 0;
}

img {
	border-radius: 0;
}

.button, button {
	border-radius: 0;
}

input[type="text"], input[type="number"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"], textarea, .input-text {
	background-color: #fff;
	color: #24272D;
	border: 1px solid #DCE1E4;
	box-shadow: none;
}


/* HEADER */

.woa-top-bar #custom_html-2 {
	float: left;
}

.woa-top-bar #custom_html-4 {
	float: right;
}

.woa-top-bar #custom_html-2 img {
	width: 150px;
}

.wpml-ls-legacy-list-horizontal {
	clear: none;
	float: right;
}


.header-my-account img {
	width: 32px;
	margin-left: auto;
	margin-right: 2%;
}

.site-header-cart .cart-contents::after {
	background: url('images/cart-icon.png') no-repeat;
	background-size: 34px 34px;
	height: 34px;
	width: 34px;
	content: "";
}



header input[type="search"]:focus {
	outline: 0;
	background-color: transparent;
}


.site-header {
	margin: 0 auto 50px;
	position: relative;
}

.language_switcher {
	float: left;
	width: 80%;
	margin-top: 8px;
	margin-bottom: 25px;
	
	text-align: right;
}

.woo-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper span.wmc-current-currency {
	font-size: 14px;
}

.woo-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper .wmc-sub-currency {
	border: 1px solid #dce1e4;
}

.woo-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper .wmc-sub-currency .wmc-currency a {
	font-size: 14px;
}

.woo-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper span.wmc-current-currency {
	border: 0;
}

.woo-multi-currency.wmc-shortcode.plain-horizontal.layout6 .wmc-currency {
	font-size: 15px;
}

.wcml-dropdown {
	float: right;
}

.header_currency_switcher.wcml-dropdown .wcml-cs-active-currency > a {
	font-size: 12px;
}
.header_currency_switcher.wcml-dropdown li > a {
	font-size: 12px;
}


.main-navigation {
	font-family: "Montserrat", sans-serif;
	font-size: 20px;
}


table:not(.has-background) th {
	background-color: #e5e7eb;
}

.cart th {
  background-color: transparent !important;
  border-bottom: 2px solid #dad7cb;
}

.woocommerce-message, .woocommerce-info, .woocommerce-noreviews, p.no-comments {
	color: #544948;
}

.woocommerce-error {
	color: #fff;
}

.woocommerce-message::before, .woocommerce-info::before, .woocommerce-noreviews::before, p.no-comments::before {
	color: #b1040e;	
}

.woocommerce-error::before {
	color: #fff;
}

.woocommerce-message a, .woocommerce-info a, .woocommerce-error a, .woocommerce-noreviews a, p.no-comments a {
	color: #b1040e;
	font-weight: 600;
}

.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button, .woocommerce-noreviews .button, p.no-comments .button {
	color: #b1040e;
	border-left-color: #b1040e!important;
}

.woocommerce-message .button:hover, .woocommerce-info .button:hover, .woocommerce-error .button:hover, .woocommerce-noreviews .button:hover, p.no-comments .button:hover {
	color: #544948;
}

.woocommerce-message a:hover, .woocommerce-info a:hover, .woocommerce-error a:hover, .woocommerce-noreviews a:hover, p.no-comments a:hover {
	color: #544948;
}


.woocommerce-message, .woocommerce-info {
	background-color: #e5e7eb;
	border-left: 0;
}

.woocommerce-message:focus {
	outline: none;
}

.woocommerce-error {
	background-color: #c10033;
	border-left: 0;
}

.woocommerce-noreviews, p.no-comments {
	border-left: 0;
}

/* Makes the featured single product image not clickable by changing the pointer. */
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
	pointer-events: none;
}

.shop_table thead {
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
}

table th {
  font-weight: 600;
}

a.remove::before {
	color: #b1040e;
}

.hentry.type-page .entry-header {
	margin-bottom: 50px;
	text-align: center;
}

h1.product_title.entry-title {
	margin-top: 20px;
	margin-bottom: 0;
}

h2.product-subtitle {
	color: #544948;
}

h3.product-authorname {
	padding-top: 0;
}

h3.product-format {
	font-size: 18px;
	color: #544948;
	margin-bottom: 0;
}

h3.product-format.download {
	float: left;
	margin-right: 6px;
	clear: none;
}

.product_cat-hardback h3.product-format.download.type,
.product_cat-paperback h3.product-format.download.type {
	display: none;
}

table.cart td.product-name .basket-item-format .B409,
table.cart td.product-name .basket-item-format .B102,
table.cart td.product-name .basket-item-format .hardback
table.cart td.product-name .basket-item-format .paperback,
table.cart td.product-name .basket-item-format .PRINT,
table.cart td.product-name .basket-item-format .print {
	display: none;
}

table.woocommerce-checkout-review-order-table td.product-name .basket-item-format .B409,
table.woocommerce-checkout-review-order-table td.product-name .basket-item-format .B102,
table.woocommerce-checkout-review-order-table td.product-name .basket-item-format .hardback
table.woocommerce-checkout-review-order-table td.product-name .basket-item-format .paperback,
table.woocommerce-checkout-review-order-table td.product-name .basket-item-format .print,
table.woocommerce-checkout-review-order-table td.product-name .basket-item-format .PRINT {
	display: none;
}

.single-product div.product p.price {
	float: left;
	width: 100%;
}

.woo-multi-currency.wmc-price-switcher {
	margin: -1px 0 0 0;
}


.cart dt.variation-AuthorName,
.cart dt.variation-Format,
.woocommerce-checkout-review-order dt.variation-AuthorName,
.woocommerce-checkout-review-order dt.variation-Format {
	display: none;
}

.cart dl.variation,
.woocommerce-checkout-review-order dl.variation {
	font-size: .8em;
	margin-top: 0;
}

.cart dt.variation-ISBN {
	float: left;
	margin-right: 3px;
	margin-top: -20px;
	font-weight: normal;
	display: none;
}

.cart dd.variation-ISBN {
	float: left;
	margin-top: -25px;
	font-weight: 400;
}

.woocommerce-checkout-review-order dt.variation-ISBN {
	float: left;
	margin-right: 3px;
	margin-top: -20px;
	font-weight: normal;
	display: none;
}

.woocommerce-checkout-review-order dd.variation-ISBN {
	float: left;
	margin-top: -25px;
	font-weight: 400;
}

.woocommerce-checkout-review-order .product-quantity {
	float: right;
	font-weight: normal;
	font-size: 14px;
	margin-top: 3px;
}

table.woocommerce-checkout-review-order-table .product-name {
	width: 60%;
}

table.cart td.product-name {
	font-weight: 600;
	color: #544948;
	padding-top: 20px;
}

table.cart td.product-name .basket-item-format {
	color: #544948;
	font-weight: 400;
}

table.woocommerce-checkout-review-order-table td.product-name {
	font-weight: 600;
	color: #544948;
	padding-top: 20px;
}

table.woocommerce-checkout-review-order-table td.product-name .basket-item-format {
	color: #544948;
	font-weight: 400;
}

table.woocommerce-checkout-review-order-table td.product-name .basket-item-format.binding {
	float: left;
}

.item-requires-app {
	font-size: 12px;
}

.basket-item-format .PDF,
.basket-item-format .EPUB,
.basket-item-format .pdf,
.basket-item-format .ePUB {
	font-size: 11px;
	text-transform: uppercase;
}

.ebooks-note {
	max-width: 650px;
	font-size: 14px;
	line-height: 1.4;
}

.custom-contine-shopping {
	float: right;
}

@media screen and (max-width: 950px) {
	.custom-contine-shopping { float: left; width: 100%; }
	.ebooks-note { max-width: none; float: left; width: 100%; margin-top: 40px; margin-bottom: 30px; }
}

.custom-contine-shopping a {
	background: #b1040e;
	color: #fff;
	text-decoration: none !important;
	padding: 15px 25px;
	font-weight: 600;
	line-height: 1.618;
}

.custom-contine-shopping a:hover {
	background: #980000;
}


.cart-lower-partner-note {
	text-align: center;
	font-weight: 600;
	margin: 30px 10px 0;
}

.checkout-customs-note {
	text-align: left;
	font-weight: 600;
	margin: 0 10px 30px 0;
	line-height: 1.3;
}

.storefront-handheld-footer-bar ul li > a {
	background: #b1040e;
}

.site-footer .storefront-handheld-footer-bar a:not(.button):not(.components-button) {
	color: #fff;
}

.storefront-handheld-footer-bar ul li.cart .count {
	color: #544948;
	font-weight: bold;
	background-color: #e5e7eb;
	border-color: #e5e7eb;
}

.storefront-handheld-footer-bar li.search {
	display: none!important;
}

.storefront-handheld-footer-bar ul.columns-3 li {
	width: 50%!important;
}

.basket-item-format {
	font-size: 14px;
	margin-top: 3px;
}

.wc-forward::after {
	content: "";
	margin-left: 0;
	display: none;
}


.woocommerce-checkout-review-order-table th {
	font-size: 21px;
}

.widget_nav_menu ul li::before {
	content: "";
	display: none;
}

.widget_nav_menu ul li {
	padding-left: 0;
	margin-bottom: 10px;
}

.widget .widget-title, .widget .widgettitle {
	font-size: 25px;
	font-weight: 500;
	border-bottom: 0;
	padding: 0;
	margin-top: 35px;
	margin-bottom: 15px;
}

footer .widget {
	margin: 0 0 20px 0;
}

footer h4 {
	margin: 0 0 5px 0;
	font-size: 16px;
}

footer .fab {
	font-size: 26px;
	margin-right: 12px;
	margin-bottom: 35px;
}

footer img {
	max-width: 320px;
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:not(.button):not(.components-button) {
	color: #ffffff;
	text-decoration: underline;
	font-size: 18px;
	text-underline-offset: 5px;
	text-decoration-thickness: 1px;
	text-decoration-color: #b6b1a9;
}

.site-footer a:not(.button):not(.components-button):hover {
	--tw-text-opacity: 1;
	color: rgb(161 196 177/var(--tw-text-opacity,1));
	text-decoration-thickness: 2px;
}

.footer-logo {
	margin-bottom: 20px;
}

.footer-upper {
	background: #544948;
	padding-top: 100px;
}

.footer-social img {
	float: left;
	width: 32px;
	margin: 0 9px;
}





/* MY ACCOUNT */

.hentry .entry-content .woocommerce-MyAccount-navigation ul li {
	border: 1px solid #DCE1E4;
	margin-bottom: 5px;
	padding-left: 15px;
	padding-right: 15px;
}

.hentry .entry-content .woocommerce-MyAccount-navigation ul {
	border-top: 0;
}

.woocommerce-MyAccount-navigation-link a {
	color: #2e3d73;
}

.woocommerce-table--order-details .product-quantity {
	font-weight: normal;
}

.woocommerce-account address {
	font-style: normal;
}



@media screen and (min-width: 768px) {
	.site-header { border-bottom-color: #dad7cb; }
	.page-template-template-fullwidth-php .woocommerce-MyAccount-navigation {
		width: 21.7391304348%;
		float: left;
		margin-right: 4.347826087%;
	}

	.page-template-template-fullwidth-php .woocommerce-MyAccount-content {
		width: 73.9130434783%;
		float: left;
		margin-right: 0;
	}
}


@media screen and (min-width: 768px) {
	.site-header { padding-top: 20px; padding-bottom: 35px; }
	.woocommerce-active .site-header .main-navigation { width: 100%; margin-right: 0; } 
	.site-header .site-branding { clear: none; }
	.woocommerce-active .site-header .site-branding { float: left; width: 50%; margin-right: 0; /*background: yellow;*/ }
	.header-my-account { float: right; width: 50px; /* margin-top: 5px; */ margin-top: 75px; /*background: pink;*/ }
	.woocommerce-active .site-header .site-header-cart { width: 75px; /* margin-top: 5px; */ margin-top: 75px; /*background: olive;*/ }
	.site-header .site-branding img { max-width: 400px; }
	.site-header-cart .cart-contents .amount { display: none; }
	.site-header-cart .cart-contents .count { display: none; }
	.site-branding, .site-search, .site-header-cart, .site-logo-anchor, .site-logo-link, .custom-logo-link { margin-bottom: 0; }
	.site-header-cart .cart-contents { padding: 0; }
	
	.main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding: 15px 13px; }
	
	.left-sidebar .content-area { width: 100%; float: left; }
	
	.product-description { float: left; display: block; width: 52.9411764706%; }

	
	.storefront-full-width-content .woocommerce-products-header { padding: 0 0 25px; }

	.col-full { max-width: 1500px; }
	
	table.woocommerce-product-attributes.shop_attributes th { width: 30%; }
	
	/*.site-header-cart .cart-contents .count {
		display: block;
		position: absolute;
		font-size: 12px;
		top: 6px;
		left: 2px;
		font-weight: 500;
		color: #fff;
		opacity: 1;
	}*/
	
	.site-header-cart .cart-contents .count {
		display: block;
		position: absolute;
		font-size: 11px;
		top: -5px;
		left: 7px;
		font-weight: 600;
		color: #fff;
		opacity: 1;
		background: #b1040e;
		border-radius: 20px;
		padding: 0 5px;
  }
	
	.storefront-full-width-content.single-product div.product .woocommerce-product-gallery { width: 34.1304347826%; }
	.storefront-full-width-content.single-product div.product .summary { width: 61.5217391304%; }
	.page-template-template-fullwidth-php table.cart thead { font-size: 22px; }
	 table.cart th, table.cart td { padding: 15px; }
	 
	.footer-widgets.col-2 .block.footer-widget-1 { width: 65%; margin-right: 4%; }
	.footer-widgets.col-2 .block.footer-widget-2 { width: 30.8260869565%; margin-right: 0; }
	.footer-widgets { border-bottom: 0; }
	
	.lower-footer-column { float: left; width: 33.333%; margin-top: 30px; }
	.footer-glassboxx img { margin: 0 auto; }
}



@media screen and (max-width: 767px) {
	.header-my-account { display: none; }
	.site-header .site-logo-anchor img, .site-header .site-logo-link img, .site-header .custom-logo-link img { max-width: 300px; margin: 0 auto; }
	.site-branding { width: 100%; }
	.cart dt.variation-ISBN { display: none; }
	.cart dd.variation-ISBN { float: right; }
	
	.language_switcher { width: 100%; margin-bottom: 0; margin-top: 20px; }
	.wcml-dropdown { float: none; margin: 0 auto; }
	.lower-footer-column { width: 100%; display: block; float: left; margin: 0 0 20px 0; }
}

@media screen and (max-width: 1125px) {
	.product-description { width: 100%; }
}


@media screen and (max-width: 500px) {
	.woa-top-bar #custom_html-2 { float: none; }
	.woa-top-bar #custom_html-4 { float: none; text-align: center; }
	.woa-top-bar #custom_html-2 img { margin: 0 auto; }
}



/* Hides annoying 'Edit' button when logged in */
.edit-link {
	display: none;
}