/*
Theme Name: Ridge
Theme URI: http://themetrust.com/themes/ridge/
Author: ThemeTrust
Author URI: https://themetrust.com
Description: A portfolio theme designed for creatives.
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ridge
Domain Path: /languages/
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Ridge is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
*/


/**
 * Table of Contents
 *
 * 1.0 - Reset
 * 2.0 - Typography
 * 3.0 - Elements
 * 4.0 - Forms
 * 5.0 - Header
 * 6.0 - Navigation
 *   6.1 - Links
 *   6.2 - Menus
 * 7.0 - Accessibility
 * 8.0 - Alignments
 * 9.0 - Clearings
 * 11.0 - Widgets
 * 12.0 - Content
 *    12.1 - Posts and pages
 *    12.2 - Post Formats
 *    12.3 - Comments
 *    12.4 - Custom Templates
 * 13.0 - Footer
 * 14.0 - Media
 *    14.1 - Captions
 *    14.2 - Galleries
 * 15.0 - Media Queries
 */


/**
 * 1.0 - Reset
 */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, 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 {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 62.5%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

body {
	background: #efefef;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}

ol,
ul {
	list-style: none;
}

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

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

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	quotes: none;
}

a {
	outline: 0;
	transition: .4s;
	-webkit-transition: .4s;
}

a:focus {
	outline: 0;
}

a:hover,
a:active {
	outline: 0;
}

a img {
	border: 0;
}

/**
 * 2.0 Typography
 */

body,
input,
select,
textarea {
	color: #767676;
	font-family: Helvetica, sans-serif;
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 30px;
	line-height: 3rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #000;
	clear: both;
	font-family: Lato, sans-serif;
	font-weight: 200;
}

h1 {
	font-size: 30px;
	font-size: 3.0rem;
	line-height: 45px;
	padding-left: 0.2em;
	margin-top: 17px;
}


h2 {
	font-size: 26px;
	font-size: 2.6rem;
	line-height: 36px;
	margin-top: 12px;
}

h3 {
	font-size: 21px;
	font-size: 2.1rem;
	line-height: 27px;
	margin-top: 15px;
}

h4 {
	font-size: 21px;
	font-size: 2.1rem;
	line-height: 27px;
	margin-top: 15px;
}

p {
	font-size: 13px;
	font-size: 1.3em;
	font-weight: 300;
	margin-bottom: 40px;
	line-height: 1.8em;
}

b,
strong {
	font-weight: 700;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	border-left: 4px solid #707070;
	border-left: 4px solid rgba(25, 25, 25, 0.7);
	color: #707070;
	color: rgba(25, 25, 25, 0.7);
	font-size: 18px;
	font-size: 1.8rem;
	font-style: italic;
	line-height: 1.6667;
	margin: 0 10%;
	padding-left: 0.7778em;
}

blockquote p {
	margin-bottom: 1.6667em;
}

blockquote > p:last-child {
	margin-bottom: 0;
}

blockquote cite,
blockquote small {
	color: #333;
	font-size: 15px;
	font-size: 1.5rem;
	font-family: "Lato", sans-serif;
	line-height: 1.6;
}

blockquote em,
blockquote i,
blockquote cite {
	font-style: normal;
}

blockquote strong,
blockquote b {
	font-weight: 400;
}

address {
	font-style: italic;
	margin: 0 0 1.6em;
}

code,
kbd,
tt,
var,
samp,
pre {
	font-family: Monaco, "Lucida Console", monospace;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

pre {
	background-color: transparent;
	background-color: rgba(0, 0, 0, 0.01);
	border: 1px solid #eaeaea;
	border: 1px solid rgba(25, 25, 25, 0.1);
	line-height: 1.2;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 0.8em;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

abbr[title] {
	border-bottom: 1px dotted #eaeaea;
	border-bottom: 1px dotted rgba(25, 25, 25, 0.1);
	cursor: help;
}

mark,
ins {
	background-color: #fff9c0;
	text-decoration: none;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

small {
	font-size: 75%;
}

big {
	font-size: 125%;
}


/**
 * 3.0 Elements
 */

hr {
	background-color: #eaeaea;
	background-color: rgba(25, 25, 25, 0.1);
	border: 0;
	height: 1px;
	margin-bottom: 1.6em;
}

ul,
ol {
	margin: 0 0 1.6em 1.3333em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

dl {
	margin-bottom: 1.6em;
}

dt {
	font-weight: bold;
}

dd {
	margin-bottom: 1.6em;
}

table,
th,
td {
	border: 1px solid #eaeaea;
	border: 1px solid rgba(25, 25, 25, 0.1);
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin: 0 0 1.6em;
	table-layout: fixed; /* Prevents HTML tables from becoming too wide */
	width: 100%;
}

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

th {
	border-width: 0 1px 1px 0;
	font-weight: 700;
}

td {
	border-width: 0 1px 1px 0;
}

th, td {
	padding: 0.4em;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}

figure {
	margin: 0;
}

del {
	opacity: 0.8;
}

/* Placeholder text color -- selectors need to be separate to work. */

::-webkit-input-placeholder {
	color: rgba(25, 25, 25, 0.7);
	font-family: "Lato", sans-serif;
}

:-moz-placeholder {
	color: rgba(25, 25, 25, 0.7);
	font-family: "Lato", sans-serif;
}

::-moz-placeholder {
	color: rgba(25, 25, 25, 0.7);
	font-family: "Lato", sans-serif;
	opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
	color: rgba(25, 25, 25, 0.7);
	font-family: "Lato", sans-serif;
}

/**
 * 4.0 Forms
 */


input,
select,
textarea {
	background-color: #f7f7f7;
	border-radius: 0;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}

button,
input {
	line-height: normal;
}

input,
textarea {
	background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)); /* Removing the inner shadow on iOS inputs */
	border: 1px solid #eaeaea;
	border: 1px solid rgba(25, 25, 25, 0.1);
	color: #707070;
	color: rgba(25, 25, 25, 0.7);
}

input:focus,
textarea:focus {
	background-color: #fff;
	border: 1px solid #c1c1c1;
	border: 1px solid rgba(25, 25, 25, 0.3);
	color: #333;
}

input:focus,
select:focus {
	outline: 2px solid #c1c1c1;
	outline: 2px solid rgba(25, 25, 25, 0.3);
}

button[disabled],
input[disabled],
select[disabled],
textarea[disabled] {
	cursor: default;
	opacity: .5;
}



input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	background-color: #333;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-family: "Lato", sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	font-weight: 700;
	padding: 0.7917em 1.5em;
	border-radius: 5px;
}


input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	background-color: #707070;
	background-color: rgba(25, 25, 25, 0.7);
	outline: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	padding: 0.375em;
	width: 100%;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	outline: 0;
}

.post-password-form {
	position: relative;
}

.post-password-form label {
	color: #707070;
	color: rgba(25, 25, 25, 0.7);
	display: block;
	font-family: "Lato", sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.5;
}

.post-password-form input[type="submit"] {
	padding: 0.7917em;
	position: absolute;
	right: 0;
	bottom: 0;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

.search-form input[type="submit"],
.widget .search-form input[type="submit"] {
	padding: 0;
}

/**
 * 5.0 Header
 */

.site-header {
	background: #fff;
	position: fixed;
	overflow: hidden;
	left: 0;
	width: 250px;
	height: 100%;
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
	padding-top: 40px;
}

.site-header.not-fixed {
	position: absolute;
}

#nav-sidebar {
	margin: 30px 30px;
}

.site-header #secondary {
	border-top: 1px solid rgba(0,0,0,.1) !important;
	padding-top: 15px;
	margin-top: 30px;
}

.site-branding {
	margin: 0 30px;
	padding: 0;
}

.site-branding h1.logo {
	padding: 0 !important;
	margin: 0;
	line-height: 0;
}

.site-title {
	font-weight: 800;
	font-size: 1.5em;
	line-height: 1em;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0;
}

.site-description {
	font-family: Georgia, serif;
	font-size: 14px;
	font-size: 1.4rem;
	font-weight: 400;
	opacity: 0.7;
	margin: 0;
	padding: 0;
}

.secondary {

}

.secondary > .inner {

}

.secondary.toggled-on {

}

.widget-area {
	margin: 9.09090% auto 0;
}


/**
 * 6.0 Navigations
 */

/**
 * 6.1 Menus
 */

.main-navigation ul{	
	margin: 0;
}

.main-navigation a {
	display: inline-block;
	padding: 0 0;
	position: relative;
	text-decoration: none;
	cursor: pointer;
	transition:.3s;
	-webkit-transition:.3s;
	color: #000;
	font-weight: 700;
	line-height: 1.5em;
}

.main-navigation li {
	padding-right: 20px;
	display: block;
	cursor: pointer;
}

.main-navigation a:hover {
	color: #000;
}

.main-navigation .page_item_has_children > a:hover::after,
.main-navigation .menu-item-has-children > a:hover::after {
	
}

.main-navigation ul {
	font-size: .9em;
	font-size: 1.4rem;
	text-transform: uppercase;
	font-weight: 400;
	letter-spacing: .1em;
	list-style: none;
	text-align: left;
}

.main-navigation li {
	position: relative;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	padding: 0;
}

.main-navigation a:hover {
	opacity: .5;
}


.main-navigation .current_page_item a,
.main-navigation .current-menu-item a,
.main-navigation .current_page_ancestor a {
	color: #74c1b7;
}

ul.nav-menu {
	padding: 0;
	margin-bottom: 0;
}

ul.nav-menu * {
    white-space: normal;
}

.main-navigation .menu-item-description {
	color: #707070;
	color: rgba(25, 25, 25, 0.7);
	font-family: "Lato", sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.5;
	margin-top: 0.5em;
}

/* Submenu */

.main-navigation .sub-menu {
  	margin: 0 0 5px;
  	padding-top: 0;
  	display: none;
	overflow: hidden;
}
.main-navigation .sub-menu li {
  	padding-left: 15px;
	display: block;
	font-size: .8em;
}

.menu-item-has-children {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.menu-item-has-children a {
	padding-right: 15px;
}

.menu-item-has-children ul a {
	padding-right: 0;
}

.menu-item-has-children:after {
  content: "\f107";
  font-family: "FontAwesome";
  position: absolute;
  right: 0;
  top: 0;
}

.active-sub-menu:after {
  content: "\f106";
}


/* Mobile Nav */

#menu-toggle {
	display:  none;
	position: absolute;
	right: 20px;
	top: 50%;
	margin-top: -16px;
	cursor: pointer !important;
	height: 30px;
}

#menu-toggle span {
	-webkit-transition-duration: 0s;
	-webkit-transition-delay: .2s;
	margin: 0 auto;
	position: relative;
	top: 12px;
}

#menu-toggle span:before, #menu-toggle span:after {
	position: absolute;
	content: '';
}
#menu-toggle span, #menu-toggle span:before, #menu-toggle span:after {
	width: 30px;
	height: 6px;
	background-color: #191919;
	display: block;
}
#menu-toggle span:before {
	margin-top: -12px;
}
#menu-toggle span:after {
	margin-top: 12px;
}

#menu-toggle.active span {
	background-color: rgba(255,255,255,0);
	-webkit-transition-delay: .2s;
}
#menu-toggle span:before {
	-webkit-transition-property: margin, -webkit-transform;
	-webkit-transition-duration: .2s;
	-webkit-transition-delay: .2s;
}
#menu-toggle.active span:before {
	margin-top: 0;
	-webkit-transform: rotate(45deg);
	-webkit-transition-delay: 0.2s;
}
#menu-toggle span:after {
	-webkit-transition-property: margin, -webkit-transform;
	-webkit-transition-duration: .2s;
	-webkit-transition-delay: .2s;
}
#menu-toggle.active span::after {
	margin-top: 0;
	-webkit-transform: rotate(-45deg);
	-webkit-transition-delay: 0.2s;
}

#menu-bg {
	position: fixed;
	background: #fff;
	pointer-events: none;
	height: 300%;
	transition: .4s;
	-webkit-transition: .4s;
	opacity: 0;
	z-index: -1;
	width: 300%;
	left: 0; top:0;

}
#menu-bg.active {
	opacity: .99;
}

/* Post Nav */

.post-navigation {
	padding-top: 10px;
	font-weight: 700;
	margin-bottom: 30px;
}

.nav-links {
    max-width: 800px;
	margin: 30px auto 0;
}

.nav-links div {
    position: relative;
    width: 45%;
    display: inline-block;
    height: inherit;
    float: right;
}

.nav-links div a {
    padding: 0 20px;
    height: 100%;
    display: inline-block;
}

.nav-links .next {
	text-align: left;
	float: left;
}

.nav-links .prev {
	text-align: right;
	float: right;
}

.post-navigation .post-title {
	font-family: "Lato", serif;
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 1.3333;
	position: relative;
	z-index: 2;
}

span.next.right-btn {
	margin-left: 50%;
}

.nav-links > div a::after {
	content: "";
	font-family: FontAwesome;
	display: block;
	position: absolute;
	top: 50%;
	margin-top: -15px;
	z-index: 1;
}

.nav-links .prev a::after {
	content: "\f178";
	right: 0;
	
}

.nav-links .next a::after {
	content: "\f177";
	left: 0;
}

.post-navigation a:hover::before,
.post-navigation a:focus::before {
	opacity: 0.5;
}

.pagination .inside {
	max-width: 1000px;	
	padding: 30px 0;
	text-align: center;
	margin: 0 auto;
}

.pagination a, .pagination span {
	display: inline-block;
	margin: 0 7px;
	border: 2px solid #cccccc;	
	border-radius: 3px;
	-webkit-border-radius: 3px;
	background: none;	
	color: #cccccc !important;
	padding: 2px 10px 0;
}

.pagination .current, .pagination a:hover {
	border-color: #000;	
	color: #191919 !important;	
}

/* reset screen-reader-text */
.pagination .current .screen-reader-text {
	position: static !important;
}

.pagination .page-numbers {
	display: none;
	line-height: 3.2em;
	padding: 0 0.6667em;
}

.pagination .page-numbers.current {
	text-transform: uppercase;
}

.pagination .current {
	display: inline-block;
	font-weight: 700;
}

.pagination .prev,
.pagination .next {
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
	background-color: #333;
	color: #fff;
	display: inline-block;
	height: 48px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 48px;
}

.pagination .prev:before,
.pagination .next:before {
	font-size: 32px;
	height: 48px;
	line-height: 48px;
	position: relative;
	width: 48px;
}

.pagination .prev:hover,
.pagination .prev:focus,
.pagination .next:hover,
.pagination .next:focus {
	background-color: #707070;
	background-color: rgba(25, 25, 25, 0.7);
}

.pagination .prev {
	left: 0;
}

.pagination .prev:before {
	content: "\f430";
	left: -1px;
}

.pagination .next {
	right: 0;
}

.pagination .next:before {
	content: "\f429";
	right: -1px;
}

.image-navigation,
.comment-navigation {
	color: #707070;
	color: rgba(25, 25, 25, 0.7);
	font-size: 12px;
	font-size: 1.2rem;
	font-family: "Lato", sans-serif;
	font-weight: 700;
	line-height: 1.5;
	text-transform: uppercase;
}

.image-navigation a,
.comment-navigation a {
	color: #707070;
	color: rgba(25, 25, 25, 0.7);
}

.image-navigation a:hover,
.image-navigation a:focus,
.comment-navigation a:hover,
.comment-navigation a:focus {
	color: #333;
}

.image-navigation .nav-previous:not(:empty),
.image-navigation .nav-next:not(:empty),
.comment-navigation .nav-previous:not(:empty),
.comment-navigation .nav-next:not(:empty) {
	display: inline-block;
}

.image-navigation .nav-previous:not(:empty) + .nav-next:not(:empty):before,
.comment-navigation .nav-previous:not(:empty) + .nav-next:not(:empty):before {
	content: "\2215";
	font-weight: 400;
	margin: 0 0.7em;
}

.image-navigation .nav-previous a:before,
.comment-navigation .nav-previous a:before {
	content: "\f177";
	font-family: FontAwesome;
	margin-right: 0.2em;
	position: relative;

}

.image-navigation .nav-next a:after,
.comment-navigation .nav-next a:after {
	content: "\f178";
	font-family: FontAwesome;
	margin-left: 0.2em;
	position: relative;
}

.comment-navigation {
	border-top: 1px solid #eaeaea;
	border-top: 1px solid rgba(25, 25, 25, 0.1);
	border-bottom: 1px solid #eaeaea;
	border-bottom: 1px solid rgba(25, 25, 25, 0.1);
	padding: 2em 0;
}

.comments-title + .comment-navigation {
	border-bottom: 0;
}

.image-navigation {
	padding: 0 7.6923%;
}

.image-navigation .nav-previous:not(:empty),
.image-navigation .nav-next:not(:empty) {
	margin-bottom: 2em;
}

/**
 * 6.2 Links
 */

.entry-content p a {
	color: #67bdcd;
}

.entry-content p a:hover {
	color: #4e8f9b;
}

a, p a.read-more {
	color: #191919;
	text-decoration: none;
}

a:hover,
a:focus,
p a.read-more:hover {
	color: #707070;
	color: rgba(25, 25, 25, 0.7);
}

.button, a.button, a.button:active, a.button:visited, #footer a.button, #searchsubmit, input[type="submit"] {	
	display: inline-block;
	color: #fff !important;
	background: #000;
	text-decoration: none;
	position: relative;
	cursor: pointer;
	padding: 17px 20px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	margin: 0 3px 0 0;
	line-height: normal !important;
	-webkit-appearance: none;
	font-size: .8em;
	font-weight: normal !important;	
	text-align: center;
	transition-property: all;
	-webkit-transition: 0.5s ease;
		 	transition: 0.5s ease;
}
a.button:hover, a.post-edit-link:hover, #searchsubmit:hover, input[type="submit"]:hover {
	opacity: .5;
}

a.button {
	padding: 18px 20px 15px;
}

input[type="submit"] {	
	font-size: 1em;
}

#home-banner a.button{
	font-size: .7em;
}


/**
 * 7.0 Accessibility
 */

/* Text meant only for screen readers */
.says,
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}

/* must have higher specificity than alternative color schemes inline styles */
.site .skip-link {
	background-color: #f5f5f5;
	box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
	color: #21759b;
	display: block;
	font: bold 14px/normal "Lato", sans-serif;
	left: -9999em;
	outline: none;
	padding: 15px 23px 14px;
	text-decoration: none;
	text-transform: none;
	top: -9999em;
}

.logged-in .site .skip-link {
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	font: bold 14px/normal "Open Sans", sans-serif;
}

.site .skip-link:focus {
	clip: auto;
	height: auto;
	left: 6px;
	top: 7px;
	width: auto;
	z-index: 100000;
}


/**
 * 8.0 Alignments
 */

.alignleft {
	display: inline;
	float: left;
}

.alignright {
	display: inline;
	float: right;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

blockquote.alignleft,
.wp-caption.alignleft,
img.alignleft {
	margin: 0.4em 1.6em 1.6em 0;
}

blockquote.alignright,
.wp-caption.alignright,
img.alignright {
	margin: 0.4em 0 1.6em 1.6em;
}

blockquote.aligncenter,
.wp-caption.aligncenter,
img.aligncenter {
	clear: both;
	margin-top: 0.4em;
	margin-bottom: 1.6em;
}

.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter {
	margin-bottom: 1.2em;
}


/**
 * 9.0 Clearings
 */

.clear:before,
.clear:after,
.site:before,
.site:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-content:before,
.site-content:after,
.nav-links:before,
.nav-links:after,
.comment-navigation:before,
.comment-navigation:after,
.social-navigation ul:before,
.social-navigation ul:after,
.textwidget:before,
.textwidget:after {
	content: "";
	display: table;
}

.clear:after,
.site:after,
.entry-content:after,
.comment-content:after,
.site-content:after,
.nav-links:after,
.comment-navigation:after,
.social-navigation ul:after,
.textwidget:after {
	clear: both;
}

/**
 * 11.0 Widgets
 */

.widget {
	color: #191919;
	font-size: 16px;
	font-size: 1.6rem;
	color: rgba(25, 25, 25, 0.7);
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	margin: 0 auto 15%;
	width: 100%;
	word-wrap: break-word;
}

.widget p{
	font-size: .9em;
	font-weight: 400;
	opacity: .7;
}

.widget a {
	color: rgba(0,0,0,.5);
}

.widget a:hover {
	color: rgba(0,0,0,1);
}

.widget pre {
	line-height: 1.2;
}

.widget button,
.widget input,
.widget select,
.widget textarea {
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
}

.widget button,
.widget input {
	line-height: normal;
}

.widget button,
.widget input[type="button"],
.widget input[type="reset"],
.widget input[type="submit"] {
	font-size: 12px;
	font-size: 1.2rem;
	padding: 0.7917em 1.5833em;
}

.widget input[type="text"],
.widget input[type="email"],
.widget input[type="url"],
.widget input[type="password"],
.widget input[type="search"],
.widget textarea {
	padding: .7em .7em .5em;
}

.widget-title {
	color: #333;
	font-family: Helvetica, sans-serif;
	font-weight: 700;
	font-size: 16px;
	font-size: 1.6rem;
	margin: 0 0 5px;
}

.widget > :last-child {
	margin-bottom: 0;
}

.widget_calendar table {
	margin: 0;
}

.widget_calendar td,
.widget_calendar th {
	line-height: 2.3333;
	text-align: center;
	padding: 0;
}

.widget_calendar caption {
	font-family: "Lato", serif;
	font-weight: 700;
	margin: 0 0 1.6em;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.widget_calendar tbody a {
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
	background-color: #333;
	color: #fff;
	display: block;
	font-weight: 700;
}

.widget_calendar tbody a:hover,
.widget_calendar tbody a:focus {
	background-color: #707070;
	background-color: rgba(25, 25, 25, 0.7);
	color: #fff;
}

.widget_archive a,
.widget_categories a,
.widget_links a,
.widget_meta a,
.widget_nav_menu a,
.widget_pages a,
.widget_recent_comments a,
.widget_recent_entries a {
	border: 0;
}

.widget_archive ul,
.widget_categories ul,
.widget_links ul,
.widget_meta ul,
.widget_nav_menu ul,
.widget_pages ul,
.widget_recent_comments ul,
.widget_recent_entries ul {
	list-style: none;
	margin: 0;
}

.widget_archive li,
.widget_categories li,
.widget_links li,
.widget_meta li,
.widget_nav_menu li,
.widget_pages li,
.widget_recent_comments li,
.widget_recent_entries li {
	padding: .5em 0;
	line-height: 1em;
}

.widget_archive li:first-child,
.widget_categories li:first-child,
.widget_links li:first-child,
.widget_meta li:first-child,
.widget_nav_menu li:first-child,
.widget_pages li:first-child,
.widget_recent_comments li:first-child,
.widget_recent_entries li:first-child {
	border-top: 0;
	padding-top: 0;
}

.widget_archive li:last-child,
.widget_categories li:last-child,
.widget_links li:last-child,
.widget_meta li:last-child,
.widget_nav_menu li:last-child,
.widget_pages li:last-child,
.widget_recent_comments li:last-child,
.widget_recent_entries li:last-child {
	padding-bottom: 0;
}

.widget_categories .children,
.widget_nav_menu .sub-menu,
.widget_pages .children {
	border-top: 1px solid #eaeaea;
	border-top: 1px solid rgba(25, 25, 25, 0.1);
	margin: 0.7667em 0 0 0.8em;
	padding-top: 0.7667em;
}

.widget_recent_entries .post-date {
	display: block;
}

.widget_rss ul {
	list-style: none;
	margin: 0;
}

.widget_rss li {
	margin-bottom: 1.6em;
}

.widget_rss ul:last-child,
.widget_rss li:last-child {
	margin-bottom: 0;
}

.widget_rss .rsswidget {
	border: 0;
	font-weight: 700;
}

.widget_rss .rsswidget img {
	margin-top: -4px;
}

.widget_rss .rss-date,
.widget_rss cite {
	font-family: "Lato", sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	font-style: normal;
	display: block;
	line-height: 2;
	opacity: 0.8;
}

.textwidget > :last-child {
	margin-bottom: 0;
}

.widget p a {
	text-decoration: underline;
}

.widget p a:hover {
	text-decoration: none;
}

.widget li a {
	opacity: .7;
}

.widget li a:hover {
	opacity: 1;
}

/** TT Widgets */

.ridge-testimonials {

}

.ridge-testimonials img {
	display: block;
	max-width: 70px;
	margin: 0 auto;
	-webkit-border-radius: 75px;
	border-radius: 75px;
	margin-top: 10px;
}

.ridge-testimonials p {
	color: rgba(25,25,25,0.7);
	margin-top: 1.3636em;
	margin-bottom: 10px;
}

.ridge-testimonials span.title {
	margin-top: 0;
	font-family: Georgia, serif;
	color: #191919;
	font-style: italic;
}

#flickr-box {
	position: relative;
	clear: both;
}

#flickr-box .flickr-image {
	float: left;
	padding: 2px;
}

#flickr-box .flickr-image img {
	width: 83px;
	height: 83px;
	float: left;
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
}

aside.ridge-service i {
	font-size: 70px;
	width: 70px;
	display: block;
	margin: 0 auto;
}

.tagcloud a {
	padding: 4px;
	background: #e9e9e9;
	border-radius: 2px;
	line-height: 28px;
}

.search .entry-content {
	padding-top: 0;
}

/**
 * 12.0 Content
 */

.site-content {
	float: left;
	padding-left: 250px;
	width: 100%;
	background: #f7f7f7;
}

.content-area {
	max-width: 1100px;
	margin: 0 auto 50px;
	padding: 0 30px;
	background: #f7f7f7;
}

.content-area.portfolio {
	padding: 0;
	max-width: 1200px;
}

.entry-content {
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
	background-color: #fff;
	padding: 50px 50px 50px;
}

.entry-content .inner {
	
}

.entry-content .narrow {
	margin: 0 10%;
}

.entry-content li {
	font-size: 1.3em;
	font-weight: 200;
}


/** Footer */
footer.site-footer {
	background: #efefef;
	padding: 60px 0 40px 250px;
	text-align: center;
	font-weight: 200;
	width: 100%;
	float: left;
	width: 100%;
}

footer.site-footer *{
	
}

footer.site-footer  p {
	margin: 0 auto !important;
	display: block;
	font-size: 1em;
	margin: 0 50px 20px!important;
}

footer.site-footer  p.secondary {
	margin-top: 20px;
}

footer.site-footer a {
	color: #191919;
}

footer.site-footer a:hover {
	color: rgba(25,25,25,0.7);
}

footer.site-footer .fa, .widget .fa {
	font-size: 1.7em;
	font-weight: normal !important;
	margin-right: 10px;
	opacity: .5;
}

footer.site-footer .fa:hover, .widget .fa:hover {
	opacity: 1;
}



/**
 * 12.1 Posts and pages
 */

.hentry {
	position: relative;
}

.hentry.has-post-thumbnail {
	padding-top: 0;
}

.hentry.sticky:not(.has-post-thumbnail) {
	padding-top: -webkit-calc(7.6923% + 24px);
	padding-top: calc(7.6923% + 24px);
}

.hentry + .hentry {
}

.post-thumbnail {
	border: 0;
	display: block;
	margin-bottom: 2.4em;
}
.post-thumbnail img {
	display: block;
	margin: 0 auto;
}

.post .wp-post-image {
	margin-bottom: 5% !important;
}

a.post-thumbnail:hover,
a.post-thumbnail:focus {
	opacity: 0.85;
}

.entry-header {
	margin: 50px !important;
}

.entry-header h1.entry-title, h2.entry-title,
.page-header h1.page-title{
	font-family: Lato, sans-serif;
	font-size: 30px;
	font-size: 3rem;
	letter-spacing: 0.2em;
	padding-left: 0.2em;
	text-align: center;
	text-transform: uppercase;
}

#blog h2.entry-title {
	margin: 0 !important;
	font-size: 35px;
	font-size: 3rem;
}

.entry-header .entry-excerpt {
	text-align: center !important;
	font-family: Georgia, serif;
	font-size: 18px;
	font-size: 1.8rem;
	font-style: italic;
	text-align: center !important;
	color: rgba(25,25,25,0.6);
	max-width: 600px;
	margin: 1% auto;
}
	

.page-header h1.page-title {
	
}

.entry-meta,
.page-meta{
	text-align: center;
	margin-bottom: 3%;
	font-size: 14px;
	color: rgba(25,25,25,0.4);
	font-style: italic;
	font-family: Georgia, serif;
}

.entry-meta a {
	color: rgba(25,25,25,0.8);
}

.entry-content blockquote {
	margin: 0 10% 50px;
	padding: 0 1.3636em !important;
}

p.attribution,
p.caption {
	font-family: Georgia, serif;
	font-size: 14px;
	color: rgba(25,25,25,0.4);
}

p.caption {
	color: rgba(25,25,25,0.7);
}

.entry-content > :last-child,
.entry-summary > :last-child {
	margin-bottom: 0;
}

.entry-content,
.entry-summary,
.page-content,
.comment-content {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	word-wrap: break-word;
}

.entry-content h1,
.entry-summary h1,
.page-content h1,
.comment-content h1 {
	font-size: 26px;
	font-size: 2.6rem;
	line-height: 1.1538;
	margin-top: 1.8462em;
	margin-bottom: 0.9231em;
}

.entry-content h2,
.entry-summary h2,
.page-content h2,
.comment-content h2 {
	font-size: 24px;
	font-size: 2.4rem;
	line-height: 1.3636;
	margin-top: 2.1818em;
	margin-bottom: 1.0909em;
}

.entry-content h3,
.entry-summary h3,
.page-content h3,
.comment-content h3 {
	font-size: 21px;
	font-size: 2.1rem;
	line-height: 1.3333;
	margin-top: 2.6667em;
	margin-bottom: 1.3333em;
}

.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-summary h4,
.entry-summary h5,
.entry-summary h6,
.page-content h4,
.page-content h5,
.page-content h6,
.comment-content h4,
.comment-content h5,
.comment-content h6 {
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 1.2;
	margin-top: 3.2em;
	margin-bottom: 1.6em;
}

.entry-content h5,
.entry-content h6,
.entry-summary h5,
.entry-summary h6,
.page-content h5,
.page-content h6,
.comment-content h5,
.comment-content h6 {
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.entry-content > h1:first-child,
.entry-content > h2:first-child,
.entry-content > h3:first-child,
.entry-content > h4:first-child,
.entry-content > h5:first-child,
.entry-content > h6:first-child,
.entry-summary > h1:first-child,
.entry-summary > h2:first-child,
.entry-summary > h3:first-child,
.entry-summary > h4:first-child,
.entry-summary > h5:first-child,
.entry-summary > h6:first-child,
.page-content > h1:first-child,
.page-content > h2:first-child,
.page-content > h3:first-child,
.page-content > h4:first-child,
.page-content > h5:first-child,
.page-content > h6:first-child,
.comment-content > h1:first-child,
.comment-content > h2:first-child,
.comment-content > h3:first-child,
.comment-content > h4:first-child,
.comment-content > h5:first-child,
.comment-content > h6:first-child {
	margin-top: 0;
}

.entry-content a,
.entry-summary a,
.page-content a,
.comment-content a,
.pingback .comment-body > a {
}

.entry-content a:hover,
.entry-content a:focus,
.entry-summary a:hover,
.entry-summary a:focus,
.page-content a:hover,
.page-content a:focus,
.comment-content a:hover,
.comment-content a:focus,
.pingback .comment-body > a:hover,
.pingback .comment-body > a:focus {
	border-bottom: 0;
}

.entry-content a img,
.entry-summary a img,
.page-content a img,
.comment-content a img {
	display: block;
}

.entry-content .more-link,
.entry-summary .more-link:after {
	white-space: nowrap;
}

.entry-content .more-link:after,
.entry-summary .more-link:after {
	content: "\f429";
	font-size: 16px;
	position: relative;
	top: 5px;
}

.author-info {
	border-top: 1px solid #eaeaea;
	border-top: 1px solid rgba(25, 25, 25, 0.1);
	margin: 0 7.6923%;
	padding: 7.6923% 0;
}

.author-info .avatar {
	float: left;
	height: 36px;
	margin: 0 1.6em 1.6em 0;
	width: 36px;
}

.author-heading {
	color: #707070;
	color: rgba(25, 25, 25, 0.7);
	font-family: "Lato", sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	letter-spacing: 0.04em;
	margin-bottom: 1.5em;
	text-transform: uppercase;
}

.author-title {
	clear: none;
}

.author-bio {
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.5;
	overflow: hidden;
	padding-bottom: 1px;
}

.author-description {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	word-wrap: break-word;
}

.author-description a {
	border-bottom: 1px solid #333;
}

.author-description a:hover,
.author-description a:focus {
	border-bottom: 0;
}

.author-description > :last-child {
	margin-bottom: 0;
}

.author-link {
	white-space: nowrap;
}

.author-link:after {
	content: "\f429";
	position: relative;
	top: 1px;
}

.entry-footer {
	
}


.sticky-post {
	background-color: #333;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 0.25em 0.5em;
	position: absolute;
	top: 0;
	text-transform: uppercase;
}

.updated:not(.published) {
	display: none;
}

.sticky .posted-on {
	display: none;
}

.posted-on:before,
.byline:before,
.cat-links:before,
.tags-links:before,
.comments-link:before,
.entry-format:before,
.edit-link:before,
.full-size-link:before {
	margin-right: 2px;
	position: relative;
}

.posted-on,
.byline,
.cat-links,
.tags-links,
.comments-link,
.entry-format,
.full-size-link {
	margin-right: 1em;
}

.format-aside .entry-format:before {
	content: "\f101";
}

.format-image .entry-format:before {
	content: "\f473";
}

.format-gallery .entry-format:before {
	content: "\f103";
}

.format-video .entry-format:before {
	content: "\f104";
}

.format-status .entry-format:before {
	content: "\f105";
}

.format-quote .entry-format:before {
	content: "\f106";
}

.format-link .entry-format:before {
	content: "\f107";
}

.format-chat .entry-format:before {
	content: "\f108";
}

.format-audio .entry-format:before {
	content: "\f109";
}

.posted-on:before {
	content: "\f307";
}

.byline:before {
	content: "\f304";
}

.cat-links:before {
	content: "\f301";
}

.tags-links:before {
	content: "\f302";
}

.comments-link:before {
	content: "\f300";
}

.full-size-link:before {
	content: "\f402";
}

button.post-edit-button:before {
	font-family: FontAwesome;
	content: "\f040";
	position: relative;
	left: -4px;
	top: 0px;
}

a.post-edit-link {
	margin: 30px auto 30px !important;
	display: block;
	width: 100px;
	text-align: center;
}

.taxonomy-description {
	color: #707070;
	color: rgba(25, 25, 25, 0.7);
	padding-top: 0.4em;
}

.taxonomy-description a {
	border-bottom: 1px solid #333;
}

.taxonomy-description a:hover,
.taxonomy-description a:focus {
	border-bottom: 0;
}

.taxonomy-description > :last-child {
	margin-bottom: 0;
}

.page-content {
	background-color: #fff;
	padding: 7.6923%;
}

.page-content > :last-child {
	margin-bottom: 0;
}

.page-links {
	clear: both;
	font-family: "Lato", sans-serif;
	margin-bottom: 1.3333em;
}

.page-links a,
.page-links > span {
	border: 1px solid #eaeaea;
	border: 1px solid rgba(25, 25, 25, 0.1);
	display: inline-block;
	font-size: 12px;
	font-size: 1.2rem;
	height: 2em;
	line-height: 2;
	margin: 0 0.3333em 0.3333em 0;
	text-align: center;
	width: 2em;
}

.page-links a {
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
	background-color: #333;
	border-color: #333;
	color: #fff;
}

.page-links a:hover,
.page-links a:focus {
	background-color: #707070;
	background-color: rgba(25, 25, 25, 0.7);
	border-color: transparent;
	color: #fff;
}

.page-links > .page-links-title {
	border: 0;
	color: #707070;
	color: rgba(25, 25, 25, 0.7);
	height: auto;
	margin: 0;
	padding-right: 0.5em;
	width: auto;
}

.entry-attachment {
	margin-bottom: 1.6em;
}

.type-attachment .entry-title {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	word-wrap: break-word;
}

.entry-caption {
	color: #707070;
	color: rgba(25, 25, 25, 0.7);
	font-family: "Lato", sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	line-height: 1.5;
	padding-top: 0.5em;
	word-wrap: break-word;
}

.entry-caption > :last-child {
	margin-bottom: 0;
}


/**
 * 12.2 Post Formats
 */

.format-aside .entry-title,
.format-image .entry-title,
.format-video .entry-title,
.format-quote .entry-title,
.format-gallery .entry-title,
.format-status .entry-title,
.format-link .entry-title,
.format-audio .entry-title,
.format-chat .entry-title {
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 1.3333;
	margin-bottom: 1.3333em;
}

.format-link .entry-title a:after {
	content: "\f442";
	font-size: 24px;
	height: 24px;
	position: relative;
	top: 0;
	width: 24px;
}

.blog .format-status .entry-title,
.archive .format-status .entry-title {
	display: none;
}


/**
 * 12.3 Comments
 */

#comments {
	margin-top: 80px;
	padding: 0;
	max-width: 1100px;
	margin: 0 auto;
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
	background-color: #fff;
	padding: 50px;
}
#comments ul, #comments p, #comments h4 {
	padding-left: 0;
	padding-right: 0;
}
#comments ul {
	padding-right: 0;
}
#comments article {
	margin: 20px 0;
}

#comments ul {
	list-style: none;
	padding-bottom: 0 !important;
	margin-bottom: 40px !important;
}
#comments ul.children {
	border-left: 1px solid #ececec;
}
#comments ol {
	list-style: none;
	padding: 0;
}
#comments h4 {
	font-size: 1.5em;
	font-weight: 700;
}

#comments h3 {
	font-size: 1.5em;
	font-style: normal;
	font-family: "Lato";
	font-weight: 700;
	margin-bottom: 10px;
	color: #000;
}
#comments p {
	padding-left: 0;
	padding-right: 0;
	margin-left: 100px;
	font-size: 16px;
	font-size: 1.6rem;
}
#comments article {
	position: relative;
}
#comments .reply a {
	padding: 0;
	margin-left: 100px;
	font-size: 14px;
	font-size: 1.4rem;
}
.comment-meta {
	height: 70px;
}

.comment-metadata {
	font-weight: 200 !important;
}

.comment-author {
	font-weight: bold !important;
	font-size: 1.2em;
}

#trackbacks {
}
.comment-meta .avatar {
	width: 70px !important;
	height: 70px;
	padding: 0 !important;
	position: absolute;
	left: -8px;
	top: 0;	
	-webkit-border-radius: 35px;
	   -moz-border-radius: 35px;
	   		border-radius: 35px;
}
b.fn {
	margin-left: 100px;
}

b.fn a {
	color: #000;
}

b.fn a:hover {
	color: #cccccc;
}

.comment .edit-link {
	display: none !important;
}
.comment.depth-2 {
	padding-left: 5%;
}
.comment.depth-3 {
	padding-left: 10%;
}
div.comment-metadata {
	text-align: left !important;
	padding-bottom: 20px;
	margin-left: 100px;
	color: #a5a5a5 !important;
}

div.comment-metadata a{
	color: #ccc;
}

/* Comment Form */
#respond label {
	display: block;
	margin-top: 15px;
}
#respond .form-allowed-tags {
	display: none;
}
#respond {
	padding: 0;	
}
#respond h3 {
	padding: 0;
}
#respond p {
	margin: 0;
}
#respond p.comment-form-comment, #respond p.form-submit {
	padding-top: 40px;
}

.comments-area input[type="text"],
.comments-area input[type="email"],
.comments-area input[type="url"],
.comments-area input[type="password"],
.comments-area input[type="search"] {
	max-width: 300px;
}

p.comment-form-comment {
	margin: 0 !important;
	padding: 0 !important;
}

/**
 * 12.4 Custom Templates
 */

/* Portfolio Template */
#home-banner {
	position: relative;
	overflow: hidden;
	width: 100%;
}

#home-banner .bg {
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
}

#home-banner .inner {
	position: absolute;
	width: 100%;
	padding: 0;
	text-align: center;
	color: #191919;
}

body #home-banner * {
	color: #fff;
}

#home-banner, #home-banner h1, #home-banner h2, #home-banner h3, #home-banner h4, #home-banner h5 {
	color: #fff;
	margin-bottom: 20px;
	line-height: 65px;
	

}

#home-banner h1 {font-size: 4em; font-weight: bold;}
#home-banner h2 {font-size: 3em;}
#home-banner h3 {font-size: 2.5em;}
#home-banner h4 {font-size: 2.2em;}

#home-banner p {
	font-size: 1.5em;
	font-weight: 200;
	color: rgba(255,255,255,1);
	padding: 0 50px 0 50px;
}



/* Filter Nav */

.filter-wrap {
	text-align: center;
}

#filter-nav{
	margin: 2.72em auto;
	width: auto;
	text-align: center;
	width: 100%;
	position: relative;
	list-style: none !important;
}

#filter-nav li {
	padding: 0;
	background: none;
	margin: 0;
	display: inline-block;
	list-style: none !important;
}

#filter-nav li a {
	font-size: 14px;
	display: inline-block;
	color: #a5a5a5;
	text-decoration: none;
	position: relative;
	cursor: pointer;
	padding: 7px 11px 7px !important;
	border: none;
	line-height: 1em;
	text-transform: uppercase;
	-o-transition:.3s;
	-ms-transition:.3s;
	-moz-transition:.3s;
	-webkit-transition:.3s;
	transition:.3s;
	font-family: Lato, sans-serif;
	font-weight: 500;
}

#filter-nav li a:hover {
	color: #191919;
}

#filter-nav .selected, #filter-nav a.selected:hover {
	color: #191919;
	padding: 3px;
	background: #e9e9e9;
	border-radius: 3px;
	-moz-border-radius: 3px;
}

/* Projects */

.thumbs {
	visibility: hidden;
}

#portfolio-content p {
    padding: 0 10%;
}

#projects {
	position: relative;
	margin: 0 3.5%;	
}

#projects .project.small {
	float: left;
	max-width: 380px;
	margin-bottom: 20px;
}

#projects .project.small .inside {
	margin: 0 10px 0;
	overflow: hidden;
	position: relative;
	height: auto;
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
}


#projects .project.small img {
	position: relative;
	display: block;
	height: auto;
	max-width: 100%;
	opacity: 1;
}

span.empty-project {
	width: 100%;
	height: 100%;
	background: #a5a5a5;
	display: block;
	margin: 0;
	padding: 0;
	position: relative;
}

span.empty-project::before {
	content: "\f03e";
	position: absolute;
	width: 100%;
	top: 50%;
	left: 0;
	color: rgba(25,25,25,0.3);
	margin-top: -12px;
	font-size: 48px;
	font-family: FontAwesome;
}

#projects .project.small figcaption::before,
#projects .project.small figcaption::after {
	pointer-events: none;
}

#projects .project.small figcaption,
#projects .project.small figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#projects .project.small figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

#projects .project.small img,
#projects .project.small span {
	height: 100%;
	width: 100%;
	-webkit-transition: 1s;
	-moz-transition: 1s;
	-ms-transition: 1s;
	-o-transition: 1s;
	transition: 1s;
	-webkit-transform: scale(1,1);
	-ms-transform: scale(1,1);
	transform: scale(1,1);
}

#projects .project.small:hover img,
#projects .project.small:hover span {
	-webkit-transform: scale(1.05,1.05);
	-ms-transform: scale(1.05,1.05);
	transform: scale(1.05,1.05);
}

#projects .project.small h2 {
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.1em;
	padding-left: 0.1em;
}

#projects .project.small h2 span {
	font-weight: 800;
}

#projects .project.small figcaption {
	top: auto;
	bottom: 0;
	padding: 1.1em;
	height: auto;
	background: #fff;
	color: #191919;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
}

#projects .project.small figcaption .inner {
	position: relative;
}

#projects .project.small figcaption .inner h2 {
	font-family: Lato, sans-serif;
	font-size: 14px;
	letter-spacing: 0.1em;
	text-align: center;
	text-transform: uppercase;
	margin: 0;
	position: relative;
	margin-bottom: 0 !important;
	line-height: 1.5em;
}

#projects .project.small figcaption .inner h3 {
	font-size: 14px;
	font-family: Georgia, serif;
	color: rgba(25, 25, 25, 0.6);
	text-align: center;
	text-transform: none;
	line-height: 1.3636em;
	margin-top: 0 !important;
}

#projects .project.small:hover figcaption,
#projects .project.small:hover .inner h2 {
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

#projects .project.small figcaption:hover .inner h3 {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

#projects .project.small a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/** Blog */

.home.blog .content-area {
	padding-top: 30px;
}

#main.masonry {
    padding: 0;
}

.masonry #blog{
    padding: 0;
}

#blog article {
	position: relative;
	background: #fff;
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
	height: auto;
	margin-bottom: 50px;
	overflow: hidden;
}

.masonry #blog article {
    height: auto;
}

#blog article .img-inner {
	position: relative;
}

#blog article .img-inner span.empty-project{
	position: absolute;
}

#blog article figcaption{
	padding: 2.72em;
}

#blog article h2 {
	text-transform: uppercase;
	font-size: 18px;
	text-align: center;
	font-weight: 800;
}

#blog article .inner {
    padding: 0 8%;
}

#blog article .inner .meta {
	width: 100%;
	display: block;
	font-style: italic;
	font-family: Georgia, serif;
	color: rgba(25,25,25,0.3);
	text-align: center;
	margin-bottom: 1.3636em;
}

#blog article .inner .meta a {
	color: rgba(25,25,25,0.6);
}

#blog article figcaption a.read-more {
	font-weight: 600;
}

#blog.masonry article {
	margin: 0;
}

.post .img-inner {
    width: 100%;
    height: 33%;
    overflow: hidden;
}

.post .img-inner img {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
}

span.empty-project::before {
	text-align: center;
}

a.read-more {
    font-weight: 400;
}

#blog article footer {
    text-align: center;
    padding: 2.5% 0 0;
}

#blog article footer .comments a {
    position: relative;
}

#blog article footer .comments a::before {
    content: '\f075';
    font-family: FontAwesome;
    font-size: 14px;
    position: absolute;
    left: -18px;
}

/** Testimonials */
.content-area.testimonials {
	max-width: 1200px;
	padding: 0 10px 30px;
}

.testimonial.small {
	padding: 15px;
}

.testimonial.small .inside {
	padding: 40px 30px;
	height: auto;
	text-align: center;
	font-size: .8em;
	background: #fff;
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
}

.testimonial.small img.wp-post-image {
	width: 120px;
	height: 120px;
	border-radius: 200px;
	display: block;
	margin: 0 auto 30px;
}

.single-testimonial img.wp-post-image {
	width: 120px;
	height: 120px;
	border-radius: 200px;
	display: block;
	margin: 0 auto 30px;
}

.testimonial.small .inside p {
	padding: 0;
	margin: 0 0 15px;
}

.testimonial.small .inside h3 {
	padding: 0;
	margin: 0;
	font-size: 1.6em;
}

/** Isotope */

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

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

.isotope,
.isotope .isotope-item {
	-webkit-transition-duration: 0.8s;
	-moz-transition-duration: 0.8s;
	transition-duration: 0.8s;
}

.isotope {
	-webkit-transition-property: height, width;
	-moz-transition-property: height, width;
	transition-property: height, width;
}

.isotope .isotope-item {
	-webkit-transition-property: -webkit-transform, opacity;
	-moz-transition-property:    -moz-transform, opacity;
	transition-property:         transform, opacity;
}


/**
 * 12.5 Flexslider
 */


/* Direction Nav */

.tt_sc .flex-direction-nav {
	position: absolute;
	width: 100%;
	margin: -0 0 15px !important;
	right: 0;
	bottom: 52%;
	display: block;
}

.flex-direction-nav li a { color: #fff; z-index: 100; width: 31px!important; height: 35px; display: block; background: none !important;  cursor: pointer; text-indent: 0 !important; border-radius: 5px;}
.flexslider.normal .flex-direction-nav li a { background-color: rgba(0,0,0,.1) !important; padding: 3px 7px; height: 40px;}
#slideshow .flexslider .flex-direction-nav li a.flex-prev { padding: 0 3px 3px 5px; }
#slideshow .flexslider .flex-direction-nav li a.flex-next { padding: 0 20px 3px 9px; }
.flexslider.normal .flex-direction-nav li a.flex-next { padding: 3px 20px 3px 9px; }
.flex-direction-nav li a.flex-next:hover, .flex-prev:hover {opacity: 0.8;}
.flex-direction-nav li a.flex-prev::before {
	content: "\f104";
	font-family: FontAwesome;
	margin: 1px 0 0 -1px;
	font-size: 2.5em !important;	
}
.flex-direction-nav li a.flex-next::before {
	content: "\f105";
	font-family: FontAwesome;
	font-size: 2.5em !important;
	margin: -2px 0 0 0;
}

.flexslider:hover .flex-prev { opacity: .7; left: 30px !important; }
.flexslider:hover .flex-next { opacity: .7; right: 30px !important; }

.tt_sc .flex-direction-nav li a { text-indent: 0 !important; border-radius: 5px !important; }
.tt_sc .flexslider .flex-prev { padding-top: -10px; }
.tt_sc .flex-control-nav li { width: 15px !important; height: 15px !important; }
.tt_sc .flex-control-nav li a:hover {border: 2px solid rgba(0,0,0,0.2) !important;}


/**
 * 13.0 Footer
 */

.site-info {
	color: #707070;
	color: rgba(25, 25, 25, 0.7);
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.5;
}

.site-info a {
	border-bottom: 1px solid transparent;
	color: #707070;
	color: rgba(25, 25, 25, 0.7);
}

.site-info a:hover {
	border-bottom: 1px solid #333;
}

.site-info a:hover,
.site-info a:focus {
	color: #333;
}


/**
 * 14.0 Media
 */

.site .avatar {
	border-radius: 50%;
}

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}

audio,
canvas {
	display: inline-block;
}

embed,
iframe,
object,
video {
	margin-bottom: 1.6em;
	max-width: 100%;
	vertical-align: middle;
}

p > embed,
p > iframe,
p > object,
p > video {
	margin-bottom: 0;
}

.wp-audio-shortcode,
.wp-video,
.wp-playlist.wp-audio-playlist {
	font-size: 15px;
	font-size: 1.5rem;
	margin-top: 0;
	margin-bottom: 1.6em;
}

.wp-playlist.wp-playlist {
	padding-bottom: 0;
}

.wp-playlist .wp-playlist-tracks {
	margin-top: 0;
}

.wp-playlist-item .wp-playlist-caption {
	border-bottom: 0;
	padding: 10px 0;
}

.wp-playlist-item .wp-playlist-item-length {
	top: 10px;
}


/**
 * 14.1 Captions
 */

.wp-caption {
	margin-bottom: 1.6em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0;
}

.wp-caption-text {
	color: #707070;
	color: rgba(25, 25, 25, 0.7);
	font-family: "Lato", sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.5;
	padding: 0.5em 0;
}


/**
 * 14.2 Galleries
 */

.gallery {
	margin-bottom: 1.6em;
}

.gallery-item {
	display: inline-block;
	padding: 1.79104477%;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-icon img {
	margin: 0 auto;
}

.gallery-caption {
	color: #707070;
	color: rgba(25, 25, 25, 0.7);
	display: block;
	font-family: "Lato", sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.5;
	padding: 0.5em 0;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}


/**
 * 15.0 Media Queries
 */

@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}

/* iPads */

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

    #site-header {
        width: 100% !important;
        height: auto !important;
        max-width: none;
        position: relative;
        padding: 0;
    }

    #menu-toggle {
        z-index: 999;
    }

    #nav-sidebar {
        padding-top: 150px;
        position: fixed;
        width: 100%;
        z-index: 888;
        visibility: hidden;
        background: #fff;
        opacity: 0;
        transition: visibility 0s linear 0.2s, opacity 0.2s linear;
        margin: 0;
        height: 100%;
        overflow: hidden;
        top: 0;
        left: -5000px;
    }

    .hidden-scroll {
        overflow-y: scroll;
        height: 100%;
        margin-left: -15px;
    }

    #site-header.toggled-on {

    }

    #site-header.toggled-on #nav-sidebar {
        visibility: visible;
        opacity: 1;
        transition-delay: 0s;
        left: 15px;
    }

    #site-header.toggled-on #nav-sidebar #secondary {
        border: none !important;
    }

    #site-header.toggled-on #nav-sidebar #secondary {
        max-width: 300px;
    }

    #site-header.toggled-on #nav-sidebar #secondary .widget {
        width: 100% !important;
        max-width: none;
    }

    #menu-toggle {
        display: block;
        position: absolute;
        margin-right: 20px !important;
    }

    .site-branding {
        width: 100%;
        margin-left: 20px;
        padding: 15px 0;
        position: relative;
    }
    
    .site-branding h1.logo {
	width: 75px;
	padding: 0 !important;
	margin: 0;
	line-height: 0;
	}

    .site-content {
        padding-left: 0;
        float: none;
    }

    #site-navigation {
        max-width: 300px;
        margin: 0 auto;
    }

    #site-navigation li {
        border-bottom: 1px solid #eee;
        padding: 5px 0;
    }

    #site-navigation .sub-menu li {
        padding-left: 25px;
        border-bottom: none !important;
    }

    #nav-sidebar .secondary {
        max-width: 600px;

        margin: 0 auto;
    }

    #nav-sidebar .secondary .widget {
        max-width: 45%;
        float: left;
    }

    #nav-sidebar .secondary .widget:nth-child(2n+1) {
        clear: both;
        margin-right: 10%;
    }

    footer.site-footer {
        padding: 60px 0 40px;
    }
}

@media only screen and (max-width: 900px) {
    .entry-header {
        margin-bottom: 30px !important;
        margin-top: 30px !important;
    }

    blockquote {
        font-size: .9em !important;
    }

    #home-banner h1 {
        line-height: 65px;

    }
    
    #home-banner h1, #home-banner h2, #home-banner h3 {
        font-size: 2em;
    }

    h1 {
        font-size: 28px;
        font-size: 2.8rem;
    }

    h2 {
        font-size: 22px;
        font-size: 2.2rem;
    }

    h3 {
        font-size: 22px;
        font-size: 2.2rem;
    }

    h4 {
        font-size: 14px;
        font-size: 1.4rem;
    }

    p {
        font-size: 1.2em;
    }

    .post.small h2 {
        font-size: 1.6em !important;
    }

    .home.blog .content-area {
        padding-top: 0;
    }

    .blog article {
        margin-bottom: 20px !important;
    }

    #blog h2.entry-title {
        font-size: 1.4em !important;
    }

    #projects .home-inside {
        padding: 0 5%;
    }

    .home-inside h2 {
        font-size: 48px;
    }

    .home-inside h3 {
        font-size: 22px;
    }

    .entry-header .meta {
        font-size: .6em !important;
    }

    .home #home-content {
        padding: 40px 0 0 !important;
    }

    .content-area {
        padding: 0;
    }

    .content-area .entry-content {
        padding: 30px;
    }

    /*Testimonials*/
    .testimonial.small .inside h3 {
        font-size: 1.5em;
    }
}


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

    .content-area {
        float: none;
        margin: 0 auto;
        width: 100% !important;
    }

    #secondary {
        width: auto;
        float: none;
    }

    #menu-toggle {
        display: block;
    }

    #main-menu {
        font-size: 1.0em;
    }

    #main-menu li {
        margin-bottom: 30px;
    }

    #blog .posts .post a.button {
        font-size: 14px;
        padding: 5px 7px;
    }

    .entry-header {
        padding: 0 20px;
    }

    .entry-header h1 {
        font-size: 1.6em !important;
    }

    .entry-header p {
        font-size: 1.1em !important;
    }

    .content-area .entry-content {
        padding: 25px;
    }

    .content-area .entry-content .narrow {
        margin: 0;
    }

    .thumbs {
        max-width: 413px !important;
        margin: 0 auto !important;
    }

    .project.small .inside {
        margin: 0 !important;
    }

    .main.entry-header .inside {
        padding-bottom: 0 !important;
    }

    /*Reduce side padding*/
    .main-inside {
        padding: 0 15px !important;
    }

    #footer, #secondary {
        padding: 30px 0px !important;
    }

    .widget-box {
        width: 100% !important;
    }

    .site-main .post-navigation {
        padding: 0 15px;
    }
    
    .site-branding h1.logo {
	width: 50px;
	padding: 0 !important;
	margin: 0;
	line-height: 0;
	}
    
    #home-banner p {
	font-size: 1em;
	}
	
	#home-banner h1 {
    font-size: 2em;
    line-height: 45px;

    }
}

/* iPhone Landscape */
@media screen and (max-width: 600px) {
    .home-inside h2 {
        font-size: 36px;
    }
}

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

    #blog .posts .post .meta {
        font-size: 14px;
    }

    #blog .posts .post p.read-more {
        display: none;
    }

    #projects .home-inside {
        top: 15%;
    }

}

/* Small laptops */
@media screen and ( max-height: 880px ) {
    #banner-content .inside {
        max-width: 1000px !important;
    }

    #down-button {
        bottom: 10px;
    }

    #banner-content h1, #banner-content h2, #banner-content h3, #banner-content p, #banner-content img {
        margin-bottom: 25px;
    }

}

