/*
Theme Name: sofaexperience
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sofaexperience
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.

sofaexperience is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/


@font-face {
  font-family: 'FoundersGrotesk';
  src: url('fonts/FoundersGrotesk-Semiboldd41d.eot?#iefix') format('embedded-opentype'),  url('fonts/FoundersGrotesk-Semibold.otf')  format('opentype'),
	     url('fonts/FoundersGrotesk-Semibold.woff') format('woff'), url('fonts/FoundersGrotesk-Semibold.ttf')  format('truetype'), url('fonts/FoundersGrotesk-Semibold.svg#FoundersGrotesk-Semibold') format('svg');
  font-weight: 600;
  font-style: normal;
}


@font-face {
  font-family: 'FoundersGrotesk';
  src: url('fonts/FoundersGrotesk-Regulard41d.eot?#iefix') format('embedded-opentype'),  url('fonts/FoundersGrotesk-Regular.otf')  format('opentype'),
	     url('fonts/FoundersGrotesk-Regular.woff') format('woff'), url('fonts/FoundersGrotesk-Regular.ttf')  format('truetype'), url('fonts/FoundersGrotesk-Regular.svg#FoundersGrotesk-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'FoundersGrotesk';
  src: url('fonts/FoundersGrotesk-Mediumd41d.eot?#iefix') format('embedded-opentype'),  url('fonts/FoundersGrotesk-Medium.otf')  format('opentype'),
	     url('fonts/FoundersGrotesk-Medium.woff') format('woff'), url('fonts/FoundersGrotesk-Medium.ttf')  format('truetype'), url('fonts/FoundersGrotesk-Medium.svg#FoundersGrotesk-Medium') format('svg');
  font-weight: 500;
  font-style: normal;
}


/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: "FoundersGrotesk", arial, sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;	
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: black; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: royalblue;
}

a:visited {
	color: purple;
}

a:hover,
a:focus,
a:active {
	color: midnightblue;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	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-caption {
	display: block;
}

/*--------------------------------------------------------------
## SofaExperience
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Global
--------------------------------------------------------------*/

html, body {
	height: 100%;
}

#page {
	min-height: 100%;
}

.container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.left {
	float: left;
}

.right {
	float: right;
}



/*--------------------------------------------------------------
## Featured Slider
--------------------------------------------------------------*/

.featured-slider-wrapper {
	overflow: hidden;
	position: relative;
}

.featured-slider-wrapper .featured-slider {
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	-webkit-transform: translate3d(0px, 0px, 0px); 
    transform: translate3d(0px, 0px, 0px);
}

.featured-slider-wrapper .featured-slider.show-left {
	margin-left: 70px;
}

.featured-slider-wrapper .featured-slider.show-right {
	margin-left: -70px;
}

.featured-slider-wrapper .featured-slider .slide {
	height: 100%;
	position: relative;
	float: left;
	overflow: hidden;
	text-indent: 0px;
}

.featured-slider-wrapper .featured-slider .slide .front-bg {
	height: 100%;
	width: 100%;
	position: absolute;
	opacity: 1;
	top: 0;
	left: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;

}

.featured-slider-wrapper .featured-slider .slide .back-bg {
	height: 100%;
	width: 100%;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	background-size: cover;
	background-position: center;
	z-index: 5;

	transition: opacity 1500ms ease;
}

.featured-slider-wrapper .featured-slider .slide .backgrounds-wrapper {
	transform: scale3d(1,1,1);
	-ms-transform-origin: 50% 50%; 
    -webkit-transform-origin: 50% 50%; 
    transform-origin: 50% 50%;

    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

	transition: transform 5s linear 0ms;
}

.featured-slider-wrapper .featured-slider .slide.active .backgrounds-wrapper {
	transform: scale3d(1,1,1);

	transition: transform 5s linear 1000ms;
}

.featured-slider-wrapper .featured-slider .slide.mouseover-logo .back-bg {
	opacity: 1;
}

/*

.featured-slider-wrapper .featured-slider.peak .slide.active .front-bg,
.featured-slider-wrapper .featured-slider.peak .slide.active .back-bg {
	-webkit-transform: translate3d(0px,0px,0px);
	transform: translate3d(0px,0px,0px);
	transition: 0ms !important;
}

.featured-slider-wrapper .featured-slider.peak-right .slide .front-bg,
.featured-slider-wrapper .featured-slider.peak-right .slide .back-bg {
	-webkit-transform: translate3d(-20px,0px,0px);
	transform: translate3d(-20px,0px,0px);
}

.featured-slider-wrapper .featured-slider.peak-left .slide .front-bg,
.featured-slider-wrapper .featured-slider.peak-left .slide .back-bg {
	-webkit-transform: translate3d(20px,0px,0px);
	transform: translate3d(20px,0px,0px);
}

*/

.featured-slider-wrapper .featured-slider .slide .logo-container {
	position: absolute;
	width: 80%;
	height: 70%;
	z-index: 10;
	text-align: center;

	cursor: pointer;
}

.featured-slider-wrapper .featured-slider .slide .logo-container img {
	display: inline;
	max-width: 100%;
	max-height: 100%;
	height: auto;
	width: auto;
	vertical-align: middle;
}

.featured-slider-wrapper .featured-slider .slide .director {
	position: absolute;
	width: 100%;
	text-align: center;
	z-index: 15;

	text-transform: uppercase;
	color: white;
	font-weight: 500;
	font-size: 30px;

	bottom: 270px;
	left: 0;
	display: none;
}

.featured-slider-wrapper .featured-slider .slide .brand {
	position: absolute;
	width: 100%;
	text-align: center;
	z-index: 15;

	text-transform: uppercase;
	color: white;
	font-weight: 400;
	font-size: 20px;

	bottom: 100px;
	left: 0;
	display: none;
}

.featured-slider-wrapper .featured-slider-nav {
	
}

.featured-slider-wrapper .featured-slider-nav .featured-slider-nav-left {
	position: absolute;
	left: 0;
	top: 0;
	width: 100px;
	height: 100%;
	cursor: pointer;
}

.featured-slider-wrapper .featured-slider-nav .featured-slider-nav-right {
	position: absolute;
	right: 0;
	top: 0;
	width: 100px;
	height: 100%;
	cursor: pointer;
}

.featured-slider-container {
	position: relative;
}

.featured-slider-container .bottom-peak {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 150px;
	z-index: 11;
	cursor: pointer;

	pointer-events: none;
}

.page-template-home .featured-slider-container .bottom-peak,
.tax-project_cat .featured-slider-container .bottom-peak {
	pointer-events: auto;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.site-header {
	position: absolute;
	z-index: 50;
	width: 100%;
}

.site-header .site-logo {
	position: absolute;
	top: 50px;
	left: 50px;
}

.site-header .sofa-logo {
	position: absolute;
	top: 50px;
	left: 50px;
	max-width: 100px;	
	z-index: 10;
}

.site-header .brand-phrase {
	position: absolute;
	left: 0px;
	top: 60px;
	text-align: center;
	width: 100%;
	color: white;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 4px;
	display: none !important;
}

.site-header .alternate-logo-wrapper {
	position: absolute;
	left: 0px;
	top: 40px;
	text-align: center;
	width: 100%;
	z-index: 99;
	pointer-events: none;
	display: none;
}

.site-header .alternate-logo-wrapper a {
	pointer-events: auto;
}

.site-header .logo-wrapper {
	text-align: center;
	width: 100%;
	height: 140px;
	display: none;
}

.site-header .logo-wrapper img {
	display: none;
}

.site-header .logo-wrapper a {
	display: inline;
}

.site-header .alternate-logo-wrapper .alternate-logo {
	max-width: 200px;
}

.home .site-header .logo-wrapper img,
.archive .site-header .logo-wrapper img  {
	display: inline-block;
}

/*--------------------------------------------------------------
# Post
--------------------------------------------------------------*/

article.project {
	width: 50%;
	height: 540px;
	float: left;
	position: relative;
	margin: 0;
	cursor: pointer;
	overflow: hidden;
}

article.project .entry-header {
	display: none;
}

article.project .front-bg {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;

	z-index: 0;

	background-size: cover;
	background-position: center;
}

article.project .back-bg {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;

	z-index: 5;

	opacity: 0;

	background-size: cover;
	background-position: center;

	transition: opacity 1000ms ease;
}

article.project.active .back-bg {
	opacity: 1;
}

article.project .back-bg,
article.project .front-bg {
	transition: transform 3000ms linear;
}
/*
article.project.active .back-bg,
article.project.active .front-bg {
	transform: scale3d(1.05,1.05,1.05);
	transform-origin: 50% 50%;
}
*/
article.project .logo-container {
	position: absolute;
    height: 60%;
    width: 40%;
    z-index: 10;
    text-align: center;
}

article.project .logo-container img {
	max-width: 100%;
	max-height: 100%;
	height: auto;
	width: auto;
	vertical-align: middle;
}

article.project .by {
	position: absolute;
	z-index: 10;
	color: white;
	bottom: 20px;
	width: 100%;
	text-align: center;
	opacity: 0;
	transition: opacity 1000ms ease;
	line-height: 1.2em;
}

article.project.active .by {
	opacity: 1;
}

/* VIDEO PLAYER */

.video-urls {
	display: none;
}

.video-player {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background: black;

	z-index: 50;
}

.video-player video {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 0;
}

.video-player .close-button {
	background-image: url(images/close-video.png);
	background-size: 100% 100%;

	width: 20px;
	height: 20px;

	position: absolute;

	z-index: 5;

	right: 50px;
	top: 50px;

	opacity: 0.5;

	cursor: pointer;
}

.video-player .close-button:hover {
	opacity: 0.8;
}

.video-player .video-controls {
	position: absolute;
	z-index: 5;
	bottom: 30px;
	width: 100%;
	text-align: center;
	left: 0;
	line-height: 18px;
	vertical-align: middle;
	opacity: 0;

	transition: opacity 1000ms ease;
}

.video-player .video-controls.active {
	opacity: 1;
}

.video-player .video-controls .play-button {
	width: 9px;
	height: 10px;
	display: inline-block;
	background-image: url(images/play-pause.png);
	cursor: pointer;
	vertical-align: middle;	
	margin-right: 10px;
	opacity: 0.9;
}

.video-player .video-controls .play-button.paused {
	background-position: 9px 0;
}

.video-player .video-controls .progress-bar {
	display: inline-block;
	position: relative;
	height: 10px;
	width: 300px;
}

.video-player .video-controls .progress-bar .progress {
	height: 2px;
	width: 0px;
	position: absolute;
	left: 0px;
	top: 6px;
	background: white;
	pointer-events: none;
}

.video-player .video-controls .progress-bar input[type="range"] {
	padding: 0;
	border: none;
	margin: 0;
	width: 100%;
	height: 2px;
	background: rgba(255, 255, 255, 0.4);
	vertical-align: middle;
	position: absolute;
	top: 6px;
	left: 0px;

	cursor: pointer;

	-webkit-appearance: none; /* Hides the slider so that custom slider can be made */
}

.video-player .video-controls .progress-bar input[type="range"]::-webkit-slider-thumb {
  	-webkit-appearance: none;
}

.video-player .video-controls .progress-bar input[type="range"]:focus {
  	outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

.video-player .video-controls .progress-bar input[type="range"]::-ms-track {
	width: 100%;
	cursor: pointer;
	background: transparent;
	border-color: transparent;
	color: transparent;
}

/* Special styling for WebKit/Blink */
.video-player .video-controls .progress-bar input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	height: 2px;
	width: 0px;
	border-radius: 0;
	background: #ffffff;
	cursor: pointer;
	margin-top: 0px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
}

/* All the same stuff for Firefox */
.video-player .video-controls .progress-bar input[type="range"]::-moz-range-thumb {
	-webkit-appearance: none;
	height: 2px;
	width: 0px;
	border-radius: 0;
	background: #ffffff;
	cursor: pointer;
	margin-top: 0px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
}

/* All the same stuff for IE */
.video-player .video-controls .progress-bar input[type="range"]::-ms-thumb {
	-webkit-appearance: none;
	height: 2px;
	width: 0px;
	border-radius: 0;
	background: #ffffff;
	cursor: pointer;
	margin-top: 0px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
}

.video-player .video-controls .volume {
	width: 12px;
	height: 12px;
	background: url(images/volume.png);
	background-size: 100% auto;
	display: inline-block;
	vertical-align: middle;

    cursor: pointer;
    
    margin-left: 10px;
    opacity: 0.9;
}

.video-player .video-controls .volume.mute {
	background-position: left bottom;
}

/* MENU */

#site-navigation {
	position: relative;
}

#site-navigation .menu-toggle {
	position: absolute;
	right: 50px;
	top: 50px;
	background: none;
	padding: 0;
	box-shadow: none;
	margin: 0;
	border-radius: 0;
	border: 0;
	outline: none;

	z-index: 10;

	display: block !important;
}

#site-navigation .close-container,
#site-navigation #sidebar-menu,
#site-navigation .menu-social-container {
	opacity: 0;
	transition: opacity 100ms ease;
}

#site-navigation.toggled .close-container,
#site-navigation.toggled #sidebar-menu,
#site-navigation.toggled .menu-social-container {
	opacity: 1;
	transition: opacity 300ms ease 400ms;
}

#site-navigation #primary-menu-container {
	height: 0%;
	overflow: hidden;
	position: fixed;
	width: 100%;
	z-index: 20;

	top: 0;
	left: 0;

	transition: height 400ms ease;
	background: rgba(0, 0, 0, 1);
	text-align: center;
}

#site-navigation.toggled #primary-menu-container {
	height: 100%;
}

#site-navigation #primary-menu-container .menu-logo {
	position: absolute;
	left: 50px;
	top: 50px;
	width: 100px;
}

#site-navigation #primary-menu-container .close-container {
	height: 15%;
}

#site-navigation #primary-menu-container .close-container:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.25em;
}

#site-navigation #primary-menu-container .close-container .close {
    font-size: 40px;   
    color: white;
    border-radius: 9999px;
    border: 2px solid white;
    line-height: 1em;
    width: 40px;
    height: 40px;
    padding: 5px 0 0 0px;
    cursor: pointer;

    display: inline-block;
	vertical-align: middle;
}

#site-navigation #primary-menu-container .close-container .close:hover {
	color: black;
	background: white;
}

#site-navigation #primary-menu-container .logo {
	margin-top: 30px;
}

#site-navigation #primary-menu-container #sidebar-menu {
	height: 70%;
	text-align: center;
	white-space: nowrap;
}

#site-navigation #primary-menu-container #sidebar-menu:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.25em;
}

#site-navigation #primary-menu-container #sidebar-menu #sidebar-menu-container {
	display: inline-block;
	vertical-align: middle;
}

#site-navigation #primary-menu-container #sidebar-menu ul.menu {
	font-size: 22px;
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 2px;
}

#site-navigation #primary-menu-container #sidebar-menu ul.menu li {
	float: none;
}

#site-navigation #primary-menu-container #sidebar-menu ul.menu li a {
	color: white;
	display: inline;
}

#site-navigation #primary-menu-container .menu-social-container {
	text-align: center;
	height: 15%;
}

#site-navigation #primary-menu-container .menu-social-container {
	height: 15%;
}

#site-navigation #primary-menu-container .menu-social-container:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.25em;
}

#site-navigation #primary-menu-container .menu-social-container ul {
	display: inline-block;
	vertical-align: middle;
}

#site-navigation #primary-menu-container .menu-social-container ul li {
	float: none;
	display: inline-block;
	margin: 0 5px;
}

#site-navigation #primary-menu-container .menu-social-container ul li a {
	display: block;
	text-indent: -999px;
	overflow: hidden;
	width: 24px;
	height: 24px;
	background-image: url("images/social2.png");
}

#site-navigation #primary-menu-container .menu-social-container ul li.facebook a {
	background-position: 0px 0px;
}

#site-navigation #primary-menu-container .menu-social-container ul li.youtube a {
	background-position: -39px 0px;
}

#site-navigation #primary-menu-container .menu-social-container ul li.vimeo a {
	background-position: -77px 0px;
}

#site-navigation #primary-menu-container .menu-social-container ul li.instagram a {
	background-position: -116px 0px;	
}

/* PAGES */

#content {
	opacity: 1;
	transition: opacity 400ms ease;
}

/* ABOUT */

.page-template-about.menu-open #content {
	opacity: 0;
}

.page-template-about {
	background: black;
}

.page-template-about #content {
	padding-top: 160px;
	color: white;
	font-size: 32px;
	font-weight: 500;
	text-align: center;
}

.page-template-about .moving {
	font-family: "FoundersGrotesk";
	font-weight: normal;
	font-size: 14px;
	letter-spacing: 4px;
	position: absolute;
	bottom: 80px;
	width: 100%;
	text-align: center;
}


/* CONTACT */

.page-template-contact.menu-open #content {
	opacity: 0;
}

.page-template-contact {
	background: black;
}

.page-template-contact #content {
	padding-top: 160px;
	color: white;
	font-size: 26px;
	font-weight: 500;
	text-align: center;
	line-height: 1.2em;
}

.page-template-contact #content .block {
	margin-bottom: 30px;

}

.page-template-contact #content .block.google-maps {
	font-size: 20px;

}

.page-template-contact #content .block.google-maps a {
	text-decoration: none;
	color: white;
}

.page-template-contact #content .contact-info a {
	color: white;
	text-decoration: none;
	border-bottom: 2px solid white;
	line-height: 1em;
}

.page-template-contact #content .contact-info .contact-block {
	margin-bottom: 15px;
}

.page-template-contact #content .contact-info .contact-block .role {
	font-size: 20px;
}


/* NEWSLETTER */

.page-template-newsletter.menu-open #content {
	opacity: 0;
}

.page-template-newsletter {
	background: black;
}

.page-template-newsletter #content {
	padding-top: 160px;
	color: white;
	font-size: 26px;
	font-weight: 500;
	text-align: center;
}

.page-template-newsletter input[type="text"] {
	background: transparent;
	border: none;
	border-radius: 0;
	border-bottom: 1px solid white;
	outline: none;
	color: white;
	font-weight: normal;
	font-size: 32px;
	padding: 0px;
	line-height: 1em;
	width: 100%;
	max-width: 400px;
	text-align: center;
}

.page-template-newsletter input[type="text"]:focus,
.page-template-newsletter input[type="text"].no-border {
	border-bottom: none;
}

.page-template-newsletter .widget_wysija_cont .wysija-submit {
	display: inline;
	background: transparent;
	box-shadow: none;
	text-shadow: none;
	border: 3px solid white;
	border-radius: 999px;
	color: white;
	text-transform: uppercase;
	font-size: 22px;
	width: 120px;
	height: 120px;
	text-align: center;
	padding: 0;
	line-height: 1em;
	padding-top: 5px;
}

/* CORRECCIONS */

.page-template-about #page,
.page-template-newsletter #page,
.page-template-contact #page {
	height: 100%;
}

.page-template-about #page #content,
.page-template-newsletter #page #content,
.page-template-contact #page #content {
	height: 100%;
	padding-top: 0;
}

.page-template-about #page #content:before,
.page-template-newsletter #page #content:before,
.page-template-contact #page #content:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.25em;

}

.page-template-about #page #content #primary,
.page-template-newsletter #page #content #primary,
.page-template-contact #page #content #primary {
	display: inline-block;
  	vertical-align: middle;
}

/* RESPONSIVE */

@media screen and (max-width: 1200px) {
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media screen and (max-width: 1024px) {
	article.project {
		width: auto;
		float: none;
	}

	.featured-slider-container .bottom-peak {
		pointer-events: none;
	}

	.page-template-about #page #content {
		font-size: 24px;
	}

}

@media screen and (max-width: 767px) {

	#site-navigation #primary-menu-container #sidebar-menu ul.menu {
		font-size: 17px;
	}

	.site-header .site-logo {
		width: 24px;
		left: 30px;
		top: 30px;
	}

	.site-header .sofa-logo {
		top: 22px;
    	left: 40px;	
	}

	article.project .logo-container {
		height: 50%;
    	width: 80%;
	}

	.site-header .brand-phrase {
		font-size: 12px;
		top: 32px;
		letter-spacing: 1px;
	}

	.home .featured-slider-wrapper {
		
	}

	.page-template-home .featured-slider-container .bottom-peak, 
	.tax-project_cat .featured-slider-container .bottom-peak {
		display: none !important;
	}

	article.project {
		height: 300px;
	}

	#site-navigation .menu-toggle {
		max-width: 32px;
		right: 25px;
    	top: 25px;
	}

	#site-navigation #primary-menu-container {
	}

	#site-navigation #primary-menu-container #sidebar-menu ul.menu {
		font-size: 14px;
	}



	.page-template-about #content {
		font-size: 24px;
		padding-top: 110px;
	}

	.site-header .alternate-logo-wrapper .alternate-logo {
		max-width: 100px;
	}

	.page-template-newsletter #content {
		padding-top: 110px;
		font-size: 20px;
	}

	.page-template-newsletter input[type="text"] {
		font-size: 26px;
	}

	.page-template-newsletter .widget_wysija_cont .wysija-submit {
		width: 90px;
		height: 90px;
		font-size: 18px;
	}

	.page-template-contact #content {
		font-size: 20px;
		padding-top: 110px;
	}

	.page-template-contact #content .block.google-maps,
	.page-template-contact #content .contact-info .contact-block .role {
		font-size: 16px;
	}

	.page-template-about #page #content {
		font-size: 18px;
	}

}

@media screen and (max-width: 413px) {
	.page-template-about #page #content {
		font-size: 12px !important;
	}
}

@media screen and (max-height: 767px) {	

	#site-navigation #primary-menu-container #sidebar-menu ul.menu {
		font-size: 14px;
	}

	#site-navigation #primary-menu-container .close-container .close {
	    font-size: 20px;
	    width: 26px;
	    height: 26px;
	    line-height: 26px;
	    padding: 0px;
	    text-align: center;
	    white-space: nowrap;
	}

	.page-template-about .moving {
		bottom: 30px;
		font-size: 12px;
	}

	.page-template-about #page #content,
	.page-template-newsletter #page #content {
		font-size: 18px;
	}
	
	.page-template-contact #page #content {
		font-size: 14px;
	}

	.page-template-newsletter .widget_wysija_cont .wysija-submit {
		font-size: 18px;
		width: 98px;
		height: 98px;
	}

	#site-navigation #primary-menu-container .menu-logo {
		display: none;
	}

	#site-navigation.toggled #primary-menu-container {
		min-height: 100%;
		overflow-y: auto;
	}

	#site-navigation #primary-menu-container #sidebar-menu {
		height: auto;
	}

	#site-navigation #primary-menu-container .menu-social-container {
		position: static;
	}

	
}

@media screen and (max-height: 550px) {
	.page-template-about #page #content,
	.page-template-newsletter #page #content {
		font-size: 12px;
	}

	.page-template-newsletter .widget_wysija_cont .wysija-submit {
		font-size: 12px;
		width: 42px;
		height: 42px;
		margin-top: 0px;
	}

	.page-template-newsletter input[type="text"] {
		font-size: 16px;
	}

	.page-template-contact #page #content {
		font-size: 12px;
	}

	.page-template-contact #content .block,
	.page-template-contact #content .contact-info .contact-block {
		margin-bottom: 15px;
	}

	.page-template-contact #content .block.google-maps, .page-template-contact #content .contact-info .contact-block .role {
		font-size: 14px;
	}
}

@media screen and (max-height: 440px) {
	#site-navigation #primary-menu-container #sidebar-menu ul.menu, {
		font-size: 8px;
	}

	.page-template-newsletter .widget_wysija_cont .wysija-submit {
		font-size: 8px;
		width: 32px;
		height: 32px;
	}

	.page-template-newsletter input[type="text"] {
		font-size: 12px;
	}

	.page-template-contact #page #content {
		font-size: 10px;
	}

	.page-template-contact #content .block,
	.page-template-contact #content .contact-info .contact-block {
		margin-bottom: 8px;
	}

	.page-template-contact #content .block.google-maps, .page-template-contact #content .contact-info .contact-block .role {
		font-size: 12px;
	}
}