/* LAYOUTSTYLES */

/* Typographic scale overrides (desktop) */
:root {
	--fs-price: 35px; --lh-price: 40px;
	--fs-product-card-price: 64px; --lh-product-card-price: 64px;
	--fs-h1: 40px; --lh-h1: 48px;
	--fs-h2: 30px; --lh-h2: 38px;
}
#wrapper {
	padding-top: 100px;
}
#wrapper.links_active {
	padding-top: 150px;
}
header#header {
	height: 100px;
	box-shadow: none;
	width: 100%;
	transition: height 0.2s ease;
}
#wrapper.links_active header#header {
	top: 50px;
}
header#header.sticky {
	height: 80px;
}
#wrapper.links_active header#header.sticky {
	top: 0;
}
header#header > div {
	min-height: 100px;
	transition: min-height 0.2s ease;
}
header#header.sticky > div {
	min-height: 80px;
}
header#header div.logo {
	position: absolute;
	top: 0;
	left: 20px;
	width: auto;
	height: 100px;
}
header#header.sticky div.logo {
	height: 80px;
}
header#header.sticky div.logo a {
	bottom: -28px;
}
header#header div.logo svg {
	width: 66px;
	height: 90px;
	margin-top: 5px;
	transition: all 0.2s ease;
}
header#header.sticky div.logo svg {
	width: 52px;
	height: 70px;
}
header#header img.suurennuslasi {
	display: none;
}
header#header div.linkit {
	left: auto;
	right: 240px;
	transition: top 0.2s ease;
}
header#header.sticky div.linkit {
	top: 11px;
}
header#header div.linkit > ul > li {
	display: inline-block;
	margin-left: 15px;
	font-size:var(--fs-small);
}
header#header div.linkit > ul > li > a i::before {
	color: var(--header_highlight_color);
}
header#header div.linkit ul li.aspa {
	display: inline-block;
}
header#header div.linkit > ul > li > a {
	color: var(--header_highlight_color);
}
header#header:not(.sticky) div.linkit > ul > li > a {
	/* font-size: 1.05em;	 */
}
header#header div.linkit ul ul {
	-webkit-transition: opacity 0.3s ease;
	transition: opacity 0.3s ease;
}
header#header div.linkit ul li.drop.open ul {
	background: #f5f5f5;
	left: 0;
	width: auto;
	padding: 5px 5px 0 5px;
}
header#header.sticky div.linkit ul li.drop.open ul {
	top: 33px;
}
header#header div.linkit ul ul li {
	background: #fff;
	margin-bottom: 5px;
	padding: 5px 10px;
	box-sizing: border-box;
	min-width: 180px;
}
header#header div.linkit ul ul li a:link,
header#header div.linkit ul ul li a:visited {
	line-height: 35px;
	display: block;
}
header#header #haku {
	width: calc(100% - 700px);
	max-width: 600px;
	top: 18px;
	left: 120px;
	transition: all 0.2s ease;
}
header#header.sticky #haku {
	top: 6px;
	left: 100px;
}
header#header input.hakukentta {
	height: 31px;
	width: calc(100% - 55px);
	padding: 0 10px;

	border: 1px solid var(--header_highlight_color);
	color: var(--header_highlight_color);
}
header#header input.hakukentta::placeholder {
	color: var(--header_highlight_color);
}
header#header #search_navi_close {
	display: none;
}
header#header #search_btn {
	position: static;
	width: 45px;
	height: 31px;
	color: var(--header_highlight_color);
	background-color: var(--body_background_color);
}
header#header #muistilista {
	right: 131px;
	top: 20px;
	width: auto;
	color: var(--header_highlight_color);
	/* font-size: 1.05em; */
	height: auto;
	transition: top 0.2s ease;
	font-size:var(--fs-small);
	line-height:var(--lh-small);
}
header#header #ostoskori {
	right: 20px;
	top: 20px;
	width: auto;
	color: var(--header_highlight_color);
	/* font-size: 1.05em; */
	transition: top 0.2s ease;
	font-size:var(--fs-small);
	line-height:var(--lh-small);
}
header#header.sticky #muistilista,
header#header.sticky #ostoskori {
	/* font-size: 1em; */
	top: 10px;
}
header#header #muistilista #topMemoryListTotalItems {
	right: auto;
	left: 15px;
}
header#header #ostoskori #topOstoskoriListTotalItems {
	right: auto;
	left: 15px;
}
header#header #muistilista i:before {
	font-size: 1.7em;
	margin-right: 5px;
}
header#header #ostoskori i:before {
	font-size: 2.15em;
	margin-right: 5px;
	top: -3px;
	position: relative;
}
header#header.sticky #muistilista i:before {
	font-size: 1.85em;
}
header#header.sticky #ostoskori i:before {
	font-size: 2.15em;
}
header#header #muistilista span.info {
	position: relative;
	top: 4px;
}
header#header #ostoskori span.info {
	display: block;
	position: relative;
	top: 1px;
}
header#header span.info:hover {
	text-decoration: underline;
}
header#header #ostoskoriholder {
	display: block;
	position: absolute;
	right: 20px;
	top: 53px;
	z-index: 12;
}
header#header #ostoskorituotteet {
	background: #fff;
	width: 400px;
	overflow: auto;
	box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.5);
	box-sizing: border-box;
	padding: 10px 15px;
	display: none;
	overscroll-behavior: contain;
}
header#header #ostoskorituotteet > p {
	font-size: 1.1em;
	margin-bottom: 10px;
}
header#header #ostoskorituotteet div.tuoterivi {
	display: flex;
	padding: 10px 0;
	border-bottom: 1px solid #e9e9e9;	
	justify-content: space-between;
	align-items: center;
}
header#header #ostoskorituotteet form#hover_cart.loading {
	position: relative;
	pointer-events: none;
	user-select: none;
}
header#header #ostoskorituotteet form#hover_cart.loading > *{
	filter: blur(3px);
}
header#header #ostoskorituotteet form#hover_cart.loading:before {
	position: absolute;
	content: '';
	width: 102%;
	height: 100%;
	background: #ffffffa6;
	top: 0;
	left: -1%; /** Because blur **/
	z-index: 1;
}
header#header #ostoskorituotteet form#hover_cart.loading:after {
	content: '\e849';
	font-family: 'asko-ikonit';
	-webkit-animation: fa-spin 3s infinite linear;
	animation: fa-spin 3s infinite linear;
	font-size: 25px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -8px;
	margin-top: -8px;
}

header#header #ostoskorituotteet div.tuoterivi:last-child {
	border-bottom: none;
}
header#header #ostoskorituotteet div.tuoterivi div.image {
	flex-basis: 80px;	
	min-width: 80px;
	padding-right: 10px;
	text-align: center;
}
header#header #ostoskorituotteet div.tuoterivi div.image img {
	max-height: 80px;
}
header#header #ostoskorituotteet div.tuoterivi div.info {
	flex-grow: 1;
	padding-right: 10px;
}
header#header #ostoskorituotteet div.tuoterivi div.info span {
	display: block;
	margin: 5px 0;
	line-height: 1.2;
}
header#header #ostoskorituotteet div.tuoterivi div.info a {	
	font-weight: 700;
	text-decoration: none;
}
header#header #ostoskorituotteet div.tuoterivi div.info a:hover {
	text-decoration: underline;
}
header#header #ostoskorituotteet div.tuoterivi div.info span.product {
	font-weight: 700;
}
header#header #ostoskorituotteet div.tuoterivi div.info span.package_info {
	font-size: 0.85em;
}
header#header #ostoskorituotteet div.tuoterivi span.amount_section > * {
	display: block;
	line-height: 28px;
}
header#header #ostoskorituotteet div.tuoterivi span.amount_section span.amount {
	width: 30px;
	border: 1px solid #f0f0f0;
	box-sizing: border-box;
	text-align: center;
	cursor: default;
}
header#header #ostoskorituotteet div.tuoterivi span.amount_section button {
	width: 30px;
	text-align: center;
	cursor: pointer;
	font-weight: 600;
	font-size: 1.2em;
	border: none;
}
header#header #ostoskorituotteet div.tuoterivi span.amount_section button:hover {
	background: #f9f9f9;
}
header#header #ostoskorituotteet a.siirry_ostoskoriin {
	display: block;
    border: none;
    line-height: 40px;
    color: #fff;
    background: var(--color-cart-green);
    font-size: 18px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}
header#header #ostoskorituotteet a.siirry_ostoskoriin:hover {
	box-shadow: var(--button-box-shadow);
}
header#header #ostoskorituotteet span.hinta {
	display: block;
	margin-top: 10px;
}


div.header_links {
    top: -100px;
    z-index: 10;    
}
div.header_links ul {
    position: relative;
    display: flex;
}
div.header_links ul li:nth-child(n+4) {
	display: none;
}


/* mobiilinavi piiloon, normi esiin */
.slicknav_menu {
	display: none;
}
#menu_cms, #menu_products, #menu_stores, #menu_offers {
	display: block;
}
#menu_products li.offers {
	display: none;
}

header#header #open_main_navi {
	display: none;
}
#main_navi {
	position: absolute;
	bottom: 0;
	left: 120px;
	right: auto;
	height: auto;
	display: inline-block;
	background-color: var(--body_background_color, #fff);
	border-top: 1px solid #e9e7e8;
	border-bottom: 1px solid #e9e7e8;
	padding: 0;
	width: calc(100% - 140px);
	transition: all 0.2s ease;
	font-size: var(--fs-bigger);
}
header#header.sticky #main_navi {
	left: 100px;
	width: calc(100% - 120px);
}
#main_navi a.offers {
	color: var(--color-offer-red);
}
#main_navi a.offers.main {
	font-weight: 700;
}
#main_navi > ul {
	display: block;
	width: 100%;
	position: relative;
	top: auto;
}
#main_navi > ul > li {
	display: block;
	float: left;
	border-bottom: none;
	background: none;
}
#main_navi li.drop li span.back_to_upper_categories,
#main_navi li.drop li span.back_button,
#main_navi li.drop li a.all {
	display: none;
}
#main_navi > ul + ul > li {
	margin-left: 30px;
}
#main_navi > ul > li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 36px;

	text-decoration: none;
	position: relative;
}
#main_navi > ul > li > a > span {
	margin-left: 3px;
}
#main_navi > ul#menu_products > li.drop > a,
#main_navi > ul#menu_stores > li.drop > a {
	padding-right: 15px;
} 
#main_navi > ul#menu_products > li.drop > a:after,
#main_navi > ul#menu_stores > li.drop > a:after {
	content: '\45';
	display: inline-block;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);

	font-family: 'asko-ikonit';
	font-size: 0.9rem;
}
#main_navi > ul#menu_products.open > li.drop > a:after,
#main_navi > ul#menu_stores.open > li.drop > a:after {
	content: '\46';
}
header#header > div > #main_navi > ul > li > div li.locate > a:not(.all) {
	justify-content: space-between;
}
header#header > div > #main_navi > ul > li > div li.locate > a:not(.all) > i::before {
	font-size: 1.2em;
}
header#header > div > #main_navi > ul > li > div li.locate > a:not(.all) > i:not(:hover)::before {
	color: #999;
}
header#header.sticky #main_navi > ul > li > a {
	height: 34px;
}
#main_navi > ul > li:hover > a,
#main_navi > ul > li.hover > a {
	text-decoration: underline;
}
#main_navi > ul > li > div {
	position: absolute;
	top: 32px;
	left: -9999em;
	right: 0;
	width: 96%;
	max-width: 1280px;
	/*max-height: calc(100vh - 100px);*/
	visibility: hidden;
	overflow-x: hidden;
	overflow-y: auto;
	pointer-events: none;
	opacity: 0;
	z-index: 10;
	-webkit-transition: opacity 300ms ease;
	transition: opacity 300ms ease;

	background-color: #fff;
}
header#header.sticky #main_navi > ul > li > div {
	top: 35px;
}
#main_navi > ul > li.hover > div {
	opacity: 1;
	left: 0;
	visibility: visible;
	pointer-events: auto;
	overscroll-behavior: contain;
}

header#header > div > #main_navi > ul > li.hover > div {
	height: 650px;
}
header#header > div > #main_navi > ul > li.hover > div > ul {
	min-height: 650px;
}

#main_navi > ul > li div > ul:before {
	height: 100%;
}

header#header > div > #main_navi > ul > li.hover > div {
	background-image: url('../templates/asko/images/asko-navitausta-122020.jpg');	
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
@media screen and (min-width: 1420px) {
	header#header > div > #main_navi > ul > li.hover > div {
		background-size: calc(100% - 315px) auto;
		background-position: right center;
	}	
}
header#header > div > #main_navi > ul#menu_stores > li.hover > div {
	background-image: url('../templates/asko/images/asko-navitausta-myymalat-012022.jpg');
}
#main_navi > ul > li > div > ul {
	position: relative;
	width: 75%;
	height: 100%;

	/*background-color: #e9e5e4;*/
}
#main_navi > ul > li div > ul:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 66.66%;
	box-sizing: border-box;
	pointer-events: none;
	z-index: -1;

	background-color: #f8f8f8;
	border-right: 1px solid rgba(0,0,0,.1);
}
header#header > div > #main_navi li.second_set:before {
	content: '';
	display: block;
	position: static;
	height: 49px;
	width: 33.2%;

	background-color: #f2f2f2;
	border-bottom: 1px solid rgba(0,0,0,.1);
}
header#header > div > #main_navi > ul > li > div li > a:not(.all),
header#header > div > #main_navi > ul > li > div a + i {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	width: calc(33.33% - 50px - 1px);
	height: 50px;
	padding: 0 15px;
	box-sizing: border-box;
	vertical-align: top;

	background-color: #f8f8f8;
	/*box-shadow: 0 5px 5px rgba(0,0,0,.05);*/
	border: 1px solid rgba(0,0,0,.1);
	border-top: none;
	border-left: none;
	border-right: none;
	text-decoration: none;

	font-size:var(--fs-small);
}
header#header > div > #main_navi > ul > li > div li.has_subs > a {
	border-right: none;
}
header#header > div > #main_navi > ul > li > div li:not(.has_subs) > a {
	width: calc(33.33% - 1px);
}
header#header > div > #main_navi > ul > li > div li > a:hover,
header#header > div > #main_navi > ul > li > div li > a:hover + i,
header#header > div > #main_navi > ul > li > div li.open > a,
header#header > div > #main_navi > ul > li > div li.open > a + i {
	background-color: #fff;
}
header#header > div > #main_navi > ul > li > div a + i {
	width: 50px;
	cursor: pointer;
}
header#header > div > #main_navi > ul > li > div a + i:before {
	margin: 0;

	font-size: 1.7em;
	color: #999;
}
header#header > div > #main_navi > ul > li > div li:hover > a + i:hover:before,
header#header > div > #main_navi > ul > li > div li.open > a + i:hover:before {
	color: #444;
}
header#header > div > #main_navi > ul > li > div li.open > a + i:before {
	content: '\56';
}
header#header > div > #main_navi > ul > li > div div {
	position: absolute;
	left: -9999em;
	top: 0;
	right: 0;
	min-height: 100%;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: auto;
	transform: translateX(calc(33.33% - 15px));
	transition: left 0ms ease 200ms, visibility 0ms ease 200ms, transform 200ms ease, opacity 200ms ease;
}
header#header > div > #main_navi > ul > li > div li.open > div {
	left: 0;
	opacity: 1;
	visibility: visible;
	transform: translateX(33.33%);
	transition: transform 200ms ease, opacity 200ms ease;
}
#main_navi > ul > li > div div,
#main_navi > ul > li > div div *,
#main_navi > ul > li > div li.open > div div,
#main_navi > ul > li > div li.open > div div * {
	height: 0;
	transition: height 0ms ease 200ms;
}
#main_navi > ul > li > div li.open > div,
#main_navi > ul > li > div li.open > div *,
#main_navi > ul > li > div li.open div li.open > div,
#main_navi > ul > li > div li.open div li.open > div * {
	height: auto;
}
div.sub_navi {
	display: none;
}


#polku {
	padding: 10px 20px;
	background: none;
}
#polku a.takaisin:link, #polku a.takaisin:visited {
	display: block;
} 

@media screen and (min-width: 1560px) {
	header#header div.logo {
		left: 0px;
	}
	header#header div.linkit {
		right: 220px;
	}
	header#header #muistilista {
		right: 111px;
	}
	header#header #ostoskori {
		right: 0;
	}
	header#header #ostoskoriholder {
		right: 0;
	}
	
	header#header #haku {
		left: 105px;
	}
	#main_navi {
		left: 105px;
		width: calc(100% - 105px);
	}


	header#header.sticky #haku {
		left: 85px;
	}
	header#header.sticky #main_navi {
		left: 85px;
		width: calc(100% - 85px);
	}
}


#main_navi li.drop > ul > li, #main_navi li.drop ul.offer_pages > li {
	width: 25%;
}
#main_navi li.drop > ul > li:nth-of-type(3n+1) {
    clear: none;
}
#main_navi li.drop > ul > li:nth-of-type(4n+1) {
    clear: left;
}


#etusivun_nostot div.product_slider,
div.pagesectioncontainer div.product_slider:not(.placeholder_item_wrapper) {
	height: 245px;
}
#etusivun_nostot div.product_slider div.slider_product,
div.pagesectioncontainer div.product_slider div.slider_product {
	/* width: 284px;*/
	width:240px;
}
/*#etusivun_nostot div.product_slider div.slider_product div.image,
div.pagesectioncontainer div.product_slider div.slider_product div.image {
	height: 200px;
}*/
#etusivun_nostot div.product_slider div.slider_product div.name,
div.pagesectioncontainer div.product_slider div.slider_product div.name,
div.product_recommendation_container div.product_slider div.slider_product div.name  {
	height: 45px;
	font-size: 1em;
}


#sisaltoalue > div.cms_page {
	display: flex;
	justify-content: space-between;
}
#sisaltoalue > div.cms_page > div.nav {
	width: 250px;
}
#sisaltoalue > div.cms_page > div.content {
	width: calc(100% - 300px);
}
#sisaltoalue > div.cms_page	> div.content.full {
	width: 100%;
}


/* Sivupalkki */

#product_list_sidebar {
	margin-top: 0;
}
#product_list_sidebar div.sidebar__inner {
	padding-bottom: 50px;
}

#subnavi #subnavi_list,
div.kategoriarajaus_otsikko {
	display: block;
	font-size:var(--fs-bigger);
}
#subnavi #slicknav_sub {
	display: none;
}

#subnavi {
	box-sizing: border-box;

	/*overflow: hidden;*/
}
#subnavi #subnavi_inner {
    padding-top:75px;
    padding-bottom:75px;
    margin-top:-75px;
    background-color: transparent;
}
#subnavi #subnavi_inner.is_stuck {
    margin-top:0px;
}
#subnavi div.header {
	margin: 0 0 0 0;
	padding: 10px 10px 10px 0;

	background-color: transparent;
	border-bottom: 1px solid #EAEAEA;
	font-size: 1.5em;
}
#subnavi > ul > li {
	border-top: 1px solid #f4f4f4;
}
#subnavi ul li a,
#subnavi ul li p {
	padding-left: 0;
}
#subnavi ul li a.on,
#subnavi ul li a.on + span i:before {
	color: var(--color-light-blue);
}
#subnavi > ul > li > a {
	font-weight: 700;
}
#subnavi ul ul li a,
#subnavi ul ul li input {
	padding: 0 0 0 10px;
}
#subnavi div.header.on:after {
	content: '\e803';
}
#subnavi div.header.on.default_state:after {
	content: '\e803';
}
#subnavi ul ul ul li a {
	padding-left: 10px;
}

#subnavi div.search_tools {
	display: block;
	margin-bottom: 10px;
}
#subnavi div.search_tools button.closest_store {
	width: 100%;
	height: 46px;
	background: var(--color-light-blue);
	border: none;
	color: #fff;
	text-align: left;
	padding-left: 50px;
	font-size: 16px;
	position: relative;
	margin-bottom: 10px;
	margin-top: 10px;
	cursor: pointer;
}
#subnavi div.search_tools button.closest_store:hover {
	box-shadow: var(--button-box-shadow);
}
#subnavi div.search_tools button.closest_store::before {
	content: '\E828';
	font-family: 'asko-ikonit';
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
}
#subnavi div.search_tools input {
	display: inline-block;
	font-size: 16px;
	box-sizing: border-box;
	height: 46px;
}
#subnavi div.search_tools input.hakukentta {
	width: calc(100% - 75px);
	background: #fff url('../templates/asko/images/hakulasi.png') no-repeat 10px center;
	background-size: auto 18px;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	border: 1px solid #D2D2D2;
	padding: 0 0 0 50px;
}
#subnavi div.search_tools input.hakunappi {
	width: 70px;
	margin-left: 5px;
	background: var(--color-light-blue);
	border: none;
	color: #fff;
	cursor: pointer;
}
#subnavi div.search_tools input.hakunappi:hover {
	box-shadow: var(--button-box-shadow);
}
#subnavi #store_search_results div.loading_icon {	
	top: 0;
	margin-bottom: 10px;
}
#subnavi #store_search_results div.loading_icon:first-child {
	position: relative;
	top: 0;
	left: 0;
	transform: none;
}
#subnavi #store_search_results div.loading_icon::before {
	font-size: 30px;
}
#subnavi #store_search_results a {
	margin-bottom: 10px;
	display: block;
	color: var(--color-dark-blue);
}
#subnavi #store_search_results a:last-of-type {
	margin-bottom: 20px;
}
#subnavi ul li.locate {
	display: none;
}

#subnavi1 ul li:not(.img) {
	width: calc((100% - 25px) / 6);
}
#subnavi1 ul li:not(.img):nth-child(4n+4) {
	margin-right: 5px;
}
#subnavi1 ul li:not(.img):nth-child(4n+5) {
	clear: none;
}
#subnavi1 ul li:not(.img):nth-child(5n+5) {
	margin-right: 5px;
}
#subnavi1 ul li:not(.img):nth-child(5n+6) {
	clear: none;
}
#subnavi1 ul li:not(.img):nth-child(6n+6) {
	margin-right: 0;
}
#subnavi1 ul li:not(.img):nth-child(6n+7) {
	clear: left;
}	
#subnavi1.min {
	margin-left: 31px;
}
div.store_list_wrapper {
	display: flex;
	margin-top: -50px;
}

div.store_list_wrapper > div {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
}

div.store_list_wrapper > div.stores {
	width: calc(60% - 20px);
	padding-right: 20px;
}


/*
div.store_list_wrapper {
	display: flex;
}
div.store_list_wrapper > div.stores {
	
	width: 60%;
	
}
*/
div.store_list_wrapper > div.stores > div {
	padding-right: 20px;
	box-sizing: border-box;
}
div.store_list_wrapper > div.image {
	width: 40%;
}


@media screen and (min-width: 1200px) {
	div.store_service_wrapper > div {
		width: calc((100% - 12px) / 3);
	}
	@media screen and (max-width: 1519px) {
		div.store_service_wrapper > div:nth-of-type(3n) {
			margin-right: 0;
		}
	}	
}
@media screen and (min-width: 1520px) {
	div.store_service_wrapper > div {
		width: calc((100% - 18px) / 4);
	}
	div.store_service_wrapper > div:nth-of-type(4n) {
		margin-right: 0;
	}
}


#hakulaatikko {
	background: #eae6e7 url('../templates/asko/images/hakutausta.png') no-repeat right bottom;
	padding: 20px 30px 10px 20px;
	overflow: hidden;
	zoom: 1;
	margin-bottom: 20px;
}
#hakulaatikko input.hakukentta {
	width: 50%;
	float: left;
	border: none;
	box-sizing: border-box;
	height: 45px;
	background: #fff;
	padding: 0 10px;
	margin-right: 10px;
}
#hakulaatikko input.hakunappi {
	width: 100px;
	float: left;
	border: none;
	height: 45px;
	color: #fff;
	background: var(--color-light-blue);
	font-size: 1.4em;
	cursor: pointer;
}


footer#footer {
	padding: 80px 20px;
}
@media screen and (min-width: 1560px) {
	footer#footer {
		padding: 80px 0;
	}
}
footer#footer #maksutavat {
	width: auto;
}
@media screen and (min-width: 1520px) {
	footer#footer > div.footer_wrapper {
		display: flex;
		justify-content: space-between;
	}
	footer#footer > div.footer_wrapper #footer_navi {
		width: calc(100% - 404px);
	}
	body#admin footer#footer > div.footer_wrapper #footer_navi {
		width: 100%;
	}
	footer#footer > div.footer_wrapper div.payment_n_some {
		width: 304px;
		display: flex;
		flex-direction: column;
	}
	footer#footer > div.footer_wrapper div.payment_n_some #maksutavat {
		order: -1;
		margin-bottom: 30px;
	}
	footer#footer > div.footer_wrapper div.payment_n_some #maksutavat img {
		border: none;
	}
}


#kotiinkuljetuskysely select {
	min-width: 300px;
}
#kotiinkuljetuskysely p.vaihe.palvelu {
	float: left;
}
#kotiinkuljetuskysely div.palvelu {
	float: left;
	white-space: nowrap;
	clear: none;
	margin: 15px 0 0 20px;
}


#yhteydenotto p.yhteysotsikko {
	float: left;
}
#yhteydenotto div.yhteystapa {
	margin: 0 0 0 20px;
}


#asiakaspalvelu_valinta_wrapper {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}
#asiakaspalvelu_valinta_wrapper div.asiakaspalvelu {
	width: 49%;
}
#asiakaspalvelu_valinta_wrapper div.asiakaspalvelu:nth-child(2n) {
	margin-right: 0;
}
div.asiakaspalvelu_content_wrapper p.asiakaspalautelinkki a:link, div.asiakaspalvelu_content_wrapper p.asiakaspalautelinkki a:visited {
	padding: 15px 40px;

	font-size: 1.15em;
}
#asiakaspalvelu_valinta_wrapper a span.aspa_btn {
    width: auto;
    padding: 10px 20px;
}
#asiakaspalvelu_valinta_wrapper a span.aspa_btn.seuraa {
	padding: 5px 20px;
}


div.asiakastiedot div.newsletter { margin: 55px 0 -120px -10px;		 }

div.alakategoriat {
	display: none;
}

select.category_select.subnavi1-select-offers {
	display: none;
}

#tuoterajaus.store_service_wrapper.muistilista_wrapper {
	padding-top: 0;
}


/* CONTENTSTYLES */

div.pagesectioncontainer p,
div.pagesectioncontainer ul:not(.slides),
div.pagesectioncontainer ol,
#product_card div.product_info_wrapper div.myyntiteksti,
#product_card div.product_info_wrapper p,
#product_card div.product_info_wrapper ul:not(.slides),
#product_card div.product_info_wrapper ol,
div.store_info_wrapper :where(p, ul, ol),
div.asiakastiedot label,
#kotiinkuljetuskysely label {
	/* font-size: 1.15em; */
}
div.pagesectioncontainer p,
div.pagesectioncontainer ul:not(.slides),
div.pagesectioncontainer ol,
#product_card div.product_info_wrapper div.myyntiteksti,
#product_card div.product_info_wrapper p,
#product_card div.product_info_wrapper ul:not(.slides),
#product_card div.product_info_wrapper ol,
div.store_info_wrapper :where(p, ul, ol) {
	/* font-weight: 300; */
}
#product_card div.product_info_wrapper div.myyntiteksti{
	/* line-height:1.4; */
}

.cd-top {
	right: 30px;
	bottom: 30px;
}

.anchor {
	margin-top: -100px;
	padding-bottom: 100px; 
}

/* LOTTERY FORM */
.lottery_form div.puolet {
	float: left;
	width: 49%;
	width: calc((100% - 40px) / 2);
	margin-right: 2%;
	margin-right: calc(20px + 0px);
}
.lottery_form div.puolet:nth-of-type(2n) {
	margin-right: 0;
}

#main_navi > ul#menu_stores > li.drop > a {
	padding-right: 0;
}
#main_navi > ul#menu_stores > li.drop > a:after {
	display: none;
}