/** 
 * 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: 20px;
	font-family: Verdana, Lucida, sans-serif; 
}



.ds p { 
 	color: #fff; 
 	font-size: 1.1 em; 
	font-family: Arial, Tahoma, Verdana, sans-serif;
}

.ds a { 
 	text-decoration: none; 
	color: #aaa;
}
	.ds a:hover { 
 		text-decoration: underline;
	}
	
	

html {	
	background:#454545;
	
}

table {
	border-collapse: collapse;
	border-spacing: 0;	
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

.clear{
	clear:both;
}

/* CONTAINER  GREEN
----------------------------------------- */
#BgContainer {
	width: 985px;  
	margin: 0 auto; 
 
}
#Container { 
	width: 100%;
	padding-bottom: 0px;
	background-image: url(http://www.dgsmyourchoice.org.uk/themes/dgs/images/backside.gif) ;
    background-repeat: repeat-y;
}

#Layout {
/* MAIN BOX HOLDER-------blue--- */
	width: 100%;
	/* removed this... stops losing main content
	overflow: hidden;	
	---------------------------------------- */
	background-image: url(http://www.dgsmyourchoice.org.uk/themes/dgs/images/backside.gif) ;
    background-repeat: repeat-y;
}

#Content {
/* main middle content------------------purple-------- */
	width: 544px;
	float: left; 	
	margin: 0px 0px 0px 0px;
	padding-left: 0px;
	text-align: left;
	    							 
/*	GARISH BCK

	background:#ffddff;
-------------------------------------- */
}

#rightcontent {
	width: 205px;
	float: right; 	
	margin: 0px;
	text-align: center;
	padding-left: 0px; 
	text-align: left;
		/* GARISH BCK  
	background:#88ff88;
	-------------------------------------- */


	
}

/* HEADER
----------------------------------------- */
#Header { 
 	width: 100%; 
	height: 90px;
 	margin: 0 auto;
	overflow: hidden;
	background-image: url(../images/topback.jpg);	
}
 	#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;
	}

/* MAIN NAVIGATION - TABS
---------------------------------------- */
#Navigation {
	width: 985px;
	margin: 0 auto;
	height: 35px;
    float: right;
	overflow: hidden;
	text-align: right;
	background-image: url(../images/naviback.jpg);	
}
	#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: 220px; 
	float: left;  
	margin: 0px 0px 0px 0px;
	padding: 0;
	text-align: center;
	
	
	
	/* GARISH BCK  
	background:#ff0000;
	-------------------------------------- */

	clear: both;	
}

	#Sidebar .sidebarBox {
		margin: 0 0 15px 0;
		padding-bottom: 2px;
	}
	#Sidebar ul {
		margin: 2px 0 5px 3px;
	}
		#Sidebar li {
			margin: 8px 2px;
			list-style: none;
		}
	#Sidebar h3 { 
		clear: both; 
		text-transform: lowercase;
		color: #fff;
		font-weight: 700; 
		font-size: 1.4em; 
		margin: 0 0 10px 0;
		line-height: 1.8;
		padding: 1px 0 0 10px;
		background: transparent url(../images/sidebarHeaderSub.gif) repeat-x center left;
	}
	
	#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: 230px;
	margin: 5px;
}
html #SearchForm_SearchForm .middleColumn {
	float: left;
	width: 160px;
	margin: 0 10px 0 0;
	padding: 0px;
		background:#ffffff;
 
		
}
	html #SearchForm_SearchForm .middleColumn input.text {
		width: 160px;
		border: 1;
		color: #333333;
		font-size: 100%;  
		font-family: Verdana,Arial, Lucida, sans-serif; 
	}
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;  
	background:#a01919;
	height:85px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #ecc1bf;
	width: 985px; 	
	text-align: center; 
}
	#Footer .footerTop {
		width: 100%;
		display: block;
		height: 2em;
	}
  	#Footer p { 
		color: #ecc1bf;
		font-size: 1.1em;
		text-align: center;
		
	}
  		#Footer a { 
	   		color: #fff; 
	   		text-decoration: none;
		}
			#Footer a:hover {
				color: #ff0;
				text-decoration: none;
			}
						

/* ================================================================ 
This copyright notice must be kept untouched in the stylesheet at 
all times.

CSS NAVIGATION CODE HERE>>> REMOVE IF NOT WORKING

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menu/pro_drop4.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
#Navigation {
	padding-bottom: 3px;
	_padding-bottom: 0;
}
#Menu1 li {
	margin: 0 2px;
	
}
#Menu1 ul.sub1 li a.current {
	font-weight: 700;
}
#Menu1 li a.top_link {
	display:block; 
	float:left; 
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	cursor:pointer;
	height: 2.9em;
	background: #520303 url(../images/menuNormalLeft.gif) no-repeat left top;
	margin: 0;
	line-height: 2.9em;
}
#Menu1 {list-style:none; height: 2.9em; position:relative; z-index:50;}
#Menu1 li.top {display:block; float:left;}
#Menu1 li a.top_link span {
	display: block;
	padding-right: 5px;
	font-family: "Trebuchet MS", Verdana, Sans-serif;
	letter-spacing: 0.02em;
	padding: 0  8px 0 9px;
	background: url(../images/menuNormalRight.gif) no-repeat right top;
}

/** SPILT THIS FOR IE */
#Menu1 li a.top_link:hover {
	background: #440001 url(../images/menuHoverLeft.gif) no-repeat left top;
}
#Menu1 li:hover > a.top_link {
	background: #440001 url(../images/menuHoverLeft.gif) no-repeat left top;
}
#Menu1 li a.top_link:hover span {
	background: url(../images/menuHoverRight.gif) no-repeat right top;
}
#Menu1 li:hover > a.top_link span {
	background: url(../images/menuHoverRight.gif) no-repeat right top;
}
#Menu1 li.current a,
#Menu1 li.section a {color:#000; background: #fff url(../images/menuActionLeft.gif) no-repeat;}

/* NOTE IE6 has issues with using 4, break into 2  */
#Menu1 li.current:hover > a.top_link,
#Menu1 li.section:hover > a.top_link {color:#000; background: #fff url(../images/menuActionLeft.gif) no-repeat;}

#Menu1 li.current a span,
#Menu1 li.section a span { background: url(../images/menuActionRight.gif) no-repeat right top;}

#Menu1 li.current:hover > a.top_link span,
#Menu1 li.section:hover > a.top_link span { background: url(../images/menuActionRight.gif) no-repeat right top;}


#Menu1 li.section:hover > a.top_link,
#Menu1 li.current:hover > a.top_link,
#Menu1 li.section:hover > a.top_link:hover,
#Menu1 li.current:hover > a.top_link:hover {color:#000; background: #fff url(../images/menuActionLeft.gif) no-repeat;}

#Menu1 table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}

#Menu1 a:hover {visibility:visible; position:relative; z-index:200;}
#Menu1 li:hover {position:relative; z-index:200;}

/* keep the 'next' level invisible by placing it off screen. */
#Menu1 ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#Menu1 ul.sub1 {width:auto;}
#Menu1 ul.sub1 li {
	clear: left;
	width: 100%;

}
#Menu1 :hover ul {left:0; top:35px; background: #440001; padding:0 0 7px 0; white-space:nowrap; border: none; height:auto; z-index:300;}
#Menu1 :hover ul li {display:block;position:relative; background: #440001;  font-weight:normal; width:200px; margin-left: 0;}
#Menu1 :hover ul li a {
	display:block;  
	clear: both; 
	font-size:11px; 
	text-transform: none; 
	width: 100%; 
	padding: 6px 0px 6px 0;
	text-indent: 10px; 
	color:#fff; 
	line-height: 15px;
	background: #440001;
	border-bottom: 1px solid #4f0506;
	}
#Menu1 :hover ul li a:hover {background:#011a33; color:#fff;}
