/*
 SilverStripe BlackCandy Theme
 http://www.silverstripe.com
 */
 
/************
  * Misc Styles and defaults 
  */
  
* {
	margin: 0;
	padding: 0;
}
body {
	background: #5e5e5e url(../images/bg.gif) repeat left top;
	color:#494949;
 	font-size: 62.5%; 
 	margin-bottom: 40px;
	font-family: Verdana, Lucida, sans-serif; 
}

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

html {
	background: #626467 url(../images/bg.gif) repeat;
}
.clear{
	clear:both;
}
img {
	border: 4px solid #E9E9E9;
}
.contentWrap {
padding:0 1em 1em 1em;
}
/**************
 	Site Container Box
*/
#BgContainer {
	background-color:#3C393B;
	width:750px;
	margin: 10px auto;
	border: 1px solid #DFDEDB;
	padding:10px;
}
#Container { 
	}
#Layout {
	clear: both;
	overflow: hidden;
	background-color: white;
}
#Content {
	width: 545px;
	float: right; 
	margin: 0;
	text-align: left;
	padding: 0 5px;
}
/** Header **/
#Header { 
	padding: 0px 0px 0px 0px;
	margin:0px auto;
	height:105px;
	background-color:gray;
	border-bottom:2px #e7880d solid;
	}
	#header-left
	{	
		float:left;
		background-color:#3C393B;
		width:185px;
		height:100px;
	}
	#header-right
	{
		float: right;
		width:560px;
		margin:5px 0 0 0;
		background-color: #f1f1f1;
		background-image: url('../images/background01.jpg');
		background-repeat: repeat-x;	
		background-position: left top;
		height:100px;
		color:#494949;
	}
 	#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;
	}
/** LOGO **/
#logo {
	float: left;
	text-align:center;
	vertical-align:middle;
	padding: 40px 5px 5px 35px;
	height:65px;
	background-image:url('../images/IpsLogoSmall.png');
	background-repeat:no-repeat;
	background-position:10px 5px;
	color:#f1f1f1;
}
	#logo h1
	{
		font-size:1.7em;
		margin:0;
		padding:0;
	}
	#logo-text
	{
		float:left;
	}	
/** CONTACT */
#contact {
	clear:left;
	float: left;
	padding: 10px 0px 0px 12px;
	height:50px;
	font-size:1.7em;
}

#contact strong {
	display: block;
}
/** TOP-MENU */
#top-menu {
	clear:right;
	float:right;
	padding: .7em 10px 0 0;
	font-size:1.4em;
	text-align:right;
}

#top-menu ul {
	margin: 0 0 0 0 0;
	padding: 0 0 0 0;
	list-style: none;
}

#top-menu li {
	display: inline;
	margin: 1em 0 0 0;
	padding: 5px 20px 5px 30px;
}
#top-menu li a {
color:#494949;
}
#top-menu li a:visited {
color:#494949;
}
.top-menu1 { background: url('../images/house4.png') no-repeat left center;
}
.top-menu2 { background: url('../images/contact.png') no-repeat left center;
}
.top-menu3 { background: url('../images/sitemap2.png') no-repeat left center;
}
.top-menu4 { background: url('../images/login.png') no-repeat left center;
}
/*** Main Nav ***/
#Navigation {
	clear:both;
	position:relative;
	top:18px;
	left:-1px;
	padding: 0px 0px 0px 0px;
	background-color:gray;
	vertical-align:bottom;
	height:22px;
	width:561px;
}
#Navigation:after {
	clear:both;
	content: ".";
	display:block;
	line-height: 1px;
	font-size: 1px;
}
	#Navigation a.contractorMenuButton:hover
	{
		background-color:#e7880d;
	}
	#Navigation a.corporateMenuButton:hover
	{
		background-color:#6699cc;
	}
	#Navigation a.aboutMenuButton:hover
	{
		background-color:#669966;
	}
	#Navigation ul { 
		margin: 0px;
		padding: 0px;
		list-style: none;
		}
		#Navigation ul { 
			list-style:none;
			display:inline;
			}
			#Navigation li
			{
				display: inline;
			}
	  		#Navigation ul li a { 
				background-color:#3C393B;
				float:left;
				width: 185px;
				margin: 2px 1px 0px 1px;
				padding: 5px 0px 5px 0px;
				text-decoration: none;
				text-transform: uppercase;
				text-align: center;
				font-weight: bold;
				color: #f1f1f1;
				vertical-align:bottom;
				height:10px;
				}

    
/** SUBHEADER */
#SubHeader
{
	clear:both;
	margin:auto;
	height:106px;
	background-color:gray;
	border-bottom:2px #e7880d solid;
}
#SubHeaderLeft {
	float:left;
	width: 185px;
	height:100%;
	background-color: #e7880d ;
	color: White;
	vertical-align: middle;
	border-right:5px #e7880d solid;
	text-align:center;
}
	#SubHeaderLeft h1{
		padding:30px 0 0 2px;
		font-size:1.7em;
	}
	#SubHeaderLeft p
	{
		font-size:1.2em;
		padding:.6em 0;
	}
#SubHeaderRight {
	float:left;
	width: 560px;
	height:100%;
}
	#SubHeaderRight p
	{
		color:#CCCCCC;
		font-size:1.5em; 
		font-weight:bold;
		font-variant:small-caps;
		font-style:italic;
	}

/** Breadcrumbs **/
#Breadcrumbs { 
 	color: #B7C0C5;
	text-align: left;
	font-size: 0.9em; 
	margin: 0px 5px 10px 0;
	}
	#Breadcrumbs p {
		margin: 0;
	}

/*** Message Boxs ***/

.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;
}
/* Sidebar 
***********************************/
#Sidebar { 
 	width: 190px; 
	float: left;  
	margin: 10px 0 0 0;
	padding: 10px 0;
	background-color:#3C393B;
	}
	#Sidebar .sidebarBox {
	margin: 0 0 5px 0;
	padding-bottom: 2px;
	background-color: gray; 
	}
	#Sidebar ul {
		margin: 2px 0 5px;
		padding: 10px 0 0 0;
	}
	#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: 190px;
		margin: -5px 0 0 0;
		background-color: gray;
	}
	#Sidebar a em {
		font-style: normal;
	}
    ul#Menu2 li { 
            font-size: 0.9em; 
            margin: 1px 0 5px 0;
            list-style: none;
            }
      ul#Menu2 li a {
            display: block;
            width: 190px;
            font-size: 1.2em;
            height: 1.8em;
            line-height: 1.8em;
            color: #fff;
			font-weight: 700;
      }
	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;
      }
      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 {
            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;

            padding: 4px 0 10px 0;
            background: #DCDCDC url(../images/sidebarSectionBottom.png) no-repeat bottom left;
      }
      ul#Menu2 li ul li ul {
            background: #DCDCDC;
            margin-left: 0;
      }
      ul#Menu2 li ul li {
            width: 160px;
            background: #DCDCDC;
            padding: 0;
            font-size: 0.8em;
            display: inline;
            margin: 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: 180px;
			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 a {
	padding-right: 3px;
	font-size: 10px;
}
.actionLinks li {
   display: inline;
   border-right: 1px solid;
}
   .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 
*****************************************/
ul#SearchResults {
	margin: 10px 0;
}
ul#SearchResults li {
	list-style: none;
	margin: 5px 0;
	font-size: 1em;
}

/* 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 */
#Footer {
	clear:both;
	text-align:center;
	padding:5px auto;
	margin: 10px auto 0 auto;
}
	#Footer ul {
		margin: 5px auto;
		padding: 5px 0 5px 0;
		display:inline;	
	}
	#Footer ul li {
		display:inline;	
		list-style: none;
		border-left:thin white solid;
	}
	#Footer ul li.first {
		display:inline;	
		list-style: none;
		border-left: none;
	}

	#Footer a {
		padding: 0px 3px 0px 3px;
		text-decoration: none;
		text-transform: uppercase;
		text-align: center;
		color:#0066FF;
	}
	#Footer p {
		margin-top:5px;
	}
  