body {
	margin: 0;
	padding: 0;
	background: #fff;
	color: #000;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 100%;
}
/* Header
---------------------------------------------------- */
#header {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background-color: #8c8c8c;
	border-bottom: 10px solid #ff7f00;
}
#logo {
	position: absolute;
	top: 16px;
	left: 18px;
}
#logo a {
	width: 155px;
	height: 47px;
	background: url("../img/maselec-logo.gif") no-repeat;
	display: block;
}
#header h1 {
	position: absolute;
	top: 24px;
	left: 183px;
	font-size: 120%;
	margin: 0;
	padding: 0;
}
/* Main
---------------------------------------------------- */
#main {
	position: relative;
	width: 100%;
	top: 0;
	left: 0;
	display: block;
	min-height: 500px;
	height: auto !important;
	height: 500px;
	padding-bottom: 20px;
	margin-bottom: 20px;
}
#content {
	position: relative;
	width: 780px;
	top: 35px;
	left: 194px;
	/* The following styles create the orange lines */
	margin-left: -1px;
	padding-top: 10px;
	padding-left: 20px;
	background: #fff;
	border-top: 1px solid #ff7f00;
	border-left: 1px solid #fff;
	min-height: 330px;
	height: auto !important;
	height: 330px;
	z-index: 5;
}
#homeflashcontent {
	width: 802px;
	height: 458px;
	position: relative;
	top: -11px;
	left: -21px;
}
#mainimg,
#flashcontent,
#mainimg-gherkin,
#mainimg-film,
#mainimg-cylinders,
#mainimg-powerunit,
#mainimg-bridge {
	width: 220px;
	height: 110px;
	position: absolute;
	top: 10px;
	left: 590px;
	background: url("../img/mainimg.jpg") no-repeat;
	margin: -11px 0 0 20px;
}
#flashcontent {
	height: 182px;
}
#mainimg-gherkin {
	background: url("../img/mainimg-gherkin.jpg") no-repeat;
	height: 182px;
}
#mainimg-film {
	background: url("../img/mainimg-film.jpg") no-repeat;
	height: 182px;
}
#mainimg-cylinders {
	background: url("../img/mainimg-cylinders.jpg") no-repeat;
	height: 182px;
}
#mainimg-powerunit {
	background: url("../img/mainimg-powerunit.jpg") no-repeat;
	height: 182px;
}
#mainimg-bridge {
	background: url("../img/mainimg-bridge.jpg") no-repeat;
	height: 182px;
}
.hidden {
	display: none;
}
h1 {
	font: normal bold 14px/1.5em verdan, arial, helvetica, san-serif;
	margin: 10px 0;
	padding: 0;
	color: #000;
}
p {
	font: normal normal 12px/1.5em verdan, arial, helvetica, san-serif;
	margin: 10px 0;
	padding: 0;
	color: #000;
	width: 540px;
	display: block;
}
p a {
	color: #ff7f00;
	text-decoration: underline;
}
br.clear {
	clear: both;
}
.upper {
	text-transform: uppercase;
}
img {
	border: 0;
}
ul {
	margin: 0;
	padding: 0;
	display: block;
	clear: both;
}
#content ul li {
	margin: 0 10px;
	padding: 0 0 0 15px;
	list-style-type: none;
	background: url("../img/bullet.gif") no-repeat 0 50%;
	font-size: 75%;
}
/* Film page */
img.thumb {
	width: 80px;
	height: 117px;
	display: block;
}
#content ul.thumbs li {
	width: 80px;
	height: 150px;
	float: left;
	margin: 0 20px 5px 0;
	padding: 0;
	font-size: 65%;
	font-weight: bold;
	background: none;
}
/* HFF page */
img.lgthumb {
	width: 220px;
	height: 185px;
	display: block;
}
#content ul.lgthumbs li {
	width: 220px;
	height: 218px;
	float: left;
	margin: 0 20px 5px 0;
	padding: 0;
	font-size: 65%;
	font-weight: bold;
	background: none;
}
/* Entertainment page */
img.midthumb {
	width: 180px;
	height: 117px;
	display: block;
}
#content ul.midthumbs li,
#content ul.midthumbs li.thumb {
	width: 180px;
	height: 150px;
	float: left;
	margin: 0 20px 5px 0;
	padding: 0;
	font-size: 65%;
	font-weight: bold;
	background: none;
}
#content ul.midthumbs li.thumb {
	width: 80px;
}
img.widethumb {
	width: 80px;
	height: 45px;
	display: block;
}
#content ul.widethumbs li {
	width: 80px;
	height: 78px;
	float: left;
	margin: 0 20px 5px 0;
	padding: 0;
	font-size: 65%;
	font-weight: bold;
	background: none;
}
#content ul.shallow {
	width: 600px;
}
#content ul.shallow li {
	height: 60px;
}
/* Contact Us page */
.block550 {
	width: 500px;
	display: block;
	margin-bottom: 10px;
	clear: both;
	padding-bottom: 10px;
}
.leftcol {
	width: 49%;
	float: left;
	display: inline;
	clear: none;
}
.rightcol {
	width: 49%;
	float: right;
	display: inline;
	clear: none;
}
.borderbox {
	border: 1px solid #000;
	width: 540px;
	padding: 10px;
}
.contactus {
	background: #f3f3f3;
	width: 540px;
	margin: 0;
	padding: 0;
}
.contacttable {
	width: 520px;
	margin: 10px;
	font-size: 70%;
}
.contacttable td.left {
	width: 130px;
	vertical-align: top;
}
.contacttable td.right {
	text-align: right;
}
.req {
	color: #ff7f00;
}
.std-text {
	width: 185px;
}
.textarea {
	width: 380px;
}
.submit {
	width: 62px;
	height: 20px;
	background: url("../img/submit.gif") no-repeat;
	border: 0;
	color: #fff;
	line-height: 14px;
	font-weight: bold;
	font-size: 10px;
}
/* Special Purpose Vehicles page */
#mainimg1withthumbs,
#mainimg2withthumbs {
	position: relative;
	margin: 0 0 20px 0;
}
#mainimg1withthumbs ul,
#mainimg2withthumbs ul {
	position: absolute;
	top: 0;
	left: 500px;
	width: 300px;
	margin: 0;
	padding: 0;
}
#mainimg1withthumbs ul li,
#mainimg2withthumbs ul li {
	background: none;
	float: left;
	margin: 0 0 10px 10px;
	padding: 0;
}
/* Special projects page */
.orangebox {
	width: 470px;
	display: block;
	margin-bottom: 10px;
	clear: both;
	padding: 10px;
	background: #ff7f00 url("../img/nav-border.gif") no-repeat right bottom;
}
.orangebox p {
	font-weight: bold;
	color: #fff;
	width: 470px;
}
.orangebox p a {
	color: #000;
}
/* Nav
---------------------------------------------------- */
#nav {
	position: absolute;
	top: -1px;
	left: 18px;
	border-right: 1px solid #ff7f00;
	width: 175px;
	z-index: 1;
}
#nav ul {
	margin: 0;
	padding: 0;
	display: block;
}
#nav ul li {
	list-style-type: none;
	border-top: 1px solid #ff7f00;
	border-left: 1px solid #ff7f00;
	margin: 0 0 2px 0;
	padding: 0 -1px;
	width: 155px;
}
#nav ul li a {
	display: block;
	background: #fff url("../img/nav-border.gif") no-repeat right bottom;
	width: 145px;
	padding: 5px;
	color: #000;
	text-decoration: none;
	font-size: 75%;
}
#nav ul li a:hover,
#nav ul li.on a {
	background: #ff7f00 url("../img/nav-border.gif") no-repeat right bottom;
	color: #fff;
}
/* Footer
---------------------------------------------------- */
#footer {
	position: relative;
	margin-top: 50px;
	width: 765px;
	left: 214px;
}
#footer p {
	color: #535353;
	font-size: 65%;
	margin-top: 20px;
	width: 785px;
	display: block;
}
