/* GLOBAL STYLES */

* {
	border: 0;
	margin: 0;
	padding: 0;
	outline: none;
	font-size: 100%;
    list-style: none;
	font-family: "trebuchet MS", Helvetica, Arial, "Sans Serif";
}

body {
    color: #000;
	font-size: 80%;
    background: #000 url("../images/background-machine-lever.jpg") top center no-repeat;
}

body.homepage { background: #000 url("../images/background-tools.jpg") top center no-repeat; }
body.about-us { background: #000 url("../images/background-wheel.jpg") top center no-repeat; }
body.what-we-do { background: #000 url("../images/background-machine-lever.jpg") top center no-repeat; }
body.news-and-information { background: #000 url("../images/background-filings.jpg") top center no-repeat; }
body.workshop-gallery { background: #000 url("../images/background-filings.jpg") top center no-repeat; }
body.map-and-directions { background: #000 url("../images/background-measurement.jpg") top center no-repeat; }
body.contact { background: #000 url("../images/background-machinery.jpg") top center no-repeat; }
body.sitemap { background: #000 url("../images/background-edgwick.jpg") top center no-repeat; }

a {
    color: #000;
    text-decoration: underline;
}

a:hover {
    color: #810f00;
}

h1, h2, h3, h4, h5 {
    font-weight: normal;
}

.clearing {
	clear: both;
}


/* LAYOUT */

#wrapper {
	width: 900px;
	margin: 0 auto;
}

#header {
	width: 900px;
    height: 261px;
	margin-top: 20px;
    position: relative;
}

#header h2 {
	width: 300px;
	height: 30px;
	text-indent: -9999px;
	background: transparent url("../images/unicorn-logo.png") top left no-repeat;
}

#banner {
	top: 25px;
	width: 900px;
	height: 212px;
	position: absolute;
}

#banner .image {
	top: 12px;
	left: 6px;
	width: 888px;
	height: 179px;
	position: absolute;
	z-index: 1;
}

body.homepage #banner .image { background: transparent url("../images/banner-outside-van.jpg") top left no-repeat; }
body.about-us #banner .image { background: transparent url("../images/banner-machine-edgwick.jpg") top left no-repeat; }
body.what-we-do #banner .image { background: transparent url("../images/banner-sparks-flying.jpg") top left no-repeat; }
body.news-and-information #banner .image { background: transparent url("../images/banner-inside-workshop.jpg") top left no-repeat; }
body.workshop-gallery #banner .image { background: transparent url("../images/banner-inside-workshop.jpg") top left no-repeat; }
body.map-and-directions #banner .image { background: transparent url("../images/banner-unicorn-sign.jpg") top left no-repeat; }
body.contact #banner .image { background: transparent url("../images/banner-bearing-housing.jpg") top left no-repeat; }
body.sitemap #banner .image { background: transparent url("../images/banner-machinery.jpg") top left no-repeat; }

#banner .overlay {
	top: 0;
	left: 0;
	width: 900px;
	height: 212px;
	background: transparent url("../images/banner-overlay.png") top left no-repeat;
	position: absolute;
	z-index: 2;
}

#banner .text {
	left: 17px;
	bottom: 30px;
	color: #FFF;
    width: 300px;
    font-size: 120%;
    letter-spacing: 0.6px;
    text-transform: uppercase;
	position: absolute;
	z-index: 3;
}

#navigation {
	top: 226px;
	left: 5px;
	width: 890px;
	padding: 2px 0;
	position: absolute;
	margin-bottom: 10px;
	background: transparent url("../images/topnav-bg.png") top left repeat;
}

#navigation ul li {
	display: inline;
}

#navigation ul li a {
	float: left;
	color: #FFF;
	display: block;
	padding: 3px 15px;
	text-decoration: none;
	text-transform: uppercase;
	border-right: 1px solid #333;
}

#navigation ul li.active a,
#navigation ul li a:hover,
body.home #navigation ul li.home a,
body.about-us #navigation ul li.about-us a,
body.what-we-do #navigation ul li.what-we-do a,
body.news-and-information #navigation ul li.news-and-information a,
body.workshop-gallery #navigation ul li.workshop-gallery a,
body.map-and-directions #navigation ul li.map-and-directions a,
body.contact #navigation ul li.contact a,
body.sitemap #navigation ul li.sitemap a {
    color: #000;
}

#navigation ul li a:hover {
    text-decoration: underline;
}

#content {
    margin: 0 5px;
    overflow: hidden;
    background: transparent url("../images/content-bg.png") top left repeat-y;
}

#content .watermark {
    background: transparent url("../images/unicorn-watermark.png") bottom right no-repeat;
}

#content .main_content {
    float: left;
    width: 640px;
}

#content .main_content .content {
    float: left;
    width: 375px;
    padding: 10px;
    padding-top: 0;
}

#content .main_content .content p.intro {
    font-size: 110%;
    font-weight: bold;
}

#content .main_content .content.full {
    width: 620px;
}

#content .main_content h1 {
    padding: 10px;
    background: transparent url("../images/main-separator.png") 10px bottom no-repeat;
}

#content .main_content .full h1 {
    padding-left: 0;
    background-position: bottom left;
}

#content .main_content .site_links {
    float: right;
    width: 215px;
    padding-left: 15px;
    border-left: 1px dotted #660000;
}

#content .main_content a {
    color: #660000;
}

#content .main_content a:hover {
    color: #000;
}

#content .main_content .subnav {
    width: 200px;
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
    padding: 5px 5px 15px 5px;
    border: 1px solid #660000;
    border-top: none;
    border-right: none;
    background: transparent url("../images/footer-bg.png") top left repeat;
}

#content .main_content .subnav ul,
#content .main_content .subnav ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#content .main_content .subnav ul li {
    padding: 5px 0 0 5px;
    list-style: square;
    list-style-position: inside;
}

#content .main_content .subnav ul li ul li ul li {
    padding-left: 10px;
}

#content .main_content .subnav ul li.first {
    list-style: none;
}

#content .main_content .subnav ul li a {
    color: #000;
}

#content .main_content .subnav ul li.active a {
    color: #fff;
}

#content .main_content .subnav ul li.active ul li a {
    color: #000;
}

#content .main_content .subnav ul li a:hover,
#content .main_content .subnav ul li.active ul li a:hover {
    color: #810f00;
}

#content .main_content .subnav ul li.active a:hover {
    color: #FFF;
}

#content .sidebar_content {
    float: right;
    width: 220px;
    font-size: 170%;
    letter-spacing: 1.5px;
    padding: 10px 10px 40px 10px;
}

#content .sidebar_content h2 {
    color: #810f00;
    text-transform: uppercase;
}

#content .sidebar_content .email,
#content .sidebar_content .directions {
    font-size: 80%;
}

#content .sidebar_content .contact {
    font-size: 60%;
    line-height: 150%;
    letter-spacing: normal;
}

#content .sidebar_content .separator {
    height: 2px;
    width: 215px;
    margin: 10px 0;
    background: transparent url("../images/sidebar-separator.png") top left repeat;
}

#footer {
    color: #FFF;
    padding: 5px 10px;
    margin: 10px 5px;
	background: transparent url("../images/footer-bg.png") top left repeat;
}

#footer .address {
    float: left;
}

#footer .address span {
    color: #000;
}

#footer .address a {
    color: #FFF;
}

#footer .address a:hover {
    color: #000;
}

#footer .credits {
    float: right;
    margin-top: 6px;
}

#footer .credits a {
    color: #000;
}

#footer .credits a:hover {
    color: #FFF;
}


/* FORMS */

fieldset {
	margin: 0 0 10px 0;
	padding: 10px 5px 5px 5px;
	border: 1px solid #666;
}

fieldset .site_messages {
    margin: 5px 5px 10px 5px;
}

fieldset legend {
    color: #000;
    padding: 0 5px;
	font-weight: bold;
}

fieldset p {
    margin: 0;
    padding: 0 5px;
}

fieldset span {
    float: left;
	width: 180px;
    padding-top: 2px;
}

input.input {
    width: 400px;
    padding: 2px;
	background: #FFF;
    border: 1px solid #810f00;
}

textarea.textarea {
    width: 400px;
    height: 60px;
    padding: 2px;
	background: #FFF;
    border: 1px solid #810f00;
}

select.select {
    padding: 2px;
    border: 1px solid #810f00;
}

input.button {
    color: #FFF;
    padding: 3px;
    cursor: pointer;
    background: #810f00;
    border: 1px solid #000;
}


/* MAIN CONTENT */

.main_content h1 {
    color: #660000;
    font-size: 180%;
    font-weight: normal;
    margin-bottom: 20px;
    padding-bottom: 10px;
    background: transparent url("../images/main-separator.png") bottom left no-repeat;
}

.main_content h2 {
    color: #000;
    font-size: 130%;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: normal;
}

.main_content h3 {
    font-size: 120%;
    margin-bottom: 10px;
}

.main_content p {
    margin-bottom: 10px;
}

.main_content ul li {
    list-style: disc;
    margin: 5px 0 5px 20px;
}

.main_content ul li ul li {
    list-style: circle;
}

.main_content ul li ul li ul li {
    list-style: square;
}


/* SITEMAP */

body.sitemap .main_content ul {
    margin-bottom: 15px;
}

body.sitemap .main_content ul li {
    margin-top: 8px;
}

body.sitemap .main_content ul li a {
    color: #000;
}

body.sitemap .main_content ul li a:hover,
body.sitemap .main_content ul li a:visited {
    color: #660000;
    padding-right: 15px;
    background: transparent url("../images/tick.png") right 3px no-repeat;
}


/* SITE MESSAGES */

.site_messages {
    width: auto;
    margin: 5px 0 0 0 ;
}

.site_messages p {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.site_messages .negative {
    color: red;
    padding: 5px;
    font-weight: bold;
    background: #ffeeee;
    border: 1px dashed red;
    margin-bottom: 5px;
}

.site_messages .positive {
    color: green;
    padding: 5px;
    font-weight: bold;
    background: #d1ffd3;
    border: 1px dashed green;
    margin-bottom: 5px;
}


/* GOOGLE MAP */

.google_map {
    width: 550px;
    height: 400px;
    padding: 5px;
    border: 1px solid #660000;
    margin: 20px auto 10px auto;
    background: transparent url("../images/loading.gif") 50% 50% no-repeat;
}


/* NEWS */

.archive_date {
    color: #666;
    font-size: 80%;
}


/* CALL TO ACTION BOXES */

.find_out_more {
    margin-top: 10px;
    padding-left: 10px;
}

.find_out_more h2 {
    font-size: 120%;
    font-weight: bold;
    margin-bottom: 5px;
    padding-bottom: 5px;
    background: transparent url("../images/main-separator.png") bottom left no-repeat;
}

.site_links ul,
.site_links ul li,
.site_links ul li ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#content .site_links ul li a,
a.call-to-action {
    width: 156px;
    height: 28px;
    color: #660000;
    display: block;
    font-weight: bold;
    margin-top: 2px;
    margin-bottom: 8px;
    padding: 7px 30px 0 10px;
    text-decoration: none;
    background: transparent url("../images/call-to-action-box.png") top left no-repeat;
}

#content .site_links ul li a:hover,
#content .site_links ul li.active a,
a.call-to-action:hover {
    color: #000;
    text-decoration: underline;
}

#content .site_links ul li.active ul li a {
    color: #660000;
    text-decoration: none;
}

#content .site_links ul li.active ul li a:hover {
    color: #000;
    text-decoration: underline;
}



/* GALLERY */

.gallery-items a {
    float: left;
    display: block;
    margin-right: 20px;
    margin-bottom: 20px;
    text-decoration: none;
}

.gallery-items p {
    padding-top: 5px;
}