/* 
	Portfolio style sheet
	Author: Andy Webber
	URL: http://www.andywebber.net
	Created: 01/08/08
	Version 1
*/

body{
	background-color: #CCCCCC;
	text-align: center;
	font-family: arial, tahoma, "trebuchet ms", "lucida console", sans-serif;
}

div#mainSection{
	background-image: url('http://www.andywebber.net/backgrounds/headerBackgroundGreen.jpg');
	background-repeat: repeat-x;
	background-color: #269900;
	width: 960px;
	margin-left: auto;
	margin-right: auto;		
}

div#mainSection a:focus{
	outline: none; 
}

img{
	border: 0;
}

div#header{
	margin: 0px;
	padding: 10px;
	background-image: url("http://www.andywebber.net/backgrounds/TLcorner.png");
	background-repeat: no-repeat;
}

div#header div#title{
	font-size: 36px;
	font-family: arial;
	color: white;
	position: relative;
	top: -5px;
	left: 5px;
	width: 300px;
	float: left;
}

div#header div#title a:link{
	color: white;
	text-decoration: none;
}

div#header div#title a:visited{
	color: white;
	text-decoration: none;
}

div#header div#title a:hover{
	color: white;
	text-decoration: none;
}

div#header span#webber{
	margin: 0px;
	font-size: 36px;
	font-family: arial;
	color: #269900;
}

div#header span#webber a:link{
	color: #269900;
	text-decoration: none;
}

div#header span#webber a:visited{
	color: #269900;
	text-decoration: none;
}

div#header span#webber a:hover{
	color: #269900;
	text-decoration: none;
}

div#header div#buttonBar{
	background-image: url("http://www.andywebber.net/backgrounds/buttonBar.png");
	background-repeat: no-repeat;
	text-indent: 12px;
	height: 41px;
	width: 191px;
	float: right;	
	position: relative;
	top: -10px;
	left: 10px;
	color: #333333;
	font-weight: bold;
	text-align: left;
}

div#header div#buttonBar img.colouredButton{
	border-width: 0;	
	margin: 2px;
	position: relative;
	top: 7px;
	left: 5px;			
}

div#header div#titleBar{
	clear: both;
	display: block;	
	font-size: 18px;
	font-family: arial;
	letter-spacing: 1px;
	color: #FFFFFF;
	text-decoration: none;
	text-align: right;
	position: relative;
	left: -27px;
	top: 8px;
}

div#header div#titleBar a:link{
	color: white;
	text-decoration: none;
}	

div#header div#titleBar a:visited{
	color: white;
	text-decoration: none;	
}

div#header div#titleBar a:hover{
	color: white;
	border-bottom: 2px solid #FFFFFF;
	text-decoration: none;
}


div#topBox{
	margin-top: 10px;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
	width: 910px;
}

div#topBox div#top-left{ 
	margin-right: 25px; 
	background-image: url('../images/corners/TL.png');
	background-repeat: no-repeat;
	height: 27px;
	font-size: 2px;
}

div#topBox div#top{ 
	margin-top: -29px; 
	margin-left: 25px;
	margin-right: 27px;
	background-image: url('../images/corners/top.png'); 
	background-repeat: repeat-x;
	height: 27px; 
	font-size: 2px; 
}
	
div#topBox div#top-right{ 
	margin-top: -24px; 
	margin-left: 24px;
	background-image: url('../images/corners/TR.png'); 
	background-repeat: no-repeat;
	background-position: 100% 0; 
	height: 27px; 
	font-size: 2px; 
}

div#topBox div#left{ 
	margin-left: -2px;
	margin-top: -3px;
	background-image: url('../images/corners/left.png');
	background-repeat: repeat-y;
	width: 28px;
	height: 200px;
	float: left;
	font-size: 2px;
}
	
div#topBox div#inside{
	margin-left: 25px;
	margin-right: 22px;
	margin-top: -4px;
	background: #FFFFFF;
	color: #000000;
	padding-left: 10px;
	padding-right: 10px;
	height: 204px;
	overflow: hidden;
	position: relative;
	left: -4px;
	text-align: left;
	color: #666666;
}

div#topBox div#inside h2{
	margin-top: 0px;
	margin-bottom: -10px;
	padding-top: 3px;
}

div#topBox div#inside h4{
	letter-spacing: 2px;
}

div#topBox div#inside img{
	float: left;
	margin-left: 3px;
	margin-right: 20px;
	margin-bottom: 20px;
	margin-top: 4px;

}

div#topBox div#inside p{
	line-height: 1.4;
	margin-top: -10px;
	
}

div#topBox div#right{ 
	margin-left: 883px;
	margin-top: -203px;
	background-image: url('../images/corners/right.png');
	background-repeat: repeat-y;
	width: 28px;
	height: 200px;
	font-size: 2px;
}
	
div#topBox div#bottom-left{ 
	margin-right: 28px;
	background-image: url('../images/corners/BL.png');
	background-repeat: no-repeat;
	height: 28px;
	font-size: 2px;
}
	
div#topBox div#bottom{ 
	margin-left: 24px;
	margin-right: 0px;
	background-image: url('../images/corners/bottom.png'); 
	background-repeat: repeat-x;
	height: 27px; 
	font-size: 2px; 
	position: relative;
	left: 1px;
}

div#topBox div#bottom-right{ 
	margin-top: -28px; 
	margin-left: 883px;
	background-image: url('../images/corners/BR.png'); 
	background-repeat: no-repeat;
	height: 28px; 
	font-size: 2px; 
}

div#content{
	color: white;
	font-size: 11pt;
	font-family: arial;
	letter-spacing: 1px;
	line-height: 1.5;
	width: 890px;
	margin: auto;
}

div#content a:link{
	color: white;
	text-decoration: none;
}

div#content a:visited{
	color: #FFFFFF;
	text-decoration: none;
}

div#content a:hover{
	color: #FFFFFF;
	border-bottom: 1px solid #FFFFFF;
	text-decoration: none;		
}

div#aboutBox{	
	float: left;
	width: 65%;	
	text-align: left;		
	border: 2px solid black;
}

div#newsBox{
	float: right;	
	width: 31%;
	text-align: left;			
	border: 2px solid black;
}

div#projectsBox{
	position: relative;
	top: 18px;
	width: 890px;
	clear: both;
	text-align: left;
	border: 2px solid black;
}

div#projectsBox img{
	float: left;
	border: none; 
	margin: 7px; 
	margin-left: 4px;
	margin-top: 5px;
}
span.boxHeader{
	display: block;	
	background: #585858;
	background-image: url('http://www.andywebber.net/images/headerBG.jpg');
	background-repeat: repeat-x;
	
	font-size: 1.2em;
	text-indent: 8px;
	padding: 2px;
}

div.boxMain {
	display: block;
	background: #333333;
	margin: 0;
	padding: 10px;	 
}

div.boxMain div.hr {
	clear: both; 
	height: 3px;
	background: #666666;
	margin-top: 5px;
	margin-bottom: 0px;
    border: 1px solid #000000;
}

div.boxMain div.hr hr {
  display: none;
}

span#expandButton{
	width: 18px;
	height: 15px;
	padding-left: 8px;	
	padding-right: 8px;
	background-image: url("http://www.andywebber.net/images/downArrows.png");
	background-repeat: no-repeat;
	display: inline;
	cursor: pointer;
}

p.firstPara{
	margin-top: 0px;
}

form#contactForm{
	position: relative;
	left: 15px;
	width: 230px;	
}	

form #Name, form #EmailBox, form #Subject, form #Message {
	width: 230px;
	background: #e1e1e1;
	border: 1px solid #585858;
	color: #000000;
}

form #Name, form #EmailBox, #Subject {
	height: 21px;
}

form #Message {
	width: 230px;
	font-family: arial;	
}

form #Submit {
	position: relative; 
	top: 3px;
}
	
/* Drag and drop items style */
.drag{
	position:relative;
	cursor:move;
}
		