/*	CSS Document for Affinity
	Designed by Rokk Media
	Designer name : Steve

/*	Colors used on site : 

banners : #99999a
links : #ff7c1d
text : #8a8b8e
text panel : #f3f4f4
Headings : #ff7c1d (orange)

*/

/*------------------------------
			GLOBAL
-------------------------------*/

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


body {
	padding: 0;
	margin: 0;
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	font-size: 67.5%;
	color: #8a8b8e;
	text-align: center;
	background: url(xx../images/background.gif) repeat-y 50% 0;
}

.clear {
	height: 1px;
	clear: both;
}

/*------------------------------
			LAYOUT
-------------------------------*/
#container {
	width: 800px;
	margin: 0 auto;
}

#header {
	position: relative;
	width: 800px;
	height: 114px;
	background: url(../images/header-bg.gif) no-repeat;
}

#navcontainer {
	position: absolute;
	width: 800px;
	height: 24px;
	top: 84px;
	left: 0px;
}

#subnav {
	background: #99999a;
	border-bottom: 1px solid #666;
	width: 800px;
	height: 20px;
	line-height: 1.5;
}


#content {
	position: relative;
	width: 798px;
	text-align: left;
	padding: 0;
	border-left: 1px solid #888;
	border-right: 1px solid #888;
}

#contentinner {
	position: relative;
	background: #f4f4f4;
	padding: 0;
	margin: 0;
	width: 380px;
	margin-left: 241px;
	margin-right: 166px;
	border: 1px solid #fff;
	border-top: 20px solid #fff;
}

#contentwide {
	background: #f4f4f4;
	padding: 0;
	margin: 0;
	margin-top: 0px;
	width: 520px;
	margin-left: 241px;
	margin-right: 166px;
	border: 1px solid #fff;
	border-top: 20px solid #fff;
}


.block {
	border-bottom: 8px solid #fff;
}


#imagebox {
	position: absolute;
	width: 230px;
	left: 0;
	top: 0;
	padding: 0;
	margin: 0;
	background: #fff;
	border-top: 20px solid #fff;
}

.box {
	width: 340px;
	height: 200px;
	margin: 0 auto;
	margin-bottom: 10px;
	border: 2px solid #ff7c1d;
	background: #fff;
}

#subcontent {
	position: absolute;
	width: 166px;
	right: 0;
	top: 0px;
	padding: 0;
	margin: 0;
	width: 166px;
	background: #efeff1;
	border-top: 20px solid #fff;
	height: 318px; 
	overflow: hidden;
}

#border {
	width: 800px;
	height: 35px;
	margin: 0 auto;
	background: #f6f6f7 url(../images/border.gif);
}

#footer {
	width: 798px;
	height: 60px;
	padding: 0 0 15px 0;
	margin: 0;
	padding-top: 40px;
	background: url(../images/footer-bar.gif) no-repeat bottom;
	border: 1px solid #888;
	border-top: none;
	text-align: center;
}



/*------------------------------
			NAVIGATION
-------------------------------*/
#ad {
	float:right;
	margin:0 0 20px 20px;
}

/* default link styling needed for IE6 to work */
a {
	color:#999;
}

a:visited {
	color:#999;
}

a:active {
	color:#999;
}

a:hover {
	text-decoration:none;
}

/* remove the margin and bullets, set the padding*/
.button {
	margin:0;
	padding: 0;
	padding-right: 3px;
	list-style:none;
	float: right;
}

/* display the list items inline with a right margin to space the buttons. Use this to pre-load the hover image */
.button li {
	display:inline;
	float:left;
	margin-right:2px;
	background:url(../images/hover_button2.gif);
}

/* style the links and place the background image to start from left edge */
.button li a {
	display:block;
	height:26px;
	float:left;
	background:url(../images/button2.gif);
	text-decoration:none;
	font-size:1.0em;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing:1px;
	line-height:22px;
}

/* style the b element to posiition it to the right by 20 pixels and even out the text with 20 pixel right padding */
.button li b {
	margin:0 0 0 10px;
	display:inline;
	float:left;
	height:26px;
	background:url(../images/button2.gif) right top;
	padding:0 10px 0 0;
	color:#fff;
}

/* style the link hover and the link hover b to replace the background image - border:0 needed for IE6 to work */
.button li a:hover, .button li a:hover b {
	border:0;
	background-image:url(../images/hover_button2.gif);
	cursor:pointer;
}

/* style the active state to replace the background image. This can also be used for a 'current' tab if you wish */
.button li a:active, .button li a:active b, .button li a.current, .button li a.current b {
	background-image: url(../images/active_button2.gif);
}

/* move the text down by 3 pixels, and to the right by 2 pixels */
.button li a:active b, .button li a.current b {
	line-height:26px;
	margin-left:11px;
	padding-right:9px;
}

#subnav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: right;
}

#subnav li {
	display: inline;
}

#subnav a:link, #subnav a:visited {
	padding: 3px 20px 6px 20px;
	color: #fff;
	font-size: 10px;
	background: #99999a url(../images/sub-bullet.gif) no-repeat;
	text-transform: uppercase;
	text-decoration: none;
}

#subnav a:hover {
	background: #99999a url(../images/sub-bullet-over.gif) no-repeat;
	padding: 3px 20px 6px 20px;
}

/*------------------------------
			TEXT
-------------------------------*/
.highlight, .tabletitle {
	color: #ff7c1d;
}


#content div p {
	font-size: 1.1em;
	line-height: 1.4em;
	color: #555;
	padding-left: 6px;
}

.box p {
	color: #ff7c1d;
	font-size: 1.2em;
	padding-left: 20px;
}

#footer p {
	font-size: 10px;
	text-transform: uppercase;
	color: #555;
	padding-top: 36px;
	margin: 0;
}

#footer a {
	color: #555;
	text-transform: lowercase;
}

#footer a:hover {
	color: #ff7c1d;

}

blockquote {
	width: 80%;
	font-family: arial;
	font-size:120%;
	line-height: 1.6;
	padding: 8px;
	margin: 0 auto;
	margin-bottom: 20px;
	background: #e4e4e4;
	border: 1px solid #999;
}

#contentinner p {
	margin-right: 13px;
}
	


.name {
	font-weight: bold;
}

.subsection {
	margin-left: 13px;
}

.contactdetails {
	width: 30%;
	color: #ff7c1d;
}

.address {
	width: 260px;
	margin-left: 0px;
	margin-top: 0px;
}


.formtitle {
	border-top: 6px solid #fff;
	padding-top: 8px;
}

.jobtitle {
	font-weight: bold;
	font-size:110%;
}

/*------------------------------
			LINKS
-------------------------------*/
a:link, a:visited {
	color: #ff7c1d;
	text-decoration: none;
}

a:hover, a:active {
	color: #333;
	text-decoration: none;
}

#base a:link, #base a:visited {
	color: #999;
}

td a:link, td a:visited {
	text-decoration: underline;
}

td a:visited {
	color: #333;
}

/*------------------------------
			LISTS
-------------------------------*/


#contentinner li {
	margin-left: 3px;
	list-style-type: square;
	color: #333;
	line-height: 1.8;
	font-size: 1.1em;
}

.list {
	padding-left: 32px;
}

.box ul {
	margin: 0;
	padding: 0;
	padding-left: 35px;
}

.box li {
	list-style: url(../images/bullet.gif);
	font-size: 1.1em;
	color: #ff7c1d;
}

.list1 {
	float: left;
}

.list2 {
	float: left;
}

/*------------------------------
			HEADINGS
-------------------------------*/
h1 {
	font-size: 1.4em;
	color: #ff7c1d;
	text-transform: uppercase;
	padding-left: 6px;
	padding-top: 6px;
}

h2 {
	font-size: 1.3em;
	color: #777;
	padding-left: 6px;
}

h3 {
	font-size: 1.2em;
	color: #777;
	padding-left: 6px;
}

h4 {
	font-size: 1.0em;
	padding: 6px 0;
	padding-left: 0.6em;
	margin: 0;
	color: #777;
	text-transform: uppercase;
	background: url(../images/tab.gif) no-repeat;
}

.subheading {
	background: url(../images/bullet.gif) no-repeat center left;
	padding-left: 13px;
	margin-left: 6px;
}
	
/*------------------------------
			IMAGES
-------------------------------*/

.imageborder {
	padding: 5px;
	background: #fff;
	border: 1px solid #999;
	margin: 0 auto;
}

.imagepadleft {
	float: left;
	margin: 0;
	padding-top: 6px;
	padding-left: 7px;
	background: #fff;
}

.imagepadright {
	float: left;
	margin: 0;
	padding: 0;
	padding-top: 6px;
}
/*------------------------------
			FORMS
-------------------------------*/
form {
	padding-left: 14px;
	margin: 0 0 20px 0;
}

label, input {
	display: block;
	width: 250px;
	float: left;
	margin-bottom: 10px;
}

label {
	text-align: left;
	width: 165px;
	padding-right: 20px;
	font-weight: bold;
}

input {
	font: 1.0em "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #333;
}

textarea {
	font: 1.0em "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #333;
	width: 90%;
	height: 100px;
}

br {
	clear: left;
}

.btn {
	width: 108px;
	height: 27px;
	border: none;
}

.applicationtitle {
	background: url(../images/bullet.gif) no-repeat left;
	padding-left: 10px;
	margin-left: 10px;
}


#application input {
	width: 210px;
}

#application .btn {
	width: 108px;
	height: 27px;
	border: none;
}

/*------------------------------
			TABLES
-------------------------------*/
table {
	color: #000;
	border: none;
	padding: 0;
	margin: 0;
	border-collapse: collapse;
}

th {
	background: #fff;
	color: #ff7c1d;
	padding: 0 6px 6px 6px;
	margin: 0;
	border-top: none;
	border-left: 1px solid #f4f4f4;
	border-right: 1px solid #f4f4f4;
}

td {
	padding: 6px;
	border: 1px solid #fff;
}

.normal {
	background: #ededef;
	border-top: none;
	padding-top: 0;
	
}

.alt {
	background-color: #ffe5c5;
	/*background: #FFE5C5;*/
	/*background: #ffcc99;*/
}

.jobdescription {
	padding-bottom:15px;
	border-bottom: 8px solid #fff;
}


.title {
	background: #fff;
	font-weight: bold;
}

.contacttable {
	padding: 0;
	margin: 0;
	margin-bottom: 10px;
	border-collapse: collapse;
}

.contacttable td{
	border:none;
	font-size:115%;
	line-height:130%;
	color: #363636;
}

#googleMap {
	width: 361px;
	height: 315px;
	margin: 15px auto;
	clear: both;
	padding: 5px 3px 0px 3px;
	background: #fff;
	border: 1px solid #7a7a7a;
}

#googleMapInner {
	width: 355px;
	height: 309px;
	margin: 0px auto;
}

/*------------------------------
			MISC
-------------------------------*/
.error_section {
	font-weight: bold;
}	color: red;

#slidecont {
	width: 163px;
	height: 318px;
	overflow: hidden;
}

.slide {
	padding: 10px;
	height: 298px;
	line-height:140%;
}

.slide span {
	color: #ff7c1d;
}


