/*
Design by tuomas(a)ranta@netikka.fi
*/

body {
	margin: 0;
	padding: 0;
	background: #20789a url('images/tausta.jpg') repeat-x;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	color: #181B20;
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	font-family: 'Oswald', sans-serif;
	font-weight: normal;
	color: #2483A6;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.8em;
}

h3 {
	font-size: 1.6em;
}
	
.sign {
	font-family: Georgia, Times New Roman, Times, serif;
	font-style: italic;
	float: right;
	padding-top: 15px;
	 
	
	
	
	
	
}	

p, ul, ol {
	margin-top: 0;
	line-height: 180%;
}

ul, ol {
}

a {
	text-decoration: none;
	color: #2483A6;
}

a:hover {
	text-decoration: underline;
}

img.border {
	border: 6px solid #EEE7DF;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

img.alignleft {
	float: left;
	padding-top: 10px;

}

img.alignleft2 {
	float: left;
	margin-right: 10px;
}

img.alignright {
	float: right;
	padding: 2px 2px 2px 2px;
}

img.aligncenter {
	
	padding: 100px 0px 2px 0px;
	 
}
img.aligncenter2 {
	margin: 0px auto;
	
}

object.border {
	border: 6px solid #EEE7DF;
	-moz-border-radius: 15px;
	border-radius: 15px;
}

#kuvatus {
	float: left;
	margin-right: 0px;
	
}

#kuvatus2 {
	
	margin-right: 0px;
	padding: 76px 0px 0px 240px;


}

#wrapper {
	margin: 0 auto;
	padding: 0;
	background: #FFFFFF;	
	width: 960px;
	
	

	
	


}

/* Header */

#header {
	width: 980px;
	height: 100px;
	margin: 0px auto;
	padding: 0px 0px 0px 0px;
	color: #FFFFFF;
	background: #002236 url(images/ban.jpg) no-repeat bottom;
	padding: 0px 0px 0px 40px;
}



#header h1 {
	margin: 0px;
	letter-spacing: -1px;
	text-transform: uppercase;
	font-size: 50px;
	font-weight: bold;
	color: #FFFFFF;
}

#header h1 a {
	color: #FFFFFF;
}

#header p {
	margin-top: -10px;
	text-align: center;
	text-transform: uppercase;
	font-family: 'Antic', sans-serif;
	font-weight: bold;
	font-size: 20px;
}

#header a {
	border: none;
	background: none;
	text-decoration: none;
	color: #FFFFFF;

}

#header vali {
	padding-right: 20px;
}

/* Search */

#search {
	float: right;
	width: 280px;
	height: 100px;
	padding: 0;
}

#search form {
	height: 41px;
	margin: 0;
	padding: 60px 0 0 30px;
}

#search fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

#search-text {
	width: 195px;
	padding: 6px 10px;
	border: none;
	background: #FFFFFF;
	text-transform: lowercase;
	font: normal 11px Arial, Helvetica, sans-serif;
	color: #7F7F81;
}

#search-submit {
	display: none;
}

/* Menu */


}

#menu {
	width: 940px;
	height: 58px;
	margin: 0px auto;
	padding: 0px 0px 0px 20px;
}

#menu ul {
	margin: 0;
	padding: 0px 0px 0px 0px;
	list-style: none;
	line-height: normal;
}

#menu li {
	float: left;
}

#menu a {
	display: block;
	float: left;
	height: 56px;
	margin: 0px;
	padding: 0px 30px 0px 30px;
	line-height: 56px;
	letter-spacing: 1px;
	text-decoration: none;
	text-transform: uppercase;
	font-family: 'Oswald', sans-serif;
	font-size: 14px;
	font-weight: normal;
	color: #B5B5B5;
	border: none;
}

#menu .current_page_item a {
	color: #FFFFFF;
}

#menu a:hover {
	text-decoration: none;
	color: #FFFFFF;
}

/* Page */

	
	


#page-content {
	width: 940px;
	margin: 0px auto;
	min-height: 750px;
}

/* Content */

#content {
	float: left;
	width: 680px;
	padding: 0px 0px 0px 0px;
	
	
}

.post {
	clear: both;
	padding-bottom: 0px;
}

.post .title {
	padding-top: 10px;
	padding-bottom: 10px;
	letter-spacing: -2px;
}

.post .title a {
	color: #2483A6;
	border: none;
}

.post .meta {
	padding-bottom: 10px;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-style: italic;
}

.post .meta a {
}

.post .entry {
        float: center;
	text-align: justify;
	margin-bottom: 25px;
	padding: 10px 10px 10px 10px;
	background: #f6f6f6;
	-moz-border-radius: 10px;
	border-radius: 10px;
	min-height: 220px;



}

.links {
	display: block;
	width: 96px;
	padding: 2px 0px 2px 0px;
	background: #A53602;
	text-align: center;
	text-transform: uppercase;
	font-size: 10px;
	color: #FFFFFF;
}


#sivutausta {
margin:0; padding:0;
background:url("images/sivutausta.gif") top right repeat-y;



}
/* Sidebar */

#sidebar {
	float: right;
	width: 200px;
	padding: 0px 0px 0px 0px;
	text-align: center;
	
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar li {
	margin: 0;
	padding: 0;
}

#sidebar li ul {
	margin: 0px 0x;
	padding-bottom: 0px;
}

#sidebar li li {
	line-height: 35px;
}

#sidebar li li span {
	display: block;
	margin-top: -20px;
	padding: 0;
	font-size: 11px;
	font-style: italic;
}

#sidebar li li a {
	color: #181B20;
}

#sidebar h2 {
	height: 38px;
	margin-bottom: 20px;
	padding: 0px 0 0 0px;
	border-bottom: 1px dashed #B3B0B0;
	letter-spacing: -1px;
	font-size: 24px;
	color: #2483A6;
}

#sidebar p {
	margin: 0 0px;
	padding: 0px 0px 0px 0px;
	text-align: justify;
}

#sidebar a {
	border: none;
}

#sidebar a:hover {
	text-decoration: underline;
}


.sidebarbox {
	
	
        width: 185px;
	height: 140px;
	padding: 0px 0px 0px 0px;
	margin-top: 100px;
	letter-spacing: -1px;
	text-align: center;
	font-size: 17px;
	color: #FFFFFF;
	font-weight: bold;
	font-family: 'Antic', sans-serif;
	background:url("images/blagaatti.gif")
}

.sidebarbox h4 {
	text-align: center;
	font-family: 'Oswald', sans-serif;
	font-size: 21px;
	font-weight: bold;
	margin-bottom: 5px;
	text-transform: uppercase;

}

.sidebarbox h5 {
	text-align: center;
	font-family: 'Antic', sans-serif;
	font-size: 20px;
	font-weight: bold;
	margin-top: 5px;
	
	
	
	
	
}
	



/* Calendar */

#calendar {
}

#calendar_wrap {
	padding: 20px;
}

#calendar table {
	width: 100%;
}

#calendar tbody td {
	text-align: center;
}

#calendar #next {
	text-align: right;
}

/* Footer */

#footer {
	width: 950px;	
	margin: 0px auto 0px auto;
	background: #002236;
	font-family: Arial, Helvetica, sans-serif;
	padding-left: 10px;
	line-height: normal;
	float: left;
	color: #576475;
}

#footer p {
	margin: 0;
	padding-right: 10px;
	line-height: normal;
	float: right;

}

.ps {
	margin: 0;
	padding-right: 10px;
	line-height: normal;
	font-size: 1px;
	letter-spacing: -10px;

}

#footer a {
	color: #576475;
}


/*dropdownmenu*/

#menu-wrapper {
	background: #002236;

}
#nav {
	margin: 0;
	padding: 7px 6px 0;
	background: #002236 url(images/gradient.png) repeat-x 0 -130px;
	line-height: 100%;

	border-top-left-radius: 2em;
	border-top-right-radius: 2em;
	-moz-border-radius-topright: 2em;
	-moz-border-radius-topleft: 2em;

	-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0, .4);
}
#nav li {
	margin: 0 5px;
	padding: 0 0 8px;
	float: left;
	position: relative;
	list-style: none;
}


/* main level link */
#nav a {
	font-weight: bold;
	color: #e7e5e5;
	text-decoration: none;
	display: block;
	padding:  8px 20px;
	margin: 0;

	-webkit-border-radius: 1.6em;
	-moz-border-radius: 1.6em;
	
	text-shadow: 0 1px 1px rgba(0,0,0, .3);
}
#nav a:hover {
	background: #000;
	color: #fff;
}

/* main level link hover */
#nav .current a, #nav li:hover > a {
	background: #666 url(img/gradient.png) repeat-x 0 -40px;
	color: #444;
	border-top: solid 1px #f8f8f8;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0, .2);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0, .2);
	box-shadow: 0 1px 1px rgba(0,0,0, .2);

	text-shadow: 0 1px 0 rgba(255,255,255, 1);
}

/* sub levels link hover */
#nav ul li:hover a, #nav li:hover li a {
	background: none;
	border: none;
	color: #666;

	-webkit-box-shadow: none;
	-moz-box-shadow: none;
}
#nav ul a:hover {
	background: #0078ff url(img/gradient.png) repeat-x 0 -100px !important;
	color: #fff !important;

	-webkit-border-radius: 0;
	-moz-border-radius: 0;

	text-shadow: 0 1px 1px rgba(0,0,0, .1);
}

/* dropdown */
#nav li:hover > ul {
	display: block;
}

/* level 2 list */
#nav ul {
	display: none;

	margin: 0;
	padding: 0;
	width: 185px;
	position: absolute;
	top: 35px;
	left: 0;
	background: #ddd url(img/gradient.png) repeat-x 0 0;
	border: solid 1px #b4b4b4;

	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;

	-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
	box-shadow: 0 1px 3px rgba(0,0,0, .3);
}
#nav ul li {
	float: none;
	margin: 0;
	padding: 0;
}

#nav ul a {
	font-weight: normal;
	text-shadow: 0 1px 0 #fff;
}

/* level 3+ list */
#nav ul ul {
	left: 181px;
	top: -3px;
}

/* rounded corners of first and last link */
#nav ul li:first-child > a {
	-webkit-border-top-left-radius: 9px;
	-moz-border-radius-topleft: 9px;

	-webkit-border-top-right-radius: 9px;
	-moz-border-radius-topright: 9px;
}
#nav ul li:last-child > a {
	-webkit-border-bottom-left-radius: 9px;
	-moz-border-radius-bottomleft: 9px;

	-webkit-border-bottom-right-radius: 9px;
	-moz-border-radius-bottomright: 9px;
}

/* clearfix */
#nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#nav {
	display: inline-block;
} 
html[xmlns] #nav {
	display: block;
}
 
* html #nav {
	height: 1%;
}