/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  
* {
	margin: 0;
	padding: 0;
}

body {
	color: #333;
 	font-size: 62.5%; 
 	margin-bottom: 40px;
	font-family: Verdana, Lucida, sans-serif; 
}

html {
	background: #fff url('../images/bg.gif') repeat;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}

.clear{
	clear:both;
}


.club a{
 display: block;
 position: absolute;
 width:400px;
 top: 20px;
 float: right;
 height: 393px;
 right: 0px;
 background:transparent 
url('http://kuopionnuorisovaltuusto.com/themes/nuva/images/vaalit2010.png') no-repeat;
 background-position: top left;
 z-index: -1;
}

.club_left {
	position: absolute;
        width: 400px;
       	height: 700px;
        top: 450px;
       	left: 0px;
        background: transparent 
url('http://kuopionnuorisovaltuusto.com/themes/nuva/images/vaalit2010_left.png') 
no-repeat;
z-index: -1;
}


/* CONTAINER
----------------------------------------- */
#BgContainer {
	width: 800px;  
	margin: 0 auto; 	
}
#Container { 
	width: 800px;
	padding-bottom: 0px;
	background: transparent url(../images/header.png) no-repeat top;
}
#Layout {
	width: 703px;
	clear: both;
	overflow: hidden;
	margin: 0 auto;
	padding-left: 43px;
	padding-right: 55px;
	background: transparent url(../images/content.png) repeat-y;
	
}
#Content {
	width: 95%;
	float: left; 	
	margin: 0;
	text-align: left;
	padding-left: 22px;
}
/* HEADER
----------------------------------------- */
#Header { 
 	width: 800px; 
 	margin: 0 auto;
	margin-top: 15px;
	padding-top: 10px;
	overflow: hidden;
	background: transparent no-repeat left center;
}
 	#Header h1 { 
	  	color: #fff; 
		font-size: 3.2em; 
		font-family: Tahoma, Verdana, sans-serif;
		font-weight: 300;
		padding: 20px 0 0 30px;
	}
	#Header p {
		font-size: 1.4em;
		color: #fff;
		clear: left;
		margin: 0 0 0 100px;
	}
#korjaus_heads {width: 800px; height:134px;}

/* MAIN NAVIGATION - TABS
----------------------------------------- */
#Navigation {
	width: 800px;
	margin: 0 auto;
	padding-bottom: 10px;
	overflow: hidden;
	background: url(../images/headerRounded.png) no-repeat center bottom;
}
	#Navigation ul { 
 		float: left; 
		margin-left: 50px;
	}
		#Navigation ul li { 
	 		list-style: none; 
			margin: 0 2px; 
			float: left;
			line-height: 2.8em;
			display: block;
		}
  			#Navigation ul li a { 
				float: left;
				text-decoration: none;
				display: block; 
				height: 2.3em; 
				font-size: 1.2em; 
				padding: 0 0 0 10px;
				color: #fff;
			}
				#Navigation ul li a span {
					text-align: center;
	        		float: left;
					padding-right: 10px;
					height: 2.3em;
				}
					#Navigation ul li a:hover { 
			 			background: transparent url(../images/hoverTabLeft.gif) no-repeat left top; 
						color: #000;
						cursor: pointer;
					}
					#Navigation ul li a:hover span {
						background: transparent url(../images/hoverTabRight.gif) no-repeat right top;
						cursor: pointer;
					}
					
    			#Navigation ul li a.current,
	    		#Navigation ul li a.section,
	    		#Navigation ul li a.section:hover,
	    		#Navigation ul li a.current:hover { 
				 	background: transparent url(../images/activeTabLeft.png) no-repeat bottom; 
				 	color: #fff;
					}
				#Navigation ul li a.current span,
				#Navigation ul li a.section span,
	    		#Navigation ul li a.section:hover span,
				#Navigation ul li a.current:hover span {
					background: transparent url(../images/activeTabRight.png) no-repeat bottom;
					color: #000;
				}

/*
 * SubNavigation 
 */

#Sidebar_submenu {
        width: 600px;
        height: 25px;
        float: left;
        margin: 0 0 0 0;
        padding: 0;
        z-index: 9;
}


#Sidebar { 
	float: right; 
 	width: 145px; 
	padding: 0px 0px 0px 0px;
	margin-right: 35px;
	z-index: 9;
	border-style: none none none none;
	background: transparent;
}

#Sidebar a {color: #000;}
#Sidebar a:hover { text-decoration: underline; }

#SubNavigation {
	background: transparent url(../images/subnavigation_background.png) 0% 100% no-repeat;
	
}
	#SubNavigation ul {
		float: left;
		margin: 0;
		padding: 0;
		list-style: none;
		clear: both;
	}
	#SubNavigation ul li {
		float: left;
	}
	#SubNavigation ul li a {
		color: #ffffff;
		display: block;
		padding: 2px 4px 2px 4px;
		margin-left: 3px;
		margin-right: 3px;
		font-weight: bold;
		
	}
	#SubNavigation a.current, #SubNavigation a.section {
		color: red;
	}
	#SubNavigation a:hover {
		color: #000000;
	}
/* end of Navigation */

    
/* BREADCRUMBS
-------------------------------------------- */
#Breadcrumbs { 
 	color: #B7C0C5;
	text-align: left;
	font-size: 0.9em; 
	margin: 0px 5px 10px 0;
}
	#Breadcrumbs p {
		margin: 0;
	}



	

/* COMMENTS
---------------------------------------- */
#CommentHolder ul {
	list-style: none;
	margin: 20px 0;
}
#PageComments li {
	margin: 5px 0;
	padding: 1px;
	width: 88%;
}
	#PageComments li.odd {
		background: #E8F6FF url(../images/commentBg.png) no-repeat 1% 10%;
		padding-left: 40px;
		padding-right: 10px;
		border-bottom: 2px solid #BCE4FE;
	}
	#PageComments li.even {
		background: #fff url(../images/commentBgAlt.png) no-repeat 99% 10%;
		padding-right: 40px;
		padding-left: 10px;
	}

		#PageComments li.odd p.info {
			color: #3AA0C3;
		}

		.actionLinks li {
		   display: inline;
		   border-right: 1px solid;
		}
			.actionLinks li a {
				padding-right: 3px;
				font-size: 10px;
			}
   			.actionLinks li.last {
      			border-right: none;
   			}

.commentrss {
	background: transparent url(../images/feed-icon-14x14.png) no-repeat;
	padding-left: 20px;
	font-size: 1.1em;
	line-height: 1.6em;
}
#PageCommentsPagination p {
	text-align: center;
	font-size: 1.2em;
}
#PageComments p {
	font-size: 1em;
}
	#PageComments p.info {
		color: #999;
		margin: 0px;
		padding: 0;
		line-height: 1em;
		font-size: 0.9em;
	}

/* SEARCH RESULTS STYLES
------------------------------------------------ */
ul#SearchResults {
	margin: 10px 0;
	padding-left: 20px;
}
	ul#SearchResults li {
		list-style: none;
		margin: 5px 0;
		font-size: 1em;
		padding-left: 20px;
	}

/* SEARCH FORM 
-----------------------------------------------*/
html #SearchForm_SearchForm {
	float: right;
	width: 240px;
	margin: 0 15px 0 0;
}
html #SearchForm_SearchForm .middleColumn {
	float: left;
	width: 164px;
	margin: 0 5px 0 0;
	padding: 2px;
	background-color: #51a9df;
	
}
	html #SearchForm_SearchForm .middleColumn input.text {
		width: 160px;
		border: none;
		color: #666;
	}
html #SearchForm_SearchForm #SearchForm_SearchForm_action_results {
	float: left;
	margin-top: 0px;
}

/* MESSAGEBOXS
--------------------------------------------- */
.message {
	margin: 15px;
	padding: 5px;
	width: 92%;
	color: #979908;
	border: 4px solid #F7F8B4;
	background: #FFFFEA;
}
span.middleColumn .message {
	margin: 4px 0 0 3px;
}
.required {
	margin: 4px 0 0 3px;
	padding: 5px;
	width: 92%;
	color: #DC1313;
	border: 4px solid #FF7373;
	background: #FED0D0;
}



p#Remember label {
	margin: -24px 0 0 20px;
	text-align: left;
}
.entry {
	border-bottom: 1px solid #eee;
}

.typography #Content p.authorDate {
	color: #444;
	margin-top: -15px;
	}
/* UNSUBSCRIBE NEWSLETTER
------------------------------------------------ */
#Unsubscribe_MailingListForm_MailingListForm{
	min-height:100px;
}

	#Unsubscribe_MailingListForm_MailingListForm p{
		margin:0 !important;
		padding:10px;
	}
		#Unsubscribe_MailingListForm_MailingListForm p label{
			display: inline;
		}
	#Unsubscribe_MailingListForm_MailingListForm label{
		margin:0;
	}


/* FOOTER
----------------------------------------------- */

#Footer { 
 	clear: both;  
	width: 800px; 
	height: 56px; 
	background: transparent url(../images/footerBottom.png) no-repeat bottom left; 
	text-align: center; 
}
	#Footer .footerTop {
		width: 100%;
		background: transparent;
		display: none;
		height: 0px;
	}
  	#Footer p { 
		color: #000;
		font-size: 1.1em;
		text-align: center;
		padding-top: 10px;
	}
  		#Footer a { 
	   		color: #000; 
	   		text-decoration: none;
		}
			#Footer a:hover {
				color: #000;
				text-decoration: underline;
			}
