/* Reset */
html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td { margin: 0; padding: 0; }
img { border: 0; }    
ol, ul, dl { list-style: none; }

/* HTML5 */
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, mark, time {  
	display:block;
}

/* Body and wrap */

body {
	background: #84A208 url(img/ui_v2/bg_body.jpg) repeat-x;
	color: #313F00;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
  font-weight: 300;
	font-size: 1rem;
	padding-top: 48px;
}

body.christmas {
	background: #930202 url(img/bg_body_xmas.jpg) repeat-x;
}

body.christmas header {
	background-color: #610101;
}

body.winter {
	background: #2f77c0 url(img/bg_body_talvi.jpg) repeat-x;
}

body.winter header {
	background-color: #215386;
}

body.kups {
	background-color: #ffcd00;
	background-image: none;
}

body.kups header {
	background: #000;
}

body.kups ul.main-navi {
	background-color: rgba(0, 0, 0, 1);
	border-color: #fff;
}

body.kups div.ilmoitustyyppi-linkit {
	background-color: rgba(255, 205, 0, 1);
}

body.kups ul.main-navi li a:hover, 
body.kups ul.main-navi li.selected a {
	color: rgba(255, 205, 0, 1);
}

body.kups ul.main-navi li.selected,
body.kups ul.main-navi li a {
	border-color: rgba(255, 205, 0, 1);
}

body.kups footer {
	background-color: #000;
	color: #fff;
}

body.kups footer a {
	color: #fff;
}

body.kups header h1 a {
	background: url(kupsionkirppari.png) no-repeat;
	background-size: contain;
}

body.kups a.mobile-list {
	border-color: rgb(255, 205, 0);
}

div.wrap {
	clear: both;
	margin: 0 auto;
	/*max-width: 728px;*/
	max-width: 980px;
	position: relative;
	z-index: 1;
}

/* Ads */

div.ads {
	background: #fff;
	clear: both;
	display: none;
	margin-bottom: 5px;
	min-height: 90px;
	padding: 0;
	width: 100%;
}

div.ads-980-120 {
	background: #fff;
	clear: both;
	height: 120px;
	margin-bottom: 5px;
	padding: 0;
	width: 980px;
}

div.banner-infeed {
	background: #fff;
	margin-bottom: 5px;
}

div.banner-square-wrap {
	background: #fff;
	/*display: none;*/
	/*height: 280px;*/
	margin-bottom: 5px;
}

div.banner-square {
	height: 250px;
	margin: 0 auto;
	width: 300px;
}

div.banner-square-336 {
	/*height: 280px;*/
	margin: 0 auto;
	width: 336px;
}

/* Header */

div.cookie-banner {
	background: #000;
	color: #fff;
	display: none;
	font-size:  12px;
	padding: 10px;
	text-align: center;
}

div.cookie-banner a {
	color: #fff;
}

div.cookie-banner a.close {
	margin-left: 20px;
}

header {
	background: #2d3700;
	box-sizing: border-box;
	box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.3);
	height: 48px;
	left: 0;
	padding-top: 10px;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 3;
}

header h1 a {
	background: url(img/ui_v2/bg_logo.png) no-repeat;
	background-size: contain;
	display: inline-block;
	height: 35px;
	overflow: hidden;
	position: relative;
	text-indent: -9999px;
	width: 200px;
	z-index: 1;
}

header img.hiutale {
	display: none;
	left: 200px;
	position: absolute;
	top: 0;
	width: 20px;
}

body.christmas header img.hiutale,
body.winter header img.hiutale {
	display: block;
}

header img.hiutale_1 {
	left: 210px;
	top: -10px;
}

header img.hiutale_2 {
	left: 225px;
	opacity: 0.7;
	top: 5px;
}

body.joensuu header h1 a {
  background: url(img/ui_v2/bg_logo_joensuu.png) no-repeat;
  background-size: contain;
}

body.iisalmi header h1 a {
  background: url(img/ui_v2/bg_logo_iisalmi.png) no-repeat;
  background-size: contain;
	width: 210px;
}

body.kajaani header h1 a {
  background: url(img/ui_v2/bg_logo_kajaani.png) no-repeat;
  background-size: contain;
	width: 210px;
}

body.lahti header h1 a {
  background: url(img/ui_v2/bg_logo_lahti.png) no-repeat;
  background-size: contain;
}

header .btn {
	border-radius: 3px;
	position: absolute;
	right: 0;
	top: 3px;
}

header .btn-jata {
	right: 90px;
}

header form {
	position: absolute;
	right: 205px;
	top: 3px;
}

div.mobile-popup form {
	margin: 0 auto;
	position: relative;
	width: 170px;
}

header input[type=text],
div.mobile-popup input[type=text] {
	border: none;
	box-sizing: border-box;
	border-radius: 3px;
	padding: 0 5px;
	height: 21px;
	width: 170px;
}

header button,
div.mobile-popup button {
	background: none;
	border: none;
	color: #2d3700;
	cursor: pointer;
	position: absolute;
	right: 3px;
	text-align: left;
	top: 1px;
	width: 22px;
}

div.mobile-popup button {
	width: 35px;
}

/* Navis */

div.wrap.nav-wrap {
	z-index: 2;
}

nav {
	background: #628200;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	position: relative;
	z-index: 2;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

ul.main-navi {
	border-top: 5px #95bf00 solid;
	border-left: 5px #95bf00 solid;
	border-right: 5px #95bf00 solid;
	box-sizing: border-box;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	margin-top: 20px;
	padding: 0 10px 0 10px;
	position: relative;
	text-align: center;
}

ul.main-navi li {
 display: inline-block;
 padding: 10px 0;
 /*position: relative;*/
}

ul.main-navi li a {
	border-right: 1px solid #95bf00;
	color: #fff;
	display: inline-block;
	padding: 0 10px;
	text-decoration: none;
}

ul.main-navi li a.mobi-plus {
	border-right: none;
	left: 0;
	position: absolute;
	top: 0;
}

ul.main-navi li:last-child a { border-right: 0; }

ul.main-navi li a:hover, ul.main-navi li.selected a {
	color: #fcff00;
}

ul.main-navi li.selected {
	border-bottom: 2px #fcff00 solid;
}

ul.main-navi > li > ul {
	background-color: #95bf00;
	box-sizing: border-box;
	/*columns: 5;*/
	display: none;
	font-size: 1rem;
	/*left: -172.5px;*/
	left: -5px;
	padding: 20px 50px;
	position: absolute;
	text-align: left;
	top: 37px;
	width: 980px;
}

ul.main-navi > li > ul > li {
	margin-bottom: 10px;
	position: relative;
}

ul.main-navi > li > ul > li > a:first-child {
	padding-left: 20px;
}

ul.main-navi a.plus {
	background-color: #fff;
	color: #95bf00 !important;
	display: block;
	line-height: 0.8;
	padding: 0 2px 2px 2px;
	position: absolute;
	left: 0;
	text-align: center;
	text-decoration: none !important;
	top: 2px;
	width: 9px;
}

ul.main-navi > li > ul > li > ul {
	display: none;
	font-size: 1rem;
	font-weight: normal;
	/*margin-bottom: 10px;*/
	padding: 5px 0 10px 20px;
}

ul.main-navi > li > ul > li > ul.open {
	display: block;
}

ul.main-navi > li > ul > li,
ul.main-navi > li > ul > li > ul > li { 
	display: block;
	padding: 0;
}

ul.main-navi > li > ul > li > a,
ul.main-navi > li > ul > li > ul > li > a { 
	display: block;
	padding: 0;
}

ul.main-navi > li.selected > ul > li > a,
ul.main-navi > li.selected > ul > li > ul > li > a { 
	color: #fff;
}

ul.main-navi > li > ul > li a:hover { 
	text-decoration: underline;
}

ul.main-navi > li > ul > li {
	font-weight: bold;
	text-transform: uppercase;
}

ul.main-navi > li > ul > li > ul > li {
	font-weight: 400;
	margin-bottom: 5px;
	text-transform: none;
}

/* Mobile pop-up */

div.mobile-popup {
	background: #2d3700;
	box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.3);
	box-sizing: border-box;
	display: none;
	left: 0;
	padding: 1rem;
	position: absolute;
	text-align: center;
	top: 48px;
	width: 100%;
	z-index: 3;
}

body.christmas div.mobile-popup {
	background: #610101;
}

body.winter div.mobile-popup {
	background: #215386;
}

div.mobile-popup a.btn {
	border-radius: 3px;
	margin: 0 auto 1rem auto;
	box-sizing: border-box;
	display: block;
	font-size: 1.5rem;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

div.mobile-popup form {
	margin-right: 0 !important;
	margin-left: 0 !important;
	position: relative;
	width: 100%;
}

div.mobile-popup input[type=text] {
	height: auto;
	font-size: 1.5rem;
	padding: 0.3rem;
	width: 100%;
}

div.mobile-popup i.fa-search {
	font-size: 1.5rem;
}

div.mobile-popup button {
	right: 12px;
	top: 4px;
}

/* Links */

a {
	color: #ED3000;
	transition-duration: 0.5s;
}

button {
	cursor: pointer;
}

/* Categories */

article.categories {
	background: #dfebbf; /* Old browsers */
	background: -moz-linear-gradient(top,  #dfebbf 0%, #ffffff 77%); 
	background: -webkit-linear-gradient(top,  #dfebbf 0%,#ffffff 77%); background: linear-gradient(to bottom,  #dfebbf 0%,#ffffff 77%);
	/*border-top: 5px solid #fff;*/
	border-left: 5px solid #fff;
	border-right: 5px solid #fff;
	display: none;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dfebbf', endColorstr='#ffffff',GradientType=0 ); 
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
  font-weight: 300;
	font-size: 0.8rem;
	padding: 15px 4% 9px 4%;
}

article.categories button {
	background: none;
	border: none;
	color: #ED3000;
	cursor: pointer;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
	font-size: 0.8rem;
	outline: none;
	padding: 0;
	text-decoration: underline;
}

article.categories a,
article.sub-categories a {
	border: 1px solid #ccc;
	border-radius: 3px;
	display: inline-block;
	margin-right: 5px;
	margin-bottom: 6px;
	padding: 2px 5px;
	text-decoration: none;
}

article.categories a:hover,
article.sub-categories a:hover {
	border-color: #ED3000;
}

div.more-categories {
	display: none;
}

div.more-categories div {
	padding: 7px 0 0 0;
}

/*div.more-categories a {
	display: inline-block;
	padding: 7px 0;
}*/

article.sub-categories {
	/*display: none;*/
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
  font-weight: 300;
	font-size: 0.8rem;
}

article.sub-categories h1 {
	margin-bottom: 0 !important;
}

article.sub-categories a {
	display: none;
}

/* Messages */

div.message {
	background: #FFF6BF;
  border: 2px #FFD324 solid;
  color: #554B25;
  margin-bottom: 20px;
  padding: 10px 20px 10px 20px;
}

div.message p:last-child {
	margin-bottom: 0;
}

/* Buttons */

a.btn {
	background: #85ae00;
	border: 1px #94bf00 solid;
	border-radius: 3px;
	color: #fff;
	display: inline-block;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
	font-size: 0.8rem;
	padding: 2px 8px;
	text-align: center;
	text-decoration: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a.btn:hover {
	background: #94bf00;
	border-color: #85ae00;
}

a.btn.big {
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
	font-size: 1.5rem;
	font-weight: bold;
	padding: 0.5rem 1rem;
}

/* Content */

section.content {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e0eabf+0,ffffff+10 */
	/*background: rgb(224,234,191);*/ /* Old browsers */
  /*background: -webkit-linear-gradient(rgba(224,234,191,1) 0%, rgba(255,255,255,1) 200px);*/
  /*background: -o-linear-gradient(rgba(224,234,191,1) 0%, rgba(255,255,255,1) 200px);*/
  /*background: linear-gradient(rgba(224,234,191,1) 0%, rgba(255,255,255,1) 200px);*/ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */ /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0eabf', endColorstr='#ffffff',GradientType=0 );*/ /* IE6-9 */
	/*border: 5px #fff solid;*/
	box-sizing: border-box;
	min-height: 100px;
	padding: 0;
}

section.content h1 {
	font-size: 1.5rem;
	margin-bottom: 10px;
}

section.content h1 span {
	font-size: 1rem;
}

section.content h1 span.kpl {
	color: #ccc;
	font-weight: normal;
}

section.content h1 a.choose-category {
	color: #ED3000;
	font-size: 1rem;
	font-weight: normal;
	text-decoration: underline;
}

section.content h1 a {
	color: #313F00;
	text-decoration: none;
}

section.content h1 a:hover {
	text-decoration: underline;
}

section.content p {
	line-height: 1.4rem;
}

p.reserved {
	background: #999;
	border-radius: 5px;
	color: #fff;
	display: inline-block;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: bold;
	padding: 2px 20px;
	text-transform: uppercase;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

section.content ul {
	list-style: disc;
	line-height: 1.4rem;
	margin-bottom: 1.2rem;
	padding-left: 1rem;
}

section.content ul li {
	padding-bottom: 0.5rem;
}

section.content ul li:last-child {
	padding-bottom: 0;
}

div.col-1 {
	background: #fff;
	font-family: Georgia,"Times New Roman",Times,serif;
	padding: 4%;
}

div.col-2 {
	box-sizing: border-box;
	float: left;
	width: 50%;
}

div.col-2:first-child {
	padding-right: 2%;
}

div.col-2:last-child {
	padding-left: 2%;
}

.center {
	text-align: center;
}

section.content article .no-margin {
	margin-bottom: 0;
}

div.col-1.search-result {
	margin-bottom: 5px;
}

div.col-1.search-result p {
	margin-bottom: 0;
}

/* Article */

article {
	/*border-bottom: #d3d3d3 solid 1px;*/
	background: #fff;
	clear: both;
	font-family: Georgia,"Times New Roman",Times,serif;
	margin-bottom: 5px;
	padding: 4%;
	position: relative;
	word-wrap: break-word;
}

article.single {
	margin-bottom: 0;
}

div.price {
	background: #ED3000;
	background: -webkit-linear-gradient(#ed3000 28%, #cc0600 70%);
	background: -o-linear-gradient(#ed3000 28%, #cc0600 70%);
	background: linear-gradient(#ed3000 28%, #cc0600 70%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ed3000', endColorstr='#cc0600',GradientType=0 ); 
	border-radius: 5px;
	box-sizing: border-box;
	color: #fff;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
	font-weight: bold;
	padding: 2px 10px;
	position: absolute;
	right: 4%;
	text-align: center;
	top: 30px;
	min-width: 100px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

section.content article h1,
section.content div.col-1 h1 {
	margin-bottom: 20px;
}

section.content div.col-1 h2 {
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
}

article p,
section.content p {
	margin-bottom: 1.2rem;
}

article p.date {
	color: #888;
	font-size: 0.8rem;
	margin-bottom: 3px;
}

p.date a {
	color: #888;
}

div.img-wrap {
	float: right;
	margin: 0 0 0 20px;
	position: relative;
	width: 250px;
	z-index: 2;
}

div.img {
	border: 5px solid #fff;
	box-sizing: border-box;
	box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.1);
	height: 190px;
	width: 250px;
}

div.img-wrap a {
	text-decoration: none;
}

span.count_img {
	background: rgba(255, 255, 255, 0.5);
	bottom: 10px;
	border-radius: 10px;
	color: #fff;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
	font-size: 0.8rem;
	height: 20px;
	line-height: 20px;
	padding: 0 8px;
	position: absolute;
	text-align: center;
	right: 10px;
}

p.contact {
	position: relative;
	z-index: 1;
}

p.contact i,
p.more-img i {
	color: #ED3000;
	margin-right: 5px;
}

p.more-img {
	margin-top: 20px;
}

p.more-img a {
	text-decoration: underline;
}

p.contact span {
	display: inline-block;
}

p.contact div {
	margin-bottom: 5px;
}

div.seller i,
div.phone i,
div.email i {
	/*margin-top: 5px;*/
}

div.phone a,
div.email a {
	color: #313F00;
	text-decoration: none;
}

div.asiaton {
	font-size: 0.8rem;
	margin-top: 20px;
}

div.asiaton-lomake {
	display: none;
}

p.contact a.close {
	position: absolute;
	right: 50%;
	top: 0;
}

p.contact a.close i {
	font-size: 2rem;
}

/* Featherlight */

.featherlight .featherlight-content {
	box-sizing: border-box;
	padding: 0;
	border: none !important;
	/*border: 5px solid #fff;*/
	overflow: hidden;
}

.featherlight .featherlight-close-icon {
	background: #ED3000;
	border-radius: 25px;
	color: #fff;
	right: 7px;
	top: 7px;
}

.featherlight .featherlight-content img {
	padding: 5px;
}

/* Forms */

form.input-form label {
	display: block;
}

i.fa-asterisk {
	color: #ED3000;
	font-size: 0.8rem;
}

form.input-form fieldset {
	border: 1px solid #eee;
	margin-bottom: 2rem;
	padding: 2%;
}

form.input-form legend {
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
	font-size: 1.2rem;
	font-weight: bold;
	line-height: 30px;
	padding: 0 1rem;
}

form.input-form legend span {
	background: #ED3000;
	border-radius: 30px;
	color: #fff;
	display: inline-block;
	font-weight: bold;
	text-align: center;
	width: 30px;
}

form.input-form input,
form.input-form select,
form.input-form textarea,
input.asiaton-viesti {
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 1rem;
	margin-bottom: 1rem;
	padding: 0.4rem;
	width: 100%;
}

form.input-form input.required,
form.input-form textarea.required,
form.input-form select.required {
	border-color: #ED3000;
}

form.input-form label.required {
	color: #ED3000;
}

form.input-form textarea {
	height: 100px;
}

form.input-form input[type=submit],
input.asiaton-lahetys {
	background: #628200;
	border: none;
	color: #fff;
	cursor: pointer;
	font-weight: bold;
	max-width: 330px;
	outline: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

form.input-form input[type=submit]:hover {
	background: #95bf00;
}

form.input-form input.wait,
form.input-form input.wait:hover {
	background: #ccc;
}

div.ilmoitusinfo {
	display: none;
}

div.important { display: none; }

div.payment,
div.delivery {
  display: inline-block;
  margin-right: 10px;
}

div.delivery-info {
	display: none;
}

p.contact div.delivery {
	display: block;
}

/*#images_container {
  height: 160px;
}

.image_container  {
  width: 86px;
  margin-right: 35px;
  float: left;
}

.image_options_container  {
  width: 100%;
  margin: 4px 0px 15px 0px;
  visibility: hidden;
}

.preview img  {
  cursor: pointer;
  border: solid 1px #84a208;
}

.loader {
  display: none;
  width: 88px;
  height: 88px;
}

.loader img {
  position: relative;
  top: 32px;
  left: 32px;
}*/

/*form.input-form .image-upload label {
	display: inline-block;
	position: relative;
	z-index: 2;
}*/

/*.image_form {
  width: 88px;
  height: 88px;
  overflow: hidden;
  position: relative;
  top: -90px;
  margin-bottom: -88px;
  z-index: 1;
}

.file_button  {
  margin-left: -315px;
  height: 88px;
  width: 100px;
  opacity:0.0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  cursor: pointer;
}*/

.error{
  color: red;
}

#images_container {
  height: 160px;
}

.image_container  {
  width: 80px;
  margin-right: 40px;
  float: left;
}

.image_options_container  {
  width: 100%;
  margin: 4px 0px 15px 0px;
  visibility: hidden;
}

.preview img  {
  cursor: pointer;
  border: solid 1px #84a208;
}

.loader {
  display: none;
  width: 88px;
  height: 88px;
}

.loader img {
  position: relative;
  top: 32px;
  left: 32px;
}

.image_form {
  width: 88px;
  height: 88px;
  overflow: hidden;
  position: relative;
  top: -90px;
  margin-bottom: -88px;
}

.file_button  {
  /*margin-left:-315px;
  height: 88px;
  width: 100px;
  opacity:0.0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  cursor: pointer;*/
}

div.return_email {
	display: none;
}

div#form-subcategory {
	display: none;
}

/* Tables */

table.omat {
	border-collapse: collapse;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
  font-weight: 300;
	font-size: 1rem;
	margin-top: 20px;
	margin-bottom: 20px;
	width: 100%;
}

table.omat tr.old td {
	background: #eee;
	font-style: italic;
}

table.omat th {
	border-bottom: 1px solid #ccc;
	padding: 2px;
	text-align: left;
}

table.omat td {
	border-bottom: 1px solid #ccc;
	padding: 4px 2px;
	vertical-align: top;
}

table.omat td:last-child {
	text-align: right;
}

table tr.old {
	background: #eee;
}

table button {
	background: #85ae00;
	border: 1px #94bf00 solid;
	border-radius: 3px;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
	font-size: 0.8rem;
	margin-left: 5px;
	padding: 2px 8px;
	text-align: center;
	text-decoration: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

table button:hover {
	background: #94bf00;
	border-color: #85ae00;
}

/* Footer */

footer {
	background: #4e3500;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	box-sizing: border-box;
	color: #DBB46A;
	margin-bottom: 20px;
	padding: 20px;
	text-align: center;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

footer a {
  color: #B5DF00;
  text-decoration: none;
}

footer a:hover {
	color: #fff;
}

footer ul {
	margin-bottom: 20px;
}

footer li {
	display: inline-block;
}

footer li a {
	border-right: 1px #896006 solid;
	padding: 0 10px;
}

footer li:last-child a {
	border-right: 0;
}

footer p {
	margin-bottom: 20px;
}

/* Banners */

div.left-banner {
	height: 600px;
	left: -180px;
	position: absolute;
	top: 185px;
	width: 160px;
	z-index: 3;
}

div.left-banner.fixed {
	position: fixed;
	left: 20px;
	top: 70px;
}

div.right-banner {
	/* right: -155px; */
	right: -220px;
	width: 200px;
	position: absolute;
	top: 185px;
	z-index: 3;
}

div.right-banner a {
	background-color: #fff;
	display: block;
}

div.right-banner p.some a {
	background-color: transparent;
	display: inline-block;
	margin-right: 10px;
}

div.right-banner img {
	display: block;
	height: auto;
	max-width: 100%;
}

div.right-banner.fixed {
	position: fixed;
	right: 20px;
	top: 70px;
}

div.right-banner p {
	margin-bottom: 10px;
}

div.right-banner p img {
	display: block;
}

div.bottom-banner {
	display: none;
}

div.bottom-banner p {
	color: #000 !important;
	display: inline-block;
}

div.bottom-banner p:first-child {
	display: block;
	padding: 10px;
}

div.bottom-banner p.shops-info,
div.bottom-banner p.advert-info {
	display: block;
	padding: 10px;
}

div.bottom-banner p img {
	display: block;
}

/* Mobile list */

a.mobile-list {
	background: #fff;
	border-bottom: 5px solid #84A208;
	box-sizing: border-box;
	clear: left;
	color: #313F00;
	display: block;
	float: left;
	padding: 5px;
	position: relative;
  text-decoration: none;
	width: 100%;
}

body.christmas a.mobile-list {
	border-color: #930202;
}

body.winter a.mobile-list {
	border-color: #2f77c0;
}

a.mobile-list div.photo {
	float: left;
	height: 35px;
	margin-right: 5px;
	width: 35px;
}

a.mobile-list div.price {
	min-width: 50px;
	top: 11px;
}

a.mobile-list div.title {
	font-family: Georgia,"Times New Roman",Times,serif;
	font-size: 1rem;
	font-weight: bold;
}

a.mobile-list div.date {
	color: #888;
  font-size: 0.8rem;
}

div.ilmoitustyyppi-linkit {
	background: #dfebbf;
  border-left: 5px solid #fff;
  border-right: 5px solid #fff;
	border-top: 5px solid #fff;
	border-bottom: 5px solid #fff;
	/*display: none;*/
	font-size: 0.8rem;
	line-height: 1;
	margin-bottom: 5px;
	padding-bottom: 5px;
	padding-top: 5px;
	text-align: center;
	text-transform: uppercase;
}

div.ilmoitustyyppi-linkit a {
	display: inline-block;
	padding: 4px 5px;
	text-decoration: none;
}

div.ilmoitustyyppi-linkit a.selected {
	background: #ED3000;
	color: #fff;
}

a.mobile-list p {
	line-height: 1;
	margin-bottom: 0 !important;
}

a.mobile-list p.reserved {
	font-size: 0.8rem;
	margin-left: 10px;
	padding: 2px 5px;
}

/* Misc */

div.clear {
	clear: both;
	height: 0;
}

/* Kortit */

ol.card {
	list-style: none;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  width: 100%;
}

ol.card li {
	background: #fff;
	border-radius: 5px;
	box-sizing: border-box;
	display: inline-block;
	margin: 0 3px 10px 3px;
  overflow: hidden;
	padding: 10px;
  position: relative;
	vertical-align: top;
	width: 235px;
  text-align: left;
	transition: 0.6s;
	transform-style: preserve-3d;
}

ol.card a {
	color: #313F00;
	text-decoration: none;
}

ol.card h2 {
	font-family: Georgia,"Times New Roman",Times,serif;
	font-size: 18px;
	margin: 0 0 10px 0;
	overflow: hidden;
	text-overflow: ellipsis;
 	display: -webkit-box;
 	-webkit-line-clamp: 2; /* number of lines to show */
 	-webkit-box-orient: vertical;
}

ol.card h2:hover {
	text-decoration: underline;
}

ol.card img {
	display: block;
	height: 161px;
	margin: 0 auto 10px auto;
	object-fit: contain;
	width: 100%;
}

ol.card p.price {
	color: #ED3000;
	font-family: Arial, sans-serif;
	font-size: 20px;
	font-weight: bold;
  height: 25px;
	margin: 0 0 5px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* number of lines to show */
  -webkit-box-orient: vertical;
}

ol.card p.description {
	font-family: Georgia,"Times New Roman",Times,serif;
	font-size: 12px;
	height: 43px;
	line-height: 1.2;
	overflow: hidden;
 	text-overflow: ellipsis;
 	display: -webkit-box;
 	-webkit-line-clamp: 3; /* number of lines to show */
 	-webkit-box-orient: vertical;
 	margin: 0 0 5px 0;
}

ol.card p.description.open {
	height: auto;
	overflow: visible;
	text-overflow: initial;
 	display: block;
 	-webkit-line-clamp: initial; /* number of lines to show */
 	-webkit-box-orient: initial;
}

ol.card a.btn-card {
	background: #ED3000;
	/*background: linear-gradient(#ed3000 28%, #cc0600 70%);*/
	border-radius: 5px;
	color: #fff;
	display: block;
	font-family: Arial, sans-serif;
	font-size: 16px;
	font-weight: bold;
	padding: 8px 5px;
	text-align: center;
	text-decoration: none;
}

ol.card a.btn-card:hover {
  background: #cc0600;
}

ol.card div.contact-info {
	display: none;
	transition: 0s;
	transform: rotateY(180deg);
}

ol.card div.product-wrap {
	min-height: 128px;
}

ol.card p.date {
	color: #888;
  font-size: 12px;
  line-height: 1;
  margin: 0;
  margin-bottom: 5px;
  overflow: hidden;
 	text-overflow: ellipsis;
 	display: -webkit-box;
 	-webkit-line-clamp: 1; /* number of lines to show */
 	-webkit-box-orient: vertical;
}

ol.card p.date a {
	color: #888;
}

ol.card div.asiaton {
  padding-top: 5px;
}

ol.card div.asiaton,
ol.card div.asiaton a,
ol.card p.contact div.asiaton > i {
  color: #888;
  font-size: 12px;
}

ol.card p.contact div.asiaton > i {
  top: 3px;
}

ol.card p.contact {
	display: none;
	font-family: Georgia,"Times New Roman",Times,serif;
	line-height: 1.2;
	margin: 0;
	padding: 0;
	position: relative;
}

ol.card p.contact i {
	color: #ED3000;
	display: block;
	float: left;
  margin-right: 5px;
  position: relative;
  text-align: center;
  top: 1px;
  vertical-align: top;
  width: 20px;
}

ol.card p.contact.email-length-long div.email i,
ol.card p.contact.payment-length-long div.payment i {
  top: 0;
}

ol.card p.contact.email-length-very-long div.email i,
ol.card p.contact.payment-length-very-long div.payment i {
  top: 0;
}

ol.card p.contact.email-length-very-very-long div.email i,
ol.card p.contact.payment-length-very-very-long div.payment i {
  top: -2px;
}

ol.card p.contact.email-length-very-very-very-long div.email strong a {
  position: relative;
  top: 4px;
}

ol.card p.contact div.phone i {
	top: 4px;
}

ol.card p.contact > div {
	margin-bottom: 5px;
}

ol.card p.contact > div:after {
	clear: both;
	content: "";
	display: table;
}

ol.card p.contact > div > strong {
	display: block;
	float: left;
	width: calc(100% - 25px);
}

ol.card p.contact.email-length-long div.email strong {
	font-size: 13px;
}

ol.card p.contact.email-length-very-long div.email strong {
	font-size: 12px;
}

ol.card p.contact.email-length-very-very-long div.email strong {
	font-size: 11px;
}

ol.card p.contact.email-length-very-very-very-long div.email strong {
	font-size: 10px;
}

ol.card p.contact.payment-length-long div.payment strong {
  font-size: 14px;
}

ol.card p.contact.payment-length-very-long div.payment strong {
  font-size: 12px;
}

ol.card p.contact.payment-length-very-very-long div.payment strong {
  font-size: 11px;
}

ol.card div.asiaton-lomake {
	display: none;
  font-size: 12px;
  margin-bottom: 0 !important;
  padding-top: 5px;
}

ol.card div.asiaton-lomake label {
  display: inline-block;
  margin-bottom: 5px;
}

ol.card input.asiaton-viesti {
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 12px;
  margin-bottom: 5px;
  padding: 3px 10px;
}

ol.card input.asiaton-lahetys {
  background: #628200;
  border-radius: 3px;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 0;
  max-width: 330px;
  outline: none;
  padding: 3px 10px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ol.card div.asiaton {
	font-size: 14px;
	margin-bottom: 0;
	margin-top: 0;
}

ol.card p.contact a.close {
	display: block;
	height: 10px;
	position: absolute;
	right: 0;
	top: 0;
	width: 10px;
}

ol.card p.contact a.close i {
	float: none;
	font-size: 16px;
	height: 100%;
	margin: 0;
	top: auto;
	width: 100%;
}

ol.card a.gallery {
  display: block;
  position: relative;
}

ol.card a.gallery:hover span.count_img {
  opacity: 1;
}

ol.card span.count_img {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  height: 20px;
  left: calc(50% - 18px);
  line-height: 20px;
  opacity: 0;
  padding: 0 8px;
  position: absolute;
  text-align: center;
  top: calc(50% - 10px);
  transition-duration: 0.5s;
  width: 25px;
}

ol.card div.card-reserved {
  background: #999;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  padding: 8px;
  position: absolute;
  right: -45px;
  text-transform: uppercase;
  transform: rotate(45deg);
  text-align: center;
  top: 20px;
  width: 140px;
}

ol.card img.stamp {
	bottom: 0;
	height: auto;
	left: calc(50% - 75px);
	position: absolute;
	width: 150px;
}

.google-auto-placed {
	background: #fff;
}

div.alert {
	background-color: #fff3cd;
  border: 2px solid #ffeeba;
	color: #856404;
	margin-bottom: 5px;
	padding: 20px;
}

div.alert p {
	margin-bottom: 0;
}

div.banneri {
	background-color: yellow;
	/*display: inline-block;*/
	margin: 0 0 20px 0;
	max-width: 200px;
	width: 100%;
}

div.banneri-wrap {
	/*display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: masonry;*/
}

dl.brands {
	position: absolute;
	right: 50px;
	top: 60px;
}

/* Media queries */

@media only screen and (max-width : 1370px) {
	div.wrap {
		max-width: 728px;
	}

	div.ads-980-120 {
		display: none;
	}

	div.banner-square-wrap { 
		display: block;
	}

	ol.card li {
		width: 233px;
	}

	ul.main-navi > li > ul {
		width: 728px;
	}
}

@media only screen and (max-width : 1060px) {
	div.right-banner,
	div.left-banner {
		display: none;
	}

	div.bottom-banner {
		background: #fff;
		display: block;
		margin-bottom: 5px;
	}
}

/* 1060 */

@media only screen and (min-width : 769px) {
	ul.main-navi > li:hover > ul {
		/*display: block;*/
	}
}

/* min 768 */

@media only screen and (max-width : 768px) {
	div.wrap {
		max-width: 90%;
	}

	p.more-img i {
		margin-top: 4px;
	}

	article.categories {
		padding: 25px 4%;
	}

	ul.main-navi li a {
		padding-bottom: 5px;
		padding-top: 5px;
	}

	ol.card li {
		width: calc(33.33% - 10px);
	}

	ul.main-navi > li > ul {
		width: calc(100% + 10px);
	}

	ul.main-navi > li > ul > li > a {
		text-align: left !important;
	}

	article.categories,
	article.sub-categories {
		display: block;
	}

	div.ilmoitustyyppi-linkit {
		border-bottom: none;
		margin-bottom: 0;
	}

	article.sub-categories a {
		display: inline-block;
	}
}
/* 768 */

@media only screen and (max-width : 740px) {
	div.wrap {
		max-width: 96%;
	}

	header input[type=text] {
		width: 120px;
	}
}
/* 740 */

@media only screen and (max-width : 660px) {
	body {
		padding-top: 0;
	}

	header {
		position: relative;
	}

	header .btn {
		display: none;
	}

	header form {
		display: none;
		/*right: 0;*/
	}

	button.hamburger {
		display: block;
		background: none;
		border: none;
		cursor: pointer;
		height: 27px;
		outline: none;
		position: absolute;
		right: 2%;
		text-indent: -9999px;
		top: 12px;
		width: 30px;
		z-index: 2;
	}

	#nav-icon span {
	  display: block;
	  position: absolute;
	  height: 4px;
	  width: 100%;
	  background: #fff;
	  opacity: 1;
	  left: 0;
	  -webkit-transform: rotate(0deg);
	  -moz-transform: rotate(0deg);
	  -o-transform: rotate(0deg);
	  transform: rotate(0deg);
	  -webkit-transition: .25s ease-in-out;
	  -moz-transition: .25s ease-in-out;
	  -o-transition: .25s ease-in-out;
	  transition: .25s ease-in-out;
	  width: 100%;
	}

	#nav-icon span:nth-child(1) {
	  top: 0;
	  -webkit-transform-origin: left center;
	  -moz-transform-origin: left center;
	  -o-transform-origin: left center;
	  transform-origin: left center;
	}

	#nav-icon span:nth-child(2) {
	  top: 9px;
	  -webkit-transform-origin: left center;
	  -moz-transform-origin: left center;
	  -o-transform-origin: left center;
	  transform-origin: left center;
	}

	#nav-icon span:nth-child(3) {
	  top: 18px;
	  -webkit-transform-origin: left center;
	  -moz-transform-origin: left center;
	  -o-transform-origin: left center;
	  transform-origin: left center;
	}

	#nav-icon.open span:nth-child(1) {
	  -webkit-transform: rotate(40deg);
	  -moz-transform: rotate(40deg);
	  -o-transform: rotate(40deg);
	  transform: rotate(40deg);
	  top: 0;
	  left: 0;
	  width: 30px;
	}

	#nav-icon.open span:nth-child(2) {
	  width: 0%;
	  opacity: 0;
	}

	#nav-icon.open span:nth-child(3) {
	  -webkit-transform: rotate(-40deg);
	  -moz-transform: rotate(-40deg);
	  -o-transform: rotate(-40deg);
	  transform: rotate(-40deg);
	  top: 19px;
	  left: 0px;
	  width: 30px;
	}

	ol.card li {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}

	ul.main-navi > li > a span.open-plus {
		display: none;
	}
}
/* 660 */

@media only screen and (max-width : 620px) {
	ul.main-navi li {
		display: inline; 
	}

	ul.main-navi li a { 
		border-right: 0; 
		font-size:  0.7rem;
		padding: 10px 10px;
		text-align: center;
	}

	ul.main-navi li:nth-child(1),
	ul.main-navi li:nth-child(2),
	ul.main-navi li:nth-child(3) {
		border-bottom: 1px solid #95bf00;
		padding-bottom: 10px;
	}

	ul.main-navi li:nth-child(3):after { 
		content: "\a";
    white-space: pre;
  }	

  /*p.date {
  	float: left;
  	margin-top: 7px;
  	max-width: 50%;
  }*/

  /*p.date a {
  	display: block;
  }*/

  /*p.date span {
  	display: none;
  }*/

  span.subkat { display: none; }

  div.price {
  	/*float: right;
  	left: auto;
  	min-width: 50px;
  	max-width: 250px;
  	margin-top: -40px;
  	margin-bottom: 20px;
  	position: relative;
  	top: auto;
  	width: auto;*/
  	top: 15px;
  }

  div.price {
    right: -3px;
    top: 13px;
    -moz-border-radius: 2px 3px 2px 2px;
    border-radius: 2px 3px 2px 2px;
	}

  section.content article h1 {
  	margin-bottom: 5px;
  	padding-bottom: 5px;
  }

  article p {
  	clear: both;
  }

  div.img-wrap {
  	clear: both;
  	float: none;
  	min-height: 200px;
  	margin-bottom: 1rem;
  	margin-left: 0;
  	width: 100%;
  }

  div.img-wrap div.img {
		height: 200px;
		width: 100%;
  }

  p.more-img {
		margin-top: 10px;
	}

  p.contact a.close {
		right: 0;
	}

	div.col-2 {
		float: none;
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: 100%;
	}

	form.input-form fieldset {
		padding-top: 1rem;
	}

	form.input-form legend {
		font-size: 1rem;
		font-weight: bold;
		line-height: 20px;
		padding: 0 0.5rem;
	}

	form.input-form legend span {
		border-radius: 20px;
		width: 20px;
	}

	.image_container  {
  	width: 130px;
  	margin-right: 20px;
	}

	.image_form {
		width: 100%;
	}

	.image_container  img {
		width: 100%;
	}

	.fancybox-nav span {
 		visibility: visible;
	}

	div.ilmoitustyyppi-linkit {
		display: block;
	}

	a.mobile-list div.title {
		padding-right: 70px;
	}

	div.bottom-banner p {
		width: 33.33%;
	}

	div.bottom-banner p:first-child,
	div.bottom-banner p.shops-info,
	div.bottom-banner p.advert-info {
		box-sizing: border-box;
		width: 100%;
	}

	div.bottom-banner p img {
		height: auto;
		width: 100%;
	}

	div.bottom-banner p.some {
		margin-bottom: 10px;
		margin-right: 0;
		width: 100%;
	}	

	div.bottom-banner p.some a {
		display: inline-block;
		margin-left: 10px;
	}

	div.bottom-banner p.some a img {
		display: inline-block;
		height: 30px;
		width: 30px;
	}

	a.mobile-list div.price {
		max-width: 70px;
    max-height: 26px;
    overflow: hidden;
	}

	a.mobile-list div.price.length-7 {
		font-size: 14px;
	}

	a.mobile-list div.price.length-8 {
		font-size: 12px;
	}

	a.mobile-list div.price.length-9,
	a.mobile-list div.price.length-10 {
		font-size: 10px;
	}

	a.mobile-list div.price.length-11,
	a.mobile-list div.price.length-12,
	a.mobile-list div.price.length-13,
	a.mobile-list div.price.length-14,
	a.mobile-list div.price.length-15 {
		font-size: 8px;
	}
}
/* 620 */

@media only screen and (max-width : 500px) {
	header {
		padding-top: 12px;
	}

	header h1 a {
		box-sizing: border-box;
		height: 30px;
	}

	header .btn-jata {
		right: 105px;
	}

	header .btn {
		top: 4px;
	}

	header form {
		top: 1px;
	}

	table button {
		margin-bottom: 10px;
		width: 90px;
	}

  div.payment,
  div.delivery {
    display: block;
    margin-right: 0;
  }
}
/* 500 */

@media only screen and (max-width : 330px) {
	div.banner-square-wrap {
		display: none;
	}
	
	div.ads {
		display: block;
	}
}
/* 330 */