/**
 * SilverStripe Emkom Theme based on Black Candy Theme
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */

* {
	margin: 0;
	padding: 0;
}

body {
	font-family: Helvetica, Arial, Sans-serif;
	font-size: 62.5%;
	color: #000;
 	height: 100%;
 	margin-bottom: 40px;
}

html {
	background: #f5f5f5 url(../images/top-back-gradient.png) repeat-x 0 0;
}

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

.clear{
	clear:both;
}

/* CONTAINER
----------------------------------------- */
#BgContainer {
	width: 970px;  
	margin: 0 auto; 
}
#Container { 
	width: 970px;
	padding-bottom: 15px;
	position: relative;
	background-color: #fff;
	min-height: 100%;
	height: auto !important;
	height: 100%;
		}
#Layout {
	clear: both;
	position: relative;
	width: 950px;
	left: 5px;
	margin: 40px 0;
	font-size: 1.2em;
	line-height: 1.5em;
}
#Content {
	width: 638px;
	float: right; 	
	margin: 0;
	text-align:justify;
	padding-right:40px;
}
/* HEADER
----------------------------------------- */
#Header { 
 	height: 159px;
	position: relative;
	background: url(../images/header-background.png) no-repeat 0 0;
}

#Header h1 {
	position: absolute;
	top: 20px;
	left: 35px;
	text-indent: -999em;
	background: url(../images/emkom-logo.png) no-repeat 0 0;
	width: 315px;
	height: 122px;
	}
		
div#header a#homeButton {
	position: absolute;
	text-indent: -999em;
	width: 320px;
	height: 127px;
	top: 20px;
	left: 35px;
	}


/* QUICK CONTACT FORM
****************/
		
fieldset#headerSignup {
		border: none;
		position: absolute;
		right: 0;
		top: 25px;
		width: 350px;
		}
		
fieldset#headerSignup legend span {
		background: url(../images/quick-contact.png) no-repeat 0 0;
		height: 18px;
		width: 270px;
		position: absolute;
		display: block;
		top: 0;
		left: 0;
		text-indent: -999em;
		}
		
fieldset#headerSignup label {
		display: none;
		}
		
fieldset#headerSignup input#emailAddress {
		position: absolute;
		top: 30px;
		left: 0;
		width: 300px;
		height: 14px;
		padding: 2px;
		color: #464646;
		}
		
fieldset#headerSignup input#postCode {
		position: absolute;
		top: 65px;
		left: 0;
		width: 150px;
		height: 14px;
		padding: 2px;
		color: #464646;
		}
		
fieldset#headerSignup input#signUpButton {
		position: absolute;
		top: 65px;
		left: 170px;
		color: #fff;
		}
	

/* MAIN NAVIGATION
****************/

ul#mainNavigation {
	position: relative;
	height: 61px;
	width: 970px;
	background: url(../images/main-navigation-background.png) no-repeat 0 0;
	padding-left: 0px;
	}
	
ul#mainNavigation li {
	float: left;
	list-style: none;
	}

ul#mainNavigation li a {
		width: 115px;
		height: 41px;
		display: block;
		color: #fff;
		font-size:14px;
		text-decoration: none;
		padding:20px 0 0 0;
		text-align:center;
}
	
ul#mainNavigation li a#mainNavAbout {
		background: url(../images/button_menu.png) no-repeat 0 0;
		}
		
ul#mainNavigation li a#mainNavVision {
		background: url(../images/button_menu.png) no-repeat 0 0;
		}
		
ul#mainNavigation li a#mainNavPhoto {
		background: url(../images/button_menu.png) no-repeat 0 0;
		}
		
ul#mainNavigation li a#mainNavNews {
		background: url(../images/button_menu.png) no-repeat 0 0;
		}
		
ul#mainNavigation li a#mainNavElection {
		background: url(../images/button_menu.png) no-repeat 0 0;
		width: 131px;
		}

div#wrapper ul#mainNavigation li a.active {
		background-position: 0 -61px;
		}		
		
ul#mainNavigation li a#mainNavAbout:hover,
ul#mainNavigation li a#mainNavVision:hover,
ul#mainNavigation li a#mainNavPhoto:hover,
ul#mainNavigation li a#mainNavElection:hover,
ul#mainNavigation li a#mainNavNews:hover {
		background-position: 0 -61px;
		}
	
		
div#donate {
		position: absolute;
		top: 152px;
		right: 160px;
		width: 192px;
		}
		
div#donate a#donateButton {
		display: block;
		background: url(../images/subscribe.png) no-repeat 0 0;
		height: 61px;
		width: 192px;
		text-indent: -999em;
		}
		
a#getInvolved {
		display: block;
		width: 115px;
		height: 41px;
		text-align:center;
		background: url(../images/button_menu.png) no-repeat 0 0;
		position: absolute;
		top: 159px;
		right: 0px;
		color: #fff;
		font-size:14px;
		text-decoration: none;
		padding:20px 0 0 0;
		}
		
a#getInvolved:hover {
		background-position: 0 -61px;
		}
	


/* MAIN NAVIGATION - TABS
-----------------------------------------
#Navigation {
	width: 768px;
	margin: 0 auto;
	padding-top: 5px;
	overflow: hidden;
	background: #4ea3d7 url(../images/headerRounded.gif) no-repeat center bottom;
}
	#Navigation ul { 
 		float: right; 
		margin-right: 10px;
	}
		#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: #93C7E7 url(../images/hoverTabLeft.gif) no-repeat left top; 
						color: #fff;
						cursor: pointer;
					}
					#Navigation ul li a:hover span {
						background: #93C7E7 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: #fff url(../images/activeTabLeft.png) no-repeat left top; 
				 	color: #444;
					}
				#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: #fff url(../images/activeTabRight.png) no-repeat right top;
					color: #444;
				}
 */    
/* BREADCRUMBS
-------------------------------------------- */
#Breadcrumbs { 
 	color: #B7C0C5;
	text-align: left;
	font-size: 0.9em; 
	margin: 0px 5px 10px 0;
}
	#Breadcrumbs p {
		margin: 0;
	}


/* SIDEBAR
-------------------------------------- */
#Sidebar { 
 	width: 200px; 
	float: left;  
	margin: 0;
	padding: 0;
}
	#Sidebar .sidebarBox {
		margin: 0 0 5px 10px;
		padding-bottom: 8px;
		background: #EFEFEF;
		border-radius: 10px 10px;
                -moz-border-radius: 10px;
	}
	#Sidebar ul {
		margin: 2px 0 5px 3px;
	}
		#Sidebar li {
			margin: 8px 2px;
			list-style: none;
		}
	#Sidebar h3 { 
		clear: both; 
		text-transform: lowercase;
		color: #db0404;
		font-weight: 700; 
		font-size: 1.4em; 
		margin: 0px 0 10px 0;
		line-height: 1.8;
		padding: 5px 0 5px 10px;
		border-bottom: #db0404 2px solid;
	}
	
	#Sidebar .sidebarBottom {
		height: 15px;
		display: block;
		width: 200px;
		margin: -5px 0 0 0;
                /*background: #EFEFEF url(../images/sidebarBottomBg.gif) no-repeat center bottom; */
	}
	#Sidebar a em {
		font-style: normal;
	}
	#Sidebar p {
		font-size: 11px;
	 	clear: both;
	 	margin: 10px 10px 0 10px;
	}
	
	/* MENU2 */
    ul#Menu2 li { 
    	font-size: 0.9em; 
    	margin: 1px 0 5px 4px;
        list-style: none;
    }
    	ul#Menu2 li a {
            display: block;
            width: 196px;
            font-size: 1.2em;
            height: 1.8em;
            line-height: 1.8em;
            color: #898989;
      	}
			ul#Menu2 li em {
				padding-left: 8px;
				display: block;
			}
				ul#Menu2 li li em {
					padding-left: 0;
				}
      	/* Level 1 
      	- We use 3 elements for the nav to get 3 background images applied.
            * span - topleft rounded corner
            * em - bottomleft rounded corner
            * a - arrow on the right
            <a><span><em></em></span></a>
      	*/
      	ul#Menu2 li a:hover,
      	ul#Menu2 li a.current,
      	ul#Menu2 li a.current:hover {
        	background: #DCDCDC url(../images/sidebarSideArrow.gif) no-repeat right center;
        	color: #666;
			cursor: pointer;
            text-decoration: none;
      	}
	  	ul#Menu2 li a.current {
	  		font-weight: 700;
	  	}
      	ul#Menu2 li a.section,
      	ul#Menu2 li a.section:hover {
            background: #DCDCDC;
            font-weight: 700;
            width: 193px; 
      	}
      	ul#Menu2 li a.levela:hover span,
      	ul#Menu2 li a.current span,
      	ul#Menu2 li a.section span,
      	ul#Menu2 li a.section:hover span,
      	ul#Menu2 li a.current:hover span {
			background: transparent url(../images/sidebarTopLeftHover.gif) no-repeat left top;
			display: block;
			width: 100%;
			height: 100%;
		} 
		ul#Menu2 li a.levela:hover em,
		ul#Menu2 li a.current em,
		ul#Menu2 li a.section em,
		ul#Menu2 li a.section:hover em,
		ul#Menu2 li a.current:hover em {
        	background: transparent url(../images/sidebarBottomLeftHover.gif) no-repeat left bottom;
			display: block;
			width: 100%;
            height: 100%;
      	}
      		ul#Menu2 li ul {
            	height: 100%;
            	position: relative;
            	margin: -4px 0 0 0;
            	width: 193px;
            	padding: 4px 0 10px 0;
            	background: #DCDCDC url(../images/sidebarSectionBottom.png) no-repeat bottom left;
      		}
      			ul#Menu2 li ul li {
            		width: 160px;
            		background: #DCDCDC;
            		padding: 0;
            		font-size: 0.8em;
            		display: inline;
            		margin: 0;
      			}
      				ul#Menu2 li ul li ul {
            			background: #DCDCDC;
            			margin-left: 0;
      				}	
      
					ul#Menu2 li li a.current,
      				ul#Menu2 li li a.section,
      				ul#Menu2 li li a.section:hover,
      				ul#Menu2 li li a.current:hover {
            			color: #555;
            			font-weight: 700;
            			background: #DCDCDC;
      				}
      					ul#Menu2 li li ul {
            				margin: 0 0 0 10px;
            				padding: 0;
            				width: 175px;
      					}
      					ul#Menu2 li li ul .roundWhite {
            				margin-bottom: -10px;
      					}
      			
			/* Sub Menu */
      		ul#Menu2 li a.levelb {
            	font-size: 1.7em;
            	text-indent: 8px;
            	width: 188px;
				background: transparent;
            	margin-left: 10px;
      		}
	  		ul#Menu2 li a.levelb:hover,
      		ul#Menu2 li li a.current,
      		ul#Menu2 li li a.current:hover,
      		ul#Menu2 li li a.section,
      		ul#Menu2 li li a.section:hover {
            	background: #BCBCBC url(../images/sidebarSideArrow2.gif) no-repeat right center;
            	text-decoration: none;
            	display: block;
            	color: #fff;
      		}
      		ul#Menu2 li a.levelb:hover span,
      		ul#Menu2 li li a.current span,
      		ul#Menu2 li li a.current:hover span,
      		ul#Menu2 li li a.section span,
      		ul#Menu2 li li a.section:hover span {
            	background: transparent url(../images/sidebarTopLeftHover2.gif) no-repeat left top;
            	display: block;
            	width: 100%;
            	height: 100%;
      		} 	
      		ul#Menu2 li a.levelb:hover em,
      		ul#Menu2 li li a.current em,
      		ul#Menu2 li li a.current:hover em,
      		ul#Menu2 li li a.section em,
      		ul#Menu2 li li a.section:hover em {
            	background: transparent url(../images/sidebarBottomLeftHover2.gif) no-repeat left bottom;
            	display: block;
            	width: 100%;
            	height: 100%;
      		}

/* 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: #db0404;
	
}
	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;
	}


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

/* #Footer { 
 	clear: both;  
	width: 800px; 
	height: 5em; 
	background: transparent url(../images/footerBottom.gif) no-repeat bottom left; 
	text-align: center; 
}
	#Footer .footerTop {
		width: 100%;
		background: transparent url(../images/footerTop.gif) no-repeat top left;
		display: block;
		height: 2em;
	}
  	#Footer p { 
		color: #fff;
		font-size: 1.1em;
		text-align: center;
		margin-top: -0.6em;
	}
  		#Footer a { 
	   		color: #fff; 
	   		text-decoration: none;
		}
			#Footer a:hover {
				color: #fff;
				text-decoration: underline;
			}
			
*/

div#footer {
	width:100%;
	background: url(../images/footer-back-gradient.png) repeat-x 0 0;
	}

div#footerContainer {
	width: 970px;
	margin: 0 auto;
	background: url(../images/footer-background.png) no-repeat 0 0;
	height: 18.5em;
	color: #f5f5f5;
	position: relative;
	line-height: 1.5em;
	}

div#footerContainer h2 {
	font-family: Georgia, serif;
	position: absolute;
	top: 25px;
	left: 35px;
	font-size: 2em;
	font-weight: normal;
	}
	
div#footerContainer p#telephone {
	position: absolute;
	top: 60px;
	left: 220px;
	}
	
div#footerContainer p#address {
	border-right: 1px solid #fff;
	padding-right: 25px;
	position: absolute;
	top: 60px;
	left: 35px;
	}
	
div#footerContainer p#authorization {
	position: absolute;
	top: 150px;
	left: 35px;
	}


	ul.socialMedia {
		list-style: none;
		position: absolute;
		}
		
	ul#smCol1 {
		top: 20px;
		left: 640px;
		}
		
	ul#smCol2 {
		top: 20px;
		left: 780px;
		}
		
	ul.socialMedia li a {
		color: #fff;
		text-decoration: none;
		height: 26px;
		display: block;
		padding-left: 30px;
		padding-top: 6px;
		}
		
	ul.socialMedia li a:hover {
		text-decoration: underline;
		}
		
	ul.socialMedia li {
		}
	
	a#facebook {
		background: url(../images/facebook.png) no-repeat 0 0;
		}
	
	a#twitter {
		background: url(../images/twitter.png) no-repeat 0 0;
		}
	
		a#linkedin {
		background: url(../images/linkedin.png) no-repeat 0 0;
		}
	
	a#rss {
		background: url(../images/rss.png) no-repeat 0 0;
		}
div#footerContainer #footer-form {
	position: absolute;
	top: 110px;
	left: 600px;
	}