/* Normalises margin, padding */
body, div, dl, dt, dd, ul, ol, li, hi, h2, h3, h4, h5, h6, pre, form, fieldset, legend,
input, p, blockquote, caption, th, td
{ margin: 0; padding: 0; }

/* Normalises heading font sizes */
h1, h2, h3, h4, h5, h6
{ font-size: 100%; }

/* Removes list-style for lists */
ul, ol
{
	list-style: none;
}

/* Normalises table borders */
table
{
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #061976;
}

/* Removes border from fieldset and img */
fieldset, img
{ border: 0; }

/* Left-aligns text in caption and th */
caption, th
{ text-align: left; }

/* Removes quotation marks from q */
q:before, q:after
{ content: ''; }


body {
	font: 1em Verdana, Arial, Helvetica, sans-serif;
	color: #333333;
	margin-right: auto;
	margin-left: auto;
	margin-top: 1.5em;
	background-color: #e3e3e6;
	background-image: url(../images/body-bg.gif);
	background-repeat: repeat-x;
}
#wrapper {						/* Adds margin and border to page */
	position: relative;
	margin-right: auto;
	margin-left: auto;
	width: 724px;
	background: #FFFFFF;
	border: 2px solid #FFFFFF;
}

/* Start Header */
#header {
	position: relative;
	height: 128px;
	text-align: center;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #FFFFFF;
	background-color: #6E707D;
	color: #FFFFFF;
}
#header p {
	text-align: center;
}

#header #logo {
	float: left;
}
#header .tel {
	float: right;
	font-size: 50%;
	font-weight: normal;
	margin-top: 0.9em;
	margin-right: 1em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	line-height: 110%;
}
#header .name {
	font-size: 140%;
	font-weight: normal;
	font-family: Georgia, "Times New Roman", Times, serif;
	padding-top: 30px;
	line-height: 130%;
}
#headerimages {
	height: 200px;
}



#headerimages #headerimg1 {			/* Floats header images to right */
	float: right;
}
#headerimages #headerimg2, #headerimages #headerimg3 {			/* Floats header images to right and adds 2px left border*/
	float: right;
	border-left: 2px solid #FFFFFF;
}
/* End Header */

/* Start top navigation */
#topnav {
	font-size: 70%;
	color: #333333;
	font-weight: bold;
	height: 4.5em;
	padding-top: 4px;
}
#topnav #nav {
}
#topnav #nav li {
	float: left;
	margin-right: 1px;
}
#topnav #nav a:link, #topnav #nav a:visited {
	float: left;
	width: 100px;
	text-align: center;
	color: #FFFFFF;
	text-decoration: none;
	line-height: 190%;
	background: url(../images/menu-tabs.gif) no-repeat 0px top;	/* uses same menu-tabs.gif image for both states */
}
#topnav #nav a:hover, #topnav #nav a:active {
	color: #FFFFFF;
	background: url(../images/menu-tabs.gif) no-repeat -101px top;	/* uses same menu-tabs.gif image for both states */
}
#topnav #nav #kitchenlink1 a:link, #topnav #nav #kitchenlink1 a:visited { /* kitchen design and installations menu tab */
	float: left;
	margin-left: 0px;
	width: 319px;
	text-align: center;
	color: #FFFFFF;
	text-decoration: none;
	line-height: 190%;
	background: url(../images/menu-tabs-kitchen.gif) no-repeat 0px top;	/* uses same menu-tabs-kitchens.gif image for both states */
}
#topnav #nav #kitchenlink1 a:hover, #topnav #nav #kitchenlink1 a:active { /* kitchen design and installations menu tab */
	color: #FFFFFF;
	background: url(../images/menu-tabs-kitchen.gif) no-repeat -320px top;	/* uses same menu-tabs-kitchens.gif image for both states */
}
#topnav #nav2 {
	clear: both;
	font-size: 90%;
	float: right;
}
#topnav #nav2 li {
	float: left;
	margin-right: 1px;
	margin-top: 0.5em;
}
#topnav #nav2 a:link, #topnav #nav2 a:visited {
	float: left;
	text-align: center;
	color: #333333;
	text-decoration: none;
	line-height: 180%;
	background: url(../images/menu-tabs-2.gif) no-repeat 0px top;	/* uses same menu-tabs2.gif image for both states */
	width: 136px;
}
#topnav #nav2 a:hover, #topnav #nav2 a:active {
	color: #FFFFFF;
	background: url(../images/menu-tabs-2.gif) no-repeat -137px top;	/* uses same menu-tabs2.gif image for both states */
}
#topnav #nav2 .tests a:link, #topnav #nav2 .tests a:visited {	/* Testimonials tab - same colour and size as #nav1 */
	width: 100px;
	background: url(../images/menu-tabs.gif) no-repeat 0px top;	/* uses same menu-tabs.gif image for both states */
	color: #FFFFFF;
}
#topnav #nav2 .tests a:hover, #topnav #nav2 .tests a:active {	/* Testimonials tab - same colour and size as #nav1 */
	background: url(../images/menu-tabs.gif) no-repeat -101px top;	/* uses same menu-tabs.gif image for both states */
}



/* Current page menu formatting for top tabs - uses <body id="*page">	+ link id */
#homepage #nav li #homelink, #aboutpage #nav li #aboutlink, #contactpage #nav li #contactlink, 
#projectspage #nav li #projectslink, #testspage #nav li #testslink {
	color: #ffffff;
	background: url(../images/menu-tabs.gif) no-repeat -101px top;
}
/* Current page menu formatting for kitchen top tab - uses <body id="*page">	+ link id */
#kitchenpage #nav li #kitchenlink2, #kitchenpage2 #nav li #kitchenlink2, #bathroompage #nav li #kitchenlink2 {
	color: #ffffff;
	background-image: url(../images/menu-tabs-kitchen.gif);
	background-repeat: no-repeat;
	background-position: -320px top;
}

/* Current page menu formatting for second menu tabs - uses <body id="*page">	+ link id */
#resdespage #nav2 li #resdeslink,		/* Current page menu formatting for second tabs - uses <body id="*page"> + link id */
#commdespage #nav2 li #commdeslink, #softfurnpage #nav2 li #softfurnlink,
#lightingpage #nav2 li #lightinglink, #kitchenpage2 #nav2 li #kitchenlink3, #bathroompage #nav2 li #bathroomlink {
	color: #FFFFFF;
	background: url(../images/menu-tabs-2.gif) no-repeat -137px top;
}
/* Current page menu formatting for Testimonials second menu tab - uses <body id="*page">	+ link id */
#testspage #nav2 li #testslink {
	color: #FFFFFF;
	background: url(../images/menu-tabs.gif) no-repeat -101px top;
}
/* End top navigation */

/* Start main content */
#content {
	margin-left: 1em;
	margin-right: 1em;
}
#content h1 {
	font-size: 100%;
	font-weight: bold;
	color: #333333;
	margin-top: 1em;
}
#content h2 {
	font-size: 90%;
	color: #333333;
	margin-left: .5em;
}

#content p {
	font-size: 80%;
	line-height: 130%;
	margin: 0.5em 1em 1em;
}
#content ul {
	font-size: 80%;
	margin-left: 3em;
	line-height: 120%;
	margin-bottom: 2ex;
	margin-top: .5em;
}
#content li {
	margin-top: 0.45em;
	list-style: disc;
}
#content blockquote {
	font-size: 80%;
	font-weight: normal;
	margin-left: 1em;
}
#content cite {
	font-size: 80%;
	margin-left: 1em;
	display: block;
	margin-top: .25em;
	margin-bottom: 1em;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #666666;
}


#content #services {
	font-size: 70%;
	font-weight: bold;
	float: right;
	margin-top: 0.15em;
	margin-right: 1em;
	margin-left: 1em;
	padding-top: 0.75em;
	padding-right: 1.25em;

	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	border: 1px solid #b8bbd0;
	background-color: #e0e3fa;
}
#content #services h2 {
	font-size: 120%;
	margin-left: 1em;
}
#content #services ul {
	font-size: 100%;
}
#content #services li {
	list-style: none;
}

#content #closeups {
	float: right;
	margin-left: 1em;
}
#content #closeups img {
	margin-bottom: 0.5em;
	border: 1px solid #999999;
}
#content address {
	font-size: 80%;
	font-style: normal;
	font-weight: bold;
	margin-left: 2em;
	padding: 0.75em;
	background: #fff5f1;
	margin-bottom: 2em;
	clear: none;
	width: 440px;
	line-height: 130%;
}



/*	End Main content styles	*/

/*	Start Sub Navigation styles	*/
#content #subnav {
	font-size: 70%;
	font-weight: bold;
	margin-top: 0em;
	margin-right: 0em;
	margin-left: 1em;
	padding-top: 0.25em;
	padding-bottom: 0.45em;
	background-image: url(../images/subnav-bg.gif);
	background-repeat: repeat-x;
}
#content #subnav li {
	display: inline;
	padding-left: 1.5em;
}

#content #subnav a:link, #content #subnav a:visited {
	color: #666666;
}
#content #subnav a:hover, #content #subnav a:active {
	color: #CCCCCC;
}
#content #subnav a.alt:link		/* Current page menu formatting for sub menu - uses class="alt" */
	{
	color: #999999;
}

/* Start Social networking sign-ins - contact-dsi.html */
#content #social {
	float: right;
	width: 180px;
	margin-left: 1em;
}
#content #social ul {
	margin-left: 0px;
}
#content #social li {
	list-style-type: none;
	margin-left: 0px;
	display: block;
	height: 22px;
	margin-bottom: 1em;
}
#content #social #fblink, #content #social #lilink {
	background-image: url(../images/facebook.gif);
	background-repeat: no-repeat;
	padding-left: 29px;
	font-size: 90%;
	line-height: 180%;
	font-weight: normal;
}
#content #social #lilink {
	background-image: url(../images/linkedin.gif);
	background-repeat: no-repeat;
}
#content #social a:link, #content #social a:visited {
	color: #FFFFFF;
}
/* Start Social networking sign-ins - contact-dsi.html */


/*	End Sub Navigation styles	*/


/* Start Main link formatting */
#content a:link {
	color: #003a66;
}
#content a:visited {
	color: #2b0066;
}
#content a:hover, #content a:active {
	color: #b580ff;
}



/* Start Footer styles */
#footer {
	text-align: center;
	font-size: 65%;
	color: #333333;
	padding-top: 1em;
	padding-bottom: 1em;
	margin-top: 1em;
	clear: both;
	background-color: #CCCCCC;
}
/* End Footer styles */


/* Other formatting */
.center {
	text-align: center;
}
.backtotop {
	text-align: right;
	border-bottom: 1px solid #009999;
	padding-bottom: 0.15em;
	background: #BFFFFF url(../images/up-arrow.gif) no-repeat right;
	margin-bottom: 0.75em;
	padding-top: 0.15em;
	padding-right: 0.5em;
}
.backtotop a:link, .backtotop a:visited {
	font-size: 85%;
}


/* floats */
.floatleft {
	float: left;
	margin-right: 1em;
	margin-top: .25em;
}
.floatright {
	float: right;
	margin-left: 1em;
	margin-top: 0.25em;
	margin-bottom: 1em;
}
.imageright {
	border: 1px solid #999999;
	float: right;
	margin-left: 1em;
}

.clear {
	clear: both;
}
.clearright {
	clear: right;
}
.clearleft {
	clear: left;
}

