/* LAYOUTSTYLES */

/* Typographic scale overrides (tablet) */
:root {
	--fs-price: 32px; --lh-price: 38px;
	--fs-product-card-price: 64px; --lh-product-card-price: 64px;
	--fs-h1: 36px; --lh-h1: 44px;
	--fs-h2: 28px; --lh-h2: 36px;
}

#subnavi1.min {
	width: 100%;
	max-width: 960px;
	position: fixed;
	top: 80px;
	z-index: 10;
	border-bottom: 2px solid rgb(128, 216, 220);
	background-color: white;
}
#togglecategories {
	width: 50px;
	height: 50px;
	border-radius: 50px;
	background-color: rgb(128, 216, 220);
	background-image: url('../templates/asko/images/nuoli-ylos_c.png');
	background-repeat: no-repeat;
	background-position: center 70%;
	position: fixed;
	left: calc(50% - 25px);
	z-index: 9;
	cursor: pointer;
}
#subnavi1 {
	display: block;
	overflow: hidden;
	zoom: 1;
	margin-bottom: 20px;
}
#subnavi1.subnavi1-offers {
	display: none;
}
#subnavi1 ul li {
	display: table;
	float: left;
	width: calc((100% - 15px) / 4);
	margin: 0 5px 5px 0;
}
#subnavi1 ul li:nth-child(4n+4) {
	margin-right: 0;
}
#subnavi1 ul li:nth-child(4n+5) {
	clear: left;
}
#subnavi1 ul li a:link, #subnavi1 ul li a:visited {
	display: table-cell;
	background: var(--color-lighter-blue);
	height: 35px;
	text-decoration: none;
	text-align: center;
	vertical-align: middle;
	padding: 0 10px;
	transition: all 0.1s ease;
}
#subnavi1 ul li a:hover, #subnavi1 ul li a:active, #subnavi1 ul li a.on {
	background: var(--color-light-blue);
	color: #fff;
}
#subnavi1 ul li.img a:link, #subnavi1 ul li.img a:visited {
	height: auto;
	padding: 11px 0 10px 0;
}
#subnavi1 ul li.img img {
	display: block;
	margin: 10px 0 -10px 0;
}
select.category_select {
	display: none;
}

select.category_select.subnavi1-select-offers {
	display: block;
}
#sisaltoalue {
	padding: 30px 20px;
}
@media screen and (min-width: 1560px) {
	#sisaltoalue {
		padding: 30px 0;
	}
}
#sisaltoalue:not(.etusivu) {
	min-height: calc(100vh - 727px);
}


div.store_search_item {
	padding-bottom: 0;
}
div.store_search_item > div:nth-of-type(1) { width: 30% }
div.store_search_item > div:nth-of-type(2) { width: 30% }
div.store_search_item > div:nth-of-type(3) { width: 200px; }


/*
div.store_list_wrapper > div.stores {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
}
div.store_list_wrapper > div.stores > div {
	
	 width: 33.33%;
}
*/

#hakulaatikko {
	padding: 10px 15px;
}
#hakuosiot {
	display: block;
	overflow: hidden;
	zoom: 1;
	margin-bottom: 20px;
}
#hakuosiot ul li {
	display: table;
	float: left;
	width: calc((100% - 20px) / 5);
	margin: 0 5px 5px 0;
}
#hakuosiot ul li:nth-child(5n+5) {
	margin-right: 0;
}
#hakuosiot ul li:nth-child(5n+6) {
	clear: left;
}
#hakuosiot ul li button {
	display: table-cell;
	background: var(--color-lighter-blue);
	height: 35px;
	text-decoration: none;
	text-align: center;
	vertical-align: middle;
	padding: 0 10px;
	transition: all 0.1s ease;
	border: none;
	width: 100%;
	cursor: pointer;
}
#hakuosiot ul li button:hover:not(:disabled), #hakuosiot ul li button.on {
	background: var(--color-light-blue);
	color: #fff;
}
#hakuosiot ul li button:disabled {
	color: #fff;
	background: #efefef;
}


footer#footer {
	padding: 50px 20px;
}
footer#footer ul ul {
	display: block;
	margin-left: 0;
}
footer#footer #footer_navi > ul {
	display: flex;
	justify-content: space-between;
}
footer#footer #footer_navi > ul > li {
	padding-right: 20px;
}
footer#footer #somelogot {
	width: 135px;
	float: right;
}
footer#footer #somelogot p {
	text-align: left;
	margin-left: 12px;
}
footer#footer #maksutavat {
	display: block;
	width: 500px;
}
footer#footer #maksutavat img {
	border: 10px solid #fff;
	border-radius: 3px;
}


#search_suggest {
    top: 45px;
	max-height: calc(80vh - 40px - 58px);
}

.overlay{
    width:100%;
    height:110%;
    position: fixed;
    top:0;
    left:0;
    z-index: 9;
    background-color: rgba(0,0,0,0.5);
}
.overlay.hidden{
	background-color:transparent;
	pointer-events:none;
	display:none;
	visibility:hidden;
}


#kotiinkuljetuskysely select {
	width: auto;
	margin: 0 0 0 10px;
	min-width: 250px;
}
#kotiinkuljetuskysely p.yhteysotsikko {
	float: left;
}
#kotiinkuljetuskysely div.yhteystapa {
	margin: 0 0 0 20px;
}


#asiakaspalvelu_valinta_wrapper a.myymalat {
	background-color: #EBE5E5;
	background-image: url('../templates/asko/images/myymaloidenyhteystiedot-vasen.png'), url('../templates/asko/images/myymaloidenyhteystiedot-oikea.png');
	background-repeat: no-repeat;
	background-position: left center, right center;
}


/* CONTENTSTYLES */

div.left_column {
	float: left;
	width: 49%;
}
div.right_column {
	float: right;
	width: 49%;
}
div.pagesectioncontainer.video div.left_column {
	margin-bottom: 0;
}


.sectionimageleft {
	float: left;
	padding: 0 2% 25px 0;
	width: 49%;
}
.sectionimageright {
	float: right;
	padding: 0 0 25px 2%;
	width: 49%;
}


.sectionimagesonly div.left {
	float: left;
	width: 49%;
	/*text-align: left;*/
}
.sectionimagesonly div.right {
	float: right;
	width: 49%;
	/*text-align: right;*/
}
.sectionimagesonly div.left + div.right {
	margin-top: 0;
}


.cd-top {
	right: 20px;
	bottom: 20px;
}


