/*  
Theme Name: Baylie
Theme URI: http://themetrust.com/baylie
Description: A Bold Agency Theme
Version: 1.0.2
Author: ThemeTrust
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,h7,h8,h9,h10,h11,h12,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 p img,
.postThumb,
div.wp-caption img {
max-width: 100% !important;
height: auto;
}

.wp-caption {
max-width: auto !important;
width: auto !important;
}

.wp-caption-text {
padding: 5px 0 0 0;
font-style: italic;
}

/* Isotope ----------- */

.isotope,
.isotope .isotope-item {
  /* change duration value to whatever you like */
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:         top, left, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

.isotope-item {
z-index: 2;
}

.isotope-hidden.isotope-item {
pointer-events: none;
z-index: 1;
}

.fade {
   opacity: 1;
   transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out;
}

.fade:hover {
   opacity: 0.5;
}

/* ///////////////////////////////////////////////////////////////////// 
//  02 - Global 
/////////////////////////////////////////////////////////////////////*/

body {
font-size: 100%;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
width:auto; height:auto;
margin: 0;
color: #333;
background-color: #fff;
font-weight: normal;
}

p {
line-height: 1.8em;
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;
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, h7, h8, h9, h10, h11, h12, h13, h14, h15{
margin: 0 0 15px 0;

color: #000;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1 {font-size: 2.5em;}
h2 {font-family: "myriad-pro"; font-size: 3.8em; color: #000; font-weight: 600; letter-spacing:-2px}
h3 {font-size: 1.2em; font-weight: 900 !important;}
h4 {font-family: "myriad-pro"; font-size: 3.0em; color: #000; font-weight: 300; letter-spacing:-1px}
h5 {font-family: "myriad-pro"; font-size: 1.3em; color: #bbbbbb; font-weight: 300; letter-spacing:-0.5px; margin: 0 30px !important;}
h6 {font-family: "myriad-pro"; font-size: 1.7em; color: #333333; font-weight: 300; letter-spacing:-0.5px; margin: 0 30px !important;}
h7 {font-family: "myriad-pro"; font-size: 1.1em; color: #000; font-weight: 200; letter-spacing:-0.0px; margin: 0 0px; !important;}
h8 {font-family: "myriad-pro"; font-size: 1.1em; color: #444444; font-weight: normal; letter-spacing:-0.0px; line-height: 25px; margin: 0 0px; !important;}
h9 {font-family: "myriad-pro"; font-size: 2.8em; color: #000; font-weight: 600; letter-spacing:-2px; text-align: center;}
h10 {font-family: "myriad-pro"; font-size: 1.1em; color: #333333; font-weight: 600; letter-spacing:-0.0px; line-height: 30px; margin: 0 0px; !important;}
h11 {font-family: "myriad-pro"; font-size: 5.2em; color: #000; font-weight: 200; letter-spacing:-4px}
h12 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #333;
font-size: 1.7em;
line-height: 2.0em;
margin: 0 0 20px 0;
font-weight: bold;
font-style: normal;
}

h13 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #333;
line-height: 1.8em;
font-size: 0.9em;
font-weight: normal;
font-style: italic;
}

h14 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
width:auto; height:auto;
color: #333;
font-size: 2.8em;
margin: 0 0 20px 0;
font-weight: bold;
font-style: normal;
}

h15 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
width:auto; height:auto;
color: #333;
line-height: 1.8em;
font-size: 0.75em;
margin: 0 0 20px 0;
font-weight: bold;
font-style: normal;
}



bloglink {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
width:auto; height:auto;
color: #333;
line-height: 1.8em;
font-size: 0.75em;
margin: 0 0 20px 0;
font-weight: bold;
font-style: normal;
}

bloglink a {
text-decoration: none;
outline: none;
}

bloglink a{
color: #b0b0ad;
}

bloglink a:hover {
color: #333;
}








bloglink2 {
line-height: 1.8em;
font-size: 1em;
margin: 0 0 20px 0;
font-weight: normal;
font-style: normal;
}

bloglink2 a {
text-decoration: none;
outline: none;
}

bloglink2 a{
color: #333;
}

bloglink2 a:hover {
color: #b0b0ad;
}











h12, h14{ /*reset for mobile browsers */

font-weight: bold;

}



m1 {font-family: "myriad-pro"; font-size: 3.2em; color: #000;}
m2 {font-family: "myriad-pro"; font-size: 3.8em; color: #000; font-weight: 300; letter-spacing:-2px}
m3 {font-family: "myriad-pro"; font-size: 2.2em; color: #000;}
m4 {font-family: "myriad-pro"; font-size: 1.6em; color: #000;}
m5 {font-family: "myriad-pro"; font-size: 1.3em; color: #000;}
m6 {font-family: "myriad-pro"; font-size: 1.0em; color: #000;}
m7 {font-family: "myriad-pro"; font-size: 1.1em; color: #000; font-weight: 700}
m8 {font-family: Georgia, Times, "Times New Roman", serif; font-size: 0.7em; color: #000; font-weight: 300; font-style: italic}

x2 {font-size: 2.2em;}
x4 large thin  {font-family: "myriad-pro"; font-size: 3.0em; color: #000; font-weight: 300}

x6 {font-family: "myriad-pro"; font-size: 2.8em; color: #000; font-weight: 600; letter-spacing:-2px}

blockquote {
margin: 0 0 30px 0;
padding: 0 30px 0 30px;
font-style: italic;
font-size: 1.3em;
font-family: Georgia, Times, "Times New Roman", serif;
border-left: 1px solid #ccb676;
}









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: #f7f7f7;
overflow: auto;
border: 1px solid #e4e4e4;
font-family: "Courier New", Courier, serif;
}

.left {
float: left;
}

.right {
float: right;
}

.meta {
color: #b0b0ad;
}

.meta a {
  color: #7d7d7b !important;
}

.meta a:hover{
color: #b0b0ad !important;
}

input[type="email"], input[type="text"], input[type="password"], 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; }



/* Clearfix ----------- */

/* Some clearfix code from HTML5 Boilerplate */
.clearfix:before, .clearfix:after, .single-theme .features:before, .single-theme .features:after {
content: "\0020";
display: block;
height: 0;
visibility: hidden;
}

.clearfix:after, .single-theme .features:after {
clear: both;
}

.clearfix, .single-theme .features {
zoom: 1;
}

a.action {
font-style: italic;
}








.my_custom_page #middle {max-width: 100% !important; padding: 0;}
.my_custom_page #middle img {width: 100%;}

.my_custom_home_page #middle {max-width: 100% !important; padding: 0;}
.my_custom_home_page #middle img {width: 100%;}

.page-home #middle {max-width: 100% !important; padding: 0;}
.page-home #middle img {width: 100%;}





/* //////////////////////////////////////////////////////////////////////
//  03 - General Layout 
//////////////////////////////////////////////////////////////////////*/

#container {
width: 100%;
margin: 0 auto;
}

#middle {
margin: 0 auto;
background: #fff;
padding: 1px 30px 0;
position: relative;
-webkit-backface-visibility:hidden; /* Chrome and Safari */
-moz-backface-visibility:hidden; /* Firefox */
-ms-backface-visibility:hidden; /* Internet Explorer */
max-width: 62.5em !important;
z-index: 100;
}

.home #inner {
max-width: 62.5em !important;
margin: 0 auto;
padding-top: 40px;
}

.home #middle {
max-width: 100% !important;
padding: 0 30px;
}

.page-template-page-portfolio-php #middle, .tax-skill #middle {
padding: 0 !important;
max-width: 100% !important;
background: #f8f8f8;
}

.page-template-page-home-php #middle {
padding: 0 !important;
max-width: 100% !important;
}

.home #wrap {
padding-top: 0 !important;
}

#main {
margin: 0 auto 0;
padding: 0 0 0;
background: #fff;
}

#main.full {
background: none;
}

#content {
padding: 0 0 0 0;
float: left;
margin: 0 0px 0 0;
position: relative;
width: 62.5%;
}

#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: 30%;
}

/*////////////////////////////////////////////////////////////////////////
//  04 - Header
///////////////////////////////////////////////////////////////////////*/

#header{
position: relative;
padding: 0 0 0 0;
margin: 0 0 0 0!important;
}

.home #header{
text-align: center;
}

.home.has-slideshow #header .top{
width: 100%;
top: 0;
z-index: 0 !important;
text-align: center;
}

#header .inside{
padding: 20px 30px 20px 30px;
margin: 0 auto !important;
max-width: 62.5em;
margin: 0 auto;
position: relative;
}

#header .bottom{
z-index: 400 !important;
position: relative;
width: 100%;
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 .tinynav {
display: none;
}

#logo {
display: inline-block;
margin: 0px 0 0 0;
float: left;
padding: 0;
}

#logo h1, #logo h3 {
margin: 0 !important;
line-height: 1em !important;
padding: 0 !important;
font-size: 1.5em;
font-weight: bold;
color: #555555;
}

#header h1 a, #header h1 a:hover,#header h3 a, #header h3 a:hover {
color: #555555 !important;
}

#header .stuck {
position:fixed;
top:0;
width: 100%;
}

.admin-bar #header .stuck {
top:28px;
}

/* Top level navigation */

#mainNav{
right: 30px;
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.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 {
text-decoration: none;
color: #2e2e2e;
}

#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;
}

#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 auto 40px;
padding: 0 0 0 0 !important;
width: 68%;
float: left;
}

#content .videoContainer {margin-bottom: 30px;}

#content.full {
margin: 0 0;
padding: 0 0 0 0 !important;
width: 100%;
}

#content.full.grid {
margin: 0 0 20px 0%;
}

.home #content.full, .page-template-page-home-php #content.full {
width: 100%;
}

.page-template-page-full-width-php #content {
margin-bottom: 20px;
}

#content.fullProjects{
width: 100%;
}

#content.twoThirds .page {
width: 99%;
}

#content h1 a,
#content h2 a,
#content h3 a,
.widgetBox h3 a,
#slideshow .slideText h3 a,
#content h4 a,
#content h5 a{
color: #000;
}

#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: #BDBDBD;
}

#content .postThumb{
margin: 0 0 20px 0 !important;
}


body #pageHead, #pageHead h1 {
color: #fff;
background: #252525;
}


#pageHead {
padding: 70px 30px 60px;
margin: 0 0 40px 0;
text-align: center;
background: #f8f8f8;
}

#pageHead .inside {
max-width: 62.5em;
margin: 0 auto;
position: relative;
}

#pageHead h1 {
font-size: 2.5em;
line-height: .7em;
padding: 0;
margin-bottom: 0;
display: inline-block;
}

#pageHead p {
margin: 0!important;
padding: 15px 0 0 0!important;
color: #b2b2b2;
line-height: 1em;
}

.page-template-page-portfolio-php #pageHead {
margin-bottom: 0;
padding-bottom: 40px;
}

.tax-skill #pageHead {
margin-bottom: 0;
padding-bottom: 60px;
}

h2.extraSpacing { padding-top: 10px; }

.boxItem {
padding: 30px 0 15px;
}

/*Posts ------------------*/

.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 .moreLink a {
font-size: 1em;
background: #f0f0f0;
display: inline-block;
color: #7d7d7b !important;
padding: 7px 11px 7px !important;
border: none;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
line-height: 1em;
text-transform: uppercase;
font-weight: bold;
}

#content .moreLink a:hover {
background: #e6e6e6;
}


#content .post.lastPost {
background: none;
}

#content .post {
margin: 0 0 50px 0px;
position: relative;
padding-bottom: 10px;
width: 98%;
}

.blog #content.full .post h2, .archive #content.full .post h2, #content.full .post h1, #content.full .post .meta, #content.full .post .moreLink {
text-align: center;
}




.post h2 { text-align: center;}






.post.small .inside {
background: #fff;
}

.post.small .inside .text {
margin:  0 30px;
padding: 30px 0 20px;
}

.search #content .post {
min-height: 50px;
}

/*Home ------------------*/

#homeMessage {
background: #252525;
color: #fff;
padding: 70px 0;
}

#homeMessage.light{
color: rgba(0,0,0,.7);
}

#homeMessage .inside{
max-width: 62.5em !important;
margin: 0 auto;
font-family: "Droid Serif", "Georgia", serif;
}

#homeMessage .inside p{
font-size: 2.5em;
line-height: 1.5em;
text-align: center;
margin: 0 30px;
}

.homeSection {
padding: 80px 0 50px;
}

.homeSection .sectionHead h3 {
font-size: 2.8em;
margin: 0 0 0 0;
clear: both;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #2b2b2b;
}

.homeSection .sectionHead {
max-width: 63.5em !important;
padding: 0 0 15px!important;
margin: 0 auto 15px;
text-align: center;
}

.homeSection .sectionHead p{
font-size: 1em;
margin: 0 0 15px 0;
}

.homeSection .sectionHead .inside{
margin: 0 15px 0;
}

/*Testimonials ------------------*/

#testimonials.homeSection {
padding: 0 !important;
margin: 0 !important;
}

#testimonials .sectionHead p{
background: none;
}

#testimonials p span {
background: none;
}

#content #testimonials .flexslider{
background: transparent;
padding: 0 !important;
margin: 0 !important;
}

#content #testimonials .flexslider .slides{
background: transparent;
margin: 0 auto !important;
}

.slides .testimonial {
width: auto;
height: 500px;
}

.slides .testimonial .inside{
height: 100%;
display: table !important;
margin: 0 auto;
}

.slides .testimonial .text{
max-width: 900px;
padding: 0 30px !important;
color: #fff;
display: table-cell !important;
vertical-align: middle;
font-size: 1.8em;
}

.slides .testimonial .text p {
font-size: 1em;
font-family: "Droid Serif", "Georgia", serif;
}

.slides .testimonial .text .title {
font-size: .7em;
padding-top: 40px;
display: block;
font-style: italic;
}

#testimonials .flex-direction-nav a {display: none;}
#testimonials .flex-control-nav {bottom: 30px !important;}
#testimonials .flex-next:hover, #testimonials .flex-prev:hover {opacity: 0.8;}


.testimonial .left{
float: left;
}

.testimonial .left img{
border-radius: 95px;
}

/*Featured Pages------------------*/

#featuredPages {
padding: 60px 0 30px 0;
width: 100%;
max-width: none;
}

#featuredPages li.page{
text-align: center;
margin-bottom: 30px !important;
background: transparent !important;
}

#featuredPages li.page .inside{
max-width: 600px;
margin: 0 auto !important;
}

#featuredPages li .thumb{
margin-bottom: 30px;
}

#featuredPages li .image{
display: inline-block;
}

#featuredPages li .title{
font-size: 2.8em;
line-height: 1.2em;
margin: 0 30px 30px!important;
display: block;
color: #2b2b2b;
}

#featuredPages li p{
font-size: 1.3em;
font-family: "myriad-pro";
font-weight: 300;
letter-spacing:-0.5px;
color: #bbbbbb;
margin: 0 30px !important;
}

#featuredPages li .title a{
color: #000;
}


/*Home Posts ------------------*/

#homePosts {
}

.homeSection .posts {
margin: 0 auto;
}

/*Home Content ------------------*/

#homeContent.homeSection {
padding: 70px 0 45px!important;
}

#homeContent.homeSection .inside{
padding: 0 30px !important;
max-width: 1000px;
margin: 0 auto;
}

#homeContent.homeSection p {
margin-bottom: 30px!important;
}

#homeContent {
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}

#homeContent p, #homeContent img{
margin-bottom: 0 !important;
}

.home #content, .home #middle {
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}

/*Projects------------------*/

#projects {
margin: 0 auto;
padding: 0;
display: block;
position: relative;
}

#projects.homeSection {
padding-bottom: 0px;
padding-top: 0;
}

.thumbs {
margin: 0 auto;
}

#content #projects li{
padding: 0;
background: none;
}

.project.small, .isotope-item{
display: block;
position: relative;
float: left;
margin: 0 0 0 0;
height: auto !important;
padding-bottom: 0;
zoom: 1;
visibility: hidden;
float: left;
}

#content .project.small img, .isotope-item img{
width: 100% !important;
height: auto;
-moz-transition-property: opacity;
-webkit-transition-property: opacity;
-o-transition-property: opacity;
transition-property: opacity;
-moz-transition-duration: 0.4s;
-webkit-transition-duration: 0.4s;
-o-transition-duration: 0.4s;
transition-duration: 0.4s;
}

#content .project.small p{
font-size: .9em;
}

#content .project.small .inside{
background: #85bec4;
}

.project.small .inside {
position: relative;
margin: 0 auto !important;
}

#content .project.small a{
position: relative;
display: block;
margin: 0 auto;
-webkit-backface-visibility: hidden;
color: #6a6a6a;
}

#content .project.small a:hover img{
opacity: .1;
position:relative;
-webkit-backface-visibility: hidden;
}

#content .project.small a:hover .title{
opacity: 1;
top: 50%;
-webkit-backface-visibility: hidden;
}

#content .project.small .title {
font-size: 1.2em;
color: #fff;
font-weight: bold;
text-align: center;
margin-bottom: 10px;
display: block;
position: absolute;
top: 50%;
margin: -20px auto 0 !important;
width: 100%;
-moz-transition-property: opacity;
-webkit-transition-property: opacity;
-o-transition-property: opacity;
transition-property: opacity;
-moz-transition-duration: 0.5s;
-webkit-transition-duration: 0.5s;
-o-transition-duration: 0.5s;
transition-duration: 0.5s;
opacity: 0;
}

#content.project {
width: 100%;
}

.projectNav {
padding-top: 3px;
}

.projectNav.next {
float: left;
}

.projectNav.previous {
float: right;
}

.projectNav a{
font-size: 1em;
background: #f0f0f0;
display: inline-block;
color: #7d7d7b!important;
padding: 7px 11px 7px !important;
border: none;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
line-height: 1em;
text-transform: uppercase;
font-weight: bold;
}

.projectNav a:hover{
color: #484848;
}

.single-project .project .meta {
text-align: center;
border-top: 1px solid #e5e5e5;
padding: 30px 0 40px;
margin: 10px auto 0;
}

#content .skillList{
padding: 20px 0 20px !important;
margin: 0 auto 20px !important;
display: inline-block;
}

.skillList li{
background: none;
margin: 0 5px 5px 0 !important;
display: inline-block;
}

.skillList li span a{
font-size: 1em;
background: #f0f0f0;
display: inline-block;
color: #7d7d7b!important;
text-decoration: none;
position: relative;
cursor: pointer;
padding: 7px 11px 7px !important;
border: none;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
line-height: 1em;
text-transform: uppercase;
font-weight: bold;
}

.skillList li span a:hover{
background: #6a6a6a;
color: #fff !important;
}

/*Theme Filter Navigation------------------*/
#content .filterWrap {
text-align: center;
}

#content #filterNav{
padding: 0!important;
margin: 0 auto 40px auto!important;
width: auto;
text-align: center;
width: 100%;
position: relative;
}

#content #filterNav li{
padding: 0px 0 0 0;
background: none;
margin: 0 8px 8px 0;
display: inline-block;
}

#filterNav li a{
font-size: 1em;
background: #f0f0f0;
display: inline-block;
color: #7d7d7b!important;
text-decoration: none;
position: relative;
cursor: pointer;
padding: 7px 11px 7px !important;
border: none;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
line-height: 1em;
text-transform: uppercase;
font-weight: bold;
}

#filterNav li a:hover {
background: #929292;
color: #fff !important;
}

#filterNav .selected, #filterNav a.selected:hover {
background: #929292;
color: #fff !important;
}

/*Column Shortcodes------------------*/

.one_half {
    width: 49% !important;
    margin-right: 2% !important;
}
.one_half.last_column {
    width: 49% !important;
    margin-right: 0px !important;
}
.one_third {
    width: 32% !important;
    margin-right: 2% !important;
}
.one_third.last_column {
    width: 32% !important;
    margin-right: 0px !important;
}
.two_third {
    width: 66% !important;
    margin-right: 2% !important;
}
.two_third.last_column {
    width: 66% !important;
    margin-right: 0px !important;
}
.one_fourth {
    width: 23.5% !important;
    margin-right: 2% !important;
}
.one_fourth.last_column {
    width: 23.5% !important;
    margin-right: 0px !important;
}
.three_fourth {
    width: 74.5% !important;
    margin-right: 2% !important;
}
.three_fourth.last_column {
    width: 74.5% !important;
    margin-right: 0px !important;
}
.one_fifth {
    width: 18.4% !important;
    margin-right: 2% !important;
}
.one_fifth.last_column {
    width: 18.4% !important;
    margin-right: 0px !important;
}
.two_fifth {
    width: 39% !important;
    margin-right: 2% !important;
}
.two_fifth.last_column {
    width: 39% !important;
    margin-right: 0px !important;
}
.three_fifth {
    width: 59% !important;
    margin-right: 2% !important;
}
.three_fifth.last_column {
    width: 59% !important;
    margin-right: 0px !important;
}
.four_fifth {
    width: 79.6% !important;
    margin-right: 2% !important;
}
.four_fifth.last_column {
    width: 79.6% !important;
    margin-right: 0px !important;
}
.one_sixth {
    width: 15% !important;
    margin-right: 2% !important;
}
.one_sixth.last_column {
    width: 15% !important;
    margin-right: 0px !important;
}


/*Buttons------------------*/










input,
select,
textarea {
font-size: 100%; /* Corrects font size not being inherited in all browsers */
margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
vertical-align: baseline; /* Improves appearance and consistency in all browsers */
outline: 0 !important;
}

a.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
border: 1px solid #ccc;
border-color: #ccc #ccc #bbb #ccc;
border-radius: 3px;
background: none;
color: #191919 !important;
cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
font-size: 12px;
font-size: 1.2rem;
line-height: 1;
padding: .6em 1em .4em;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
border-color: #ccc #bbb #aaa #bbb;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
border-color: #aaa #bbb #bbb #bbb;
box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
-moz-box-sizing:    content-box;
box-sizing:         content-box;
outline: 0 !important;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
border: 0;
padding: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
color: #666;
border: 1px solid #ccc;
border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
color: #111;
}
textarea {
overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
padding-left: 3px;
vertical-align: top; /* Improves readability and alignment in all browsers */
width: 98%;
}
input[type="email"], input[type="text"], input[type="url"], input[type="password"], textarea {
background-color: bdbdbd;
padding: 15px;
font-family: "Open Sans", sans-serif;
color: #6a6a6a;
border: 1px solid rgba(0,0,0,.05);
background: #f7f7f7;
font-size: .9em;
-webkit-appearance: none;
}








a{

text-decoration: none;
transition-property: all;
-webkit-transition: 0.5s ease;
  -moz-transition: 0.5s ease;
    -o-transition: 0.5s ease;
   transition: 0.5s ease;
}


.button, a.button, a.button:active, a.button:visited, #footer a.button, #searchsubmit, input[type="submit"], a.post-edit-link  {
display: inline-block;
color: #494949;
text-decoration: none;
position: relative;
cursor: pointer;
padding: 15px 20px;
border: 2px solid #494949;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
margin: 0 3px 0 0;
line-height: normal !important;
-webkit-appearance: none;
font-size: .9em;
font-weight: normal !important;
text-align: center;
transition-property: all;
-webkit-transition: 0.5s ease;
  -moz-transition: 0.5s ease;
    -o-transition: 0.5s ease;
transition: 0.5s ease;
}
a.button:hover, a.post-edit-link:hover, #searchsubmit:hover, input[type="submit"]:hover {
opacity: .5;
}
.button.white:hover, a.button.white:hover, #footer a.button.white:hover {
color: #fff !important;
border-color: #fff !important;
}

.button.white {
background: transparent;
border: 3px solid #bdbdbd;
color: #bdbdbd;
font-weight: 200;
}






































































        























/*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 15px 0;
line-height: 1.8em;
font-size: 1em;
}

#content ol li{
margin: 0 0 10px 0;
line-height: 1.4em;
}

#content ol{
margin: 0 0 20px 20px;
list-style-type: decimal !important;
}

#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 30px 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 1px 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 { height: auto; max-width: 100%; width: auto !important; margin: 0 auto;}
.flex-direction-nav, .flex-control-nav, .flex-caption { margin-bottom:0 !important;}
.flexslider .slides > li:first-child {display: block; -webkit-backface-visibility: visible;}

/* Caption style */
/* IE rgba() hack */

.flex-caption {width: auto; position: absolute; color: #fff; }
.flex-caption p {font-size: .9em !important; margin-bottom: 0;}

/* Direction Nav */

.flex-direction-nav {
position: absolute;
width: 100%;
margin: 0 0 15px !important;
right: 0;
bottom: 50%;
display: block;
}

.flex-direction-nav li a { z-index: 100; width: 31px!important; height: 31px; display: block; cursor: pointer; text-indent: -9999px; border-radius: 15px; margin-top: 0; background-size: 15px 15px !important;}
.flex-direction-nav li a.flex-next {right: 30px !important; background: rgba(0,0,0,0.2) url(images/flexslider/direction_next.png) no-repeat center center;}
.flex-direction-nav li a.flex-next:hover {}
.flex-direction-nav li a.flex-prev {left: 30px !important; background: rgba(0,0,0,0.2) url(images/flexslider/direction_prev.png) no-repeat center center;}
.flex-direction-nav li a.flex-prev:hover {  }
.flex-direction-nav li a.disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}
.flex-direction-nav .flex-disabled {display: none;}

/* Control Nav */

.flex-control-nav { position: absolute; margin: 0!important; bottom: 0px !important; left: 0 !important; right: 0 !important; width: auto !important; z-index: 100;}
.flex-control-nav li {width: 10px !important; height: 10px !important; margin: 0 0 0 10px !important; display: inline-block !important; z-index: 100;}
.flex-control-nav li:first-child {margin-left: -10px !important;}
.flex-control-paging li a {width: 100% !important; height: 100% !important; display: block !important; background: none !important; cursor: pointer; text-indent: -9999px; box-shadow: none !important; border: 3px solid rgba(255,255,255,.3);}
.flex-control-nav li a:hover {border: 3px solid rgba(255,255,255,1); !important;}
.flex-control-nav li a.flex-active {background: rgba(255,255,255,0.7) !important; cursor: default !important; border: 3px solid rgba(255,255,255,0); }

.normal .flex-direction-nav { margin-top: -15px !important;}
.normal .flex-control-nav { margin: 0; padding-top: 15px; position: relative !important; bottom: 0 !important; right: 0 !important; width: auto !important; }
.normal .flex-direction-nav li a.flex-next { background-position: 9px center !important;}
.normal .flex-direction-nav li a.flex-prev { background-position: 7px center !important;}
.normal .flex-control-nav li a { border: 3px solid rgba(0,0,0,.3); background: none !important; box-shadow: none !important;}
.normal .flex-control-nav li a:hover { background: none !important; border: 3px solid rgba(0,0,0,.5);}
.normal .flex-control-nav li a.flex-active { background: rgba(0,0,0,0.3) !important; border: 3px solid rgba(0,0,0,0);}


/* Home Slideshow------------------*/

.flexslider .slides > li {-webkit-backface-visibility: visible !important;}

.slideshow, .flexslider {
margin: 0 !important;
position: relative;
}

.slideshow  {padding:0 !important;}

.home #header .slideshow {
margin: 0 !important;
overflow: hidden;
background: #000;
position: fixed;
width: 100%;
}

.home .flexslider .slide {
position: fixed !important;
width: 100%;
}

.home.blog .slideshow {
margin-bottom: 30px;
}

.home #header .flex-direction-nav li a { background-color: transparent !important; }

/* Caption style for home page slideshow*/

.home .slideshow .details {
background: transparent;
display: block;
width: 100%;
top: 50%;
position: absolute;
display: none;
}

.home .slideshow .details .box{
padding: 0 30px 0 30px;
}

.home .slideshow .details .text {
display: inline-block;
}

.home .details h1, .home .details h2, .home .details h3, .home .details h4, .home .details h5{
color: #fff;
text-shadow: 2px 2px rgba(0,0,0, .2);
}

.home .details h1 {
font-size: 4.0em;
}

body.home .details p {
font-size: 1.7em !important;
margin-bottom: 40px !important;
line-height: 1.3em;
color: rgba(255,255,255, .6);
}

#downButton {
background: transparent url(images/direction_down.png) center 9px no-repeat;
background-size: 14px 14px !important;
border: 3px solid rgba(255,255,255, 1);
border-radius: 30px;
height: 30px;
width: 30px;
position: absolute;
bottom: 200px;
z-index: 99;
text-indent: -9999 !important;
display: block;
left: 0;
right: 0;
margin: 0 auto;
text-align: left !important;
cursor: pointer;
}

#downButton a{
display: block;
cursor: pointer;
height: 100%;
}

/*//////////////////////////////////////////////////////////////////// 
//  07 - Sidebar
////////////////////////////////////////////////////////////////////*/

#sidebar {
margin-bottom: 30px;
}

.sidebarBox {
position: relative;
margin: 0 0 30px 0;
}

#sidebar p {
margin-bottom: 12px;
}

#sidebar li {
font-size: .75em;
}

#sidebar .author .avatar {
float: left;
margin: 0 20px 15px 0 !important;
padding-top: 3px;
border-radius: 40px;
}


/*///////////////////////////////////////////////////////////////////// 
//  08 - Widgets
////////////////////////////////////////////////////////////////////*/

#footer .widgetBox a, #sidebar .widgetBox a {
line-height: 1.5em;
}



#sidebar .widgetBox h3,
#footer .widgetBox h3{
color: #fff;
}


#footer .widgetBox {
float: left;
margin-right: 25px;
margin-bottom: 30px;
}

#sidebar .widgetBox {
margin-bottom: 30px !important;
}

#sidebar .widgetBox .widgetTitle,
#footer .widgetBox .widgetTitle{
font-size: 1.1em;
font-weight: bold;
display: block !important;
color: #fff;
margin-bottom: 20px;
clear: both;
}


#footer .widgetBox .widgetTitle{
color: #fff;
}

#sidebar .widgetBox .meta,
#footer .widgetBox .meta {
font-style: italic;
}

#footer .widgetBox p{
font-size: .95em;
}

#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 20px 0;
line-height: 1.2em;
background: none;
font-size: .85em;
}

#sidebar ul li p, #footer ul li p{
line-height: 1.3em;
margin: 0;
}

#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 .7em 10px .7em !important;
line-height: normal!important;
width: 92%;
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;
}

/*Testimonails------------------*/

.ttrust_testimonials img {
width: 76px;
border-radius: 38px;
height: auto;
float: left;
margin: 0 20px 0 0;
}

.ttrust_testimonials p {
font-size: .9em;
line-height: 1.6em !important;
}

.ttrust_testimonials span.title {
font-size: .9em;
font-weight: bold;
float: right;
}


/*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: #bababa;
}

#sidebar .ttrust_recent_posts p.title,
#footer .ttrust_recent_posts p.title {
font-size: 1.2em;
margin-bottom: 2px;
}

#sidebar .ttrust_recent_posts p.title,
#footer .ttrust_recent_posts p.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: #f0f0f0;
border: 1px solid #e1e1e1;
}

.ttrust_recent_posts li {
margin-bottom: 10px !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: 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{
-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--------------------*/
.simple_tweet_widget li {
   line-height: 1.5em !important;
   font-size: .95em !important;
}

.simple_tweet_widget li span{
   color: #4f4f4f !important;
   font-size: .85em !important;
}

/*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;
}

#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:70px;
height:70px;
}

#commentForm label {
padding-left: 20px;
}

.comment h5 {
margin: 0 0 6px 100px;
padding: 0;
}

.comment .date {
margin: -5px 0 10px 100px;
display: block;
color: #a5a5a2;
font-size: .9em;
}

.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;
}

#respond h3 {
font-size: 1.4em !important;
}

#commentForm h1 {
font-size: 1.3em !important;
border: 1px solid #000;
}

.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;
}

#comments ol{
list-style: none !important;
}



/*//////////////////////////////////////////////////////////////////// 
//  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 {
color: #7b7b7b;
background: #1f1f1f;
position: relative;
z-index: 301;
}

#googleMap iframe {
width: 100%;
}

#googleMap {
height: 350px;
}

#googleMap img { max-width: none; } 

#googleMap .iwContent {
padding-top: 20px;
font-size: .85em;
}

#footer .meta {
color: #919191;
}

#footer .main {
padding: 60px 0 10px 0;
margin: 0 30px 0;
}

#footer .inside {
margin: 0 auto;
max-width: 62.5em;
}

.footerBox{
margin: 0 30px 40px 0 !important;
float: left;
position: relative;
width: 31%;
}

.footerBox.last {
margin-right: 0 !important;
}

.widget_recent_entries {
margin-right: 0 !important;
}

#footer .widgetBox h3{	
	color: #fff;			
}

.footerBox p{
padding: 0;
}

#footer a {
color: #7b7b7b;
}

#footer a:hover {
color: #fff;
}

#footer .secondary {
margin: 0 0 0;
padding: 0 30px 10px;
}

#footer .secondary a{
font-weight: bold;
}

#footer .secondary .inside{
border-top: 1px solid #2f2f2f;
padding: 30px 0 0;
}


#footer .secondary p{
font-size: .8em;
}

#footer .secondary .left {
float: left;
}

#footer .secondary .right {
float: right;
}

#footer .secondary .right span{
padding: 0 5px;
color: #4d4d4d;
}

.footerBox h3 {
	color: #fff !important;
}



/*//////////////////////////////////////////////////////////////////// 
//  12 - Media Queries
////////////////////////////////////////////////////////////////////*/

/* iPads */

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
/*Home Slideshow ------------------*/
.home .slideshow {
margin: 0 !important;
}
.home #header .slideshow {
position: absolute;
}

.home .flexslider .slide {
position: absolute !important;
}

.home .slideshow .details h2 {
color: #fff;
text-transform: uppercase;
font-weight: normal;
font-size: 2.4em;
}
.home .slideshow .details p {
font-size: 1.3em !important;
margin-bottom: 0;
line-height: 1.5em;
color: rgba(255,255,255, .6);
}
#downButton {
bottom: 70px;
}
/*Projects ------------------*/
#content .project.small .title {
font-size: .8em;
}
/*Testimonials ------------------*/
/*Footer ------------------*/
.footerBox {
width: 29%;
margin: 0 25px 40px 0 !important;
}
}

@media only screen and (max-width: 820px) {
#comments { width: 100%;}
#sidebar {
float: none;
width: 95%;
margin-left: 2.5%;
padding: 10px 0 30px 0 !important;
}
#content.twoThirds {
width: 95% !important;
float: none;
}
.sidebarBox {
float: left;
margin: 0 3% 30px 0 !important;
width: 30%;
}
#comments { width: 100%;}
}

/*layouts smaller than 700px, iPhone and mobiles*/

@media only screen and (max-width: 700px) {
html {
   -webkit-text-size-adjust: none; 
}
h1 { font-size: 1.7em;}
h2 { font-size: 1.5em;}
h3 { font-size: 1.4em;}
h4 { font-size: 1em;}
h5 { font-size: .8em;}
#wrap {
padding: 1px 20px;
}
.home #wrap {
padding-top: 0 !important;
}
/*Header ------------------*/
#header .inside {
padding: 10px 30px;
}
#header #logo {
display: inline-block;
}
#header #logo img{
margin: 0 auto;
width: 50% !important;
height: auto;
float: left;
}
#mainNav .sf-menu {
display: none;
}
#mainNav .tinynav {
display: inline-block;
margin: 0 auto;
padding: 0 !important;
right: 0;
border: 1px solid #000;
}

/*Home Slideshow ------------------*/
.home #header .slideshow {
position: absolute !important;
}

.home .flexslider .slide {
position: absolute !important;
}
.home .details h1, .home .details h2, .home .details h3, .home .details h4, .home .details h5{
font-size: 1.9em;
}
body.home .details p {
font-size: 1.4em !important;
margin-bottom: 10px !important;
}
.home .slideshow .flex-control-nav { bottom: 20px !important;}
#downButton {
display: none;
}
.flex-direction-nav li a.flex-next {right: 0px !important;}
.flex-direction-nav li a.flex-prev {left: 0px !important; }
#pageHead {
margin: 0 0px 25px;
padding: 30px 0;
}
#pageHead h1 { font-size: 1.3em;}
#main {
width: 95%;
padding-top: 0;
}
/*Home Message ------------------*/
#homeMessage p {
font-size: 1.3em !important;
}
#homeMessage {
padding: 30px 0;
}
/*Posts ------------------*/
#content.twoThirds {
width: 95% !important;
float: none;
}
#content .post {
margin-bottom: 20px;
padding-bottom: 5px!important;
}

.posts .post .date .month{
font-size: .9em;
display: block;
padding: 0 !important;
line-height: 1em;
color: rgba(255,255,255, .7);
}

.posts .post .inside{
position: relative;
}
.posts .post .inside h2{
font-size: 1.3em !important;
line-height: 1.2em;
margin-bottom: 10 !important;
}
.posts .post .inside .meta{
margin: 0 auto 20px !important;
padding: 0;
}
.post .moreLink {
display: none;
}
#comments { width: 100%;}
/*Home Sections ------------------*/
.homeSection {
padding: 35px 0 !important;
}
#projects.homeSection {
padding: 0 0 !important;
}
.homeSection .sectionHead {
padding-bottom: 10px !important;
}
.homeSection .sectionHead h3 {
font-size: 1.5em;
}
.homeSection .sectionHead p {
font-size: 1em;
}
#featuredPages .small{
margin-bottom: 25px !important;
}
/*Featured Pages ------------------*/
#featuredPages .page h3 {
font-size: 1.6em;
}
#featuredPages .page p {
font-size: 1em;
}
#featuredPages {
padding: 60px 0 0px 0 !important;
}
/*Testimonials ------------------*/
.slides .testimonial {
width: auto;
height: 400px;
}
.slides .testimonial .text p {
font-size: .5em !important;
}

.slides .testimonial .text .title {
font-size: .6em;
}
/*Sidebar and Widgets ------------------*/
#sidebar {
float: none;
width: 95%;
margin-left: 2.5%;
padding: 10px 0 30px 0 !important;
}
.sidebarBox {
float: left;
margin: 0 2% 30px 0 !important;
width: 95%;
}
#flickrBox .flickrImage {
margin: 0 8px 8px 0;
}
.widgetBox {
width: 100%;
float: none;
}
/*Projects ------------------*/
#filterNav {
text-align: center;
width: 100%;
position: relative;
}
.projectNav {
margin: 0 0 0 0;
padding: 10px 0 0 0 !important;
float: none;
}
.projectNav div {
margin: 0 20px 0 0 !important;
padding: 0 !important;
}
.thumbs {
text-align: center;
}
.thumbs .small{
margin: 0 auto !important;
}
/*Footer------------------*/
.footerBox {
width: 40%;
float: none;
margin: 0 20px 40px 0!important;
}
#footer .main .inside{ padding: 0 0 !important;  width: auto !important;margin: 0 0px!important;}
#footer #flickrBox .flickrImage {
margin: 0 5px 5px 0;
}
#footer .secondary{
text-align: center;
margin: 0 0;
}
#footer .secondary p{
margin: 0px;
padding: 0px;
}
#footer .secondary .left,
#footer .secondary .right{
float: none;
}
#footer .secondary .right{
float: none;
padding: 10px 0 15px 0;
}
.gallery-item img{
width: 90%;
}
/*Column Shortcodes------------------*/

.one_half {
    width: 49% !important;
    margin-right: 2% !important;
}
.one_half.last_column {
    width: 49% !important;
    margin-right: 0px !important;
}
.one_third {
    width: 32% !important;
    margin-right: 2% !important;
}
.one_third.last_column {
    width: 32% !important;
    margin-right: 0px !important;
}
.two_third {
    width: 66% !important;
    margin-right: 2% !important;
}
.two_third.last_column {
    width: 66% !important;
    margin-right: 0px !important;
}
.one_fourth {
    width: 23.5% !important;
    margin-right: 2% !important;
}
.one_fourth.last_column {
    width: 23.5% !important;
    margin-right: 0px !important;
}
.three_fourth {
    width: 74.5% !important;
    margin-right: 2% !important;
}
.three_fourth.last_column {
    width: 74.5% !important;
    margin-right: 0px !important;
}
.one_fifth {
    width: 18.4% !important;
    margin-right: 2% !important;
}
.one_fifth.last_column {
    width: 18.4% !important;
    margin-right: 0px !important;
}
.two_fifth {
    width: 39% !important;
    margin-right: 2% !important;
}
.two_fifth.last_column {
    width: 39% !important;
    margin-right: 0px !important;
}
.three_fifth {
    width: 59% !important;
    margin-right: 2% !important;
}
.three_fifth.last_column {
    width: 59% !important;
    margin-right: 0px !important;
}
.four_fifth {
    width: 79.6% !important;
    margin-right: 2% !important;
}
.four_fifth.last_column {
    width: 79.6% !important;
    margin-right: 0px !important;
}
.one_sixth {
    width: 15% !important;
    margin-right: 2% !important;
}
.one_sixth.last_column {
    width: 15% !important;
    margin-right: 0px !important;
}

/* iPhone Landscape */
@media screen and (max-width: 600px) {
.home #header .slideshow .box{
margin: 0 100px !important;
}
.slides .testimonial {
width: auto;
height: 300px;
}
.home .slideshow .flex-control-nav { display: none;;}
}

/* iPhone Portrait */
@media screen and (max-width: 480px) {
#header {
text-align: center;
}
#header .inside {
padding: 20px 0 20px 0!important;
}
#header #logo {
float: none;
margin: 0 20px;
text-align: center;
display: inline-block;
}
#header #logo img{
margin: 0 auto;
width: 50% !important;
height: auto;
float: none;
}
#header #mainNav {
position: relative;
display: block;
padding-top: 20px;
right: 0;
}
.home .slideshow .details h2{
font-size: 1.5em;
}
.home .slideshow .details p{
font-size: .9em !important;
}
.home #header .slideshow .box{
margin: 0 50px !important;
}
/*Posts ------------------*/
.posts .post .date {
position: relative;
margin: 0 auto 20px;
}

.posts .post .date .month{
font-size: .9em;
display: block;
padding: 0 !important;
line-height: 1em;
color: rgba(255,255,255, .7);
}

.posts .post .inside{
padding-left: 0;
position: relative;
}
.widgetBox {
width: 100%;
float: none;
margin: 0 0 20px 0;
}
#commentForm input[type="text"], #comments input[type="text"] {
width: 40% !important;
margin-right: 5px !important;
}
#commentForm label, #comments label {
font-size: .8em;
}
.home .flex-caption p {
font-size: 1em !important;
}
}