/*
Theme Name: Hardy
Theme URI: http://themetrust.com/hardy
Description: A minimal and responsive WordPress portfolio theme.
Version: 1.0.9
Author: Theme Trust
Author URI: http://themetrust.com
Tags: portfolio, responsive, blog, clean, minimal, white, two-columns, threaded-comments, translation-ready, custom-menus

TABLE OF CONTENTS

01 - Reset
02 - Global
03 - General Layout
04 - Header
05 - Content
06 - Slideshow
07 - Sidebar
08 - Widgets
09 - Comments
10 - Pagination
11 - Footer
12 - Media Queries
*/

/* /////////////////////////////////////////////////////////////////////
//  01 - Reset
/////////////////////////////////////////////////////////////////////*/

/**

 HTML5 & 4 reset stylesheet
 Adapted from YUI & HTML5 Doctor
 v1.0

**/


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

html {
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
    -webkit-text-size-adjust:none;
    -ms-text-size-adjust:none;
	overflow-y: scroll;
}

ol,ul {
	list-style:none;
}

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

blockquote,q {
    quotes:none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    border:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration:line-through;
}

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

strong{font-weight:bold;}
em{font-style:italic;}

input,
select {
    vertical-align:middle;
}

table {
	border-collapse:separate;
	border-spacing:0;
}
caption,
th,
td {
	text-align:left;
	font-weight:normal;
}

input {
	vertical-align:middle;
}
img,
object,
embed {max-width: 100%;}

.homeSection img,
.post p img,
.page p img,
.project img,
.postThumb,
div.wp-caption img {
	max-width: 100% !important;
	height: auto;
	width: auto;
}

.wp-caption {
	max-width: auto !important;
}

.wp-caption-text {
	padding: 5px 0 0 0;
	font-style: italic;
    font-size: 14px;
    text-align: left;
}

/* /////////////////////////////////////////////////////////////////////
//  02 - Global
/////////////////////////////////////////////////////////////////////*/

body {
	font-size: 100%;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	width:auto; height:auto;
	padding: 0 0 0 0;
	margin: 0;
	color: #6a6a6a;
	background-color: #e7e7e8;
	font-weight: normal;

}

p {
	line-height: 1.7em;
	font-size: 1em;
	margin: 0 0 20px 0;
	font-weight: normal;
	font-style: normal;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

li {
	margin: 0 0 0 0;
	padding: 0;
}

img {
	margin: 0;
}

img.left {
	margin: 0 15px 15px 0;
	float: left;
}

a {
	text-decoration: none;
	outline: none;
}

a{
	color: #4da7ca;
}

a:hover {
	color: #4290ae;
}

a img {
	border:none;
}

h1, h2, h3, h4, h5, h6{
	margin: 0 0 15px 0;
	font-weight: bold;
	color: #606060;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1 { font-size: 1.5em; }
h2 { font-size: 1.3em; }
h2 { font-size: 1.1em; }

blockquote, address {
	margin: 0 0 30px 0;
	padding: 0 30px 0 30px;
	font-size: 1em;
	font-family: Georgia, Times, "Times New Roman", serif;
	border-left: 5px solid #6a6a6a;
	color: #6a6a6a;
}

code {
    font-family: "Courier New", Courier, serif;
	overflow: auto;
	padding: 2px;
	background: #fff;
}

pre code {
	background: none;
}

pre {
    margin: 0 0 20px;
	padding: 10px;
	background: #fff;
	overflow: auto;
	border: 1px solid #e4e4e4;
}

.meta {
	color: #b0b0ad;
}

.meta a{
	color: #7d7d7b !important;
}

.meta a:hover{
	color: #b0b0ad !important;
}

input[type="text"], textarea {
	background-color: #fafafa;
	padding: 15px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #6a6a6a;
	border: 1px solid rgba(0,0,0,.05);
	border-bottom: 2px solid rgba(0,0,0,.1);
	background:	#f7f7f7;
	font-size: .9em;
	-webkit-appearance: none;
}

input[type="text"]:focus {outline: none; background-color: #f7f7f7;}
textarea:focus {outline: none; background-color: #f7f7f7;}

textarea { width: 80%; line-height: 1.6em; }

.hidden { display: none; }

/* Clearfix ----------- */

/* Some clearfix code from HTML5 Boilerplate */
.clearfix:before, .clearfix:after {
	content: "\0020";
	display: block;
	height: 0;
	visibility: hidden;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	zoom: 1;
}

a.action {
	font-style: italic;
}

/* //////////////////////////////////////////////////////////////////////
//  03 - General Layout
//////////////////////////////////////////////////////////////////////*/

#container {
	width: 100%;
	margin: 0 auto;
	max-width: 1300px !important;
}

.wrap {
	background: #fff;
	padding-top: 1px;
}

.home .wrap {
	padding-top: 50px !important;
}

#main {
	margin: 0 auto 0;
	padding: 0 0 0;
	background: #fff;
}

#main .wrap {
	padding: 0 30px;
}

#main.full {
	background: none;
}

.middle {
	max-width: 62.5em;
	margin: 0 auto;
}

#content {
	padding: 0 0 0 0;
	float: left;
	margin: 0 0px 0 0;
	position: relative;
}

#sidebar {
	width: 26.5%;
	float: right;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

#footer {
	width: 100%;
	margin: 0 auto;
}

.twoThirds {
	width: 70%;
}

.oneThird {
	width: 32%;
}

/*////////////////////////////////////////////////////////////////////////
//  04 - Header
///////////////////////////////////////////////////////////////////////*/

#header{
	width: 100%;
	position: relative;
	margin: 0 0 0 0!important;
	text-align: center;
	background: #fff;
}

#header .inside{
	max-width: 62.5em;
	margin: 0 auto;
	position: relative;
	padding: 40px 0 40px 0;
}

#header .top {
	padding: 0 30px;
}

#logo {
	display: inline-block;
	margin: 0px 0 0 0;
	float: left;
	padding: 0;
}

#logo h1 {
	margin: 0 !important;
	line-height: 1em !important;
	padding: 0 !important;
	font-size: 1.5em;
	font-weight: bold;
	color: #555555;
}

#header h1 {
	font-size: 1.5em;
	color: #555555;
	margin: 0;
}

#header h1 a, #header h1 a:hover{
	color: #555555 !important;
}


/* Top level navigation */

#mainNav{
	right: 0;
	position:absolute; top:50%; height:20px; margin-top:-10px;
	display: inline-block;
}

#mainNav li{
	margin: 0 0 0 30px;
	display: inline-block;
	padding: 0;
}

#mainNav ul a{
	line-height: 25px;
	color: #8f8f8f;
	font-size: .9em;
	font-family: "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: bold;
}

#mainNav ul ul a{
	line-height: 15px;
	font-weight: normal;
	border-top: none;
}

#mainNav ul li.sfHover a,
#mainNav ul li a:hover,
#mainNav ul li:hover {
	text-decoration: none;
	color: #2e2e2e;
}

/* Second level+ dropdowns */

#mainNav ul ul {
	padding: 20px 0px 0 0px !important;
	margin-top: -10px;
	background: #fff;
	-moz-box-shadow: 0 0px 1px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 0px 1px rgba(0,0,0,0.5);
	box-shadow: 0 0px 1px rgba(0,0,0,0.5);
}


#mainNav ul ul ul {
	padding-top: 20px !important;
	margin-left: -1.25em;
	margin-top: -5px;
}

#mainNav ul ul li {
	float: none;
	background: none;
	margin: 0 5px 10px 20px !important;
	text-align: left;
	max-width: 120px;
}

#mainNav ul ul li a {
	padding: 0px 0 10px 0;
	font-weight: normal;
	border: none !important;
}

#mainNav ul li.sfHover ul a { color: #7b7b7b!important; }

#mainNav ul li.sfHover ul a:hover { color: #fff!important; }

/* Slide Menu */

#pageslide {
    /* These styles MUST be included. Do not change. */
    display: none;
    position: absolute;
    position: fixed;
    top: 0;
    height: 100%;
    z-index: 999999;

    /* Specify the width of your pageslide here */
    width: 260px;
    padding: 0 20px;

    /* These styles are optional, and describe how the pageslide will look */
    background-color: #333;
    color: #FFF;
    overflow: auto;
}

#slideNav {
	display: none;
	padding-top: 40px;
}

#slideNav #mainNav {
	margin-bottom: 30px;
	position: relative;
}

#slideNav #mainNav li {
	display: block !important;
	margin: 0 20px 10px 20px;
}

#slideNav #mainNav ul ul{
	padding: 20px 0 0 10px;
	margin-left: 0 !important;
	background: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#slideNav #mainNav li a {
	color: rgba(255,255,255,.7) !important;
	font-weight: bold;
	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	transition:.5s;
}

#slideNav #mainNav li a:hover {
	color: rgba(255,255,255,1);
}

#mainNav ul li.current a,
#mainNav ul li.current-cat a,
#mainNav ul li.current_page_item a,
#mainNav ul li.current-menu-item a,
#mainNav ul li.current-post-ancestor a,
.single-post #mainNav ul li.current_page_parent a,
#mainNav ul li.current-category-parent a,
#mainNav ul li.current-category-ancestor a,
#mainNav ul li.current-portfolio-ancestor a,
#mainNav ul li.current-projects-ancestor a,
#sideNav ul li.current a,
#sideNav ul li.current-cat a,
#sideNav ul li.current_page_item a,
#sideNav ul li.current-menu-item a,
#sideNav ul li.current-post-ancestor a,
.single-post #sideNav ul li.current_page_parent a,
#sideNav ul li.current-category-parent a,
#sideNav ul li.current-category-ancestor a,
#sideNav ul li.current-portfolio-ancestor a,
#sideNav ul li.current-projects-ancestor a {
	text-decoration: none;
	color: #2e2e2e;
}

.menuToggle {
	display: none;
	width: 32px;
	height: 28px;
	background: transparent url(images/menu.gif) no-repeat;
	background-size: 32px 28px !important;
	cursor: pointer;
	position: absolute;
	right: 30px;
	top: 50%;
	margin-top: -16px;
	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	transition:.5s;
}

.closeBtn {
	width: 20px;
	height: 20px;
	background: transparent url(images/close.png) no-repeat;
	background-size: 20px 20px !important;
	cursor: pointer;
	position: absolute;
	right: 20px;
	top: 30px;
	margin-top: -16px;
	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	transition:.5s;
	opacity: .5;
}

.closeBtn:hover {
	opacity: 1;
}

.menuToggle:hover {
	opacity: .8;
}

#slideNav .widgets {
	margin: 0 20px;
}


/*////////////////////////////////////////////////////////////////////
//  05 - Content
////////////////////////////////////////////////////////////////////*/

#content {
	margin: 0 auto 40px;
	padding: 0 0 0 0 !important;
	width: 68%;
	float: left;
}

#content.full {
	margin: 0 0 40px 0;
	padding: 0 0 0 0 !important;
	width: 100%;
}

#content.full.grid {
	margin: 0 0 20px 0%;
}

.home #content.full, .page-template-page-portfolio-php #content.full {
	width: 100%;
	margin: 0 0 0 0;
}

#content.fullProjects{
	width: 100%;
}

#content.twoThirds .page {
	width: 99%;
}

#content .post {
	margin: 0 0 30px 0px;
	position: relative;
	padding-bottom: 10px;
	min-height: 250px;
	width: 100%;
}

#content .post h1.title {
	font-size: 1.4em;
	font-weight: bold;
}

#content .post h2.title {
	font-size: 1.4em;
	font-weight: bold;
}

.search #content .post {
	min-height: 50px;
}

.page #content .post {
	margin: 0 0 0px 0px;
	border: none;
}

.post .meta, .attachment .meta {
	margin: -5px 0 25px 0;
	padding: 0 0 0px 0;
	font-size: .85em;
	line-height: 1.5em;
}

#content h1 a,
#content h2 a,
#content h3 a,
.widgetBox h3 a,
#slideshow .slideText h3 a,
#content h4 a,
#content h5 a{
	color: #555555;
}

#content h1 a:hover,
#content h2 a:hover,
#content h3 a:hover,
.widgetBox h3 a:hover,
#slideshow .slideText h3 a:hover,
#content h4 a:hover,
#content h5 a:hover{
	color: #a7a7a3 ;
}

#content .postThumb{
	margin: 0 0 20px 0 !important;
}

#pageHead {
	color: #696969;
	padding: 30px 30px 30px;
	margin: 0 0 50px;
	background: #f7f7f7;
}

.page-template-page-portfolio-php #pageHead {
	margin: 0;
}

#pageHead .inside {
	max-width: 62.5em;
	margin: 0 auto;
}

#pageHead h1 {
	font-size: 1.4em;
	line-height: .7em;
	padding: 0;
	margin-bottom: 0;
	display: block;
	color: #555555;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: normal;
}

#pageHead p {
	margin: 0!important;
	padding: 10px 0 0 0!important;
	color: #b2b2b2;
	line-height: 1em;
}

#content .moreLink{
	display: block;

}

/*Home Page------------------*/

#homeMessage {
	color: #696969;
	padding: 25px 5% 25px;
	text-align: center;
	background: #f7f7f7;
}

#homeMessage p{
	font-size: 1.3em;
	line-height: 1.3em;
	margin-bottom: 0;
}

.homeMessageArrow {
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 20px solid #f5f2ed;
	margin: 0 auto;
}

/*Projects------------------*/

.project {
	padding: 60px 30px 60px 30px;
	color: rgba(0,0,0, .5);
}

.project .inside {
	margin: 0 auto;
	max-width: 62.5em;
	position: relative;
}

.project .topLine {
	display: block;
	border-top: 1px solid rgba(0,0,0, .2);
	width: 100px;
	margin: 0 auto 15px;
}

.project.left .topLine {
	margin-left: 0;
}

.project.right .topLine {
	margin-right: 0;
}

.project .head {
	margin-bottom: 40px;
}

.project.darkBkg .topLine {
	border-top: 1px solid rgba(255,255,255, .2);
}

.project.darkBkg p {
	color: rgba(255,255,255, .6);
}

.project h2 {
	text-align: center;
	margin-bottom: 5px;
	text-transform: uppercase;
	font-size: 1.6em;
	font-weight: bold;
	color: rgba(0,0,0, .7) !important;
}

.project h2 a{
	color: rgba(0,0,0, .7) !important;
}

.project h2 a:hover {
	color: rgba(0,0,0, .5) !important;
}

.project.left h2 {
	text-align: left;
}

.project.right h2 {
	text-align: right;
}

.project.darkBkg h2 {
	color: rgba(255,255,255, 1) !important;
}

.project.darkBkg h2 a{
	color: rgba(255,255,255, 1) !important;
}

.project.darkBkg h2 a:hover{
	color: rgba(255,255,255, .95) !important;
}

.project.left .description p {
	text-align: left;
}

.project.right .description p {
	text-align: right;
}

.project .description p {
	text-align: center;
	font-size: 1.1em;
	color: rgba(0,0,0, .5);
}

.project.darkBkg .description p {
	color: rgba(255,255,255, .6);
}

.project p {
	margin-bottom: 25px;
}

.search .project { padding: 0; }

.search .project * { text-align: left !important; margin-left: 0 !important; text-transform: none; }

.single-project #content {
	margin-bottom: 0;
}

.single-project #commentBox {
	padding: 0 30px;
}

.single-project #commentBox .inside{
	margin: 0 auto;
	max-width: 62.5em;
	padding-top: 20px;
}

/*Column Shortcodes------------------*/

.one_half{ width:48%; }
.one_third{ width:31%; }
.two_third{ width:65.33%; }
.one_half,.one_third,.two_third{ position:relative; margin-right:3%; float:left; }
.last{ margin-right:0 !important; clear:right; }
.clearboth {clear:both;display:block;font-size:0;height:0;line-height:0;width:100%;}


/*Buttons------------------*/

.button, a.button, #footer a.button, #searchsubmit, input[type="submit"]  {
	display: inline-block;
	color: #fff;
	text-decoration: none;
	position: relative;
	cursor: pointer;
	font-weight: bold;
	border: 1px solid rgba(0,0,0,.1);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	margin: 0 3px 0 0;
	line-height: normal;
	font-size: 13px;
	background: #757575;
	padding: 13px 17px 13px !important;
	margin: 0 0 10px 0;
	font-family: "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	-webkit-appearance: none;
}

#searchsubmit {
	padding: 5px 15px 6px;
}

.home .slideshow a.button:hover, .button:hover, #footer a.button:hover, #searchsubmit:hover, input[type="submit"]:hover {
	color: #fff;
	background-image: url(images/btn_bkg.png) !important;
}

.home .slideshow a.button {
	margin-top: 20px;
}

/*Infinite Scrolling------------------*/

#infscr-loading {
	display: none !important;
}

#infscr-loading img {
	display: none;
}

.infscrBtn span{
	line-height: 35px;
}

.infscrBtn {
	margin: 30px auto 30px;
	display: block;
	width: 100px;
	text-align: center;
	font-size: .7em;
}

.infscrBtn:hover {
	background-color: #fcfcfc;
}

/*Images------------------*/

#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px !important;
	margin-top: 4px;
}

#content .alignright,
#content img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}

#content .aligncenter,
#content img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#content img.alignleft,
#content img.alignright,
#content img.aligncenter {
	margin-bottom: 12px;
}

/*Gallery------------------*/

.gallery {
	padding-top: 15px;
	margin-bottom: 25px!important;
}

.gallery-item {
	margin-top: 0px!important;
	margin-bottom: 25px!important;
}

.gallery img {
	border: none!important;
}

/*Lists------------------*/

#content ul{
	margin:  0 0 25px 20px;
	list-style-type: disc;
}

#content ul li{
	margin: 0 0 10px 0;
	line-height: 1.4em;
	font-size: .95em;
}

#content ol li{
	margin: 0 0 10px 0;
	line-height: 1.4em;
}

#content ol{
	margin: 0 0 20px 20px;
}

#content ul ul, #content ol ul, #content ul ol, #content ol ol {
	padding-top: 10px;
}

#content ul ul li, #content ol ul li, #content ul ol li, #content ol ol li{
	font-size: 1em !important;
}

.videoContainer {
	margin-bottom: 25px !important;
}

/*////////////////////////////////////////////////////////////////////
//  06 - Slideshow
////////////////////////////////////////////////////////////////////*/

.slideshow, .flexslider {
	margin: 0 !important;
	position: relative;
}

.slideshow  {padding:0 !important;}

#content .flexslider {
	margin: 0 0 15px 0 !important;
}

.flexslider p {
	margin: 0 !important;
}

.slideshow li, #content .flexslider li, #content .flexslider ol {
	list-style: none !important;
	list-style-type: none !important;
}

#content .flexslider ol {
	padding-bottom: 5px !important;
	margin-bottom: 0 !important;
}

#content .flexslider .slides {
	margin: 0;
}

/* FlexSlider Theme------------------*/

.flexslider {  min-height: 100px; border: 0 !important; margin: 0 0 0 0!important; padding: 0 0 0 0 !important; background: transparent !important; border: none; position: relative; -webkit-border-radius: 0 !important; -moz-border-radius: 0 !important; -o-border-radius: 0!important; border-radius: 0!important; box-shadow: none !important; -webkit-box-shadow: none!important; -moz-box-shadow: none!important; -o-box-shadow: none!important; zoom: 1;}
.flexslider .slides li{	margin-bottom: 0 !important; }
.flexslider .slides li p{ margin: 0 !important; }
.flexslider .slides > li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative;}
.flexslider .slides img {  }
.flex-direction-nav, .flex-control-nav, .flex-caption { margin-bottom:0 !important;}

/* Caption style */
/* IE rgba() hack */
.flex-caption {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
.flex-caption {width: auto; position: absolute; background: rgba(0,0,0,.5); color: #fff; }
.flex-caption p {font-size: .9em !important; margin-bottom: 0;}

/* Direction Nav */

.flex-direction-nav {
	position: absolute;
	width: 100%;
	margin: 0 !important;
	left: 0;
	top: 50%;
}
.flex-direction-nav li a {
	-webkit-transition: none; -moz-transition: none; transition: none;
	-webkit-transition: opacity .5s ease; -moz-transition: opacity .5s ease; transition: opacity .5s ease;
}
.flex-direction-nav li a { z-index: 100; width: 30px!important; height: 30px; margin: -20px 0 0; display: block !important; background: url(images/flexslider/direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px;}
.flex-direction-nav li a.flex-next {background-position: -30px 0; right: 20px !important; text-indent: -9999px !important; text-align: left; }
.single-product .flex-direction-nav li a.flex-next {right: -5px !important; text-indent: -9999px;}
.flex-direction-nav li a.flex-next:hover {background-position: -30px -30px;}
.flex-direction-nav li a.flex-prev {background-position: 0 0; left: 20px !important; }
.flex-direction-nav li a.flex-prev:hover {background-position: 0 -30px; }
.flex-direction-nav li a.disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {position: absolute !important; bottom: 20px !important; right: 3% !important; width: auto !important; }
.flex-control-nav li {margin: 0 0 0 5px !important; display: inline-block !important; zoom: 1; *display: inline !important;}
.flex-control-nav li:first-child {margin: 0 !important;}
.flex-control-nav li a {width: 13px !important; height: 13px !important; display: block !important; background: rgba(255,255,255,0.3) !important; cursor: pointer; text-indent: -9999px; box-shadow: inset 0 0 1px rgba(0,0,0,0.3) !important;}
.flex-control-nav li a:hover {background: rgba(255,255,255,0.7) !important;}
.flex-control-nav li a.flex-active {background: rgba(255,255,255,0.7) !important; cursor: default !important;}

#content .flex-direction-nav { margin-top: -15px !important;}
#content .flex-control-nav { margin: 0; padding-top: 15px; position: relative !important; bottom: 0 !important; right: 0 !important; width: auto !important; }
#content .flex-control-nav li a { background: rgba(0,0,0,0.3) !important; box-shadow: none !important;}
#content .flex-control-nav li a:hover { background: rgba(0,0,0,0.7) !important;}
#content .flex-control-nav li a.flex-active { background: rgba(0,0,0,0.7) !important;}
#content .darkBkg .flex-control-nav li a { background: rgba(255,255,255,0.3) !important; box-shadow: none !important;}
#content .darkBkg .flex-control-nav li a:hover { background: rgba(255,255,255,0.7) !important;}
#content .darkBkg .flex-control-nav li a.flex-active { background: rgba(255,255,255,0.7) !important;}

/* Home slideshow*/

.home .slideshow {

}

.home .slideshow .slides li{
	overflow: hidden;
}

.home .slideshow .details {
	background: transparent;
	display: block;
	width: 100%;
	text-align: center;
	top: 50%;
	position: absolute;
}

.home .slideshow .details .box{
	padding: 0 30px 0 30px;
}

.home .slideshow .details.left {
	text-align: left;
}

.home .slideshow .details.right {
	text-align: right;
}

.home .slideshow .details .inside {
	max-width: 62.5em;
}

.home .slideshow .details.center .text {
	width: 80%;
}

.home .slideshow .details .text {
	display: inline-block;
	width: 60%;
}

.home .slideshow .details h2 {
	color: #fff;
	margin: 0 0 5px 0;
	font-size: 3.3em;
	text-shadow: 2px 2px rgba(0,0,0, .2);
	font-weight: normal;
}

.home .slideshow .details p {
	font-size: 1.2em !important;
	margin-bottom: 0;
	line-height: 1.3em;
	color: rgba(255,255,255, .8);
}


/*////////////////////////////////////////////////////////////////////
//  07 - Sidebar
////////////////////////////////////////////////////////////////////*/

#sidebar {

}

.sidebarBox {
	position: relative;
	margin: 0 0 30px 0;
}

#sidebar p {
	margin-bottom: 12px;
}

#sidebar li {
	font-size: .75em;
}

#sidebar .avatar {
	float: left;
	margin: 0 20px 15px 0 !important;
	padding-top: 3px;
}



/*/////////////////////////////////////////////////////////////////////
//  08 - Widgets
////////////////////////////////////////////////////////////////////*/

#footer .widgetBox a, #sidebar .widgetBox a {
	line-height: 1.5em;
}

#footer .widgetBox {
	float: left;
	margin-left: 30px;
	margin-bottom: 30px;
	width: 30%;
}

#sidebar .widgetBox {
	margin-bottom: 30px !important;
}

#sidebar .widgetBox h3,
#footer .widgetBox h3{
	font-size: .9em;
	font-weight: bold;
}


#footer .widgetBox h3{
	margin-bottom: 25px;
}

#footer .widgetBox p{
	text-align: left;
}

#sidebar .widgetBox .meta,
#footer .widgetBox .meta {

}

#sidebar ul, #footer ul {
	margin: 0 0 0 0;
	padding: 0px 0 0 0;
	line-height: 1em;
	background: none;
	position: relative;
}

#sidebar ul li, #footer ul li {
	padding: 0px 0 0px 0;
	margin: 0 0 10px 0;
	line-height: 1em;
	background: none;
	font-size: 1em;
}

#sidebar ul li p, #footer ul li p{
	line-height: 1.3em;
	margin: 0;
}

#sidebar ul li h2, #footer ul li h2{
	margin: 0 0 0px 0 ;
	padding: 0 !important;
	line-height: .9em;
	font-weight: normal;
}

#sidebar .widget_nav_menu ul,
#footer .widget_nav_menu ul,
#sidebar .widget_pages ul,
#footer .widget_pages ul,
#sidebar .widget-categories ul,
#footer .widget-categories ul {
	background: none;
	margin: 0;
	padding: 0;
	border: none;
}

#sidebar .widget_nav_menu li,
#footer .widget_nav_menu li,
#sidebar .widget_pages li,
#footer .widget_pages li,
#sidebar .widget-categories li,
#footer .widget-categories li {
	padding: 0 0 0 0;
	margin: 10px 0 0 0;
	border: none;
}



/*Search------------------*/

.widget_search {
	display: block;
	padding: 0 !important;
}

.widget_search h3 {
	display: none;
}

.widget_search:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .widget_search {
    display: block;
}

* html .widget_search {
    height: 1%;
}

#s {
	margin: 0 0px 0 0;
	padding: 10px 1em 10px 1em !important;
	line-height: normal!important;
	width: 85%;
	color: #9a9a9a;
	font-size: .8em;
}

#searchsubmit{
	font-size: 11px !important;
	margin: 0 !important;
	border-left: none;
	-webkit-border-bottom-left-radius: 0px;
	-webkit-border-top-left-radius: 0px;
	-moz-border-radius-bottomleft: 0px;
	-moz-border-radius-topleft: 0px;
	border-bottom-left-radius: 0px;
	border-top-left-radius: 0px;
	float: right;
	border: none;
	height: 30px;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	background-position: 0 -1px;
}


/*Recent Posts Widget------------------*/

#sidebar .ttrust_recent_posts .meta,
#footer .ttrust_recent_posts .meta {
	margin: 0 0 0 0 !important;
	display: block;
	padding: 3px 0 0 0;
	color: #a3a3a3;
	font-size: .8em;
}

#sidebar .ttrust_recent_posts .title,
#footer .ttrust_recent_posts .title {
	margin-bottom: 2px;
}

#sidebar .ttrust_recent_posts .title,
#footer .ttrust_recent_posts .title {
	line-height: 1.1em;
}

.secondaryPost {
	padding: 10px 0 0px 0;
}

.ttrust_recent_posts li {
	margin-bottom: 20px !important;
	border: none;
	display: block;
}


/*Calendar Widget--------------------*/
table#wp-calendar {
	width: 216px;
}

table#wp-calendar td, table#wp-calendar th{
	text-align: left;
}

table#wp-calendar td {
	color: #b0b0ad;
	padding-top: 10px;
}

table#wp-calendar td a{
	font-weight: bold;
}

#wp-calendar caption {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #dbdad8;
	font-size: 14px;
	font-weight: bold;
}

/*Tag Widget--------------------*/

.widget_tag_cloud a{
	font-size: .9em !important;
	padding: 5px 7px 5px 7px;
	display: block;
	float: left;
	margin: 0 5px 5px 0;
}

#footer .widget_tag_cloud a,
#sidebar .widget_tag_cloud a{
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: #f3f3f3;
}

.widget_tag_cloud:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.widget_tag_cloud {
    display: inline-block;
}

html[xmlns] .widget_tag_cloud {
    display: block;
}

* html .widget_tag_cloud {
    height: 1%;
}

/*Twitter Widget--------------------*/

#twitterBox{
	margin: 0 0 10px 0;
}

ul#twitter_update_list li{
	line-height: 1.4em !important;
	margin-bottom: 15px;
}

.twitterLink a{
	font-style: italic;
}

/*Flickr Widget--------------------*/
#flickrBox .flickrImage {
	float: left;
	margin: 0 12px 12px 0;
	padding: 3px;
}

#sidebar #flickrBox .flickrImage {

}

#flickrBox .flickrImage img {
	width: 70px;
	height: 70px;
	float: left;
	border-radius: 5px;
	max-width: 70px;
}

/*/////////////////////////////////////////////////////////////////////
//  09 - Comments
////////////////////////////////////////////////////////////////////*/

#comments {
	position: relative;
	margin: 0 0 30px 0px;
	width: 95%;
	padding: 20px 0 0 0;
}

.twoThirds #comments {
	width: 95%;
}

#content.project #comments {
	padding-top: 30px;
}

#comments ul{
	list-style: none;
	margin: 0 0 30px 0;
}

#comments h3{
	margin: 0 0 30px 0;
	font-weight: bold;
}

#content #comments ul li{
	font-size: 1em !important;
}

#trackbacks {
	margin: 30px 0 0 40px;
}

ol#commentslist {
	margin: 0 0 0 0px;
	list-style: none;
	padding: none;
	padding: 0;
}

#commentslist .children li {
	padding: 15px 0 0 30px;
	background: transparent url(images/comment_marker.gif) no-repeat 0px 40px;
	border-left: 1px solid #e3e3e3;
}

.comment {
	position: relative;
	margin: 0 0 0 0;
	padding: 0 0 20px 0;
}

.comment .avatar {
	position: absolute;
	left: 0;
	top: 0;
	border-radius: 35px;
	-webkit-border-radius: 35px;
	-moz-border-radius: 35px;
	-o-border-radius: 35px;
	-ms-border-radius: 35px;
	-khtml-border-radius: 35px;
	width:75px;
	height:75px;
}

#commentForm label {
	padding-left: 20px;
}

.comment h5 {
	margin: 0 0 0 100px;
	padding: 0;
	font-weight: bold;
}

.comment .date {
	margin: -5px 0 10px 100px;
	display: block;
	color: #a5a5a2;
	font-style: italic;
	font-size: .75em;
}

.comment p {
	margin: 0 0 10px 100px;
}

.comment-reply-link,
.comment-reply-login {
	margin: 0 0 0 100px;
	font-size: .95em;
}

.comment-reply {
	display: inline-block!important;
	padding: 0 0 0 10px;
}

#comment-add {
	position: absolute;
	top: -5px;
	right: 0px;
}

.moderation {
	margin: 0px;
	padding: 0 0 10px 25px;
}

#trackbacks ul {
	margin: -5px 0 15px;
}

#trackbacks ul li {
	padding: 5px 0 5px 20px;
}

/* Comment Form */

#commentForm {
	position: relative;
	margin: 30px 0 30px 0px;
}

#comments #respond {
	position: relative;
	padding: 0 0 0;
	margin: 0;
}

#respond .form-allowed-tags {
	display: none;
}

#respond form {
	margin: none;
	padding: none;
	position: relative;
}

#commentForm h3 {
	font-weight: bold;
}

.cancel-comment-reply {
	float: right;
	margin: 5px 90px 0 0;
}

#cancel-comment-reply-link {
	margin-left: 20px !important;

}

#comments textarea {
	width: 90% !important;
}

#comments input[type="text"] {
	width: 50%;
	margin-right: 20px;
}


/*////////////////////////////////////////////////////////////////////
//  10 - Pagination
////////////////////////////////////////////////////////////////////*/

.pagination {
	padding: 0 0 30px !important;
	clear: both;
	margin: 0 0 15px 0;
}

.page-template-page-portfolio-php .pagination {
	text-align: center;
	margin: 0;
	padding: 20px 0 !important;
}

.page-template-page-portfolio-php .pagination .inside {
	display: inline-block;
}

.pagination span,
.pagination a,
.pagination-prev a,
.pagination-next a,
.older-comments,
.newer-comments {
	display: block;
	float: left;
	width: auto;
	height: 24px;
	line-height: 24px;
	margin: 0 5px 0 0;
	padding: 0 8px;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
}

.pagination-prev a:hover,
.pagination-next a:hover,
.wp-pagenavi a:hover,
.wp-pagenavi .current {

}

.pagination-prev a,
.pagination-next a {
	float: none;
	margin: 0px;
}

.pagination-prev,
.pagination-next {
	float: left;
	width: auto;
	margin: 0px;
}

.pagination-prev {
	float: right;
}

/*////////////////////////////////////////////////////////////////////
//  11 - Footer
////////////////////////////////////////////////////////////////////*/

#footer {
	background: #f7f7f7;
}

#footer .inside {
	max-width: 65.5em;
	margin: 0 auto 0;
	padding: 0px 0 0;
}

#footer .widgetBox h3{
	color: #6a6a6a;
}

#footer .meta {
	color: #919191;
}

#footer .main {
	padding: 50px 0 10px 0;
	margin: 0 30px 0 0;
}

.footerBox{
	margin: 0 0 40px 20px;
	float: left;
	position: relative;
}

.footerBox p{
	padding: 0;
}

#footer a {
	color: #6a6a6a;
}

#footer a:hover {
	color: #47474b;
}

#footer .secondary {
	margin: 0 30px 0;
	padding: 40px 0 20px;
	border-top: 1px solid #e3e0db;
}

#footer .secondary p{
	font-size: .9em;
}

#footer .secondary .left {
	float: left;
}

#footer .secondary .right {
	float: right;
}

/*////////////////////////////////////////////////////////////////////
//  12 - Media Queries
////////////////////////////////////////////////////////////////////*/

/* iPad Landscape */

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
	#homeBanner {
		height: 350px;
		background-position: center -50px !important;
	}

	#bannerText {
		position: absolute;
		top: 50% !important;
		margin-top: -50px;
	}
}

/* iPad Portrait */

@media only screen and (max-width: 975px) {
	.home .slideshow .details h2 {
		font-size: 1.9em;
	}

	.home .slideshow .details p {
		font-size: 1.0em !important;
	}

	.home .slideshow .flex-direction-nav {
		display: none;
	}

	.widgetBox {
		margin-left: 25px !important;
	}
}

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

	/* Mobile Menu */

	.menuToggle {
		display: block;
		width: 23px;
		height: 20px;
		background-size: 23px 20px !important;
		right: 20px;
		margin-top: -10px;
	}

	#mainNav li{
		margin: 0 0 0 3%;
	}

	#mainNav {
		display: none;
	}

	#slideNav #mainNav {
		display: block;
		position: relative;
		height: auto;
	}

	#pageslide { width: 200px !important; }

	/*Column Shortcodes------------------*/
	.one_half{ width:100%; }
	.one_third{ width:100%; }
	.two_third{ width:100%; }
	.one_half,.one_third,.two_third{ position:relative; margin-right:0%; float:none; }
	.last{ margin-right:0 !important; clear:right; }
	.clearboth {clear:both;display:block;font-size:0;height:0;line-height:0;width:100%;}
}

@media only screen and (max-width: 768px) and (orientation:portrait) {

	#comments { width: 100%;}

	#sidebar {
		float: none;
		width: 95%;
		padding: 10px 0 30px 0 !important;
	}

	#content.twoThirds {
		width: 100%;
		float: none;
	}

	.sidebarBox {
		float: left;
		margin: 0 3% 30px 0 !important;
		width: 30%;
	}

	.widgetBox {
		width: 45% !important;
	}

	#comments { width: 100%;}
}

/*layouts smaller than 600px, iPhone and mobiles*/
@media only screen and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 600px)  {

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

	h1 { font-size: 1.2em;}
	h2 { font-size: 1.1em;}
	h3 { font-size: 1.0em;}
	h4 { font-size: .9em;}
	h5 { font-size: .8em;}

	p {
		line-height: 1.6em;
		font-size: .95em;
	}

	#header .inside {
		padding: 20px 0 20px 0;
	}

	#header #logo {
		width: 30%;
	}

	#pageHead {
		margin: 0 0px 25px;
	}

	#pageHead h1 { font-size: 1.2em;}

	.flex-direction-nav, .flex-caption { display: none !important;}

	.home .slideshow .details h2 {
		font-size: 1.4em;
	}

	.home .slideshow .details p {
		font-size: 1.2em !important;
		display: none;
	}

	#comments { width: 100%;}
	.twoThirds #comments { width: 100%;}

	#content .post {
		margin-bottom: 20px;
		padding-bottom: 5px!important;
	}

	.project {
		padding: 35px 30px 10px 30px;
	}

	.project .head {
		margin-bottom: 30px;
	}

	.project h2 {
		font-size: 1.3em;
		margin-bottom: 5px;
	}

	.project .description p {
		font-size: .95em;
		line-height: 1.2em;
	}

	#content.twoThirds {
		width: 100%;
		float: none;
	}

	#comments {
		padding: 10px 0 0 0;
	}

	.comment h5 { font-size: .95em; }

	#sidebar {
		float: none;
		width: 95%;
		padding: 10px 0 30px 0 !important;
	}

	.sidebarBox {
		float: left;
		margin: 0 30px 30px 0 !important;
	}

	.footerBox {
		float: left;
		margin: 0 30px 30px 30px !important;
	}

	.widgetBox {
		width: 90% !important;
	}

	#flickrBox .flickrImage {
		margin: 0 8px 8px 0;
	}

	.post .moreLink {
		display: none;
	}

	#footer { padding: 0 !important;}

	#footer #flickrBox .flickrImage {
		margin: 0 5px 5px 0;
	}

	#footer .secondary{
		text-align: center;
		margin: 0 10px;
	}

	#footer .secondary p{
		margin: 0px;
		padding: 0px;
	}

	#footer .secondary .left,
	#footer .secondary .right{
		float: none;
	}

	#footer .secondary .right{
		float: none;
		padding-bottom: 15px;
	}

	.gallery-item img{
		width: 90%;
	}

	/*Column Shortcodes------------------*/

	.one_half{ width:100%; }
	.one_third{ width:100%; }
	.two_third{ width:100%; }
	.one_half,.one_third,.two_third{ position:relative; margin-right:0%; float:none; }
	.last{ margin-right:0 !important; clear:right; }
	.clearboth {clear:both;display:block;font-size:0;height:0;line-height:0;width:100%;}
}

/* iPhone Landscape */
@media screen and (max-width: 480px) and (orientation: landscape) {

	.widgetBox {
		width: 90%;
		float: left;
	}

	#mainNav ul{
		margin: 0 0 0 17px;
	}
}

/* iPhone Portrait */
@media screen and (max-width: 480px) and (orientation: portrait) {
	#homeMessage p {
		font-size: 1em;
	}
	.widgetBox {
		width: 87%;
		float: none;
	}

	.comment .avatar {
		width:40px;
		height:40px;
	}

	.comment-reply-link,
	.comment-reply-login,
	.comment h5,
	.comment .date,
	.comment p {
		margin-left: 65px;
	}

	#commentForm input[type="text"], #comments input[type="text"] {
		width: 40% !important;
		margin-right: 5px !important;
	}

	#commentForm label, #comments label {
		font-size: .8em;
	}
}