A/* normalizes the margin, padding */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td
{margin : 0; padding : 0; }

/* normalizes font-size for headers */
h1, h2, h3, h4, h5, h6
{font-size : 100%; }

/* removes list-style from lists */
ol, ul
{list-style : none; }

/* normalizes font-style and font-weight to normal */
address, caption, cite, code, dfn, em, strong, th, var
{font-style : normal; font-weight : normal; }

/* removes spacing from tables */
table
{border-collapse : collapse; border-spacing : 0; }

/* removes border from fieldset and img */
fieldset, img
{border : 0; }

/* left-aligns text in cation and th */
caption, th
{text-align:left; }

/* removes quotation marks from q */
q:before, q:after
{content:''; }


	
html {
	background-color:#CED6BD;
	text-align:center;
	}
	
body {
	background-color:#CED6BD;
	color:#FFF;
	width:900px;
	margin: 0 auto;
	text-align:left;
	position:relative;
	font-size:62.5%;
	}
/*-------------------header------------------------*/	
#brand {
	height:110px;
	font-size:1.5em;
	background-image:url(images/background_01.gif);
	}

#brand img {
	margin:20px 0 0 40px;
	}

#brand h1 {
	text-indent:-9999px;
	}
		
.tag {
	position:absolute;
	left:675px;
	top:73px;
	width:160px;
	border-left:#E1E4F7;
	border-left-width:medium;
	color:#C0C0FC;
	font-style:italic;
	}
	

	

/*-----------------------Nav-------------------------*/
	
#nav {
	height:23px;
	background-image:url(images/background_02.gif);
	padding:5px 0 0 45px;
	}
	

	
#nav ul {
	display:inline;
	text-align:center;
	
	}
/*----------------main-content------------------------*/
#main {
	color:#00F;
	width:900px;
	height:560px;
	background-image:url(images/background_03p.gif);
	background-repeat:no-repeat;
	padding:20px 20px 20px 40px;
	font-size:1.2em;
	}	
#main p {
	width:800px;
	padding-bottom:10px;
	}
	
#mls {
	padding-top:5px;
	width:200px;
	float:left;
	}

		
#siteinfo {
	background-image:url(images/background_05.gif);
	background-repeat:no-repeat;
	width:900px;
	height:100px;
	text-align:left;
	color:#FFF;
	padding:15px 0 0 50px;
	font-size:1.2em;
	clear:both;
	}
#siteinfo ul {
	padding-bottom:10px;
	}	
.photoline {
	position:absolute;
	left:550px;
	top:220px;
	display:block;
	}
.photoline li {
	border-color:#333;
	border-width:medium; 
	}
	
li {
	display:inline;
	text-align:center;
	}
	
a {
	color:#FFF;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	text-align:right;
	text-decoration:none;
	font-size:1.3em;
	font-weight:600;
	}
	
a:visited {
	font-style:italic;
	}
	
a:hover {
	color:#F90;
	}
	
a:active {
	color:#00F;
	}
	
	
.active {
	color:#00F;
	font-size:1.7em;
	}
	
h1 {
	font-size:1.5em;
	padding-bottom:10px;
	}
	
/*------------------------------ gallery thanks to stu nicholls--------------*/

/*----------------------------- The containing box for the gallery --------- */
#portfolio {
	 z-index:10;
    position:relative; 
    width:700px; 
    height:500px;
	 float:right;   
    }	
#portfolio a.gallery span {
    position:absolute; 
    width:1px; 
    height:1px; 
    top:5px; 
    left:140px; 
    overflow:hidden; 
    background:blue;
    }
	 
/* Adding the thumbnail images */
#portfolio a.gallery {
    display:block;
	 width:60px;
	 height:60px;
    }
	 
#portfolio a.slidea {
    background:url(images/gallery/thumbs/Sbackgarden.jpg); 
   top:5px;
	left:5px;
    }
#portfolio a.slideb {
    background:url(images/gallery/thumbs/Sbath.jpg); 
    top:70px; 
    left:5px;
    }
#portfolio a.slidec {
    background:url(images/gallery/thumbs/Sbathroom.jpg); 
    top:135px; 
    left:5px;
    }
#portfolio a.slided {
    background:url(images/gallery/thumbs/Sbedroom.jpg); 
    top:200px; 
    left:5px;
    }
	 
#portfolio a.slidei {
    background:url(images/gallery/thumbs/Slivingroom.jpg); 
    top:265px; 
    left:5px;
    }
	 
#portfolio a.slidej {
    background:url(images/gallery/thumbs/Smasterbath.jpg); 
    top:330px; 
    left:5px;
    }
#portfolio a.slidee {
    background:url(images/gallery/thumbs/Sdining.jpg); 
    top:5px; 
    left:70px;
    }
#portfolio a.slidef {
    background:url(images/gallery/thumbs/Sdoorway.jpg); 
    top:70px; 
    left:70px;
    }
	 
#portfolio a.slideg {
    background:url(images/gallery/thumbs/Skitchen.jpg); 
    top:135px; 
    left:70px;
    }
	 
#portfolio a.slideh {
    background:url(images/gallery/thumbs/Skitchendining.jpg); 
    top:200px; 
    left:70px;
    }
	 
#portfolio a.slidek {
    background:url(images/gallery/thumbs/Smasterbed.jpg); 
    top:265px; 
    left:70px;
    }

#portfolio a.gallery:visited {
	outline: 1px solid #222;
	}
#portfolio a.gallery:hover, #portfolio a.gallery:active {
	outline: 1px solid #FFF;
	}
	
#portfolio ul {
	 float:left;
	 padding:5px;
    }

/*------------------------------- styling the :hover span ------------- */
#portfolio a.gallery:hover span {   
     
	 overflow:visible;
    }

.new {
	color:#FFCC00;
	font-style:italic;
	}	