/*-----------------------------------------------------------------------------------

Theme Name: Contrast
Description: Contrast is a Premium Theme developed by Marc Remblance.
Version: 1.0
Theme URI: http://contrast.firstbasedesign.co.uk
Author: Marc Remblance
Author URI: http://guuhuu.com/
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

-----------------------------------------------------------------------------------*/

@import url("css/dynamic-css/options.css");/* This is where the custom styles which have been chosen in the 'Theme Options' are output */
@import url("css/fancybox/jquery.fancybox.css");/* The styles for the image lightbox window */

/*-----------------------------------------------------------------------------------

	0.	Normalize Styles
	1.	Main Layout Elements
	2.	Link Styles
	3.	WordPress Body Classes
	4.	Headlines & Titles
	5.  Post & Content Styles
	6.	Comment Styles
	7.	Sidebars & Asides
	8.	Footer Styles
	9.	Portfolio Navigation/Gallery (Isotope Plugin) Styles
	10.	Content Slider
	11.	Image Overlay/Hover Styles
	12.	Custom Contact Form
	13. Main Navigation Styles
	14. Video
	15. Media Queries

-----------------------------------------------------------------------------------*/

/******************************************************************

Normalize Stylesheet

Special Thanks to:
Paul Irish, Divya Manian & the HTML5 Boilerplate
@necolas for normalize.css and other inspirations
Andy Clarke & the 320 & Up Extension
Yoast for some WP functions & optimization ideas
Andrew Rogers for code optimization
David Dellanave for speed & code optimization
and several other developers. :)

I ADVISE AGAINST EDITING THIS FILE.

******************************************************************/

/******************************************************************
GENERAL NORMALIZE
******************************************************************/
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]), [hidden] { display: none; }
/** Base Styles **/
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; line-height: 1.7; }
/** IE Fixes **/
img { border: 0; -ms-interpolation-mode: bicubic; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }
/** Links **/
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
/** Typography **/
p { -webkit-hyphens: auto; -epub-hyphens: auto; hyphens: auto; }
abbr[title] { border-bottom: 1px dotted; }
b, strong, .strong { font-weight: bold; }
dfn, em, .em { font-style: italic; }
small, .small, sub, sup { font-size: 85%; }
ins, .ins { background: #ff9; text-decoration: none; }
mark, .mark { background: #ff0; font-style: italic; font-weight: bold; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
blockquote { margin: 1em 40px; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
ul, ol { margin: 1.231em 0; padding: 0; }
dd { margin: 0; }
nav ul, nav ol, .widget ol, .widget ul, .commentlist { list-style: none; margin: 0; }
/* Position subscript and superscript content without affecting line-height: gist.github.com/413930 */
sub, sup { line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
/** Forms **/
form, fieldset, form ul, form ol, fieldset ol, fieldset ul { margin: 0; border: 0; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; color: #666; border: 1px solid #eee; padding: 10px; }
button, input { line-height: normal; *overflow: visible; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; }
/* Colors for form validity */
input:invalid, textarea:invalid { background-color: #f0dddd; }
/** Tables **/
table { border-collapse: collapse; border-spacing: 0; }
/** Image Replacement **/
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
/** Hidden & Invisiblity **/
.hidden { display: none; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
/* wordpress junk */
.wp-smiley { margin: 0 !important; max-height: 1em; }


/*-----------------------------------------------------------------------------------*/
/*	1.	Main Layout Elements
/*-----------------------------------------------------------------------------------*/

/* self-clear floats (Quick note - This is my preferred way of clearing floats. There is always the clearfix method too) */
.group:after {
	content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

#wrapper {
	margin: 0 auto;
	width: 970px;
	padding: 10px;
	background: rgba(150,150,150, .2);
	position: relative;
	-moz-box-shadow:0px 0px 15px rgba(0,0,0,0.4);
	-webkit-box-shadow:0px 0px 15px rgba(0,0,0,0.4);
	box-shadow:0px 0px 15px rgba(0,0,0,0.4);
}

#main .container {
	width: 640px;
	float: left;
}

.page-template-template-portfolio-php #main .container {
	width: 920px;
}

#header-wrapper {
	border-bottom: none;
	padding-bottom: 20px;
}

#header-wrapper {
	background: url(images/check_pattern.png);
	background-repeat: repeat-x;
	background-position: bottom;
}

#header-wrapper, 
#footer-wrapper,
#nav-wrapper {
	margin: 0 auto;
}

#footer-wrapper {
	background-color: #292c2e;
	padding: 10px 0;
}

#nav-wrapper {
	background: #292c2e url(images/check_pattern.png);
	background-repeat: repeat-x;
	background-position: bottom;
}

#header-global {
	padding: 10px 20px 5px 20px;
	width: 930px;
	height: 110px;
	margin: 0 auto;
}

#header-global[role=banner] #branding {
	float: left;
	min-height: 80px;
	margin-top: 12px;
	position: relative;
}

#welcome-message {
	max-width: 970px;
	margin: 0 auto;
}

#latest-projects, 
#latest-articles {
	width: 970px;
}

#latest-projects ul,
#latest-articles ul {
	margin: 0;
	padding: 0;
}

#latest-projects li, 
#latest-articles li {
	float: left;
	width: 279px;
	margin-top: 15px;
	margin-right: 50px;
	margin-bottom: 30px;
	list-style: none;
	background: url(images/check_pattern.png);
	background-repeat: repeat-x;
	background-position: bottom;
}

#latest-projects li:hover,
#latest-articles li:hover {
	background: url(images/check_pattern_aquablue.png);
	background-repeat: repeat-x;
	background-position: bottom;
}

#latest-projects li.last, 
#latest-articles li.last {
	margin-right: 0;
}

.latest-projects-meta, 
.latest-articles-meta {
	float: left;
	width: 270px;
	margin-top: 5px;
}

.latest-projects-meta {
	padding: 10px 15px 20px 0;
}

.latest-articles-meta {
	padding: 10px 15px 8px 0;
}

#latest-projects img, 
#latest-articles img {
	background-color: #eee;
	border-radius: 2px;
	border: 1px solid #ddd;
	padding: 3px;
}

#latest-projects .view,
#latest-articles .view {
	padding: 3px 3px 3px 0;
}

#widget-columns {
	width: 930px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 2px solid #3092bb;
}
	
	#widget-columns .widget-column {
		float: left;
		width: 278px;
		margin-right: 50px;
	}

	#widget-columns .widget-column-last {
		float: right;
		width: 273px;
		margin-right: 0;
	}

#copyright-and-credits {
	float: left;
	width: 400px;
}
	
	#copyright-and-credits p {
		line-height: 1;
	}

.really_simple_twitter_widget li {
	background: url(images/twitter_custom_bullet.png) no-repeat 0 0;
	min-height: 30px;
	padding-left: 40px;
}

#footer-global .widget .really_simple_twitter_widget li {
	background: url(images/twitter_custom_bullet_light.png) no-repeat 0 0;
	color: #fff;
	padding: 5px 10px 15px 40px;
}

#social-links {
	display: block;
	margin-top: 15%;
	margin-bottom: 0;
	height: 35px;
}
	
	#social-links li {
		float: left;
		list-style: none;
		margin-left: 20px;
		-webkit-transition: all .1s ease-in-out;
		-o-transition: all .1s ease-in-out;
		-moz-transition: all .1s ease-in-out;
		-ms-transition: all .1s ease-in-out;
		transition: all .1s ease-in-out;
		opacity: 1;
		text-indent: -9999px;
	}
		
		#social-links .header-twitter-link {
			width: 36px;
			height: 35px;
			background: url(images/deep_blue/small_twitter_icon_deep_blue.png) no-repeat 0 0;
			display: block;
		}
		
		#social-links .header-facebook-link {
			width: 36px;
			height: 35px;
			background: url(images/deep_blue/small_facebook_icon_deep_blue.png) no-repeat 0 0;
			display: block;
		}
		
		#social-links .header-dribble-link {
			width: 36px;
			height: 35px;
			background: url(images/deep_blue/small_dribble_icon_deep_blue.png) no-repeat 0 0;
			display: block;
		}
		
		#social-links .header-flickr-link {
			width: 36px;
			height: 35px;
			background: url(images/deep_blue/small_flickr_icon_deep_blue.png) no-repeat 0 0;
			display: block;
		}
		
		#social-links .header-vimeo-link {
			width: 36px;
			height: 35px;
			background: url(images/deep_blue/small_vimeo_icon_deep_blue.png) no-repeat 0 0;
			display: block;
		}
		
	#social-links li:hover {
		opacity: .8;
	}
		
#contact-details {
	float: right;
	clear: both;
}

#related-projects {
	float: left;
	margin-top: 20px;
	width: 100%;
}

#related-projects h3 {
	border-bottom: 2px solid #666;
	padding-bottom: 5px;
}

	#related-projects h3 span {
		color: #ddd;
	}

#related-projects ul { 
	list-style: none;
	margin-left: 0;
}

#related-projects ul li {
	display: block; 
	float: left;
	margin-right: 25px;
}

	#related-projects ul li.last {
		margin-right: 0;
	}

#related-projects img { 
	float: left;
	margin: 0 0 15px 0;
	padding: 2px;
	background-color: #f7f6f6;
	border: 1px solid #999;
	border-radius: 2px;
	-moz-box-shadow: 0 2px 2px #edebeb;
	-webkit-box-shadow: 0 2px 2px #edebeb;
	box-shadow: 0 2px 2px #edebeb;
}

#related-projects img:hover { 
	border: 1px solid #666;
	-webkit-transition: border 0.2s ease-in-out;
	-moz-transition: border 0.2s ease-in-out;
	-o-transition: border 0.2s ease-in-out;
	-ms-transition: border 0.2s ease-in-out;
	transition: border 0.2s ease-in-out;
}

#sidebar img, 
#widget-columns img {
	float: left;
	margin: 0 9px 9px 0;
	padding: 2px;
    background-color: #f7f6f6;
    border: 1px solid #fff;
    border-radius: 2px;
    -moz-box-shadow: 0 2px 2px #edebeb;
    -webkit-box-shadow: 0 2px 2px #edebeb;
    box-shadow: 0 2px 2px #edebeb;
}

#widget-columns img {
	box-shadow: none;
}

#sidebar img:hover, 
#widget-columns img:hover {
	border: 1px solid #999;
	-webkit-transition: border 0.2s ease-in-out;
    -moz-transition: border 0.2s ease-in-out;
    -o-transition: border 0.2s ease-in-out;
    -ms-transition: border 0.2s ease-in-out;
    transition: border 0.2s ease-in-out;
}

#widget-columns .widgettitle a {
	border-bottom: none;
	color: #fff;
	text-shadow: none;
}

#social-icons {
	float: right;
}

#contact-details {
	font-size: 11px;
}

.datestamp {
	float: left;
	clear: both;
	background-color: #333;
	border-radius: 60px;
    color: #fff;
    line-height: 1.1;
    width: 80px;
    height: 80px;
    margin-right: 28px;
    margin-bottom: 10px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.datestamp .day {
	float: left;
	margin: 11px 0 0 24px;
	font-size: 28px;
}

.datestamp .month {
    color: #ddd;
    float: left;
    clear: both;
    font-size: 18px;
    margin-left: 20px;
    text-transform: uppercase;
}

.commentstamp {
	float: left;
	clear: both;
	background-color: #333;
	border-radius: 60px;
    background-image: url(images/large_comment_icon.png);
    background-position: 22px 12px;
    background-repeat: no-repeat;
    color: #fff;
    line-height: 1.1;
    text-align: center;
    width: 80px;
    height: 80px;
    margin-top: 7px;
    margin-right: 17px;
    margin-bottom: 7px;
    -webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

.single-post .commentstamp {
	float: left;
	clear: none;
}

.commentstamp .count {
	display: block;
	padding-top: 45px;
	font-size: 22px;
}

.commentstamp .count a:hover {
	color: #ddd;
}

#strapline {
	font-weight: 100; 
	font-style: italic; 
	font-size: 11px; 
	color: #575555; 
	letter-spacing: 1;
	line-height: 1.5; 
}

/* Highlighted Text */
::selection { 
	background: #201f1f; 
	color: #fff; 
	text-shadow: none; 
}

/* Firefox */
::-moz-selection { 
	background: #201f1f; 
	color: #fff; 
	text-shadow: none; 
}
	

/*-----------------------------------------------------------------------------------*/
/*	2.	Link Styles
/*-----------------------------------------------------------------------------------*/

a { 
	text-decoration: none;
	color: #3092bb; 
	-webkit-transition: color .2s ease-in-out;
	-o-transition: color .2s ease-in-out;
	-moz-transition: color .2s ease-in-out;
	-ms-transition: color .2s ease-in-out;
	transition: color .2s ease-in-out;
}

a:hover, 
a:focus { 
	color: #555;
}

a:active {} /* on click */
a:link { 
	-webkit-tap-highlight-color : rgba(0,0,0,0); /* this highlights links on Iphones / iPads */
}

.view-all-link {
	margin-right: 5px;
	-webkit-transition: all .1s ease-in-out;
	-o-transition: all .1s ease-in-out;
	-moz-transition: all .1s ease-in-out;
	-ms-transition: all .1s ease-in-out;
	transition: all .1s ease-in-out;
}

.view-all-link:hover {
	margin-right: 7px;
}

.visit-site-link, 
.visit-site-link:visited {
	width: auto;
	background-color: #3092bb;
	border: 0;
	color: #fff;
	display: block;
	float: left;
	border-radius: 2px;
	margin-top: 10px;
	padding: 6px;
	-webkit-transition: background-color .1s ease-in-out;
	-o-transition: background-color .1s ease-in-out;
	-moz-transition: background-color .1s ease-in-out;
	-ms-transition: background-color .1s ease-in-out;
	transition: background-color .1s ease-in-out;
}
	
.visit-site-link:hover {
	background-color: #333;
	color: #fff;
}

#footer-global a:hover {
	color: #ccc;
}

.tags-title {
	font-size: 11px;
	color: #000;
	text-transform: uppercase;
}

/*-----------------------------------------------------------------------------------*/
/*	3.	WordPress Body Classes (Here you can style specific pages using the body class)
/*-----------------------------------------------------------------------------------*/

.rtl {}
.home {} /* home page */
.home #main { 
	margin-top: 5px; 
}

.home #main .container { 
	width: 930px;
	margin: 0 auto;
	background-color: #fff; 
}
.blog {}
.blog [role=article] {
	float: left;
	margin-top: 10px;
	margin-bottom: 20px;
} 

.archive {} /* archive page */

.archive [role=article] {
	margin-top: 25px;
	padding-bottom: 5px;
	border-bottom: 1px solid #eee;
	background-position: bottom;
}
.date {} /* date archive page */
	.date-paged-1 {} /* replace the number to the corresponding page number */
.search {} /* search page */
	.search-results {} /* search result page */
	.search-no-results {} /* no results search page */
	.search-paged-1 {} /* individual paged search (i.e. body.search-paged-3) */
.error404 {} /* 404 page */

	.postid-1 {} /* individual post page by id (i.e. body.postid-73) */
	.single-paged-1 {} /* individual paged single (i.e. body.single-paged-3) */
.single-portfolio {} /* single portfolio page */

.single-portfolio article {
	float: left;
	width: 100%;  
}

.single-portfolio .portfolio-thumbs img {
	display: block;
}

.post_content img,
.wp-caption img,
.single-portfolio .portfolio-thumbs,
.single-post .wp-post-image,
.blog .wp-post-image, 
.archive .wp-post-image {
	display: block;
	background-color: #eee;
	border-radius: 2px;
	border: 1px solid #ddd;
	padding: 3px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.blog .wp-post-image {
	float: left;
	margin-top: 0;
	margin-bottom: 0;
}

.single-post .wp-post-image {
	margin-top: 17px;
	margin-bottom: 15px;
}

.blog .post_content {
	float: left;
	margin-top: 20px;
	border-bottom: 1px solid #eee;
}

.single-portfolio .post_content { 
	width: 220px; 
	float: right;
	margin-top: 5px;
}
.attachment {} /* attatchment page */
	.attachmentid-1 {} /* individual attatchment page (i.e. body.attachmentid-763) */
	.attachment-mime-type {} /* style mime type pages */
.author {} /* author page */
	.author-nicename {} /* user nicename (i.e. body.author-samueladams) */
	.author-paged-1 {} /* paged author archives (i.e. body.author-paged-4) for page 4 */
.category {} /* category page */
	.category-1 {} /* individual category page (i.e. body.category-6) */
	.category-paged-1 {} /* replace the number to the corresponding page number */
.tag {} /* tag page */
	.tag-slug {} /* individual tag page (i.e. body.tag-news) */
	.tag-paged-1 {} /* replace the number to the corresponding page number */
.page-template {} /* custom page template page */
	.page-template-page-php {} /* individual page template (i.e. body.page-template-contact-php */
	.page-paged-1 {} /* replace the number to the corresponding page number */
	.page-parent {}
	.page-child {}
	.parent-pageid-1 {} /* replace the number to the corresponding page number */
.logged-in {} /* if user is logged in */
.paged {} /* paged items like search results or archives */
	.paged-1 {} /* individual paged (i.e. body.paged-3) */

.page-template-template-full-width-php #main .container { 
	width: 920px;
}


/*-----------------------------------------------------------------------------------*/
/*	4.	Headlines & Titles
/*-----------------------------------------------------------------------------------*/

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5 {
	text-shadow: 1px 1px 0 #fff;
	letter-spacing: .9px;
}

h1 a,
.h1 a,
h1 span,
h2 a,
.h2 a,
h2 span,
h3 a,
.h3 a,
h3 span,
h4 a,
.h4 a,
h4 span,
h5 a,
.h5 a,
h5 span {
	text-decoration: none;
	border-bottom: none; 
	-webkit-transition: color .2s ease-in-out;
	-o-transition: color .2s ease-in-out;
	-moz-transition: color .2s ease-in-out;
	-ms-transition: color .2s ease-in-out;
	transition: color .2s ease-in-out;
}

h1 a:hover, 
.h1 a:hover,
h2 a:hover,
.h2 a:hover,
h3 a:hover,
.h3 a:hover,
h4 a:hover,
.h4 a:hover,
h5 a:hover,
.h5 a:hover {
	text-shadow: none;
	color: #999;
}

h1,
.h1 { 
	font-size: 22px;
	line-height: 1.3;
	text-transform: uppercase; 
}

h2,
.h2 { 
	font-size: 16px; 
	line-height: 1.4; 
	margin-bottom: 5px;
}

h3,
.h3 { 
	font-size: 16px;
	text-transform: uppercase;
}

h4,
.h4 { 
	font-size: 12px; 
	font-weight: 400; 
	padding-bottom: 5px; 
}

h5,
.h5 { 
	font-size: 11px; 
	line-height: 1.1; 
	letter-spacing: 2px; 
}

#logo img { 
	text-indent: -99999px; 
	display: block;
	opacity: 1;
	-webkit-transition: all .1s ease-in-out;
	-o-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-ms-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
}

#logo img:hover {
	opacity: .8;
}

#logo-default {
	line-height: 1.3;
	text-shadow: none;
	text-transform: none;
}

h1.page-title {
	font-size: 40px;
	margin: 7px 0 30px 0;
	padding-bottom: 10px;
	text-transform: uppercase;
	background: url(images/check_pattern.png);
	background-repeat: repeat-x;
	background-position: bottom;
}
	h1.page-title span {
		color: #3092bb;
		font-size: 20px;
	}

h1.post-title {
	font-size: 20px;
	margin-top: 0;
	padding-bottom: 15px;
	border-bottom: 2px solid #000;
	line-height: 1.2;
}
	
h1.post-title a {
	color: #333;
}

h1.post-title a:hover {
	color: #555;
}

h1.post-title span, h1.single-title span {
	color: #999;
	display: block;
}

h1.single-title, h1.project-type-title, h1.author-title, h1.category-title, h1.tagged-title, h1.daily-title, h1.monthly-title, h1.yearly-title {
	margin-top: 17px;
	padding-bottom: 20px;
	background: url(images/check_pattern.png);
	background-repeat: repeat-x;
	background-position: bottom;
}

#latest-articles h1 {
	line-height: 1.1;
	float: left;
	padding-right: 15px;
}

#welcome-message h1 { 
	line-height: 1.4;
	margin-top: 30px;
	margin-bottom: 30px;
	text-shadow: 1px 1px 1px #fff;
	padding: 0 20px;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: .8px;
}
	
	#welcome-message h1 span {
		color: #84aa39;
	}
	
#welcome-message h1 a {
	color: #3092bb;
	-webkit-transition: color .2s ease-in-out;
	-o-transition: color .2s ease-in-out;
	-moz-transition: color .2s ease-in-out;
	-ms-transition: color .2s ease-in-out;
	transition: color .2s ease-in-out;
}

#welcome-message h1 a:hover {
	color: #555;
}
	
#latest-projects header, #latest-articles header {
	float: left;
	width: 970px;
}

#latest-projects h1 {
	line-height: 1.1;
	float: left;
	padding-right: 15px;
}
	
#latest-projects h1 img {
	opacity: .2;
}

#latest-projects h2, 
#latest-articles h2 {
	float: left;
	width: 330px;
	color: #999;
	font-size: 13px;
	font-style: italic;
	letter-spacing: 1;
	text-shadow: none;
	line-height: 1.6;
	border-left: 1px solid #999;
	padding-left: 15px;
}

.project h2 a {
	color: #555;
}

.project h2 a:hover {
	color: #999;
}

.archive h2 {
	text-transform: uppercase;
}
	
#latest-projects h3, 
#latest-articles h3 {
	margin: 0 0 6px 0;
	padding: 0;
	line-height: 1.3;
}

.project h3 {
	float: left;
	margin-top: 10px;
}
	
#latest-projects h3 a, 
#latest-articles h3 a,
.project h3 a {
	color: #333;
	text-shadow: none;
	padding: 5px 0 0 0;
	-webkit-transition: all .1s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	transition: all .1s ease-in-out;
}

#latest-projects h3 a:hover,
#latest-articles h3 a:hover,
.project h3 a:hover {
	color: #555;
	margin-right: 3px;
}

#latest-projects h3 span,
#latest-articles h3 span,
.project h3 span {
	color: #3092bb;
	margin-left: 5px;
}

#latest-articles header {
	width: 930px;
	min-height: 40px;
}

h3.widgettitle {
	font-size: 17px;
}


/*-----------------------------------------------------------------------------------*/
/*	5.	Post & Content Styles
/*-----------------------------------------------------------------------------------*/

#content {}

#main-wrapper {
	background-color: #fff;
	background: url(images/check_pattern.png);
	background-repeat: repeat-x;
	background-position: top;
	padding-top: 20px;
}

#main {
	width: 930px;
	margin: 0 auto;
	padding: 20px 20px 30px 20px;
	background-color: #fff;
}

.home #main {
	padding: 10px 20px 30px 20px;
}
	
		/* want to style individual post classes? Here ya go!! */
		.post-id {} /* post by id (i.e. post-3) */
		.post {} /* general post style */
		.page {} /* general article on a page style */
		.attachment img {} /* general style on an attachment */
		img.attachment {}
		.sticky {} /* sticky post style */
		.hentry {} /* hentry class */
		.category-slug {} /* style by category (i.e. category-videos) */
		.tag-slug {} /* style by tag (i.e. tag-news) */
	
		/* post meta */
		.meta { 
			font-size: 11px; 
			line-height: 1.5em; 
			color: #666; 
			margin: 20px 0 10px 0;
			text-transform: uppercase;
		}
		.meta .comment-count {
			float: right;
		}
			.meta time {}

		.home .meta {
			font-size: 11px;
			margin-top: 10px;
			margin-bottom: 0;
		}
			
		/* post content */
		.post_content {}
			
			.post_content p { 
				margin-bottom: 20px; 
				line-height: 1.8em;  
			}
			.post_content ul, 
			.post_content ol, 
			.post_content table, 
			.post_content dl { 
				margin: 20px 10px 20px 10px; 
			}
			.post_content ul, 
			.post_content ol { 
				list-style-position: inside; 
				line-height: 1.5; 
			}
			.post_content li { 
				margin-bottom: 5px;
				text-indent: -1em;
				padding-left: 1em;
			}
			.post_content ul li { 
				list-style-type: disc; 
			}
			.post_content ol li { 
				list-style-type: decimal; 
			}
			
			.post_content blockquote { 
				font-style: italic; 
				line-height: 1.6em; 
				margin: 1.5em 2.2em; 
			}
			.post_content blockquote:before {
				content: "“"; 
				font-size: 2.75em; 
				text-indent: -.8em; 
				margin-top: .1em; 
				float: left; 
				opacity: .3; 
				} /* this adds the quote before the blockquote */
			
			.post_content dl { 
				margin: 1.75em 0 1.75em; 
			}
			.post_content dt { 
				margin-top: 1.25em; 
				font-weight: 700; 
			}
			.post_content dd { 
				font-style: italic; 
				margin-top: 0.5em; 
				line-height: 1.6em; 
			}
			
			.alignleft, 
			img.alignleft { 
				margin-right: 1.5em; 
				float: left; 
			}
			
			.alignright, 
			img.alignright { 
				margin-left: 1.5em; 
				float: right; 
			}
			
			.aligncenter, 
			img.aligncenter { 
				margin-right: auto; 
				margin-left: auto; 
				display: block; 
				clear: both; 
			}

			.post_content video, .post_content iframe {
				display: block;  
				max-width: 100%;	
			}
			
			.post_content pre, 
			.post_content code { 
				font-size: 0.9em; 
				line-height: 1.7em; 
				padding: 1em; 
				background: #eee; 
				border: 2px solid #cecece; 
			}
			
			.post_content footer, article footer {
				border-top: 1px solid #ddd;
				border-bottom: 1px solid #ddd;			
			}
			
			.wp-caption { 
				margin-bottom: 1.5em; 
				text-align: center; 
				padding-top: 5px; 
			}

			.wp-caption 
			.wp-caption-text { 
				font-size: 0.8em; 
				font-style: italic; 
				margin: .6em 0 -.2em; 
			}
			
			p.tags {
				margin: 0;
				padding: 10px 0;
			}
			
			/* image gallery styles */
			.gallery dl {}
			.gallery dt {}
			.gallery dd {}
			.gallery dl a {}
			.gallery dl img {}
			.gallery-caption {}
			
			.size-full {}
			.size-large {}
			.size-medium {}
			.size-thumbnail {}
			
	
/*-----------------------------------------------------------------------------------*/
/*	6.	Comment Styles
/*-----------------------------------------------------------------------------------*/

#comments { 
	margin-top: 20px; 
}/* h3 comment title */
	#comments span { 
		font-weight: 700; 
		color: #3092bb; 
		} /* number of comments span */
	
.comment-nav {}
	.comment-nav ul {}
		.comment-nav ul li {}
		
.commentlist { 
	margin: 0; 
}
	.commentlist li { 
		position: relative; 
		clear: both; 
		list-style-type: none; 
		margin-bottom: 1.5em; 
		padding: 0; 
	}
		.commentlist li[class*=depth-] { 
			padding: 10px; 
			margin-top: 1.1em; 
		}
			.commentlist li.depth-1 { 
				margin-left: 0; 
				margin-top: 20px; 
			}
				.commentlist li:not(.depth-1) { 
					margin-right: -10px; 
					margin-top: 0; 
					padding-bottom: 0; 
				}
			.commentlist .depth-2 {}
			.commentlist .depth-3 {}
			.commentlist .depth-4 {}
			.commentlist .depth-5 {}
			.commentlist li:last-child { 
				margin-bottom: 0; 
			}
				.commentlist li ul.children li {}
				.commentlist li ul.children .alt {}
				.commentlist li ul.children .byuser {}
				.commentlist li ul.children .comment {}
				.commentlist li ul.children .depth-1 {} /* change number for different depth */
				.commentlist li ul.children .bypostauthor {}
				.commentlist li ul.children .comment-author-admin {
					padding-bottom: 5px;
				}
				.commentlist li ul.children .alt {}
				.commentlist li ul.children .odd {}
				.commentlist li ul.children .even {}
			.commentlist .alt {}
			.commentlist .odd { 
				background-color: #eee;
				border-style: solid none none solid;
				border-width: 1px;
				border-color: #555;
			}
			.commentlist .even { 
				border-style: solid none none solid;
				border-width: 1px;
				border-color: #555;
			}
			.commentlist .parent {}
			.commentlist .comment {}
			.commentlist .children {}
			.commentlist .pingback {}
			.commentlist .bypostauthor { 
				background-color: #ddd;
				border-style: solid none none solid;
				border-width: 1px;
				border-color: #555;
			}
			.commentlist .comment-author {}
			.commentlist .comment-author-admin {}
			.commentlist .thread-alt {}
			.commentlist .thread-odd {}
			.commentlist .thread-even {}	
			
			.commentlist .vcard { 
				margin: 0; 
			}
				.commentlist .vcard cite.fn { 
					font-weight: 700; 
					font-style: normal; 
				}
				.commentlist .vcard time { 
					float: right; 
				}
					.commentlist .vcard time a { 
						color: #999; 
						text-decoration: none; 
					}
						.commentlist .vcard time a:hover { 
							text-decoration: underline; 
						}
				.commentlist .vcard .photo {}
				.commentlist .vcard .avatar { 
					float: left; 
					margin-right: 10px; 
					padding: 2px; 
					border: 1px solid #cecece; 
					background: #fff; 
				}
					.commentlist .vcard cite.fn .url {}
				.commentlist .comment-meta {} 
					.commentlist .comment-meta a {}
				.commentlist .commentmetadata {}
					.commentlist .commentmetadata a {}
			.commentlist li .comment_content { 
				margin-left: 55px; 
			}
				.commentlist li .comment_content p { 
					margin: 0.7335em 0 1.5em; 
					font-size: 1em; 
					line-height: 1.5em; 
				}
				.commentlist li ul { 
					margin: 0; 
				}		
				.commentlist .comment-reply-link { 
					text-decoration: none; 
					float: right; 
					background-color: #3092bb; 
					padding: 3px 5px; 
					color: #fff; 
					margin-top: 15px; 
					margin-bottom: 10px; 
					font-size: 12px; 
					border: 0;
					display: block;
					border-radius: 2px;
					-webkit-transition: background-color .1s ease-in-out;
					-o-transition: background-color .1s ease-in-out;
					-moz-transition: background-color .1s ease-in-out;
					-ms-transition: background-color .1s ease-in-out;
					transition: background-color .1s ease-in-out;
					
				}
					.commentlist a.comment-reply-link:hover { 
						background-color: #333;
						color: #fff;  
					}			

.respond-form { 
	margin-top: 20px; 
	margin-bottom: 70px; 
}
	#comment-form-title { 
		margin: 0 0 1.1em; 
	}
	
	#cancel-comment-reply {}
			#cancel-comment-reply a {}
			
	.respond-form form[method=post] { 
		margin: 0.75em 0; 
	}
		
		.comments-logged-in-as {}
		
		.respond-form form[method=post] li { 
			list-style-type: none; 
			clear: both; 
			margin-bottom: 0.7335em; 
		}
			.respond-form form[method=post] li label, 
			.respond-form form[method=post] li small { 
				display: none; 
			}
			.respond-form input[type=text], 
			.respond-form input[type=email], 
			.respond-form input[type=url], 
			.respond-form textarea { 
				width: 350px;
				border: 1px solid #ddd;
				margin-bottom: 20px;
				padding: 10px 0 10px 5px;
				display: block;
			}
			.respond-form input[type=text]:focus, 
			.respond-form input[type=email]:focus, 
			.respond-form input[type=url]:focus, 
			.respond-form textarea:focus { 
				background: #fff; 
			}
			.respond-form input[type=text], 
			.respond-form input[type=email], 
			.respond-form input[type=url] { 
				max-width: 400px; 
				min-width: 250px; 
			}
			
			#allowed_tags { 
				margin: 1.5em 10px 0.7335em 0; 
			}
			.respond-form textarea { 
				resize: none; 
				width: 97.3%; 
				height: 150px; 
			}
			#submit { 
				width: auto;
				background-color: #3092bb;
				border: 0;
				color: #fff;
				display: block;
				float: left;
				border-radius: 2px;
				padding: 6px;
				-webkit-transition: background-color .1s ease-in-out;
				-o-transition: background-color .1s ease-in-out;
				-moz-transition: background-color .1s ease-in-out;
				-ms-transition: background-color .1s ease-in-out;
				transition: background-color .1s ease-in-out;
			}
			#submit:hover { 
				background-color: #333;
				color: #fff; 
			}
		
	/* form validation */
	.respond-form input:invalid, 
	.respond-form textarea:invalid { 
		border-color: #fbc2c4; 
		background: #fbe3e4; 
		-webkit-box-shadow: none; 
		-moz-box-shadow: none; 
		box-shadow: none; 
		background-color: #f6e7eb; 
	}		
	
	/* no comments */
	.nocomments { 
		margin: 0 20px 1.1em; 
	}			


/*-----------------------------------------------------------------------------------*/
/*	7.	Sidebars & Asides
/*-----------------------------------------------------------------------------------*/

#sidebar, #sidebar-portfolio {
	float: right;
	width: 220px;
	border-left: 1px solid #d6d5d5;
	padding-left: 35px;
}

	.widget { 
		padding: 0;
		margin-top: 17px; 
		margin-bottom: 30px; 
	}
	
	#footer-global .widget {
		margin-bottom: 0;
	}
	
		.widget li { 
			margin-bottom: 10px; 
		}
		
		#footer-global .widget li {
			margin-bottom: 20px;
		}
		
		.widget li ul {}
		
		.widgettitle {
			text-shadow: none;
			margin-bottom: 20px;  
			padding-bottom: 5px;
		}
		
		#footer-global .widgettitle {
			color: #fff;
			border-bottom: 2px solid #fff;
			margin-bottom: 20px;
			padding-bottom: 10px;
			letter-spacing: 1px;
		}
		
		#sidebar .widgettitle {
			border-bottom: 2px solid #333;
		}

	/* links widget */
	.widget_links {}
	.widget_links ul {}
	.widget_links ul li {}
	
	#footer-global .widget_link ul li {
		padding: 5px 10px 25px 0;
	}
	
	.widget_links ul li a {}
	
	/* meta widget */
	.widget_meta {}
	.widget_meta ul {}
	.widget_meta ul li {}
	
	#footer-global .widget_meta ul li {
		padding: 5px 10px 25px 0;
	}
	
	.widget_meta ul li a {}
	
	/* pages widget */
	.widget_pages {}
	.widget_pages ul {}
	.widget_pages ul li {}
	
	#footer-global .widget_pages ul li {
		padding: 5px 10px 25px 0;
	}
	
	.widget_pages ul li a {}
	
	/* recent-posts widget */
	.widget_recent_entries {}
	.widget_recent_entries ul {}
	.widget_recent_entries ul li {
		background: url(images/small_news_icon.png) no-repeat 0 0;
		min-height: 30px;
		padding-left: 35px;
	}
	
	#footer-global .widget_recent_entries li {
		background: url(images/small_news_icon_light.png) no-repeat 0 0;
		padding: 5px 10px 15px 40px;
	}
	
	.widget_recent_entries ul li a {}
	
	/* archives widget */
	.widget_archive {}
	.widget_archive ul {}
	.widget_archive ul li {}
	
	#footer-global .widget_archive ul li {
		padding: 5px 10px 25px 0;
	}
	 
	.widget_archive ul li a {}
	.widget_archive select {}
	.widget_archive option {}
	
	/* tag-cloud widget */
	.widget_links {}
	.widget_links li:after {}
	.widget_links li:before {}
	.widget_tag_cloud {}
	.widget_tag_cloud a {}
	.widget_tag_cloud a:after {}
	.widget_tag_cloud a:before {}
	
	/* calendar widget */
	.widget_calendar {}
	#calendar_wrap {}
	#calendar_wrap th {}
	#calendar_wrap td {}
	#wp-calendar tr td {}
	#wp-calendar caption {}
	#wp-calendar a {}
	#wp-calendar #today {}
	#wp-calendar #prev {}
	#wp-calendar #next {}
	#wp-calendar #next a {}
	#wp-calendar #prev a {}
	
	/* category widget */
	.widget_categories {}
	.widget_categories ul {}
	.widget_categories ul li {} 
	.widget_categories ul ul.children {}
	.widget_categories a {}
	.widget_categories select{}
	.widget_categories #cat {}
	.widget_categories .postform {}
	.widget_categories option {}
	.widget_categories .level-0 {}
	.widget_categories .level-1 {}
	.widget_categories .level-2 {}
	.widget_categories .level-3 {}
	
	/* recent-comments widget */
	.recentcomments {}
	#recentcomments {}
	#recentcomments li {
		background: url(images/small_comments_icon.png) no-repeat 0 0;
		min-height: 30px;
		padding-left: 40px;
	}
	#recentcomments li a {}
	.widget_recent_comments {}
	
	#footer-global #recentcomments li {
		background: url(images/small_comments_icon_light.png) no-repeat 0 -2px;
		padding: 5px 10px 5px 40px;
	}
	
	/* search widget */
	#searchform {}
	.widget_search {}
	.screen-reader-text {}
	.widget_search input {
		background-image: url(images/magnifying_glass_icon.png);
		background-position: 96% 50%;
		background-repeat: no-repeat;
		width: 190px;
		font-style: italic;
	}
	
	/* text widget */
	.textwidget {}
	.widget_text {}
	.textwidget p {}
	

/*-----------------------------------------------------------------------------------*/
/*	8.	Footer Styles
/*-----------------------------------------------------------------------------------*/

#footer-global[role=contentinfo] {
	color: #fff; 
	clear: both;
	padding: 15px 0 20px 0; 
	width: 930px;
	margin: 0 auto; 
}


/*-----------------------------------------------------------------------------------*/
/*	9.	Portfolio Navigation/Gallery (Isotope Plugin) Styles
/*-----------------------------------------------------------------------------------*/

#portfolio-terms {
	width: 900px;
}
	#portfolio-terms ul {
		list-style: none;
	}
		#portfolio-terms li {
			float: left;
			padding: 10px 20px 10px 0;
		}
		
		#portfolio-terms li.filter {
			width: 50px;
			min-height: 40px;
		}
		
			#portfolio-terms li a {
				color: #000;
				padding: 5px 7px;
				border-radius: 2px;
				-webkit-transition: background-color .1s ease-in-out;
				-o-transition: background-color .1s ease-in-out;
				-moz-transition: background-color .1s ease-in-out;
				-ms-transition: background-color .1s ease-in-out;
				transition: background-color .1s ease-in-out;
				text-transform: uppercase;
			}
			#portfolio-terms li a:hover {
				background-color: #333;
				color: #fff;
			}
			#portfolio-terms li a.current {
				background-color: #3092bb;
				color: #fff;
			}
			#portfolio-terms li a.active {
				background-color: #3092bb;
				color: #fff;
			}

.filterable {
	width: 970px;
	border-bottom: none;
}

.filterable img {
	background-color: #eee;
	border-radius: 2px;
	border: 1px solid #ddd;
	padding: 3px;
}

.filterable .view {
	padding: 3px 3px 3px 0;
	border-radius: 2px;
}

.project-type, 
.post-category {
	display: block;
}

.project-type a, 
.post-category a {
	font-size: 12px;
	color: #3092bb;
	font-style: italic;
}

	.project-type a:hover, 
	.post-category a:hover {
		font-size: 12px;
		color: #999;
		font-style: italic;
	}

.type-portfolio {
	 width: 278px;
	 margin-right: 44px;
}

.isotope-item {
  width: 278px;
  z-index: 2;
  margin-top: 15px;
  margin-bottom: 30px;
  background: url(images/check_pattern.png);
  background-repeat: repeat-x;
  background-position: bottom;
}

.isotope-item:hover {
	background: url(images/check_pattern_aquablue.png);
	background-repeat: repeat-x;
	background-position: bottom;
}

.isotope-hidden .isotope-item {
  z-index: 1;
}

.isotope,
.isotope .isotope-item {
  /* change duration value to whatever you like */
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  -o-transition-duration: 0.4s;
  -ms-transition-duration: 0.4s;
  transition-duration: 0.4s;
}


/*-----------------------------------------------------------------------------------*/
/*	10.	Content Slider
/*-----------------------------------------------------------------------------------*/

#content-slider {
	margin-bottom: 0;
	height: auto;
	padding-bottom: 10px;
}

.rslides {
  margin: 0 auto;
}

.rslides_container {
	margin-bottom: 30px;
  	padding-bottom: 5px;
  	position: relative;
  	float: left;
  	width: 100%;
	background: url(images/check_pattern.png);
  	background-repeat: repeat-x;
  	background-position: bottom;
}
  
.rslides {
  	position: relative;
  	list-style: none;
  	overflow: hidden;
  	width: 100%;
  	padding: 0;
  	margin: 0;
}

.rslides li {
  	position: absolute;
  	width: 100%;
  	left: 0;
  	top: 0;
}

.rslides img {
  	display: block;
  	height: auto;
  	width: 100%;
  	border: 0;
}

.rslides1_nav {
  	position: absolute;
  	-webkit-tap-highlight-color: rgba(0,0,0,0);
  	top: 53%;
  	left: 0;
  	opacity: 0.7;
  	text-indent: -9999px;
  	overflow: hidden;
  	text-decoration: none;
  	height: 61px;
  	width: 38px;
  	background: transparent url("images/nav_arrows.gif") no-repeat left top;
  	margin-top: -45px;
}

.rslides1_nav:active {
  	opacity: 1.0;
}

.rslides1_nav.next {
  	left: auto;
  	background-position: right top;
  	right: 0;
}

.rslides1_nav:focus {
  	outline: none;
}

.rslides_tabs {
  	margin-top: 10px;
  	text-align: center;
  }

.rslides_tabs li {
  	display: inline;
  	float: none;
  	_float: left;
  	*float: left;
  	margin-right: 5px;
}

.rslides_tabs a {
  	text-indent: -9999px;
  	overflow: hidden;
  	-webkit-border-radius: 15px;
  	-moz-border-radius: 15px;
  	border-radius: 15px;
  	background: #ccc;
  	background: rgba(0,0,0, .2);
  	display: inline-block;
  	_display: block;
  	*display: block;
  	-webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  	-moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  	box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  	width: 9px;
  	height: 9px;
}

.rslides_tabs .rslides_here a {
  	background: #222;
  	background: rgba(0,0,0, .8);
}


/*-----------------------------------------------------------------------------------*/
/*	11.	Image Overlay/Hover Styles
/*-----------------------------------------------------------------------------------*/

.view {
    width: 275px;
    height: 165px;
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
}

.view .mask, 
.view .content {
    width: 275px;
    height: 165px;
    padding: 5px;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
}

.view .view-more {
    float: left;
    background: rgba(0, 0, 0, .8);
    border: 2px solid rgba(48, 146, 187, 1);
    border-radius: 60px;
    -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.4);
    -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.4);
    box-shadow: 0px 0px 6px rgba(0,0,0,.4);
    width: 80px;
    height: 80px;
    margin: 24px 0 0 80px;
    padding: 10px;
    text-align: center;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.view .view-more span {
	padding-top: 20px;
	display: block;
	font-size: 15px;
	color: #fff;
	line-height: 1.2;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.view .view-more span:hover {
	color: #999;
}

.view-first .mask {
   width: 260px;
   height: 150px;
   margin: 7px 0px 0px 4px;
   opacity: 0;
   background: rgba(48, 146, 187, .8);
   -webkit-transition: all 0.4s ease-in-out;
   -moz-transition: all 0.3s ease-in-out;
   -o-transition: all 0.4s ease-in-out;
   -ms-transition: all 0.3s ease-in-out;
   transition: all 0.2s ease-in-out;
}

.view-first:hover .mask {
   opacity: 1;
}


/*-----------------------------------------------------------------------------------*/
/*	12.	Custom Contact Form
/*-----------------------------------------------------------------------------------*/

#custom-contact-form {
	float: left;
    width: 350px;
    margin: 10px 0;
    position: relative;
}

#custom-contact-form input,
#custom-contact-form select,
#custom-contact-form textarea,
#custom-contact-form label {
    font-size: 12px;
    margin-bottom: 2px;
}

#custom-contact-form input,
#custom-contact-form select,
#custom-contact-form textarea {
    width: 350px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    padding: 10px 0 10px 5px;
}

#custom-contact-form input:focus,
#custom-contact-form select:focus,
#custom-contact-form textarea:focus {
    border: 1px solid #ddd;
    background-color: #ddd;
}

#custom-contact-form label {
    display: block;
}

#custom-contact-form .required {
    color: #000;
}

#custom-contact-form #submit-button {
    width: auto;
    background-color: #3092bb;
    border: 0;
    color: #fff;
    display: block;
    float: left;
   	border-radius: 2px;
   	padding: 6px;
   	-webkit-transition: background-color .1s ease-in-out;
   	-o-transition: background-color .1s ease-in-out;
   	-moz-transition: background-color .1s ease-in-out;
   	-ms-transition: background-color .1s ease-in-out;
   	transition: background-color .1s ease-in-out;
}

#custom-contact-form #submit-button:hover {
	background-color: #333;
    color: #fff;
}

#custom-contact-form #submit-button:active {
    position: relative;
    top: 1px;
}

#custom-contact-form #loading {
    width: 32px;
    height: 32px;
    background-image: url(images/loading.gif);
    position: absolute;
    right: 130px;
    bottom: 16px;
    display: none;
}

#custom-contact-form .error {
	color: #d52525;
	display: block;
	margin-bottom: 10px;
	
}

#req-field-desc {
    font-style: italic;
}

/* Remove box shadow firefox, chrome and opera put around required fields. It looks rubbish. */
input:required, 
textarea:required {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}

/* Normalize placeholder styles */

/* chrome, safari */
::-webkit-input-placeholder {
    color: #ccc;
    font-style: italic;
}

/* mozilla */
input:-moz-placeholder, 
textarea:-moz-placeholder {
    color: #ccc;
    font-style: italic;
}

/* ie (faux placeholder) */
input.placeholder-text, 
textarea.placeholder-text  {
    color: #ccc;
    font-style: italic;
}


/*-----------------------------------------------------------------------------------*/
/*	13.	Main Navigation Styles
/*-----------------------------------------------------------------------------------*/

#header-nav {
    width: 970px;
    height: 50px;
    margin: 0 auto;
    position: relative;
}

#header-nav ul {
	margin: 0;
	padding-top: 14px;
	list-style: none;
	line-height: 1.4;
	position: absolute;
	left: 20px;
}

#header-nav ul a {
	float: left;
	display: block;
	text-transform: uppercase;
}

#header-nav ul li {
	float: left;
	position: relative;
	z-index: 200;
	font-size: 13px;
	margin-right: 10px;
}

#header-nav ul li .separator {
	float: right;
	display: block;
	padding-left: 10px;
	color: #ddd;
}

#header-nav ul li li .separator {
	display: none;
}

#header-nav ul li.menu-item-last .separator {
	display: none;
}

#header-nav ul li:hover { visibility: inherit; }

#header-nav ul ul {
	position: absolute;
	top: -9999em;
	width: 150px;
}

/*  Make sub menus appear */
#header-nav ul li:hover ul,
#header-nav ul li.sfHover ul {
	left: -1px;
	top: 30px;
	z-index: 1000;
}

/* Hide all subs subs (4 levels deep) */
#header-nav ul li:hover li ul,
#header-nav ul li.sfHover li ul,
#header-nav ul li li:hover li ul,
#header-nav ul li li.sfHover li ul,
#header-nav ul li li li:hover li ul,
#header-nav ul li li li.sfHover li ul { top: -9999em; }

/* Displays all subs subs (4 levels deep) */
#header-nav ul li li:hover ul,
#header-nav ul li li.sfHover ul,
#header-nav ul li li li:hover ul,
#header-nav ul li li li.sfHover ul,
#header-nav ul li li li li:hover ul,
#header-nav ul li li li li.sfHover ul {
	left: 150px;
	top: -1px;
}
	
/* top level skin ------------------------------------*/
#header-nav ul a {
    color: #fff;
    -webkit-transition: background-color .1s ease-in-out;
    -o-transition: background-color .1s ease-in-out;
    -moz-transition: background-color .1s ease-in-out;
    -ms-transition: background-color .1s ease-in-out;
    transition: background-color .1s ease-in-out;
}

#header-nav ul a:hover,
#header-nav ul li.sfHover > a {
    color: #3092bb;
}

#header-nav ul ul li.sfHover > a {
	color: #fff;
}

#header-nav ul li.current-cat > a,
#header-nav ul li.current_page_item > a,
#header-nav ul li.current-menu-item > a {
	color: #3092bb;
}

#header-nav ul ul li.current-cat > a,
#header-nav ul ul li.current_page_item > a,
#header-nav ul ul li.current-menu-item > a {
	color: #3092bb;
}

/* 2nd level skin ------------------------------------*/
#header-nav ul ul {
    background-color: rgba(41, 44, 46, .95);
    -webkit-box-shadow: 3px 3px 3px rgba(0,0,0,.3);
	-moz-box-shadow: 3px 3px 3px rgba(0,0,0,.3);
	box-shadow: 3px 3px 3px rgba(0,0,0,.3);
	border-top: 2px solid #3092bb;
	padding: 3px 20px 3px 20px;
}

#header-nav ul ul li {
	height: 35px;
	line-height: 35px;
	border-top: 1px solid #666;
	float: none;
	background: none;
}

#header-nav ul ul li:first-child { border-top: none; }

#header-nav ul ul li a {
    color: #fff;
    font-weight: normal;
	line-height: 35px;
	height: 35px;
	font-size: 13px;
	padding: 0;
	text-decoration: none;
	-webkit-transition: all .1s ease-in-out;
	-o-transition: all .1s ease-in-out;
	-moz-transition: all .1s ease-in-out;
	-ms-transition: all .1s ease-in-out;
	transition: all .1s ease-in-out;
}

#header-nav ul ul li a:hover {
	margin-left: 2px;
}

#header-nav ul li.sfHover ul a:hover { color: #3092bb; }

#footer-navigation {
	float: right;
	margin-top: 9px;
}

	#footer-navigation li {
		float: left;
		display: block;
		margin: 0; 
		padding-left: 15px;
	}

/*-----------------------------------------------------------------------------------*/
/*	14.	Video (Embedded video container styling)
/*-----------------------------------------------------------------------------------*/

.video-frame {
	background-color: #eee;
	border-radius: 2px;
	border: 1px solid #ddd;
	padding: 3px;
	margin: 10px 0;
}

/*-----------------------------------------------------------------------------------*/
/*	15.	Media Queries (Responsive layout styling for Smartphone, Tablet etc...)
/*-----------------------------------------------------------------------------------*/

/* ----------------------------------------------------- */
/* Mobile (Portrait) */
/* ----------------------------------------------------- */
/* Width of 320px */
/* ----------------------------------------------------- */

@media only screen and (max-width: 767px) {

	#content-slider,
	#sidebar, 
	#header-nav ul, 
	#footer-navigation,
	#related-projects,
	#latest-projects h2,
	#latest-articles h2 {
		display: none;
	}

	#wrapper {
		width: 320px;
		padding: 0;
	}

	#header-wrapper, 
	#main-wrapper, 
	#main,
	#footer-global[role=contentinfo],
	.home #main,
	.home #main .container,
	 #main .container,
	.menu-main-navigation-container,
	#header-nav,
	.page-template-template-portfolio-php #main {
		width: 320px;
		margin: 0;
		padding: 0;
	}
	
	#main {
		padding-bottom: 20px;
	}

	#main .container,
	.page-template-template-full-width-php #main .container {
		width: 280px !important;
		padding: 0 20px;
	}

	#custom-contact-form,
	#custom-contact-form input, 
	#custom-contact-form select, 
	#custom-contact-form textarea,
	.respond-form input[type=text], 
	.respond-form input[type=email], 
	.respond-form input[type=url], 
	.respond-form textarea {
		width: 250px;
		margin-bottom: 30px;
	}

	h1.post-title {
		margin-top: 20px;
	}
	
	.blog .post_content {
		margin-top: 0;
	}

	#latest-projects, #latest-articles {
		width: 320px;
	}

	#latest-projects header, #latest-articles header {
		width: 320px;
	}

	#latest-projects header h1, #latest-articles header h1 {
		float: none;
		padding: 0 0 10px 20px;
		border-bottom: 1px solid #eee;
	}
	
	.latest-articles-meta {
		padding-bottom: 20px;
	}
	
	.latest-articles-meta p {
		display: none;
	}

	#latest-projects ul, #latest-articles ul, .filterable {
		width: 279px;
		margin: 0 auto;
	}

	.widget {
 		margin-top: 0;
 	}

	#widget-columns {
		width: 280px;
		margin-right: 20px;
		margin-left: 20px;
	}
	
	#widget-columns .widget-column, #widget-columns .widget-column-last {
		width: 280px;
		margin-right: 0;
		float: none;
	}
	
	#widget-columns .widget-column-last {
		float: none;
	}

	#widget-columns img {
		margin: 0 12px 12px 0;
	}

	#header-global {
		width: 320px;
		height: 160px;
		margin: 0;
		padding: 0;
		float: none;
		position: relative;
	}

	#branding {
		width: 320px;
		margin: 0;
		padding: 0;
	}
	
		#logo img {
			position: absolute;
			top: 5px;
			left: 20px;
		}
		
		#logo-default {
			position: absolute;
			top: 15px;
			left: 20px;
		}

	#social-links {
		width: 310px;
		position: absolute;
		top: 103px;
		left: 0;
		margin: 0;
		padding: 0;
	}

	.dropdown-menu {
		display: inline-block; 
		margin: 9px 20px 10px 20px;
		width: 280px;
		height: 27px;
		background: #f6f6f6;
		color: #666;
   		padding: 5px;
   		font-size: 12px;
   		line-height:21px;
   		border: 1px solid #ccc;
	}

	#welcome-message h1, #welcome-message h1 span, #welcome-message h1 a {
		font-size: 16px;
		line-height: 1.4;
		margin: 15px 0 12px 0;
		text-align: left;
	}
	
	.post_content img,
	.wp-caption img,
	.single-portfolio .portfolio-thumbs img, 
	.blog .wp-post-image,
	.single-post .wp-post-image, 
	.archive .wp-post-image,
	.alignright,
	.alignleft,
	.aligncenter {
		max-width: 100%;
		height: auto;
	}
	
	.single-portfolio article {
		float: none;
		width: 280px;
		margin: 0 auto;
	}
	
	#sidebar-portfolio {
		width: 279px;
		margin: 0 0 30px 20px;
		padding: 0;
		border-left: none;
		float: left;
	}
	
	.single-portfolio .post_content {
		float: none;
		width: 280px;
	}
	
	#copyright-and-credits {
		width: 300px;
		margin-top: 0;
		margin-bottom: 20px;
		margin-left: 20px;
		float: none;
	}

	#portfolio-terms {
		width: 280px;
		float: left;
	}

	#portfolio-terms li {
		padding: 0 5px 12px 0;
	}

	li.filter {
		display: none;
	}

	.isotope-item {
  		width: 280px;
  	}

  	.post_content video, .post_content iframe {
  		height: auto;
  	}

}

/* ----------------------------------------------------- */
/* Mobile (Landscape) */
/* ----------------------------------------------------- */
/* Width of 480px */
/* ----------------------------------------------------- */

@media only screen and (min-width: 480px) and (max-width: 767px) {

	#content-slider,
	#sidebar, 
	#menu-main-navigation, 
	#footer-navigation {
		display: none;
	}

	#wrapper {
		width: 480px;
		padding: 0;
	}

	#header-wrapper, 
	#main-wrapper, 
	#main,
	#footer-global[role=contentinfo],
	.home #main,
	#main,
	.home #main .container,
	.menu-main-navigation-container,
	#header-nav,
	#copyright-and-credits {
		width: 480px;
		margin: 0;
		padding: 0;
	}
	
	#main {
		padding-bottom: 20px;
	}

	#main .container,
	.page-template-template-full-width-php #main .container {
		width: 440px !important;
		padding: 0 20px;
	}
	
	.blog .post_content {
		margin-top: 20px;
	}

	h1.post-title {
		margin-top: 0;
	}

	#latest-projects li, #latest-articles li {
		width: 440px;
		padding-bottom: 30px;
	}

	#latest-projects header, #latest-articles header {
		width: 480px;
	}
	
	#latest-projects .view, #latest-articles .view {
		float: left;
	}
	
	.latest-projects-meta, .latest-articles-meta {
		float: right;
		width: 130px;
		margin-top: 50px;
		padding: 0 10px 0 0;
	}
	
	.latest-articles-meta p {
		display: none;
	}

	#widget-columns {
		width: 440px;
		margin-right: 20px;
		margin-left: 20px;
	}
	
	#widget-columns .widget-column, #widget-columns .widget-column-last {
		width: 440px;
		margin-right: 0;
	}
	
	#widget-columns .widget-column-last {
		float: none;
	}

	#widget-columns img {
		margin: 0 7px 7px 0;
	}

	#header-global {
		width: 480px;
		height: 160px;
		margin: 0;
		padding: 0;
		float: none;
		position: relative;
	}

	#branding {
		width: 480px;
		margin: 0;
		padding: 0;
		position: relative;
	}

	#social-links {
		width: 310px;
		position: absolute;
		top: 103px;
		left: 0;
		margin: 0;
		padding: 0;
	}

	.dropdown-menu {
		display: inline-block; 
		margin: 9px 20px 10px 20px;
		width: 440px;
		background: #f6f6f6;
		color:#666666;
   		padding: 5px;
   		font-size: 12px;
   		line-height:21px;
   		border: 1px solid #ccc;
	}

	#welcome-message h1, #welcome-message h1 span, #welcome-message h1 a {
		font-size: 17px;
		line-height: 1.4;
		margin: 15px 0 13px 0;
	}

	#copyright-and-credits {
		width: 300px;
		margin-top: 0;
		margin-bottom: 20px;
		margin-left: 20px;
		float: none;
	}

	#portfolio-terms {
		width: 440px;
	}

	#portfolio-terms li {
		padding: 0 5px 12px 0;
	}

	li.filter {
		display: none;
	}

	.isotope-item {
  		width: 280px;
  	}
  	
  	.single-portfolio article {
  		width: 440px;
  	}
  	
  	#sidebar-portfolio {
  		width: 440px;
  		margin: 0 0 30px 20px;
  		padding: 0;
  		border-left: none;
  		float: left;
  	}
  	
  	.single-portfolio .post_content {
  		width: 440px;
  	}

}

/* ----------------------------------------------------- */
/* Tablet (Portrait) */
/* ----------------------------------------------------- */
/* Width of 768px */
/* ----------------------------------------------------- */

@media only screen and (min-width: 768px) and (max-width: 959px) {

	.dropdown-menu {
		display: none;
	}

	#wrapper {
 		width: 768px;
 		padding: 0;
 	}
 	
 	#header-wrapper, 
 	#main-wrapper, 
 	#main,
 	.home #main,
 	#main,
 	.home #main .container,
 	#footer-global[role=contentinfo],
 	.menu-main-navigation-container,
 	#header-nav,
 	#copyright-and-credits {
 		width: 768px;
 		margin: 0;
 		padding: 0;
 	}
 	
 	#main {
 		padding-bottom: 30px;
 	}
 	
 	.page-template-template-portfolio-php #main .container,
 	.page-template-template-full-width-php #main .container {
 		width: 728px !important;
 		padding: 0 20px;
 	}
 	
 	#main .container {
 		width: 460px;
 		padding: 0 20px;
 	}
 	
 	.single-portfolio .post_content {
 		float: right;
 		width: 220px;
 	}

 	#sidebar, #sidebar-portfolio {
 		margin-bottom: 20px;
 		padding-right: 20px;
 		padding-left: 20px;
 	}
 	
 	#sidebar {
 		margin-top: 20px;
 	}
 	
 	#latest-projects, #latest-articles, .widget-columns {
 		width: 650px;
 		margin-left: 85px;
 	}
 	
 	.filterable {
 		width: 650px;
 	}
 	
 	#latest-projects header, #latest-articles header {
 		width: 650px;
 	}

 	#header-nav ul li a,
 	#header-nav ul ul li a {
 		font-size: 11px;
 	}
 	
 	#social-icons {
 		float: left;
 		margin-left: 20px;
 	}

 	#welcome-message h1, #welcome-message h1 span, #welcome-message h1 a {
 		font-size: 22px;
 	}

 	.post_content img,
	.wp-caption img,
	.single-portfolio .portfolio-thumbs img, 
	.blog .wp-post-image,
	.single-post .wp-post-image, 
	.archive .wp-post-image,
	.alignright,
	.alignleft,
	.aligncenter {
		max-width: 100%;
		height: auto;
	}

 	#latest-projects li,
 	#latest-articles li,
 	#latest-projects li.last, 
 	#latest-articles li.last {
 		margin-right: 40px;
 	}
 	
 	#header-global {
 		width: 768px;
 		height: 125px;
 		padding: 0;
 		float: none;
 		position: relative;
 	}
 	
 	#branding {
 		margin-left: 20px;
 	}

 	.widget {
 		margin-top: 0;
 	}

 	#widget-columns {
		width: 728px;
		margin-right: 20px;
		margin-left: 20px;
	}

	#widget-columns .widget-column {
 		width: 200px;
 		margin-right: 20px;
 	}
	
	#copyright-and-credits {
		width: 700px;
		margin-left: 20px;
	}
	
	#copyright-and-credits p {
		float: left;
		margin-right: 20px;
	}
	
	#copyright-and-credits, #footer-navigation {
		margin-bottom: 20px;
		float: none;
	}
	
	#footer-navigation {
		float: left;
		margin-left: 20px;
	}
	
	#footer-navigation li {
		padding-left: 0;
		padding-right: 15px;
	}
	
}

/* ----------------------------------------------------- */
/* Tablet (Landscape), Desktop etc... */
/* ----------------------------------------------------- */
/* Width of 960px and up */
/* ----------------------------------------------------- */

@media only screen and (min-width: 960px) {

	.dropdown-menu {
		display: none;
	}
	
	#wrapper {
		margin: 0 auto;
		width: 100%;
		padding: 0;
		background: none;
		position: relative;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}

}