/* Yleiset sivun asetukset */
.Middle, .ContentArea, .ContentAreaInner, .ContentAreaWrapper {
    overflow: visible !important;
}
#ContentAreaFix, .Div .ContentArea:before {
    height: auto;
}
/* Toinen "kirjaudu sisään" piiloon */
form#UserLoginForm h2 {
    display: none;
}

/* ----------- Fontit ----------- */
.BasketBox span {
    font-family: inherit !important;
    font-size: inherit !important;
}
.fa-shopping-cart:before {
    font-family: FontAwesome !important;
    margin: 0 0.5em;
}
.fa, .fas {
    font-family: FontAwesome !important;
    font-style: normal !important;
}

/* cookie-ilmoitus */
.message-bar.message-cookies {
    background: #999;
}
.message-bar-inner {
    text-align: center;
}
.message-bar-inner a {
    color: #eee;
}
.message-cookies .fa-close-message {
    border-radius: 5px;
    width: 50px;
    background: #000;
    font-size: 1px;
    padding-top: 5px;
    right: 30px;
    top: 10px;
}
span.fa.fa-close-message:before {
    content: "OK";
    color: white !important;
    font-size: 13px;
    font-family: sans-serif;
}

/* Sivuston leveys */
.NavBarRoof .PropertyContainer, .NavBarTop .PropertyContainer, .Header .PropertyContainer, .NavBarTop, .Middle, .Footer .PropertyContainer {
    width: auto;
}
.Div .ContentArea {
    margin: 0;
}
.GeneralLayout {
   width: 100%;
   max-width: 100%;
   height: 100%;
   margin: 0px auto 0 auto;
   overflow: hidden;
}
div.NavBarRoof .PropertyContainer, div.Header, div.NavBarTop, div.Middle, div.NavBarBottom .PropertyContainer, div.Footer .PropertyContainer {
   max-width: 1200px !important;
   margin: auto;
   width: 100%;
}
div.NavBarRoof {
   width: 100%;
}
.Middle img {
  max-width: 100% !important;
  height: auto !important;
}

/* Roof */

.NavBarRoof.HorizontalNavBar .custom-right .RoofToggle {
	display: none;
}
html body .GeneralLayout .HorizontalNavBar .BasketBox span:first-child {
    display: inline-block;
}
.NavBarRoof p {
    line-height: 27px;
}

/* Header */
.Header {
    border-bottom: 1px solid #999;
}
.ShopLogo {
    max-width: 90%;
}
.ShopLogo img {
    max-width: 100%;
}
.SearchForm.horizontal-search .SearchIcon {
    background-repeat: no-repeat !important;
}
.InputField.SearchForm {
    padding: 0;
}
.BasketBox span.hasProducts {
    display: none !important;
}
.basket-txt {
   	display: block;
}
.basket-nbr, .basket-txt {
   	margin: 0px 2px 1px 2px !important;
}
.basket-txt, .basket-nbr, .fa-shopping-cart:before {
    float: left;
}

/* Navi */
.NavBarTop .SizeContainer {
    width: 100%;
}


/* Etusivu */
.start-page h2 {
    text-align: center;
    margin: 20px 0;
}
.start-page hr.Separator {
    display: none !important;
}

/* Slider responsiiviseksi */
.contentslider {
    margin: 0px auto !important;
    max-width: 1300px !important;
    width: 100% !important;
}
.contentslider > ul {
    width: 100% !important;
    height: auto !important;
    padding-bottom: 33%;
}
.contentslider > ul > li {
    width: 100% !important;
}
.contentslider > ul > li img {
    width: 100% !important;
    height: auto !important
}


/* Tuoteryhmänostot */
.start-page .CategoryList .CategoryList {
    position: relative;
    top: -40px;
    z-index: 100;
    width: 100%;
    margin: auto;
    -webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 10px -6px #777;
}
.start-page .ListItemCategory {
    float: left;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 10px solid #fff;
    box-shadow: 0 5px 10px 2px #999;
    height: 0;
    overflow: hidden;
    padding-top: 20%;
    background: white;
    position: relative;
}
.start-page .ListItemCategory .ImageArea {
  margin: 0;position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.start-page .ListItemCategory .ImageArea img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.start-page .ListItemCategory .InfoArea {
    height: 0;
}
.start-page .ListItemCategory .InfoArea h3 {
    position: relative;
    top: -75px;
    text-align: center;
    display: inline-block;
    width: 100%;
    background-color: #000000b0 !important;
    padding: 30px 0;
}
.start-page .ListItemCategory .InfoArea h3:hover {
    top: -95px;
    padding: 40px 0;
    transition: all 0.2s;
    background: #000 !important;
}
.start-page .ListItemCategory .InfoArea h3 a {
    color: #fff;
}
.start-page .ListItemCategory .InfoArea p {
    display: none;
}

.start-page td.TextLeft, .start-page td.TextRight {
    width: 100% !important;
    display: block;
    float: left;
}
div.CategoryList td.TextLeft:nth-of-type(2n) {
    border-top: 5px #ccc double;
    margin-top: 25px;
    padding: 10px 0;
}

/* Tuotelista */

.FacetsToggle {
   	display: none;
}

.ContentArea .BreadcrumbItem, .ContentArea .BreadcrumbItem:hover, .ContentArea .BreadcrumbLastItem {
    font-weight: 100;
    top: 10px;
    font-size: 0.8em;
    color: #999;
}
span.fa.fa-angle-right.LeftSmallPadding.RightSmallPadding {
    display: none;
}
a.BreadcrumbItem:after {
    content: "/";
    margin: 0 5px;
}

.CategoryProducts table.ProductListImageBox.two-colums-product-list div.ImageArea {
    line-height: initial;
}

.CategoryProducts table.ProductListImageBox.three-colums-product-list .InfoArea .Description,
.CategoryProducts table.ProductListImageBox.four-colums-product-list .InfoArea .Description  {
	display: none;
}

form.AddToBasketForm button.AddToBasketButton::before {
    content: "\f07a";
    font-family: FontAwesome !important;
    margin-right: 10px;
}

/* 1 sarake */
.ListItemProductInfoContainer table.HorizontalDisplay.FullSize span.BasketIcon {
    display: none;
}


		/* 12_product-list */

		/* Product list is made responsive using flexbox */

		.ProductListImageBox tbody {
		  display: -webkit-box;
		  display: -ms-flexbox;
		  display: flex;
		  -ms-flex-wrap: wrap;
			  flex-wrap: wrap;
		  -webkit-box-orient: horizontal;
		  -webkit-box-direction: normal;
			  -ms-flex-direction: row;
				  flex-direction: row;
		  -webkit-box-pack: center;
			  -ms-flex-pack: center;
				  justify-content: center;
		  -webkit-box-align: stretch;
			  -ms-flex-align: stretch;
				  align-items: stretch;
		  overflow: hidden!important;
		}

		.ProductListImageBox tbody td {
		  display: -webkit-box;
		  display: -ms-flexbox;
		  display: flex;
		  -webkit-box-flex: 0;
			  -ms-flex: 0 auto;
				  flex: 0 auto;
		  width: auto!important;
		  margin: 10px 0!important;
		  -webkit-box-orient: vertical;
		  -webkit-box-direction: normal;
			  -ms-flex-direction: column;
				  flex-direction: column;
		}

		.ProductListImageBox .custom-product-card {
		  position: relative!important;
		  margin: 1px;
		}

		/* Four columns*/
		.ProductListImageBox.four-colums-product-list tbody td {
		  -ms-flex-preferred-size: 290px;
			  flex-basis: 290px;
		}

		.ProductListImageBox.four-colums-product-list .ImageArea {
		  line-height: 0!important;
		}

		/* Three columns */
		.ProductListImageBox.three-colums-product-list tbody td {
		  -ms-flex-preferred-size: 370px;
			  flex-basis: 370px;
		}

		.ProductListImageBox.three-colums-product-list .ImageArea {
		  line-height: 0!important;
		}

		.ProductListImageBox.three-colums-product-list .Description {
		  max-width: 300px!important;
		  max-height: 200px!important;
		  overflow: hidden!important;
		  text-overflow: ellipsis!important;
		}

		/* Two columns */
		.ProductListImageBox.two-colums-product-list tbody td {
		  -ms-flex-preferred-size: 570px;
			  flex-basis: 570px;
		}

		.ProductListImageBox.two-colums-product-list .custom-product-card {
		  margin: 8px!important;
		}

		.ProductListImageBox.two-colums-product-list .ImageArea {
		  line-height: 0!important;
		}

		.ProductListImageBox.two-colums-product-list .Description {
		  max-width: 400px!important;
		  max-height: 200px!important;
		  overflow: hidden!important;
		  text-overflow: ellipsis!important;
		}

		/* Single column */
		.CategoryProducts .HotDealList table.HorizontalDisplay.FullSize tbody {
		  display: -webkit-box;
		  display: -ms-flexbox;
		  display: flex;
		  -webkit-box-orient: vertical;
		  -webkit-box-direction: normal;
			  -ms-flex-direction: column;
				  flex-direction: column;
		}

		.HotDealList .ListItemProductContainer .ListItemProduct .ImageArea {
		  max-width: 100px!important;
		}

		/* InfoArea */
		.ProductListImageBox .InfoArea {
		  display: -webkit-box;
		  display: -ms-flexbox;
		  display: flex;
/*		  -webkit-box-flex: 1;
			  -ms-flex: 1;
				  flex: 1;
*/
		  -webkit-box-flex: auto;
			  -ms-flex: auto;
				  flex: auto;
		  -ms-flex-wrap: nowrap;
			  flex-wrap: nowrap;
		  -webkit-box-align: center;
			  -ms-flex-align: center;
				  align-items: center;
		  -webkit-box-orient: vertical;
		  -webkit-box-direction: normal;
			  -ms-flex-direction: column;
				  flex-direction: column;
		  -webkit-box-pack: justify;
			  -ms-flex-pack: justify;
				  justify-content: space-between;
		  text-align: center!important;
		}

		.ProductListImageBox .InfoArea br {
		  display: none!important;
		}

		.ProductListImageBox .InfoArea .BasketIcon {
		  display: none;
		}

		.ProductListImageBox .InfoArea .ClearBoth {
		  text-align: center;
		}

		.ProductListImageBox .InfoArea .ProductNo {
		  font-size: .7em!important;
		  opacity: 0.7!important;
		}

		.ProductListImageBox .InfoArea .LinkArea,
		.ProductListImageBox .InfoArea .Weight {
		  opacity: 0.7!important;
		}

		.ProductListImageBox .InfoArea .FontSmaller {
		  font-size: 0.7em!important;
		  opacity: 0.7!important;
		}

		.ProductListImageBox .InfoArea .LineThrough {
		  font-size: 13px!important;
		}

		.ProductListImageBox .InfoArea .Price {
		  -webkit-box-flex: 1;
			  -ms-flex: 1;
				  flex: 1;
		}

		.ProductListImageBox .InfoArea .TopPaddingWide {
		  margin: 0 0 4px 0!important;
		}

		.ProductListImageBox .InfoArea .TopPaddingWide a {
		  font-weight: bold!important;
		  display: inline-block!important;
		  text-align: center!important;
		  max-width: 240px!important;
		}

		.ProductListImageBox .InfoArea .LinkArea .FloatLeft {
		  float: none!important;
		  text-align: center!important;
		}

		.InfoArea .Price {
		  text-align: center!important;
		}

		.ProductListImageBox .InfoArea .TextWeak {
		  display: inline-block!important;
		}

		/* ImageArea */
		.ProductListImageBox .ImageArea {
		  -webkit-box-flex: 1;
			  -ms-flex: 1;
				  flex: 1;
		  -webkit-box-align: center;
			  -ms-flex-align: center;
				  align-items: center;
		  -webkit-box-pack: start;
			  -ms-flex-pack: start;
				  justify-content: flex-start;
		}

		.ProductListImageBox .NewProduct,
		.ListItemProduct .NewProduct,
		.SlimHotDealTop .NewProduct,
		.HotDealTopFloatin .NewProduct {
		  position: absolute!important;
		  top: 0;
		  left: 0;
		  float: none!important;
		}

		.Tarjous {
		  position: absolute;
		  top: 0;
		  right: 0;
		}

		/* Stock warnings */
		.ProductOnStockIcon {
		  background: #009347!important;
		  height: 10px!important;
		  width: 10px!important;
		  border-radius: 50%;
		}

		.ProductOutStockIcon {
		  background: #db3058!important;
		  height: 10px!important;
		  width: 10px!important;
		  border-radius: 50%;
		}

		.ProductWarnStockIcon {
		  background: #f90!important;
		  height: 10px!important;
		  width: 10px!important;
		  border-radius: 50%;
		}

		@media screen and (max-width: 640px) {
		  .custom-product-card img {
			max-width: 100%!important;
		  }
		}

		/* end */


		/* Sport product list */		
          @media screen and (min-width: 600px)
          {
                    .ProductListImageBox.four-colums-product-list tbody td {
                      flex-basis: 24.7%;
                    }

                    .ProductListImageBox.three-colums-product-list tbody td {
                      flex-basis: 33%;
                    }

                    .ProductListImageBox.two-colums-product-list tbody td {
                      flex-basis: 45%;
                    }
          }
          
			td.custom-product-card .InfoArea form.AddToBasketForm {
			    margin-top: 10px !important;
			    float: left;
			}



.ep-uiInput-button.ep-uiSpinner-stepper {
	border-radius: 30px;
}
.ep-uiSpinner-stepper {
	height: 47px;
}

/* Tuotesivu */
span.HotPrice {
    line-height: 200%;
    padding: 5px 10px;
    background: #eee;
    border: 1px dashed #666;
    border-radius: 0 0 10px 0;
    font-weight: bold;
}
/* Saatavuusilmoitus */
.ProductDetails a.epGetEmailNotifikation {
    border: 1px solid;
    padding: 4px 10px;
    display: inline-block;
    margin-top: 20px;
}
.CrossellingCount tr td img, .BundledProductsTable tr td img {
    max-width: 300px !important;
    max-height: 300px;
}
.CrossellingCount .CrossellingInfoArea, .BundledProductsTable BundledProductsInfoArea {
    padding: 25px 0 4px 0;
}
.CrossellingInfoArea, .CrossellingInfoArea .FloatLeft, .CrossellingInfoArea .FloatRight {
    text-align: center !important;
    width: 100%;
}
.CrossellingInfoArea button.ButtonBasket {
    padding: 5px 10px;
}

/* Footer */
/* Fix Vanilla "features" */
.Footer .NavigationText ul li a + a {
    margin-left: auto;
}
.Footer .ContextBoxBody strong {
    color: inherit;
}

.NavBarBottom, .Footer {
    white-space: normal;
}
.Footer .NavigationText ul h3 {
    margin-bottom: 0;
}
.Footer .ContextBoxHead {
	padding: 0 0 10px 0;
	line-height: normal !important;
}
.Footer .ContextBoxHead span {
    height: inherit !important;
    text-align: inherit !important;
}
.Footer .BoxContainer .ContextBoxBody, .Footer .NavigationText ul li, .Footer .ContextBox .BoxContainer h3 {
	margin-bottom: 10px !important;
}
.Footer .SizeContainer div {
	vertical-align: top;
}
.Footer .ContextBox {
    min-width: 200px;
}
.Footer .NavigationText img.icon {
    margin: 3px 3px 0 0;
    border: 2px solid #fff;
    border-radius: 100%;
}



/* Desktop */
@media screen and (max-width: 1200px)
{
	/* Reunus, jos ruutu on täysi */
	.NavBarRoof .PropertyContainer, .Header .PropertyContainer, .ContentArea {
	    width: 98% !important;
    	padding: 0 1%;
	}
}
@media screen and (min-width: 900px)
{
	/* Etusivu */
	.start-page .ListItemCategory {
    	width: 32.666%;
    }
	.start-page .ListItemCategory:nth-child(3n+0) {
    	margin: 0 1%;
	}
	/* Tuotelista */
	td.custom-product-card:hover {
    	box-shadow: 1px 1px 4px #999;
	}
	/* Tuotesivu */
	.ProductDetails .InfoArea {
		width: 45%;
	}
	.ProductDetails .ProductImage {
		margin: 0;
		max-width: 50%;
	}
}

/* iPad */
@media screen and (max-width: 900px)
{

/* Head */
	div.NavBarRoof .PropertyContainer {
	    height: auto;
	}
	/* Navi */
	.NavBarTop.HorizontalNavBar div.SizeContainer {
		height: auto;
	 }
	.NavBarTop .PropertyContainer {
		height: auto !important;
		width: 100%;
	}
	/* Etusivu */
	.start-page .ListItemCategory {
    	width: 32.666%;
    }
	.start-page .ListItemCategory:nth-child(3n+0) {
    	margin: 0 1%;
	}

/* Tuotelista */
	/* table.ProductListImageBox tr, table.ProductListImageBox tr {
    	display: block;
	}
	table.ProductListImageBox tr td {
    	width: 33%;
	    float: left;
    	padding: 0;
	}
	table.ProductListImageBox tr td .ImageArea img {
    	width: 100%;
	}
	.ProductListImageBox div.InfoArea {
	    min-height: 380px;
    	margin-bottom: 30px;
	} */


/* Footer */
	.Footer .SizeContainer.custom-container.custom-left {
    	width: 100%;
	}
	.Footer .NavigationText {
    	width: 100%;
	}
}


/* Mobiili */
@media screen and (max-width: 600px)
{
/* Roof */
	.NavBarRoof.HorizontalNavBar .custom-right.Collapsed {
    	height: 0;
    	overflow: hidden;
	}
	.NavBarRoof.HorizontalNavBar .custom-right  {
    	height: auto;
    	padding-right: 10px;
	}
	.NavBarRoof.HorizontalNavBar .custom-right .RoofToggle {
    	display: block;
    	position: absolute;
    	right: 0;
    	top: 5px;
	}
	.RoofToggle a {
    	padding: 3px;
	    margin: 5px;
	    font-size: 150%;
	}

	html body .GeneralLayout .HorizontalNavBar .BasketBox span:first-child {
    	display: none;
	}
	.NavBarRoof p {
    	line-height: 100%;
	    font-size: 80%;
    	padding: 5px;
	}


/* Head */
	.Header .SizeContainer {
    	padding-top: 10px;
	}
	.Header .PropertyContainer {
    	padding-bottom: 10px !important;
	}
	.Header .ShopLogo img {
    	max-height: 70px;
	}
	.basket-txt, .basket-nbr, .fa-shopping-cart:before {
    	float: left;
	}
	/* Piilotetaan näytä ostoskori -teksti */
	.basket-txt {
    	display: none;
	}
	.basket-nbr, .basket-txt {
    	margin: 2px !important;
    	font-size: inherit !important;
	}
	.Header .BasketBox.NavElementIcon span.fa.fa-shopping-cart {
    	font-family: inherit !important;
    	font-size: 0;
	}
/* Etusivu */
	.start-page .CategoryList .CategoryList {
	    top: 0;
	}
	.start-page .ListItemCategory {
		width: 100%;
		padding-top: 45%;
    	margin: 10px 0;
	}
	.start-page .ListItemCategory:nth-child(3n+0) {
    	margin: 0%;
	}
	.start-page h2 {
    	margin: 20px 0;
	}

/* Footer */
	.Footer .SizeContainer.custom-container.custom-left {
    	width: 100%;
	}
	.Footer .NavigationText {
    	width: 100%;
	}
/* Tuotelista */
	/* Hakusuodatin */
	div#RemoteSearchFacets.Collapsed {
    	height: 40px;
    	overflow: hidden;
	}
	div#RemoteSearchFacets {
    	height: auto;
	}
	.FacetsToggle {
    	display: block;
	}
	.FacetsToggle a {
	    border: 1px solid;
    	padding: 3px;
	    margin: 5px;
    	display: block;
    	text-align: center;
	}
  /* 1 sarake */
  .ListItemProductContainer .ListItemProduct .InfoArea .FloatRight {
    float: unset;
  }
/*
	table.ProductListImageBox tr, table.ProductListImageBox tr {
    	display: block;
	}
	table.ProductListImageBox tr td {
	    width: 48%;
    	float: left;
    	padding: 0;
	}
	table.ProductListImageBox tr td .ImageArea img {
    	width: 100%;
	}
  .ProductListImageBox div.InfoArea {
    min-height: 165px;
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 30px;
  }
  .ProductListImageBox div.ImageArea {
    line-height: initial !important;
  }
	.CategoryProducts button.ep-js.ButtonBasket.AddToBasketButton.ep-uiInput.ep-uiInput-button {
    	padding: 5px;
	} */
	/* Piilotetaan teksti napista mobiilissa */
	.CategoryProducts table.ProductListImageBox.four-colums-product-list form.AddToBasketForm  button.AddToBasketButton.ep-js.ButtonBasket.ep-uiInput.ep-uiInput-button {
	    font-size: 0;
    	padding: 15px 20px 10px;
	}
  .CategoryProducts table.ProductListImageBox.four-colums-product-list form.AddToBasketForm  button.AddToBasketButton::before {
	    margin-right: 0;
    	font-size: initial !important;
	}


	/* Ennakoiva haku */
	.de_epages-remotesearchUiSuggest-box {
		left: 0 !important;
	}

	/* Tuotelista */
	/* Piilotetaan mobiilissa juttuja */
	.CategoryProducts span.ProductNo,
	.CategoryProducts .InfoArea br,
	.CategoryProducts .ClearBoth .ClearBoth .ClearBoth {
		display: none !important;
	}
	/* Tuotearviot */
	#NewRatingTable .SizeContainer {
		min-width: 300px;
	}
	#NewRatingTable .InputLabelling.RightPadding .FloatRight {
		float: left;
	}
	div#NewRatingTable .InputField {
		width: 100%;
	}
	#NewRatingTable textarea.ExtremeLongText, input.ExtremeLongText {
		width: 300px;
	}

	/* Tuotesivu */
	/* Lightbox*/
	.ep-uiLightbox.ui-dialog.ui-front.ep-uiLightbox-showThumbs {
		width: 85% !important;
		left: 5% !important;
	}
	.ep-uiLightbox .ep-uiLightbox-thumbs {
		width: 100%;
	}
	.ep-uiLightbox .ep-uiThumbbox.ep-uiThumbbox-list li {
		width: 50px !important;
		height: 50px !important;
		line-height: 50px !important;
	}
	.ep-uiLightbox-showThumbs .ep-uiLightbox-slides {
		right: 0;
		width: 100%;
	}



	/* Ristiinmyynti */
	.CrossellingCount tr td, .CrossellingCount tr td div {
		display: block;
		width: 95%;
		text-align: center !important;
	}

	/* Ostoskori */
	img.ThumbnailsInBasket {
		display: none;
	}
	table.Basket td, table.Basket td a, table.Basket td input {
		font-size: 85% !important;
	}
	td.NoWrap {
		white-space: normal !important;
		text-align: center !important;
	}


  /* Perinteinen tilausprosessi */
  table.Basket td {
	    word-break: break-all;
    	hyphens: auto;
	}
	table.productBasketImage tr td {
    	padding: 0;
	}
	.Basket .Money {
    	white-space: normal;
	}
	.BasketSharing .InputBlock .BS-inputLabel, .BasketSharing .InputBlock .InputField {
		width: 100%;
		float: left;
		display: block;
		padding: 0;
	}
	.BasketSharing .InputBlock {
		display: block !important;
	}
	.BasketSharing textarea.BasketSharing-textarea {
		width: 300px !important;
		font-size: 75% !important;
	}
	.BasketSharing {
		width: 100%;
		float: left;
	}
	.BasketSharing .Dialog {
		padding: 0;
	}
	.Basket input#CouponCode {
		width: 95px;
	}
	.Basket .ShippingOptionContainer .HalfWidth {
		width: 100% !important;
		padding-bottom: 20px;
	}
  textarea.BasketComment {
      width: 70%;
  }
  table#BasketTable select.basketPaymentSelect, table#BasketTable select.basketShippingSelect {
      width: 100% !important;
  }
  ul.OrderProcess i.Icon {
      zoom: 60%;
  }
  span.ShowElement.ExplainItem {
      display: none !important;
  }
  ul.OrderProcess li {
      width: 75px;
      height: 65px;
  }


}

@media only screen and (max-width: 1022px)
{
	.NavBarRoof, .Header, .NavBarTop, .Footer {
    	width: auto;
    	padding: 0;
    }

	 /* Estetään navigaatioelementtien liikuttelu editorilla mobiilissa */
	 .NavBarRoof .SizeContainer div, .NavBarTop .SizeContainer div, .Header .SizeContainer div, .Footer .SizeContainer div {
	    left: auto;
    	top: auto;
	}

}

@media only screen and (min-width: 1023px)
{
	/* Navi */
	.NavBarTop {
		white-space: normal;
		overflow: visible;
	}
	.NavBarTop .PropertyContainer, .NavBarTop .SizeContainer {
		overflow: visible;
		height: auto;
	}
}

/* Basket overlay*/
div#BasketOverLay span.fa.fa-shopping-cart { display: none; }
div#BasketOverLay span img.FloatRight {
    display: none;
}
div#BasketOverLay a {
    color: #000;
    text-decoration: none;
}
div#BasketOverLay a span {
    font-size: initial;
}
div#BasketOverLay {
    text-align: center;
    display: block;
    padding: 5px 10px 10px;
    margin-top: 0px !important;
    background: #e0f5c8;
    left: 0px !important;
    min-width: 100% !important;
    position: fixed !important;
    top: -20px !important;
    z-index: 9999999999999 !important;
    -webkit-animation:moveOpen 5s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
}
/* Safari and Chrome */
@-webkit-keyframes moveOpen
	{
    from {-webkit-transform: translate(0,-100px);}
    10% {-webkit-transform: translate(0,20px);}
    12% {-webkit-transform: translate(0,22px);}
    16% {-webkit-transform: translate(0,20px);}
    80% {-webkit-transform: translate(0,20px);}
    85% {-webkit-transform: translate(0,25px);}
    to {-webkit-transform: translate(0,-100px);}
}














/* Internet explorer 11+ fixes */

          @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
             /* IE11+ specific styles go here */
             img {
               max-width: unset!important;
             }

             .ProductListImageBox tbody {
               display: block!important;
               text-align: center!important;
             }

             .ProductListImageBox tbody td {
               display: inline-block!important;
               min-height: 460px!important;
             }

             .ProductListImageBox .InfoArea {
               display: block!important;
             }

             .ProductListImageBox .NewProduct, .ListItemProduct .NewProduct, .SlimHotDealTop .NewProduct, .HotDealTopFloatin .NewProduct, .Tarjous {
               margin: 0!important;
             }

             .ProductListImageBox.four-colums-product-list tbody td {
               min-width: 290px!important;
             }

             .ProductListImageBox.four-colums-product-list .InfoArea {
               max-width: 290px!important;
             }

             .ProductListImageBox.three-colums-product-list tbody td  {
               min-width: 370px!important;
             }

             .ProductListImageBox.three-colums-product-list .InfoArea {
               max-width: 370px!important;
             }

             .ProductListImageBox.two-colums-product-list tbody td {
               min-width: 570px!important;
             }

             .ProductListImageBox.two-colums-product-list .InfoArea {
               max-width: 570px!important;
             }

             div.NavBarBottom .PropertyContainer {
               margin: 0px!important;
             }

             .CrossellingCount tbody {
               display: block!important;
             }

             .CrossellingCount tbody td {
               display: inline-block!important;
               width: 20%!important;
               min-width: 200px!important;
             }

             .ProductDetails .InfoArea {
               min-width: 300px!important;
             }

          }

          @media screen and (-ms-high-contrast: active) and (max-width: 700px), screen and (-ms-high-contrast: none) and (max-width: 700px) {
            .ProductListImageBox.three-colums-product-list tbody td,
            .ProductListImageBox.two-colums-product-list tbody td,
            .ProductListImageBox.four-colums-product-list tbody td
             {
              min-width: 100px!important;
            }

            .CrossellingCount tbody {
              text-align: center!important;
            }

          }

          @media screen and (max-width: 500px) {
            .MultipleStep-Container .Header {
              flex-direction: row!important;
            }
          }

          @media screen and (-ms-high-contrast: active) and (max-width: 400px), screen and (-ms-high-contrast: none) and (max-width: 400px) {
            .ProductListImageBox tbody td {
              margin: 0 auto!important;
              text-align: center!important;
          	}

            .two-colums-product-list .ImageArea img,
            .three-colums-product-list .ImageArea img,
            .four-colums-product-list .ImageArea img {
              width: 100%!important;
            }
          }
/* Internet explorer 11+ fixes  end */
