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

TABLE OF CONTENTS

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

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

/**

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

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

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

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 {
  padding: 0;
  margin: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  border: 0;
}

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

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

del {
  text-decoration: line-through;
}

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

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

input,
select {
  vertical-align: middle;
}

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

caption,
th,
td {
  font-weight: 400;
  text-align: left;
}

input {
  vertical-align: middle;
}

img,
object,
embed {
  max-width: 100%;
}

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

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

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

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

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

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

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

li {
  padding: 0;
  margin: 0;
}

img {
  margin: 0;
}

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

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

a {
  color: #4da7ca;
}

a:hover {
  color: #4290ae;
}

a img {
  border: none;
}

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

h1 {
  font-size: 1.5em;
}

h2 {
  font-size: 1.3em;
}

h2 {
  font-size: 1.1em;
}

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

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

pre code {
  background: none;
}

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

.meta {
  color: #b0b0ad;
}

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

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

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

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

textarea:focus {
  outline: none;
  background-color: #f7f7f7;
}

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

.hidden {
  display: none;
}

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

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

.clearfix::after {
  clear: both;
}

.clearfix {
  zoom: 1;
}

a.action {
  font-style: italic;
}

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

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

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

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

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

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

#main.full {
  background: none;
}

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

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

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

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

.twoThirds {
  width: 70%;
}

.oneThird {
  width: 32%;
}

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

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

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

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

#mainNav .tinynav {
  display: none;
}

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

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

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

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

/* Top level navigation */

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

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

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

#mainNav ul ul a {
  font-weight: 400;
  line-height: 15px;
  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 {
  color: #2e2e2e;
  text-decoration: none;
}

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

/* Second level+ dropdowns */

#mainNav ul ul {
  padding: 20px 0 0 !important;
  margin-top: -10px;
  background: #fff;
  box-shadow: 0 0 1px rgb(0 0 0 / 50%);
}

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

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

#mainNav ul ul li a {
  padding: 0 0 10px;
  font-weight: 400;
  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: 0;
  z-index: 200;
  display: block;
  width: 100%;
  height: 40px;
  overflow: hidden;
  text-indent: -999em;
}

.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 {
  float: left;
  width: 68%;
  padding: 0 !important;
  margin: 0 auto 40px;
}

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

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

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

#content.fullProjects {
  width: 100%;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#content .moreLink {
  display: block;
}

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

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

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

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

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

.project {
  padding: 60px 30px;
  color: rgb(0 0 0 / 50%);
}

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

.project .topLine {
  display: block;
  width: 100px;
  margin: 0 auto 15px;
  border-top: 1px solid rgb(0 0 0 / 20%);
}

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

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

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

.project.darkBkg .topLine {
  border-top: 1px solid rgb(255 255 255 / 20%);
}

.project h2 {
  margin-bottom: 5px;
  font-size: 1.6em;
  font-weight: 700;
  color: rgb(0 0 0 / 70%) !important;
  text-align: center;
  text-transform: uppercase;
}

.project h2 a {
  color: rgb(0 0 0 / 70%) !important;
}

.project h2 a:hover {
  color: rgb(0 0 0 / 50%) !important;
}

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

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

.project.darkBkg h2 {
  color: rgb(255 255 255 / 100%) !important;
}

.project.darkBkg h2 a {
  color: rgb(255 255 255 / 100%) !important;
}

.project.darkBkg h2 a:hover {
  color: rgb(255 255 255 / 95%) !important;
}

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

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

.project .description p {
  font-size: 1.1em;
  color: rgb(0 0 0 / 50%);
  text-align: center;
}

.project.darkBkg .description p {
  color: rgb(255 255 255 / 60%);
}

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

.search .project {
  padding: 0;
}

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

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

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

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

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

.one_half {
  width: 48%;
}

.one_third {
  width: 31%;
}

.two_third {
  width: 65.33%;
}

.one_half,
.one_third,
.two_third {
  position: relative;
  float: left;
  margin-right: 3%;
}

.last {
  clear: right;
  margin-right: 0 !important;
}

.clearboth {
  clear: both;
  display: block;
  width: 100%;
  height: 0;
  font-size: 0;
  line-height: 0;
}

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

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

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

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

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

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

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

#infscr-loading img {
  display: none;
}

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

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

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

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

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

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

#content .aligncenter,
#content img.aligncenter {
  clear: both;
  display: block;
  margin-right: auto;
  margin-left: 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: 0 !important;
  margin-bottom: 25px !important;
}

.gallery img {
  border: none !important;
}

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

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

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

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

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

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

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

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

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

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

.slideshow {
  padding: 0 !important;
}

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

.flexslider p {
  margin: 0 !important;
}

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

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

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

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

.flexslider {
  position: relative;
  min-height: 100px;
  padding: 0 !important;
  margin: 0 !important;
  zoom: 1;
  background: transparent !important;
  border: 0 !important;
  border: none;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.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 {
  position: relative;
  zoom: 1;
}

.flexslider .slides img {
  width: auto !important;
  max-width: 100%;
  height: auto;
}

.flex-direction-nav,
.flex-control-nav,
.flex-caption {
  margin-bottom: 0 !important;
}

/* Caption style */

/* IE rgba() hack */
.flex-caption {
  zoom: 1;
  background: none;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
}

.flex-caption {
  position: absolute;
  width: auto;
  color: #fff;
  background: rgb(0 0 0 / 50%);
}

.flex-caption p {
  margin-bottom: 0;
  font-size: 0.9em !important;
}

/* Direction Nav */

.flex-direction-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  margin: 0 !important;
}

.flex-direction-nav li a {
  transition: none;
  transition: opacity 0.5s ease;
}

.flex-direction-nav li a {
  position: absolute;
  top: 50%;
  z-index: 100;
  display: block;
  width: 30px !important;
  height: 30px;
  margin: -20px 0 0;
  text-indent: -9999px;
  cursor: pointer;
  background: url("images/flexslider/direction_nav.png") no-repeat 0 0;
}

.flex-direction-nav li a.flex-next {
  right: 20px !important;
  background-position: -30px 0;
}

.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 {
  left: 20px !important;
  background-position: 0 0;
}

.flex-direction-nav li a.flex-prev:hover {
  background-position: 0 -30px;
}

.flex-direction-nav li a.disabled {
  cursor: default;
  opacity: 0.3;
  filter: alpha(opacity=30);
}

/* Control Nav */
.flex-control-nav {
  position: absolute !important;
  right: 3% !important;
  bottom: 20px !important;
  width: auto !important;
}

.flex-control-nav li {
  display: inline-block !important;
  *display: inline !important;
  margin: 0 0 0 5px !important;
  zoom: 1;
}

.flex-control-nav li:first-child {
  margin: 0 !important;
}

.flex-control-nav li a {
  display: block !important;
  width: 13px !important;
  height: 13px !important;
  text-indent: -9999px;
  cursor: pointer;
  background: rgb(255 255 255 / 30%) !important;
  box-shadow: inset 0 0 1px rgb(0 0 0 / 30%) !important;
}

.flex-control-nav li a:hover {
  background: rgb(255 255 255 / 70%) !important;
}

.flex-control-nav li a.flex-active {
  cursor: default !important;
  background: rgb(255 255 255 / 70%) !important;
}

#content .flex-direction-nav {
  margin-top: -15px !important;
}

#content .flex-control-nav {
  position: relative !important;
  right: 0 !important;
  bottom: 0 !important;
  width: auto !important;
  padding-top: 15px;
  margin: 0;
}

#content .flex-control-nav li a {
  background: rgb(0 0 0 / 30%) !important;
  box-shadow: none !important;
}

#content .flex-control-nav li a:hover {
  background: rgb(0 0 0 / 70%) !important;
}

#content .flex-control-nav li a.flex-active {
  background: rgb(0 0 0 / 70%) !important;
}

#content .darkBkg .flex-control-nav li a {
  background: rgb(255 255 255 / 30%) !important;
  box-shadow: none !important;
}

#content .darkBkg .flex-control-nav li a:hover {
  background: rgb(255 255 255 / 70%) !important;
}

#content .darkBkg .flex-control-nav li a.flex-active {
  background: rgb(255 255 255 / 70%) !important;
}

/* Home slideshow */

.home .slideshow {
}

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

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

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

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

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

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

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

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

.home .slideshow .details h2 {
  margin: 0 0 5px;
  font-size: 3.3em;
  font-weight: 400;
  color: #fff;
  text-shadow: 2px 2px rgb(0 0 0 / 20%);
}

.home .slideshow .details p {
  margin-bottom: 0;
  font-size: 1.2em !important;
  line-height: 1.3em;
  color: rgb(255 255 255 / 80%);
}

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

#sidebar {
}

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

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

#sidebar li {
  font-size: 0.75em;
}

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

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

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

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

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

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

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

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

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

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

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

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

#sidebar ul li h2,
#footer ul li h2 {
  padding: 0 !important;
  margin: 0;
  font-weight: 400;
  line-height: 0.9em;
}

#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 {
  padding: 0;
  margin: 0;
  background: none;
  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;
  margin: 10px 0 0;
  border: none;
}

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

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

.widget_search h3 {
  display: none;
}

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

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

* html .widget_search {
  height: 1%;
}

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

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

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

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

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

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

.secondaryPost {
  padding: 10px 0 0;
}

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

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

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

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

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

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

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

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

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

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

.widget_tag_cloud {
  display: inline-block;
}

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

* html .widget_tag_cloud {
  height: 1%;
}

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

#twitterBox {
  margin: 0 0 10px;
}

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

.twitterLink a {
  font-style: italic;
}

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

#sidebar #flickrBox .flickrImage {
}

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

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

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

.twoThirds #comments {
  width: 95%;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Comment Form */

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

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

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

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

#commentForm h3 {
  font-weight: 700;
}

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

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

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

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

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

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

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

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

.pagination span,
.pagination a,
.pagination-prev a,
.pagination-next a,
.older-comments,
.newer-comments {
  float: left;
  display: block;
  width: auto;
  height: 24px;
  padding: 0 8px;
  margin: 0 5px 0 0;
  font-weight: 700;
  line-height: 24px;
  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: 0;
}

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

.pagination-prev {
  float: right;
}

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

#footer {
  background: #f7f7f7;
}

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

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

#footer .meta {
  color: #919191;
}

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

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

.footerBox p {
  padding: 0;
}

#footer a {
  color: #6a6a6a;
}

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

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

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

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

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

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

/* iPad Landscape */

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

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

/* iPad Portrait */

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

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

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

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

@media only screen and (width <= 870px) {
  /* Column Shortcodes------------------ */
  .one_half {
    width: 100%;
  }

  .one_third {
    width: 100%;
  }

  .two_third {
    width: 100%;
  }

  .one_half,
  .one_third,
  .two_third {
    position: relative;
    float: none;
    margin-right: 0%;
  }

  .last {
    clear: right;
    margin-right: 0 !important;
  }

  .clearboth {
    clear: both;
    display: block;
    width: 100%;
    height: 0;
    font-size: 0;
    line-height: 0;
  }
}

@media only screen and (width <= 768px) and (orientation: portrait) {
  #comments {
    width: 100%;
  }

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

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

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

  .widgetBox {
    width: 45% !important;
  }

  #comments {
    width: 100%;
  }
}

/* layouts smaller than 600px, iPhone and mobiles */
@media only screen and (width <= 480px),
  screen and (device-width <= 480px),
  screen and (width <= 600px) {
  html {
    text-size-adjust: none;
  }

  h1 {
    font-size: 1.2em;
  }

  h2 {
    font-size: 1.1em;
  }

  h3 {
    font-size: 1em;
  }

  h4 {
    font-size: 0.9em;
  }

  h5 {
    font-size: 0.8em;
  }

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

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

  #header #logo {
    width: 30%;
  }

  #pageHead {
    margin: 0 0 25px;
  }

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

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

  #mainNav .sf-menu {
    display: none;
  }

  #mainNav .tinynav {
    display: block;
    padding: 0;
    margin: 0 auto;
  }

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

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

  #comments {
    width: 100%;
  }

  .twoThirds #comments {
    width: 100%;
  }

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

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

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

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

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

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

  #comments {
    padding: 10px 0 0;
  }

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

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

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

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

  .widgetBox {
    width: 90% !important;
  }

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

  .post .moreLink {
    display: none;
  }

  #footer {
    padding: 0 !important;
  }

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

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

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

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

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

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

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

  .one_half {
    width: 100%;
  }

  .one_third {
    width: 100%;
  }

  .two_third {
    width: 100%;
  }

  .one_half,
  .one_third,
  .two_third {
    position: relative;
    float: none;
    margin-right: 0%;
  }

  .last {
    clear: right;
    margin-right: 0 !important;
  }

  .clearboth {
    clear: both;
    display: block;
    width: 100%;
    height: 0;
    font-size: 0;
    line-height: 0;
  }
}

/* iPhone Landscape */
@media screen and (width <= 480px) and (orientation: landscape) {
  .widgetBox {
    float: left;
    width: 90%;
  }

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

/* iPhone Portrait */
@media screen and (width <= 480px) and (orientation: portrait) {
  #homeMessage p {
    font-size: 1em;
  }

  .widgetBox {
    float: none;
    width: 87%;
  }

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

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

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

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