/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  
* {
	margin: 0;
	padding: 0;
}

body {
	
    background: #FFFFFF;
    margin: 0px;
	color:#333333;
	font-size: 75%;
	line-height: 140%;
	font-family:"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
}

html {
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}




caption, th, td {
	text-align: left;
	font-weight: normal;
}

.clear{
	clear:both;
}

/** images */

img
{
    border: none !important;
}

.articleImage img
{
    padding: 10px 20px 20px 10px;
    float:right;
}

.socialImgBox
{
    height: 141px;
}

.imgBox
{
    height: 171px;
}

.imgBox img
{
    padding: 5px 5px 10px 5px;
   
}

p
{
    padding:0px;
    margin:10px;
}


/** clear the banner to make it sit in the bottom **/
    .clear {
	    clear:both;
    }
    
   .overflow {display: inline-block;}  /* for IE/Mac */

    .overflow
    {
        
        zoom: 1;     /* triggers hasLayout */
        display: block;     /* resets display for IE/Win */
        text-align: left;
    } 
    .overflow:after
    {
        content: "";
        display: block;
        height: 0px;
        clear: both;
    }

/* CONTAINER
----------------------------------------- */
#BgContainer {
	width: 974px;  
	margin: 0 auto;
	background: transparent url('../images/background.png') repeat-y top; 
}
#Container { 
	width: 883px;
	padding: 0px 9px 0px 9px;
	margin-left:auto;
	margin-right:auto;
}
#Layout {
	clear: both;
	overflow: hidden;
	margin: 15px auto;
}
#Content {
	width: 657px;
	float: right; 	
	margin: 0;
	text-align: left;
	padding-bottom: 12px;
}
/* HEADER
----------------------------------------- */
#Header { 
 	margin: 0 auto;
	overflow: hidden;
}
 	#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;
	}
	
	#logoTag 
    {
        height: 85px;
    }

    #logo
    {
        float: left;
        padding: 5px 0px 0px 0px;
    }

    #tagLine
    {
        float: right;
        font-size: 18px;
        font-weight: bold;
        padding: 35px 5px 5px 0px;
    }

/* MAIN NAVIGATION - TABS
----------------------------------------- */
#Navigation 
{
	margin: 0 auto;
	padding-top: 5px;
	overflow: hidden;
}
	#Navigation ul { 
 		float: right; 
		margin-right: 5px;
		height: 32px;
	}
		#Navigation ul li { 
	 		list-style: none; 
			float: left;
			line-height: 2.8em;
			display: block;
		}
  			#Navigation ul li a { 
				float: left;
				text-decoration: none;
				display: block;  
				font-size: 1.2em; 
				color: #fff;
			}
				#Navigation ul li a span {
					text-align: center;
	        		float: left;
					
                    width:125px;
                    background: transparent url("../images/Tab.png") no-repeat top;
                    float: left;
                    clear: right;
                    padding: 0px 0px 10px 0px;
				}
					#Navigation ul li a:hover { 
						color: #fff;
						cursor: pointer;
					}
					#Navigation ul li a:hover span {
						cursor: pointer;
					    background: transparent url("../images/TabOver.png") no-repeat top !important; 
					}
				
				#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: transparent url("../images/TabSelected.png") no-repeat top !important; 
				}
				
/** Read More */


.readMore
{
    width: 85px;
    height: 21px;
    background: transparent url("../images/ReadMore.png") no-repeat top; 
    
    padding-top: 1px;
    text-align: center;
    font-weight: bold;
    position: relative;
    bottom: 20px;
    left: 50px;
}

.readMore a, .readMore a:link, .readMore a:active, .readMore a:visited {
	    text-decoration:none;
	    color:#FFFFFF;
	    font-weight: bold;
    }

    .readMore a:hover {
	    text-decoration:underline;
	    color:#FFFFFF;
	    font-weight: bold;
    }
				

/* ARTICLEPAGE
-------------------------------------------- */				
	.sharethis{
		padding-left: 20px;
	}				
				

/* BLUE BOXES
-------------------------------------------- */

    .greyBox
    {
        background-color: #F4F4F4 !important;
    }
    
    /** LeftBar */
    .smallTop
    {
        height: 10px;
        background: transparent url("../images/Boxes/SmallTop.png") no-repeat top;
    }
    .smallMiddle
    {
        background: transparent url("../images/Boxes/SmallMid.png") repeat-y top;
        padding-bottom: 20px;
    }
    .smallBottom
    {
        height: 10px;
        background: transparent url("../images/Boxes/SmallBottom.png") no-repeat top;
        margin-bottom: 10px;
    }
    
    
    #testimonials .smallMiddle
    {
        height: 410px;
    }
    
    
    #leftLinks .smallMiddle
    {
        min-height: 260px;
    }
    
    /** Main bar */
    
    
    .largeTop
    {
        height: 10px;
        background: transparent url("../images/Boxes/LargeTop.png") no-repeat top;
    }
    .largeMiddle
    {
        min-height: 40px;
        background: transparent url("../images/Boxes/LargeMid.png") repeat-y top;
        padding-bottom: 20px;
    }
    .largeBottom
    {
        height: 10px;
        background: transparent url("../images/Boxes/LargeBottom.png") no-repeat top;
        margin-bottom: 10px;
    }
    /** Should be the same height */
    #introText .largeMiddle
    {
        height: 385px;
    }
    
    #latestNews .topRow
    {
        height: 385px;
    }
    
    
    
    #serviceIntro .largeMiddle
    {
        height: 280px;
    }
    
    .topBox .largeMiddle
    {
        min-height: 260px;
    }
    
    .devBox
    {
        width:700px;
    }
    .swed
    {
        
        width: 324px;
        float: left;
        margin-right: 9px;
    }
    
    
    #swDev
    {
        padding-right: 9px;
        float: left;
    }
    
    #hwDev
    {
        width: 291px;
        float: right;
    }
    
    
    .devTop
    {
        height: 10px;
        background: transparent url("../images/Boxes/MediumTop.png") no-repeat top;
    }
    .devMid
    {
        height: 565px;
        background: transparent url("../images/Boxes/MediumMid.png") repeat-y top;
        padding-bottom: 10px;
    }
    .devBottom
    {
        height: 10px;
        background: transparent url("../images/Boxes/MediumBottom.png") no-repeat top;
    }
    
    /** Titles */
    
    .boxTitle
    {
        height: 27px;
        margin-top: 0px;
        color: #FFFFFF;
        font-size: large;
        text-align: center;
        padding-top: 3px;
        padding-bottom: 3px;
    }
   
    .boxTitle a, .boxTitle a:link, .boxTitle a:active, .boxTitle a:visited {
	    text-decoration:none;
	    color:#FFFFFF;
    }

    .boxTitle a:hover {
	    text-decoration:underline;
	    color:#FFFFFF;
    }
   
    .underlined{
	    text-decoration:underline !important;
    }

    
    #Sidebar .boxTitle
    {
        width:221px;
        background: transparent url("../images/BulletSmall.png") no-repeat top;
    
    }
    .largeMiddle .boxTitle
    {
        width:657px;
        background: transparent url("../images/BulletLarge.png") no-repeat top;
    
    }
    .devMid .boxTitle
    {
        width:324px;
        background: transparent url("../images/BulletMedium.png") no-repeat top;
    
    }
    
    
    /** Text */
    
    .greyBox h3
    {
        padding: 0px 10px 0px 10px;
    }
    .greyBox p
    {
        padding: 0px 5px 0px 15px;
    }


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


/* SIDEBAR
-------------------------------------- */
#Sidebar { 
 	width: 221px; 
	float: left;  
	margin: 0px 5px 0 0;
	padding: 0;
}
	#Sidebar .sidebarBox {
		margin: 0 0 0px 0;
		padding-bottom: 2px;
	}
	#Sidebar ul {
		margin: 2px 0 5px 3px;
	}
		#Sidebar li {
			margin: 8px 2px;
			list-style: none;
		}
	#Sidebar h3 { 
		clear: both; 
		color: #000;
		font-weight: 700; 
		margin: 0 0 10px 0;
		line-height: 1.8;
		padding: 1px 5px 0 10px;
	}
	#Sidebar a em {
		font-style: normal;
	}
	#Sidebar p {
		font-size: 11px;
	 	clear: both;
	}
	
	/* MENU2 */

      	/* 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>
      	*/
    #Menu2
    {
        padding-left:0px;
        margin-left: 15px;
        margin-right: 10px;
    }
    
    #Menu2 li
    {
        margin: 0px 4px 5px 4px;
        border-bottom: dashed 1px black;
        list-style: none;
        padding: 0px 0px 2px 1em;
        text-indent: -1em;
    }
    
    #Menu2 li:before
    {
        content: url('../images/Graphics/ListArrow.png');
    }
    
    
    li.subList
    {
        padding-top: 5px;
        border-bottom: none !important;
    }
    
    ul.sub
    {
        background-color: #E4E4E4;
        margin-right: 0px !important;
        padding-bottom: 10px !important;
    }
    
    ul.sub li
    {
        border-bottom: none !important; 
        padding: 0px 0px 5px 2em !important;
        text-indent: -1em !important;

    }
        
    
    
    
    #Menu2 li a,
    #Menu2 li a:link,
    #Menu2 li a:active,
    #Menu2 li a:visited {
	    text-decoration:none;
	    color:#000000;
	    font-size: 115%;
    }

    #Menu2 li a:hover {
	    text-decoration:underline;
	    color:#3973AC;
    }

.pBox {
		margin: 0 0 0px 0;
		padding-bottom: 2px;
		height: 80px;
		width: 901px;
		float: left;
	}

/* 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 { 
    height:72px;
    width: 901px;
    background: transparent url("../images/Footer.png") no-repeat top;
    margin-left: auto;
    margin-right: auto;
    margin-top: -15px;
}
	#Footer .footerTop {
		width: 100%;
		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;
			}
	
#footerLinks
{
    margin-bottom: 15px;
}	
			
#footerLinks ul
{
    list-style: none;
    display: inline;
}	

#footerLinks ul li
{
    padding: 0px 5px 0px 5px;
    display: inline;
}


#footerLinks ul li a,
#footerLinks ul li a:link,
#footerLinks ul li a:active,
#footerLinks ul li a:visited {
	color:#FFFFFF;
	font-size: 115%;
}

#footerLinks ul li a:hover {
	color:#FFFFFF;
}	
