/** 
 * 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: Arial, Helvetica,Verdana, Lucida, sans-serif; 
	background:#fff url(../images/headerBg.jpg) repeat-x;
}

html {
	background: #030303;
}

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

.clear{
	clear:both;
}

ul li {
	background:url(../images/listImage.jpg) no-repeat;
	list-style-type:none;
	padding-left:20px;
}

/* CONTAINER
----------------------------------------- */
#BgContainer {
	width: 800px;  
	margin: 0 auto; 
}
#Container { 
	width: 800px;
	padding-bottom: 15px;
}
#Layout {
	width: 930px;
	clear: both;
	overflow: hidden;
	margin: 15px auto;
}
.Content {
	width: 884px;	
	margin: 0 auto;
	text-align: left;
}

.narrowContent {
	width:540px;
	float:left
}
	.narrowContent a {
		text-decoration:underline!important;
	}
	.narrowContent a:hover {
		text-decoration:none!important;
	}
/* HEADER
----------------------------------------- */
#Header { 
 	width: 884px; 
	height:70px;
 	margin: 0 auto;
	overflow: hidden;
	background: #2d2d2d url(../images/headerBg.jpg) repeat-x;
}
 	#Header img { 
	  	margin:3px 0px 0px;
		float:left;
	}
	#Header a img {
		border:0;
	}
	#Header a.logo {
		float:left;
		width:263px;
	}
	
#blueBar {
	width:100%;
	min-height:169px;
	background: #e7f4fd url(../images/blueBar.jpg) repeat-x bottom left;
	text-align:center;
	padding:10px 0px;
}
	#blueBar img {
		padding:0px 20px;
	}
	#blueBar p {
		_font-size:1.4em!important;
	}
	#blueBar .thumbnail {
		float:left;
		width:180px;
		margin:10px;
		text-align:center;
	}
	#blueBar h1 em {
		margin:0!important;
		font-size:26px!important;
	}
/* MAIN NAVIGATION - TABS
----------------------------------------- */
#Navigation {
	float:right;
	margin: 0 auto;
	padding-top: 5px;
	overflow: hidden;
	width:50%;
}
	#Navigation ul.mainMenu { 
 		float: right; 
		margin-right: 10px;
	}
		#Navigation ul.mainMenu li { 
	 		list-style: none; 
			margin: 0 2px; 
			float: left;
			line-height: 2.5em;
			display: block;
			background:none;
			padding:0;
		}
  			#Navigation ul.mainMenu li a { 
				float: left;
				text-decoration: none;
				display: block; 
				height: 25px; 
				font-size: 1.5em; 
				padding: 0 0 0 10px;
				color: #fff;
			}
				#Navigation ul.mainMenu li a span {
					text-align: center;
	        		float: left;
					padding-right: 10px;
					/*height: 2.3em;*/
				}
					#Navigation ul.mainMenu li a:hover { 
			 			background: #e4e4e4 url(../images/hoverTabLeft.jpg) no-repeat left top; 
						color: #444;
						cursor: pointer;
					}
					#Navigation ul.mainMenu li a:hover span {
						background: #e4e4e4 url(../images/hoverTabRight.jpg) no-repeat right top;
						cursor: pointer;
					}
					
    			#Navigation ul.mainMenu li a.current,
	    		#Navigation ul.mainMenu li a.section,
	    		#Navigation ul.mainMenu li a.section:hover,
	    		#Navigation ul.mainMenu li a.current:hover { 
				 	background: #c9f3fe url(../images/activeTabLeft.jpg) no-repeat left top; 
				 	color: #000;
					font-weight:bold;
				}
				#Navigation ul.mainMenu li a.current span,
				#Navigation ul.mainMenu li a.section span,
	    		#Navigation ul.mainMenu li a.section:hover span,
				#Navigation ul.mainMenu li a.current:hover span {
					background: #c9f3fe url(../images/activeTabRight.jpg) no-repeat right top;
					color: #000;
				}
 
/* TOP MENU
-------------------------------------------- */
.topMenu {
	float:right;
	color:#fff;
	margin:10px 23px 5px 0;
	font-size:1.3em;
}
	.topMenu a {
		color:#c9f3fd;
		padding:0 5px;
		height:18px;
		display:block;
		float:right;
		line-height:18px;
		_width:30px;
	}
	.topMenu a.current {
		background: url(../images/topmenuLeft.jpg) no-repeat;
		color:#000;
		text-decoration:none;
	}
	.topMenu a.current span {
		background: url(../images/topmenuRight.jpg) no-repeat right top;
		height:18px;
		display:block;
		padding-right:7px;
		
	}
   
/* BREADCRUMBS
-------------------------------------------- */
#Breadcrumbs { 
 	color: #B7C0C5;
	text-align: left;
	font-size: 0.9em; 
	margin: 0px 5px 10px 0;
}
	#Breadcrumbs p {
		margin: 0;
	}


/* SIDEBAR
-------------------------------------- */
#Sidebar { 
 	width: 330px; 
	float: right;  
	margin: 10px 0 0 0;
	padding: 0;
}
	#Sidebar .sidebarBox {
		margin: 0 0 5px 0;
		padding-bottom: 2px;
		background: #EFEFEF url(../images/sidebarHeader.gif) no-repeat left top; 
	}
	#Sidebar ul {
		margin: 2px 0 5px 3px;
	}
		#Sidebar li {
			margin: 8px 2px;
			list-style: none;
		}
	#Sidebar h3 { 
		color: #879e00;
		font-size: 2.2em; 
		background:none;
		margin:0;
		padding:0 0 -10px 10px;
		width:auto;
	}
	
	#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 {
	 	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%;
      		}

.RandomContentWidget {
	margin-bottom:20px;
}
.RandomContentWidget img {
	clear:both;
	margin:-80px 0 0 220px;
}
.RandomContentWidget p {
	float:right;
	text-align:right;
	font-size:10px!important;
}
.quote {
	width:334px;
	background: url(../images/quoteboxtop.jpg) no-repeat;
	float:left;
}
.quote .nophoto {
	padding-bottom:10px;
}
.quoteBox {
	width:334px;
	background: url(../images/quoteboxbottom.jpg) no-repeat bottom left;
}

	.quoteBox p {
		font-family:Georgia, Times, sans-serif!important;
		font-size:1.7em!important;
		text-align:center!important;
		width:194px;
		padding:10px;
		margin:15px 0 20px!important;
		background:#f1f1f1;
		float:none;
	}
	span.name {
		font-weight:bold!important;
		color:#000!important;
		text-align:left!important;
		width:85px;
		clear:none!important;
	}
	span.company {
		font-weight:bold!important;
		color:#00caf6!important;
		text-align:left!important;
		width:85px;
		clear:none!important;
	}

.yellowbox {
	width:319px;
	background: #f5fdcf url(../images/yellowboxTop.jpg) no-repeat;
	margin-bottom:20px;
}
.yellowboxBox {
	width:299px;
	background: url(../images/yellowboxBottom.jpg) no-repeat bottom left;
	padding:10px 10px 40px;
}
	.yellowboxBox ul {
		margin:20px 0 0 30px!important;
	}
		.yellowboxBox li {
			background: url(../images/yellowboxTick.jpg) no-repeat;
			padding-left:25px;
			color:#6a7d00;
			font-weight:bold;
		}
		
	.yellowboxBox ul.noticks {
		margin:0 0 0 30px!important;
	}
		.yellowboxBox ul.noticks li {
			background: url(../images/greenListDot.jpg) no-repeat 0 3px;
			padding-left:15px;
			color:#000;
			font-weight:normal;
		}
	a.greenbutton {
		background: url(../images/yellowboxButton.jpg) no-repeat;
		width:247px;
		height:52px;
		display:block;
		margin-left:25px;
		text-align:center;
		color:#fff!important;
		font-size:1.7em;
		font-weight:bold;
		line-height:51px;
		text-decoration:none;
	}
	
.meetrichard {
	width:319px;
	background: #f2f2f2 url(../images/meetrichardTop.jpg) no-repeat;
}
.meetrichardBox {
	width:299px;
	background: url(../images/meetrichardBottom.jpg) no-repeat bottom left;
	padding:10px 10px 40px;
	/*margin-bottom:20px;*/
}
	.meetrichardBox ul {
		margin:20px 0 0 10px!important;
	}
		.meetrichardBox li {
			background: url(../images/blueTick.jpg) no-repeat;
			padding-left:25px;
		}
	a.linkedin, a.linkedin:visited {
		background: url(../images/linkedin-icon.jpg) no-repeat !important;
		font-size:1.7em;
		line-height:31px;
		padding-left:40px;
		display:block;
		height:31px;
	}
	
.homepageQuote {
	width:825px;
	background: #ebebeb url(../images/homepageQuoteTop.jpg) no-repeat;
	margin:30px 0 0 60px;
	*padding-bottom:-20px;
}
.homepageQuoteBox {
	font-family:Georgia, Times, sans-serif!important;
	text-align:center!important;
	width:785px;
	background: url(../images/homepageQuoteBottom.jpg) no-repeat bottom left;
	padding:20px;
	margin-bottom:10px;
	*margin-bottom:0;
}
	.homepageQuoteBox {
		font-family:Georgia, Times, sans-serif!important;
	}
	
.greybox {
	width:319px;
	background: #f2f2f2 url(../images/meetrichardTop.jpg) no-repeat;
}
.greyboxBox {
	width:299px;
	background: url(../images/greyboxBottom.jpg) no-repeat bottom left;
	padding:10px 10px 40px;
}
/* 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;
	}


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

#Footer { 
 	clear: both;  
	width: 100%; 
	height: 130px; 
	background: #030303 url(../images/footerBg.jpg) repeat-x ; 
	text-align: center; 
	padding-bottom:20px;
}
	#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.5em;
		text-align: left;
		margin:30px auto;
		width:320px;
	}
		#Footer p.small { 
			color: #fff;
			font-size: 12px!important;
			text-align:center!important;
		}
  	#Footer img {
		margin:0 10px;
	}
	#Footer a { 
	   		color: #fff; 
	   		text-decoration: underline;
		}
		#Footer a.link { 
				font-size:1.8em;
			}
		#Footer a:hover {
			color: #fff;
			text-decoration: none;
		}
		#Footer a.current {
			text-decoration:none;
			font-size:1.8em;
		}
			
			
.quotetext {
	font-family: Georgia!important;
	text-align:center!important;
}

.casestudylogo {
	border: 1px solid #666!important;
	margin:20px;
}

.bodyquote {
	float:right;
	text-align:left!important;
	width:400px;
	padding:0px 5px;
}
	.bodyquote p {
		margin:0 0 3px!important;
}

.quoter {
	font-size:1.3em!important;
	color:#797979!important;
}
