body {
	margin: 0 0 0 0;
	padding: 0;
	font-size : 11px;
	background-color: #FFF;
	background-image: url(tangotausta.gif);
	text-align: left;
}

#sivupohja {
	margin: 0 auto;
	border: 0px solid #000;
	/*/*/line-height: 1.5em; /* */
}

#valikkotausta {
	margin: 0 0 0 0;
	/*/*/line-height: 1.5em; /* */
	border-right-width: 1px;
	border-right-color: #000000;
	border-right-style: solid;
	background-color: #B61B00;
	background-image: url(valikko/tausta.gif);
	background-repeat: repeat-x;
}

#valikkovarjo {
margin: 0 0 0 0;
	/*/*/line-height: 1.5em; /* */
	border-right-width: 1px;
	border-right-color: #000000;
	border-right-style: solid;
	background-color: #efefef;
	background-image: url(valikko/valikkovarjo.gif);
	background-repeat: repeat-x;
}

#pohjavari {
margin: 0 0 0 0;
background-image: url(valikko/background.jpg);
background-repeat: repeat;
}

#pikkukuvatausta {
	margin: 0 0 0 0;
	/*/*/line-height: 1.5em; /* */
	border: 0px;
	border-color: #efefef;
	border-style: solid;
	padding-left: 0px;
	width: 526px;
}

#laajapalsta {
	margin: 0 0 0 0;
	/*/*/line-height: 1.5em; /* */
	background-image: url(ohjelmisto/laajapalstabg.jpg);
	background-repeat: no-repeat;
	padding-left: 12px;
	padding-right: 5px;
	width: 100%;
	border-left-width: 0px;
	border-left-color: #000000;
	border-left-style: dotted;
}

#palsta1 {
	margin: 0 0 0 0;
	/*/*/line-height: 1.5em; /* */
	background-image: url(ohjelmisto/palstabg.jpg);
	background-repeat: no-repeat;
	padding-left: 12px;
	padding-right: 5px;
	width: 33%;
	border-left-width: 0px;
	border-left-color: #000000;
	border-left-style: dotted;
}

#palsta2 {
	margin: 0 0 0 0 ;
	/*/*/line-height: 1.5em; /* */
    background-image: url(ohjelmisto/palstabg.jpg);
	background-repeat: no-repeat;
	padding-left: 12px;
	padding-right: 5px;
	width: 33%;
	border-left-width: 0px;
	border-left-color: #000000;
	border-left-style: dotted;
}

#palsta3 {
	margin: 0 0 0 0 ;
	/*/*/line-height: 1.5em; /* */
    background-image: url(ohjelmisto/palstabg.jpg);
	background-repeat: no-repeat;
	padding-left: 12px;
	padding-right: 5px;
	width: 33%;
	border-left-width: 0px;
	border-left-color: #000000;
	border-left-style: dotted;
}

#mainTable {
	margin: 0 0 0 0;
	/*/*/line-height: 1.5em; /* */
	border-right-width: 1px;
	border-right-color: #000000;
	border-right-style: solid;
	background-image: url(valikko/background.jpg);
}

#maincontent {
	border-left: 1px dotted #efefef;
	font-size: 100%;
	/*/*/font-size: 100%; /* */
	padding-left: 19px;
	padding-right: 19px;
	width: 535px;
}

#header {
	background-color: #000000;
}

#footer {
	background-color: #333333;
	color: #666666;
	background-image: url(valikko/footer_bg.jpg);
	text-align: center;
}
#footer a {
	color: #FAFAF9;
}

td, p, ul {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}
h1:first-child {margin-top: 0;}/*starts first heading in a TD flush top*/
h2:first-child {margin-top: 0;}/*starts first heading in a TD flush top*/
h1 { font-size: 160%; }
h2 { font-size: 140%; }
h3 {
  font-weight : bold;
  font-size : 11px;
  margin : 0px 0px 10px 0px;
}
h4 { 
  font-family : Trebuchet MS, Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-weight : bold;
  font-size : 12px;
  /*color:#4B4B4B;*/
  color:#000000;
  padding:0px 0px 0px 0px;
  margin:0px 0px 3px 0px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#vasenpalsta {
width: 205px;
vertical-align: top;	
}


#sidebar {
width: 165px;
	font-size: 85%;
	/*/*/font-size: 85%; /* */
	padding-left: 0px;
	vertical-align: top;	
}

#sidebar a {
	/*/*/padding: 3px;
	display: block;
	text-decoration: none;
	border-bottom-style: dotted;
	border-bottom-width: thin;
	border-bottom-color: #CCCCCC;
	line-height: 1em;
	width: 135px; /* */
}

#sidebar a:link, #sidebar a:visited {
	color: #666;
}

#sidebar a:hover, #sidebar a:active {
	color: #FFFFFF;
	background-color: #CC0000;
	border-bottom-style: dotted;
	border-bottom-width: thin;
	border-bottom-color: #B61B00;
}

#current a {
	color: #666666!important;
	/*/*/	border-bottom-style: solid!important;
	border-bottom-width: thin!important;
	border-bottom-color: #B61B00 !important;/* */
}

#sidebar ul {
	/*/*/padding-left: 1em;
	list-style-type: none;
	margin-left: 1em; /* */
}

#sidebar li {
	/*/*/margin: 0px 0px 6px 0px; /* */
	
}

#lipunmyynti {
	width: 160px;
	font-size: 100%;
	/*/*/font-size: 100%; /* */
	padding-top: 5px;
	padding-left: 15px;
	padding-bottom: 8px;
	margin-top: 15px;
	border-left-style: double;
	border-left-width: thin;
	border-left-color: #B61B00;

}

#lipunmyynti a {
	/*/*/padding: 3px;
	text-decoration: none;
	line-height: 1em;
	width: 130px; /* */
}

#lipunmyynti a:link, #lipunmyynti a:visited {
color: #4e94b0;
text-decoration: none;
}

#lipunmyynti a:hover, #lipunmyynti a:active {
color: #B61B00;
text-decoration: none;
margin-left: 7px;
}

#osoite {
	width: 160px;
	font-size: 100%;
	/*/*/font-size: 100%; /* */
	padding-top: 5px;
	padding-left: 15px;
	margin-top: 15px;
	margin-bottom: 25px;
	text-align: right;	
}

#osoite a {
color: #4e94b0;
text-decoration: none;
}

#osoite a:link, #osoite a:visited {
color: #4e94b0;
text-decoration: none;
}

#osoite a:hover, #osoite a:active {
color: #B61B00;
text-decoration: none;
margin-right: 0px;
}

/* form styles */
#maincontent form {
	/*border: 1px solid #CCC;*/
	width: 430px;
	margin: 5px auto;
	padding: 10px;
}
#maincontent form.zero {
	margin: 0;
	padding: 0;
	width: auto;
}
input, textarea, select {
	color: #333;
	border: 1px solid #666;
	padding: 1px;
	/*background: #E3A7A9;
	margin: 2px 2px 3px 2px;*/
}
form input:focus, form input:active, form textarea:focus, form textarea:active {
	color: #CC0000;
	border: 1px solid #333;
}
label {
	font-size: 80%;
}
.forms td label {
	font-size: 90%;
	text-align: right;
}
.formstyle label {
	display: block;
	margin-left: 75px;
	margin-bottom: 1px;
}
.formstyle .offset label {
	margin-left: 30px;
}

#maincontent .forms, #maincontent .forms td {
	border: none;
}
input.none {
	border: none;
	padding: 0;
	background: #FFF;
}
.formstyle input, .formstyle select {
	display: block;
	width: 230px;
	margin: 0 auto 5px;
}
.formstyle input.check {
	width: auto;
	margin-right: 10px;
	margin-bottom: 0;
	display: inline;
}
.formstyle .invis {
	display: none;
}
.formstyle .spacer {
	margin-left: 60px;
}
fieldset {
	border: 1px solid #CCC;
	margin: 0 0 10px;
	padding: 5px 5px 15px;
}
legend {
	/*border: 1px solid #666;*/
	color: #666;
	background: #E0E0E0;
	padding: 4px 6px 3px;
	margin-bottom: 5px;
	margin-left: 10px;
	font: normal 1em Verdana, Arial, Helvetica, sans-serif;
}
input.button {
	border: 1px solid #333;
	color: #FFF;
	width: 10em;
	margin: 10px auto;
	padding: 3px;
	text-align: center;
}



#n4shell {
/* This rule will allow you to create an outer border around the layout table in netscape 4. Wrap the entire table inside a div and assign to the div this id */
	border: 1px solid #000;
	/*/*/border: 0; /* */
}
#bd #sivupohja tr #pohjavari #mainTable tr #footer {
	text-align: center;
}
.harmaa {
	color: #666666;
}
.white {
	color: #FFFFFF;
}
