body {
	background: url(files-vmstyle.css/taustakuva.png);
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: verdana, arial, tahoma;
}

table {
	border-collapse: collapse;
}

td {
	padding: 0;
	vertical-align: top;
	font-size: 12px;
}

a {
	color: #3058B8;
}

form {
	display: inline;
}

img {
	border: 0;
}

.kaupan_valitsin {
	text-decoration: none;
	color: white;
	padding-left: 20px;
}

input, textarea, select {
	border: 1px black solid;
	margin-bottom: 2px;
	background: #faf3dd;
	padding-left: 2px;
}

#iso {
	margin-left: auto;
	margin-right: auto;
	width: 950px;
	text-align: center;
}

#vasen_yla {
	background: url(files-vmstyle.css/vasen_yla.gif) no-repeat; 
	width: 9px;
	height: 196px;
}

#oikea_keski {
	background: black;
}

#oikea_yla {
	background: url(files-vmstyle.css/oikea_yla.gif) no-repeat; 
	width: 9px;
	height: 196px;
}



#navi_kauppa {
	width: 932px;
	height: 19px;
	background: url(files-vmstyle.css/ylanavi_tausta.gif) repeat-x; 
	color: white;
	vertical-align: middle;
}

#navi_menu {
	height: 62px;
	background: url(files-vmstyle.css/valikon_tausta.jpg) repeat-x; 
	padding-top: 10px;
}

#navi_menu a {
	color: white;
	font-size: 14px;
	margin: 0px 10px;
	text-decoration: none;
}

/*

#navi_menu table {
	margin-left: auto;
	margin-right: auto;
}

#navi_menu td {
	width: 141px;
	height: 40px;
	background: url(../kuvat/valikon_painike.gif) repeat-x;
	text-align: center;
	vertical-align: middle;
}

#navi_menu a {
	font-size: 11px;
	color: #7e7e7e;
	text-decoration: none;
	font-weight: bold;
	text-transform: uppercase;
}

*/

#logo {
	background: black url(files-vmstyle.css/logo.jpg) no-repeat;
	height: 115px;
}

#leipa_iso {
	width: 950px;
}

#leipa_vasen {
	width: 171px;
	background: black;
	padding: 20px;
	color: white;
}

#leipa_vasen a {
	color: white;
	text-decoration: none;
}

#leipa_keski {
	width: auto;
	background: white;
	padding: 10px;
}

#leipa_oikea {
	width: 138px;
	background: black; 
	padding: 10px;
	color: black;
	text-align: center;
}

#leipa_oikea a {
	color: #8e0030;
}

#ala {
	background: url(files-vmstyle.css/ala_tausta.gif) repeat-x;
	height: 22px;
}

#tuotteet_puu a {
	text-decoration: none;
	color: black;
	font-weight: bold;
}

#tuotteet {
	/*border: 1px brown solid;*/
	padding: 10px;
	margin-top: 20px;
}

div.tuotteet_listaus {
	min-height: 150px;
}

div.tuotteet_hintapalkki {
	padding-top: 20px;
	padding-bottom: 10px;
	background: url(../kuvat/viiva.gif) bottom no-repeat;
}

input.tuotteet_kpl {
	margin-left: 20px;
	margin-right: 15px;
	width: 35px;
	text-align: center;
}

span.tuotteet_tuotekoodi {
	font-weight: bold;
	font-size: 10px;
}

input.tuotteet_osta {
	margin-right: 20px;
	background: none;
	border: none;
}

a.tuotteet_tuotenimi {
	font-weight: bold;
	color: black;
}

span.hinta {
	font-weight: bold;
}

span.warning, td.warning {
	color: red;
	font-weight: bold;
}

#virhe {
	background: pink;
	/* border: 1px red solid; */
	padding: 0;
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
}

#virhe div {
	margin: 20px;
}

td.ostoskori_sarake {
	background: #f8f8f8 url(../kuvat/viiva.gif) bottom no-repeat;
	padding: 5px 2px 5px 2px;
	vertical-align: middle;
}

td.ostoskori_otsikko {
	background: url(../kuvat/viiva.gif) bottom no-repeat;
	padding: 5px 2px 5px 2px;
}

td.ostoskori_yhteensa {
	padding: 5px 2px 5px 2px;
	vertical-align: middle;
	font-weight: bold;
}

h1 {
	font-size: 14px;
	border-bottom: 2px #ac153d solid;
	margin-bottom: 15px;
}

h1 img {
	margin-bottom: -13px;
}

.nuoli {
	margin-bottom: 0px;
}

.ostoskori td {
	padding: 5px;
}


/* 

  FOORUMI
  
*/

#foorumi_paaaiheet table {
	margin-right: auto;
	margin-left: auto;
	border: 2px #9c2120 solid;
}

.otsikko {
	background: #ba093d url(files-vmstyle.css/foorumin_liukuvari.gif) repeat-x;
	color: white;
	font-weight: bold;
	height: 25px;
	vertical-align: middle;
	font-size: 11px;
}

.otsikko2 {
	background: #ba093d url(files-vmstyle.css/foorumin_liukuvari.gif) repeat-x;
	color: white;
	font-weight: bold;
	height: 25px;
	font-size: 12px;
  padding-top: 10px;
	text-align: center;
	border: 1px #9c2120 solid;
}

#foorumi_paaaiheet a {
	color: #9c2120;
	font-weight: bold;
}

td.foorumi_paaaiheet {
	background: #f5f5ff;
	padding: 7px;
	vertical-align: middle;
	border-right: 1px #d1d1e1 solid;
	border-bottom: 1px #d1d1e1 solid;
}

td.foorumi_paaaiheet2 {
	background: #e1e4f2;
	padding: 7px;
	vertical-align: middle;
	border-right: 1px #d1d1e1 solid;
	border-bottom: 1px #d1d1e1 solid;
}

a.foorumi_paaaihe {
	font-size: 14px;
}

td.keskustelu_aika {
	background: #ba093d url(files-vmstyle.css/foorumin_liukuvari2.gif) repeat-x;
	color: white;
	height: 25px;
	vertical-align: middle;
	font-size: 11px;
	padding-left: 7px;
	width: auto;
}

td.keskustelu_info {
	background: #ba093d url(files-vmstyle.css/foorumin_liukuvari2.gif) repeat-x;
	color: white;
	height: 25px;
	vertical-align: middle;
	font-size: 11px;
	text-align: right;
	padding-right: 10px;
	width: 140px;
}

td.keskustelu_avatar {
	background: #e1e4f2;
	padding: 7px;
}

td.keskustelu_kirjoittaja {
	vertical-align: middle;
	font-size: 20px;
	padding-left: 7px;
}

td.keskustelu_info2 {
	background: #e1e4f2;
	padding: 4px;
	font-size: 11px;
	vertical-align: middle;
}

td.keskustelu_viesti {
	background: #f5f5ff;
	padding: 7px;
	border-top: 1px #d1d1e1 solid;
}

.keskustelu {
	border: 1px #9c2120 solid;
	margin-bottom: 6px;
	width: 100%;
}


#boxi_otsikko {
	width: 200px;
	background: #c00000;
	padding: 3px 3px 3px 7px;
	color: white;
	font-weight: bold;
}

#boxi_teksti {
	width: 200px;
	padding: 10px;
	color: black;
	border-width: 0px 1px 1px 1px;
	border-color: #e9e5de;
	border-style: solid;
	line-height: 1.4;
}

.laatikko1 {
	width: 138px;
	background: #f5f5ff url(files-vmstyle.css/laatikko_ylaosa.gif) top no-repeat;
	margin-bottom: 7px;
}

.laatikko2 {
	width: 138px;
	padding: 4px 0px 4px 0px;
	background: url(files-vmstyle.css/laatikko_alaosa.gif) bottom no-repeat;
}

.laatikko3 {
	text-align: left;
	padding-left: 6px;
}

.laatikko_otsikko {
	font-weight: bold;
	margin-bottom: 7px;
	color: #8e0030;
}

input.submit {
	background: #fcebb5;
}



.uutiset {
	width: 100%;
	background: #f5f5ff;
	border: 1px #e1e4f2 solid;
	margin-bottom: 7px;
}

.uutiset2 {
	padding: 7px 7px 7px 14px;
}

.uutiset_otsikko {
	color: #a70f3b;
	font-weight: bold;
	height: 20px;
	font-size: 13px;
  padding-top: 5px;
	padding-left: 7px;
}

#tulosta {
	border-collapse: separate;
	border-spacing: 10px;
}

#tulosta td {
	vertical-align: middle;
	background: url(../kuvat/viiva.gif) bottom no-repeat;
	height: 50px;
}




span.kulma-top, span.kulma-top span, span.kulma-bottom, span.kulma-bottom span {
	background-color: transparent;
	background-repeat: no-repeat;
	color: inherit;
	height: 4px;
	display: block;
	line-height: 0.1em !important;
	font-size: 0.1em !important;
	clear: left;
	}

span.kulma-top, span.kulma-bottom {
	background-image: url('../kuvat/kulma_oikea.gif');
	width: 100%;
	}

span.kulma-top span, span.kulma-bottom span {
	background-image: url('../kuvat/kulma_vasen.gif');
	width: 50%;
	}

span.kulma-top         { background-position: top    right; }
span.kulma-top span    { background-position: top    left;  }
span.kulma-bottom      { background-position: bottom right; }
span.kulma-bottom span { background-position: bottom left;  }



span.kulma-top-musta, span.kulma-top-musta span, span.kulma-bottom-musta, span.kulma-bottom-musta span {
	background-color: transparent;
	background-repeat: no-repeat;
	color: inherit;
	height: 4px;
	display: block;
	line-height: 0.1em !important;
	font-size: 0.1em !important;
	clear: left;
	}

span.kulma-top-musta, span.kulma-bottom-musta {
	background-image: url('../kuvat/kulma_oikea_musta.gif');
	width: 100%;
	}

span.kulma-top-musta span, span.kulma-bottom-musta span {
	background-image: url('../kuvat/kulma_vasen_musta.gif');
	width: 50%;
	}

span.kulma-top-musta         { background-position: top    right; }
span.kulma-top-musta span    { background-position: top    left;  }
span.kulma-bottom-musta      { background-position: bottom right; }
span.kulma-bottom-musta span { background-position: bottom left;  }


/*
  BBCode tyylit
*/

pre {
	white-space: normal
}

.image {
  max-width: 530px;
  max-height: 1024px;
  border: 0;
}

.bbcode_code, .bbcode_quote {
	width: 420px;
	border: 1px #b2b2b2 solid;
	background: #e1e4f2;
	margin-left: 7px;
	padding: 7px;
}

/*

Galleria

*/

#galleria td {
	vertical-align: middle;
	padding-bottom: 7px;
}

#galleria textarea {
	width: 300px;
	height: 100px;
}

#galleria input {
	width: 200px;
}

#galleria_vasen {
	background: white;
  color: black;

}

#galleria_vasen span {
	font-weight: bold;
	color: #9c232a;
}

#galleria_vasen div {
	padding-left: 10px;
	margin-bottom: 5px;
}

#galleria_kommentit {
	width: 100%; overflow: auto;
	margin-bottom: 20px;
}

#galleria_kommentit td {
	line-height: 140%;
}

.nimimerkki {
	color: #9c232a;
	font-weight: bold;
	text-decoration: none;
}

span.yksityinen {
	color: #9c232a;
}

#kayttajat {
	border-width: 0px 0px 2px 0px;
	border-style: solid;
	border-color: #ac153d;
	text-align: center;
	padding: 5px;
}

#kayttajat a {
	color: #ac153d;
	font-weight: bold;
	text-decoration: none;
}

#bbcode .url:before {
	content: url('../kuvat/ikonit/maapallo.gif')" ";
}

#bbcode .url {
	color: #3058B8;
	text-decoration: none;
}

#bbcode .url:hover {
	text-decoration: underline;
}

#bbcode .bbcode_code .url { color: #000; }
#bbcode .bbcode_code .url:before { content: ""; }




#linkit table {
	width: 100%;
}	

#linkit td {
	padding: 10px;
	vertical-align: middle;
}


.hallinta {
	border: 1px #7c002c solid;
	background: #f5f5ff;
}

.hallinta td {
	padding: 5px;
}




.sivukartta {
	line-height: 130%;
}

.sivukartta a {
	text-decoration: none;
}
