/**
 * HTML5 Boilerplate
 *
 * style.css contains a reset, font normalization and some base styles.
 *
 * Credit is left where credit is due.
 * Much inspiration was taken from these projects:
 * - yui.yahooapis.com/2.8.1/build/base/base.css
 * - camendesign.com/design/
 * - praegnanz.de/weblog/htmlcssjs-kickstart
 */

/* fonts - get them over and done with  (@fontface rules go here) */

@font-face {
	font-family: NexusSansWeb-Bold;
	src: url("/assets/fonts/NexusSansWeb-Bold.eot");
	src: url("/assets/fonts/NexusSansWeb-Bold.woff") format("woff");
}

@font-face {
	font-family: 'Calluna-Regular';
	src: url('/assets/fonts/23AD97_0_0.eot');
	src: url('/assets/fonts/23AD97_0_0.eot?#iefix') format('embedded-opentype'), url('/assets/fonts/23AD97_0_0.woff') format('woff'), url('/assets/fonts/23AD97_0_0.ttf') format('truetype'), url('/assets/fonts/23AD97_0_0.svg#wf') format('svg'), url('/assets/fonts/23AD97_0_0.svgz#wf') format('svg');
}


/**
 * html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
 * v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
 * html5doctor.com/html-5-reset-stylesheet/
 */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

del { text-decoration: line-through; }

table { border-collapse: collapse; border-spacing: 0; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

input, select { vertical-align: middle; }

html {
    -webkit-text-size-adjust: none;
	-ms-text-size-adjust: none;
}

/**
 * Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/
 */

body { font:14px/20px sans-serif; *font-size:small; } /* Hack retained to preserve specificity */
select, input, textarea, button { font:99% sans-serif; }


/**
 * Minimal base styles.
 */


ul, ol { margin-left: 2em; }
ol { list-style-type: decimal; }

/* Remove margins for navigation lists */
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }

strong { font-weight: bold; }

td,th { vertical-align: top; text-align: left; }

textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */

.iem7 legend { margin-left: -7px; }

/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.iem7 input[type="checkbox"] { vertical-align: baseline; }

/* Hand cursor on clickable input elements */
input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea { margin: 0; }

/* Colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid {
   border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }

/* These selection declarations have to be separate
   No text-shadow: twitter.com/miketaylr/status/12228805301 */
::-moz-selection{ background: #3537AE; color:#fff; text-shadow: none; }
::selection { background:#3537AE; color:#fff; text-shadow: none; }

/* j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #3537AE; }

/* Make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }

/* Bicubic resizing for non-native sized IMG:
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.iem7 img { -ms-interpolation-mode: bicubic; }

/**
 * You might tweak these..
 */

html {
	background-color: #fff;
	background-image: url(/assets/img/html_bg.png);
	background-position: center 0;
}

body {
	background-color: #fff;
}

body, select, input, textarea {
  /* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
  color: #787878;
  /* Set your base font here, to apply evenly */
  font-family: 'Calluna-Regular', Georgia, serif;
}

/* Headers (h1, h2, etc) have no default font-size or margin; define those yourself */
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	font-family: Arial, sans-serif;
	color: #000;
	margin-bottom: .5em;
}

p, ul, ol { margin-bottom: 1.5em; }

p.small { font-size: 85%; }

a, a:visited { color: #3537AE; text-decoration: none; }
a:hover, a:active { color: #3537AE; text-decoration: underline; }


/* 
 * Helper classes 
 */
 
/* prevent callout */
.nocallout {-webkit-touch-callout: none;}

/* Text overflow with ellipsis */
.ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* A hack for HTML5 contenteditable attribute on mobile */
textarea.contenteditable {-webkit-appearance: none;}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if they have been set as display: none */
.gifhidden {position: absolute; left: -100%;}


.clearfix {
	display: block;
	clear: both;
}

/*

	CSS for www.ivyparkmedia.co.uk
	by I V Y P A R K M E D I A

*/

div.wrap { 
	width: 950px;
	margin: 0 auto;
	clear: both;
}

/* HEADER=BRANDING  ======================================= */

header.branding {
	background-image: url(/assets/img/texture.png);
	background-repeat: repeat;
	background-position: 0 0;
	background-attachment: fixed;
	background-color: #ebebeb;

}

header.branding .inner {
background-image: url(/assets/img/layered-background-v01.png);
background-repeat: repeat-x;
background-position: center 0;
}


header.branding .wrap {
	position: relative;
}

header .logo {
	padding-top: 64px;
	width: 390px;
	height: 35px;
	float: left;
}

header .vcard h1 {
	text-indent: -9999px;
	float: left;
}

header .email {
	width: 295px;
	float: right;
	padding-top: 50px;
	height: 40px;
}

header .email .type {
	width: 30px;
	height: 30px;
	display: block;
	float: left;
	background-image: url(/assets/img/email_icon.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	text-indent: -9999px;
}

header .email .value {
	display: block;
	float: left;
	height: 30px;
	line-height: 30px;
	font-size: 22px;
  	font-family: 'Calluna-Regular', Georgia, serif;
}

header .email .value a {
	color: #424345;
}

header .tel {
	clear: right;
	width: 295px;
	float: right;
	padding-top: 15px;
	height: 60px;
}

header .tel .type {
	width: 30px;
	height: 45px;
	display: block;
	float: left;
	background-image: url(/assets/img/phone_icon.png);
	background-repeat: no-repeat;
	background-position: 0 center;
	text-indent: -9999px;
}

header .tel .value {
	display: block;
	float: left;
	height: 45px;
	line-height: 45px;
	font-size: 32px;
  	font-family: 'Calluna-Regular', Georgia, serif;
	color: #424345;
}

h1.about {
	padding: 20px 0;
	font-size: 26px;
	line-height: 36px;
	color: #8d8e90;
  	font-family: 'Calluna-Regular', Georgia, serif;
}


/* PROJECTS  ======================================= */


.projects article {
	clear: both;
	height: 545px;
	padding: 40px 0 15px;
	position: relative;
}

.projects article header {
	float: right;
	width: 293px;
	padding-top: 70px;
}

.projects article h1 {
	font-size: 22px;
	font-family: 'NexusSansWeb-Bold', 'Trebuchet MS', Tahoma, sans-serif;
	margin-bottom: .75em;
	color: #424345;
	text-transform: uppercase;
	
}

.projects article h2 {
	font-family: 'NexusSansWeb-Bold', 'Trebuchet MS', Tahoma, sans-serif;
	text-transform: uppercase;
	margin-bottom: 1em;
	color: #009fe2;
}

.projects article p {
	font-size: 13px;
  font-family: 'Calluna-Regular', Georgia, serif;
	margin-bottom: .75em;
	color: #424345;	
}

.projects article p.readmore {
	padding-top: 1em;
	text-transform: uppercase;
	font-family: 'NexusSansWeb-Bold', 'Trebuchet MS', Tahoma, sans-serif;
	color: #535557;
}

.projects article p.readmore a {
	color: #009fe2;
}

.projects article .screenshotContainer {
	width: 592px;
	height: 482px;
	float: left;
	background-image: url(/assets/img/html_bg.png);
	background-position: center 0;
	overflow: hidden;
}

.projects article .screenshotContainer img {
	width: 590px;
	height: 480px;
	display: block;
	float: left;
	border: 1px solid #ebebeb;
}

.projects article .buttonHolder {
	position: absolute;
	top: 40px;
	right: 220px;
	width: 74px;
	height: 32px;
}

.projects article .buttonHolder a {
	width: 33px;
	height: 32px;
	display: block;
	float: left;
	background-image: url(/assets/img/buttons.png);
	background-repeat: no-repeat;
	text-indent: -9999px;
}

.projects article .buttonHolder a.next {
	float: right;
	background-position: -41px 0;
}

.projects article .buttonHolder a:hover {
	background-position: 0 -32px;
}

.projects article .buttonHolder a.next:hover {
	background-position: -41px -32px;
}

/* CLIENT LIST  ======================================= */


.client-list {
	padding: 0 0 60px;
}

.client-list h2 {
	font-size: 22px;
	font-family: 'NexusSansWeb-Bold','Trebuchet MS',Tahoma,sans-serif;
	margin-bottom: .75em;
	color: #424345;
	text-transform: uppercase;
}

.client-list img {
	width: 950px;
	height: 94px;
	display: block;
}

/* FOOTER  ======================================= */

footer.siteinfo {
	background-image: url(/assets/img/texture.png);
	background-repeat: repeat;
	background-position: 0 0;
	background-attachment: fixed;
	background-color: #ebebeb;
	color: #424345;
	clear:both;
	font-size: 13px;
	padding: 16px 0 40px;
}

footer.siteinfo .inner {
	border-top: 1px solid #fff;
}

footer.siteinfo a:link, footer.siteinfo a:visited {
	color: #9e9e9d;
}

footer.siteinfo p {
	line-height: 18px;
	margin: 0;
	padding: 1em 0;
}