﻿body {
	background: url(images/PageBackground.gif) repeat-x;
	margin: 0;
	padding: 0;
	font-size: 75%;
	font-family: Verdana, arial, helvetica, sans-serif;
	color: #333;
}
form { margin: 0; padding: 0; }
a {
	color: #A39161;
}
a:hover {
	color: #0E496D;
}
h1, h2 {
	color: #996;
	margin: 5px 0;
	padding-top: 5px;
}
h1 {
	font-size: 180%;
	font-weight: normal;
}
h2 {
	font-size: 120%;
	font-weight: bold;
}
h4 {
	font-size: 100%;
}

#Page {
	width: 940px;
	margin: 0 auto;
}

#Header {
	text-align: left;
	position: relative;
	padding-top: 0px;
	height: 134px;
	width: 940px;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

#Header h1 {
	background: url(images/AMSLogo.gif) no-repeat;
	height: 134px;
	width: 218px;
	float: left;
	padding: 0;
	margin: 0;
	position: absolute;
}
	#Header h1 span {
		position: absolute;
		top: -1000px;
	}

#Header ul#HeaderLinks {
	text-align: left;
	font-size: 95%;
	padding: 0;
	margin: 0;
	position: absolute;
	left: 220px;
	width: 350px;
	display: inline;
	bottom: 30px;
	list-style: none;
}
	ul#HeaderLinks li {
		display: inline;
		margin: 0;
		padding: 0 5px 0 15px;
	}
		ul#HeaderLinks li.Home {
			background: url(images/HomeIcon.gif) no-repeat 0 2px;
		}
		ul#HeaderLinks li.Contact{
			background: url(images/ContactIcon.gif) no-repeat 0 2px;
		}
			ul#HeaderLinks li a {
				color: #0E496D;
			}
			ul#HeaderLinks li a:hover {
				color: #A39161;
			}

/* Start tab Navigation */  

ul#HeaderTabs {
	font-size:.95em;
	line-height:normal;
	position: absolute;
	bottom: 23px;
	right:0;
	height: 31px;
	font-weight: bold;
	color: #fff;
	margin: 0;
	padding: 10px 10px 0;
	list-style: none;
}
	ul#HeaderTabs li {
		float: left;
		margin: 0;
		padding: 2px;
	}
		ul#HeaderTabs li a {
			display: block;
			margin: 0;
			padding: 0 0 0 16px;
			height: 33px;
			line-height: 33px;
			text-decoration: none;
			background: url(images/TabLeftSide.jpg) no-repeat left top;
		}
			ul#HeaderTabs li a span {
				display: block;
				color: #fff;
				height: 33px;
				line-height: 33px;
				background: url(images/TabRightSide.jpg) no-repeat right top;
				padding: 0 15px 0 0;
			}

		/* Commented Backslash Hack hides rule from IE5-Mac \*/
		#HeaderTabs a span { float: none; }
		/* End IE5-Mac hack */
		#HeaderTabs a:hover span {
			color:#fff;
			background-position: 100% -31px;
		}
		#HeaderTabs a:hover {
			background-position: 0% -31px;
		}
		#HeaderTabs a:hover span {
			background-position: 100% -31px;
		}

/* End tab Navigation */  

div#Content {
	background: #fff url(images/NavigationBackground.gif) repeat-y;
}

div#MainContent{
	float: right;
	margin: 12px 0 12px 12px;
	width: 722px;
}

div#MainNavigation {
	background-color: #0E496D;
	width: 206px;
	float: left;
}
	div#MainNavigation h3 {
		background-color: #A39161;
		height: 14px;
		margin: 0;
		padding: 0;
	}
		div#MainNavigation h3 span {
			position: absolute;
			top: -1000px;
		}

/* Menu List */
div#MainNavigation ul {
	text-align: left;
	list-style: none;
	margin: 0;
	padding: 0;
	font-weight: bold;
	font-size: .95em;
}

	div#MainNavigation ul li {
		margin: 0;
		padding: 0;
	}

		div#MainNavigation ul li a {
			display: block;
			width: 196px;
			color: #ccc;
			text-decoration: none;
			padding: 5px 0 5px 10px;
			border: none;
			border-bottom: solid 1px #ccc;
		}

		div#MainNavigation ul li a:hover {
			background-color: #A39161;
			color: #fff;
		}

/* Two Deep Menu List */
div#MainNavigation ul li ul {
	border: none;
	border-bottom: solid 1px #ccc;
	font-weight: normal;
	padding: 4px 0;
}
	div#MainNavigation ul li ul li {
		padding: 0;
		margin: 1px 5px 1px 30px;
	}
		div#MainNavigation ul li ul li a {
			display: inline;
			border-bottom: dotted 1px #ccc;
			padding: 0;
			line-height: 15px;
		}
		div#MainNavigation ul li ul li a:hover {
			color: #A39161;
			background: url(images/NavigationHoverBullet.gif) no-repeat 0 2px;
			padding-left: 15px;
		}
/* Three Deep Menu List - Most properties are inherited from the two deep menu */
div#MainNavigation ul li ul li ul {
	border: none;
	padding: 2px 0;
}
	div#MainNavigation ul li ul li ul li {
		margin: 1px 0 1px 20px;
	}
		div#MainNavigation ul li ul li ul li a {}
		div#MainNavigation ul li ul li ul li a:hover {}

div#Footer {
	width: 100%;
	color: #fff;
	clear: both;
	background-color: #A39161;
	position: relative;
	top: 10px;
	line-height: 28px;
	text-align: center;
	margin: 0;
}

/* Page Specific Rules */

div#HomePage div#TrainingBox,
div#HomePage div#ArchitectsBox {
	min-height: 175px;
	_height: 175px; /* this sets the min height for IE */
	width: 154px;
	float: left;
	background-color: #f3f3f3;
	padding: 16px;
	margin: 10px 12px 0 0;
	font-size: 93%;
}

div#HomePage div#SmarTraxBox {
	height: 200px;
	width: 286px;
	float: left;
	font-size: 93%;
	padding-left: 16px;
}

div#HomePage ul {
	margin: 7px 0 0;
	padding: 0;
	list-style: none;
}
	div#HomePage ul li {
		padding-left: 15px;
		background-image: url(images/listArrow.gif);
		background-repeat: no-repeat;
		background-position: 0px 2px;
	}
		div#HomePage ul li a {
			color: #A39161;
		}
		div#HomePage ul li a:hover {
			color: #0E496D;
		}
		
div#PanelsPage table.Panels {}
	div#PanelsPage table.Panels td,
	div#RetrofitPanelPage table.Panels td,
	div#TrapezoidalPanelPage table.Panels td {
		font-weight: bold;
		padding: 10px;
		text-align: center;
	}
	
div#PanelsPage img, 
div#LocSeamPanelPage img,
div#SeamLocPanelPage img,
div#MansardFasciaPanelPage img,
div#TrapezoidalPanelPage img {
	border: 1px solid black;
}

div#PanelsPage div.EditContentPopup img, 
div#LocSeamPanelPage div.EditContentPopup img,
div#SeamLocPanelPage div.EditContentPopup img,
div#MansardFasciaPanelPage div.EditContentPopup img,
div#TrapezoidalPanelPage div.EditContentPopup img {
	border: none;
}

div#WhyMetalAdvantagesPoints {
	border: 1px solid #A39161;
	padding: 10px;
	overflow: auto;
}
	div#WhyMetalAdvantagesPoints div.Left {
		border-right: 1px solid #A39161;
		float: left;
		padding: 10px;
		width: 325px;
	}
	div#WhyMetalAdvantagesPoints div.Right {
		float: right;
		padding: 10px;
		width: 325px;
	}
	div#WhyMetalAdvantagesPoints div.Right ul,
	div#WhyMetalAdvantagesPoints div.Left ul {
		font-size: 83%;
		margin-top: 0;
		margin-bottom: 0;
	}
	
ul#ProductsPageProductsList {
	border-top: 1px solid #a39161;
	margin: 10px 0 0;
	padding: 0;
	width: 150px;
}
ul#ProductsPageProductsList,
ul#ProductsPageProductsList ul {
	list-style: none;
}
	ul#ProductsPageProductsList li {
		border-bottom: 1px solid #a39161;
		padding: 2px 0;
	}
		ul#ProductsPageProductsList ul li {
			border-top: 1px solid #a39161;
			border-bottom: none;
			padding: 2px 10px;
			margin: 0;
		}
		ul#ProductsPageProductsList a,
		ul#ProductsPageProductsList ul a {
			text-decoration: none;
		}
	ul#ProductsPageProductsList ul {
		margin: 2px 0 0;
		padding: 0;
	}
	
ul#ProjectsPageProjectsList {
	list-style: none;
	margin: 0;
	padding: 0;
}
	ul#ProjectsPageProjectsList li { 
		float: left;
		padding-bottom: 15px;
		text-align: center;
		width: 345px;
	}
	ul#ProjectsPageProjectsList li img { 
		border: solid 1px #A39161;
	}

div#CoolScapePage div.UploadedImage {
	text-align: center;
	margin: 0 auto;
}

div.ContentBlockWithImage {
	border: 1px solid #A39161;
	float: left;
	padding: 10px;
	margin: 7px;
	width: 690px;
}
	div.ContentBlockWithImage_Image {
		float: left;
	}

div#NewProductsPage div.ContentBlockWithImage {
	border: none;
	float: none;
	padding: 0;
	margin: 14px 0;
}

div#TechnicalSpecsFileList div.CMSControlRepeater {
	border-top: solid 1px #666;
	margin-top: 25px;
	width: 400px;
}
	div#TechnicalSpecsFileList h4 {
		font-weight: normal;
	}
	div#TechnicalSpecsFileList div.UploadedFile {
		border-bottom: solid 1px #666;
	}

/* End Page Specific Rules */

/* Form Styles */

.FormMessage {
	color: #f00;
}

/* End Form Styles */

/* CMS System Styles */

div#AdminLoginMessage {
	float: right;
}

div#AdminLoginMessage span.CMSEditable {
	margin: 0 10px;
	padding: 2px;	
}

.EditContentPopupBackground {
	background-color: #999;
	filter:alpha(opacity=80);
	opacity:0.8;
}

div.EditContentPopup {
	background-color:#fff;
	border: solid 2px #666;
	padding: 8px;
}

.CMSEditable {
	background-color: #fffaf0;
	border: 1px dashed #666;
}

a.CMSEditLink {
	color: #0e496d;
	padding: 2px;
}
a.CMSAddNewLink {
	color: #0e496d;
	padding: 2px;
}

div.EditContentPopup div.FormSubmit {
	text-align: center;
	width: 100%;
}

div.UploadedFileList {
	margin: 8px 0;
	width: 50%;
}

div.UploadedFile {}
	div.UploadedFile h4 {
		margin: 4px 0;
	}
		div.UploadedFile h4 a {
			text-decoration: none
		}
	div.UploadedFile p {
		margin: 3px 0;
	}

div.UploadedImage {
	margin: 5px;
}

/* Miscellany */

div.cleaner {
	clear:both;
	width:100%;
	font-size:1px; 
}