/*
Theme Name: Stack
Theme URI: http://designerthemes.com/themes/stack/
Author: DesignerThemes.com
Author URI: http://designerthemes.com/
Description: A responsive portfolio theme.
Tags: two-columns, custom-background, custom-colors, custom-menu, editor-style, featured-images, post-formats, theme-options, threaded-comments, translation-ready
Version: 10.4.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: engine
*/

html { background: #fff; }

body {
    font: 400 16px/1.8 'Lora', serif;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    line-height: 1.3;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

h1 { font-size: 30px; }

h2 { font-size: 24px; }

h3 { font-size: 18px; }

h4 { font-size: 16px; }

.header,
a, i,
textarea, input,
.btn, .btn:hover,
.filter a,
.commentlist .reply,
.entry-wrap,
.main-content .featured-area:before,
.single-engine_portfolio .back-to-portfolio:before,
.entry-content .gallery-caption {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

a { color: #669900; }

a:hover {
    color: #222;
    text-decoration: none;
}

li { line-height: 1.5; }

p { margin: 0 0 15px; }

.row-fluid [class*="span"] { min-height: 1px }

.row-fluid .span12 { margin: 0; }

.main .content { margin: 30px 0; }

.main-content .hentry {
	margin-top: 30px;
	padding: 0 0 30px;
}

.container {
	width: 100%;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}

.main > .container {
	padding: 0 60px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body.engine input[type="submit"],
body.engine .btn,
body.engine .button > a,
body.engine .filter a {
    border: 2px solid transparent;
    border-radius: 100px;
    padding: 10px 20px;
    text-shadow: none;
    color: #fff;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 1.3;
    text-transform: uppercase;
    font-size: 12px;
    box-shadow: none;
    background: #669900;
    background-image: none;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body.engine .btn,
body.engine .btn.alt:hover {
	color: #fff;
	background: #669900;
	border-color: transparent;
}

body.engine input[type="submit"]:hover,
body.engine .filter a:hover,
body.engine .filter .active a,
body.engine .btn:hover,
body.engine .btn.alt {
	background: transparent;
	color: #333;
	border-color: #669900;
}

body.engine .button > a {
	border-color: #669900;
	background: transparent;
}

body.engine .button > a:hover {
	color: #fff;
	border-color: transparent;
}

body.engine .button.alt > a {
	background: #669900;
}

body.engine .button.alt > a:hover {
	background: rgba(51,51,51,.4);
	border-color: #669900;
}

body.engine input[type="submit"]:hover,
body.engine .btn:hover,
body.engine .button > a:hover,
body.engine .filter a:hover,
body.engine .filter .active a,
body.engine .btn.alt:hover,
body.engine .button.alt > a:hover { box-shadow: none; }

body.engine .menu-item.button > a { padding: 8px 16px; }

body.engine textarea,
body.engine input,
body.engine .uneditable-input {
    height: auto;
    border: 2px solid #ddd;
    border-radius: 0;
    box-shadow: none;
    font-family: inherit;
    margin-bottom: 0;
}

body.engine textarea:focus,
body.engine input:focus,
body.engine .uneditable-input:focus {
    outline: 0;
    box-shadow: none;
    border: 2px solid #669900;
}

textarea {
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
    width: 100%;
}

form { margin: 0 }

table {
    width: 100%;
    text-align: center;
}

.nivo-lightbox-image { overflow: auto; }
.nivo-lightbox-image img { max-height: none; }
.nivo-lightbox-theme-default.nivo-lightbox-overlay { background: rgba(0,0,0,.8); }
.nivo-lightbox-theme-default .nivo-lightbox-nav { border-radius: 0; }
.nivo-lightbox-theme-default .nivo-lightbox-nav:hover { background-color: transparent; }

.slider .caption {
	position: absolute;
	bottom: 0;
	display: block;
	width: 90%;
	padding: 10px 5%;
	text-align: center;
	color: #fff;
	color: rgba(255,255,255,.8);
	background-color: #444;
	background-color: rgba(0,0,0,.4);
}

label,
.wpcf7 { font-weight: bold; }

.entry-content .wpcf7 { margin: 20px 0; }

.wpcf7 input[type="text"],
.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select { margin-top: 10px; }

.wpcf7-text,
.wpcf7-select { width: 50%; }

.wpcf7-quiz-label { margin-right: 10px; }

div.wpcf7-mail-sent-ok,
div.wpcf7-validation-errors,
span.wpcf7-not-valid-tip {
    color: #B94A48;
    background-color: #F2DEDE;
    border-color: #EED3D7;
    position: static;
    display: block;
    padding: 5px 20px;
    margin-bottom: 20px;
    border: 1px solid #EED3D7;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
    border-radius: 4px;
    font-size: 10px;
}

div.wpcf7-mail-sent-ok {
    color: #468847;
    background-color: #DFF0D8;
    border-color: #D6E9C6;
}

.header-wrap {
    margin: 0 auto;
    width: 100%;
    position: absolute;
    z-index: 101;
}

.header-wrap a { color: #fff; }

.header { padding: 60px 0 90px; }

.header:hover { background: rgba(51,51,51,.4); }

.header-fixed.scrolling .header { background: rgba(51,51,51,.8); padding: 30px 0 60px; }

.header-fixed .header-wrap {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 101;
}

.logo { position: absolute; left: 60px; }

.logo h1 {
	font-size: 30px;
	font-weight: normal;
	letter-spacing: 2px;
	margin-top: -8px;
}

.logo .site-description {
	font-size: 12px;
	color: #aaa;
	text-transform: none;
	letter-spacing: 1px;
}

.primary-menu { position: absolute; right: 60px; }

.primary-menu ul { margin: 0 }

.primary-menu ul > li {
    display: inline-block;
    margin: 0 0 0 30px;
    padding: 0 0 15px;
    font-size: 12px;
    position: relative;
    text-transform: uppercase;
}

.primary-menu ul > li.menu-parent-item:last-child .dropdown-menu { margin-left: -100%; }

.primary-menu a {
	color: #fff;
	letter-spacing: 2px;
	font-weight: bold;
}

.primary-menu .dropdown-menu {
    background-color: #669900;
    margin-left: -20px;
    padding: 10px 0;
}

.primary-menu .dropdown-menu a {
    margin: 0;
    padding: 0;
    color: #fff;
    color: rgba(255,255,255,.7);
}

.primary-menu .dropdown-menu a:hover,
.primary-menu .dropdown-menu a:focus {
    background: none;
    filter: none;
    color: #fff;
}

.primary-menu .dropdown-menu li {
    margin: 0;
    padding: 10px 20px;
    filter: none;
    display: block;
    text-transform: none;
}

.dropdown-menu {
    box-shadow: 0 2px 2px rgba(0,0,0,.2);
    border-radius: 0;
    border: none;
    display: none;
}

.dropdown-menu .dropdown-menu { display: none !important; }

.dropdown-menu .menu-parent-item a {
	padding-bottom: 0 !important;
	border-bottom: 0 !important;
}

.social { margin: 0; padding: 30px 0 0; }

.social li {
    display: inline;
    margin: 0 10px;
}

.social a {
    border-radius: 100px;
    border: 2px solid transparent;
    color: #fff;
    width: 40px;
    height: 40px;
    font-size: 20px;
	line-height: 40px;
    display: inline-block;
}

.social a:hover { background: rgba(51,51,51,.4); }

.flexslider {
    margin: 0;
    background: none;
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    zoom: 1;
}

.gallery-stacked .flexslider .slides > li {
	display: block;
	margin-bottom: 30px;
}

/* slider dots */
.flexslider .flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: 50px;
    text-align: center;
    z-index: 30;
}

.flexslider .flex-control-nav li { margin: 0 5px; }

.flexslider .flex-control-nav li a {
    background: none;
    box-shadow: none;
    width: 10px;
    height: 10px;
    padding: 0;
    border: 2px solid rgba(255,255,255,.5);
}

.flexslider .flex-control-nav li a.flex-active {
    background-color: #aaa;
    background-color: rgba(255,255,255,.5);
    border: 2px solid transparent;
}

.flexslider:hover .flex-control-nav li a:not(.flex-active):hover {
    background-color: #fff;
    border-color: transparent;
}

/* slider arrows */
.flexslider .flex-direction-nav {
	-webkit-transition: background-color 0.2s ease-in-out;
    -moz-transition: background-color 0.2s ease-in-out;
    -o-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
}

.flexslider:not(.home-flexslider):hover .flex-direction-nav { background: #ccc; background: rgba(0,0,0,.2); }

.flexslider:hover .flex-direction-nav li {
	width: 36px;
	height: 100%;
	z-index: 100;
	position: absolute;
	top: 0;
	border-radius: 5px 0 0 0;
}

.flexslider:hover .flex-direction-nav li:last-child {
	border-radius: 0 5px 0 0;
	right: 0;
}

.flexslider .flex-direction-nav li a,
.flexslider:hover .flex-direction-nav li a {
	width: 32px;
	height: 60px;
	background-position: center center;
	opacity: .3;
	filter: alpha(opacity=30);
	z-index: 100;i
}

.flexslider .flex-direction-nav a { margin-top: -30px; }

.flexslider:hover .flex-direction-nav li a:hover { opacity: 1; filter: alpha(opacity=100); }

.flexslider .flex-direction-nav li a.flex-prev {
	left: 60px;
	background-image: url(assets/images/larr-white-2x.png);
}

.flexslider .flex-direction-nav li a.flex-next {
	right: 60px;
	background-image: url(assets/images/rarr-white-2x.png);
}

/* home slider */
.home-slider {
	width: 100%;
	height: 667px;
	margin: 0 auto;
	background: #444;
}

.slider-auto-height .home-slider { height: auto; }

.home-slider .home-flexslider { overflow: visible; }

.home-slider .home-flexslider .slides > li { position: relative; }

.home-slider .featured-area-wrap {
    overflow: hidden;
    max-height: 667px;
    position: relative;
}

.slider-auto-height .home-slider .featured-area-wrap { max-height: none; }

.home-slider .featured-area img {
	opacity: .8;
	filter: alpha(opacity=80);
}

.home-slider .post-details-wrap {
	display: table;
	width: 60%;
	height: 667px;
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -30%;
	text-align: center;
}

.home-slider .post-details-inner {
	display: table-cell;
	vertical-align: middle;
}

.home-slider .subheading {
	display: inline-block;
	margin: 0 0 10px;
	font-size: 16px;
	font-style: italic;
	line-height: 1.3;
	letter-spacing: 1px;
	color: #aaa;
	color: rgba(255,255,255,.8);
}

.home-slider .entry-title { margin: 0 0 15px; }

.home-slider .entry-title,
.home-slider .entry-title a,
.home-slider .entry-title a:hover {
	font-size: 60px;
	font-weight: bold;
	line-height: 1.1;
	letter-spacing: 5px;
    color: #fff;
}

.home-slider .post-details-inner .entry-content {
    color: #eee;
    color: rgba(255,255,255,.8);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.6;
}

.home-slider .format-video iframe {
    max-height: 667px;
    border: 5px solid #000;
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.slider-auto-height .home-slider .format-video iframe { max-height: none; }

.home-slider .format-video .featured-area-wrap { z-index: 100; }

.home-slider .post-details-wrap .btn {
	display: inline-block;
	margin-top: 25px;
	background: #669900;
	color: #fff;
}

.home-slider .post-details-wrap .btn:hover {
	color: #fff;
	background: rgba(51,51,51,.4);
}

.home-slider .post-details-wrap .btn.alt {
	border-color: rgba(255,255,255,.5);
	color: #fff;
}

.home-slider .post-details-wrap .btn.alt:hover { border-color: transparent; }

/* home postgrid & postlist */
.home-postgrid > .container,
.home-postlist > .container {
    text-align: center;
    padding: 40px 0 0;
}

.home-postgrid .home-postgrid-title,
.home-postlist .home-postlist-title {
    font-size: 30px;
    font-style: italic;
    text-transform: none;
    margin: 40px 0 20px;
    padding: 0 10%;
}

.home-postgrid .hentry,
.home-postlist .hentry { position: relative; }

.home-postlist .hentry {
	background-color: #444;
	height: 200px;
}

.home-postgrid [class*="span"] { margin: 0 }

.home-postgrid .span4 { width: 33.333333333333333%; background: #444; }

.home-postgrid .featured-area {
    position: relative;
    z-index: 10;
}

.home-postgrid .home-postgrid-description,
.home-postlist .home-postlist-description {
    color: #888;
    font-size: 16px;
    margin-bottom: 40px;
    padding: 0 10%;
}

.home-postgrid .home-postgrid-description p,
.home-postgrid .home-postgrid-description p { margin: 0; }

.home-postgrid .home-postgrid-description .btn,
.home-postlist .home-postlist-description .btn { margin-top: 20px }

.home-postlist .hentry .entry-wrap {
	display: table;
	position: static;
	top: auto;
	left: auto;
    height: 200px;
}

.home-postlist .entry-header {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	padding: 0 100px;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.home-postlist .entry-wrap .entry-byline {
	font-size: 16px;
	margin-bottom: 5px;
	color: rgba(255,255,255,.6);
}

.home-postlist .entry-title { margin: 0; }

.home-postlist .entry-title a {
    font-size: 30px;
    letter-spacing: 5px;
    color: #fff;
    margin: 0;
}

.footer-callout .container {
	text-align: center;
	background: #fff;
	padding: 60px 0;
}

.footer-callout .callout-title { font-size: 30px; }

.footer-callout .callout-description { font-size: 16px; }

.footer-callout .callout-description p:last-child { margin: 0; }

.footer-callout .btn { margin-top: 20px; }

.footer-bar {
	background: #ccc;
	text-align: center;
	font-size: 18px;
}

.footer-bar .widget {
	padding: 60px 10%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.footer-bar .widget:nth-child(odd) { background: #fff; }

.footer-bar .widget_nav_menu { padding: 30px 10%; }

.footer-bar .widget_nav_menu ul {
    margin: 0;
    list-style: none;
}

.footer-bar .widget_nav_menu ul ul { display: none; }

.footer-bar .widget_nav_menu li {
    display: inline-block;
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
    margin: 0 15px;
}

.footer-bar .widget_nav_menu li a {
	color: #333;
	letter-spacing: 2px;
	font-weight: bold;
}

.footer-bar .widget_nav_menu li a:hover { color: #669900 }

.bottom-bar {
	background: #444;
	text-align: center;
}

.bottom-bar > .container {
	padding: 12px 30px 14px;
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.bottom-bar .footer-info {
	font-size: 12px;
	font-style: italic;
	color: #888;
	padding: 30px;
	letter-spacing: 1px;
}

.bottom-bar .footer-info a { color: #888; }

.bottom-bar .footer-info a:hover { color: #aaa; }

.widget-title {
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.sidebar .widget-title {
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.sidebar .widget {
    padding: 30px 0 10px;
    color: #888;
}

.sidebar .widget:first-child { padding-top: 0; }

.sidebar select { width: 100% }

.sidebar a:hover { color: #222 }

.widget > ul,
.DT_Twitter ul,
.Engine_Twitter ul {
    margin: 0;
    list-style: none;
}

.widget li:not(:last-child) { margin-bottom: 10px }

.visit-wrap { margin-top: 20px; }

.visit-wrap:before {
	content: '\f081';
	font-family: FontAwesome;
	margin-right: 2px;
	color: rgba(0,0,0,.3);
}

input[type="text"].search-query {
    width: 100%;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
    height: 30px;
    border-radius: 15px;
}

.page-header-wrap,
.home-postlist .hentry {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: #444;
}

.page-header {
    text-align: center;
    margin: 0 auto;
    padding: 30px 10% 0;
    border: 0;
    display: table;
    width: 100%;
    height: 667px;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
    background: rgba(51,51,51,.2);
}

.page-header-wrap:not([style*="background"]) .page-header { height: 400px; padding-top: 60px; }

.page-header > .container {
	position: relative;
	display: table-cell;
	vertical-align: middle;
	width: 100%;
}

.page-header .subheading,
.page-header .entry-byline,
.page-header .terms {
	margin: 2px 0 10px;
	padding: 0 30px;
	font-size: 20px;
	font-style: italic;
	font-weight: normal;
	line-height: 1.3;
	letter-spacing: 1px;
	color: rgba(255,255,255,.7);
	text-transform: none;
}

.page-header .entry-byline a { color: rgba(255,255,255,.7); }

.page-header .entry-byline a:hover { color: #fff; }

.page-header .page-title {
    margin: 0;
    font-size: 60px;
    color: #fff;
}

.page-header .subheading p { margin: 0; }

.page-header .searchform { margin: 30px 30px 10px; }

.single-engine_portfolio .main-content .hentry .entry-title { margin-top: -5px }

.single-engine_portfolio .main-content .hentry .entry-content {
    margin: 0;
    padding: 0;
}

.main-content .featured-area {
	margin-bottom: 25px;
	position: relative;
	z-index: 1;
	min-height: 100px;
}

/* loading spinner */
.main-content .featured-area:before {
	content: '\f021';
	font: normal 20px/1 FontAwesome;
	color: rgba(0,0,0,.3);
    -webkit-font-smoothing: antialiased;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    -moz-animation: spin 2s infinite linear;
	-o-animation: spin 2s infinite linear;
	-webkit-animation: spin 2s infinite linear;
	animation: spin 2s infinite linear;
	display: inline-block;
	z-index: -1;
}

.main-content .hentry:hover .featured-area:before { opacity: 0; }

.img-fill .main-content .featured-area { margin: -30px -30px 25px; }

.single-post .main-content .featured-area { margin-bottom: 30px; }

.main-content .entry-wrap { position: relative; }

.main-content .entry-content .read-more { margin-top: 10px; }

.main-content .entry-categories { margin: 15px 0 0; }

.main-content .entry-categories li {
    display: block;
    float: none;
    font-size: 9px;
    text-transform: uppercase;
}

.main-content .entry-categories a {
    display: inline-block;
    margin-right: 0;
    padding: 3px 10px 2px;
    background-color: #669900;
    color: #fff;
    border-radius: 2px;
    font-weight: 600;
}

input[type="submit"],
.main-content .transparent {
    border-color: #ddd;
    color: #444;
    padding: 5px 15px;
    margin-top: 15px;
}

input[type="submit"]:hover,
.main-content .transparent:hover { color: #222; }

.blog .entry-header,
.archive .entry-header,
.search .entry-header { margin: 0 0 20px; }

.entry-title,
.entry-title a {
	color: #222;
	font-size: 30px;
	font-weight: normal;
	margin: 0 0 5px;
}

.entry-wrap .entry-meta {
	margin-top: 30px;
	padding-top: 15px;
	border-top: 1px solid #ddd;
	line-height: 1;
}

.entry-wrap .entry-byline,
.entry-wrap .entry-byline a,
.entry-wrap .entry-meta {
    font-size: 16px;
    font-style: italic;
    color: #aaa;
    color: rgba(0,0,0,.6);
}

.entry-wrap .entry-meta a { color: #444; }

.featured-image a:hover {
    opacity: .9;
    filter: alpha(opacity=90);
}

.entry-content { margin-top: -5px; }

.single .entry-content { margin-top: -3px; }

.intro,
blockquote p {
	font-size: 18px;
	line-height: 1.5;
}

/* formats */
.main-content .format-quote,
.main-content .format-link {
	background: #444;
	overflow: hidden;
	padding: 30px;
}

.format-quote .entry-content,
.format-quote .entry-content a,
.format-link .entry-content a {
	color: #fff;
	border: 0;
}

.format-quote .format-icon,
.format-link .format-icon {
	position: absolute;
	top: -40px;
	right: -40px;
	color: rgba(255,255,255,.1);
	font-size: 100px;
}

.format-quote .entry-content {
	font-size: 18px;
	line-height: 1.5;
	margin-top: -5px;
}

.format-quote .entry-content p { margin-bottom: 0; }

.format-quote .entry-content .citation {
	font-size: 13px;
	color: rgba(255,255,255,.6);
	margin-top: 15px;
}

.format-link .entry-content p { margin: -5px 0 0; }

.format-link .entry-content a {
	font-size: 22px;
	line-height: 1.4;
}

.format-link .entry-content a:after {
	content: attr(href);
	font: normal 12px monospace;
	color: rgba(255,255,255,.6);
	display: block;
	margin-top: 10px;
}

.format-audio .entry-content .wp-audio-shortcode:first-child { margin-top: -30px; }

.img-fill .format-audio .entry-content .wp-audio-shortcode {
	border: 30px solid #444;
	border-width: 0 30px;
}

.img-fill .format-audio .entry-content .wp-audio-shortcode:first-child { margin: -30px -30px 10px; }

.entry-meta .entry-cats ul { margin: 0; display: inline; }

.entry-meta .entry-cats li { display: inline; }

.entry-meta .entry-cats li a:after { content: ',' }

.post-nav {
    color: #aaa;
    margin-top: 30px;
    padding-top: 10px;
    border-top: 1px solid #ccc;
}

.post-nav a { color: #888; }

.post-nav i { font-size: 10px; }

.post-nav .prev-post { float: left; width: 40%; }

.post-nav .prev-post i { margin-right: 5px; }

.post-nav .next-post {
	float: right;
	text-align: right;
	width: 40%;
}

.post-nav .next-post i { margin-left: 5px; }

.single-engine_portfolio .post-nav {
    margin: 40px 0 0;
    padding: 20px 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.single-engine_portfolio .back-to-portfolio {
    position: absolute;
    width: 28px;
    left: 50%;
    margin: 0 0 0 -14px;
}

.single-engine_portfolio .back-to-portfolio i { font-size: 28px; margin: 0; }

.single-engine_portfolio .back-to-portfolio:hover i { color: #669900; }

.single-engine_portfolio .back-to-portfolio:before {
	content: attr(title);
	position: absolute;
	width: 200px;
	top: -20px;
	left: -86px;
	color: #669900;
	font-size: 11px;
	letter-spacing: 1px;
	text-align: center;
	opacity: 0;
	z-index: 200;
}

.single-engine_portfolio .back-to-portfolio:hover:before { opacity: 1; }

.single-engine_portfolio .main-content .span8 { padding-right: 20px; }

.single-engine_portfolio .main-content .span4 { margin-left: 10px; }

@media (min-width: 1120px) {
	.single-engine_portfolio .main-content .span8 { max-width: 660px; }
	.single-engine_portfolio .main-content .span4 { width: calc(100% - 670px); }
}

.single-engine_portfolio.img-fill .main-content .featured-area { margin: -30px 0 25px -30px; }

.main .sidebar {
    margin: 0;
	position: relative;
}

.main .sidebar-inner {
    padding: 60px 0 60px 60px;
    position: relative;
    z-index: 20;
}

/* Side Menu Template */
.page-template-template-sidemenu-php .sidemenu { border-right: 1px solid #ddd; }

.sidemenu .menu {
    list-style: none;
    margin: 0;
    padding: 2px 0 20px;
    text-align: right;
}

.sidemenu .menu li { margin-left: -30px; }

.sidemenu .menu li a {
	padding: 10px 30px;
	margin-bottom: 1px;
	color: #888;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 1px;
	display: block;
}

.sidemenu .menu li.parent.current_page_item { padding: 10px 30px; }

.sidemenu .menu li.parent,
.sidemenu .menu li.parent a {
	font-size: 18px;
	font-style: italic;
	color: #333;
	text-transform: none;
	margin-bottom: 10px;
}

.sidemenu .menu li:not(.parent) a:hover,
.sidemenu .menu li.current_page_item a {
	background: #f7f7f7;
	color: #222;
}

.sidemenu .menu li.current_page_item a:hover { cursor: default; }

.page-template-template-sidemenu-php .entry-content {
	margin: 0 0 0 -1px;
	padding: 5px 0 20px 30px;
	border-left: 1px solid #ddd;
}

/* Landing Page Template */
.page-template-template-landingpage-php { margin: 60px auto; }

.page-template-template-landingpage-php .primary-menu,
.page-template-template-landingpage-php .bottom-bar > .container { display: none !important; }

.page-template-template-landingpage-php .container,
.page-template-template-landingpage-php .header-wrap,
.page-template-template-landingpage-php .page-header-wrap,
.page-template-template-landingpage-php .page-header,
.page-template-template-landingpage-php .footer-callout,
.page-template-template-landingpage-php .footer {
	width: 800px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.page-template-template-landingpage-php .header { padding: 30px; }

.page-template-template-landingpage-php .logo { padding: 10px 0 0; width: 100%; text-align: center; }

.page-template-template-landingpage-php .logo h1 { margin-bottom: 0; }

.page-template-template-landingpage-php .page-title,
.page-template-template-landingpage-php .subheading { padding: 0; text-align: center; }

.page-template-template-landingpage-php .main { background: transparent; }

.comments {
	position: relative;
	margin-top: 40px;
}

.comments #reply-title,
.comments .comments-title {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}

.comments .leave-comment {
    position: absolute;
    top: -15px;
    right: 0;
}

.commentlist {
    margin: 40px 0;
    list-style: none;
}

.commentlist .avatar {
    float: left;
    margin-right: 25px;
    margin-top: 5px;
    border-radius: 5px;
}

.commentlist .says { display: none }

.commentlist .comment-body { min-height: 63px }

.commentlist .comment-body p {
    padding-left: 83px;
    margin: 10px 0 0 0;
    font-size: 12px;
}

.commentlist .fn {
    font-weight: bold;
    font-size: 14px;
    color: #444;
    margin-right: 5px;
}

.commentlist .fn a { color: #444 }

.commentlist .comment-author { display: inline }

.commentlist .comment-meta {
    display: inline;
    font-weight: bold;
    font-size: 11px;
}

.commentlist .comment-body {
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 25px;
    position: relative;
}

.commentlist .children {
    margin: 0 0 0 25px;
    list-style: none;
}

.commentlist .reply {
    position: absolute;
    bottom: 0;
    right: 0;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: bold;
    opacity: 0;
    filter: alpha(opacity=0);
}

.commentlist .comment-body:hover .reply {
    opacity: 1;
    filter: alpha(opacity=100);
}

.commentlist #respond { margin-bottom: 25px }

#respond textarea {
    width: 100%;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#respond .comment-form-author,
#respond .comment-form-email,
#respond .comment-form-url {
    width: 33.33%;
    padding-right: 30px;
    float: left;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#respond .comment-form-author input,
#respond .comment-form-email input,
#respond .comment-form-url input {
    width: 100%;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
    height: 30px;
}

#respond .comment-form-url { padding-right: 0 }

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

input[type="submit"] {
    border-radius: 3px;
    margin: 10px 0 0;
}

/* accordions */
.accordion { margin: 5px 0 20px; }

.accordion .accordion-toggle { border: 0; }

.accordion .accordion-body { color: #888; }

/* tabs */
.nav-tabs { margin-bottom: 0; }

.nav-tabs > li > a { padding: 10px 20px; }

.nav-tabs > .active > a { font-weight: bold; }

.tab-content {
	padding: 20px;
	border-radius: 0 0 4px 4px;
	border: 1px solid #ddd;
	border-top: 0;
	color: #888;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.sc.row-fluid { margin-bottom: 25px }

.alert { position: relative }

.alert .close {
    position: absolute;
    right: 10px;
    top: 2px;
}

.post-type-archive-engine_portfolio .two-col .entry-title,
.tax-portfolio_categories  .two-col .entry-title { font-size: 20px; }

.post-type-archive-engine_portfolio .two-col .entry-categories li,
.tax-portfolio_categories .two-col .entry-categories li { font-size: 11px; }

.post-type-archive-engine_portfolio .two-col .entry-content,
.tax-portfolio_categories .two-col .entry-content {
	font-size: 13px;
	color: #ccc;
}

.post-type-archive-engine_portfolio .main .content,
.tax-portfolio_categories .main .content { padding: 0 30px; position: relative; min-height: 300px; }

.post-type-archive-engine_portfolio .main .content:before,
.tax-portfolio_categories .main .content:before {
	content: '\f021';
	font: normal 40px/1 FontAwesome;
	color: rgba(0,0,0,.2);
    -webkit-font-smoothing: antialiased;
    position: absolute;
    top: 150px;
    left: 50%;
    margin-left: -20px;
    -moz-animation: spin 2s infinite linear;
	-o-animation: spin 2s infinite linear;
	-webkit-animation: spin 2s infinite linear;
	animation: spin 2s infinite linear;
	display: inline-block;
}

.masonry {
	background: #fff;
	display: none;
}

.masonry .item {
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
    padding: 0;
}

.masonry .featured-image img { width: 100%; }

.two-col { width: 49%; }

.three-col { width: 33%; }

.four-col { width: 24.5%; }

.related .hentry,
.masonry .hentry {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.related .entry-content,
.masonry .entry-content {
    font-size: 12px;
    line-height: 1.5em;
    margin-top: 10px;
}

.related .spna3:last-child .hentry,
.masonry .spna3:last-child .hentry { margin-right: 0 }

.related .featured-area,
.masonry .featured-area {
    position: relative;
    z-index: 10;
}

.home-postgrid .entry-wrap,
.home-postlist .entry-wrap,
.masonry .entry-wrap,
.related .entry-wrap {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #444;
    background: rgba(51,51,51,.8);
}

.home-postgrid .active.entry-wrap,
.home-postlist .active.entry-wrap,
.masonry .entry-wrap,
.related .active.entry-wrap {
    background: #888;
    background: rgba(51,51,51,.2);
}

.masonry .active.entry-wrap { background: transparent; }

.home-postgrid .entry-header,
.masonry .entry-header,
.related .entry-header {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
    padding: 0 20px 30px;
    margin: 0;
}

.masonry .two-col .entry-header { padding: 30px; }

.masonry .two-col .entry-categories { margin-bottom: 5px; }

.masonry .two-col .entry-title { font-size: 24px; }

.masonry .two-col .entry-content {
	font-size: 14px;
	color: rgba(255,255,255,.7);
}

.home-postgrid .entry-title,
.home-postlist .entry-title,
.masonry .entry-title,
.related .entry-title {
    font-size: 16px;
    letter-spacing: 3px;
    margin: 0;
    color: #fff;
}

.home-postgrid .entry-categories,
.masonry .entry-categories,
.page-header .entry-categories,
.related .entry-categories {
    list-style: none;
    margin: 10px 0 0;
    text-align: center;
}

.home-postgrid .entry-categories li,
.masonry .entry-categories li,
.page-header .entry-categories li,
.related .entry-categories li {
    display: inline;
    font-size: 13px;
    font-style: italic;
    letter-spacing: 1px;
    color: rgba(255,255,255,.6);
    white-space: nowrap;
}

.entry-categories li:after { content: ',' }

.entry-categories li:last-child:after { display: none }

.link-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 50;
}

.filter {
    margin: 0 0 30px;
    list-style: none;
    text-align: center;
}

.filter ul {
    margin: 0;
    list-style: none;
    display: inline;
}

.filter li {
	margin: 0 5px;
	font-size: 12px;
	display: inline-block;
}

.filter a { float: left; }

.filter a:hover { border-color: #444 }

.filter .active a {
    color: #fff;
    border-color: transparent;
}

.portfolio-related {
    padding: 40px 0;
    text-align: center;
    background: #fff;
    color: #888;
}

.portfolio-related-title {
    font-size: 24px;
    font-weight: normal;
    color: #333;
}

.portfolio-related-description { margin: 0 0 30px; }

.portfolio-related .span3 {
	margin: 0;
	width: 25%;
}

.portfolio-related .featured-area img {
	width: 100%;
	height: auto;
}

/* Audio */
.engine-audio .fluid-width-video-wrapper { padding: 0 }

.engine-audio .fluid-width-video-wrapper iframe[src*='spotify'] { height: 80px; }

/* icon links */
.entry-content .grid a[href*='twitter.com'],
.entry-content .grid a[href*='facebook.com'] {
    font-size: 0;
    border: 0;
    display: inline-block;
    width: 20px;
}

.entry-content .grid a[href*='twitter.com']:before,
.entry-content .grid a[href*='facebook.com']:before {
    font: normal 14px/2 FontAwesome;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
}

.entry-content .grid a[href*='twitter.com']:before { content: '\f099'; }

.entry-content .grid a[href*='facebook.com']:before { content: '\f09a'; }



/* = WordPress Stuff
-------------------------------------------------------------- */

.alignnone { margin: 5px 20px 20px }

.aligncenter {
    display: block;
    margin: 5px auto 20px;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.wp-caption {
    border: 1px solid #f0f0f0;
    padding: 20px;
    text-align: center;
}

.wp-caption.alignnone { margin: 20px 20px 20px 0 }

.wp-caption.alignleft { margin: 20px 20px 20px 0 }

.wp-caption.alignright { margin: 20px 0 20px 20px }

p > img.alignnone,
p > img.alignleft,
p > img.alignright { margin-bottom: 5px }

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    padding: 0;
    width: auto;
}

.wp-caption .wp-caption-text {
    margin: 0;
    padding: 10px 0 0 0;
    font-size: 11px;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
}

.sticky { width: auto }

.bypostauthor { width: auto }

.entry-content p { margin-bottom: 15px; }

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

.entry-content > p:first-child img:first-child,
.grid [class*='col-'] > p:first-child img:first-child { margin-top: 0; }

.entry-content .gallery { padding: 15px 0; }

.entry-content .gallery-item {
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	float: left;
	padding: 0 1px 1px 0;
}

.entry-content .gallery-columns-2 .gallery-item { width: 100%; }
.entry-content .gallery-columns-2 .gallery-item { width: 50%; }
.entry-content .gallery-columns-3 .gallery-item { width: 33.33%; }
.entry-content .gallery-columns-4 .gallery-item { width: 25%; }
.entry-content .gallery-columns-5 .gallery-item { width: 20%; }
.entry-content .gallery-columns-6 .gallery-item { width: 16.66%; }
.entry-content .gallery-columns-7 .gallery-item { width: 14.28%; }
.entry-content .gallery-columns-8 .gallery-item { width: 12.5%; }
.entry-content .gallery-columns-9 .gallery-item { width: 11.11%; }

.entry-content .gallery-caption {
    color: #888;
    font-size: 12px;
    margin: 0 0 12px;
}

.entry-content .gallery dl { margin: 0 }

.entry-content .gallery br.content .gallery br + br { display: none }

.mejs-container { margin-bottom: 15px; }

/* gallery hover caption */
.entry-content .gallery-item { position: relative; overflow: hidden; }
.entry-content .gallery-caption {
	position: absolute;
	background: none;
	background: rgba(0,0,0,.6);
	width: 100%;
	width: calc(100% - 1px);
	height: 100%;
	height: calc(100% - 1px);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	top: 0;
	padding: 30% 20px 0;
	margin: 0;
	text-align: center;
	font-style: normal;
	color: #ccc;
	opacity: 0;
	filter: alpha(opacity=0);
}

.entry-content .gallery-item:hover .gallery-caption { opacity: 1; filter: alpha(opacity=100); }

.error404 .content ul:not(:last-child) { margin-bottom: 25px; }

/* mediaelement.js player */
body .mejs-container .mejs-controls { background: #444; }

body .mejs-controls div.mejs-time-rail { width: 417px !important; }

body .mejs-controls .mejs-time-rail .mejs-time-total,
body .mejs-controls .mejs-time-rail .mejs-time-loaded { background: #aaa; }

body .mejs-controls .mejs-time-rail .mejs-time-current { background: #669900; }

body .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total { background: #888; }

body .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { background: #000; }

body .mejs-controls .mejs-button button { background-image: url(assets/images/controls.png); }