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

html, body {
	height: 100%;
}

.newsSummary {
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	margin-bottom:-20px;
}
	




body {
	color: #333;
 	font-size: 12px; 
 	margin-top: 26px;
	font-family: Arial, Helvetica, sans-serif;
	background: url(/themes/polyquest/images/pattern.png) repeat;
	line-height:18px;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
table, tbody, th, tr, td {
	vertical-align:top;
	margin: 0;
	padding: 0;
}
caption, th, td {
	font-weight: normal;
}

.clear{
	clear:both;
}

/* CONTAINER
----------------------------------------- */
#Wrap { 
	width: 990px;
	margin: 0px auto 0px auto;
	height: 100%;
	display:block;
	background: url(/themes/polyquest/images/bg_container.png) repeat-y center;
}

/* CLEAR FIX*/
.clearfix:after {content: "."; 
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

#Container { 
	height: 100%;
	margin: 0px 0px 0px 8px;
}
#Left {
	float:left;
	width: 175px;
	padding: 0px 36px 0px 36px;
}
#Adresse {
	margin: 54px 0 0 6px;
	color: #666;
}

#Adresse a {
text-decoration:none;	
color:#78CBBF;
}

#Adresse a:visited {
color:#78CBBF;
text-decoration:none;

}

#Layout {
	width: 718px;
	float: right;	
}
#Content {
	width: 673px;
	padding-right: 45px;
	padding-bottom: 50px;
}

#Spalte_rechts {
	float:right;
	width: 315px;
}
#Spalte_links {
	width: 315px;
}

#main_img {
	float: right;
	height: 304px;
	padding: 0px 0px 26px 0px;
}

#NewsList {
	margin: -10px 0px 20px -16px;
	padding: 15px;
}

a.back_button {
	display:block;
	margin-top: 20px;
}
/* HEADER

----------------------------------------- */
#Header { 
 	width: 718px;
	height: 86px;
	float:right;
}

/* MAIN NAVIGATION - TABS
----------------------------------------- */
#Navigation {
	overflow: hidden;
}
	#Navigation ul {
		border-bottom: 1px solid #99bdb8;
		margin: 86px 0 0 0;
	}
		#Navigation ul li { 
	 		list-style: none;
			display: block;
		}
  			#Navigation ul li a {
				color: #333;
				text-decoration: none;
				display: block;
				font-size: 12px;
				text-transform:uppercase;
				border-top: 1px solid #99bdb8;
				padding: 6px 15px 6px 5px;
				line-height:12px;
			}
					#Navigation ul li a:hover { 
						cursor: pointer;
						background: url(/themes/polyquest/images/nav_act.gif) no-repeat 98% 7px #bfddd9;
					}
					
    			#Navigation ul li a.current,
	    		#Navigation ul li a.section,
	    		#Navigation ul li a.section:hover,
	    		#Navigation ul li a.current:hover { 
					font-weight: bold;
					background: url(/themes/polyquest/images/nav_act.gif) no-repeat 98% 7px #bfddd9;
					}
				#Navigation ul li a.section {
					background: #bfddd9;
					background-image: none;
					}

					
				#Navigation ul li ul { 
					background: #e2e2e2;
					margin: 0 0 0 0;
					border-bottom: 0px none;
					}
					#Navigation ul li ul li a { 
						text-decoration: none;
						font-size: 11px;
						text-transform:none;
						border-top: 1px solid #fff;
						border-bottom: 0px none;
						}
						#Navigation ul li ul li a:hover { 
							background-color: #e2e2e2;
							cursor: pointer;
							}
							#Navigation ul li ul li a.current,
							#Navigation ul li ul li a.section,
							#Navigation ul li ul li a.section:hover,
							#Navigation ul li ul li a.current:hover { 
								font-weight: bold;
								background-color: #e2e2e2;
								}
								
/* TOP NAVIGATION 
----------------------------------------- */
#Top_Nav {
	padding: 25px 0px 0px 0px;
	overflow: hidden;
}
	#Top_Nav ul { 
 		float: left;
	}
		#Top_Nav ul li { 
	 		list-style: none;
			float: left;
			display: block;
		}
  			#Top_Nav ul li a { 
				float: left;
				text-decoration: none;
				display: block; 
				font-size: 11px;
				text-transform:uppercase;				
				padding: 0 22px 0 0;
				color: #559188;
			}
					#Navigation ul li a:hover { 
						cursor: pointer;
					}
					
    			#Top_Nav ul li a.current,
	    		#Top_Nav ul li a.section,
	    		#Top_Nav ul li a.section:hover,
	    		#Top_Nav ul li a.current:hover { 
					font-weight: bold;
					}

    
/* 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;
}
	ul#SearchResults li {
		list-style: none;
		margin: 5px 0;
		font-size: 1em;
	}

/* SEARCH FORM 
-----------------------------------------------*/
html #SearchForm_SearchForm {
	float: right;
	width: 240px;
	margin: 5px;
}
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: 2px;
}

/* 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;
	}
	
	html, body, #Wrap {height: 100%;}

body > #Wrap {height: auto; min-height: 100%; background:#FFF url(/themes/polyquest/images/bg_bottom.jpg) no-repeat scroll left bottom;}

#main {padding-bottom: 1px;}  /* must be same height as the footer */




