/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  
* {
	margin: 0;
	padding: 0;
}

body {
	font-family: "Lucida Grande", "Lucida Sans", Arial, sans-serif;
	font-size: 12px;
	background: url(../images/body_bg.png) repeat-x top #fff;
	padding: 0;
	margin: 0;
	color: #222;
}
a {
  color: #215f89;
}

html {
	height: 100%;
}
p {
  font-size: 14px;
  line-height: 18px;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}

.clear{
	clear:both;
}
a .panelbold {
	font-weight:bold;
}

/* CONTAINER
----------------------------------------- */
#Outer {
	min-height: 100%;
	background: url(../images/footer_bg.png) repeat-x bottom;
	position: relative;
}

#Wrapper {
  width: 883px;
  margin: 0 auto;
}
#Layout {
	width: 760px;
	clear: both;
	/*overflow: hidden;*/
	margin: 15px auto;
}
#Content {
	width: 538px;
	float: right; 	
	margin: 0;
	text-align: left;
	padding-bottom: 200px;
}
#Layout {
  padding-bottom: 15px;
}

html > body #Layout {
  padding-bottom: 200px;
}
/* Layout CSS */

#Header {
	height: 199px;
	background: url(../images/header_bg.png) top right no-repeat;
	margin-bottom:-15px;
	clear:left;
}
	#Header h1 {
		color:#fff;
		font-size:1.5em;
		line-height:4.5em;
		padding-left:20px;
	}
		#Menu1 {
			padding:10px 50px 0;
		}
			#Menu1 li {
				float:left;
				margin-left:2px;
				background:url(../images/menu1_right.gif) no-repeat right top;
			}
				#Menu1 li.current,
				#Menu1 li.section {
					background:url(../images/menu1_right_on.gif) no-repeat right top;
				}
				#Menu1 li a {
					display:block;
					color:#fff;
					font-weight:bold;
					font-size:1.1em;
					text-decoration:none;
					padding:5px 15px;
					background:url(../images/menu1_left.gif) no-repeat left top;
				}
					#Menu1 li a:hover {
						color:#d2ebff;
					}
					#Menu1 li.current a,
					#Menu1 li.section a {
						background:url(../images/menu1_left_on.gif) no-repeat left top;
						color:#d2ebff;
					}
	#Header h1#logo { float: left;}
	
	#Header #contactLink {
		background:url(../images/contactLink.jpg) no-repeat;
		width:135px;
		height:35px;
		display: block;
		float:right;
		top:138px;
		border:none;
		z-index:10;
		position:relative;
	}
	
	#Header h1#logo a {
	  margin: 0;
	  text-align: left;
	  text-indent: -999em;
	  width: 450px;
	  height: 182px;
	  background: url(../images/logo.png) no-repeat bottom left;
	  display: block;
	}
	
	/*  Search form  */
	#Header #SearchForm_SearchForm {
		float:right;
		width:200px;
		font-size:10px;
		border:none;
	}
		#Header #SearchForm_SearchForm fieldset {
			border:none;
		}
		#Header #SearchForm_SearchForm #SearchForm_SearchForm_action_results {
			float:right;
		}

/* MAIN NAVIGATION - TABS
----------------------------------------- */
#Navigation {
	width: 875px;/*768px*/
	margin: 0 auto;
	padding-top: 5px;
	overflow: hidden;
	background: url(../images/back.png) repeat-x;
}
	#Navigation ul { 
 		float: left; 
		margin-left: 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.1em; 
				padding: 0 0 0 8px;
				color: #000;
			}
				#Navigation ul li a span {
					text-align: center;
	        		float: left;
					padding-right: 10px;
					height: 2.3em;
				}
					#Navigation ul li a:hover { 
			 			background: url(../images/toptab_shadow.png) right -6px;
						color: #003366;
						cursor: pointer;
					}
					#Navigation ul li a:hover span {
						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; 
				 	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;
					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: 10px 0 0 0;
	padding: 0;
}
	#Sidebar .sidebarBox {
		margin: 0 0 5px 0;
		padding-bottom: 2px;
		background: #EFEFEF url(../images/sub-menu-bg-mid.gif) repeat-y right; 
	}
	#Sidebar ul {
		margin: 2px 0 5px 3px;
	}
		#Sidebar li {
			margin: 12px 2px;
			list-style: none;
		}
	#Sidebar h3 { 
		clear: both; 
		color: #f6e4a1;
		font-weight: 700; 
		font-size: 1.2em; 
		margin: 0 0 10px 0;
		line-height: 1.8;
		padding: 1px 0 0 10px;
		background: transparent url(../images/sub_back.png);
	}
	
	#Sidebar .sidebarBottom {
		height: 15px;
		display: block;
		width: 200px;
		margin: -5px 0 0 0;
		background: #EFEFEF url(../images/sub-menu-bg-bottom.gif) no-repeat right 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.0em;
            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 {
        	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 {
            font-weight: 700;
			color:#003399;
            width: 200px;  /*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 {
			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 {
			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;
      		}
      			ul#Menu2 li ul li {
            		width: 160px;
            		padding: 0;
            		font-size: 0.8em;
            		display: inline;
            		margin: 0;
      			}
      				ul#Menu2 li ul li ul {
            			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;
      				}
      					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.6em;
            	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 {
            	text-decoration: none;
            	display: block;
            	color: #000;
      		}
      		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 {
            	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 {
            	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: #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: 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;
			}

#Footer {
	background:#015581;
	clear:both;
	text-align:right;
	padding-right:20px;
	border:1px solid #ccc;
	border-top:0;
}
	#Footer span {
		color:#ccc;
		font-size:1.1em;
		line-height:2em;
		font-weight:bold;
		padding-left:20px;
		background:url(../images/ss_logo.gif) no-repeat;
	}
	#Footer a {
		color:#fff;
	}
		#Footer a:hover {
			text-decoration:none;
		}------------- */
		
/*----- HOME PAGE BOXES ------*/
#services_box {
  background: url(../images/services_box_tall_bg.png) no-repeat top left;
  width: 373px;
  height: 500px;
  padding: 25px;
  top:0;
  margin-bottom:20px;
}

#services_box h2 {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: -.08em;
  margin-bottom: 16px;
  margin-top: 165px;
}

#services_box p {
  font-size: 14px;
  line-height: 160%;
  margin-bottom: 40px;
  text-align:justify;
}

#products {
	position:absolute;
	width: 320px;
	top:370px;
	margin-left:465px;
}

#products_box {
  margin-left: 5px;
  line-height: 150%;
  margin-top:-65px;
}

#products_box h2 {
  font-size: 26px;
  font-weight: normal;
  letter-spacing: -.08em;
  padding-top: 35px;
  margin-bottom: 25px;
}

#products_box h3 {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: -.05em;
  margin-bottom: 5px;
  width:285px;
}

#products_box h3 a {
  text-decoration: none;
  color: #222;
}

#products_box a,
#products_box a.product_link .product,
#products_box a.product_link .product p,
#products_box a.product_link .product h3 {
  text-decoration: none;
  border: 0;
  color: #222;
}

#products_box .product {
  margin-bottom: 15px;
  padding: 10px;
  padding-left: 100px;
}

#products_box h3 small {
  font-size: 16px;
  color: #666;
  font-weight: normal;
}

#products_box p {
  font-size: 12px;
  text-align:justify;
}

#products_box a.arrow_to {
  margin-top: -40px;
  padding-top: 0px;
}

#products_box a.product_link:hover .product {
  background-color: #e1fafa;
}

#hlth_box {
  background: url(../images/health_icon.jpg) no-repeat 22px center;
}

#ins_box {
  background: url(../images/ins_icon.jpg) no-repeat 22px center;
}

#lab_box {
  background: url(../images/lab_icon.jpg) no-repeat 22px center;
}

.hard_clear {
	clear:both;
	margin-top:1px;
	margin-bottom:1px;
}

/*---- PRE-FOOTER ----*/

#contact_box {
  width: 435px;
  height: 123px;
  padding: 7px 15px 5px 20px;
  margin-left: 0 0 2px 0;
  color:#eee;
}

#contact_box #small_logo {
  float: left;
  margin: 6px 12px 5px 8px;
}
#contact_box h3 {
	color:#fffbe0;
}

/*---- FOOTER ----*/

#Footer {
	position: absolute;
	bottom: 0;
	clear:both;
	margin-top:15px;
	display: block;
}

#copyright_bar {
  color: #fff;
}

#copyright_bar {
  height: 33px;
  background: url(../images/footer_logo.png) no-repeat left 3px;
  padding-left: 115px;
  font-size: 11px;
}
.copyright_notice {
  float: left;
  display: block;
  padding-top: 10px;
}

#footer_menu {
  height: 32px;
  background: url(../images/footer_menu_separator.png) no-repeat left 2px;
  margin-left: 630px;
  padding-left: 3px;
}
#footer_menu li {
  float: left;
  list-style-type:none;
}

#footer_menu li a {
  display: block;
  color: #fff;
  padding: 9px 12px 11px 9px;
  font-size: 12px;
  text-decoration: none;
  background: url(../images/footer_menu_separator.png) no-repeat right;
}

#footer_menu li a:hover {
  color: #eee;
}

