#right_container {
	padding-bottom: 40px;
}

#leftnav li.level1.last {
	padding-bottom: 0px;
}

#clearer {
	height: 0px;
	font-size: 0px;
}

div.pagination span {
	float: left;
	margin-right: 3px;
}

div.pagination {
	margin-top: 20px;
}

#AlavuLogoHeader {
	position: absolute;
	/*margin-left: 176px;*/
	margin-top: 0px;
	z-index:100;
}

#big-header #TuuriLogoHeader{
	position: absolute;
	left: 40px;
	top: 0;
}

#big-header #AlavuLogoHeader{
	left: 40px;
}

#header #AlavuLogoHeader{
	margin-left: 40px;
}

#headercorners {
	background: url("/media/layout/headercorners.png") no-repeat bottom;
	height: 12px;
	width: 1000px;
	position: absolute;
	margin-top: 338px;
}

#headercorners_small {
	background: url("/media/layout/headercorners.png") no-repeat bottom;
	height: 12px;
	width: 1000px;
	position: absolute;
	margin-top: 244px;
}

root {
	display: block;
}

body {
	margin: 0;
	font-family: arial;
	font-size: 12px;
	padding: 0;
	background: #e5e5e5;
}

body a {
	text-decoration: none;
	color: #216371;
}

#wrapper {
	margin: 0 auto;
	width: 1000px;
}

#header a img, #large_header a img {
	border-style: none;
}

#header {
	height: 256px;
	width: 1000px;
	margin: 0;
	background-image: url("/media/layout/headers/7.jpg");
	background-size:1000px 256px;
}

#large_header {
	height: 350px;
	width: 1000px;
	margin: 0;
	background-image: url("/media/layout/large_headers/7.jpg");
}

#content_wrapper {
	margin: 0;
	padding: 0;
	overflow: hidden;
}

#left_container {
	width: 252px;
	float: left;
	min-height: 400px;
}

#right_container {
	width: 700px;
	float: left;
	min-height: 400px;
	padding-left: 40px;
	padding-top: 10px;
}

#footer {
	min-height: 100px;
	background: #e5e5e5;
	clear: both;
}

#footer_container {
	margin: 0 auto;
	width: 1000px;
	padding-left: 100px;
}

#footer_text_area div.footertitle {
	font-size: 0.8em;
}

#search_bar {
	height: 45px;
	width: 491px;
	background: url("/media/layout/searchbar.png") left bottom no-repeat;
	float: right;
	margin-right: 112px;
	line-height: 3.5em;
}

#search_bar ul, #search_bar p, #search_bar form, #search_bar div {
	float: left;
}

#search_bar * {
	margin: 0px;
	padding: 0px;
}

#search_bar a {
	text-decoration: none;
	color: black;
	font-family: arial;
	font-size: 13px;
}
#search_bar form input {
	margin-right: 10px;
}

#flags {
	margin-left: 20px;
	display: none;
}

#search_bar form p {
	margin-left: 10px;
}

#langSelection {
	list-style: none;
	line-height: 2em;
}

#langSelection img {
	margin: 12px 0;
	border-style: none;
}

#langSelection li a {
	text-decoration: none;
	border-style: none;
}

#search_bar form input.search_submit {
	background: url("/media/layout/submitbutton.png") no-repeat 0px 2px;
	border: none;
	width: 14px;
	height: 17px;
	margin-right: 15px;
}

#search_bar form input.search_submit:hover {
	cursor: pointer;
}

#left_menu {
	margin-top: 15px;
	margin-bottom: 15px;
}

#left_menu ul {
	margin: 0px;
	padding: 0px;
}

#news {
	margin: 35px 10px 10px 28px;
}
#left_menu a {
	color: black;
	text-decoration: none;
	margin-left: 5px;
	display: block;
}
#left_menu li.level1 {
	background: url("/media/layout/leftmenubackground.png") no-repeat bottom left;
	list-style: none;
	line-height: 1.4em;
	margin: 0 0 5px 5px;
	padding-top:0.3em;
	font-family: arial;
	font-size: 14px;
}

#left_menu li.level2 {
	list-style: disc;
	font-size: 12px;
	font-family: arial;
	line-height: 1em;
	margin: 2px 0;
}

#left_menu li.level3 {
	list-style: circle;
	font-size: 12px;
	font-family: arial;
	line-height: 1em;
	margin: 2px 0;
}

#left_menu li.level1.current {
	background: url("/media/layout/arrow.png") no-repeat right 10px;
}

.bl {
	background: url("/media/layout/bl.png") 0 100% no-repeat #e6e6e6;
	width: 240px;
	margin-left: 10px;
}
.br {
	background: url("/media/layout/br.png") bottom right no-repeat
}
.tl {
	background: url("/media/layout/tl.png") 0 0 no-repeat;
}
.tr {
	background: url("/media/layout/tr.png") 100% 0 no-repeat;
	padding: 10px
}
.clear {
	font-size: 1px;
	height: 1px
}

.contact_info {
	font-size: 0.8em;
	float: left;
	padding-top: 8px;
}

#footer_container img {
	float: left;
	vertical-align: text-top;
	margin-top: 10px;
}

#komia_logo {
	margin: 0px;
	padding-top: 8px;
}

#alavus_logo img {
	margin-right: 27px;
}

.languageText {
	display: none;
}

#banner-list {
	list-style: none;
}

#search_bar ul li {
	float: left;
	margin: 0px;
}
#footer_text_area div {
	float: left;
	margin: 0px 51px 0px 0px;
}

#footer_text_area a {
	color: #29a6dd;
	font-size: 12px;
	font-weight: bold;
}

#footer_text_area {
	float: left;
	margin-top: 16px;
}

#footer_text_area div.last {
	margin: 0px 42px 0px 0px;
}

h1 {
	color: #2d82a4;
}

#news a {
	text-decoration: none;
	color: black;
}

.newstitle {
	margin-bottom: 0px;
	margin-top: 0px;
}

.newsdate {
	margin-top: 0px;
}

#news {
	margin: 0px;
}

#leftnav li ul {
	padding-left: 40px;
}

#leftnav li ul li ul {
	padding-left: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
}

td.newstablefirst {
	padding-right: 52px;
}

form table td {
	padding: 5px 0;
}

.feedbacksubmit {
	background: url("feedbacksubmit.png") no-repeat;
	width: 91px;
	height: 28px;
	border-style: none;
	color: white;
	font-size: 1em;
	margin-left: 108px;
}

.feedbacklabel {
	width: 145px;
}

.feedbacklabel {
	width: 145px;
}

.feedbackfield input {
	width: 336px;
}

.feedbackfield input.formCheckbox {
	width: 25px;
}

.formField-heading {
	text-align: left;
}

span.formCheckboxLabel {
	display: inline;
}

div.searchform {
	display: inline;
}

#ajankohtaista {
	background: url("ajankohtaista_etusivu.png") no-repeat;
	width: 496px;
	height: 243px;
	float: left;
	margin: 0px 8px 16px 0px;
}

#ajankohtaista_title {
	height: 48px;
}

#ajankohtaista_title h1, #ajankohtaista_title h2, #ajankohtaista_title h3, #ajankohtaista_title h4 {
	color: black;
	margin: 17px 0px 0px 15px;
}

#ajankohtaista_lista_etusivu h1, h2, h3, h4, h5, #ajankohtaista_pysyva_lista h1, h2, h3, h4, h5, h6 {
	margin: 0;
}

#ajankohtaista_lista_etusivu, #ajankohtaista_pysyva_lista {
	font-size: 13px;
	padding-left: 15px;
}

#ajankohtaista #ajankohtaista_lista_etusivu p, #ajankohtaista_pysyva_lista p {
	margin: 0px 0px 5px 0px;
}

#ajankohtaista h3 a, #ajankohtaista h4 a {
	color: black;
}

#ajankohtaista_pysyva_lista {
	margin-bottom: 10px;
}

#center_container a img {
	border-style: none;
}

#vaihtuva_mainos {
	width: 496px;
	height: 243px;
	float: left;
	margin: 0px 0px 16px 0px;
	overflow: hidden;
	z-index: 4;
}

#banner1 {
	width: 330px;
	height: 266px;
	float: left;
	clear: left;
	text-align: center;
}

#banner2 {
	width: 330px;
	height: 149px;
	float: left;
	margin: 0px 5px 15px 5px;
}

#banner3 {
	width: 330px;
	float: left;
}

#wsr {
	margin-top: 25px;
	display: block;
}

#banner .cycle {
	width: 330px;
	height: 149px;
	float: left;
	overflow: hidden;
}

#center_container {
	margin-top: 13px;
}

#center_container div p {
	margin: 0px;
}

.nav li.level3 {
	display: none;
}

#nav li.level3 {
	display: none;
}

#footer_container a img {
	border-style: none;
}

#slidenav {
	float: right;
	z-index: 100;
	position: relative;
	margin-right: 5px;
	margin-bottom: -45px;
}

#slidenav a {
	background: url("slidenavbutton.png") no-repeat center center;
	padding: 11px;
	color: white;
	font-size: 20px;
	position: relative;
	float: left;
}

#slidenav a.activeSlide {
	background: url("slidenavactive.png") no-repeat center center;
	color: black;
}

:focus {
	outline-style: none;
}

body a img {
	border-style: none;
}

#vaihtuvateksti {
	height: 100px;
	width: 497px;
	position: relative;
	background: white;
	margin-top: -90px;
	display: block;
	opacity: 0.9;
	filter: alpha(opacity = 90);
	padding-top: 10px;
}

#slidetextheader {
	margin-left: 20px;
	margin-right: 20px;
	font-size: 16px;
	color: black;
}

#slidetext {
	color: black;
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 6px;
	font-size: 13px;
}

#vaihtuva_kuva {
	height: 243px;
	overflow: hidden;
}

#vaihtuva_mainos a, span {
	display: block;
}

.Required {
	display: inline;
}

.topleft {
	background: url('topleft.png') no-repeat top left;
	height: 10px;
	position: relative;
	margin-bottom: -10px;
	width: 494px;
}

.topright {
	background: url('topright.png') no-repeat top right;
	width: 10px;
	height: 10px;
	padding-left: 486px;
}

.bottomleft {
	background: url('bottomleft.png') no-repeat bottom left;
	height: 10px;
	position: relative;
	margin-top: -30px;
	width: 494px;
}

.bottomright {
	background: url('bottomright.png') no-repeat bottom right;
	width: 10px;
	height: 10px;
	padding-left: 486px;
}

#newslist a {
	color: black;
}

#uppercontent {
	background: white;
}

#linkbox {
	float: right;
	position: relative;
	width: 173px;
	padding-left: 16px;
	margin-top: 5em;
	min-height: 150px;
}

span.line {
	border-left: 1px solid #ececec;
	display: block;
	overflow: auto;
	padding: 0 16px 32px 16px;
	min-height: 400px; /*150px;*/
}

#linkbox a {
	float: left;
	clear: left;
	color: #55a4cf;
	text-decoration: underline;
	padding-bottom: 2px;
}

#leftnav li.level4.current a {
	text-decoration: underline;
}

img.ajankohtaista-rss {
	position: absolute;
	margin-left: 450px;
	margin-top: 22px;
}

#tapahtumat-rss-linkki {
	position: absolute;
	margin-left: 1010px;
	margin-top: 22px;
}

img.tapahtumat-rss {
	position: absolute;
	/*margin-left: 500px;
	 margin-top: 22px;*/
}

#ilmoita_virheesta {
	clear: both;
	text-align: center;
}

#ilmoita_virheesta a, #ilmoita_virheesta a:visited {
	font-size: 0.8em;
	color: #5e5e5e;
}
#ilmoita_virheesta a:hover {
	color: black;
	text-decoration: underline;
}

table.fancybox_table {
	width: 600px;
	margin: 20px;
	text-align: left;
}

table.fancybox_table td, table.fancybox_table th {
	padding: 10px;
	vertical-align: top;
	text-align: left;
}

input.formRadio {
	float: left;
}

span.formRadioLabel {
	float: left;
	margin: 0 10px;
}

table.fancybox_table td:first-child {
	width: 200px;
}

table.fancybox_table input[type=text], table.fancybox_table textarea {
	width: 100%;
}

table.fancybox_table span.Required {
	display: inline;
}

#virhe_ilmoitukset {
	color: red;
}

.archiveDate {
	display: inline;
	padding: 0 5px;
}

#commentingForm label {
	float: left;
	clear: left;
	font-weight: bold;
}

#commentingForm input.formTextinput, #commentingForm textarea {
	width: 250px;
	float: left;
	clear: left;
}

#commentingForm input.formTextinput {
	margin-bottom: 10px;
}

#commentingForm textarea {
	margin-bottom: 10px;
	min-height: 100px;
}

#commentingForm .feedbacksubmit {
	margin-left: 0px;
}

.month-title:first-letter {
	text-transform: uppercase;
}

table.commenting {
	width: 50%;
}

table.commenting div.comment {
	padding: 10px;
}

table.commenting div.comment span.commenter {
	font-weight: bold;
	color: #555555;
	font-size: 120%;
}

table.commenting div.comment span.date {
	font-weight: bold;
	color: #9E9E9E;
	display: inline;
}

table.commenting div.odd {
	background: #e4e4e4;
}







#main-menu{
	width: 1000px;
	float: left;
}

#main-menu .nav{
	float: left;
}

#big-header #search_bar form input.search_submit {
	background-position-y: 0;
}

.container{
	width: 1000px;
	float: left;
	margin: 20px 0 0;	
}

.left {
	width: 496px;
	float: left;
	margin: 0 8px 0 0;
}

.right{
	width: 496px;
	float: right;
}

.box{
	width: 496px;
	float: left;
	margin: 0 0 20px;
}

.box-title{
	height: 58px;
	width: 476px;
	padding: 0 10px;
	float: left;
	background: url("news-header.png") left top no-repeat;

}

.box-title#events-title{
	background: url("event-header.png") left top no-repeat;
}

.box-title h1{
	float: left; 
	line-height: 58px;
	margin: 0;
}

.box-title h1 a{
	text-decoration: none;
	text-transform: uppercase;
	font-family: Tahoma;
	font-size: 105%;
	font-weight: normal;
	color: white;
	opacity: 0;
	display: block;/* FOR IE8 */
	zoom: 1;/* FOR IE7 */
	filter: alpha(opacity=0);
}

.rss-etusivu{
	width: 12px;
	height: 12px;
	display: block;
	float: right;
	margin: 23px 10px 0 0;
}

.box-content{
	float: left;
	width: 476px;
	padding: 10px;
	background: #F6F6F6 url("news-bg.png") center bottom no-repeat;
}

.box-content h4{
	margin: 0;
}

.box-content h4 a{
	color: #000;
}

.box-content p a:hover{
	text-decoration: underline;
}

#container-etusivu .box-content p{
	margin: 0 0 5px;
}

.banner-etusivu{
	margin: 0 0 20px;
}

.banner-etusivu p{
	margin: 0;
}


#banner-small{
	width: 180px;
	float:left;
	margin-right: 20px;
}

#banner-cycle{
	width: 496px;
	height: 250px;
	overflow:hidden;
	float:left;
}

#banner-weather{
	position: relative;	
	float: left;
}

#forecabox-shadow{
	position: absolute;
	left:0;
	top:18px;
	width: 490px;
	height: 72px;
	background: transparent url("/media/layout/back490x72.png");
}

#big-header {
	width: 1000px;
	height: 250px;
	float: left;
	position: relative;
}

#big-header #search_bar{
	width: 493px;
	margin-left: 0;
}

#headcorners-1000 {
	width: 1000px;
	background: url("/media/layout/headercorners-1000.png") no-repeat bottom;
	height: 12px;
	position: absolute;
	margin-top: 338px;
}

.breadcrumb { float: left; width: 100%; margin: 5px 0 20px; }

.breadcrumb a { color: #000; }
.breadcrumb a.active { font-weight: bold; }
.breadcrumb .divider { display: inline-block; margin: 0 5px; }


.calendar-popup {
	display:none;
	position:absolute;
	bottom:30px;
	right: -64px;
	z-index: 250;
}

.calendar-popup .calendar-text {
	width: 150px;
	padding: 10px;
	background-color: #fff;
	color: #000;
	border: 1px solid #bdbdbd;
	
	-webkit-box-shadow: 2px 2px 10px 0px rgba(50, 50, 50, 0.4);
	-moz-box-shadow:    2px 2px 10px 0px rgba(50, 50, 50, 0.4);
	box-shadow:         2px 2px 10px 0px rgba(50, 50, 50, 0.4);
}

/* calendar facelift */

.calendar-popup .arrow {
	display:block;
	background: url('/media/layout/arrow-down.png') no-repeat center center;
	height: 19px;
	position:relative;
	bottom: 1px;
}

.calendar td, .calendar th {
	padding: 15px;
}

.has-events {
	/*position:relative;*/
	
}

.calendar-wrap {
	padding: 15px 88px; 
	float:left;
	background: #f7f7f7;
}

.event {
	border-bottom: 1px solid #000;
}

.event:last-child {
	border:0;
}

table.calendar {
	border-spacing:1px;
	background: #cbcbcb;
}

.calendar-list {
	float:left;
	width: 100%;
	padding: 0 20px;
	border-radius: 0 0 10px 10px;
	background: #f7f7f7;
	
	box-sizing:border-box;
	-moz-box-sizing:border-box;
}

.not-current {
	opacity:0;
}

/* menu facelift */

.side-menu li a{
	border-bottom: 1px solid #e6e6e6;
	padding: 10px;
}

.side-menu li.level2.last {
	border-bottom: 0;
}

.side-menu li.level2.last a {
	border-bottom:0;
}

.side-menu li.level1.first > a {
	border-bottom:0;
}

.yellow .side-menu li.level1.first > a {
	background: #ffe600;
}

.blue .side-menu li.level1.first > a {
	background: #32b7ef;
}

.orange .side-menu li.level1.first > a {
	background: #f57e00;
}

.green .side-menu li.level1.first > a {
	background: #a8d522;
}



.side-menu li.level1.current {
	background: none;
}

.side-menu li.level2 a {
	padding-left: 15px;
}

.side-menu li.level3 a {
	padding-left: 25px;
}

.side-menu li.level4 a {
	padding-left: 35px;
}

.side-menu li.current > a {
	font-weight:bold;
}

/*-----------
 Clearfix
 -----------*/
#uppercontent:after {
	content: ".";
	display: block;
	height: 0;
	line-height: 0;
	clear: both;
	visibility: hidden;
	font-size: 0;
}

/* IE 6 & 7 */
#uppercontent {
	zoom: 1;
}
