/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */

 html {
	background: #e3e9ee;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}

.clear{
	clear:both;
}

* {
	margin: 0;
	padding: 0;
}

body {
		color: #666;
 	font-size: 13px; 
 	margin-bottom: 40px;
	font-family: Verdana, Lucida, sans-serif; 
}
.clear { clear:both; }
#layout-footer-info { color:#fff; padding-top:22px; text-align:right; font-size:13px; text-transform:uppercase; padding-right:40px; }
#layout-footer-info a { color:#fff; text-decoration:none; }
#layout-footer-info a:hover { color:#c7e1f9; text-decoration:none; }
#l-container { width:1064px; margin:0 auto; padding-top:20px;  }
#l-header {}
#l-header-left a { float:left; height:125px; width:532px; background-image:url(../images/header-left-bg.png); display:block;  }
#l-header-right-contact { width:532px; }
#l-header-right-contact a { display:block; text-transform:uppercase; margin-left:350px; color:#fff; text-decoration:none; font-size:15px; padding-top:28px; letter-spacing:0.1em; margin-right:50px; }

#l-header-right { float:left; display:block; width:532px; height:125px; background-image:url(../images/header-right-bg.png);  }
#l-header-nav { height:44px; width:1042px; display:block; background-image:url(../images/nav-bar.png);  padding-left:22px; }
#l-body { background-image:url(../images/body-bg.png); background-repeat:repeat-y; display:block; width:1064px; overflow:auto; }
#l-footer { background-image:url(../images/footer-bg.png); height:65px; width:1064px; display:block; }

#home-image { width:1033px; background-image:url(../images/homepage-image.png); height:374px; margin-left:16px; display:block; }
#home-text { width:1033px; background-image:url(../images/home-text.png); height:31px; display:block; margin-left:16px; padding-bottom:8px; background-position:top; background-repeat:no-repeat; }
#body-content { margin-left:16px; margin-right:15px; }
#body-padd { margin-left:30px; margin-right:36px; margin-bottom:5px; margin-top:10px; overflow:hidden;  width:966px;  }
#body-holder { margin-left:30px;  margin-bottom:10px; margin-top:10px; display:block; overflow:auto;  }
.product-box { background-image:url(../images/layout-product-bg.png); width:481px; height:108px; display:block; float:left; margin-right:10px;  overflow:auto; margin-bottom:10px; }
.product-box-img   { float:left; width:130px; display:block; }
.product-box-img span { border:1px solid #e3e3e3; display:block; width:93px; height:93px; padding-left:1px; padding-right:1px; margin-left:10px; margin-top:7px; }
.product-box-img img   { padding:1px;  }
#product-box-heading { color:#3a6893; font-size:22px; line-height:16px;  font-weight:300; float:left; width:320px; padding-top:15px; display:block; height:48px; overflow:hidden; }
#product-box-heading a { color:#3a6893; text-decoration:none; }
.product-box-button a { background-image:url(../images/layout-product-button.png); width:145px; height:30px;  display:block; float:left;  }
.nav-spacer { float:left; height:43px; background-color:#467199; display:block; width:1px; margin-top:1px; border-right:1px solid #2f577e; }

.projects-box { width:100% }
.projects-content-odd { float:left; padding-bottom:20px; width:550px;  }
.projects-content-even { float:right;  padding-bottom:20px; text-align:left; }

.projects-image-odd { float:left; width:200px; padding-left:20px; padding-right:60px;  padding-bottom:10px; }
.projects-image-even { float:right; width:200px; padding-right:20px; padding-left:60px;  padding-bottom:10px;   }

#return-button a { width:225px; height:30px; background-image:url(../images/return-button.png); float:right; }
#return-button1 a { width:225px; height:30px; background-image:url(../images/return-button1.png); float:right; }
#nav-main { 
	font-size:15px; text-transform:uppercase; letter-spacing:1px; 
    margin:0;
    padding:0; padding-left:10px;
    list-style:none; 
}  
     
    /* make the LI display inline */
    /* it's position relative so that position absolute */
    /* can be used in submenu */
    #nav-main li {
        float:left;
        display:block;
        position:relative;
        z-index:500;
        margin:0 0px;
    }
         
    /* this is the parent menu */
    #nav-main li a {
        display:block;
        padding-right:17px; padding-left:17px;
        height:31px; margin-top:1px; padding-top:12px;
        text-decoration:none;
       text-align:center;
        color:#fff; 
    }
 
    #nav-main li a:hover {
       background-image:url(../images/nav-over.png); background-repeat:repeat-x;
		
    }
     
  
     
        /* submenu, it's hidden by default */
        #nav-main ul {
            position:absolute; 
             top:44px;
			display:none;
            padding:0; margin:0px; left:-1px; margin-top:0px;
            list-style:none; width:300px; 	font-size:13px; font-weight:700; background-color:#fff;
		    }
         
        #nav-main ul li {
			width:300px; overflow:hidden; left:-1px;  background-position:top; background-position:top; background-repeat:repeat-x; background-color:#2f577d;
            float:left; display:block; border-bottom:1px solid #4876a1; border-left:1px solid #4876a1; border-right:1px solid #4876a1;
          height:24px;
        }
         
        /* display block will make the link fill the whole area of LI */
        #nav-main ul a {
            display:block; 
            padding-top:3px; padding-bottom:0px;
		text-align:left;
            color:#fff; text-decoration:none; width:300px;
        }
         
        #nav-main ul a:hover {
            background-color:#143859; background-image:none;
        }
 
/* fix ie6 small issue */
/* we should always avoid using hack like this */
/* should put it into separate file : ) */
*html #nav-main ul {
    margin:0 0 0 -2px;
}


/* CONTAINER
----------------------------------------- */
#BgContainer {
	width: 800px;  
	margin: 0 auto; 
}
#Container { 
	width: 800px;
	padding-bottom: 15px;
	background: #fff url(../images/containerbg.gif) repeat-y;
}
#Layout {
	width: 760px;
	clear: both;
	overflow: hidden;
	margin: 15px auto;
}
#Content {
	width: 538px;
	float: right; 	
	margin: 0;
	text-align: left;
}
/* HEADER
----------------------------------------- */
#Header { 
 	width: 768px; 
 	margin: 0 auto;
	overflow: hidden;
	background: #58ade1 url(../images/header.gif) repeat-x left center;
}
 	#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: 768px;
	margin: 0 auto;
	padding-top: 10px;
	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 {  float:right;
 	color: #B7C0C5;
	text-align: left;
	font-size: 0.9em; 
	margin: 0px 0px 0px 0;
}
	#Breadcrumbs p {
		margin: 0;
	}


/* SIDEBAR
-------------------------------------- */
#Sidebar { 
 	width: 200px; 
	float: left;  
	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 { 
		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 {
            		padding: 0;
            		font-size: 0.8em;
            		margin: 2px 0 0 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 #ddd;
		}
			.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;
	margin: 8px 0;
}
	#PageComments p.info {
		color: #999;
		margin: 0px;
		padding: 0;
		line-height: 1em;
		font-size: 0.9em;
	}


#PageCommentInterface_Form_PostCommentForm_action_postcomment {
	margin-bottom: 20px;
}

/* SEARCH RESULTS STYLES
------------------------------------------------ */
ul#SearchResults {
	margin: 10px 0;
}
	ul#SearchResults li {
		list-style: none;
		margin: 5px 0;
		font-size: 1em;
	}

/* SEARCH FORM 
-----------------------------------------------*/
#SearchForm_SearchForm { 
	float: right; padding-top:25px;
	width: 300px;
	margin: 5px;
}
	#SearchForm_SearchForm .middleColumn {
		float: left;
		width: 214px;
		margin: 0 5px 0 2px;
		padding: 0px;
		
	}
	
		#SearchForm_SearchForm .middleColumn input.text {
			width: 210px;
			border: none;
			color: #666; padding:4px; font-weight:normal;
		}
		
	#SearchForm_SearchForm #SearchForm_SearchForm_action_results {
		float: left;
		margin-top: 2px;  background-image:url(../images/search-button.png); width:32px; height:23px; border:0px; text-indent:-9999px; background-color:transparent;
	}
	#SearchForm_SearchForm #SearchForm_SearchForm_action_results:hover { background-image:url(../images/search-button-1.png); }

/* 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.8em;
	}
  		#Footer a { 
	   		color: #fff; 
	   		text-decoration: none;
		}
			#Footer a:hover {
				color: #fff;
				text-decoration: underline;
			}