/************************************************************************

	GLOBAL CSS
	==========

	Provides all global styles for the site which more specific sections 
	can be built on using the layered css technique

	Author:		Tom Harman
				Nick Watson
				Tom Fletcher
				[www.optixsolutions.co.uk]

	Listing Order:
	==============

	Universal
	Forms
	General Structure / Layout
	Navigation Elements
	Header Elements
	Body Elements
	Footer Elements
	Messages

************************************************************************/

/***********************************************************************
	UNIVERSAL STYLES
************************************************************************/

html {
	height: 100%;
}

body {
	font-size: .7em;
	background: #eeeee7;
	height: 100%;
}

html, body, form, fieldset, h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address, abbr, input, select, textarea, table, td, th {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

a:hover {
	color: #330066;
}

/***********************************************************************
	FORMS
************************************************************************/

fieldset, legend {
	border: none;
}

legend {
	background: transparent;
	font-size: 1em;
	font-weight: bold;
	margin: 1em 0;
	padding: 0 .5em;
}

label {
	float: left;
	padding: 0 1em 0 0;
	text-align: right;
}

form fieldset div {
	clear: both;
	display: block;
	margin-bottom: .5em;
	padding: 0;
}

div.submit {
	clear: both;
	text-align: center;
	width: auto;
}

div.multi input {
	border: 0;
	width: auto;
}
 
form 									{ width: 100%; }

label		 							{ float: left;	height: 22px; width: 45%; }

fieldset div input,
fieldset div select,
fieldset div textarea  			{ width: 45%; }

fieldset div input.small,
fieldset div select.small,
fieldset div textarea.small 	{ width: 25%; }

div.req label, div.req p		{ font-weight: bold; }

div.multi label 					{ height: 22px; }

div.req label:before, 
div.req p:before {
	content: "* ";
}

input:focus, textarea:focus {
	background: #fafafa;
	color: #000;
}

fieldset div input, 
fieldset div select, 
fieldset div textarea  {
	border: 1px solid #aaa;
	color: #333;
	font-weight: normal;
	padding: 1px;
}

div.submit input {
	background: #777;
	border: 1px solid #333;
	color: #fff;
	font-weight: bold;
	padding: 1px .7em;
	width: auto;
}

form#cvupload input {
	margin-left: 10px;
	margin-top: 5px;
}

input#cvsub {
	color: #fff;
	border: 1px solid #a5acb2;
	background: #6c6c6c;
	padding-top: 2x;
	padding-bottom: 2px;
	width: 50px;
}

/***********************************************************************
	GENERAL STRUCTURE/LAYOUT
************************************************************************/

div#container {
	background: url('../i/layout/bg.gif') repeat-y;
	position: relative;
	min-height: 100%;
	margin: 0 auto;
	width: 900px;
}

* html div#container {
	height: 100%;
}

div#main {
	padding-bottom: 5em;
}

table.terms {
	width: 250px;
}
table.terms td {
	text-align: center;
}
/***********************************************************************
	HEADER ELEMENTS
************************************************************************/

div#tab-links {
	height: 30px;
	margin-right: 20px;
	float: right;
}

div#tab-links ul li {
	float: left;
	border-left: 1px dotted #7C777B;
}

div#tab-links ul li a {
	float: left;
	width: 76px;
	font-size: 1.2em;
	padding-top:6px;
	padding-left: 6px;
	padding-bottom:2px;
	color: #595959;
	font-weight: bold;
}
div#tab-links ul li a:hover {
	border-top: 5px solid #eb7fe8;
}

li#tab-home a {
	border-top: 5px solid #c346c0;
}
li#tab-about a {
	border-top: 5px solid #b93fb6;
}
li#tab-vacancies a {
	border-top: 5px solid #a832a5;
}

li#tab-news a {
	border-top: 5px solid #982795;
}

li#tab-contact a {
	border-top: 5px solid #8e1f8b;
}

div#branding-logo {
	width: 222px;
	height: 94px;
	float: left;
	margin-left: 40px;
	margin-top: 10px;
/*	background: url('../i/layout/logo.gif') no-repeat;*/
}

div#branding-logo a {
	width: 222px;
	height: 94px;
	display: block;
	text-indent: -999em;
	letter-spacing: 133px;
}

div#branding-tel {
	background: url('../i/layout/header-tel.gif') no-repeat;
	float: right;
	margin-top: 65px;
	margin-right: -300px;
	width: 210px;
	height: 21px;
	display: block;
	text-indent: -999em;
	letter-spacing: 133px;
}

div#navigation {
	margin-top: 20px;
	margin-left: 35px;
	margin-right: 32px;
}

div#mainimage {
	background: url('../i/layout/mainimage.jpg') no-repeat;
	width: 655px;
	height: 153px;
	float: left;
}

div#navigation ul {
	float: right;
}

li#tab-catering a {
	width: 178px;
	height: 51px;
	display: block;
	text-indent: -999em;
	letter-spacing: 133px;
	background: url('../i/layout/tab-catering.gif') no-repeat;
}

li#tab-construction a {
	width: 178px;
	height: 51px;
	display: block;
	text-indent: -999em;
	letter-spacing: 133px;
	background: url('../i/layout/tab-construction.gif') no-repeat;
}

li#tab-industrial a {
	width: 178px;
	height: 51px;
	display: block;
	text-indent: -999em;
	letter-spacing: 133px;
	background: url('../i/layout/tab-industrial.gif') no-repeat;
}

/***********************************************************************
	BODY ELEMENTS
************************************************************************/

div#leftbox {
	width: 200px;
	float: left;
	margin-left: 35px;
}

* html div#leftbox {
	margin-left: 18px;
}

div#cv-box, div#alerts-box {
	width: 190px;
	margin-top: 20px;
}

div#cv-box-top {
	width: 190px;
	height: 34px;
	background: url('../i/layout/cv-box-top.gif') no-repeat;
}

div#alerts-box-top {
	width: 190px;
	height: 34px;
	background: url('../i/layout/alerts-box-top.gif') no-repeat;
}

div#cv-box-content, div#alerts-box-content {
	width: 190px;
	background: #EFEFEF;
}

div#alerts-box-content {
	width: 170px;
	color: #808080;
	padding-right: 10px;
	padding-left: 10px;
	text-align: justify;
}

div#alerts-box-content a {
	float: right;
	margin-top: 10px;
	color: #8E1F8B;
}

div#cv-box-bottom, div#alerts-box-bottom {
	width: 190px;
	height: 11px;
	background: url('../i/layout/cv-box-bottom.gif') no-repeat;
}

div#content {
	float: right;
	width: 620px;
	margin-top: 12px;
	margin-right: 32px;
}

* html div#content {
	width: 600px;
	margin-left: 10px;
}

h1 {
	font-size: 2.2em;
	font-weight: normal;
	color: #8e1f8b;
}

h4 {
	text-align: right;
	float: right;
	margin-top: 10px;
	margin-right: 10px;
	font-size: 1.8em;
	font-weight: normal;
	color: #8e1f8b;
}

div#content p {
	color: #808080;
	margin: 1em 0;
	text-align: justify;
}

div#boxes{

	float: left;
	margin-bottom: 40px;
}

div#boxes div {
	float: left;
	margin-right: 20px;
	width: 181px;
	text-align: justify;
	color: #808080;
	line-height: 1.2em;
	padding: 2px;

}

* html div#boxes div {
	margin-right: 14px;
}

div#boxes div img {
	margin-bottom: 12px;
}

div#boxes div a {
	float: left;
	margin-top: 5px;
}

div#latest-news{
	float: left;
}

div#latest-news-top {

	margin-top: 10px;
	width: 603px;
	height: 35px;
	background: url('../i/layout/latest-news-top.gif') no-repeat;
}

div#latest-news-content {
	background: #F7F7F7;
	padding: 10px;
	width: 583px;
}

div#latest-news-bottom {
	width: 603px;
	height: 10px;
	background: url('../i/layout/latest-news-bottom.gif') no-repeat;
}

div.latest-news-item h2 {
	color: #8e1f8b;
	margin-left: 10px;
}

div.latest-news-item p {
	padding-left: 10px;
	padding-right: 10px;
}

div.latest-news-item a {
	color: #8e1f8b;
}

div#sorter a, div#viewvac a {
	display: inline-block;
	border: 1px solid #C08CBE;
	padding-left: 1em;
	padding-right: 1em;
}

div#sorter {
	margin-top: 5px;
	margin-bottom: 5px;
}

div#sorter a.selected, li.currentPage a {
	border: 1px solid #8E1F8B;
	background: #ECE1EC;
}

div#resultpag {
	margin-top: 10px;
	margin-bottom: 5px;
}

div#resultpag span {
	float: left;
}

div#resultpag li {
	float: left;

}

div#resultpag li a {
	display: block;
	margin-left: 4px;
	border: 1px solid #C08CBE;
	padding-left: 2px;
	padding-right: 2px;
	width: 15px;
	text-align: center;
}

div.job-vacancy, div.news-item {
	margin-top: 10px;
	border: 1px solid #BB94BC;
	background: #ECE1EC;
}
div.job-vacancy{
	float: left;
	width: 100%;
}

div.job-header, h5 {
	background: #BB94BC;
	padding: 0.5em;
}

span.job-dateadded {
	float: right;
	color: #FFF;
}

div.job-header h2 a, h5 a {
	color: #FFF;
	font-size: 1.3em;
}

div.job-body, div.news-item-content {
	padding: 1em;
}

div.news-item-content {
	color: #660066;	
	float: left;
}
div.news-item{
	float: left;
}

div.job-body span {
	display: block;
	color: #660066;
	margin-top: 2px;
}

em {
	font-style: normal;
	font-weight: bold;
}

div.job-body a, div.news-item-content a {
	float: right;
/*	margin-top: -15px;*/
	border: 1px solid #C08CBE;
	padding-left: 6px;
	padding-right: 6px;
	margin-bottom: 5px;
}

div.job-body a:hover, div.news-item-content a:hover {
	color: #FFF;
	background: #C08CBE;
}

div#content div.job-body p {
	color: #660066;
	margin-top: 1px;
	font-style: italic;
}

div#content div#viewvac p {
	color: #660066;
}

p.vacdesc {
	background: #ECE1EC;
	padding: 1em;
}

div.news-archive p a {
	float: left;
	margin-left: 20px;
	margin-bottom: 10px;
}

/***********************************************************************
	FOOTER ELEMENTS
************************************************************************/

div#footer {
	position: relative;
	margin: -26px auto 0 auto;
	width: 860px;
	padding-top: 8px;
	height: 18px;
	background: url('../i/layout/footerbg.gif') repeat-x;
}

div#footer a {
	margin-right: 10px;
	margin-left: 10px;
	color: #787878;
}

div#footer a:hover {
	color: #330066;
}

div#footer-links {
	float: left;
	margin-left: 20px;
}

div#footer-tel {
	float: right;
	margin-right: 20px;
}

/***********************************************************************
	MESSAGES
************************************************************************/

.error, .notice, .message, #errorText { 
	color: #b22;
	font-weight: bold;
}

.error ol li, #errorText ol li {
	font-weight: normal;
	list-style-type: lower-roman;
	list-style-position: inside;
	margin-left: 0;
	padding-left: 1em;
	text-indent: 1em;
}
/***********************************************************************
	SOCIAL BOOKMARK LINKS LIST
************************************************************************/
div#social-bookmark-links{
	float: left;
	clear: both;
	border: 1px solid #cccccc;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
}
div#social-bookmark-links ul{
	
}
div#social-bookmark-links ul li{
	float: left;
}
div#social-bookmark-links ul li a{
	float: left;
	height: 20px;
	padding-left: 22px;
	padding-top: 2px;
	background-repeat: no-repeat;
	margin-right: 5px;
}
div#social-bookmark-links ul li a:hover{
	float: left;
	color: Maroon;
}

/**icon setting**/
div#social-bookmark-links ul li a#delicious{
	background-image: url(../i/icons/delicious.jpg);
/*	width: 60px;*/
}
div#social-bookmark-links ul li a#digg{
	background-image: url(../i/icons/digg.jpg);
/*	width: 35px;*/
}
div#social-bookmark-links ul li a#stumble{
	background-image: url(../i/icons/stumble.jpg);
/*	width: 85px;*/
}
div#social-bookmark-links ul li a#facebook{
	background-image: url(../i/icons/facebook.jpg);
/*	width: */
}
div#social-bookmark-links ul li a#reddit{
	background-image: url(../i/icons/reddit.jpg);
}
/*****************/
div#signature-holder{
	float: left;
		width: 100%;
		clear: both;
}
div.signature{
	float: right;
	text-align: right;
	margin-right: 30px;
	margin-top: -10px;
}
img.image-left{
	float: left;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-top: 15px;
}
div.team-member{
	float: left;
	width: 95%;
	background-color: #ebebeb;
	padding:10px;
	margin-bottom: 2px;
}
div.team-member img{
	float: left;
	padding-right: 20px;
	padding-bottom: 20px;
}


/***************contact page*****************************/
div.contact-form{
	float: left;
	width: 275px;
	background-color: #ebebeb;
}
div.ddfmwrap{
	float: left;
	width: 275px;
	background-color: #ebebeb;
}

div#content div.contact-form p.address{
	padding-right: 20px;
/*	text-align: right;*/
	float: right;
	width: 255px;
	font-size: 1.2em;
	font-weight: bold;
	color: #8E1F8B;
	text-align: center;
}
div#content div.contact-form p.fieldwrap{
	padding:0px;
	margin:0px;

}
div#content div.ddfmwrap label{
	width: 60px;

	margin-right:0px;
}
div#content div.ddfmwrap input{
	width: 165px;
	margin-right:0px;
}
div#content div.ddfmwrap textarea{
	width: 165px;
	margin-right:0px;
}
div#content div.ddfmwrap input.fmverify{
	width: 70px;
	margin-right:0px;
}
div.ddfmwrap div.submit{
	width: 50px;
}
div.ddfmwrap div.submit input{
	margin-left: 73px;
	width: 50px;
}
div#contact-right{
	float: left;
	background-color: #ebebeb;
	width: 275px;
	margin-left: 5px;
}
div#map{
	float: left;
	width: 275px;
	height: 295px;
}
div.directions{

	padding:5px;
	background-color: #D8D8D8;

}
div#content div.directions label{
	width: 80px;

}


div.team{
	float: left;
	width: 606px;
	padding: 10px;
	background-color: #eaeaea; 
	color: #000000;
}
div.team img{
	float: left;
	margin-right: 20px;
}

ul#team{
	float: left;
	width: 616px;
	height: 300px;

}
ul#team li{
	float: left;

	position: relative;
}
ul#team li ul li{
	//display: none;
	position: absolute;
	top: 150px;
	width: 606px;
	padding: 5px;
/* HACK HACK - functionality changed to always on :P	*/
	display: block; 
	background-color: #eaeaea; 
	color: #000000;
}
ul#team li ul li.teampos1{
	left: 0px;

}
ul#team li ul li.teampos2{
	left: -100px;
}

ul#team li:hover ul li{
	display: block;	
	background-color: #eaeaea;
	color: #000000;
}
ul#team li a.team-a{
	float: left;
	background-image: url(../i/layout/dean.jpg);
	background-repeat: no-repeat;
	width: 100px;
	height: 150px;	

}
ul#team li a.team-b{
	float: left;
	background-image: url(../i/layout/team1.jpg);
	background-repeat: no-repeat;
	width: 100px;
	height: 150px;
	margin-left: 10px;
}

/* Fix IE. Hide from IE Mac \*/
* html ul li { float: left; height: 1%; }
* html ul li a { height: 1%; }
/* End */

//ul#team li.over ul li{ display: block; background-color: #eaeaea; color: #000000; } /* The magic */	


img.news-image{
	float: left;
	margin-bottom: 20px;
	margin-right: 20px;
	margin-top:5px;
	clear: left;
}