/** 
 * 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: 0 auto;
 	//margin-bottom: 40px;
	font-family: Arial,Helvetica,sans-serif,"Myriad Pro"; 
}

html {
	background: #1D2329;// url(../images/bginterior.png) repeat-x scroll center top;
	 
}

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

.clear{
	clear:both;
}

/* CONTAINER
----------------------------------------- */
#BgContainer {
	width: 909px;  
	margin: 0 auto 0 auto; 
}
#Container { 
	width: 909px;
	padding-bottom: 15px;
	//background: url(../images/shadowbg2big.png) repeat-y;
}

#Layout-Wrap {
	background: #fff;
	width: 100%;
}

#Layout {
	width: 902px;
	clear: both;
	overflow: hidden;
	margin: 0 auto;
}
#Content {
	width: 600px;
	//float: right; 	
	margin: 0;
	text-align: left;
}
/* HEADER
----------------------------------------- */
#Header-Wrap {
	width: 100%;
	background: url(../images/bgheader.png) repeat-x;
}

#Header { 
 	width: 909px;
 	height: 130px; 
 	margin: 0 auto;
 	//padding-top: 20px;
	//overflow: hidden;
	//background: url(../images/headerback3.png) repeat-x left top;
}
#Header .logo {
	width:325px;
	height:100px;
	//padding-top: 20px;
	margin: 15px auto 0 auto;
	overflow: hidden;
	Float: left;
	background:transparent url(../images/ComitatusLogo3.png) no-repeat top left;
	}
 	#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;
	}
/*  myComitauts Sidebar
------------------------*/
#MyComitatus {
	width:24px;
	height:130px;
	padding-top: 90px;
	margin: 0 auto auto 0;
	overflow: hidden;
	position: fixed;
	//Float: left;
	//background:transparent url(../images/mycsidebar.png) no-repeat top left;
	}


/*SLIDING BANNER
-------------------*/
#BannerTop { 
 	width: 909px;
 	height: 7px; 
 	margin: 21px auto 0 auto;
 	overflow: hidden;
	background: url(../images/top_box_bg.png) no-repeat;
}
#banner { 
	width:909px; 
	margin:0 auto 0 auto; 
	background:#fff; 
	position:relative; 
	background:#f1f1f1;
}
#banner-slider { 
	padding:2px 3px; 
	width:903px;
}

#prevBtn {
	display:block; 
	height:69px; 
	left:-28px; 
	position:absolute; 
	top:99px; 
	width:35px;
}
#prevBtn a { 
	background:transparent url(../images/prev.png) no-repeat; 
	display:block; 
	height:58px; 
	width:29px; 
	cursor:pointer;
}
#nextBtn { 
	display:block; 
	height:69px; 
	left:909px; 
	position:absolute; 
	top:99px; 
	width:35px;
}
#nextBtn a { 
	background:transparent url(../images/next.png) no-repeat; 
	display:block; 
	height:58px; 
	width:29px; 
	cursor:pointer;
}

/* Easy Slider */
#slider ul, #slider li{	
	margin:0; 
	padding:0; 
	list-style:none; 
	background:#F1F1F1;
}
/*define width and height of container element and list item (slide) list items must be the same size as the slider area */ 
#slider, #slider li{ 
	width:903px; 
	height:271px; 
	overflow:hidden;
}	
#slider li { 
	//border:1px solid #fff; 
	width:901px; 
	height:269px;
}	
span#prevBtn{}
span#nextBtn{}					
/* // Easy Slider */

.banner-left-info { 
	width:245px; 
	padding:20px 29px 0 23px; 
	float:left;
}
.banner-img { 
	float:right; 
	padding:15px 0 0 0; 
	width:584px;
}
p.banner-heading { 
	color:#413C2F; 
	font-size:32px; 
	margin:0; 
	padding:0; 
	text-transform:uppercase; 
	font-weight:bold;
}
p.banner-subheading { 
	color:#787263; 
	font-size:12px; 
	margin:0; 
	padding:8px 0 16px;
}
p.banner-text { 
	color:#999999; 
	font-size:10px; 
	margin:0; 
	padding:0 0 30px 0;
}

a.link1 { 
	display:block; 
	background:url(../images/view_website_btn.jpg) no-repeat; 
	width:99px; 
	height:36px; 
	float:left;
}
a.link2 { 
	display:block; 
	background:url(../images/view_portfolio_btn.jpg) no-repeat; 
	width:120px; 
	height:36px; 
	float:right;
}


/*
BOXES BELOW BANNER
--------------------*/
.boxes { 
	width:909px; 
	margin:0 auto; 
	background:#DFDFDF url(../images/box_bg_line.jpg) repeat-x;
}
.boxes p { 
	margin:20px 0 0px 0;
}
.box1 { 
	width:283px; 
	float:left; 
	padding:0 0 0 20px;
}
.box { 
	width:303px; 
	float:left;
}
.boxes-bottom { 
	width:909px; 
	margin:0 auto; 
	background:url(../images/bottom_box_bg.png) no-repeat; 
	height:6px;
}
p.about-us { 
	background:url(../images/about_us.png) no-repeat; 
	padding-left:120px; 
	font-size:20px; 
	color:#949494; 
	text-transform:uppercase; 
	height:52px; 
	font-weight:bold; 
	padding-top:40px;
}
p.services { 
	background:url(../images/services.png) no-repeat; 
	padding-left:120px; 
	font-size:20px; 
	color:#949494; 
	text-transform:uppercase; 
	height:52px; 
	font-weight:bold; 
	padding-top:40px;
}
p.contact { 
	background:url(../images/contact.png) no-repeat; 
	padding-left:120px; 
	font-size:20px; 
	color:#949494; 
	text-transform:uppercase; 
	height:52px; 
	font-weight:bold; 
	padding-top:40px;
}
p.box-text { 
	font-size:11px; 
	color:#929292; 
	margin:10px 10px 0 0; 
	padding:10px 0 15px 0; 
	border-top:1px dashed  #A6A4A5;
}
a.next-btn { 
	display:block; 
	width:88px; 
	height:21px; 
	background:url(../images/next_btn.png) no-repeat; 
	float:right; 
	margin-right:20px; 
	cursor:pointer;
}

/* HOME PAGE CONTENT
-----------------------*/
.hpcontent { 
	width:600px; 
	margin:0 
	auto;
}
p.hpcontent-heading { 
	color:#777777; 
	font-size:18px; 
	font-weight:bold; 
	margin:30px 0 0 0; 
	padding:0; 
	text-transform:uppercase;
}
p.hpcontent-subeading { 
	color:#ACABA8; 
	font-size:12px; 
	font-weight:bold; 
	margin:10px 0 0 0; 
	padding:0;
}
p.hpcontent-text { 
	color:#ACABA8; 
	font-size:12px; 
	margin:15px 0 0 0; 
	padding:0;
}
a.read-more { 
	float:right; 
	text-decoration:none; 
	font-size:12px; 
	color:#A1A1A1; 
	font-weight:bold;
}
a.read-more:hover { 
	text-decoration:underline;
}

.hpcontent-left { 
	width:605px; 
	float:left;
}
.hpcontent-right { 
	width:275px; 
	float:right;
}
.img-border { 
	border:2px solid #DFDFDF; 
	margin-top:15px;
}
ul.hpcontent-list { 
	list-style:none; 
	margin:20px 0 0 0; 
	padding:0; 
	width:535px;
}
ul.hpcontent-list li { 
	font-size:12px; 
	color:#A1A1A1; 
	margin:0; 
	padding:0;
}
ul.hpcontent-list li p { 
	border-top: 1px dashed #CBCACB; 
	float:right; 
	margin:0 0 5px 0; padding:5px 0 0 0;
}
span.icon1 { 
	background:url(../images/icon1.jpg) no-repeat; 
	width:20px; 
	height:24px;
	display:block; 
	float:left; 
	margin:5px 0;
}
span.icon2 { 
	background:url(../images/icon2.jpg) no-repeat; 
	width:24px; 
	height:23px; 
	display:block; 
	float:left; 
	margin:5px 0;
}
span.icon3 { 
	background:url(../images/icon3.jpg) no-repeat; 
	width:21px; 
	height:24px; 
	display:block; 
	float:left; 
	margin:5px 0;
}
span.icon4 { 
	background:url(../images/icon4.jpg) no-repeat; 
	width:23px; 
	height:23px; 
	display:block; 
	float:left; 
	margin:5px 0;
}


/* MAIN NAVIGATION - TABS
----------------------------------------- */
#Navigation {
	//width: 520px;
	height: 30px;
	//margin: 0 auto auto 120;
	padding-top: 60px;
	padding-left: 50px;
	//overflow: hidden;
	//background: #4ea3d7 url(../images/navbg.png) repeat-x center bottom;
}
	#Navigation ul { 
 		float: right; 
		margin-right: 10px;
	}
		#Navigation ul li { 
	 		list-style: none; 
			margin: 0 2px; 
			float: left;
			line-height: 1.5em;
			display: block;
		}
  			#Navigation ul li a { 
				float: left;
				text-decoration: none;
				display: block; 
				height: 1.5em; 
				font-size: 1.5em; 
				padding: 0 18px 0 18px;
				color: #fff;
				//text-transform: uppercase;
			}
				#Navigation ul li a span {
					text-align: center;
	        		float: left;
					padding-right: 3px;
					height: 2.3em;
				}
					#Navigation ul li a:hover { 
			 			//background: url(../images/menu.png) no-repeat center top; 
						border-top: 2px solid #B80000;
						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: url(../images/menu.png) no-repeat left top; 
				 	color: #fff;
				 	//text-transform: uppercase;
					}
				#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: #fff;
					//text-transform: uppercase;
				}
    
/* BREADCRUMBS
-------------------------------------------- */
#Breadcrumbs { 
 	color: #B7C0C5;
	text-align: left;
	font-size: 0.9em; 
	margin: 0px 5px 10px 0;
}
	#Breadcrumbs p {
		margin: 0;
	}

/* SIDEBAR
-------------------------------------- */
#sidebar {
	float: right;
	width: 30%;
	margin: 0 0 10px 0; padding: 0;	
}	
#sidebar h1 {
	padding: 10px 0px 5px 10px;
	margin: 0;
	color: #777777;	
	font-weight: bold;
	font-size: 16px;
		
}
#sidebar p {
	padding: 7px 0px 5px 10px;
	margin: 0;
	color: #949494;
	font-size: 11px;
}
#sidebar a {
	color: #A1A1A1;
}
#sidebar a:hover {
	color: #1D2329;
}
.sidebox {
	//background: #2F2F2E;
	//border: 2px solid #4F749F;
	margin-bottom: 10px;
}

/* sidebar menu */
#sidebar ul.sidemenu {
	list-style:none;
	margin: 10px 0 15px 0;
	padding: 0;
	//background: #F2F2F2;			
}
#sidebar ul.sidemenu li {
	padding: 0px 10px;
	//background: #2F2F2E;
}
#sidebar ul.sidemenu a {
	display:block;
	font-weight:bold;
	color: #949494;
	height: 1.5em;	
	padding:.3em 0 .3em 15px;
	line-height: 1.5em;
	//border-bottom: 1px dashed #4F749F;
	text-decoration:none;
}
#sidebar ul.sidemenu a.top{	
	//border-top: 1px dashed #4F749F;
}
#sidebar ul.sidemenu a:hover {
	padding: .3em 0 .3em 10px;
	border-left: 5px solid  #1D2329;
	color: #1D2329;		
}
#sidebar ul.sidemenu a.current,
#sidebar ul.sidemenu a.section {
	padding: .3em 0 .3em 10px;
	border-left: 5px solid  #949494;
	color: #949494;		
}

/* 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: 178px;
	margin: 5px 0 5px 0;
}
html #SearchForm_SearchForm .middleColumn {
	float: left;
	width: 144px;
	margin: 0 5px 0 0;
	padding: 2px;
	background-color: #B80000;
	
}
	html #SearchForm_SearchForm .middleColumn input.text {
		width: 140px;
		border: none;
		color: #777;
		background-color: #F1F1F1;
	}
	
	html #SearchForm_SearchForm input.action {
      display: block;
      float: right;
      clear: none;
      background: url(../images/submitbutton.png) no-repeat;
      cursor: pointer;
      overflow: hidden;
      width: 25px;
      height:15px;
      margin-right: 0px;
      margin-top: -12px;
      padding-top: 15px; /* Should match hight value-->for hiding label */   
      border: none;
    }
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%;//932px; 
	padding-top: 70px;
	padding-bottom: 70px;
	height: 100px; 
	text-align:center; 
	color:#949494;
	background: #1D2329;// transparent url(../images/shadowbgbottom3.png) repeat-y bottom left; 
	text-align: center; 
}
	//**#Footer .footerTop {
		width: 100%;
		background: transparent url(../images/shadowbgdarkbig.png) no-repeat top left;
		display: block;
		height: 2.0em;
	}
  	#Footer p { 
		color: #fff;
		font-size: 1.1em;
		text-align: center;
		margin-top: -1.5em;
	}**//
	  		#Footer a { 
	   		color: #fff; 
	   		text-decoration: none;
		}
			#Footer a:hover {
				color: #fff;
				text-decoration: underline;
			}