/* 
Theme Name: MM CVP
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: Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
}

button, input, textarea {
	font-family: Arial, sans-serif;
}

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

h1, h2, h3 {
	font-family: "EB Garamond", serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
}

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

img {
	border-radius: 0;
}

.button, button {
	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 {
	background-color: #fff;
	color: #24272D;
	border: 1px solid #DCE1E4;
	box-shadow: none;
}


/* HEADER */

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

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



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


.site-header {

	margin: 0 auto 50px;
	/* background: url('images/bg_header.png') repeat-x; */
	position: relative;
	/* border-bottom: 8px solid #08131c; */
	-webkit-box-shadow: 0px 5px 40px 0px rgba(0,0,0,0.4);
		-moz-box-shadow: 0px 5px 40px 0px rgba(0,0,0,0.4);
		box-shadow: 0px 5px 40px 0px rgba(0,0,0,0.4);
}

.currency_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: "EB Garamond", serif;
	font-size: 20px;
}


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


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

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

.woocommerce-error {
	background-color: #d90000;
	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: "EB Garamond", serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
}

a.remove::before {
	color: #1B3B53;
}

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

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

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

h3.product-format {
	font-size: 22px;
	color: #24272d;
	margin-bottom: 0;
}

h3.product-format.download {
	float: left;
	margin-right: 6px;
	clear: 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: -25px;
	font-weight: normal;
	min-width: 40px!important;
	display: none;
}

.cart dd.variation-ISBN {
	/*float: left;*/
	margin-top: -25px;
	
	display: block;
}

.cart .item-requires-app {
	font-size: 13px;
	font-weight: 600;
	margin: 2px 0 2px;
	color: #183852;
}

table.cart {
	margin-bottom: 30px;
}

.ebooks-note {
	max-width: 770px;
	font-size: 15px;
	line-height: 1.4;
	color: #183852;
}

.woocommerce-terms-and-conditions-wrapper {
	line-height: 1.3;
	margin-bottom: 40px;
}

.woocommerce-checkout-review-order dt.variation-ISBN {
	/*float: left;*/
	margin-right: 3px;
	margin-top: -20px;
	font-weight: normal;
	min-width: 40px!important;
	display: none;
}

.woocommerce-checkout-review-order dd.variation-ISBN {
	/*float: left;*/
	margin-top: -25px;
	display: block;
}

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

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

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


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

.storefront-handheld-footer-bar ul li.cart .count {
	color: #FF6600;
	font-weight: bold;
	border-color: #FF6600;
	color: #fff!important;
}

.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;
}

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


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

.wc-avatax-message::before {
	color: #24272d;
	/*content: "Includes Tax: ";
	font-family: Arial, sans-serif;
	font-weight: 600;*/
}

.wc-avatax-message {
	color: #24272d;
}

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

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

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

@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;
  }
}




/* 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: #1C4360;
}

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

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

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


@media screen and (min-width: 768px) {
	.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: 20px; }
	.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: 20%; margin-right: 0; /*background: yellow;*/ }
	.header-my-account { float: right; width: 50px; margin-top: 5px; /*background: pink;*/ }
	.woocommerce-active .site-header .site-header-cart { width: 75px; margin-top: 5px; /*background: olive;*/ }
	.site-header .site-branding img { max-width: 110px; }
	.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: 600;
		color: #fa0001;
		opacity: 1;
	}
	
	.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; }
}



@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: 160px; margin: 0 auto; }
	.site-branding { width: 100%; }
	.cart dt.variation-ISBN { display: none; }
	.cart dd.variation-ISBN { float: right; }
	
	.currency_switcher { width: 100%; margin-bottom: 0; margin-top: 20px; }
	.wcml-dropdown { float: none; margin: 0 auto; }
}






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