/* Start of CMSMS style sheet 'lvipalvelut' */
* {margin:0;padding:0;}

a img {border:0;}
dfn {display:none;}
.clear {clear:both;}
p {margin:0.8em 0 0.8em 0;}

/* Fonttimääritykset ym perusmääritykset */

body {font-size:75%;font-family:Tahoma, Arial, sans-serif;line-height:1.3em;background: transparent url(images/body_b.gif) top repeat-x;}

ul {padding:0.5em 0 1em 1em;list-style-type:none;line-height:1.6em;}

li { background: transparent url(images/list_b.gif) left center no-repeat;padding-left:20px;font-weight:bold;color:#444444;}

/* Perusrakenne */

#header {height:103px;width:850px;margin:0 auto 0 auto;}
	#logo img {float:left;margin:23px 0 0 14px;}
	#mainmenu {float:left;margin:64px 0 0 0; height:39px;}

#container {width:100%;background:#a09f9e  url(images/container_b.gif) bottom repeat-x;}
	#content {width:850px;margin:0 auto 0 auto;}
	#maincontent {background:#FFF url(images/maincontent_keski.gif) repeat-y;margin-top:3px;}
	#maincontent_e {margin-top:3px;}
		#maincontent_yla {width:850px;background:transparent url(images/maincontent_yla.gif) top no-repeat;}
		#maincontent_yla_e {width:850px;background: transparent url(images/index_b.jpg) no-repeat;}
			#leftbar {width:273px;float:left}
			#leipa {width:545px;float:left;margin:0 0 0 15px;}
			#leipa_e {width:380px;padding:25px 0 0 280px;overflow: auto;height:245px;float:left;}
				.breadcrumbs {font-size:0.8em;margin-bottom:5px;margin-top:5px;}
					.lastitem {font-weight:bold;}
			#ajankohtaista {width:158px;margin:10px 0 0 20px;overflow: auto;height:265px;float:left;font-size:0.9em;01:48:24 pe, joulu 21 2007}
			#ala {height:224px;margin:8px 0 3px 0;}
			   
	#maincontent_ala {margin:0 auto 0 auto;width:850px;height:19px;background: transparent url(images/maincontent_ala.gif) bottom no-repeat;margin-bottom:3px;}
	#footer {margin:0 auto 0 auto;width:792px;height:43px;padding:0 0 0 55px;background: transparent url(images/footer_b.gif) 15px no-repeat;font-size:0.9em;color:#404040;}
	#footer p {margin:0;padding:13px 0 0 0;}
	
	
/* Etusivu */

#ala1 {float:left;width:275px;height:100%;background: transparent url(images/ala1.jpg) no-repeat;}
#ala2 {float:left;width:275px;height:100%;margin-left:12px;background: transparent url(images/ala2.jpg) no-repeat;}
#ala3 {float:right;width:275px;height:100%;background: transparent url(images/ala3.jpg) no-repeat;}

#ala1 h1, #ala2 h1, #ala3 h1 {margin:16px 5px 0 10px;line-height:32px;font-size:1.5em;text-align:center;}
#ala2 h1 {margin:16px 5px 0 30px;line-height:32px;font-size:1.5em;text-align:center;}
#ala1 p, #ala2 p, #ala3 p {margin-left:70px;margin-right:10px;font-size:1em;font-weight:bold;color:#565656;line-height:1.5em }
#ala1 p span, #ala2 p span, #ala3 p span {text-align:center;display:block;margin-top:0.5em;color:#ce0206;font-weight:bold;}

/* Ylävalikko linkit*/

#mainmenu ul, #mainmenu li {float:left;list-style-type:none;padding:0;}
#mainmenu ul {line-height:33px;border-left:1px solid #cfd0d4;}
#mainmenu li {border-right:1px solid #c9c9cd;}

#mainmenu ul li a {display:block;padding:0 6px;background: transparent url(images/m_a.gif) top repeat-x;font-size:1.1em;color:#404040;font-weight:bold;text-decoration:none;}
#mainmenu ul li a:hover, #mainmenu ul li a.activeparent {display:block;padding:0 6px;background: transparent url(images/m_a_h.gif) top repeat-x;font-size:1.1em;color:#cd000a;font-weight:bold;}

#mainmenu ul li h3 {display:block;padding:0 6px;background: transparent url(images/m_a_h.gif) top repeat-x;font-size:1.1em;color:#cd000a;font-weight:bold;margin:0;}

/* Alavalikko linkit */

#leftmenu {width:218px;float:right;margin-top:10px;height:250px;}
#leftmenu ul {display:block;background: transparent url(images/leftmenu_b.gif) no-repeat;height:155px;padding:10px 0 10px 15px;}
#leftmenu ul li {background:none;padding:0;margin:0;line-height:1.5em;}
#leftmenu ul li a {display:block;border-bottom:1px solid #404040;text-decoration:none;margin:0;background: transparent url(images/leftmenu_a.gif) left center no-repeat;padding-left:13px}
#leftmenu ul li a:hover, #leftmenu ul li h3 {border-bottom:1px solid #404040;background: #ededed url(images/leftmenu_a_h.gif) left center no-repeat;color:#404040;margin:0;}

/* Linkit */

a, a:link {color:#ce0206;}
a:hover {color:#0299ce;text-decoration:;font-weight:;}
h1 a {text-decoration:none;}


/* Otsikot */

h1 {font-size:1.9em;font-weight:normal;margin:1em 0 0.8em 0;color:#d31a1d;}
h2 {font-family:Arial;font-size:1.2em;font-weight:bold;line-height:;margin:1.5em 0 0.4em 0;border-bottom:1px solid #cd000a;border-left:15px solid #cd000a;padding-left:0.3em;}
h3 {font-family:Arial;font-size:1em;font-weight:bold;line-height;margin:0.8em 0 0.4em 0.8em;color:#d31a1d;}

#leipa_e h1 {margin:0;}
#ajankohtaista h1, #ajankohtaista h2, #ajankohtaista h3 {font-size:1.3em;font-weight:bold;color:#404040;font-family:Tahoma;}


/* Lomake */
.formbuilderform div {padding-bottom:0.8em;float:left;clear:left;}
.formbuilderform label {display:block;}
.required label {font-weight:bold;color:#404040;}

.textbox {float:right;clear:none;}
.formbuilderform textarea {width:300px;height:150px;border-left:1px solid grey;border-top:1px solid grey;border-right:1px solid #606060;border-bottom:1px solid #606060;background: transparent url(images/form_b.gif) bottom repeat-x;font-family:Arial;font-size:1em;padding:1px 0;}

.formbuilderform input {width:150px;border-left:1px solid grey;border-top:1px solid grey;border-right:1px solid #606060;border-bottom:1px solid #606060;background: transparent url(images/form_b.gif) bottom repeat-x;padding:2px;font-family:Arial;font-size:1em;margin:1px 0;}

.formbuilderform input:active, .formbuilderform input:hover, .formbuilderform textarea:active, .formbuilderform textarea:hover {border:2px solid #404040;margin:0;}

.error_message {border:2px solid #cd000a;padding:5px;margin:5px;}
/* End of 'lvipalvelut' */

