/*CSS Document*/
/*Copyright: Kristityt Yhdessä ry*/
/*Created: 01.01.2008*/



/*General page layout*/

html,body{
	margin: 0;
	padding: 2em;
	font-family: "Trebuchet MS", sans-serif;
	text-align: left;
	font-size: 14px;
	line-height: 1.5em;
	background-color: #e7e2ba;
	background-image:  url(images/background.jpg);
	}

/*font in px 24*/
.otsikko1 {
	font-family: "Trebuchet MS", sans-serif;
	color:#7b211d;
	margin: 0;
	font-size: 1.714286em;
	line-height: 0.875em;
	margin-bottom: 0.875em;
	padding:0 0.208333em;
	}

		/*font in px 21*/
.otsikko2 {
	font-family: "Trebuchet MS", sans-serif;
	color:#7b211d;
	font-size: 1.5em;
	line-height: 1em;
	 margin-bottom:1em;
	 padding:0 0.238095em;
	}

	/*font in px 18*/
.otsikko3 {
	font-family: "Trebuchet MS", sans-serif;
	color:#7b211d;
	font-size: 1.285714em;
	line-height: 1.166667em;
	margin-bottom:1.166667em;
	padding:0 0.277778em;
	}

	/*font in px 16*/
.otsikko4 {
	font-family: "Trebuchet MS", sans-serif;
	color:#7b211d;
	font-size: 1.142857em;
	line-height: 1.3125em;
	margin-bottom:1.3125em;
	padding:0 0.3125em;
	}

	/*font in px 14*/
.otsikko5 {
	font-family: "Trebuchet MS", sans-serif;
	color:#7b211d;
	font-size: 1em;
	line-height: 1.5em;
	margin-bottom: 1.5em;
	padding:0 0.357143em;
	}

/*font in px 12, with line height set on 21px*/
.otsikko6 {
	font-family: "Trebuchet MS", sans-serif;
	color:#7b211d;
	font-size: 0.857143em;
	line-height: 1.75em;
	margin-bottom: 1.75em;
	padding:0 0.416667em;
	}

/*font in px 14, with line height set on 21px*/
p  {
	font-family: "Trebuchet MS", sans-serif;
	color:#000000;
	font-size: 1em;
	line-height: 1.5em;
	margin-bottom:1.5em;
	margin-top:1.5em;
	text-align:left;
	padding:0 0.357143em;
	}

a  {
	font-family: "Trebuchet MS", sans-serif;
	color:#7b211d;
	}

hr{
	height: 2px;
	border:0;
	color: #8d4b08;
	background-color: #8d4b08;
	}

form{
	font-family: "Trebuchet MS", sans-serif;
	color:#000000;
	font-size: 1em;
	line-height: 1.5em;
	margin-bottom:8em;
	margin-top:1.5em;
	text-align:left;
	padding:0 0.357143em;
	}

table{
	margin-bottom:1.5em;
	margin-top:1.5em;
	text-align:left;
	padding:0 0.357143em;
	}

/*CLASSES*/

/*Floats*/
.left{
	float:left;
	}

.right{
	float:right;
	}
/*rightblock 276px advertisement*/
/*text formatted with general settings*/
.advertisement{
	margin-top: 10px;
	padding: 0;
	width: 276px;
	border: 2px solid #7b211d;
	float: right;
	}

.advertisementindex{
   margin-top: 10px;
   padding: 0;
   width: 276px;
   float: right;
   }

.advertisement img{
	margin:2px 5px;
	}


/*Juhani blogi date*/

.date{
/*general date layout*/
	margin: 0;
	padding: 2px 5px;
	width: 330px;
	height: 20px;
	background-image:  url(images/date.jpg);
	/*Font settings*/
	color:#e7e2ba;
	font-size: 1em;
	line-height: 1.5em;
	font-family: "Trebuchet MS", sans-serif;
	}

/*General layout continued*/

#container {
	width: 850px;
	margin:0 auto;
	padding:0;
	}

#content{
	width: 850px;
	margin: 0;
	padding: 0;
	border: 5px solid #e7e2ba;
	background-image:  url(images/transparent.jpg);
	}

#header{
	margin: 0;
	padding: 0;
	height: 200px;
	background-color: transparent;
	background-image:  url(images/banner.jpg);
	}

#topnavigation{
	margin: 0;
	padding: 0;
	height: 64px;
	margin-top: 10px;
	}

/* main list menu */
#topnavigation #main{
	margin: 0;
	padding: 0;
	height: 30px;
	border-bottom: 1px solid #8d4b08;
	background-image:  url(images/navigation.jpg);
	}
/* main list specifications */
#topnavigation #main ul,{
	margin:0;
	padding: 0;
	display: inline;
	list-style-type: none;
	}

#topnavigation #main li{
	display: block;
	width:156px;
	height:100%;
	border-left: 1px solid #8d4b08;
	margin:0;
	padding:0;
	float:left;
	list-style-type: none;
	}

#topnavigation #main a:link/* main unvisited link */,
#topnavigation #main a:visited{ /* main visited link */
	margin-top:5px;
	margin-bottom:0;
	margin-left:20px;
	margin-right:0px;
	float: left;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 1.285714em;
	line-height: 1.166667em;
	color:#e7e2ba;
	text-decoration: none;
	font-weight: bold;
	}

#topnavigation #main a:hover{/* main mouse over link */
	color: #240000;
	}

#topnavigation #main a.navi1a{/* selected link*/
	color:#240000;
}
#topnavigation #sub{
	margin: 0;
	padding: 0;
	height: 30px;
	border-bottom: 1px solid #8d4b08;
	background-image:  url(images/navigation2.jpg);
	}

/* main list specifications */
#topnavigation #sub ul,
#topnavigation #sub li{
	margin:0;
	padding: 0;
	display: inline;
	list-style-type: none;
	}

#topnavigation #sub a:link/* main unvisited link */,
#topnavigation #sub a:visited{ /* main visited link */
	margin-top:5px;
	margin-bottom:0;
	margin-left:20px;
	margin-right:0px;
	float: left;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 1em;
	line-height: 1.5em;
	color:#e7e2ba;
	text-decoration: none;
	font-weight: bold;
	}

#topnavigation #sub a:hover{/* main mouse over link */
	color: #240000;
	}

#topnavigation #sub a.navi2a{
	color:#240000;
	}

#leftblock{
	margin: 10px 5px 10px 0px;
	padding:0;
	width: 210px;
	float:left;
	}

#navigation ul{
	margin:0;
	padding:0;
	list-style: none;
	text-align: center;
	float:left;
	}

#navigation ul li{
	display: block;
	width: 195px;
	height: 90px;
	background-color:#7b211d;
	margin-bottom:10px;
	border: 5px #e7e2ba solid;
 	}

#navigation ul li a{
	font-family: "Trebuchet MS", sans-serif;
	text-decoration: none;
	font-size: 1em;
	line-height: 6em;
	color:#e7e2ba;
	}

#centerblock{
	margin:10px 5px 10px 5px;
	padding:0;
	width: 340px;
	float: right;
	}

#rightblock{
	padding:0;
	width: 280px;
	float: right;
	margin: 10px 0px 10px 5px;
	}

/*Footer settings for links*/
/*Padding creates space btwn the links*/

#footer{
	margin: 0;
	padding:0;
	border-top: 1px solid #8d4b08;
	height: 40px;
	background-image:  url(images/footer.jpg);
	clear: both;
	}

#footer a{
	color: #e7e2ba;
	font-size: 21px;
	font-family: "Trebuchet MS", sans-serif;
	font-variant: small-caps;
	padding: 10px;
	text-decoration: none;
	float: right;
	font-weight: bold;
}

#footer a:hover{/* main mouse over link */
	color: #240000;
	}

/*Copyright notice against the background*/

#copyright{
	margin:0 auto;
	padding:0px;
	width: 850px;
	height: 40px;
	background-color: transparent;
	clear:both;
	}

#copyright p{
	font-family: "Trebuchet MS", sans-serif;
	text-align: center;
	font-size:12px;
	color:#000000;
	}

/*Index centerblock*/
/*Index centerblock settings: filler and announcement styles*/

#filler{
	width: 340px;
	height: 40px;
	margin:0;
	padding:0;
	}

#announcement{
	width: 334px;
	height: 116px;
	margin: 0;
	margin-top: 10px;
	padding: 2px;
	background-image:  url(images/announcement.jpg);
	}

#announcement a{
   text-align: center;
	color: #240000;
	}

#announcement h4{
   text-align: center;
	color: #240000;
	}
/*Aalloilla-lehti div*/
#aalloilla{
	width: 340px;
   margin:0;
	margin-bottom:10px;
	}

#aalloilla img{
   margin:0;
	border:0;
	}

#flashobject{
	width: 340px;
   background-color:transparent;
	}


.co_form .row
{
   margin-top: 2px;
   margin-bottom: 2px;
}

.co_form label
{
   display: block;
   font-weight: bold;
   width: 60px;
   float: left;
}

.co_form .element
{
   width: 200px;
   float: left;
}

.co_form img
{
   border: 0;
}

.co_form .co_link
{
   display: block;
   float: right;
   width: 150px;
}

.co_form .errormessage
{
   border: 1px solid red;
   padding: 5px;
   font-weight: bold;
   font-size: 14px;
   color: red;
}

.co_form .tilisiirto
{
   width: 100%;
   margin: 0;
   padding: 0;
}

.co_form .tilisiirto td
{
   vertical-align: top;
}

.tilisiirto sup
{
   font-weight:bold;
   font-size:8px;
}

.tilisiirto form
{
   margin:0;
   padding: 0px 0px 5px 0px;
}
