/* Layout Stylesheet for SM Construction website

  (c) Colin Sewell, 2007
------------------------- */

#outer {
	width: 895px;
	margin-left: auto;	/* center main page content (FireFox etc. ) */
	margin-right: auto;
	text-align: left;
	background-color: #fff;
/*	border: 2px solid #8856a4; */
	padding: 0px;
/*	overflow:hidden;*/	/* needed (?) in IE to keep page centred, no white space to right */

}

#header {
	position: relative;
	width: 895px;
	height: 125px;
	left: 0px;
	top: 0px;
	background-color: #fff;
	margin-bottom:20px;
	
}

#NavMenu {
	float: left; 
	width: 135px;
	margin-left: 10px;
	margin-top: 10px;
}

#content-main {
	float: left; 
	width: 570px;
	margin-left: 20px;
	overflow: auto;
}

#NavMenuRight {
	float: left; 
	width: 135px;
	margin-left: 0px;
	margin-top: 10px;
}

#ImageSimonPhoto {
	float: left;
	margin: 4px 10px 2px 0;
}

#footer {
	position: relative;
	width: 895px;
	text-align: right;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

#FreeIndex {
	float: left;
	margin-left: 20px;
}


/* Other Layout Bits
   ---------------------- */

/* Div Clear space after Float fix  -  to stretch a container div to contain floated elements */

.ClearFix:after {
	content: ".";
	display: block;
	height: 0;
	font-size: 0;
	clear: both;
	visibility: hidden;
}

.ClearFix  {display: inline-table;}  /* fix for IE Mac */

/* Hide from IE Mac \*/

* html .ClearFix  {height: 1%;}

.ClearFix {display:block;}

/* End IE Mac Hack */


.Clear {
	clear: both;
}


div.DivShow {
/* for design debugging, shows the divs ! */
	border: 1px solid #cccc00;
	background-color: #cfcfcf;
}

div.DivBorder {
	border: 1px solid #cccccc;
}

div.spacer {
	clear: both;
	height: 1px;
}

div.DivFloatLeft {
	float: left;
	margin: 1px;
}

div.DivCenter {
	text-align: center;
}
