/* CSS Document */

body {
	margin: 0;
	padding: 0;
	background: #fff url(../img/bg.jpg) repeat-x;
	font-family: "myriad pro", Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	min-width: 1007px;
	color: #464646;
}

h2 {
	padding: 0;
	margin: 0;
	font-size: 20px;
	color: #ff4300;
	letter-spacing: -1px;
}

a {
	color: #ff4300;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* Layout Styling */

#topwrapper {
	margin: 0 auto;
	width: 1007px;	
}

#top {
	height: 100px;
	background: url(../img/top.jpg) no-repeat;
}

#header {
	height: 250px;
	background: url(../img/headerHomeBg.jpg);
}

#internalheader {
	height: 148px;
	background: url(../img/internalheader.jpg);
}

#maincontainer{
	width: 1007px; /*Width of main container*/
	margin: 0 auto; /*Center container on page*/
}

#contentwrapper {
	float: left;
	width: 100%;
}

#contentcolumn {
	margin-right: 300px; /*Set right margin to RightColumnWidth*/
	font-size: 14px;
	line-height: 28px;
	padding: 30px 60px 30px 0;
}

#rightcolumn {
	float: left;
	width: 300px; /*Width of right column*/
	margin-left: -300px; /*Set left margin to -(RightColumnWidth) */
	padding: 30px 0 30px 0;
}

.module {
	background: #dedede;
	color: #666;
	font-size: 12px;
	line-height: 16px;
	padding: 20px;
	margin-top: 15px;
}


.innertube{
margin: 10px; /*Margins for inner DIV inside each column (to provide padding)*/
margin-top: 0;
}

#bottomContainer {
	clear: both;
	height: 135px;
	background: url(../img/bottomContainerBg.jpg) repeat-x;
	border-top: 4px solid #0b0b0b;
}

#bottom {
	margin: 0 auto;
	width: 1007px;
	height: 135px;
	background: url(../img/bottomBg.jpg) center no-repeat;
}

#footerContainer {
	clear: both;
	height: 37px;
	background: #0a0a0a;
}

#footer {
	margin: 0 auto;
	height: 37px;
	width: 907px;
	line-height: 37px;
	color: white;
	font-size: 12px;
}

/* Navigation */

.nav{
overflow: hidden;
}

.nav ul{
margin: 0;
padding: 0;
padding-right: 23px; /*offset of tabs relative to browser right edge*/
font-size: 18px;
letter-spacing: -1px;
font-weight: bold;
list-style-type: none;
}

.nav li{
float: right;
display: inline;
margin: 0;
}

.nav li a{
float: left;
display: block;
text-decoration: none;
margin: 0;
padding: 40px 16px 40px 16px; /*padding inside each tab*/
color: white;
background: transparent; /*background of tabs (default state)*/
_padding-bottom: 37px;
}

.nav li a:visited{
color: white;
}

.nav li a:hover, .nav li.selected a{
background: #161616 url(../img/rollover.gif) top center no-repeat; /*background of tabs for hover state, plus tab with "selected" class assigned to its LI */
text-decoration: none;
}

/* Intro Styling */

.intro {
	color: white;
	padding: 75px 0 0 0;
	width: 470px;
	font-size: 14px;
	line-height: 28px;
}

h2.introtitle {
	color: white;
}

h2.pagetitle {
	color: white;
	font-size: 28px;
}

/* Links Styling */

#linksContainer {
	float: right;
	text-align: right;
	color: #312201;
	line-height: 25px;
	padding-top: 15px;
	margin-right: 30px;
}

.links {
	float: right;
	margin-left: 25px;
	width: 150px;

}

.links a {
	color: #312201;
}

#linksContainer h3 {
	font-size: 18px;
	padding: 0;
	margin: 0 0 5px 0;
	letter-spacing: -1px;
}

/* Gallery Styling */

#gallery {
	float: right;
	width: 400px;
	margin: 25px 50px 0 0;
	_margin-right: 30px;
}

.gallerybg {
	width: 364px;
	height: 181px;
	background: url(../img/gallerybg.png) no-repeat;
	
	/* for IE */
	/*filter:alpha(opacity=60);
	/* CSS3 standard */
	/*opacity:0.6;*/
}

.galleryimg {
	margin: 0 0 0 10px;
	padding: 10px 0 0 0;
	height: 161px;
	width: 344px;
	overflow: hidden;
}

.clientname {
	color: white;
	float: left;
	width: 50%;
}

.tech {
	text-align: right;
	color: white;
	float: right;
	width: 50%;
	font-size: 10px;
}

/* form elements */

form {
	margin: 0;
	padding: 0;
	}

fieldset {
	margin: 0;	padding: 0;
	border: none;
}
legend {
	display: none;
}

label {
	display:block;
	font-weight:normal;
	margin: 3px 0;
	color: #666;
	font-size: 14px;
}
input, select {
	padding:3px;
	margin-bottom: 5px;
	border: 1px solid #ccc; 
	font: normal 1em Verdana, sans-serif;
	color:#777;	
}

textarea {
	width:400px;
	padding:3px;
	font: normal 1em Verdana, sans-serif;
	border: 1px solid #ccc; 
	height:100px;
	display:block;
	color:#777;
}

input.button { 
	font: bold 16px Trebuchet MS, Arial, Sans-serif; 
	margin-left: 0px;
	padding: 2px 3px; 
	color: #fff;
	background: #999; 
	border: 1px solid #888;
}

/* Projects Div Styling */

.projects {
	margin-bottom: 10px;
	padding: 10px; 
	border: 1px solid #ddd;
}

.projects img {
	padding: 5px; 
	border: 1px solid #ccc; 
	background: #eee; 
	margin:0 10px 10px 0;
}

.projects p {
	line-height: 15px;
	color: #666;
}

.projects h2 span {
	font: normal 14px Trebuchet MS, Arial, Sans-serif;
	color: #666;
}

.desc {
	clear: both; 
	margin-bottom: 0; 
	font-size: 12px;
}

/* Case Studies Filter */

ul#filter { float: left; font-size: 16px; list-style: none; margin-left: 0; width: 100%; }
ul#filter li { 
	border-right: 1px solid #dedede;
	float: left;
	line-height: 16px;
	margin-right: 10px;
	padding-right: 10px;
}
ul#filter li:last-child { border-right: none; margin-right: 0; padding-right: 0; }
ul#filter a { color: #999; text-decoration: none; }
ul#filter li.current a, ul#filter a:hover { text-decoration: underline; }
ul#filter li.current a { color: #333; font-weight: bold; }

ul#portfolio { float: left; list-style: none; margin-left: 0; width: 100%; }

ul#portfolio a { display: block; width: 100%; }
ul#portfolio a:hover { text-decoration: none; }
ul#portfolio img { border: 1px solid #dedede; display: block; padding-bottom: 5px; }