html { height: 100%; margin-bottom: 1px; margin-top: 0;}

body
{
	margin: 0;
	padding: 0;
	background-color: #f9f9f9;
	color: #333;
	font-family: helvetica, arial, sans-serif;
	font-weight: normal;
	font-size: 100%;
	line-height: 1.5em;
	text-align: center;
	background-image: url('bg.gif');
	background-position: top center;
	background-repeat: repeat-y;
}

.container
{
	width: 840px;
	margin: 0 auto;
	text-align: left;
}


.header
{
	height: 45px;
	padding-left: 170px;
	padding-top: 26px;
	margin-top: 10px;
	position: relative;
	border-top: solid 1px #f9f9f9;
}
.header h1
{
	margin: 0;
	padding: 0;
	font-size: 1em;
	line-height: 1.0em;
	display: block;
	width: 170px;
	height: 76px;
	
	background-image: url('logo.gif');
	background-position: left top;
	background-repeat: no-repeat;
	
	position: absolute;
	top: 0;
	left: 0;
}
.header h1 a
{
	display: block;
	width: 160px;
	height: 76px;
}
.header h1 a span
{
	display: none;
}
.header span.slogan
{
	font-size: 0.8em;	
	font-weight: bold;
	color: #777;
	text-transform: lowercase;
	padding-left: 10px;
	margin-bottom: 10px;
	display: block;
	letter-spacing: 1px;
}

ul.bars span.accessibility
{
	display: inline;
	visibility: hidden;
}
ul.horiz,
ul.subsection
{
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.horiz li,
ul.subsection li
{
	display: inline;
	list-style: none;
	margin: 0 2em 0 0;
	padding: 0;
}
ul.subsection
{
	margin: 0.5em 0;
	font-size: 0.8em;
	font-weight: bold;
}
ul.subsection li a
{
	text-decoration: none;
	border-bottom: solid 1px #888;
	padding-bottom: 3px;
	color: #000;
}

ul.bars
{	
	display: block;
	list-style: none;
	margin: 0px 0 0 0;
	padding: 0;
	font-size: 0.8em;
	overflow: visible;
	width: 100%;
}
ul.bars li
{
	display: block;
	width: 160px;
	float: left;
	margin:	0 0 0 10px;
	border-top: solid 1px #888;
	border-bottom: solid 1px #888;
	text-align: right;
	
	list-style: none;
	padding: 0;
}
ul.bars li.first
{
	margin: 0 0 0 0px;
}
ul.bars li a
{
	padding-right: 5px;
	width: 155px;
	display: block;
	font-weight: bold;
	text-decoration: none;
	color: #000;
}
ul.bars li a:hover
{
	background-color: #ddd;
	color: #1B1C8F;
}

.navigation
{
	overflow: visible;
	clear: both;
	margin: 0 0 1em 0;
}
.main
{
	padding-top: 20px;
	overflow: visible;
	clear: both;
}

h2
{
	margin: 0.5em 0 0 0;
	padding: 0;
}

.home
{	
	position: absolute;
	top: 0;
	left: 0;
	width: 840px;
	height: 450px;
	background-position: left top;
	background-repeat: no-repeat;
	
	padding: 0;
}
.gallery
{
	position: absolute;
	top: 0;
	left: 0;
	width: 670px;
	height: 500px;
	background-position: center top;
	background-repeat: no-repeat;
}
.products-gallery
{
	width: 670px;
	float: left;
	position: relative;
	text-align: center;
	height: 500px;
}
.products-gallery-home
{
	width: 490px;
	float: left;
	height: 500px;
}
.products-gallery h2.accessibility
{
	display: none;
}
.products-gallery p
{
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	position: absolute;
	background-color: #f9f9f9;
	color: #000;
	padding: 5px 15px;
	font-weight: bold;
	font-style: italic;	
	letter-spacing: 1px;
	font-weight: bold;
	font-family: palatino, sans-serif;
	opacity: 0.75;
	filter: alpha(opacity = 75);
}
#homeA { background-image: url('../images/home0.jpg'); }

.welcome
{
	margin: 0;
	padding: 10px 20px;
	background-color: #ffffff;
	color: #000;
	position: absolute;
	bottom: 12px;
	left:	4px;
	font-size: 1.2em;
	line-height: 1.2em;
	font-weight: normal;
	text-transform: normal;
	font-style: italic;	
	letter-spacing: 1px;
	font-weight: bold;
	font-family: palatino, sans-serif;
	opacity: 0.75;
	filter: alpha(opacity = 75);
}
.home-container
{
	position: relative;
	height: 458px;
}
.sidebar
{
	clear: right;
	float: right;
	width: 340px;
	text-align: right;
	padding-top: 10px;
}
.portfolio
{	
	float: right;
	width: 340px;
	margin: 0;
	padding: 0;
}
.portfolio h2
{
	display: none;
}
.portfolio ul
{
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}
.portfolio ul li
{
	display: block;
	width: 160px;
	float: left;
	margin: 10px 0 10px 10px;
	list-style: none;
}
.portfolio ul li a
{
	background-color: #f9f9f9;
	background-position: left top;
	background-repeat: no-repeat;
	display: block;
	width: 160px;
	height: 72px;
	padding-bottom: 0;
	padding-right: 0px;
	position: relative;
	text-decoration: none;
	
	border-top: solid 1px #888;
	border-bottom: solid 1px #888;
}
.portfolio ul li a:hover span
{
	color: #1B1C8F;
	background-color: #ccc;
}
.portfolio ul li a span
{
	display: block;
	position: absolute;
	right: 0px;
	width: 150px;
	padding: 4px 5px;
	bottom: 0;
	background-color: #f9f9f9;
	color: #000;
	font-weight: bold;
	text-decoration: none;
	font-size: 0.8em;
	line-height: 1.2em;
	text-align: right;
}
.portfolio ul li a#tab-windows { background-image: url('../images/products/windows.jpg') }
.portfolio ul li a#tab-doors { background-image: url('../images/products/doors.jpg') }
.portfolio ul li a#tab-curtain-walls { background-image: url('../images/products/curtain-walls.jpg') }
.portfolio ul li a#tab-roof-systems { background-image: url('../images/products/roof.jpg') }
.portfolio ul li a#tab-solar-shading { background-image: url('../images/products/solar-shading.jpg') }
.portfolio ul li a#tab-louvre-systems { background-image: url('../images/products/louvre.jpg') }
.portfolio ul li a#tab-other { background-image: url('../images/products/other.jpg') }
.portfolio ul li a#tab-case-studies { background-image: url('../images/products/case-studies.jpg') }

.content
{
	width: 480px;
	padding-right: 20px;
}

.content table
{
	width: 100%;
	border: none;
}
.content table th,
.content table td
{
	vertical-align: top;
	padding: 0 1em;
}

.content a
{
	color: #1B1C8F;
	text-decoration: none;
	font-weight: bold;
	border-bottom: solid 1px #1B1C8F;
}
.content a:hover
{
	color: #B5612B;
	border-bottom: solid 1px #B5612B;
}

/*
.gallery
{
	width: 480px;
	overflow: scroll;
	height: 296px;
	word-wrap: nowrap;
}
*/

.footer
{
	font-size: 0.8em;
	line-height: 1.5em;
	clear: both;
	padding-top: 20px;
	padding-bottom: 2em;
}
.footer address
{
	border-top: solid 1px #777;
	padding-top: 0.5em;
	font-style: normal;
}
.footer a
{
	color: #000;
	text-decoration: none;
}

/*
div.rules
{
	float: right;
	margin: 0 0 0 0;
	width: 160px;
	font-size: 0.8em;
}
div.rules p
{
	margin: 0 0 15px 5px;
	text-align: center;
}
div.rules ul.rules
{
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: bold;
	border-top: 1px solid #888;
}
div.rules ul.rules li
{
	overflow: visible;
	clear:both;
}
div.rules ul.rules li li
{
	clear: right;
}
div.rules ul.rules li a
{
	padding-top: 20px;
	border-bottom: 1px solid #888;
}
div.rules ul.rules li a,
div.rules ul.rules li span
{
	display: block;
	text-decoration: none;
	padding-right: 5px;
	color: #000;
	text-align: right;
}
div.rules ul.rules li span
{
	background-color: #ddd;
}
div.rules ul.rules li a:hover
{
	color: #1B1C8F;
	background-color: #ddd;
}
div.rules ul.rules ul
{
	margin: 4px 0 0 4px;
	padding: 0;
	list-style: none;
	display: block;
	clear: both;
	background-position: top left;
	background-repeat: no-repeat;
	position: relative;
}
div.rules ul.rules ul li
{
	border: none;
	float: left;
	clear: none;
	width: 33px;
	margin: 0 4px 5px 0;
	border: solid 1px #999;
}
div.rules ul.rules ul li a,
div.rules ul.rules ul li span
{
	border-bottom: none;
	display: block;
	text-align: center;
	padding: 0;
}

div.rules ul.rules ul li a:hover,
div.rules ul.rules ul li span
{
	background-color: #ddd;
}
*/


div.products-gallery
{
}
div.gallery-thumbs
{
	width: 160px;
	float: right;
	font-size: 0.8em;
}
div.gallery-thumbs h3,
div.gallery-thumbs p
{
	font-size: 1em;
	margin: 0 0 0 0;
	padding: 0 5px;
	line-height: 1.5em;
	clear: both;
	display: block;
	text-align: right;
}
div.gallery-thumbs p a
{
	display: block;
	font-weight: bold;
	text-decoration: none;
	color: #000;
	border-top: solid 1px #888;
	border-bottom: solid 1px #888;
	padding: 2px 5px;
}
div.gallery-thumbs p a:hover
{
	background-color: #ddd;
}
/*
div.gallery-thumbs ul.links
{
	margin 0 0 0 0;
	padding: 0;
	overflow: visible;
	list-style: none;
	display: block;
	clear; both;
}
div.gallery-thumbs ul.links li
{
	margin 0;
	padding: 0;
	display: block;
}
div.gallery-thumbs ul.links li a,
div.gallery-thumbs ul.links li span
{
	display: block;
	text-align: left;
	padding: 0 5px;
	text-decoration: none;
	color: #000;
}
div.gallery-thumbs ul.links li a:hover
{
	background-color: #ddd;
	color: #1B1C8F;
}
div.gallery-thumbs ul.links li span
{
	background-color: #ddd;
}
*/

div.gallery-thumbs ul.thumbs
{
	width: 160px;
	overflow: auto;
	margin: 4px 0 1em 4px;
	padding: 0;
	list-style: none;
	display: block;
	clear: both;
	background-position: top left;
	background-repeat: no-repeat;
	position: relative;
}
div.gallery-thumbs ul.thumbs li
{
	border: none;
	float: left;
	clear: none;
	width: 33px;
	margin: 0 4px 5px 0;
	border: solid 1px #888;
}
div.gallery-thumbs ul.thumbs li a,
div.gallery-thumbs ul.thumbs li span
{
	border-bottom: none;
	display: block;
	text-align: center;
	padding: 0;
	text-decoration: none;
	color: #000;
}
div.gallery-thumbs ul.thumbs li a:hover
{
	background-color: #ddd;
	color: #1B1C8F;
}
div.gallery-thumbs ul.thumbs li span
{
	background-color: #ddd;
}

label
{
	font-size: 0.8em;
	width: 6em;
	display: block;
	float: left;
}
input, textarea
{
	font-family: helvetica, arial, sans-serif;
	font-size: 0.8em;
	margin: 0;
	padding: 3px 5px;
	border: solid 1px #888;
	background-color: #fff;
	color: #000;	
}
input
{
	width: 20em;
}
textarea
{
	width: 360px;
	height: 10em;	
}
input.button
{
	width: auto;
	padding: 3px 20px;
	margin-left: 6em;
}
.validation,
label .validation
{
	color: #f00 !important;
}

div.credits p
{
	color: #888;
	margin: 0;
	font-size: 0.5em;
	text-align: center;
	text-transform: uppercase;
	padding: 0 5px 0 0;	
}
div.credits p a
{
	color: #888;
	text-decoration: none;
}