/*
Theme Name: Ferrari Public Affairs
Theme URI: http://www.ferraripa.com
Author: Sunny Wanser
Author URI: http://www.sunnywanser.com
Description: Custom theme for Ferrari Public Affairs
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ferrari-public-affairs
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.

Ferrari Public Affairs is based on Underscores http://underscores.me/, (C) 2012-2016 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.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# General Styles
# Home Page Styles
# Interior Page Styles
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: "Montserrat", 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-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: "Montserrat", sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 2;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

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

blockquote {
	margin: 0;
}

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: #fff; /* 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. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

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: 0;
	background: #e6e6e6;
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

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;
}

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: 0;
	padding: 3px;
	width: 100%;
}

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;
}

textarea {
	width: 80% !important;
}

@media screen and (max-width: 800px) {
	textarea {
		width: 100% !important;
	}
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a,
a:visited {
	color: #7E7773;
	transition: 0.25s;
		-webkit-transition: 0.25s;
}

a:hover,
a:focus,
a:active {
	color: #FF893E;
	transition: 0.25s;
		-webkit-transition: 0.25s;
}

a:focus {
	outline: 0 !important;
}

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

.button,
.button:visited {
	border: 1px solid #404040;
	box-shadow: inset 0 0 0 0 #404040;
	color: #404040;
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	padding: 5px 10px;
	text-decoration: none;
	text-transform: uppercase;
	transition: 0.5s;
		-webkit-transition: 0.5s;
}

.button:active,
.button:focus,
.button:hover {
	box-shadow: inset 300px 0 0 0 #404040;
	color: #ffffff;
	transition: 0.5s;
		-webkit-transition: 0.5s;
}

.button-transparent {
	border: 1px solid #ffffff;
	box-shadow: inset 0 0 0 0 #ffffff;
	color: #ffffff;
}

.button-transparent:hover {
	box-shadow: inset 250px 0 0 0 #ffffff;
	color: #404040;
}

.fancybox-close-small:after {
	background: #efefef;
}

.fancybox-close-small:focus,
.fancybox-close-small:focus:after {
	outline: 0 !important;
}

/*--------------------------------------------------------------
## Menus and Header
--------------------------------------------------------------*/

.site-header {
	position: relative;
}

.site-header .inner {
	position: relative;
}

.site-branding {
	display: inline-block;
/* 	margin-left: 30px; */
	max-width: 260px;
	padding: 20px 20px 20px 20px;
	vertical-align: middle;
}

.site-branding img {
	vertical-align: middle;
}

.site-branding img:hover {
	opacity: 0.85;
}

.menu-toggle {
	display: none;
	float: right;
	margin-right: 20px;
	padding-top: 30px;
}

.menu-reveal {
	color: #404040;
	cursor: pointer;
	font-size: 24px;
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	transition: 0.5s;
		-webkit-transition: 0.5s;
}

.desktop-menu {
	display: inline-block;
	text-align: right;
	vertical-align: middle;
	width: calc(100% - 264.5px);
}

.desktop-menu ul {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	list-style: none;
	margin: 0;
	padding: 0 0 0 0;
	text-transform: uppercase;
}

.desktop-menu li {
	display: inline-block;
	margin-right: 25px;
}

.desktop-menu li:last-child {
	margin-right: 0;
}

.desktop-menu a,
.desktop-menu a:visited {
	color: #726b67;
	padding-bottom: 4px;
	text-decoration: none;
}

.desktop-menu a:hover,
.desktop-menu a:focus,
.desktop-menu a:active,
.desktop-menu .current_page_item a {
	border-bottom: 2px solid #FF893E;
	color: #FF893E;
}

.mobile-logo {
	display: none;
}

@media screen and (max-width: 1024px) {	
	.desktop-menu li {
		margin-right: 15px;
	}
	
}

@media screen and (max-width: 900px) {
	.menu-toggle {
		display: block;
	}
	
	.desktop-menu {
		display: none;
	}
	
}

@media screen and (max-width: 800px) {
	.site-header {
		position: relative;
	}
	
	.home .site-header {
		padding-top: 15px;
	}
	
	.mobile-logo {
		display: block;
	}
	
	.desktop-logo {
		display: none;
	}
	
	.site-branding {
		box-shadow: none;
		margin: 0;
		max-width: 200px;
		padding: 10px;
	}
	
	.menu-toggle {
		margin-right: 5px;
		padding-top: 5px;
	}
	
	.menu-reveal {
		color: #98928E;
		font-size: 36px;
		text-shadow: none;
	}
	
	.menu-reveal:hover {
		color: #FF893E;	
	}
	
	.menu-reveal span {
		display: none;
	}
}

@media screen and (max-width: 400px) {
	
	.site-branding {
		max-width: 200px;
	}
		
}

/* Mobile Slide-out Menu */
.main-menu-container {
	background: #ffffff;
	box-shadow: -3px 0px 5px 0px rgba(62, 62, 62, 0.9);
		-webkit-box-shadow: -3px 0px 5px 0px rgba(62, 62, 62, 0.9);
		-moz-box-shadow: -3px 0px 5px 0px rgba(62, 62, 62, 0.9);
	max-width: 100%;
	padding: 35px 20px 20px 20px;
	text-align: right;
	width: 250px;
	z-index: 50;
}

.menu-close {
	font-family: "Montserrat", sans-serif;
	font-size: 24px;
	cursor: pointer;
	text-shadow: none;
	text-transform: uppercase;
	transition: 0.5s;
		-webkit-transition: 0.5s;
}

.main-menu-container .menu-main-menu-container {
	padding-top: 40px;
}

.main-menu-container ul {
	list-style: none;
	margin: 0;
	padding: 0;	
}

.main-menu-container ul li {
	border-bottom: 1px solid #FF893E;
	display: block;
	margin-bottom: 10px;
	
	text-align: left;
}

.main-menu-container ul li a {
	display: block;
	padding-bottom: 10px;
	text-decoration: none;
	text-transform: none;
}

.mobile-logo-menu {
	display: none;
}

@media screen and (max-width: 800px) {
	.main-menu-container {
		padding: 30px 20px 20px 20px;
	}
	.menu-close span {
		display: none;
	}
	.mobile-logo-menu {
		display: block;
	}
}

@media screen and (max-width: 800px) {
	.main-menu-container {
		padding: 20px 20px 20px 20px;
	}
}


/*--------------------------------------------------------------
# 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;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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;
	padding: 0 0 20px 0;	
}

/* 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; */
}

/*--------------------------------------------------------------
## 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;
}

/*--------------------------------------------------------------
# General Styles
--------------------------------------------------------------*/

.inner {
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	padding-left: 15px;
	padding-right: 15px;
	width: 1200px;
}

.page-content,
.borders {
	padding: 0 20px;
}

.gray-background {
	background: #ffffff;
}

.desktop-only {
	display: block;
}

.mobile-only {
	display: none;
}

.inline {
	display: inline-block;
	margin: -4.5px;
}

.top {
	vertical-align: top;
}

.sixtysix {
	width: 66.6%;
}

.thirtythree {
	width: 33.3%;
}

@media screen and (max-width: 900px) {
	.page-content,
	.borders {
		padding: 0 10px;
	}
}

@media screen and (max-width: 800px) {
	.inline {
		display: block;
		margin-right: 0;
	}
	.thirtythree, .sixtysix {
		width: 100%;
	}
}

@media screen and (max-width: 640px) {
	.desktop-only {
		display: none;
	}
	.mobile-only {
		display: block;
	}
}

/* Site Footer */

.site-footer {
	padding: 0 20px 20px 20px;
}

.site-footer .gray-background {
	padding-top: 40px;
}

.site-footer .inner {
	border-top: 1px solid #404040;
	margin-top: 40px;
	padding-bottom: 40px;
	padding-top: 40px;
}

.site-info {
	display: inline-block;
	margin-right: -4px;
	text-align: right;
	width: 30%;
}

.site-info p {
	margin-bottom: 0;
}

.footer-menu {
	display: inline-block;
	margin-right: -4px;
	text-align: left;
	width: 70%;
}

.footer-menu ul {
	display: inline-block;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu ul li {
	display: inline-block;
	margin-right: 15px;
}

.footer-menu .menu-main-menu-container {
	display: inline-block;
}

.footer-menu a,
.footer-menu a:visited {
	color: #404040;
	text-decoration: none;
}

.footer-menu a:hover,
.footer-menu a:focus,
.footer-menu a:active {
	color: #FF893E;
}

@media screen and (max-width: 900px) {
	
	.site-footer {
		padding: 0 10px 10px 10px;
	}
	
	.site-footer .inner {
		margin-top: 0;
		padding: 40px 0;
		width: calc(100% - 20px);
	}
	
	.site-footer .gray-background {
		padding-top: 0;
	}
		
}

@media screen and (max-width: 800px) {
	
	.footer-menu, .site-info {
		display: block;
		margin-right: 0;
		text-align: center;
		width: 100%;
	}
	
	.footer-menu, 
	.footer-menu .menu-main-menu-container {
		display: block;
		margin-bottom: 15px;
	}
	
	.footer-menu ul li:last-child {
		margin-right: 0;
	}
	
}

@media screen and (max-width: 640px) {
	#footer-menu li {
		display: block;
		margin-right: 0;
		margin-bottom: 5px;
	}
}

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

.home-slider-container {
	position: relative;
}

.scrolly,
.scrolly:visited {
	color: rgba(255, 255, 255, 0.5);
	font-size: 60px;
	position: absolute;
		bottom: 10px;
		left: calc(50% - 20px);
		z-index: 5;
	transition: 0.5s;
		-webkit-transition: 0.5s;
}

.scrolly:hover,
.scrolly:active,
.scrolly:focus {
	color: rgba(255, 255, 255, 1);
	transition: 0.5s;
		-webkit-transition: 0.5s;
}

.home-slider {
/* 	padding: 20px 20px 0 20px;	 */
}

.slide {
	background-repeat; no-repeat;
	background-position: center center;
	background-size: cover;
	height: calc(100vh - 100px);
	position: relative;
}

/*
.slide:after {
	background: rgba(0, 0, 0, 0.25);
	content: "";
	display: block;
	position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 2;
}
*/


.slide:after {
	background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 200px);
	background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 200px);
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 200px);
	content: "";
	display: block;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#00000000',GradientType=1);
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 0;
}

/*
.slide-inner {
	position: absolute;
		top: 50%;
		left: 0;
		right: 0;
		z-index: 5;
	text-align: center;
	transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
}

.slide-inner p {
	color: #ffffff;
	font-family: 'Montserrat', sans-serif;
	font-size: 36px;
	font-style: italic;
	line-height: 1.2;	
	margin-bottom: 20px;
	text-shadow: 2px 2px 2px #404040;
}
*/


.slide .inner {
	text-align: center;
}

.slide-inner-container {
	position: absolute;
		top: 50%;
		left: 0;
		right: 0;
		z-index: 5;
	text-align: center;
	transform: translateY(-50%);
		-webkit-transform: translateY(-50%);		
}

.slide-inner {
	background: rgba(255, 255, 255, 0.75);
	display: inline-block;
	padding: 20px;
}

.slide-inner p {
	color: #404040;
	font-family: 'Montserrat', sans-serif;
	font-size: 24px;
	font-style: italic;
	line-height: 1.2;	
	margin-bottom: 20px;
	max-width: 100%;
	width: 450px;
}

.slide-inner .button,
.slide-inner .button:visited {
	color: #404040;
}

.slide-inner .button:hover,
.slide-inner .button:active,
.slide-inner .button:focus {
	color: #ffffff;
}

.page-template-template-home .entry-header {
	display: none;
}

.slide-mobile-image {
	display: none;
}

.owl-nav {
	color: #FF893E;
	font-size: 48px;
	position: absolute;
		top: 75px;
		right: 20px;
		left: 20px;
}

.owl-prev {
	float: left;
}

.owl-next {
	float: right;
}

@media screen and (max-width: 1024px) {
	.slide {
		height: auto;
	}
}

@media screen and (max-width: 800px) {
	
	.home-slider {
		padding: 15px 15px 0 15px;
	}
	
	.slide-inner p {
		font-size: 28px;
	}
	
}

@media screen and (max-width: 800px) {
	
	.slide {
		background-image: none !important;
		height: auto;
	}
	
	.slide-mobile-image {
		display: block;
	}
	
	.scrolly {
		display: none;
	}
	
	.slide-inner-container { 
		position: relative;
		top: auto;
		transform: none;
		-webkit-transform: none;	
	}
	
	.slide-inner {
		background: transparent;
		display: block;
	}
	
}

@media screen and (max-width: 640px) {
	
	.slide-inner p {
		font-size: 24px;
	}
	
}

@media screen and (max-width: 500px) {
	
	.slide-inner p {
		font-size: 18px;
	}
	
}

@media screen and (max-width: 400px) {
	
	.slide-inner p {
		font-size: 16px;
	}
	
}

/*--------------------------------------------------------------
# Interior Pages
--------------------------------------------------------------*/

.entry-header {
/* 	 text-align: center; */
}

.entry-content {
	padding: 20px 0 50px 0;
}

.home .entry-content {
	padding: 60px 0 50px 0;
}

.page-content .inner {
	width: 1000px;
}

.home .page-content .inner {
	width: 1000px;
}

.hero-image {
/* 	padding: 20px 20px 0 20px; */
	position: relative;
}

.hero-image:after {
	background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 200px);
	background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 200px);
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 200px);
	content: "";
	display: block;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#00000000',GradientType=1);
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 0;

}

.hero-image img {
	vertical-align: middle;
	width: 100%;
}

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

/*
.emphasis {
	font-size: 20px;
	font-style: italic;
}
*/

.content-column.one_half {
	line-height: 2;
}

.contact-box {
	background: #ffffff;
	border-left: 5px solid #FF893E;
	margin-left: 20px;
	padding: 20px;
}

.sidebar {
	margin-top: 20px;
}

.contact-box p:last-child {
	margin-bottom: 0;
}

.page-template-template-teamlist .entry-content,
.page-template-template-testimonials .entry-content,
.page-template-template-community .entry-content {
	padding: 0;
}

.team-list-container .gray-background {
	padding-top: 30px;
}

.panelpop {
	text-decoration: none;
}

.panelpop:hover .team-headshot {
	opacity: 0.8;
	transition: 0.5s;
		-webkit-transition: 0.5s;
}

.lightbox {
	max-height: 90%;
	padding: 44px 34px 14px 34px;
	width: 90%;
}

.team-member {
	display: inline-block;
	margin-bottom: 30px;
	margin-right: -4px;
	vertical-align: top;
	width: 33.3%;
}

.team-headshot {
	background-position: center -10px;
	background-repeat: no-repeat;
	background-size: 106%;
	border: 2px solid #FF893E;
	display: block;
	height: 200px;
	margin: 0 auto;
	width: 200px
}

.team-headshot.team-headshot-220 {
    background-size: cover;
    background-position: center center;
}

.team-headshot,
.team-title,
.team-social {
	margin: 0 auto;
	max-width: 250px;
	text-align: center;
}

.team-title h3 {
	margin-bottom: 0.25em;
}

.team-title h4 {
	font-size: 14px;
	margin-top: 0;
	margin-bottom: 1em;
}

.team-social {
	margin-bottom: 1.5em;
}

.team-social ul {
	margin: 0;
	padding: 0;
}

.team-social a {
	margin-right: 10px;
	text-decoration: none;
}

.team-social li:last-child a {
	margin-right: 0;
}

.testimonials-container .gray-background {
	padding-bottom: 20px;
	padding-top: 20px;
}

.testimonials-container .inner {
	width: 1000px;
}

.quotationbyline {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.25;
	padding-left: 60px;
	/* 	text-transform: uppercase; */
}

.testimonial-block {
	display: block;
	margin-bottom: 60px;
	width: 100%;
}

blockquote {
	font-style: normal;
	position: relative;
}

blockquote:before {
	color: #FF893E;
	content: '\201c';
	font-family: serif;
	font-size: 100px;
	font-style: normal;
	font-weight: bold;
	line-height: 1;
	opacity: 1;
	position: absolute;
		top: -10px;
		left: -15px;
}
	
blockquote p {
	padding-left: 60px;
}

.desaturate {
	-webkit-filter: grayscale(1);
	-webkit-filter: grayscale(100%);
	filter: gray;
	filter: grayscale(100%);
	filter: url(desaturate.svg#greyscale);
}

.desaturate.invert {
	-webkit-filter: invert(1) grayscale(1);
	-webkit-filter: invert(1) grayscale(100%);
	filter: invert(1) gray;
	filter: invert(1) grayscale(100%);
	filter: invert(1) url(desaturate.svg#greyscale);
}

.community-container .inner {
	text-align: center;
	width: 1020px;
}

.community-block {
	display: inline-block;
	margin-right: -4px;
	min-height: 175px;
	padding: 10px;
	position: relative;
	text-align: center;
	vertical-align: middle;
	width: 33.3%;
}

.community-block-inner {
	background: #ffffff;
	box-shadow: 0 0 5px rgba(126, 118, 114, 0.36);
	min-height: 175px;
}

.community-block .image-container {
	margin: 0 auto;
	position: absolute;
		top: 50%;
		left: 0;
		right: 0;
	text-align: center;
	transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
	width: 80%;
}

.community-block-inner img {
	max-height: 120px;
}

.community-title {
	line-height: 1.5;
	margin: 0;
}

.community-block:hover .community-block-inner {
	box-shadow: 0 0 10px rgba(126, 118, 114, 0.86);
}

@media screen and (max-width: 900px) {
	.hero-image {
/* 		padding: 10px 10px 0 10px; */
	}
	.entry-header {
		padding: 10px 0 0 0;
	}
	.entry-header h1 {
		margin: 0;
	}
	.entry-content {
		padding: 10px 0 0 0;
	}
	.community-block {
		width: 33.3%;
	}
	.community-container .gray-background {
		padding-bottom: 20px;
		padding-top: 20px;
	}
	.team-member {
		width: 50%;
	}
}

@media screen and (max-width: 800px) {
	.contact-box {
		margin-bottom: 20px;
		margin-left: 0;
		width: 100%;
	}
	.gform_wrapper {
		margin-bottom: 0 !important
	}
	.team-member {
		border-bottom: 1px solid #aaaaaa;
		display: block;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 30px;
		width: 80%;
	}
	.team-member:nth-child(odd) {
		padding-right: 0;
	}
	.team-member:nth-child(even) {
		padding-left: 0;
	}
	.team-member:last-child {
		border-bottom: 0;
		margin-bottom: 0;
	}
	.team-content p:last-child {
		margin-bottom: 0;
	}
	.home .entry-content {
		padding: 20px 0 50px 0;
	}
	
}

@media screen and (max-width: 700px) {
	.community-block {
		width: 50%;
	}
}

@media screen and (max-width: 600px) {
	.lightbox {
		padding: 44px 10px 10px 10px;
		width: 95%;
	}
	.lightbox .alignleft {
		display: block;
		float: none;
		text-align: center;
		margin-right: 0;
		margin-bottom: 10px;
	}
	.team-member {
		width: 100%;
	}
	.team-headshot {
		height: 150px;
		width: 150px;
	}
	.testimonial-block {
		border-bottom: 1px solid #aaaaaa;
		display: block;
		margin-right: 0;
		padding-left: 0 !important;
		padding-right: 0 !important;
		padding-bottom: 30px;
		width: 100%;
	}
	.testimonial-block:last-child {
		border-bottom: 0;
		margin-bottom: 0;
	}
}

@media screen and (max-width: 360px) {
	.community-block {
		display: block;
		margin-right: 0;
		width: 100%;
	}	
}

/*--------------------------------------------------------------
# Carousel nav
--------------------------------------------------------------*/
.owl-dots {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  bottom: 25px;
  left: 75px;
}
@media screen and (max-width: 1024px) {
  .owl-dots {
    left: 30px;
  }
}
@media screen and (max-width: 800px) {
  .owl-dots {
    position: relative;
    bottom: auto;
    left: auto;
    text-align: center;
  }
}
.owl-dots .owl-dot {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: inline-block;
  height: 20px;
  margin-right: 10px;
  padding: 20px 0;
  position: relative;
  text-indent: -99999px;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  width: 50px;
  /* Making this a pseudoelement so that
   * you can fat finger it */
}
.owl-dots .owl-dot:after {
  background: #ffffff;
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  top: 50%;
  width: 100%;
}
.owl-dots .owl-dot.active {
  transition: 0.5s;
  -webkit-transition: 0.5s;
  width: 75px;
}
.owl-dots .owl-dot.active:after {
  background: #FF893E;
}
@media screen and (max-width: 800px) {
	.owl-dots .owl-dot:after {
		background: #98928E;
	}
}

.bounce {
  -moz-animation: bounce 5s infinite;
  -webkit-animation: bounce 5s infinite;
  animation: bounce 5s infinite;
}

@-moz-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  60% {
    -moz-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}
@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  60% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  60% {
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}

@media screen and (max-width: 1024px) {
	.fix-mobile-spacing .wp-block-column:last-child h2,
	.fix-mobile-spacing .wp-block-column:last-child p {
		margin-bottom: 0.5rem;
	}
}

@media screen and (max-width: 781px) {
	.fix-mobile-spacing .wp-block-column:last-child {
		margin-top: -3rem;
		margin-bottom: 2rem;
	}	
		
	.fix-mobile-spacing .wp-block-column:last-child .button {
		margin-top: 1rem;
	}
}