/*
Theme Name:   	Bromma Kortförlag
Author:       	Snowflake Interactive AB
Author URI:     https://snowflakeinteractive.com
Template:     	storefront
Description:  	This is a custom child theme for Bromma Kortförlag based upon WooCommerce Storefront Theme
Version:      	1.0.16
Text Domain:  	storefront
accessibility-ready

*/


/* Trashcan Icon */
a.remove::before {
	content: "\f2ed";
}

a, a:visited { outline: none !important; }

.button, input[type="button"] {
	border-radius: 4px !important;
}

.taxonomy-description {
	padding-bottom:20px;
	width:100%;
	max-width: 700px;
}
	.taxonomy-description p {
		font-size: 20px;
	}
	
.logInToShopWarning {
	padding: 20px;
	background: rgba(245, 227, 139, 0.14);
	border: 1px solid rgba(245, 227, 139, 1);
	
	border-radius: 8px;
	
	width:100%;
	max-width: 480px;
	font-size: 16px;
	
	margin-top: 20px;
	margin-bottom: 20px;
}

.pswp__bg {
  /* background: rgba(30,122,190,.7); */
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(4px);
}

.pswp__top-bar, .pswp__caption {
  background: transparent !important;
}

.productInCartMarker {
  width:30px;
  height:30px;
  border-radius: 15px;
  background:rgb(5, 97, 165);
  
  position: absolute;
  right:10px;
  top:10px;
}
  .productInCartMarker::after {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: block;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    line-height: inherit;
    vertical-align: baseline;
    content: "\f291";
    height: 1em;
    text-align: center;
    line-height: 1.618;
    margin:0 auto;
    padding-top:4px;
    color: #fff;
  }
  
.alm-reveal {
  overflow: hidden;
}

* {
  font-family: 'Dosis', sans-serif;
}
.woocommerce-products-header h1 {
  display: none;
}
.myAccountMenuItem a {
  padding: .5rem 2rem .5rem 2rem;
  border: 1px solid #B3D3E8;
  border-radius: 100px;
  color: #1E7ABE;
}
.myFavoritesMenuItem a {
  padding: .5rem 2rem .5rem 2rem;
  border: 1px solid #B3D3E8;
  border-radius: 100px;
  color: #1E7ABE;

  width:44px;
  background: url("/wp-content/themes/bromma-store/assets/heartBlue.svg") center center no-repeat;
  background-size: 20px;
    
  display: inline-block;  

  margin-left: 10px;
}

.myFavoritesMenuItem a:hover {
  background: url("/wp-content/themes/bromma-store/assets/heartRed.svg") center center no-repeat;
  background-size: 20px;
}

.storefront-handheld-footer-bar .favorites a {
  background: url("/wp-content/themes/bromma-store/assets/heartBlue.svg") center center no-repeat #fff;
  background-size: 26px;
}

.ajax-load-more-wrap.infinite .alm-load-more-btn {
  width: 100%;
  background-color: transparent !important;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url("/wp-content/themes/bromma-store/assets/spinner.gif");
  border: none !important;
  opacity: 0;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  text-indent: -9999px;
  cursor: default !important;
  outline: none !important; }
  
  .ajax-load-more-wrap.infinite .alm-load-more-btn:before {
    display: none !important; }
  .ajax-load-more-wrap.infinite .alm-load-more-btn:focus, .ajax-load-more-wrap.infinite .alm-load-more-btn:active {
    outline: none; }
  .ajax-load-more-wrap.infinite .alm-load-more-btn.done {
    opacity: 0 !important; }
  .ajax-load-more-wrap.infinite .alm-load-more-btn.loading {
    opacity: 1; }


.myAccountMenuItem a:first-of-type::before {
	display: inline-block;
	content: "\f007";

	font-family: 'Font Awesome 5 Free';
	font-size: 16px;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 1;
	vertical-align: -.125em;
	font-weight: 900;
	line-height: inherit;
	vertical-align: baseline;
	
	padding-right: 12px;
}

.clearfix {
	display: block;
	content:"";
	clear: both;
}

.redText {
	color:#B52424;
}

.semifat {
	font-weight: 600;
}

.welcomeHeader {
	font-weight: 500;
	margin-bottom: 2rem;
}

body, button, input, textarea {
  font-family: 'Dosis', sans-serif;  
}

ul.products li.product {
  background: #FFFFFF;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.05);
  xxpadding-bottom: 1rem;
  border-radius: 6px;

  transition: .15s all;
}


ul.products li.product:hover {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1);
  
}

ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2, ul.products li.product h3 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: .5407911001em;
}

.input-text, input[type=email], input[type=password], input[type=search],
input[type=tel], input[type=text], input[type=url], textarea {
  background: #fff !important;
  border-radius: 6px;
}


.main-navigation ul li a {
  font-weight: bold;
}

.main-navigation ul li.current_page_item a {
  color: #B52424;
}

.storefront-product-section .section-title {
	text-align: left;
}

/*
 * Text Page Template
*/

.text-page-content-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

/*
 * Single Product
 */

.stock.out-of-stock {
	display: none;
}

.outOfStockButton {
	background-color: #7f8c8d;
}
	.outOfStockButton:hover {
		background-color: #a4babb !important;
	}

.singleProductContainer {
	background: #fff;
	border-radius: 6px;
	padding: 2rem;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.05);
	
	margin-bottom: 3rem;
}

.product_simple_product_read_more {
	position: relative;
	z-index: 1;
	background-color: #8EBCDE;
	margin-right: 10px;
	border-radius: 6px;
}

.button.product_type_simple {
  border-radius: 6px;
}

.product_type_simple.add_to_cart_button {
	border-radius: 6px;
	padding: .6180469716em 2.1575em;
	margin-right: 10px;
	
	display: inline-block;
}

.added_to_cart {
	position: relative;
	z-index: 1;
	border-radius: 4px;
	margin-right: 10px;
}

.summary.entry-summary h4.description {
  margin-top: 1rem;
}

.productTag {
  border: 1px solid rgba(31, 122, 191, 0.44);
  display: inline-block;
  padding: 6px 14px;
  margin: 0 6px 6px 0;
  line-height: 18px;
  font-size: 14px;
  color: #1e7abe;
  
  border-radius: 4px;
}
  .productTag:hover {
    border:1px solid #1e7abe;
    background: #1e7abe;
    color: #fff;
  }

/*
 * Order Details
 *
 */
 
.woocommerce-shipping-destination {
 display: none;
}

.order_details {
  background: #fff;
}


/*
 * Checkout Icons
 *
*/

.woocommerce-billing-fields h3 {
	background:url('/wp-content/themes/bromma-store/assets/iconLetter.svg') center left no-repeat;
	padding-left: 40px;
	background-size: 26px;
}


/* Ship to Different Address */
#ship-to-different-address {
  font-size: 1.3em; /* Samma storlek som Invoice */
}

#ship-to-different-address label {
  background: url('/wp-content/themes/bromma-store/assets/iconTruck.svg') 14px center no-repeat;
  padding-left: 60px; /* Utrymme för ikonen */
  background-size: 26px;
  background-color: #E5F0F7;
  padding: 8px; /* Lika padding runtom */
  border-radius: 8px;
  border: 2px solid rgba(30, 122, 190, 0);
  display: flex; /* Flexbox för layout */
  align-items: center; /* Centrera innehållet vertikalt */
  justify-content: space-between; /* Separera text och checkbox */
  position: relative; /* För absolut positionering av checkbox */
}

#ship-to-different-address label:hover {
  border: 2px solid rgba(30, 122, 190, 1);
}

#ship-to-different-address label span {
  margin-left: 45px; /* Justera textpositionen från ikonen */
}

#ship-to-different-address input[type="checkbox"] {
  position: absolute; /* Placera checkbox fritt */
  right: 16px; /* Placera längst till höger */
  top: 50%; /* Centrera vertikalt */
  transform: translateY(-50%) scale(1.2); /* Gör storleken lika stor som Invoice */
}

/* Email Invoice Checkout Form */
#billing_invoice_checkbox_field {
  color: #239B56;
  font-size: 1.3em; /* Samma fontstorlek som Different Address */
  background-color: #CEECDD;
  padding: 8px; /* Lika padding runtom */
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Separera text och checkbox */
  position: relative; /* För absolut positionering av checkbox */
}

#billing_invoice_checkbox_field:hover {
  border: 2px solid #239B56;
}

#billing_invoice_checkbox_field label {
  display: flex;
  align-items: center;
  flex-grow: 1; /* Låt texten växa inom layouten */
}

#billing_invoice_checkbox_field label::before {
  content: url('/wp-content/themes/bromma-store/assets/iconPdfGreen.svg');
  display: block;
  width: 26px; /* Ikonens storlek */
  height: 26px; /* Ikonens höjd */
  margin-right: 10px; /* Marginal mellan ikon och text */
  margin-left:6px;
}

#billing_invoice_checkbox_field input[type="checkbox"] {
  position: absolute; /* Placera checkbox fritt */
  right: 16px; /* Placera längst till höger */
  top: 50%; /* Centrera vertikalt */
  transform: translateY(-50%) scale(1); /* Matchar storlek med Different Address */
}

#billing_invoice_checkbox_field .optional,
#billing_invoice_email_field .optional {
  display: none !important; /* Hide the optional text */
}

/*
 * Checkout
 *
*/
 .mobileCartTableItem {
	 font-size: 14px;
	 font-weight: normal;
 }
 
.mobileCartTableLabel {
	font-size: 14px;
	font-weight: 600;
	width:65px;
	display: inline-block;
}

.checkout-button.button.alt.wc-forward {
	background: #1e7abe;
}
	.checkout-button.button.alt.wc-forward:hover {
		background: #27ae60;
	}

.storefront-handheld-footer-bar {
	z-index: 5000;
}

.fixedPlaceOrderButton {
	z-index: 6000;
}
	.fixedPlaceOrderButton .button {
		width: 200px;
	}

.woocommerce-mobile-cart-form-wrapper {
	display: none;
}

.woocommerce-mobile-cart-form__cart-item.cart_item {
	display: block;
	clear:both;
	margin-bottom: 14px;
	padding-bottom:14px;
	border-bottom:1px solid rgba(31, 122, 191, 0.15);
}
	.woocommerce-mobile-cart-form__cart-item .product-remove {
		float:right;
	}
	.woocommerce-mobile-cart-form__cart-item .product-thumbnail {
		float:left;
		width:150px;
		margin-right:20px;
	}
	.woocommerce-mobile-cart-form__cart-item .product-name {
	  white-space: nowrap;
	  overflow: hidden;
	  display: block;
	  text-overflow: ellipsis;
	}
	
	

	.woocommerce-mobile-cart-form__cart-item .woocommerce-mobile-cart-content {
		float:left;
		max-width:40%;
	}
	
	
	.woocommerce-mobile-cart-form__cart-item .input-text.qty {
		width:60px;
		padding:.3rem;
		margin-top:10px;
	}

.quantity .plus, .quantity .minus {
  background: transparent;
  border: 1px solid rgba(31, 122, 191, 0.2);
  color: #1e7abe;
  
  height: 60px;
}
	
	

.woocommerce-checkout {
	padding-top: 40px;
}

.woocommerce-checkout .entry-header {
	display: none !important;
}

.fixedPlaceOrderButton {
	background: #fff;
	position: fixed;
	bottom:0;
	left:0;
	right:0;
	padding:30px;
	
	text-align: right;
		
	box-shadow: 0 -10px 10px 0 rgba(0,0,0,0.03);	
}
	.fixedPlaceOrderButton .button.alt {
		background-color:#27ae60;
		padding-left:20px !important;
		padding-right: 20px !important;
		
		font-size: 20px;
	}
	
#payment .form-row.place-order {
	padding: 0;
}
	#payment .form-row.place-order button.button.alt {
		background-color:#27ae60;
	}

/*
 * Single Product View
 *
 */


.single_add_to_cart_button.button.alt {
	background-color: #1E7ABE;
	width: 100%;
	max-width: 400px;
	padding:1.1rem;
	border-radius: 6px;	
}

.input-text.qty {
	color: #1E7ABE;
	font-size: 18px;
	font-weight: bold;
	padding: 1rem;
	width: 100px;
	border:1px solid #1E7ABE;
}

.storefront-breadcrumb {
	margin-top:20px;
	padding-bottom: 30px;
	margin-bottom: 0px;

	opacity: .7
}
	.storefront-breadcrumb .col-full {
		margin: 0;
		padding: 0;
	}

.single-product div.product p.price {
	margin-top: 10px;
	margin-bottom: 10px;
}

.storefront-full-width-content.single-product div.product .summary {
	margin-bottom: 0px;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
  padding:5px 5px 5px 5px;
}

/*
 * Tables
 */
 
table th {
	background: transparent;
}

table tbody td {
	background: rgba(255,255,255,.5);
}

table tbody tr:nth-child(2n) td, fieldset, fieldset legend {
	background: rgba(255,255,255,.8);
}

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

table:not( .has-background ) tbody td {
	background-color:#F3F9FB;
}

table:not( .has-background ) tbody tr:nth-child(2n) td, fieldset, fieldset legend {
	background-color: #EDF5F9;
}


/* Remove transition on menu */
.handheld-navigation, .main-navigation div.menu>ul:not(.nav-menu), .nav-menu {
  transition: none !important;
}

#masthead {
	background: #D9EAF3;
	box-shadow: 0 10px 10px 0 rgba(0,0,0,0.03);

	position: fixed;
	width: 100%;
	top:0;
	
	//padding-top:rem;
}

.storefront-primary-navigation {
	background: white;
	border-top:1px solid #1E7ABE;
}

#masthead .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
	background: transparent !important;
	border-radius: 100px;
	border:1px solid #B3D3E8;
	color:#1E7ABE;
}

.actionRow .searchContainer .site-search .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input::placeholder {
	color: rgba(30, 122, 190, 1);
}

.dgwt-wcas-no-submit .dgwt-wcas-ico-magnifier {
	fill: rgba(30, 122, 190, 1);
	opacity: 1;
}

.dgwt-wcas-suggestions-wrapp.woocommerce {
	box-shadow: 0 10px 10px 0 rgba(0,0,0,0.03);
}


.main-navigation ul li a:hover, .main-navigation ul li:hover > a, .site-title a:hover, .site-header ul.menu li.current-menu-item > a {
	color: #B52424;
}

.term-description {
  padding-top:0px;
  
  width:100%;
  max-width:800px;
  display: block;
  margin:0 auto;
  clear: both;
}
.term-description h1 {
  display: block !important;
}

#beforeProductsListing ul.product-categories {
	list-style: none;
	margin: 0;
	padding: 0;
}

#beforeProductsListing ul.product-categories li {
	display: inline-block;
	list-style: none;
	padding: 0rem 2rem;
	margin: 0;
	background: #1E7ABE;
	border-radius: 100px;
	
	margin-bottom: 10px;
	margin-right: 10px;
}

#beforeProductsListing ul.product-categories li a {
	display: inline-block;
	height: 100%;
	padding-top:1rem;
	padding-bottom: 1rem;
	
	color: #fff;
	font-weight: bold;
	padding-right: 10px;
}

#beforeProductsListing ul.product-categories li .count {
	color: #fff;
	opacity: .7;
}


#post-13 .entry-content {
  padding-left:0;
  padding-right:0;
  
  margin-left: 0px;
  margin-right: 0px;
  
  width:100% !important;
}



.startPicContainer {
	background: #333;
	width:48.5%;
	float:left;

	margin-right:1.5%;
	
	padding-top:3rem;
	
	text-align: center;

	margin-bottom: 3%;
}

.startPicContainer.fullBackground {
  padding-top:340px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  
  text-shadow: 0px 0px 12px rgba(0,0,0,.4);
}

.startPicContainer .startPicImage {
	/* max-width: 355px; */
	height: 260px;

	margin: 0 auto;
	margin-bottom: 2rem;
}

.startPicContainer h2 {
	font-weight: 600;
	font-size: 2rem;
	margin-bottom: 2rem;
}

.startPicContainer.last {
	margin-right: 0px;
	margin-left: 1.5%;
}

.storefront-sorting {
  display: none;
}

.hentry.type-page .entry-header {
  padding-top:4rem;
}

.infinite-scroll.neverending .site-footer {
  display: block !important;
}

.footerColumn {
  display: inline-block;
  width:24%;
  margin: 0;
  font-size: 18px;
  font-weight: bold
}

.footerColumn .widget_nav_menu ul li {
  padding-left: 0;
  margin-left: 0;
}

.footerColumn #nav_menu-4 {
  text-align: left;
}

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

ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2 {
  height:54px;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--tinv_wishlist a::before {
  content:"\f004";
}

.tinv-wishlist .product-thumbnail {
	width:200px;
	max-width: 200px;
}

.site-footer {
  padding-top:50px !important;
}

/*
* Guests
*/
.guest-content-wrapper {
  margin-top: -80px;
}
.guest-col-content {
  width: calc(60% - 40px);
  float:left;
  padding-right: 40px;
}

.guest-col-login {
  width:40%;
  float:left;
}

.guest-col-content h2, .guest-col-login h3 {
  font-weight: bold;
  color:#B52424;
}

.guest-col-login #loginform .login-submit {
  margin-bottom: 10px !important;
}

.guest-col-login .guest-col-login-wrapper {
  background: rgba(31, 122, 191, 0.1);
  border:1px solid rgba(31, 122, 191, 0.7);
  
  border-radius: 4px;
  padding:32px;
  
  margin-bottom: 20px;
}
.guest-col-login-wrapper form {
  margin-bottom: 0px !important;
}


.guest-col-login #loginform label {
  text-transform: uppercase;
  font-weight: bold;
  color:rgba(31, 122, 191, 1);
  display: block;
  clear: both;
}
.guest-col-login #loginform #user_login, .guest-col-login #loginform #user_pass {
  display: block;
  width: 100%;
  clear: both;
  
  margin-bottom: 20px;
}

@media (max-width: 1286px) {
  .dgwt-wcas-suggestions-wrapp.woocommerce {
    max-height: 99vh !important;
  }
  
  .storefront-handheld-footer-bar {
    display: block;
  }
  
  header .site-search {
    display: none;
  }
  
  .storefront-handheld-footer-bar ul li.search .site-search {
    bottom:-100vh;
    height: 100vh; /* Use vh as a fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
  }
  
  .storefront-handheld-footer-bar ul li.search.visible .site-search {
    bottom:0px !important;
  }

}

@media (max-width: 767px) {

	.tinv-wishlist table.tinvwl-table-manage-list .product-thumbnail {
		max-width:100%;
		margin:0 auto;
	}	
  	.tinv-wishlist table.tinvwl-table-manage-list .product-thumbnail img {
			max-width:200px;
		}
		

	#place_order.button {
		display: none;
	}

	.fixedPlaceOrderButton {
		text-align: center;
	}
		.fixedPlaceOrderButton .button {
			width:200px;
			margin: 0 auto;
			float: none;
		}

	.woocommerce-mobile-cart-form-wrapper {
		display: block;
	}
	
	table.cart {
		display: none;
	}

	/* Cross Sell Mobile Listing */
	
	.cart-collaterals .cross-sells .cross-sells-wrapper {
		overflow-x: scroll;
		overflow-y: hidden;
		
		padding-bottom: 20px;
	}
			.cart-collaterals .cross-sells .cross-sells-wrapper ul.products {
				width:100000px !important;
			}
	
				.cart-collaterals .cross-sells ul.products li.product {
					width: 290px !important;
				}
					.cart-collaterals .cross-sells ul.products li.product .tinv-wishlist {
						display: none;
					}
					.cart-collaterals .cross-sells ul.products li.product .button {
						display: block;
						width: 50% !important;
					}
					.cart-collaterals .cross-sells ul.products li.product .post-edit-link {
						display: none !important; /* Dev */
					}
	
	/* EO Cross Sell Mobile Listing */


  .new-product-flash {
    top: 40px !important;
    left:10px !important;

    text-align: center;
    border-radius: 40px;
    color: #fff;
    background: #05c46b;
    border-color: #05c46b;
    font-weight: bold;
    padding-top: 6px !important;

    width: 30px !important;
    height: 30px !important;
    
    text-transform: uppercase;
    font-size: 11px;
  }
  
  ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2 {
    width: 100%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
    
  .storefront-full-width-content .site-main ul.products.columns-4 li.product .tinv-wraper.tinv-wishlist {
    bottom: 0px !important;
  }

  .storefront-full-width-content .site-main ul.products.columns-4 li.product:nth-of-type(2n) {
  	xxclear: both !important;
  }  
  
  .product_simple_product_read_more {
    display: none !important;
  }  
  
  .guest-col-content {
    width: 100%;
    padding-right: 0px;
    
    margin-bottom: 40px;
    
  }
  
  .guest-col-login {
    width: 100%;
  }
  
  .startPicContainer {
    xxmax-height: 310px;
  }
  
  .startPicContainer img {
    height: 160px;
  }
  
  .startPicContainer.fullBackground {
    padding-top: 180px;
  }
  
  ul.products li.product {
    float: left;
    width: calc(50% - 20px) !important;
    margin-right: 10px;
    margin-left: 10px;
    
    margin-bottom: 1rem;
  }
  
  ul.products li.product .tinvwl_add_to_wishlist_button {
    margin: 0;
  }
   
  xxul.products li.product .button {
    width: 90%;
    display: block;
    margin:0 auto;
    margin-bottom: 5px;
  }
 
 .hentry.type-page .entry-header {
    padding-top:0rem;
  }
 
  #primary {
    padding-top:4rem;
  }
  
  .col-full {
    max-width: 82.5em; /* 76.5em */
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.0em !important;
    box-sizing: content-box;
  }
	  
  .input-text, input[type=email], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], input[type=search], textarea {
    font-size: 16px !important;
  }

  .startPicContainer, .startPicContainer.last {
	  margin-left: 0px;
	  margin-right: 0px;
	  margin-bottom: 3%;
	  width: 100%;
  }

	.storefront-primary-navigation {
		padding-top: 20px;
		padding-bottom: 20px;
		
		height:80px;
	}

	#content {
		margin-top:50px !important;		
	}

	.site-header {
		padding-top:0;
		padding-bottom: 0;	
	}

	.woocommerce-active .site-header .site-branding {
		padding-top:36px !important;
	}		
	
	.storefront-primary-navigation .col-full {
  	max-width: 100%;
  	padding: 0px;
	}
	
}
  
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
  max-height: 400px !important;
  overflow: scroll !important;
}

@media (min-width: 768px), all {
		
  .woocommerce-active .site-header #mega-menu-wrap-primary {
    width:100% !important;
    margin-right: 0 !important;
  }

  .main-navigation ul.menu > li.menu-item-has-children > a::after, .main-navigation ul.menu > li.page_item_has_children > a::after, .main-navigation ul.nav-menu > li.menu-item-has-children > a::after, .main-navigation ul.nav-menu > li.page_item_has_children > a::after {
	margin-left: .5em;
  }

  .main-navigation ul.menu ul.sub-menu {
  	box-shadow: 0 8px 10px 0 rgba(0,0,0,0.04);
  }

  .col-full {
    max-width: 82.5em; /* 76.5em */
    margin-left: auto;
    margin-right: auto;
    padding: 0 2.617924em;
    box-sizing: content-box;
  }
	.woocommerce-active .site-header .site-branding {
		max-width:260px;
		padding-top:.65rem;
		
		position: absolute;
		
		z-index:1000;
	}
	
	.site-header .site-branding img {
  	max-width: 260px;
	}

	.site-header-cart .cart-contents {
		padding: .5rem 2rem .5rem 2rem;
		border: 1px solid #B3D3E8;
		border-radius: 100px;
		color:#1E7ABE;
	}
	
	.woocommerce-active .site-header .main-navigation {
		width: 100%;
		margin-right: 0;
	}
	
	.main-navigation ul li a {
		text-transform: uppercase;
	}
	
	.main-navigation ul li a:hover, .main-navigation ul li:hover > a, .site-title a:hover, .site-header ul.menu li.current-menu-item > a.cart-contents {
		color:#1E7ABE;
	}

	.woocommerce-active .site-header .site-search {
		width: 38.74%;
		float: right;
		margin-right: 0;
		clear: none;
		padding-right: 2%;
	}
	
	.site-header-cart .widget_shopping_cart {
		background: #fff;
		box-shadow: 0 10px 10px 0 rgba(0,0,0,0.03);
	}


	.site-header-cart .widget_shopping_cart .buttons, .site-header-cart .widget_shopping_cart .total {
		background-color: #ECF4F9;
	}
	
	.storefront-secondary-navigation.woocommerce-active .site-header .secondary-navigation {
		width: 176px;
		float:right;
		margin-right: 0;
	}
	
	.secondary-navigation ul.menu a:hover {
		color: #1E7ABE;
	}

	.secondary-navigation ul.menu a {
		color: #1E7ABE;
	}
}

.gamma.widget-title {
  display: none;
}


/*
 * Product Grid
 *
*/
.outOfStockForThisSeason {
  color: #FFFFFF;
  background: #818080;

	border: 1px solid #818080;
  
	padding: 0.202em 0.6180469716em;
	font-size: 0.875em;
	text-transform: uppercase;
	font-weight: 600;
	display: inline-block;
	margin-bottom: 1em;
	border-radius: 3px;  
}

.onsale {
  color: #fff;
  background: #ff3f34;
  border-color:#ff3f34;
}

.new-product-flash {
  color: #fff;
  background: #05c46b;
  border-color:#05c46b;
}

.onsale, .new-product-flash, .outOfStockForThisSeason {
  position: absolute;
  top: 40px;
  left: 20px;
  z-index: 10;
  
  text-transform: uppercase;
}

.new-product-flash {
  top: 50px;

  text-align: center;
  border-radius: 40px;  

  color: #fff;
  background: #05c46b;
  border-color: #05c46b;
  width: 40px;
  padding-top: 7px;
  font-weight: bold;
  padding-top: 9px;
  height: 40px;
}


.storefront-full-width-content .site-main ul.products.columns-4 li.product {
  width:23.98%;
  float:left;
  margin-right: 1.35%;
  
  margin-bottom: 2.235em;
}


/*
 * DEV: Product Listing
*/

.post-edit-link {
  display: block;
  padding-bottom: 10px;
}

ul.products li.product {
  box-shadow: none !important;
  background: transparent !important;
}

  
ul.products li.product img {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.05);  
}

ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2 {
  height: auto !important;
  text-align: left;
}

ul.products li.product .price {
  text-align: left;
  font-size: 16px;
}

.storefront-full-width-content .site-main ul.products.columns-4 li.product .tinv-wraper.tinv-wishlist {
  position: absolute;
  bottom:-13px;
  right:20px;
}

.storefront-full-width-content .site-main ul.products.columns-4 li.product {
  margin-bottom: 2.5rem;
  text-align: left;
}

.storefront-full-width-content .site-main ul.products.columns-4 li.product .tinvwl_add_to_wishlist_button {
  border:1px solid rgba(31, 122, 191, 0.10);
  border-radius: 100px;
  transition: .15s all;
}
  .storefront-full-width-content .site-main ul.products.columns-4 li.product .tinvwl_add_to_wishlist_button:hover {
    border:1px solid #d63031;
    border-radius: 100px;
    transition: .15s all;
  }
  
/*
 * Ipad Dev
*/


@media (min-width: 768px) and (max-width: 1024px) {

  .new-product-flash {
    top: 40px !important;
    left:10px !important;

    text-align: center;
    border-radius: 40px;
    color: #fff;
    background: #05c46b;
    border-color: #05c46b;
    font-weight: bold;
    padding-top: 6px !important;

    width: 30px !important;
    height: 30px !important;
    
    text-transform: uppercase;
    font-size: 11px;
  }
  
  .woocommerce-active .site-header .site-header-cart {
    width:35%;
  }
  
  ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2 {
    width: 100%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
    
  .storefront-full-width-content .site-main ul.products.columns-4 li.product {
  	width: 31.41%;
  	float: left;
  	margin-right: 2.88%;
  }
  
  .storefront-full-width-content .site-main ul.products.columns-4 li.product:nth-of-type(3n) {
  	margin-right: 0 !important;
  }
  ul.products li.product.last {
  	margin-right: 2.88% !important;
  }
  ul.products li.product.first {
    clear: none !important;
  }
  
  .product_simple_product_read_more {
    display: none;
  }
}


/*
 * Mobile Menu
*/

.wpmm-menu {
	background-color: #ffF !important;
	--mm-color-background: #fff !important;
}

.mm-listitem {
	font-weight: bold;
	color: #1E7ABE;
	text-transform: capitalize !important;
}

.mm-navbar__title {
	color: #222 !important;
}



/*
	Checkout
*/

#cfw-billing-methods {
	display: none !important;
}

/**
 * Nostalgic Art
**/

#content.guest .nostalgic-art-banner-height-fix {
  height:255px;
}

.nostalgic-art-banner-height-fix {
  height:175px;
}

@media (max-width: 1286px) {
  .nostalgic-art-banner {
    top:60px;
  } 
  .nostalgic-art-banner-height-fix {
    height:210px;
    margin-top:80px;
  }
}

@media (max-width: 768px) {
  .nostalgic-art-banner-height-fix {
    height:170px;
    margin-top:0px;
  }

}

.nostalgic-art-banner {
  position:absolute;
  left:0;
  right:0;
  
  background-image: linear-gradient(180deg, #DACCA1 0%, #F2E4B7 9%, rgba(242,228,183,0.00) 100%);
  height: 170px;
}

.nostalgic-art-banner a {
  color: #333;
  font-weight: bold;
  text-decoration: underline;
  margin: 0 auto;
  display: block;
  text-align: center;
}

.nostalgic-art-banner .na-wrapper {
  flex:1;
  flex-direction: row;
  align-content: center;
  justify-content: center
}

.nostalgic-art-banner .na-wrapper #naLogo {
  margin: 0 auto;
  max-width:194px;
  padding-top:50px;
  padding-bottom:10px;
}