a, p, ul, ol, dl, dd, dt, li, h1, h2, h3, h4, h5, h6, input, form, body, html, div, table, tr, td, th, img, div#rightcontent div.loginBox_eAdmin input {
margin: 0;
padding: 0;
border: 0;
background: transparent;
}

body {
background: #e0e0e0 url(/images/layout/background.gif) repeat-x;
text-align: center;
}

body, form input, form textarea, table {
font-family:sans-serif;
font-size: 12px;
line-height: 1.6em;
color: #505050;
}

div#main {
width: 986px;
margin: 0 auto;
background: transparent url(/images/layout/content.gif) repeat-y;
text-align: left;
}

div#header {
height: 81px;
padding: 22px 30px 0 34px;
background: transparent url(/images/layout/main.jpg) no-repeat;
}

div#content {
clear: both;
width: 986px;
}

div#leftcontent {
clear: both;
float: left;
width: 212px;
min-height: 416px;
padding: 15px 30px 0 50px;
background: transparent url(/images/layout/main.jpg) no-repeat 0 -103px;
}

div#rightcontent {
float: right;
width: 639px;
min-height: 401px;
padding: 30px 55px 0 0;
background: transparent url(/images/layout/main.jpg) no-repeat 100% -103px;
}

div#footer {
clear: both;
width: 986px;
height: 19px;
padding: 60px 0 33px 0;
text-align: center;
background: transparent url(/images/layout/footer.gif) no-repeat 7px 0;
}

/*Header*/

p#title {
display: block;
float: left;
width: 359px;
height: 44px;
margin: 0 0 37px 0;
}

p#title a {
display: block;
width: 100%;
height: 100%;
text-indent: -300em;
}

form#search {
display: block;
float: right;
width: 240px;
height: 21px;
padding: 14px 0 0 0;
}

form#search input.searchfield {
width: 162px;
height: 21px;
margin: 0 24px 0 0;
padding: 0 4px;
background: transparent;
}

form#search input.searchbutton {
width: 41px;
height: 21px;
background: transparent;
color: #f5d8d9;
text-transform: uppercase;
font-weight: bold;
font-size: 0.8em;
}

/*Templatet*/

div.templateFull {
width: 620px;
padding: 0 19px 0 0;
}

div.templateLeft {
float: left;
clear: both;
width: 390px;
}

div.templateRight {
float: right;
clear: right;
width: 209px;
color: #777;
}

div.templateEqualLeft {
float: left;
clear: both;
width: 280px;
}

div.templateEqualRight {
float: right;
clear: right;
width: 280px;
}

div.templateLiftLeft {
float: left;
clear: left;
width: 390px;
padding: 0 0 40px 0;
margin: 0 0 30px 0;
background: transparent url(/images/layout/mainseparator.gif) no-repeat bottom center;
}

div.templateLiftHaaste {
float: left;
clear: left;
width: 390px;
}

div.templateLiftHaaste div.left {
float: left;
clear: left;
width: 121px;
}

div.templateLiftHaaste div.right {
float: right;
width: 250px;
}

div.infobox {
width: 181px;
padding: 10px 14px 10px 14px;
margin: 0 0 20px 0;
border-top: 3px solid #ccc;
background: #ebebeb;
line-height: 1.5em;
font-size: 0.9em;
color: #616161;
}

div.templateClear {
display: none;
}

/*Menu*/

div#leftcontent ul {
list-style: none;
width: 212px;
padding: 0 0 5px 0;
border-top: 6px solid #ffb4b4;
border-bottom: 1px solid #ccc;
background: #ebebeb;
text-transform: uppercase;
font-size: 1.2em;
line-height: 1em;
}

div#leftcontent ul li {
padding: 10px 0 6px 0;
text-indent: 20px;
background: transparent url(/images/layout/menuseparator.gif) no-repeat 16px 100%;
}

div#leftcontent ul li.last {
padding: 10px 0 4px 0;
background-image: none;
}

div#leftcontent ul li.selected a, div#leftcontent ul li ul li.selected a, div#leftcontent ul li ul li ul li.selected a {
color: #505050;
}

div#leftcontent ul li.selected ul a, div#leftcontent ul li ul li.selected ul a {
color: #d25252;
}

div#leftcontent ul li ul {
width: 182px;
margin: 4px 0 0 0;
padding: 4px 0 6px 7px;
border: 0;
background: transparent url(/images/layout/menuseparator.gif) no-repeat 16px 0;
font-size: 0.9em;
}

div#leftcontent ul li ul li {
padding: 8px 0 0 0;
background: transparent;
}

div#leftcontent ul li ul li.selected {
background: transparent url(/images/layout/li_selected.gif) no-repeat 4px 13px;
}

div#leftcontent ul li ul li ul li.selected {
background-position: 6px 6px;
}

div#leftcontent ul li ul li ul {
width: 172px;
margin: 0;
padding: 0 0 0 10px;
text-transform: none;
font-size: 0.9em;
background: transparent;
}

div#leftcontent ul li ul li ul li {
padding: 0;
}

/*Content*/

h1, h2 {
color: #cc171d;
text-transform: uppercase;
font-weight: normal;
}

h1 {
padding: 0 0 10px 0;
font-size: 1.3em;
}

div.templateRight h1 {
padding: 0;
}

div.infobox h1 {
margin: 0 0 8px 0;
padding: 0 0 6px 0;
background: transparent url(/images/layout/menuseparator.gif) no-repeat bottom left;
}

div.news h1 {
padding: 15px 0 0 0;
}

h2{
font-size: 1em;
display: inline;
}

div#rightcontent p {
padding: 0.8em 0;
}

/*Footer*/

div#footer p {
font-size: 0.8em;
line-height: 1em;
text-transform: uppercase;
}

div#footer p#contact {
margin: 0 0 0 220px;
}

div#footer p#contact a {
margin: 0 0.5em;
}

div#footer p#verkkovaraani {
width: 170px;
padding: 0 50px 0 0;
float: right;
text-align: right;
}

/*Lists*/

div#rightcontent ol {
padding: 0 0 0 35px;
}

div#rightcontent ul {
padding: 0 0 0 15px;
}

div#rightcontent ul li {
margin: 0 0 0 15px;
padding: 0 0 0 5px;
}

div#rightcontent ol li.search {
padding: 15px 0 0 0;
}

div#rightcontent div.infobox ol {
padding: 0 0 0 15px;
}

div#rightcontent div.infobox ul li {
margin: 0;
}

dt {
font-style: normal;
font-weight: bold;
color: #505050;
}

div.news dd {
padding: 0 0 10px 0;
}

div.linkRow {
padding: 0 0 0 20px;
}

div.infobox div.linkRow {
padding: 0;
}

/*Forms*/

div#rightcontent textarea, div#rightcontent input {
border: 1px solid #ccc;
font-size: 1em;
padding: 0.2em;
}

div#rightcontent input.eform_button, div#rightcontent input.formButton {
padding: 3px 5px;
border: 0;
background: #d15155;
color: #f5d8d9;
text-transform: uppercase;
font-weight: bold;
font-size: 0.8em;
}

div#rightcontent input.formCheck {
visibility: hidden;
font-size: 1px;
padding: 0;
border: 0;
line-height: 1em;
width: 1px;
height: 1px;
float: left;
}

/*Login*/

div.loginBox_eAdmin {
background: transparent url(/images/layout/login.gif) no-repeat;
margin:10px 0 0 0;
padding: 52px 0 0 140px;
width:172px;
height:105px;
}

div#rightcontent div.loginBox_eAdmin input.loginInput {
float:left;
clear: both;
width:128px;
height:16px;
margin: 11px 0 0 0;
padding: 1px 2px;
}

div#rightcontent div.loginBox_eAdmin input.loginButton {
float:left;
clear: both;
width:56px;
height:18px;
margin: 5px 0 0 77px;
cursor:pointer;
}

textarea {
width: 95%;
height: 11em;
line-height: 1.4em;
}

/*Tables*/

table {
width: 98%;
}

table.forms td {
padding: 0.2em;
}

td, th {
vertical-align: top;
text-align: left;
}

th {
font-style: normal;
font-weight: bold;
text-transform: uppercase;
}

table.eTable td {
padding: 5px;
border-top: 1px solid #ccc;
}

table.eTable_Color td.eTable_Cell_Color_Header {
padding: 5px;
font-weight: bold;
border-bottom: 1px solid #ccc;
}

table.eTable_Color td.eTable_Cell_Color, table.eTable_Color td.eTable_Cell_Color_2 {
padding: 5px;
}

table.eTable_Color td.eTable_Cell_Color_2 {
background: #ebebeb;
}

/*Links*/

a {
color: #4897bf;
text-decoration: none;
}

div#rightcontent a, div#footer a:hover {
text-decoration: underline;
}

div#rightcontent a:hover {
text-decoration: none;
}

div#footer p#verkkovaraani a {
color: #b2b2b2;
text-decoration: none;
}

div#leftcontent ul a {
color: #d25252;
}

a img {
border: 0;
}




div.formText {
font-weight: bold;
}

div.formInput {
}

div.formClear {
padding-bottom: 1em;
}