

/* WE STONGLY RECOMMEND THAT YOU OPEN THIS STYLE SHEET TOGETHER WITH THE HTML FILE TO GET A BETTER UNDERSTANDING OF HOW THE CSS CONTROLS THE LAYOUT*/

html, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6{  /* set everything to zero for a good  
starting point.  This way, you can avoid certain issues.  You add padding and margins to specific elements themselves*/

margin: 0; /* sets the margins to zero on the body */
padding: 0; /* sets the padding to zero on the body */
border: 0; /* deletes any borders */	
}

body {
	background-color: #FFF; /*sets the body background colour  */
	background-image: url(../images/background.gif); /*body background image */
	background-position: center; /*centres the background image */
	color: #333; /*default font colour on page*/
	font-family: Arial, Helvetica, sans-serif; /*default font on page*/
	font-size: 101%; /*default font size  set to 101% */
	margin: 0 auto;
	min-width: 770px;/*minimum width anything under you get scroll bars this prevents our page becoming smaller than the wrapper */
	padding: 0; /*padding set to zero */
	text-align: center; /* IE to make sure the layout is centred*/
	}
	
#wrapper {
background-color: #FFF; /*sets the background colour of our wrapper div to white */
background-image: url(../images/wrapper-background.gif); 
background-repeat: repeat-y;   /*sets the background image for the wrapper div, this creates the illusion of a column */
	margin: 0 auto;/* sets the wrapper margins to zero */
	padding: 0;/* sets the wrapper padding to zero */
	text-align: left; /* aligns the text to the left, see also the IE hack in the body where we align the text centre */
	width: 740px;/* sets the wrapper width */
	border: 2px solid black;
}

#logo {
	height: 95px;/*sets the height of the logo div*/
	background-image: url(../images/topnavback.gif);/*the background image of the logo div*/
}

#topnav {
         width: 767px;/*sets the width for our top nav bar div*/
}


#topnav li {
	display: block;
	padding: 0;   /*padding set to zero */
	float: right;  /*positions the top nav to the left */
}


#topnav ul {
	height: 30px;    /*sets the height of the menu items */
	margin: 0;      /*margin set to zero */
	padding-top: 10px;   /*padding set to zero */
	text-align: center;  /*aligns the link text centre */
	margin: 0px;
}

#topnav ul li a {
	color: White;/*font colour for top nav text link */
	display: block;/* makes the links act like a button*/
	font-size: .80em;/*sets the font size */
	font-weight: bold;
   height: 15px; 
	text-decoration: none;     /*removes the default underline*/
	width: 121px;      /*sets the width of the links - you may need to readjust if you add any more links that currently available */
	padding-top: 10px;   /*positions the link text*/
	background-color: #B30000;
}

#topnav ul li a:hover {
	color: #C7C1B4;    /*sets the font colour*/
	display: block;    
	text-decoration: underline;  /* underlined appearance */
}

#topnav a:active {  
	color: #FFF;       /*sets the font color for the top nav state*/
	display: block;   /*displays block as to act like a button*/
}


#leftlogo {
	background-image: url(../images/header.gif);     /*the background image for the leftlogo div*/
	float: left;                                  /*positions the div to the left*/
	height:  232px;        /* the height of our background image*/
	width: 740px;  /* the width which is also the same as our background image*/
	margin-top: 0px;  
	background-repeat: no-repeat;   /*no repeat for our background image*/
}

#content {
	width: 740px;/* the content div is the same as our wrapper div and inside the content div we have placed the nav div and the contentright div*/
	clear: both; /* this is a clearer ; ensures the content is  placed below the logoleft and logoright divs*/
}

#content .contentright {
float: right;
	margin-top: 16px;
	padding: 0 15px 10px 15px;
	text-align: left;
	width: 480px;
	line-height: 120%;
	background-color: White;	
}

 #content .contentright p {
	font-size: .9em;
	margin-bottom: 1em;
}

 #content .contentright H1 {
 	color: #660000;
	font-size: 1.0em;
	margin-top:8px;
margin-bottom: 8px;
	border-bottom: 1px dotted #9C124E; /*places a solid border under the H1*/
 }
  #content .contenright H2 {
 	color: #7E0F3E;
	font-size: .95em;
	margin-top:6px;
margin-bottom: 6px;
	border-bottom: 1px dotted #9C124E;   /*places a solid border under the H2*/
 }

#nav {
float: left;
padding-top: 18px;/*IE hack to ensure our nav lines into position*/
    padd\ing-top: 22px;  /*this and the following position the Nav in accordance with the wrapper background and also creates the appearence of a column*/
	padding-left:10px;  /*sets the right to 10 pixels as to position the nav in accordance with the wrapper background*/
	margin-right: 3px;
	ma\rgin-right: 0;    /*fixes the nav alignment to the bg in IE5.5*/
	width: 192px;   /*ensures the content is  placed below the logoleft divs*/
}


/*styling the right navigation*/
#nav ul {
	border-top: 1px solid White;  /*places a border on the top of the menu box*/
	font-size: 90%;   /*sets the font size for the right nav*/
	margin: 0;
	padding: 0;
	list-style-type: none;/*removes the list style*/
}

#nav ul li{
	border: 1px solid white; /*sets a border*/	
	border-width: 0 1px 1px 1px;/*sets the border width - none at top as we have already declared it on the ul element*/
	margin: 0;/*set the margin to zero*/		
}

#nav a, 
#nav a:visited {
	color: White; /*font colour */
	display: block;   /*display set to block */
	padding: 6px;    /*gives a bit of breathing space to our text from the block */
	text-decoration: none;    /*removes the default underline*/
	background-color: #840C0E;   /*background colour */
	height: 1%;   /* bug fix for IE to create the block hover effect */
}

#nav a:hover {
	color: black;   /*hover font colour */
	background-color: #FFCC00;    /*hover background colour */
}

#nav a:active {
	color: #000;  
	background-color: #63242F;    
}

#nav a:focus {
	color: #000;
	text-decoration: none;/*removes the default underline*/
	background-color: #BF0000;/*sets the background colour */
}

/* styles the current page navbar color */
#nav a.currentLink {
	background-color: #333333;
	color: white;
}


#footer {
	color: #800F3F;           /*font colour for the footer div*/
	font-size: 80%;         /* font size*/
	text-align: center;      /*aligns the text centre*/
	width: 500px;           /*width of the footer div*/
	padding: 10px;          
	border-top: 1px dotted black;
	margin-left: 214px;
     
}
h1 {
	font-size: 100%;
}
h2 {
	font-size: 95%;
}


/*link styles*/
a:link{
	color: #800000;
	text-decoration: underline;/*removes the underline*/
}
a:visited{
	color: #000000;
}
a:hover{
	color: #333;
}
a:active{
	color: #333;
}
/* div holding the specialpreview image above the portfolio pics */
#specialpreview {
background-image: url(../images/specialpreview.gif);
background-repeat: no-repeat;
width: 289px;
height: 28px;
margin-left: 224px;
float: left;
padding: 0px;
clear: both;  /* clears the floated div */
}

/* div that holds the small icons */
#portcon {
border-top: 1px dotted black;
background-color: #FFFFFF;
width:516px;
margin-top: 10px;
margin-left: 214px;
padding-left:6px;
padding-right: 4px;
padding-top: 10px;
height: 72px;
clear: both;  /* clears the floated div */
}
#portcon a img {
	border: 2px solid #B30000;
}

/* FORM STYLES */
form {
width: 450px;
margin-top: 25px;
}

fieldset{
	padding:10px;
	border:1px solid #003366;
	margin-bottom:15px;
width: 460px;
}

.textarea2{
background-color:#F0F0FF;
background-image: none;
border: 1px solid #006666;
margin: 4px;
padding: 6px;
}
/*styles the input fields*/

input,textarea{
background-color: #F9F9FF;
border: 1px solid #696A77;
margin: 4px;
}

label{
	color:#666666;
	font-weight: bold;
	font-size: 80%;
}
legend{
padding:10px;            /*gives a bit of padding between the border and the test*/
color:#000066;

}
.submitbutton {
	border: 1px solid #003366;
	background-color: #707481;
	color: white;
}
#textarea:focus, input:focus, select:focus {
	background-color: #E6E6E6;
	color: #464545;}

/*end of form styles */
