/* COLOR PALETTE 
Dark Gray	|	#333438
Blue gray	|	#a1aeaf
Link blue	|	#2976ad */

/* RESET | ADAPTED FROM: http://meyerweb.com/eric/tools/css/reset/ | v1.0 | 20080212 */
html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, blockquote, a, big, em, font, img, small, strong, b, u, i, 
center, dl, dt, dd, ol, ul, li, textarea, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { 
margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
body { line-height: 1; background:#FFF; color:#2b2b2b; font-size:100%; font-family:Arial, Helvetica, sans-serif; }
ol, ul { list-style: none; }
textarea { font-family:Arial, Helvetica, sans-serif; }
:focus { outline: 0; }
table { border-collapse: collapse; border-spacing: 0; }
a, a:hover { text-decoration:none; color:#2976ad; }
a:hover{ text-decoration:underline; }


/* ------------------------------------------------------------------------------------ BLOCKS */

html, body { height: 100%; }
body { background:#333438 url(../img/background-glow.jpg) no-repeat center top; }

#wrapper {
	width: 100%; height: 100%;
	position:relative; 
	margin: 0 auto -100px auto; }
	
body > #wrapper { height: auto; min-height: 100%; }
	
#header-wrapper {
	width: 100%; height:116px;
	border-bottom: 1px solid #a1aeaf; }

#header {
	width: 858px; height:116px;
	margin: 0 auto;
	position:relative; }
	
#nav {
	position: absolute; right: 10px; top: 78px; width: 472px; }
	
#content {
	width: 858px;
	padding: 0 0 100px 0;
	margin: 0 auto; }
	
#footer {
	width: 838px; height:100px;
	position:relative;
	margin: -100px auto 0 auto;
	clear:both;
	border-top:1px solid #54595c; }
	
#logo {
	width:216px; height:63px;
	position:absolute; 
	left:10px; top:30px; }	

.primary {
	width:838px;
	margin: 30px auto 10px auto; }

.body {
	width: 858px;
	margin: 0px auto 24px auto;
	clear:both;
	overflow:hidden; }

/* ------------------------------------------------------------------------------------ TYPE STYLE */

h1 { font-size:0.85em; color:#FFF; font-weight:normal; line-height:1.7em; }
h2 { font-size:1.25em; line-height:1.2em; font-weight:normal; color:#FFF; margin: 0 00 0.25em 0; }
h3 { font-size:0.75em; color:#a1aeaf; font-weight:normal; text-transform:uppercase; margin: 0 0 10px 0; }
h4 { font-size:1em; }
h5 { font-size:0.75em; }
p, li, label { font-size:0.75em; line-height:1.55em; margin: 0 0 1.4em 0; color:#FFF; }
li { margin: 0 0 0.5em 0; }
ol li { margin: 0 0 0.75em 0; }
h1 strong { font-size:1.25em; font-weight:bold; }

/* ------------------------------------------------------------------------------------ NAVIGATION */

#nav li { float: left; }

#nav a {
	font-size: 1em; text-indent:-9999em;
	display:block; height: 22px;
	background: url(../img/navigation/navigation-sprites-v1.png) no-repeat; }	
	
a#nav-home { width:87px; background-position: 0 0; }
a#nav-webdesign { width:121px; background-position: -87px 0; }
a#nav-graphicdesign { width:149px; background-position: -208px 0; }
a#nav-branding { width:115px; background-position: -357px 0; }

a:hover#nav-home { background-position: 0 -22px; }
a:hover#nav-webdesign { background-position: -87px -22px; }
a:hover#nav-graphicdesign { background-position: -208px -22px; }
a:hover#nav-branding { background-position: -357px -22px; }
	
li#current a#nav-home { background-position: 0 -22px; }
li#current a#nav-webdesign { background-position: -87px -22px; }
li#current a#nav-graphicdesign { background-position: -208px -22px; }
li#current a#nav-branding { background-position: -357px -22px; }

/* ------------------------------------------------------------------------------------ H1 REPLACE */

.primary h1 { width:838px; height:64px; display:block; margin:0; padding:0; text-indent:-9999em; }
.primary h1.home { background:url(../img/headings/homepage-heading.png) no-repeat; height:400px; }
.primary h1.webdesign { background:url(../img/headings/webdesign-heading.png) no-repeat; }
.primary h1.graphicdesign { background:url(../img/headings/graphicdesign-heading.png) no-repeat; }
.primary h1.branding { background:url(../img/headings/branding-heading.png) no-repeat; }

/* ------------------------------------------------------------------------------------ SERVICE + CASE STUDY GRIDS */

ul.grid {
	width: 858px;
	min-height:160px;
	margin: 0 auto;
	overflow:visible; }

ul.grid li {
	float:left;
	margin:0 0 14px 0; padding:0; 
	width: 286px; }

.griditem {
	margin: 0; padding: 0;
	height:174px;
	background:url(../img/service-box.jpg) no-repeat top;
	position:relative; }
.griditem:hover {
	background:url(../img/service-box-hover.jpg) no-repeat top; }


.griditem img { margin: 0; border:none; }
.griditem a { color: #a1aeaf;  font-size:1em; text-decoration:none; }

.grid-image { width:246px; height:107px; margin: 20px 20px 16px 20px; }
.grid-link { width:246px; margin: 18px 10px 20px 10px; padding:0 10px;   }
.grid-link a { display:block; text-decoration:none; }

.new-sticker {
	background: url(../img/new-sticker.png) no-repeat;
	width:91px; height:52px; 
	position:absolute; top:10px; left:10px;
	text-indent:-9999em; }

ul.grid a {	text-decoration:none; }
	
	
/* ------------------------------------------------------------------------------------ HOME */

.home { height:300px;}

.home-latest {
	width: 838px; height:28px;
	clear:both;
	border-top:1px solid #54595c;
	padding: 10px 0 0 0; margin: 0 auto; }
.home-latest h3 {
	margin: 0 0 20px 0; color:#FFF; font-size:1em; text-transform:none; }

ul.full-service-links {
	width: 858px; height:40px;
	margin: 40px auto;
	overflow:visible; }
	
ul.full-service-links li {
	float:left;
	margin:0 0 14px 0; padding:0; 
	width: 286px; }

a.full-service-portfolio-web, a.full-service-portfolio-graphic, a.full-service-portfolio-branding {
	width:246px; height:24px;
	margin:0 0 0 20px; padding:0;
	display:block;
	text-indent:-9999px;
	background: url(../img/full-portfolio-link-sprites.png) no-repeat; }

a.full-service-portfolio-web { background-position: -2px 0px }
a.full-service-portfolio-graphic { background-position: -2px -50px }
a.full-service-portfolio-branding { background-position: -2px -100px }

a:hover.full-service-portfolio-web { background-position: -348px 0px }
a:hover.full-service-portfolio-graphic { background-position: -348px -50px }
a:hover.full-service-portfolio-branding { background-position: -348px -100px }


/* ------------------------------------------------------------------------------------ PORTFOLIO GALLERY */

.portfolio-item {
	margin: 0; padding: 0;
	height:396px; width:858px;
	position:relative;
	background:url(../img/portfolio-box.jpg) no-repeat; }
	
#gallery-image {
	width:818px; height:356px;
	position:absolute; top:20px; left:20px;
	overflow:hidden; }

#gallery-image img {
	width:818px; height:356px;
	top:0; left:0; }

.project-description {
	width:450px; padding:0 20px; margin:10px 0 0 0; }

/* ------------------------------------------------------------------------------------ GALLERY NAVIGATION */

.gallery-navigation {
	width:300px; height:23px; float:right;
	font-size:1.2em; color:#FFF;
	margin: 0 0 20px 0; }
.gallery-navigation ul { margin: 0;}
.gallery-navigation li { float: left; margin: 0; }
.gallery-navigation a { color:#FFF; }
.gallery-navigation li a {
	float: left; height:23px;
	background:url(../img/navigation/example-nav-right.png) no-repeat right top;
	line-height:23px;
	margin: 0 0 0 6px; padding: 0 12px 0 6px;
	display:inline;
	font-size:0.85em; }
.gallery-navigation li a:hover {
	background:url(../img/navigation/example-nav-right-hover.png) no-repeat right top;
	text-decoration: none; }
.gallery-navigation ul li {
	float: right; height:23px;
	background:url(../img/navigation/example-nav-left.png) no-repeat left top;
	padding: 0; margin: 0 0 0 10px;
	display:inline; }
.gallery-navigation ul li:hover {
	background:url(../img/navigation/example-nav-left-hover.png) no-repeat left top; }

.gallery-navigation-back { float:left; }
.gallery-navigation-back ul li { margin: 0 10px 0 0; float:left; }
.gallery-navigation li.empty-link a {	background:url(../img/navigation/example-nav-right-hover.png) no-repeat right top; }
.gallery-navigation ul li.empty-link {	background:url(../img/navigation/example-nav-left-hover.png) no-repeat left top; }

/* ------------------------------------------------------------------------------------ GALLERY CONTROLS */

#gallery_controls { 
		width:93px; height:34px; display:block;
		background:url(../img/sample-browse-bkg.jpg) no-repeat;
		position:absolute; top: 386px; right:6px; }
#gallery_controls ul { position:relative; }
#gallery_controls li {
	float: left;
	font-size: 1em; text-indent:-9999em;
	display:block; height: 34px; }
a#gallery_prev { height:22px; width:42px; background: url(../img/navigation/sample-browse-sprites.png) no-repeat 2px -22px; position:absolute; top: 4px; left:2px;  }
a#gallery_next { height:22px; width:43px; background: url(../img/navigation/sample-browse-sprites.png) no-repeat -38px -22px; position:absolute; top:4px; left:42px;  }
a:hover#gallery_prev { background-position: 2px 0px; }
a:hover#gallery_next { background-position: -38px 0px; }


ul.project-links {
	margin: 0;
	padding:0; 
	width:430px;
	border-top: 1px solid #3f4044; }
ul.project-links li {
	width:430px;
	margin: 9px 0 0 0; }
ul.project-links li a {
	color:#FFF; 
	padding: 2px 20px 2px 6px; width:420px; display:block;
	text-align:right;  background: url(../img/example-links.png) no-repeat center right; }
ul.project-links a:hover { text-decoration:none; color:#a1aeaf; }

/* ------------------------------------------------------------------------------------ FOOTER */

#footer p { font-family:Arial, Helvetica, sans-serif; }

#footer-text {
	float:left;
	margin: 15px 0 0 0;
	width:300px; }

#footer-text p { font-size:12px; }

#footer-contacts {
	float:right;
	margin: 15px 0 0 0;
	width:500px; }
	
#footer p {
	font-size: 0.689em; color:#FFF; line-height: 1em; 
	margin: 0 0 5px 0; }

#footer ul {
	float: right; }
#footer li {
	float: left;
	margin: 0 0 0 30px; }
#footer a {
	color:#FFF;
	font-size:12px; }

#footer a.linkedin, #footer a.twitter {
	background: url(../img/navigation/socialmedia-sprites.png) no-repeat  ;
	display:block;
	float:left;
	height:19px;
	font-size:12px; font-weight:bold; line-height:19px; text-decoration:none;
	padding: 0 0 0 26px; margin: 0 10px 0 0; }

#footer a.twitter { background-position: 2px 0px; }
#footer a.linkedin { background-position: 2px -50px; }
#footer a:hover.twitter { background-position: 2px -100px; }
#footer a:hover.linkedin { background-position: 2px -150px; }

/* ------------------------------------------------------------------------------------ CLEARFIX */
.clearfix:after { content: ".";	display: block;	height: 0; clear: both;	visibility: hidden; }
.clearfix {	display: inline-block; }
/* Hides from IE-mac \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* End hide from IE-mac */ 
