/*
Theme Name:   	Storefront Child Theme
Theme URI:    	https://github.com/stuartduff/storefront-child-theme
Author:       	Stuart Duff
Author URI:     http://stuartduff.com
Template:     	storefront
Description:  	This is a blank child theme for WooThemes StoreFront theme
Version:      	1.0.0
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	storefront
Tags:         	black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
Storefront is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
FontAwesome License: SIL Open Font License - http://scripts.sil.org/OFL
Images License: GNU General Public License v2 or later
*/
/*
 * Add your own custom css below this text.
 */




/* Typsnitt */
/*h1, h2, h3, h4, h5, h6, body, button, input, textarea {
	font-family: 'Open Sans', sans-serif;	
}*/


/* Rubriker */
/*ul > li > ul.sub-menu {
    display: block !important;
}
*/



/*DÖLJ PRODUKTTAGGAR */

.single-product .product_meta .tagged_as {
    display: none !important;
}

/*PRODUKTMENYN */
.wpb_category_n_menu_accordion_list {
	
	background-color: rgba(0,0,0,0.15);
}
.wpb_category_n_menu_accordion_list > li > a {
    text-transform: uppercase;
}



/* LIKA HÖGRA PRODUKTBOXAR */

/* Gör produktlistan till flex */
.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Gör varje produkt lika hög */
.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
}

/* Se till att innehållet fyller höjden */
.woocommerce ul.products li.product > * {
    flex-shrink: 0;
}

/* Tryck ner knappar/pris till botten (valfritt men snyggt) */
.woocommerce ul.products li.product .button {
    margin-top: auto;
}











/*Öppna produktmenyn direkt */
/* Håll WPB Accordion Menu öppen */
/* Endast första sub-menyn */
#menu-item-1303 > ul.sub-menu {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
}
h1 {
	font-size: 2.0em;
	margin-bottom:0.5em !important;
}
h2 {
	font-size: 1.4em;
}
h3 {
	font-size: 1.3em;
	line-height:1.1em;
}



/*Fet text på en grej i kassan */
.woocommerce-form__label woocommerce-form__label-for-checkbox checkbox {
	font-weight:bold !important;
}

/* "Badge" för nyhet, erbjudande osv*/ 
.yith-wcbm-badge {
	padding:0.2em !important;
	font-size:1.2em !important;
	font-weight:bold !important;
	/* background-color:#d2232a !important; */
}
.archive .yith-wcbm-badge {
	padding:1em !important;
}
.single .yith-wcbm-badge {
	padding:0.15em 0.6em 0.15em 0.6em !important;
}
.related .yith-wcbm-badge {
	padding:0.8em !important;
}
.storefront-sticky-add-to-cart__content .yith-wcbm-badge {
	display:none;
}
.wishlist_item .yith-wcbm-badge {
	display:none;
}


/* Bild intill text på kategorisidor*/
.half1 {
	float:left;
	width:48%;
	margin-right: 2%;
}
.half2 {
	float:left;
	width:50%;
}
.clr {
	clear:both;
}






/* Dölj "Beräkna frakt"-knappen i kundvagnen och kassan. Denna knapp kan behöva visas igen om man har flera olika fraktkostnader till olika regioner */
.shipping-calculator-button {
	display:none;
}


/*TExten på produkter i kategoriläget */
.product p {
	line-height:1.2em;
}




/* Produtker 3 i bredd eller 2 i bredd */
.enbilder {
	width:27%;
	display:inline;
	
}
.tvabilder {
	width:27%;
	margin-right:2%;
	display:inline;
	
}
.trebilder {
	width:27%;
	margin-right:2%;
	display:inline;
}
.sistaAvBilder {
	margin-right:0%;
}

/* Kategorier 3 i bredd eller 2 i bredd */
.enbilder_kat {
	width:27%;
	
}
.tvabilder_kat {
	width:27%;
	margin-right:2%;
	float:left;
}
.trebilder_kat {
	width:27%;
	margin-right:2%;
	float:left;
}
.sistaAvBilder_kat {
	margin-right:0%;
}



/* Ram runt produkter */
.archive .product {
	border:solid 1px #F2F2F2;
	padding:0.5em;
	-webkit-box-shadow: 2px 2px 5px 0px rgba(173,173,173,1);
	-moz-box-shadow: 2px 2px 5px 0px rgba(173,173,173,1);
	box-shadow: 2px 2px 5px 0px rgba(173,173,173,1);
}
.page .wc-block-grid__product {
	border:solid 1px #F2F2F2;
	padding:0.5em;
	-webkit-box-shadow: 2px 2px 5px 0px rgba(173,173,173,1);
	-moz-box-shadow: 2px 2px 5px 0px rgba(173,173,173,1);
	box-shadow: 2px 2px 5px 0px rgba(173,173,173,1);
	margin-right:5.8823529412%;
}
.related  .product {
	border:solid 1px #F2F2F2;
	padding:0.5em;
	-webkit-box-shadow: 2px 2px 5px 0px rgba(173,173,173,1);
	-moz-box-shadow: 2px 2px 5px 0px rgba(173,173,173,1);
	box-shadow: 2px 2px 5px 0px rgba(173,173,173,1);
}
.home .product {
	border:none;
	padding:0em;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}



/*ERbjudandena längst ner */
#atw_style6 {
		padding:1em 3em 1em 3em;
		background-color:#F2F2F2;
}
.atw_item_bottom {
	
}
#atw_style6 .atw_slider_controls .icon-arrow-left {
	margin-left:-27px;
}
#atw_style6 .atw_slider_controls .icon-arrow-right {
	margin-right:-27px;
}




/* Dölj exkl moms på erbjudande-sidan */
#post-562 .woocommerce-price-suffix {
	display:none;
}
.atw_price {
	background-color:#F2F2F2;
	padding:5px !important;
}



/* Storlek på pris på en produkt */
.single-product div.product p.price {
	font-size:1.6em;
	font-weight:bold;
}

/* Storlek på pris på archive */
.archive li.product span.price {
	font-size:1.3em;
	font-weight:bold;
	padding:0.2em;
	background-color:#F2F2F2;
}
/*Dölja exkl moms på archive*/
.archive .woocommerce-price-suffix {
	display:none;
}



/* Storlek på pris på bla dropdownkundvagn */
.storefront-sticky-add-to-cart__content-price {
	color:#000 !important;
}
.storefront-sticky-add-to-cart__content-price {
	opacity:1;
}




/*Kategoritext på startsidan. Och hover-markering på bilderna */
.product-category {
	position:relative;
}
.product-category .count {
	display:none;
}
.product-category img {
	width:100%;
	margin-bottom:0 !important;
}

.woocommerce-loop-category__title {
	position:absolute;
	width:100%;
	top:10%;
	/*height:2em !important;;*/
	background-color:rgba(0, 0, 0, 0.5);
	color:#FFF;
	text-align:center;
	font-size:1.4em !important;
	padding:0.5em 0 0.5em 0;
	opacity:1;
	
}
.product-category:hover {
	background-color:#28AEE4;
}
.product-category img:hover {
	opacity:0.35;
}
/*.woocommerce-loop-category__title:hover ~ .product-category {
	background-color:#28AEE4;
}*/
	






@media (min-width: 768px) {
	
	
	
	
	
	
	
	
		
	/* Fast sidhuvud i datorn */
	.site-header {
		position:fixed !important;
		width:100%;
	}
	#content {
		padding-top:12em;
	}
	
	
	/*Fixa slider-bildspel poga problem med att vi låste sidhuvudet*/
	.slider-wrapper {
		padding-top:12em;
	}
	.home #content {
		padding-top:0em;
	}




	/* Dölj sidebareen på startsidan */

	.home .content-area {
		width:100% !important;
	}
	.home #secondary {
		display: none !important;
	}



	/*Mitt konto */
	.woocommerce-MyAccount-content {
		width: 76.4705882353% !important;
		float: left !important;
		margin-right: 0 !important;
	}
	.woocommerce-MyAccount-navigation {
		width: 17.6470588235% !important;
		float: left !important;
		margin-right: 5.8823529412% !important;
	}


	
	/* Dölj denna class i datorn */
	.hideInComp {
		display:none;
	}
	
	
	/* Extra stor text på startsidan */
	.bigTextStart {
		font-size:3em;
		line-height:1.0em;
		
	}
	/* Boxad brödtext på startsidan */
	.startTextBox {
		width:80%;
		margin-left:10%;
	}
	


	/*Sidfotens andra kolumn, så den ser mer "centrerad" ut */
	.footer-widget-2 {
		padding-left:2.5em;
	}

	
	
	
	/* Full bredd på huvudmenyn, och padding på menyerna mm*/
	.storefront-primary-navigation {
		background:#000;	
	}
	#site-navigation {
		width:100% !important;
		color:#FFF;
		float:right;
		margin-right:0;
	}
	#site-navigation a {
		color:#FFF;
	}
	#site-navigation a:hover {
		color:#28AEE4;
		font-weight:bold;
	}
	.main-navigation ul.menu > li.menu-item-has-children > a::after {
		display:none;
	}
	.sub-menu .menu-item a {
		color:#000 !important;
	}
	.sub-menu .menu-item a:hover {
		color:#28AEE4 !important;
	}
	
	#site-navigation .current-menu-ancestor a {
		/*color:#28AEE4 !important;
		font-weight:bold;*/
	}
	
	
	
	#site-navigation .current-menu-item a {
		color:#28AEE4 !important;
		font-weight:bold;
	}
	
	/*#site-navigation .current-menu-parent a {
		color:#28AEE4 !important;
		font-weight:bold;
	}
	
	#site-navigation .current-menu-item  a {
		color:#28AEE4 !important;
		font-weight:bold;
	}*/
	
	/*current-menu-parent 
	 current-menu-item 
	*/
	
	
	
	
	#site-navigation .current-menu-item .sub-menu a {
		color:#000 !important;
		font-weight:normal;
	}
	#site-navigation .focus a {
		color:#28AEE4 !important;
	}
	
	

	
	
	
	
	
	
	
	
	/*.sub-menu .menu-item a {
		color:#000 !important;
	}*/
	/*
	.sub-menu .current-menu-item a, .sub-menu .current-menu-ancestor a {
		color:#28AEE4 !important;
		font-weight:bold;
	}
	.nav-menu .current-menu-item a:hover, .nav-menu .current-menu-ancestor a:hover {
		color:#FFF !important;
	}
	.sub-menu .current-menu-item a:hover, .sub-menu .current-menu-ancestor a:hover {
		color:#000 !important;
	}
	.main-navigation ul.menu > li.menu-item-has-children > a::after {
		display:none;
	}
	.sub-menu .menu-item-has-children a:hover, .sub-menu .menu-item-object-product_cat a:hover {
		color:#000 !important;
	}
	.sub-menu .menu-item-object-product_cat a {
		color:#000 !important;
	}
	.sub-menu .current-menu-item a {
		color:#28AEE4 !important;
	}*/
	
	/* Kundvagnen */
	a.cart-contents:hover,
	.site-header-cart .widget_shopping_cart a:hover,
	.site-header-cart:hover > li > a {	
		/*color:#FFF;*/
	}
	.main-navigation ul.nav-menu > li > a {
		padding:0.5em 0.7em 0.5em 0.7em;
		margin-right:-0.5em;
	}
	.site-header-cart .cart-contents { 
		padding:0.5em;
		margin-left:1em;
		margin-top:1.5em;
	}
	.main-navigation ul.menu,
	.main-navigation ul.nav-menu {
	  float:right;
		margin-left: 0em !important;

	}
	.main-navigation ul.menu ul.sub-menu {
		background-color:#FFF;
		border:solid 1px #000;
	}
	
	
	
	/*Korrigera bredd så logga, sök, kundvagn får plats */
	.woocommerce-active .site-header .site-branding {
		width:30%;
		margin-bottom:1em;
	
	}
	.site-header .site-branding img {
        height: auto;
        max-width: 270px;
        max-height: none;
	}
	
	
	
	.site-header { 
		padding-top:1em !important;	
	}
}






/*Sidfotens rubrik-padding */
.widget-title {
	padding:0 !important;
	margin-bottom:0 !important;
	font-weight:bold !important;
}
.footer-widget-1 .widget {
	margin-bottom:1.5em !important;
}
.footer-widgets {
	padding-top:1em;
	padding-bottom:1em;
}
.footer-widget-1 img {
	width:60%;
}
/*Footer sociala länkar */
.ax_social_images  {
	width:80% !important;

}

/*Sidfotens länkfäörg */
.footer-widget-2 a {
	color:#FFF !important;
	text-decoration:none !important;
}




/*Vänsterställ titel och lite med breadcrumbs osv*/
.entry-title, .page-title, .term-description {
	text-align:left;
	
}
.entry-header {
	padding-bottom:0em !important;
}
.storefront-breadcrumb {
	margin:0em !important;
	padding:0em !important;
}
.woocommerce-products-header {
	padding-bottom:1em !important;
	/*padding-top:2em !important;*/
}





/*Adressfältet land ska se ut som ett inputfält men kan inte ändras */
#shipping_country_field .woocommerce-input-wrapper {
	padding:0.6180469716em;
	/*border-radius: 0.4em !important;*/
    background-color: #FFF !important;
    border: solid 1px #000 !important;
	
	color:#666;
	display:block;
	width:100%;
	
}
#billing_country_field .woocommerce-input-wrapper {
	padding:0.6180469716em;
	/*border-radius: 0.4em !important;*/
    background-color: #FFF !important;
    border: solid 1px #000 !important;
	
	color:#666;
	display:block;
	width:100%;
}





/*Meta slider på undersida */
.sliderUndersida {
	
	margin-top: -14.6em !important;
    margin-left: -2% !important;
    width: 104% !important;
}





/* Dölj titel och breadcrumbs på alla sidor */
.home .page-title, .entry-header {
	display:none;
}
.woocommerce-breadcrumb {
	display:none;
}

.site-header {
	border-bottom:none;	
}

#masthead {
	margin-bottom:4em;
}
.bildFullBredd {
	margin-top:-4em !important;
}





/* Formulärfält */
input {
	/*border-radius:0.4em !important;*/
	background-color:#FFF !important;
	border:solid 1px #000 !important;
}
button {
	/*border-radius:0.4em !important;*/
	
}
.button {
	/*border-radius:0.4em !important;*/
	background-color:#28aee4 !important;
}
button.alt {
	background-color:#28aee4 !important;
}
.woocommerce-active .site-header .site-search {
    width: 30%;
   margin-top:1.8em;
	margin-bottom:0.3em;
}
@media (max-width: 900px) {
	.woocommerce-active .site-header .site-search {
		width: 20%;
	
	}
}
.woocommerce-message .button {
	background-color:rgba(0, 0, 0, 0) !important;
	/*color:#000;*/
}


/* Plugin sökfält "Ajax search" */
.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
	/*border-radius:0.4em !important;*/
	background-color:#FFF !important;
	border:solid 1px #000 !important;
	line-height: 1.618 !important;
	height:auto !important;
}
.dgwt-wcas-search-wrapp {
	min-width:40px !important;
}


/* Fält för logga in osv (fältet är skapa ti templatefilen "header.php" */
.topAccount {
	float:right;
	margin-top:3.1em;
	
}
.topAccount a {
	color:#000;
	margin-left:1em;
}



/* Dölj texten "woocommerce-shipping-destination"! i kundvagnen */
.woocommerce-shipping-destination {
	display:none;
}








/* Ändra visningsordning på fraktalternativen */
/*#shipping_method {
	display: flex;
    list-style: none;
	flex-shrink: 0;
	flex-wrap: wrap;
}
#shipping_method li:nth-child(1) {
	order: -1;
	width:100%;
	flex: 0 0 100%;
}
#shipping_method li:nth-child(2) {
	order: -2;
	width:100%;
	flex: 0 0 100%;
}*/






/*Stil på den extra menyn */
#secondary .cat-item a {
	text-decoration:none;

}
#secondary .cat-item  {

	margin-top:0.5em;
}
#secondary .cat-item a:hover {
	text-decoration:none;
	color:#28AEE4 !important;
}



/*En bild på kategorierna*/
.categoryImage {
	width:22%;

}



@media (max-width: 767px) {
	
	
	
	/* Bild intill text på kategorisidor*/
	.half1 {
		width:100%;
		margin-right: 0%;
	}
	.half2 {
		width:100%;
	}
	
	
	
	/*Dölj extra menyn i mobilen */
	#secondary {
		display:none;
	}
	
	
	
	/* Fast menu i mobilen */
	/*#site-navigation {
		position:fixed;
		right:0em;
		top:0em;
		width:100%;
		
	}
	.menu-toggle {
		margin:2em 1.5em 0 0;
	}*/
	/*.storefront-primary-navigation {
		position:fixed;
		right:0em;
		top:1.5em;
		width:100%;
	}
	#menu-produktmeny {
		background-color:#FFF;
	}*/
	
	
	
	
	
	/*Meta slider på undersida */
	.sliderUndersida {
		
		margin-top: -3.6em !important;
		margin-left: -50% !important;
		width: 200% !important;
	}





	/* Produtker 3 i bredd eller 2 i bredd */
	.tvabilder {
		width:100%;
		margin-right:0%;
		margin-left:0%;
		float:left;
		margin-bottom:1em;
	}
	.trebilder {
		width:100%;
		margin-right:0%;
		margin-left:0%;
		float:left;
		margin-bottom:1em;
	}
	
	/* Kategorier 3 i bredd eller 2 i bredd */
	.enbilder_kat {
		width:30%;
		
	}
	.tvabilder_kat {
		width:49%;
		margin-right:2%;
		float:left;
	}
	.trebilder_kat {
		width:31.5%;
		margin-right:2%;
		float:left;
	}
	.sistaAvBilder_kat {
		margin-right:0%;
	}



	
	/*En bild på kategorierna*/
	.categoryImage {
		width:100%;
		
	}



	/*Fast sidhuvud i mobilen */
	/*#masthead {
		
		    position: fixed;
			top:0;
			left:0;
			width:100%;
	}
	.storefront-primary-navigation {
		
		    position: absolute;
			top:0;
			left:0;
			width:100%;
	}*/
	#mob_menu_gotop {
		position:fixed;
		top:0;
		right:0;
		width:3em;
		height:3em;
	
		background-image:url('/wp-content/uploads/2020/03/back-to-top.png');
		background-size:cover;
		background-position:top center;
		background-repeat:no-repeat;
		z-index:100;
	}
	
	
	/*Footer sociala länkar */
	.ax_social_images  {
		width:60% !important;
		margin-left:20%;

	}





	




	
	
	/*Egen bild som kundvagn i sidfoten i mobilen */
	.storefront-handheld-footer-bar ul li.cart > a::before {
		background-image:  url('/wp-content/uploads/2020/03/cart.png');
		background-repeat:no-repeat;
		background-position:center 0.5em;
    	background-size: 1.35em 1.44em;
		content: "";
		
	}
	
	
	/* Avstånd mellan meny och logga. Färg på meny i mobil*/
	.handheld-navigation {
		padding-top:1em;
	}
	.menu-item {
		background-color:#F2F2F2;
		margin-bottom: 0.2em;
	}
	
	
	.main-navigation ul li a { 
		padding:0.5em;
	}
	
	
	
	
	/*Footer-bilder i mobilen */
	.footer-widget-1 img {
		margin-left:20%;
	}
	/* Footer sociala länkar */
	#media_image-6 {
		width:60%;
		margin-left:20%;
		margin-top:0em;
	}
  
	
	
	
	
	/*Dölj denna */
	.topAccount {
		display:none;

	}
	
	
	/*Centrera text i sidfot */
	.footer-widgets {
		text-align:center;
	}
	
	
	/*Marginal under wigets i mobilen */
	.widget {
		margin-bottom:1.8em;
	}
	
	/* Dölj denna class i mobilen */
	.hideInMob {
		display:none;
	}
	
	/* Slider  på startsidan, metaslider */
	/*.metaslider {
		width:200% !important;
		margin-left:-50%;

	}*/
	
	
	/* Nyhetsbrev sidfot bild */
	#news_foot_image {
		display:none;
		
	}

	
	
}


/* Justera class för standardknappen i WP */
.wp-block-button__link {
	/*border-radius:0.4em !important;*/
	text-decoration:none !important;
}




/*Egen liten kundvagn */
.acitex_cart_icon {
	width:2em;
	height:2em;
	float:right;
	margin-left:1em;
	margin-top:-0.8em;
}
.acitex_cart_icon img {
	width:100%;
}



/* Header och footer bredare änb innehållet */
/*#masthead > .col-full:first-child, #masthead > .col-full:second-child {
	 max-width: 82.4989378333em !important; 
}*/

.site-header > .col-full:first-child, .storefront-primary-navigation > .col-full:first-child {
	 max-width: 82.4989378333em !important;  /* 66.4989378333em */
	  padding: 0 0.5em !important; 
	  box-sizing:border-box;
}

.site-footer > .col-full:first-child {
	 max-width: 82.4989378333em !important;  /* 66.4989378333em */
	  padding: 0 0.5em !important; 
	  box-sizing:border-box;
}

/* Även bred på sidan med kategorier */
.archive .col-full {
	max-width: 82.4989378333em !important;  /* 66.4989378333em */
	  padding: 0 0.5em !important; 
	  box-sizing:border-box;
	
}




/* Slider  på startsidan, metaslider */
.metaslider {
	margin-top:-4em;

}





/* Utseendet på kundvagnen/varukorgen */
table:not( .has-background ) th {
	background-color:#E9E9E9;
}
table:not( .has-background ) tbody tr:nth-child(2n) td {
	background-color:#E9E9E9;
}




/*Erbjudande-carousel */
.atw_title h3 {
	font-size: 1.4em !important;
	font-weight: bold !important;
}
.atw_wrapper, .atw_title  { 
	margin-bottom:0.5em !important;
	padding-bottom:0.5em !important;
}
.atw_item_bottom h4 {
	font-weight:bold !important;
}
.atw_price {
	font-weight:bold;
}
#atw_style6 .atw--single_item .atw_item_bottom .atw_item_title a {
	font-weight:bold;
	line-height: 17px !important;
}


/* Css för - Lägg till extra länk (inköpslista) i sidfoten */
.storefront-handheld-footer-bar ul li.inkopslista > a:before {
	content: "\f03a";
}








/*Getanewsletter stil */
.newsletter-signup #id_email {
	width:100%;
	margin-top:-1em;
}
.newsletter-signup input[type="submit"] {
	background-color:#28AEE4 !important;
	width:100%;
}
.newsletter-signup label {
	display:none;
}
/* Nyhetsbrev sidfot bild */
#news_foot_image {
	position:absolute;
	top:-6em;
	right:0;
	width:100%;
	
}
@media (max-width: 1150px) {
	#news_foot_image {
		position:absolute;
		top:-3em;
		right:0;
		width:85%;
		
	}

}
@media (max-width: 1050px) {
	#news_foot_image {
		position:absolute;
		top:-0.5em;
		right:0;
		width:65%;
		
	}

}
@media (max-width: 1050px) {
	#news_foot_image {
		display:none;
		
	}

}




