/* Tässä tiedostossa
Tyylien resetoinnit
Määrättyjen elementtien piilottaminen, jos se nyt CSS:llä satutaan tekemään
Framen asemointi ja tyylit
Asemointityökalut
eAdmin login -loota
*/
		
/*Resets*/

html, body, div, img, p, dl, ul, ol, li, dt, dd, table, tr, th, td, a, em, h1, h2, h3, span, div#content form#eadminLogin p, div#templateContent ul.pagemenu li {
margin: 0;
padding: 0;
border: 0;
text-align: left;
}

ul {
list-style: none;
}

table {
width: 100%;
border-collapse: collapse;
}

.spamFilter {
display: none;
}

img#logger {
position: absolute;
bottom: 0;
right: 0;
}

/*Frame*/

body {
background: #555;
}

div#all {
background: #dedede url(/images/style/body.gif) repeat-x;
}

div#main {
background: transparent url(/images/style/body_bottom.gif) repeat-x bottom left;
}

div#mainarea {
width: 988px;
margin: 0 auto;
background: transparent url(/images/style/mainarea.gif) repeat-y;
}

div#header {
width: 889px;
height: 116px;
padding: 46px 44px 0 55px;
float: left;
background: transparent url(/images/style/header_muistimarkkinat.gif) no-repeat;
text-transform: uppercase;
font-size: 9px;
}

p#logo {
float: left;
}

p#logo img {
display: block;
}

p#logo, p#logo img {
width: 377px;
height: 90px;
}

div#header form.searchForm {
float: right;
width: auto;
height: 38px;
padding: 18px 10px 0 0;
}

div#header form.searchForm label, div#header form.searchForm input {
float: left;
}

div#header form.searchForm label {
padding: 2px 0 0 0;
height: 19px;
line-height: 19px;
color: #888;
}

div#header form.searchForm input {
margin: 0 0 0 10px;
}

div#header form.searchForm input.term {
width: 126px;
padding: 4px 4px 0 4px;
}

ul#accessibility {
width: auto;
float: right;
clear: right;
padding: 16px 0 0 0;
background: transparent url(/images/style/border/horizontalright.gif) repeat-x;
text-align: right;
}

ul#accessibility li {
white-space: nowrap;
display: inline;
padding: 0 8px;
}

	/*Topnavi*/

ul#topNavi {
clear: both;
float: left;
width: 988px;
height: 60px;
background: transparent url(/images/style/header_muistimarkkinat.gif) no-repeat 0 -162px;
}

ul#topNavi li {
float: left;
height: 60px;
}

ul#topNavi li.extra {
float: right;
}

ul#topNavi li span {
display: block;
float: left;
height: 46px;
padding: 14px 6px 0 8px;
}

ul#topNavi li.first {
padding: 0 0 0 22px;
}

ul#topNavi li.first.selected {
margin: 0 -4px 0 0;
background: transparent url(/images/style/topnavi_muistimarkkinat/selectedfirst.gif) no-repeat;
}

ul#topNavi li.first.selected span {
padding: 14px 10px 0 8px;
}

ul#topNavi li.selected {
margin: 0 -4px;
background: transparent url(/images/style/topnavi_muistimarkkinat/selected.gif) no-repeat;
}

ul#topNavi li.selected span {
padding: 14px 10px 0 12px;
background: transparent url(/images/style/topnavi_muistimarkkinat/selectedright.gif) no-repeat top right;
}

ul#topNavi li.last span {
padding: 14px 30px 0 12px;
}

/*
ul#topNavi li.last.selected {
margin: 0;
background: transparent url(/images/style/topnavi/selected.gif) no-repeat;
}

ul#topNavi li.last.selected span {
background: transparent url(/images/style/topnavi/selectedlast.gif) no-repeat top right;
}
*/

	/*/Topnavi*/

div#titleplaceholder {
clear: both;
width: 988px;
height: 20px;
background: transparent url(/images/style/titleplaceholder.gif) no-repeat;
}

div#title {
clear: both;
width: 960px;
height: 196px;
padding: 13px 14px 21px 14px;
background: transparent url(/images/style/title.gif) no-repeat;
}

div#title p img {
display: block;
width: 960px;
height: 196px;
}

div#content {
clear: both;
float: left;
width: 988px;
background: transparent url(/images/style/content_bottom.gif) no-repeat bottom left;
}

div#sidebar {
float: left;
width: 217px;
padding: 0 0 75px 37px;
min-height: 303px;
background: transparent url(/images/style/content.gif) no-repeat top left;
}

div#sidebarContent {
padding: 24px 0 24px 0;
background: transparent url(/images/style/border/verticaltop.gif) repeat-y 100% 2px;
}

div#templateContent {
float: right;
width: 660px;
min-height: 253px;
padding: 0 40px 50px 34px;
background: transparent url(/images/style/content.gif) no-repeat top right;
}

div#templateContent.subpage, div#sidebar.subpage {
background-image: url(/images/style/subpagecontent.gif);
}

div#footer {
clear: both;
width: 932px;
height: 167px;
padding: 12px 14px 0 42px;
background: transparent url(/images/style/footer_muistimarkkinat.gif) no-repeat top left;
color: #fff;
line-height: 1.5em;
}

div#footer p.rahis {
float: left;
padding: 0 40px 0 0;
}

div#footer p.rahis, div#footer p.rahis img {
width: 92px;
height: 92px;
}

div#footer div.section {
float: left;
width: 170px;
height: 64px;
padding: 20px 0 0 25px;
}

p#reference {
width: 932px;
clear: both;
padding: 16px 0 0 0;
text-align: right;
}

/*Templates*/

div.container {
clear: both;
}

div.container.equal {
clear: both;
}

div.left {
float: left;
}

div.right {
float: right;
}

div.container div.left {
width: 400px;
}

div.container div.right {
width: 215px;
}

div.container.equal div.left, div.container.equal div.right {
width: 315px;
}

	/*Forum, comments*/

div.messages {
border-bottom: 1px solid #f5b3a2;
line-height: 1.5em;
}

div.messages div.container {
border-top: 1px solid #f5b3a2;
}

div.messages div.even {
background: #f7f7f7;
}

div.messages div.postinfo {
float: right;
padding: 10px;
color: #666;
}

div.messages div.postinfo p {
text-align: right;
}

div#templateContent div.messages div.postinfo p, div#templateContent div.messages div.userinfo p, div#templateContent div.messages div.userinfo dt {
padding: 0;
}

div.messages div.userinfo {
padding: 10px 10px 0 10px;
color: #666;
}

div.messages div.even div.userinfo {
}

div.messages div.even div.postinfo {
}

div.messages div.userinfo p {
float: left;
width: 68px;
height: 65px;
padding: 0 0 10px 0;
}

div.messages div.userinfo dl {
float: left;
padding: 0 0 10px 0;
}

div.messages div.userinfo p img {
max-width: 54px;
max-height: 54px;
padding: 0 14px 0 0;
}

div.messages p.document {
margin: -10px 0 10px 0;
text-align: right;
font-weight: bold;
background: transparent url(/images/style/border/horizontalleft.gif) repeat-x bottom left;
}

div.messages div.content {
clear: both;
margin: 0 10px 0 10px;
padding: 10px 0 20px 0;
background: transparent url(/images/style/border/horizontalleft.gif) repeat-x;
}

div.messages dl.document {
float: right;
width: 160px;
margin: -7px 2px 0 20px;
padding: 20px 20px 10px 20px;
background: transparent url(/images/style/border/verticaltop.gif) repeat-y top right;
}

div#templateContent div.messages dl.document dt {
display: none;
}

div.forumcontext {
clear: both;
padding: 10px 0;
text-align: right;
}

div.forumtools {
clear: both;
padding: 10px 0;
text-align: right;
margin: 20px 0 0 0;
padding: 10px 0 10px 5px;
background: transparent url(/images/style/border/horizontalleft.gif) repeat-x;
}

div#templateContent div.forumtools form {
width: auto;
}

div.forumtools span.button, div.forumcontext span.button {
margin: 0 5px 0 0;
}

div.forumonlineinfo {
clear: both;
padding: 35px 5px 10px 5px;
background: transparent url(/images/style/border/horizontalleft.gif) repeat-x 0 20px;
}

p.further {
text-align: right;
}

div#templateContent p.images {
padding: 25px 0 15px 0;
}

p.images a {
margin: 0 15px;
}

	/*Fixed templates*/

div.templateFull {
float: left;
width: 660px;
}

div.templateLeft {
float: left;
width: 400px;
}

div.templateRight {
float: right;
padding: 79px 5px 0 0;
width: 215px;
}

div.templateEqualLeft {
float: left;
width: 315px;
}

div.templateEqualRight {
float: right;
width: 315px;
}

div.templateInfobox {
background: #eee url(/images/style/box_bottom.gif) no-repeat bottom left;
line-height: 1.45em;
}

div.templateInfobox div.content {
width: 185px;
margin: 0 0 20px 0;
padding: 15px 15px;
background: transparent url(/images/style/box_top.gif) no-repeat;
color: #595959;
}

/*Firstpage*/

div.templateFirstpage div.left {
width: 345px;
}

div.templateFirstpage div.right {
width: 265px;
padding: 75px 0 0 0;
line-height: 1em;
}

div#templateContent div.lift div.left {
width: 202px;
padding: 0 18px 0 0;
}

/*eAdmin login*/

form#eadminLogin {
width: 210px;
height: 140px;
padding: 20px 70px 0 20px;
background: transparent url(/images/style/login.gif) no-repeat;
}

form#eadminLogin p {
height: 30px;
clear: both;
}

form#eadminLogin input {
display: block;
float: left;
}

form#eadminLogin label {
width: 80px;
margin: 0 0 0 5px;
line-height: 21px;
overflow: hidden;
text-transform: uppercase;
font-size: 10px;
font-weight: bold;
color: #666;
}

form#eadminLogin input#form_username, form#eadminLogin input#form_passwd {
height: 17px;
width: 94px;
padding: 1px 3px 0 3px;
}form, label, fieldset, div#header input, div#sidebar form.userpanel input {
margin: 0;
padding: 0;
border: 0;
text-align: left;
}

div#templateContent form {
float: left;
width: 100%;
}

div#templateContent div.templateInfobox form {
float: none;
}

legend {
text-transform: uppercase;
font-weight: bold;
color: #888;
background: #fff;
padding: 0 5px;
margin: 0 0 0 10px;
}

div#templateContent fieldset {
margin: 20px 0 0 0;
padding: 10px 0;
background: transparent url(/images/style/border/horizontalleft.gif) repeat-x;
}

input, select, option, textarea {
margin: 0;
}

textarea, option, input[type="text"], input[type="password"] {
color: #444;
}

textarea {
width: 90%;
height: 11.2em;
}

textarea.short {
width: 20em;
height: 5.6em;
}

input[type="text"], input[type="password"] {
font-family: sans-serif;
font-size: 1em;
}

div#templateContent form dl dt {
clear: both;
float: left;
width: 28%;
padding: 8px 0 0 0;
text-align: right;
}

div#templateContent form dl dd {
clear: right;
padding: 8px 0 0 30%;
}

div#templateContent div.templateInfobox form dl dt, div#templateContent div.templateInfobox form dl dd {
clear: both;
float: none;
width: auto;
text-align: left;
}

div#templateContent div.templateInfobox form dl dd {
padding: 0;
}

div#templateContent div.templateInfobox form p {
padding-left: 0;
}

div#sidebar form dl dt, div#sidebar form p {
padding: 5px 0 0 0;
}

form dl dd img {
float: right;
}

div.templateInfobox form dl dd img {
float: none;
padding: 0.2em 0.4em;
}

div#templateContent form p {
clear: both;
padding-left: 30%;
}

label.required {
padding-left: 12px;
background: transparent url(/images/style/required.gif) no-repeat 0 0.2em;
}

div.muistimarkkinat label.required {
background-image: url(/images/style/required_muistimarkkinat.gif);
}

textarea, select, option, input {
font-family: sans-serif;
line-height: 1.4em;
font-size: 1em;
}

div#header input {
font-size: 11px;
background: none;
color: #888;
}

div#sidebar form.userpanel {
padding: 0 0 20px 0;
background: transparent url(/images/style/border/horizontalleft.gif) repeat-x bottom left;
}

div#sidebar form.userpanel p {
padding: 1.5em 0 0.5em 0;
}

div#sidebar form.userpanel input {
height: 21px;
line-height: 19px;
padding: 0 8px 2px 20px;
background: transparent url(/images/style/button_right.gif) no-repeat top right;
color: #fff;
display: block;
}

div#sidebar form.userpanel span.form {
padding: 0;
margin: 0;
}

div#sidebar form.userpanel input[type="hidden"] {
height: auto;
padding: 0;
background: transparent;
}

input.short {
width: 1.2em;
padding: 0 0.3em;
text-align: right;
}

div#sidebar form.userpanel span.button {
float: left;
display: block;
margin: 0 6px 0 0;
}/*Page style*/

body {
font-size: 11px;
font-family: sans-serif;
line-height: 1.5em;
}

body {
color: #444;
}

div#content {
font-family: "Arial", sans-serif;
line-height: 1.6em;
}

th, dt, em {
font-weight: bold;
font-style: normal;
}

.inform {
font-weight: bold;
text-transform: uppercase;
font-size: 1.1em;
}

em.distinguish {
font-weight: normal;
font-style: italic;
}

div#footer div.section em {
font-weight: normal;
font-style: normal;
text-transform: uppercase;
}

.secondary {
color: #666;
}

/*Navigation*/

ul#topNavi {
text-transform: uppercase;
font-weight: bold;
text-align: center;
color: #fff;
}

div#sidebar ul {
clear: both;
}

div#sidebar ul li img {
padding: 10px 0 4px 16px;
}

div#sidebar ul ul ul li, div#sidebar ul ul ul li.selected {
padding: 0 0 0 16px;
background: transparent url(/images/style/submenu_li.gif) no-repeat 18px 10px;
}

div#sidebar ul ul ul li img {
padding: 0 0 0 16px;
}

div#sidebar ul li.selected {
background: transparent url(/images/style/selected.gif) no-repeat 0 19px;
}

li.selected a, li.selected ul li.selected a, li.selected ul li.selected ul li.selected a, li.selected ul li.selected ul li.selected ul li.selected a {
}

li.selected ul a, li.selected ul li.selected ul a, li.selected ul li.selected ul li.selected ul a {
}

/*Tables*/

table, tr, td {
vertical-align: top;
line-height: 1.5em;
}

th {
vertical-align: bottom;
line-height: 1.4em;
}

table td.info, table th.info {
text-align: right;
}

table.discreet td {
padding: 0.4em 0.6em;
}

table.color td {
padding: 0.8em 1em;
}

table.discreet th {
padding: 1.4em 0.6em 0.4em 0.6em;
}

table.color th {
padding: 1.8em 1em 0.4em 1em;
}

table.color td, table.color th, table.discreet th {
border-bottom: 1px solid #f5b3a2;
}

table.color tr.even td {
background: #f7f7f7;
}

table.color tr.heading td {
padding-bottom: 0;
border: 0;
}

table tr.footer td {
border: 0;
font-weight: bold;
}

div.templateInfobox table td, div.templateInfobox table th {
border-color: #ddd;
}

table tr.footer td a {
font-weight: normal;
}

table.discreet tr.footer td {
border-top: 1px solid #f5b3a2;
}

div.templateInfobox table.color th, div.templateInfobox table.color td {
padding: 0.4em 0;
}

div.templateInfobox table.color th.info, div.templateInfobox table.color td.info {
padding: 0.4em 0 0.4em 0.4em;
}

	/*Kalenteri*/

table.calendar {
width: 182px;
}

table.calendar td, table.calendar th {
text-align: center;
}

table.calendar td {
width: 26px;
padding: 0.2em 0 0.1em 0;
color: #888;
}

table.calendar td.today {
font-weight: bold;
font-style: normal;
color: #666;
background: #fff;
}

table.calendar th {
padding: 0 0 0.5em 0;
color: #666;
}

div#sliderContainer {
padding: 10px 0 0 0;
}

/*Bullets*/

div#templateContent ol.searchResults {
padding: 1em 0;
}

div#templateContent ol.searchResults li {
padding: 0.5em 0;
}

div#templateContent ul li {
padding-left: 30px;
background: transparent url(/images/style/li.gif) no-repeat 15px 0.55em;
}

div#templateContent div.templateInfobox ul li {
padding-left: 15px;
background: transparent url(/images/style/li.gif) no-repeat 2px 0.55em;
}

div#templateContent div.infobox ul li {
background-image: url(/images/style/li_infobox.gif);
}

div#templateContent ul.circle {
list-style: circle;
}

div#templateContent ul.square {
list-style: square;
}

div#templateContent ul.disc {
list-style: disc;
}

div#templateContent ol.order_1 {
list-style: decimal;
}

div#templateContent ol.order_a {
list-style: lower-alpha;
}

div#templateContent ol.order_A {
list-style: upper-alpha;
}

div#templateContent ol.order_i {
list-style: lower-roman;
}

div#templateContent ol.order_I {
list-style: upper-roman;
}

/*Lists*/

div#templateContent ul.pagemenu {
float: right;
padding: 0.5em 1em;
}

div#templateContent ul.pagemenu li {
display: inline;
padding: 0 3px;
}

div#main div#templateContent ol li, div#main div#templateContent ul.disc li, div#main div#templateContent ul.square li, div#main div#templateContent ul.circle li, div#main div#templateContent ul.sitemap li {
padding-left: 0;
background: none;
margin-left: 30px;
}

div#templateContent ul.sitemap li {
padding: 0.1em 0;
font-weight: bold;
}

div#templateContent ul.sitemap li ul ul li {
font-weight: normal;
}

div#templateContent dl.document {
line-height: 1.3em;
}

div#templateContent dl.document dt {
padding: 0.2em 0 0.2em 1em;
background: transparent url(/images/style/border/verticalbottom.gif) repeat-y bottom left;
}

div#templateContent dl.document dd {
padding: 0 0 0.2em 1em;
color: #666;
background: transparent url(/images/style/border/verticaltop.gif) repeat-y 0 2px;
}

div#templateContent div.templateInfobox dl.document {
margin: 0;
padding: 0;
}

div#templateContent div.templateInfobox dl.document dt {
padding: 0.2em 0 0 0;
line-height: 1.3em;
background: transparent;
}

div#templateContent div.templateInfobox dl.document dd {
padding: 0;
background: transparent;
}

/*Headings*/

div#sidebar h1 {
height: 80px;
width: 172px;
padding: 0 0 0 45px;
background: transparent url(/images/style/border/horizontalright.gif) repeat-x bottom right;
position: relative;
}

div#sidebar h1 img {
display: block;
position: absolute;
bottom: 0;
margin: 0 0 15px 0;
}

div#templateContent h1 {
margin: 0 0 20px 0;
padding: 32px 0 16px 0;
background: transparent url(/images/style/border/horizontalleft.gif) repeat-x bottom left;
}

div#templateContent div.lift h1 {
margin: 0;
}

div#templateContent div.templateRight div.templateInfobox h1, div#templateContent div.templateRight div.templateInfobox h2 {
margin: 0 0 10px 0;
padding: 0 0 6px 0;
background: transparent url(/images/style/border/horizontalleft.gif) repeat-x bottom left;
}

div#templateContent div.templateRight div.templateInfobox h2 {
margin: 0;
}

div#templateContent div.templateRight h1, div#templateContent h2 {
margin: 0;
padding: 0;
background: transparent;
font-size: 2em;
}

div#templateContent div.templateRight h1 {
padding: 0 0 10px 0;
}

/*Content general*/

div#templateContent p {
padding: 0.5em 0;
}

div#footer p {
color: #fff;
}

.separator {
margin: 0 0.1em;
}

	/*Buttons*/

span.button {
display: inline-block;
vertical-align: middle;
max-width: 300px;
height: 21px;
background: transparent url(/images/style/button_left.gif) no-repeat;
}

span.button a {
display: block;
padding: 0 8px 0 20px;
height: 21px;
line-height: 20px;
background: transparent url(/images/style/button_right.gif) no-repeat top right;
color: #fff;
text-decoration: none;
}

div.templateInfobox span.button {
margin: 15px 0 0 0;
}

span.rss {
background-image: url(/images/style/button_left_rss.gif);
}

span.rss a {
padding: 0 6px;
background-image: url(/images/style/button_right_rss.gif);
}

	/*Definition lists*/

div#templateContent dl dt {
padding: 1em 0 0 0;
}

div#templateContent div.lift dl {
margin: 0 0 15px 0;
padding: 0 20px 15px 0;
line-height: 1.5em;
background: transparent url(/images/style/border/verticaltop.gif) repeat-y 100% 2px;
}

div#templateContent div.lift dl dt {
padding: 1.6em 0 0 15px;
background: transparent url(/images/style/selected.gif) no-repeat 0 2em;
font-weight: normal;
}

div#templateContent div.lift dl dd {
padding: 0 0 0 15px;
}

/*Images*/

div#templateContent img {
vertical-align: middle;
}

/*Links*/

a {
color: #eb6846;
text-decoration: none;
}

table.calendar a {
font-weight: bold;
}

div#sidebar ul a {
color: #e33422;
}

a:hover {
text-decoration: underline;
}

div#footer div.section a {
display: inline-block;
padding: 0 0 0 12px;
background: transparent url(/images/style/linkrow_footer_muistimarkkinat.gif) no-repeat 0 0.45em;
color: #fff;
}

a.linkRow {
display: inline-block;
padding: 0.5em 0 0 30px;
background: transparent url(/images/style/linkrow.gif) no-repeat 10px 1em;
}

div.templateInfobox a.linkRow {
padding: 0.5em 0 0 25px;
background-image: url(/images/style/linkrow_infobox.gif);
background-position: 5px 1em;
}

table td a.linkRow {
padding: 0.5em 0 0 28px;
background-position: 8px 1em;
}

table td.color a.linkRow, table td.discreet a.linkRow {
display: inline;
padding: 0 0 0 28px;
background-position: 8px 0.4em;
}

a.edit {
color: #999;
margin: 0 1em 0 0;
padding: 0 0 0 10px;
background: transparent url(/images/style/selected.gif) no-repeat 0 0.3em;
}

div.postinfo a.edit {
margin: 0 0 0 1em;
}

/*Site specific*/

div.muistimarkkinat ul#topNavi li.extra {
background: transparent url(/images/style/topnavi_external.gif) no-repeat 0 26px;
}

div.muistimarkkinat table.color td, div.muistimarkkinat table.color th, div.muistimarkkinat table.discreet th {
border-bottom-color: #91a0ec;
}

div.muistimarkkinat a, div.muistimarkkinat div#sidebar ul a {
color: #4a5aab;
}

div.muistimarkkinat div#templateContent ul li {
background-image: url(/images/style/li_muistimarkkinat.gif);
}

div.muistimarkkinat div#footer div.section4 a {
padding-left: 0;
background: transparent;
}

div.muistimarkkinat div#footer div.section4 img {
padding-top: 5px;
}