body {
	/* background: #52A600 url(img/bg1.png) repeat-x 50% 5%; -- Vaihtoehtoinen vihreä tausta */
	background: #243A52 url(../img/bg2.png) repeat-x 50% 5%;
	padding: 0;
	margin: 0;
	text-align: center;
	font: 0.8em "Trebuchet MS", Arial, Helvetica, sans-serif;
	}

/*
Sivuston "kääre" ... mikä se semmonen "kääre" muka on?
Sivustoa kasassa pitävä ylin elementti. */
#wrapperi {
	margin: 0 auto;
	width: 970px;
	padding-right: 160px;
	position: relative;
	background: url(../img/middle-fade.png) repeat-y -15px 0;
	border-left: 1px solid #000;
	}
	
#skipnavi {
	display: none;
	}

/* Sivuston yläreuna */
#headeri {
	min-height: 90px;
	height: auto;
	_height: 90px;
	background: #2F2F2F url(http://www.mesenet.org/img/hbg2.png) repeat-x 100% 0;
	position: relative;
	}
	
/* Logo */


#header h1 a {
	display: block;
	position: absolute;
	top: 0px;
	left: 5px;
	letter-spacing: -1px;
	text-transform: uppercase;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	overflow: hidden;
	text-indent: -9999px;
	height: 89px;
	width: 323px;
	background: url(http://www.mesenet.org/img/mesenet-logo4.png) no-repeat 0 0;
	}


	
#headeri h1 a:focus {
	outline: none;
	}
	
/* Navigaatio */

#navibg ul {
	margin: 0;
	padding: 0;
	list-style: none;
	background: #6A6A6A url(../img/navi-fade3.png) repeat-x 100% 100%;
	min-height: 30px;
	height: auto;
	_height: 30px;
	font-size: 0.85em;
	font-weight: bold !important;
	border-top: 1px solid #666;
	border-bottom: 1px solid #333;
	text-transform: uppercase;
	}

#navibg li {
	display: inline;
	}
	
#navibg li a {
	padding: 7px 14px 7px 13px;
	color: #FFF;
	text-decoration: none;
	display: block;
	float: left;
	border-right: 1px solid #666;
	background: #6A6A6A url(../img/navi-fade3.png) repeat-x 100% 100%;
	}
	
#navibg li#viimeinen a {
	border-right: 0;
	}

#navibg li a:hover,
#navibg li a:focus {
	color: #ECC823;
	background: #657586 url(../img/navi-fade2.png) repeat-x 0 100%;
	}
	
#navibg li a:focus {
	outline: none;
	background: #657586 url(../img/navi-fade.png) repeat-x 0 100%;
	}

/* Keskusta */

#middlei {
	background:#FFF  url(../smf/Themes/Leather/images/bg.gif) repeat-x 0 0;

	text-align: left;
	clear: both; /* Tämä takaa sen, ettei fontin suurentaminen muljauta navia sisältöalueelle */
	}

/* Footer - Copyrightit ja muut linkit */

#footeri {
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #000;
	background: #ECECEC url(../img/footer-fade.png) repeat-x 0 0;
	color: #333;
	}

#footeri ul {
	list-style: none;
	text-align: right;
	margin: 5px 0;
	padding: 0;
	font-size: 0.9em;
	position: relative;
	}
	
#footeri ul li {
	display: inline;
	}
	
#footeri ul li#copyright {
	position: absolute;
	top: 0;
	left: 10px;
	letter-spacing: 1px;
	color: #666;
	}
	
#footeri ul li a {
	text-decoration: none;
	color: #333;
	background: url(../img/footer-deco.png) no-repeat 100% 50%;
	padding: 0 10px 0 5px;
	}
	
#footeri ul li#vika a {
	background: none;
	}
	
#footeri ul li a:hover {
	color: #C00;
	}

/* Sekalaiset määritykset */

.inline {
	display: inline;
	}
	
form ul,
form ol {
	list-style: none;
	}
	
/* Alignit */

.align-left,
.align_left {
	text-align: left;
	}
	
.align-right,
.align_right {
	text-align: right;
	}
	
.align-center,
.align_center,
.align_centre {
	text-align: center;
	}
	
.align-justify,
.align_justify {
	text-align: justify;
	}
	
/* Floatit */

.no-float,
.float_none {
	float: none;
	}
	
.float-left,
.float_left {
	float: left;
	}
	
.float-right,
.float_right {
	float: right;
	}
	
/* Tyhjennys */

.tyhjennys {
	clear: both;
	}
	
/* Mainokset */

/* Headerin banneri 468x60 */

#head_banneri {
	text-align: right;
	list-style: none;
	/*width: 468px;*/
	width: 500px;
	height: 60px;
	position: absolute;
	top: -10px;
	right: 10px;
	}

/* Oikean reunan mainoksia .. */
/* Oikean reunan mainoksia .. */
ul#right-ads {
	position: absolute;
	top: 50px;
	right: 0;
	width: 160px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size:18px;
	}
	
ul#right-ads li {
	display: inline;
	margin-bottom: 10px;
	font-size:18px;
	}
	
ul#right-ads li a img {
	border: 0;
	display: inline;

	}
	
/* Jättibanneri 728x90 */
div.jattibanneri {
	margin: 5px 0 0 0;
	padding: 4px 5px 0 5px;
	text-align: center;
	border: 1px solid #FED61F;
	background: #F3F3F3;
	}
	
