﻿body
{
	margin: 0;
	padding : 0;
	background-color: #F4F4ED;
	font-family: Verdana, Trebuchet MS, Arial, Helvetica, sans-serif;
	font-size: 101%;
	color: #333;
	width:auto;
	line-height: 1.1em;
}
#container 
{
    border: 0;
    margin: 0;
}
a
{
	color: #5A5A51;
	text-decoration: none;	
}

p a:hover 
{
	color: #5A5A51;
	border-bottom: 1px dotted gray;
}

a:active 
{
	color: #5A5A51;
}

h1 
{
	font-size: 1.3em;
	color:#41413F;
}

h2 
{
	font-size: 1.2em;
	color:#41413F;
}

h3 
{
	font-size: 1.0em;
	color:#41413F;
}

h4 
{
	font-size: 0.9em;
	margin-top: 2px;
	margin-bottom: 2px;
	color:#41413F;
}

h5
{
	font-size: 0.8em;
	margin-top: 2px;
	margin-bottom: 2px;
	border-bottom: solid 1px #ccc;
}
p, li, td
{
	font-size: 0.7em;
}
select, input, textarea
{
	font-family: Verdana, Trebuchet MS, Arial, Helvetica, sans-serif;
	font-size: 0.8em;
}

img
{
	border: 0;
}
address
{
    font-size: 0.8em;
}
table 
{
	margin-left: 3px;

}

#header
{
	margin: 0;
	background-color: #000;
	height: 90px;
}
#logo 
{
    width: 434px;
    float: left;
}
#logo img
{
    margin-left: 200px;
    margin-top: 24px;
}
#title
{
	color: #fff;
	font-size: 2em;
	font-weight: bold;
	margin-bottom: 5px;
}

#mainKuva
{
    height: 235px;
    width: 342px;
    position: absolute;
    top: 90px;
    left: 90px;
    border: 1px solid black;
}
#language
{
	float:right;
	width: 120px;
	margin-bottom: 0px;
	margin-top: 70px;
}
#nav
{
	width: auto;
	margin-left: 0px;
	margin-bottom: 0px;
	margin-top: 75px;
	float: left;
}

#nav ul
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#nav li
{
	margin: 0;
	color:#97EF13;
	display: inline;
	padding: 1px;
}

#nav a
{
    color :#FFF;
	font-size: 0.9em;
	padding: 8px 8px 5px 8px;
	margin: 0, 0, 2, 0;
	font-weight: bold;
}

#nav a:hover
{
	background-color: #1D1D1D;
	text-decoration: none;
	color:#97EF13;
	border-bottom: 0;
}

#nav a.selected
{
	background-color: #1D1D1D;
	color:#97EF13;
}
#nav li a.selected
{
    background-color: #1D1D1D;
    
}

#nav ul ul
{
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#nav ul ul li a
{
	color:#97EF13;
}


#content
{
	margin:0;
	padding:0;
}

#main
{
	margin-left: 440px;
	margin-right: 0;
	margin-top: 0;
	padding-left: 15px;
	padding-top: 15px;
 
}
#sopimustiivistelma
{
	border: solid 1px gray;
	padding: 10px;
}

#side1, #rakelogin
{
	float: left;
	width: 255px;
	margin-left: 178px;
	margin-top: 75px;
}

#lomake th
{
	text-align: left;
	font-weight: normal;
	font-size: 0.7em;
	padding-right: 5px;
	height: 15px;
	width: 180px;

}
#lomake td
{
	height: 15px;

}
#messagebox
{
    color: Red;
    font-weight: bold;
    text-align: center;
    width: 40%;
    padding: 5px;
    border: solid 1px grey;
}

#rakeinfoteksti, #raketulokset
{
    margin-left: 450px;
    margin-top: 0;
    padding-left: 15px;
	padding-top: 15px;
}
#raketulokset
{
    margin-top: 0;
    padding-top: 0;
}

.section
{
	margin: 0 5px 5px 5px;
	padding: 5px 1px 1px 1px;
}

.section h3
{
	margin-top: 0px;
	margin-bottom: 4px;
}

.tbl
{
	border: 1px solid #eee;
}

.tblvalue
{
	font-weight: bold;
}
.articlelist 
{
	list-style-image: url(../images/uutispallukka.jpg);
	list-style-position: outside;
	color: #5A5A51;
	font-size: 0.8em;
	margin-bottom: 5px;
	margin-left: 0px;
}
.articlelist ul 
{
	padding-bottom: 2px;
	margin-left: 0px;
}
.articlelist li, .articlelist li a, .articlelist li a:hover
{
	font-weight: bold;
	font-size: 1.0em;
	padding: 0;
	color: #000000;
	text-decoration: none;
}
.articlelist p a
{
	font-size: 1.0em;
	color: #5A5A51;
}
.articlelist p
{
	color: #5A5A51;
	font-weight: normal;
	font-size: 0.8em;
	margin-top: 3px;
}
.ArchiveLink
{
	color: #5A5A51;
	font-size: 0.8em;
	margin-left: 10px;
	font-weight: bold;
}
.articlesub
{
	color: #5A5A51;
	font-size: 0.8em;

}
.articlelist span 
{
	font-size: 0.8em;
	font-weight: bold;
}
.articlesub span
{
	margin-right: 6px;
	margin-bottom: 4px;
}

.articlesub a
{
	margin-right: 6px;
}


.articlecontent
{
	margin-left: 0;
	margin-bottom: 0;
	margin-right: 0;
	margin-bottom: 10px;
	padding-left: 25px;
	padding-top: 13px;
}

.articlecomments
{
	margin: 0px;
	padding: 0;
	list-style-type: none;
}

.articlecomments li
{
	margin-left: 0;
	margin-bottom: 0;
	margin-right: 0;
	margin-bottom: 10px;
	padding: 0;
	border-bottom: solid 1px #eee;
}

.articleerror
{
	color: #c00;
}

.languageswitcher ul
{
	padding: 0;
	margin: 0;
	list-style: none;
}

.languageswitcher li
{
	display: inline;
	padding: 2px;
	margin-right: 3px;
}
.saittilista 
{
	margin-left: 30px;
	margin-top: 30px;
}
.saittilistaHeader, span .saittilistaHeader
{
	color:#41413F;
	font-size: 0.9em;
	padding-right: 20px;
}

.tarjouslistaHeader
{
	background-image: url(../images/tarjouksetTausta.jpg);
	width: 260px;
	height: 43px;
	color:#97EF13;
	text-align: left;
	text-transform: uppercase;
	padding-left: 10px;
}
.tarjouslistaItem
{
	background-image: url(../images/tarjousTausta.jpg);
	width: 183px;
	height: 37px;
	padding-left: 5px;
	color:#97EF13;
}
.tarjouslistaItem a:hover
{
	border-bottom: 0;
	text-decoration: none;
	border-bottom: 0;
}
.tarjouslista 
{
	padding: 0;
	border: 0;
	margin: 0;
}
.tarjouslistapros
{
	 color:#97EF13;
	 font-size: 1.5em;
}
.tarjouslistaNimi
{
	padding-left: 8px;
	font-size: 1.5em;
	color: #ACACAC;
}
.uutislista 
{
	list-style-image: url(../images/uutispallukka.jpg);
	list-style-position: outside;
	color: #5A5A51;
	font-size: 0.8em;
	margin-bottom: 5px;
}
.uutislista ul 
{
	padding-bottom: 2px;
}
.uutislista li
{
	font-weight: bold;
	font-size: 1.0em;
	padding: 0;
}
.uutislista p
{
	color: #5A5A51;
	font-weight: normal;
	font-size: 0.8em;
	margin-top: 2px;
	padding-bottom: 5px;
}

.error
{
	color: #c00;
}

.pager
{
	font-size: 110%;
}

.pager a
{
	margin-left: 5px;
	margin-right: 5px;
}

.searchresults
{
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 20px;
	padding: 0;
	list-style-type: none;
}

.searchresults .sub
{
	font-size: 90%;
	color: #090;
}

.searchresults li
{
	margin-top: 5px;
	margin-bottom: 5px;
}

.submenu
{
	list-style-type: none;
	margin: 0;
	padding: 3px;
}

.submenu li
{
	margin: 1px;
}

.submenulink
{
	font-size: 0.85em;
	color: #600;
}
/* Omat muutokset loppuun, jotta overridaavat cms:n omat tyylit */
#tiivistelma
{
    height:170px;
    background-color: #1d1d1d;
    border-bottom: 1px solid grey;  
    margin-top: 0px;
}
#tiivistelmaTeksti
{
    margin-left: 445px; 
    color: #ACACAC;
}
#tiivistelmaTeksti h3
{
    font-size: 1.0em;
    font-weight: normal;
    padding-top: 10px;
    padding-left: 10px;
    color: #97EF13;
}
#tiivistelmaTeksti p
{
    color: #ACACAC;
    padding-top: 3px;
    padding-left: 10px;
    font-size: 0.7em;
    line-height: 1.7em;
}

