/* Start of CMSMS style sheet 'etusivu' */
* {
margin:0;
padding:0;
}


body {
	text-align: left;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 75.01%;
	line-height: 1em;
        margin: 6em; 
}

div {
	font-size: 1em;
}

img {
	border: 0;
}

a, a:link a:active {
	text-decoration: underline;
	background-color: inherit;
	color: #18507C;
}
a:visited {
	text-decoration: underline;
	background-color: inherit;
	color: #18507C;

}

a:hover {
	text-decoration: none;
	background-color: inherit;
	color: #385C72;
}

body {
	margin: 0;
	padding: 0;
	background: #fff url(uploads/CMSMSdefault-1.6.6/body1.png) repeat-x left top;
}
div#wrap {

width: 80em;
	margin: 1em auto;
	background: #fff;
	color: black;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}
div#header {
	height: 150px;
	margin: 0;
	padding: 0;
}

div#header h1 a {
	background: url(uploads/header.jpg) no-repeat left top;
	display: block;
	height: 150px;
	text-indent: -999em;
	text-decoration: none;
}
div#header h1 {
	margin: 0;
	padding: 0;
	line-height: 0;
	font-size: 0;
	background: url(uploads/header.jpg) no-repeat left top;
}
div#header h2 {
	float: right;
	line-height: 1.2em;
	font-size: 1.5em;
	margin: 35px 65px 0px 0px;
	color: #f4f4f4;
}

div#header p {
	float: right;
	line-height: 1.0em;
	font-size: 1.0em;
	margin: 35px 65px 0px 0px;
	color: #f4f4f4;
}

div.breadcrumbs {
	padding: 1em 0em 1em 1em;
	font-size: 90%;
	margin: 0px;
	background: url(uploads/palkkiy.png) repeat bottom;
}
div.breadcrumbs span.lastitem {
	font-weight: bold;
}
div#search {
	float: right;
	width: 27em;
	text-align: right;
	padding: 0.5em 0 0.2em 0;
	margin: 0 1em;
}

input.search-button {
	border: 1px solid #ccc;
	height: 22px;
	width: 53px;
	margin-left: 5px;
	padding: 0px 2px 2px 0px;
	cursor: pointer;
}


div#menukuvat {

float:right;
margin-top: 12px;
margin-right: 15px;
color: #fff;
background-color: #243135;

}

#menukuvat img
{  border-style: none;
}

div#content {
  margin: 0.3em auto 1em 1em;
  min-height:250px;
  height:auto !important;

}

div#vasen {
float: left;
width: 23%;
margin-top: 10px;
margin-left: 5px;

}

div#keski {
float: left;
width: 54.8%;
margin: 0 0px;
padding: 10px 15px;
}

div#oikea {
float: left;
width: 16.6%;
margin-top: 10px;
margin-left: 2px;
}

div#footer {
clear: both;
height: 12px;
font-size: 0.9em;
background: url(uploads/footer.png) repeat-x;
padding: 0.9em 0.9em 0.9em 0.9em;
}

div#footer a, a:link a:active {
text-decoration: none;
}
div#footer a:hover {
	color: #385C72;
text-decoration: underline;
}

div.hr {
	height: 1px;
	padding: 1em;
	border-bottom: 1px dotted black;
	margin: 1em;
}


/********************CONTENT STYLING*********************/
/* HEADINGS */


div#keski p {

font-size: 95%;

}


div#keski table {

font-size: 95%;

}


div#content h1 {
/* font size for h1 */
	font-size: 2em;
	line-height: 1em;
	margin: 0;
}
div#keski h2 {
	color: #294B5F;
/* font size for h2 the higher the h number the smaller the font size, most times */
	font-size: 1.5em;
	text-align: left;
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px;

/* set borders around header */
	border-bottom: 0.1em solid #899092; 

/* alkuperäinen otsikon väri: 899092 */
	border-left: 0.7em solid #899092;
/* a larder than h1 line height */
	line-height: 1.5em;
/* and some air under the border */
	margin: 0 0 0.5em 0;
}

div#keski h5 {

	color: #294B5F;
/* font size for h2 the higher the h number the smaller the font size, most times */
	font-size: 1.5em;
	text-align: left;
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px;

/* set borders around header */
	border-bottom: 0.1em solid #899092; 

/* alkuperäinen otsikon väri: 899092 */
	border-left: 0.7em solid #899092;
/* a larder than h1 line height */
	line-height: 1.5em;
/* and some air under the border */
	margin: 0 0 0.5em 0;
}


div#oikea h2 {
	color: #294B5F;
/* font size for h2 the higher the h number the smaller the font size, most times */
	font-size: 1.2em;
	text-align: center;
/* some air around the text */
	padding-left: 0.15em;
	padding-right: 0.15em;
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px solid #ccc; 
/* alkuperäinen otsikon väri: 899092 */
	border-left: 0.8em solid #ccc;
	border-right: 0.8em solid #ccc;
/* a larder than h1 line height */
	line-height: 1.5em;
/* and some air under the border */
	margin: 0 0 0.5em 0;
}

div#vasen h2 {
	color: #294B5F;
/* font size for h2 the higher the h number the smaller the font size, most times */
	font-size: 1.2em;
	text-align: left;
/* some air around the text */
	padding-left: 0.5em;
	padding-right: 0.15em;
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px solid #ccc; 
/* alkuperäinen otsikon väri: 899092 */
	border-left: 0.8em solid #ccc;
	border-right: 0.8em solid #ccc;
/* a larder than h1 line height */
	line-height: 1.5em;
/* and some air under the border */
	margin: 0 0 0.5em 0;
}
div#content h3 {
	color: #294B5F;
	font-size: 1.3em;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
}
div#content h4 {
	color: #294B5F;
	font-size: 1.3em;
	line-height: 1.5em;
	margin: 5px 0 0.5em 0;
	border-bottom: 1px solid #ccc;
}
h5 {
	color: #294B5F;
	font-size: 3.1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
h6 {
	color: #294B5F;
	font-size: 1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
/* END HEADINGS */
/* TEXT */
p {
/* default p font size, this is set different in some other divs */
	font-size: 1em;
/* some air around p elements */
	margin: 0 0 1.5em 0;
	line-height: 1.4em;
	padding: 0;
}
blockquote {
	border-left: 10px solid #ddd;
	margin-left: 10px;
}
strong, b {
/* explicit setting for these */
	font-weight: bold;
}
em, i {
/* explicit setting for these */
	font-style: italic;
}
/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
/* css-3 */
	white-space: pre-wrap;
/* Mozilla, since 1999 */
	white-space: -moz-pre-wrap;
/* Opera 4-6 */
	white-space: -pre-wrap;
/* Opera 7 */
	white-space: -o-pre-wrap;
/* Internet Explorer 5.5+ */
	word-wrap: break-word;
	font-family: "Courier New", Courier, monospace;
	font-size: 1em;
}
pre {
/* black border for pre blocks */
	border: 1px solid #000;
/* set different from surroundings to stand out */
	background-color: #ddd;
	margin: 0 1em 1em 1em;
	padding: 0.5em;
	line-height: 1.5em;
	font-size: 90%;
}
/* Separating the divs on the template explanation page */
div.templatecode {
	margin: 0 0 2.5em;
}
/* END TEXT */
/* LISTS */
/* lists in content need some margins to look nice */
div#keski ul,
div#keski ol,
div#keski dl {
	font-size: 1.0em;
	line-height: 1.4em;
	margin: 0 0 1.5em 0;
}
div#keski ul li,
div#keski ol li {
	margin: 0 0 0.25em 3em;
}
/* definition lists topics on bold */
div#keski dl {
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px solid #c0c0c0;
}
div#keski dl dt {
	font-weight: bold;
	margin: 0 0 0 1em;
}
div#keski dl dd {
	margin: 0 0 1em 1em;
}
/* END LISTS */
/* End of 'etusivu' */

