/*  
Theme Name: Reveal
Theme URI: http://themetrust.com/themes/reveal
Description: A Responsive and Minimal Portfolio Theme
Version: 1.1.7
Author: Theme Trust
Author URI: http://themetrust.com
Tags: portfolio, responsive, blog, clean, minimal, white, two-columns, custom-background, threaded-comments, translation-ready, custom-menus

TABLE OF CONTENTS

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

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

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	background: transparent;
}

html {height: 101%;}

body {
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {	
	clear: both;
}
ul {
	list-style: none;
}

blockquote {
	quotes: none;	
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img { border: none; }

img { display: block; }

input[type="submit"]::-moz-focus-inner {border:0;}
input[type="submit"]::-webkit-focus-inner {border:0;}

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

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

/* Isotope ----------- */

.isotope-item {
	z-index: 2;
}

.isotope-hidden.isotope-item {
	pointer-events: none;
	z-index: 1;
}
/**** Video Embeds ****/

.videoContainer {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 0px;
	height: 0;
	overflow: hidden;
}

.videoContainer iframe,  
.videoContainer object,  
.videoContainer embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


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

body {
	font-size: 100%;
	font-family: "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;	
	width:auto; height:auto;	
	padding: 0 0 0 0;
	margin: 0;
	color: #7d7d7b;	
	background-color: #f0f0f0;	
}

p {
	line-height: 1.7em;
	font-size: .75em;
	margin: 0 0 20px 0;	
}

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: #77a7b9;	
}

a:hover {
	color: #8dc7dc;	
}

a img {
	border:none;
}

h1, h2, h3, h4, h5, h6{		
	margin: 0 0 15px 0;
	font-weight: normal;
}

blockquote, address {
	margin: 0 0 30px 0;
	padding: 0 30px 0 30px;	
	font-style: italic;
	font-size: 1.2em;
	font-family: Georgia, Times, "Times New Roman", serif;	
}

blockquote {
	background: transparent url(images/quote.png) no-repeat;	
}

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;
}

.left {
	float: left;	
}

.right {
	float: right;	
}

.meta {
	color: #b0b0ad;
}

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

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

input[type="text"], textarea {
	background-color: #fafafa;	
	padding: 10px;
	font-family: "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #6a6a6a;	
	border: 1px solid #ddd;
	background:	#fafafa url(images/field_bkg.png) repeat-x;	
}

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

textarea { width: 80%; font-size: 13px;}



/* 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;		
}

.wp-caption-text {
	font-size: .75em;
	text-align: left;
	padding-top: 7px;
}

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

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

#main {
	margin: 0 auto;
	padding: 30px 0 0 0;
	background: #fff;
	max-width: 62.5em;			
}

.home #main {	
	border: none;		
}

.home.page #content {
	padding-top: 30px !important;
}

#main.full {
	background: none;
}

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

#sidebar {
	width: 220px;
	float: right;
	margin: 0 3% 0 0;
	padding: 0 0 0 0;		
}

.home #sidebar {	
	padding: 30px 0 0 0;		
}

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

.oneFourth {
	width: 220px;	
}

.oneThird {
	width: 280px;	
}

.threeFourth {
	width: 720px;	
}

.full {
	width: 970px;
}

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

#header{	
	width: 100%;
	background: #000;
	position: relative;
	padding: 0 0 0 0;
	margin: 0 0 0 0;	
}

#header .inside{	
	max-width: 62.5em;
	margin: 0 auto;	
	position: relative;
	padding: 20px 0 20px 0;	
	background: transparent url(images/header_bkg.png);
}

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

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

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

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


/* Top level navigation */

#mainNav{	
	right: 3%;	
	position:absolute; top:50%; height:20px; margin-top:-10px;	
	font-family: Helvetica, arial, sans-serif;	
}

#mainNav li{
	margin: 0 0 0 1.5em;	
	display: inline-block;		
	padding: 0;	
}

#mainNav ul a{
	line-height: 25px;	
	color: #7b7b7b;
	font-size: .75em;		
}

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


#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,
#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 {
	text-decoration: none;
	color: #fff;		
}

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

/* Second level+ dropdowns */

#mainNav ul ul {
	padding: 0 0px 0 0px !important;
	margin-top: -1px;
	background: #000 url(images/header_bkg.png);
}
	

#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 15px !important;		
}

#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; }

/** arrow **/

#mainNav .sf-menu a.sf-with-ul {
	position: relative;
	min-width:		1px;
}

.sf-sub-indicator {
	position: absolute;
	bottom: 0px;	
	display:		block;
	width: 100%;
	text-indent: 	-999em;
	overflow:		hidden;
	z-index: 200;
	height: 40px;
}

.sfHover .sf-sub-indicator {
	
	bottom: -10px;	
}

#mainNav .sf-menu li ul .sf-sub-indicator {
	display: none;
}

#mainNav .sf-menu li ul .sfHover .sf-sub-indicator {
	
	position: absolute;
	top: 0;
	right: -1px;
	left: none;
	display: block;	
}

.sfHover a.sf-with-ul .sf-sub-indicator {
	height: 30px;
}

.children .sf-sub-indicator {
	display: none;
}


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

#content {
	margin: 0 0 20px 3%;
	padding: 0 0 0 0 !important;
	width: 70%;
	float: left;							
}

#content.full {
	margin: 0 0 20px 3%;
	padding: 0 0 0 0 !important;
	width: 94%;						
}

#content.fullProjects{	
	width: 100%;
	margin-left: 0;					
}

#content.fullProjects .page{	
	margin: 0 30px 0 30px;				
}

#content.project {	
	width: 94% !important;							
}

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

.home #content.threeFourth {
	padding-top: 30px !important;
}

#content .post {
	margin: 0 0 30px 0px;
	position: relative;
	border-bottom: 1px solid #e4e4e4;
	padding-bottom: 15px;
	min-height: 245px;
	width: 98%;		
}

.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: .75em;
	line-height: 1.5em;		
}

#content .post.lastPost {
	border-bottom: none;
}

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

#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 {		
	padding: 10px 0 30px 0;	
	margin: 0 3% 30px 3%;
	border-bottom: 1px solid #e4e4e4;
	position: relative;		
}

#pageHead h1 {	
	font-size: 33px;
	line-height: .7em;
	padding: 0;
	margin-bottom: 0;	
	display: block;		
}

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

/*Home Message------------------*/

#homeMessage {	
	margin: 0 3% 0 3%;	
}

#homeMessage.withBorder {
	border-bottom: 1px solid #e4e4e4;
}

#homeMessage p{	
	font-size: 3.125em;
	font-family: "Droid Serif", Georgia, Times, "Times New Roman", serif;
	line-height: 1.1em !important;
}



/*Portfolio Navigation------------------*/

#content #portfolioNav{
	padding: 0!important;
	margin: 0 0 20px 0!important;	
}

#content #portfolioNav li{
	padding: 1px 0 0 0;
	background: none;
	margin: 0 6px 6px 0;	
	display: block;
	float: left;	
}

#portfolioNav li a{
	font-size: 12px;	
	background: #f3f3f3;	
	display: inline-block;	
	text-decoration: none;
	position: relative;		
	padding: 0 6px 0 !important;	
	border: none;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	line-height: 24px;
	color: #7d7d7d;	
}

#portfolioNav li a:hover {
	background: #6a6a6a;
	color: #fff;
}

#portfolioNav li.current-cat a {
	background: #12aee8;
	color: #fff;
}

#filterNav {
	margin-bottom: 30px!important;
	display: block;	
}


/*Project Filter Navigation------------------*/

#content #filterNav{
	padding: 0!important;
	margin: 0 0 20px 0!important;	
}

#content #filterNav li{
	padding: 1px 0 0 0;
	background: none;
	margin: 0 5px 5px 0;	
	display: block;
	float: left;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#filterNav li a{
	font-size: 11px;	
	background: #f0f0f0;	
	display: inline-block;	
	color: #7d7d7b!important;
	text-decoration: none;
	position: relative;
	cursor: pointer;	
	padding: 0 6px 0 !important;	
	border: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	line-height: 20px;			
}

#filterNav li a:hover {
	background: #6a6a6a;
	color: #fff !important;
}

#filterNav .selected {
	background: #6a6a6a;
	color: #fff !important;
}


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

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

.page-template-portfolio-php #pageHead.withBorder {
	border-bottom: 1px solid #e4e4e4;
}

#ajaxLoading {
	width: 16px; height: 16px;
	background: transparent url(images/ajax_loading.gif) no-repeat;
	position: absolute;
	left: 3%;
	top: 30px;
	display: block;
	display: none;
}

#projects {
	margin: 0 0 0 3%;
	width: 97%;	
}

#projects {	
	list-style: none;	
}

#projects .thumbs {
	margin: 0 auto;			
}

#content #projects li{
	padding: 0;
	background: none;		
}

#content .project.small{	
	width: 22.7%;
	height: auto;
	display: block;	
	margin: 0 2% 20px 0;	
	padding-bottom: 0;
	cursor: pointer;
	float: left;	
	position: relative;		
}

#content .project.small img{
	width: 100%;
	height: auto;	
}

#content .project.small .title {
	display: none;	
	color: #FFF;
	position: absolute;
	bottom: 0;
	left: 0;	
	padding: 0;
	font-size: 0.917em;		
	width: 100%;
	font-size: 11px;
	line-height: 1.1em;
	background: transparent url(images/black_alpha_50.png);	
}

#content .project.small.selected .title{
	zoom: 1;
	filter: alpha(opacity=100);
	opacity: 1;
	display: block;
	visibility: visible;
}

#content .project.small .title span{
	padding: 12px 17px 12px 17px;
	display: block;
}

#projectBox {
	margin-bottom: 30px;
	padding: 0 0 0 0;	
	overflow: hidden;
	background: #e2e2e1;
	height: auto;	
}

#projectHolder {
	margin: 0 3% 0 3%;
	height: auto;
	display: none;			
}

.projectHeader {	
	margin-bottom: 20px;
	padding: 0 0 0 0;
	position: relative;
}

.projectHeader h1{
	margin: 0;
	font-size: 1em;
	display: block;
	width: 75%;
}

#pageHead .projectNav {	
	top: 5px;
}

.projectNav {		
	padding-top: 0;	
	position: absolute;
	right: -10px;
	top: -5px;
}

.projectNav a{
	display: block !important;
	width: 20px;
	height: 20px;
	text-indent: -9999px;
}

.projectNav div {
	float: left;
	margin-right: 5px;
	width: 20px;
	height: 20px;
}

.projectNav .previous {	
	margin-right: 10px;	
}

.projectNav .closeBtn{
	background: transparent url(images/close_btn.png) no-repeat;
	background-position: 0 -20px;
}

.projectNav .closeBtn:hover{	
	background-position: 0 0;
}

.projectNav .previous a{
	background: transparent url(images/project_nav_btn.png) no-repeat;
	background-position: -20px -20px;
}

.projectNav .previous a:hover{
	background: transparent url(images/project_nav_btn.png) no-repeat;
	background-position: -20px 0px;
}

.projectNav .previous.inactive {
	background: transparent url(images/project_nav_btn.png) no-repeat;
	background-position: -20px -40px;	
}

.projectNav .next a{
	background: transparent url(images/project_nav_btn.png) no-repeat;
	background-position: 0 -20px;	
}

.projectNav .next a:hover{
	background: transparent url(images/project_nav_btn.png) no-repeat;
	background-position: 0 0px;
}

.projectNav .next.inactive {
	background: transparent url(images/project_nav_btn.png) no-repeat;
	background-position: 0 -40px;
}

.project.ajax {
	padding-top: 30px;
}

.project .visuals {
	float: left;
	width: 74.468085%;
	padding: 0;
	margin-bottom: 30px;
	padding-top: 5px;	
}

.project .visuals .flexslider {
	margin-bottom: 0;
}

.project .details {
	float: right;
	width: 22%;	
	padding: 0px 0 0 0;				
}

.project .left h1{
	font-size: 20px;
	margin-bottom: 15px;
}

.single-projects #content {
	width: 70%;
}

/*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: 0px;
	margin-bottom: 25px!important;
	margin-top: 0px !important;	
}

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

.gallery img {
	border: none!important;
}

#projectBox .gallery {
	margin-top: -15px !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: .75em;	
}

#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;	
}

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

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

#projectHolder .flexslider {
	margin: 0 0 15px 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!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 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 { height: auto;}
.flex-direction-nav, .flex-control-nav, .flex-caption { margin-bottom:0 !important;}

/* Caption style */

.flex-caption {display: inline-block; width: 30%; padding: 2%; position: absolute; left: 15px; bottom: 15px; color: #fff; font-size: 1.2em !important; line-height: 1.3em;}
.flex-caption h2 {
	color: #fff;
	background: #ef4135;
	font-size: 1em;
	margin-bottom: 3px !important;
	padding: 12px 15px 12px 15px;
	width: auto;
	display: inline-block;
}

/* IE rgba() hack */
.flex-caption p{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 p {
	margin-bottom: 0;
	color: #fff;
	font-size: .8em;
	line-height: 1.3em;	
	background: rgba(0,0,0,.5);
	padding: 12px 15px 12px 15px;
	width: auto;
	display: inline-block;
}

/* Direction Nav */
.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: -15px 0 0; display: block; 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;}
.single-product .flex-direction-nav li a.flex-next {right: -5px !important;}
.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 ------------------*/
#content .flex-control-nav {width: 100%; position: absolute; bottom: -30px; text-align: center;margin: 0;}
#content .flex-control-nav li {margin: 0 3px 0 3px; display: inline-block; zoom: 1; *display: inline;}
#content .flex-control-nav li a {width: 13px; height: 13px; display: block; background: url(images/slideshow_nav.png) no-repeat 0 0 !important; cursor: pointer; text-indent: -9999px;}
#content .flex-control-paging li a:hover {background-position: 0 -13px !important;}
#content .flex-control-paging li a.flex-active {background-position: 0 -26px !important; cursor: default;}

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

a.button, #footer a.button, #searchsubmit, input[type="submit"]  {	
	font-size: 12px;
	background: #757575 url(images/btn_bkg.png) repeat-x;	
	display: inline-block;	
	color: #fff;
	text-decoration: none;
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3);
	box-shadow: 0 1px 3px rgba(0,0,0,0.3);
	text-shadow: 0 -1px 1px rgba(0,0,0,0.3);	
	position: relative;
	cursor: pointer;
	font-weight: bold;	
	padding: 5px 15px 5px;
	border: 1px solid rgba(0,0,0,.2);	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin: 0 5px 0 0;	
	line-height: normal !important;
}

a.button, #footer a.button {
	padding: 6px 15px 5px;
}

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

.button:hover, #footer a.button:hover, #searchsubmit:hover, input[type="submit"]:hover {
	background-color: #595959;
	color: #fff;
}


/*//////////////////////////////////////////////////////////////////// 
//  08 - 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;
}

/*///////////////////////////////////////////////////////////////////// 
//  09 - Widgets
////////////////////////////////////////////////////////////////////*/

.homeWidgets {
	margin: 0;
	padding: 30px 0 0 0;
	border-bottom: 1px solid #e4e4e4;	
}

.homeWidgets .inside{
	margin: 0 0 0 -30px;	
}

.homeWidgets .widgetBox {
	float: left;
	margin: 0 0 10px 30px;
}

#sidebar .widgetBox h3,
#footer .widgetBox h3{
	
}

#sidebar .widgetBox .meta,
#footer .widgetBox .meta {	
	font-style: italic;	
}

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

#sidebar ul li, #footer ul li, .homeWidgets ul li{
	padding: 0px 0 0px 0;
	margin: 0 0 15px 0;	
	line-height: 1.6em;
	background: none;	
}

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

#sidebar ul li h2, #footer ul li h2{
	font-size: 13px;
	margin: 0 0 0px 0 ;	
	padding: 0 !important;	
	line-height: 1em;
	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: inline-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: 7px 10px 7px 10px !important;
	line-height: normal!important;	
	width: 195px;
	color: #9a9a9a;
	
}

#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;	
}

#sidebar .ttrust_recent_posts .title,
#footer .ttrust_recent_posts .title {	
	font-size: 13px !important;
	margin-bottom: 2px;		
}

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

.ttrust_recent_posts .firstPost p{	
	margin-bottom: 10px;
}

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

.ttrust_recent_posts .thumb{
	float: left;
	margin: 0 12px 0 0;
	padding: 3px;
	background: #fff;
	border: 1px solid #e1e1e1;
}

.ttrust_recent_posts li {
	margin-bottom: 30px;
	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: 11px !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{
	background: #7a7a7a;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;	
}

#sidebar .widget_tag_cloud a{
	background: #f3f3f3;
}

#footer .widget_tag_cloud a{
	background: #e5e5e5;
}

.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%;
}


/*Flickr Widget--------------------*/
#flickrBox .flickrImage {
	float: left;
	margin: 0 12px 12px 0;
	padding: 3px;
	background: #f0f0f0;
	border: 1px solid #e1e1e1;
}

#flickrBox .flickrImage img {
	width: 50px;
	height: 50px;
}


/*///////////////////////////////////////////////////////////////////// 
//  10 - Comments
////////////////////////////////////////////////////////////////////*/
	
#comments {
	position: relative;
	margin: 0 0 30px 0px;
	width: 74.468805%;		
	padding: 0 0 0 0;
}

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

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

#comments h3{	
	margin: 0 0 30px 0;	
}

#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;	
}

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

.comment h5 {	
	margin: 0 0 0 80px;
	padding: 0;		
}

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

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

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

.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;
}

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

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

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




/*//////////////////////////////////////////////////////////////////// 
//  11 - Pagination
////////////////////////////////////////////////////////////////////*/
	
.pagination {
	width: 98%;
	padding: 0 0 20px;	
	clear: both;	
	margin: 0 0 15px 0;	
}

.pagination-prev a,
.pagination-next a,
.wp-pagenavi a,
.wp-pagenavi .current,
.wp-pagenavi .pages,
.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;
}

.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;
}

.wp-pagenavi .pages {
	float: right;
	margin: 0px;
}


/*//////////////////////////////////////////////////////////////////// 
//  12 - Footer
////////////////////////////////////////////////////////////////////*/

#footer {	
	color: #a2a2a2;		
}

#footer a {
	color: #797979;	
}

#footer a:hover {
	color: #5b5b5b;	
}

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

#footer .secondary {	
	margin: 0 3% 0 3%;			
}

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

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

/*//////////////////////////////////////////////////////////////////// 
//  13 - Media Queries
////////////////////////////////////////////////////////////////////*/

/* iPad Landscape */

@media only screen and (max-width: 1024px) {	
	#main, #header .inside {max-width: 64.5em;}		
}

@media only screen and (max-width: 940px) {	
	#content.threeFourth { width: 60%; }	
}

/* iPad Portrait */

@media only screen and (max-width: 768px) {	
	
	#sidebar {
		float: none;
		width: 97%;
		margin-left: 3%;
		padding-bottom: 30px!important;
		padding-top: 10px;	
	}
	
	#content.threeFourth {
		width: 94% !important;
		float: none;
	}
	
	.sidebarBox {	
		float: left;
		margin: 0 3% 30px 0;	
	}	
	
	#homeMessage p{
		font-size: 2.7em !important;		
	}
	
	.project .visuals {
  		width: 100%;
		float: none;		
	}
	
	.project .visuals .flexslider {  		
		margin-bottom: 50px !important;
	}
	
	#comments { width: 100%;}	
	
	.project .details {
  		float: none;
		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;}
	
	#pageHead h1 { font-size: 1.2em;}
	#pageHead {		
		padding: 10px 0 20px 0;
	}
	
	#homeMessage{
		font-size: .5em;
		margin-bottom: 5px;
		font-family: Arial;	
	}
	#main {
		padding-top: 15px;
	}
	#mainNav {
		position: relative;	
		width: 99%;		
		margin-top: 0;
		top:0;	
	}
	
	#mainNav li{
		margin: 0 0 0 3%;
	}
	
	#mainNav ul{
		margin: 0 0 0 10px;
	}
	
	#logo {
		float: none;
		margin-bottom: 10px;
	}
	
	#content .project.small {
		margin-bottom: 12px !important;
		width: 46%;		
	}
	
	#sidebar .widgetBox {
		width: 99%;		
	}
	
	#content .post {
		margin-bottom: 20px;
		padding-bottom: 0!important;
	}
	
	#content .project.small {
		margin-bottom: 7px;		
	}
	#footer .secondary{
		text-align: center;
	}
	#footer .secondary p{
		margin: 0px;
		padding: 0px;
	}
	#footer .inside {		
		padding: 20px 0 20px;	
	}
	
	#footer .secondary .left,
	#footer .secondary .right{
		float: none;
		padding-bottom: 10px;
	}
				
	.gallery-item img{
		width: 90%;
	}
}



/* iPhone Landscape */
@media screen and (max-width: 480px) and (orientation: landscape) {
	#sidebar .widgetBox {
		width: 47%;		
	}
	#mainNav ul{
		margin: 0 0 0 17px;
	}
	
	#content .project.small {
		margin-bottom: 10px;
		width: 22.7%;		
	}	
}






