/*
Theme Name: PE Ben Custom Theme
Theme URI: http://www.marion.com
Description: A custom WordPress theme built for PE Ben USA
Author: MARION Marketing | Rustin Dodd
Author URI: http://www.marion.com | http://www.rustindodd.com
Version: 1.0
*/

/* Universal Styles
-------------------------------------------------------------------------------*/

html,
body {
	height: 100%;
	margin: 0;
}

body {
	font-size: 16px;
	font-family: 'Raleway', sans-serif;
}

body,
select,
input,
textarea {
	color: #333;
}

/* Wraps */
.wrap {
	width: 90%;
	max-width: 1200px;
	margin: auto;
}

.wrap.w-sidebar,
.wrap.contact {
	display: table;
	padding: 50px 0;
}

.wrap.w-sidebar .content,
.wrap.w-sidebar .sidebar,
.wrap.contact .content,
.wrap.contact .sidebar {
	display: table-cell;
	vertical-align: top;
}

.wrap.w-sidebar .content {
	width: 70%;
	padding: 0 25px 0 0;
}

.wrap.w-sidebar .sidebar {
	width: 30%;
}

.wrap.contact .content {
	width: 50%;
	padding: 0 25px 0 0;
}

.wrap.contact .sidebar {
	width: 50%;
}

/* Custom text-selection colors (remove any text shadows */
::-moz-selection {
	background: #f4911d;
	color: #fff;
	text-shadow: none;
}

::selection {
	background: #f4911d;
	color: #fff;
	text-shadow: none;
}


/******* Links and Buttons ********/
a {
	color: #03f;
}

a:hover {
	color: #69f;
}

/*	j.mp/webkit-tap-highlight-color */
a:link {
	-webkit-tap-highlight-color: #fcd700;
}

/* Buttons */
.button {
	display: inline-block;
	padding: 12px 25px;
	color: #323232;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
	margin: 0 0 10px 0;
	border: solid 2px #f4911d;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.75px;
	transition: all ease 0.25s;
}

.button:hover {
	background: #f4911d;
	color: #fff;
	box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.5);
}

.button.white {
	color: #fff;
}

/* Seach Results Links */
.search-result {
	display: block;
	color: #323232;
	text-decoration: none;
	padding: 25px;
}

.search-result:hover {
	color: #323232;
	background: #f5f5f5;
}

.search-result h4 {
	color: #03f;
	margin: 0;
}

.search-result .url {
	color: #999;
	margin: 5px 0;
}

.search-result .entry * {
	margin: 0;
}

/* Social Icons */
a.social-icon {
	display: inline-block;
	height: 35px;
	width: 35px;
	border-radius: 50%;
	background-size: 101%;
	background-position: center cener;
	margin: 0 2px;
}

a.social-icon:first-child {
	margin-left: 0;
}

a.social-icon:last-child {
	margin-right: 0;
}

a.social-icon span {
	display: none;
}

a.social-icon.facebook {
	background-image: url(_/img/social/facebook.svg);
}

a.social-icon.instagram {
	background-image: url(_/img/social/instagram.svg);
}

a.social-icon.linkedin {
	background-image: url(_/img/social/linkedin.svg);
}

a.social-icon.twitter {
	background-image: url(_/img/social/twitter.svg);
}

a.social-icon.youtube {
	background-image: url(_/img/social/you-tube.svg);
}

a.social-icon.rss {
	background-image: url(_/img/social/rss.svg);
}

/* Social Share Buttons */
.social-share {
	display: block;
	background: #f5f5f5;
	margin: 25px 0;
	padding: 15px;
}

.social-share h6 {
	font-size: 18px;
	margin: 0 0 10px 0;
}

.social-share ul,
.social-share ul li {
	display: inline-block;
	margin: 0 5px 0 0;
}

.social-share ul li img {
	width: 35px;
	height: auto;
}


ins {
	background-color: #fcd700;
	color: #000;
	text-decoration: none;
}

mark {
	background-color: #fcd700;
	color: #000;
	font-style: italic;
	font-weight: bold;
}

/* Mozilla dosen't style place holders by default */
input:-moz-placeholder {
	color: #a9a9a9;
}

textarea:-moz-placeholder {
	color: #a9a9a9;
}

/* Typography */

body {
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: bold;
}

h1 {
	font-size: 225%;
}

h2 {
	font-size: 200%;
}

h3 {
	font-size: 175%;
}

h4 {
	font-size: 150%;
}

h5,
h6 {
	font-size: 125%;
}

p {
	margin: 15px 0;
}

/* ACF Google Map */
.acf-map {
	width: 100%;
	height: 600px;
	border: #ccc solid 1px;
	margin: 20px 0;
}

/* Responsive Video */
.video-responsive {
	overflow: hidden;
	padding-bottom: 56.25%;
	position: relative;
	height: 0;
}

.video-responsive iframe {
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	position: absolute;
}

/* Form Styles */
.wpcf7-form-control {
    background: #e1e1e1 !important;
    border: none;
    padding: 10px;
}
.wpcf7-form div {
	display:none;
}
.contact-form {
	margin: 35px 0 0 0;
}

.gform_wrapper label {
	display: none !important;
}

.wpcf7-form input[type=text],
.wpcf7-form textarea, .wpcf7-form input[type=tel], .wpcf7-form input[type=email] {
	width: 100% !important;
	max-width: 500px !important;
	padding: 10px 15px !important;
	background: #e7e7e7;
	border: 0;
}

.name_first,
.name_last {
	width: 50% !important;
	max-width: 257px !important;
}

.wpcf7-form input[type=submit] {
	background: none !important;
	font-family: 'Raleway', sans-serif !important;
	background: #f4911d !important;
}

.wpcf7-form input[type=submit]:hover {
	background: #f4911d !important;
}

.wpcf7-form input[type=submit]:hover {
	background: #f4911d;
	color: #fff;
	box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.5);
}

.button {
	color: #fff;
}


/* WP Core Styles
-------------------------------------------------------------------------------*/

.sticky,
.bypostauthor,
.gallery-caption {
	display: normal;
}

.alignnone {
	margin: 1em 1em 1em 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: .5em auto;
}

.alignright {
	float: right;
	margin: 0 0 1em 1em;
}

.alignleft {
	float: left;
	margin: 0 1em 1em 0;
}

.aligncenter {
	display: block;
	margin: 1em auto;
}

img,
img[style],
img[class*="align"],
img[class*="wp-image-"] {
	width: auto;
	max-width: 100%;
	height: auto;
}

img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

img.alignright {
	margin-left: 1em 0 1em 1em;
}

img.alignleft {
	margin: 1em 1em 1em 0;
}

img.aligncenter {
	display: block;
	margin: 1em auto;
}

img#wpstats {
	display: block;
	margin: 0 auto;
}

img[class*="align"],
img[class*="wp-image-"],
.gallery .gallery-icon img {
	border: none;
}

.wp-caption,
.wp-caption[style] {
	margin-bottom: 1em;
	margin-left: 0;
	width: auto !important;
	max-width: 100% !important;
	height: auto;
	text-align: center;
}

.wp-caption img {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	position: relative;
	font-size: .8em;
	margin: 5px 0;
	color: #999;
}

.gallery {
	margin: 0 auto;
}

.gallery .gallery-item {
	margin: 0;
	float: left;
	text-align: center;
	width: 33%;
}

.gallery a img {
	border: none;
}

.gallery-columns-4 .gallery-item {
	width: 25%;
}

.gallery-columns-4 .gallery-item img {
	width: 100%;
	height: auto;
}

blockquote {
	padding: 0 0 0 25px;
	border-left: solid 1px #e7e7e7;
}

code {
	display: block;
	padding: 15px;
	background: #f5f5f5;
}

table {
	border: solid 2px #e7e7e7;
}

table th {
	background: #666;
	color: #fff;
	padding: 5px;
}

table tr:nth-child(odd) {
	background: #f5f5f5;
}

table tr td {
	padding: 5px 10px;
}

dl {
	padding: 0 0 0 25px;
}

dt {
	font-weight: bold;
}

dd {
	padding: 0 0 0 15px;
}

.entry ul {
	list-style: disc;
	padding: 0 0 0 25px;
}

ol {
	padding: 0 0 0 25px;
}

ul.history {
	margin: 0;
	padding: 0;
}

.history li {
	background: url('_/img/ico-clock.png') no-repeat left center;
	padding: 0 0 0 24px;
	/* reset styles (optional): */
	list-style: none;
	margin: 0 0 10px 0;
}

.history span {
	color: #f4911d;
	font-weight: bold;
}

embed,
object {
	max-width: 100%;
}


/* Header Styles
-------------------------------------------------------------------------------*/

.webmail,
.webmail:hover {
	display: inline-block;
	background: none;
	border: solid 1px #f4911d;
	border-top: 0px;
	text-transform: uppercase;
	color: #f4911d;
	position: absolute;
	top: 0;
	right: 50px;
	z-index: 10000;
	font-size: 75%;
	text-decoration: none;
	padding: 8px 15px;
}

header {
	position: relative;
	padding: 50px 0 125px 0;
	background-image: url(_/img/default-bg.jpg);
	background-size: cover;
	background-position: center center;
}

header.home {
	background: none;
}

header .overlay {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	background: linear-gradient(rgba(0, 0, 0, 0.90), rgba(0, 0, 0, 0));
	z-index: 9999;
}

header .wrap {
	position: relative;
	text-align: center;
	z-index: 10000;
}

.page-title {
	position: relative;
	top: -125px;
	color: #fff;
	text-align: center;
	z-index: 9999;
	font-size: 300%;
	margin: 0 0 -75px 0;
}

/********* Logo and Description **********/
.logo {
	display: block;
	width: 225px;
	margin: auto;
}

.logo img {
	width: 100%;
	height: auto;
}

/********* Nav Styles ************/
.nav-open {
	display: none;
	height: 22px;
	width: 22px;
	background: url(_/img/menu-icon.svg) center center;
	background-size: contain;
	position: absolute;
	top: 5px;
	right: 5px;
	cursor: pointer;
}

.nav-close {
	display: none;
	height: 30px;
	width: 30px;
	background: url(_/img/menu-close.svg) center center;
	background-size: contain;
	position: absolute;
	top: 15px;
	right: 15px;
	cursor: pointer;
}

nav {
	display: block;
	width: 100%;
	list-style-type: none;
	margin: 25px 0;
	text-align: center;
}

nav a,
nav a:visited {
	display: block;
	padding: 10px 20px;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	width: 100%;
}

nav a:hover {
	color: #fff;
}

nav ul {
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 10;
}

nav ul:after {
	content: '';
	display: block;
	clear: both;
}

/* Top Level Nav */
nav ul li {
	display: inline-block;
	position: relative;
	white-space: nowrap;
	margin: 0;
}

nav ul>li.menu-item-has-children>a:after {
	content: '';
	display: inline-block;
	width: 12px;
	height: 15px;
	margin: 0 0 0 5px;
	background: url(_/img/down-arrow.svg) center center;
	transform: translateY(3px);
}

/* Second Level Nav*/
nav ul li>ul {
	display: none;
	position: absolute;
	background: rgba(185, 110, 25, 0.95);
	z-index: 5;
}

nav ul li>ul li {
	display: block;
	text-align: left;
	font-size: 14px;
}

nav ul li>ul li.menu-item-has-children>a:after {
	content: '';
	display: inline-block;
	width: 18px;
	height: 12px;
	margin: 0 0 0 5px;
	background: url(_/img/right-arrow.svg) center center;
	transform: translateY(0);
}

nav ul li>ul a:hover {
	background: #f4911d;
}

nav ul>li:hover>ul,
nav ul>li:active>ul,
nav ul>li:target>ul {
	display: block;
	opacity: 1;
	transform: translateY(0%);
	animation-name: subMenu;
	animation-duration: 0.3s;
}

/* Tird Level Nav */
nav ul>li ul>li ul {
	display: none;
	position: absolute;
	background: #CCC;
	z-index: 0;
}

nav ul>li ul>li:hover ul,
nav ul>li ul>li:active ul,
nav ul>li ul>li:target ul {
	display: block;
	transform: translateX(100%);
	top: 0;
	right: 0px;
	opacity: 1;
	animation-name: thirdMenu;
	animation-duration: 0.3s;
}

/* Footer Styles
-------------------------------------------------------------------------------*/

/* Tagline */
.tagline {
	background: #e4e4e4;
	text-align: center;
	padding: 50px 0;
}

.tagline p {
	font-size: 150%;
	max-width: 600px;
	margin: auto;
}

.tagline p strong {
	color: #f4911d;
}

/* Call to Action */
.cta {
	padding: 50px;
	text-align: center;
}

.cta img {
	display: inline-block;
}

.cta p {
	display: inline-block;
	font-size: 115%;
	transform: translateY(-100%);
	margin: 0 0 0 25px;
}

.cta p a.phone {
	font-weight: 700;
	color: #323232;
	text-decoration: none;
}

.cta p a.email {
	font-weight: 700;
	color: #f4911d;
	text-decoration: none;
}

.footer {
	width: 100%;
	background: #f5f5f5;
	padding: 0;
	margin: 0;
	position: relative;
	background: url(_/img/pipe-bg.jpg) no-repeat top center;
	background-size: 100% auto;
}

.footer .overlay {
	position: absolute;
	height: 100%;
	width: 100%;
	background: rgba(245, 145, 30, 0.85);
}

.footer .wrap {
	position: relative;
	z-index: 1000;
	padding: 50px 0;
}

.footer .wrap>a img {
	width: 90%;
	height: auto;
	max-width: 200px;
}

.footer .wrap .footer-contact {
	color: #fff;
	font-weight: 700;
}

.footer .wrap .footer-contact a,
.footer .wrap .footer-contact a:visited {
	color: #fff;
	text-decoration: none;
	font-weight: 800;
}

.footer .social-icon-wrap {
	float: right;
	transform: translateY(-100%);
}

footer {
	width: 100%;
	text-align: center;
	padding: 15px 0;
}

footer,
footer a,
footer a:visited {
	font-size: 12px;
	color: #999;
}

footer>div,
.menu-footer-menu-container,
footer ul,
footer ul li {
	display: inline-block;
}

footer ul,
footer ul li:after {
	content: " | ";
}

/* Sidebar Styles
-------------------------------------------------------------------------------*/

.sidebar>div {
	margin: 25px 0 0 0;
}

.sidebar>div:first-child {
	margin: 0;
}

.sidebar h1,
.sidebar h2,
.sidebar h3,
.sidebar h4 {
	font-size: 125%;
}


/* Search Styles
-------------------------------------------------------------------------------*/
.search-form label {
	display: none;
}

.search-form input[type=search] {
	width: 100%;
	max-width: 350px;
	padding: 10px 15px;
	margin: 0 10px 20px 0;
}

.search-form input.button {
	margin: 0;
	padding: 12px 15px;
	transform: translateY(-10px);
	background: none;
}

.search-form input.button:hover {
	background: #f4911d;
}


/* Blog Styles
-------------------------------------------------------------------------------*/
.featured-img {
	display: block;
	width: 100%;
	height: 300px;
	background-position: center center;
	background-size: cover;
	border: 0;
	margin: 25px 0 0 0;
}

/****** Blog Index / Archives *******/
.wrap.blog-index article,
.wrap.archive article {
	margin: 0 0 25px 0;
	padding: 0 0 25px 0;
	border-bottom: solid 1px #f5f5f5;
}


/* 404 Page
-------------------------------------------------------------------------------*/
.four-o-four {
	display: block;
	width: 100%;
	padding: 50px 0;
	text-align: center;
}

.four-o-four img {
	margin: 0 0 25px 0;
}

/* Search Page
-------------------------------------------------------------------------------*/
.no-results {
	display: block;
	width: 100%;
	padding: 50px 0;
	text-align: center;
}

.no-results img {
	margin: 0 0 25px 0;
	height: 150px;
	width: auto;
}


/* Services Widget
-------------------------------------------------------------------------------*/
.services-widget {
	display: table;
	width: 100%;
}

.services-widget>div {
	display: table-cell;
	width: 12.5%;
	height: auto;
	max-height: 200px;
	vertical-align: bottom;
	background-position: center center;
	background-size: cover;
}

.services-widget>div a {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 200px;
	padding: 150px 45px 15px 0;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	transition: all ease 0.4s;
	vertical-align: bottom;
	position: relative;
	background: rgba(0, 0, 0, 0.25);
}

.services-widget>div a p {
	margin: 0;
	text-align: right;
	position: absolute;
	bottom: 15px;
	right: 45px;
	max-width: 65%;
	font-weight: 700;
	font-size: 14px;
}

.services-widget>div a p span {
	display: inline-block;
	font-size: 85%;
	color: #f4911d;
	border: solid 2px #f4911d;
	line-height: 1;
	padding: 0 4px 2px 4px;
	position: absolute;
	bottom: 2px;
	right: 0;
	transform: translateX(30px);
	fnot-weight: 800;
}

/* hover */
.services-widget>div a:hover {
	background: rgba(245, 145, 30, 0.5);
}

.services-widget>div a:hover p span {
	color: #fff;
	border: solid 2px #fff;
}


/* Specific Page Styles
-------------------------------------------------------------------------------*/

/********* Home Page **********/
/* Slider */
#home-slider {
	position: relative;
	overflow: hidden;
	height: 100%;
	width: 100%;
	top: -320px;
	left: 0;
	background: #111111;
	margin: 0 0 -320px 0;
}

#home-slider ul {
	position: relative;
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	list-style: none;
}

#home-slider ul li {
	position: relative;
	display: block;
	float: left;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	background: #ccc;
	text-align: center;
}

#home-slider ul li img {
	position: absolute;
	width: auto;
	height: auto;
	min-height: 100%;
	min-width: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}

#home-slider ul li div.overlay {
	position: absolute;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.45);
	z-index: 2;
}

#home-slider ul li div.content {
	position: absolute;
	top: 55%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
}

#home-slider ul li div.content h2 {
	color: #fff;
	font-size: 375%;
	font-weight: 400;
	max-width: 700px;
	line-height: 1.15;
}

#home-slider ul li div.content h2 span {
	display: block;
	font-weight: 800;
}

#home-slider ul li div.content .button {
	margin: 25px 0 0 0;
}

a.control_prev,
a.control_next {
	position: absolute;
	top: 40%;
	z-index: 999;
	display: block;
	padding: 4% 3%;
	width: auto;
	height: auto;
	background: rgba(0, 0, 0, 0.25);
	color: #fff;
	text-decoration: none;
	font-weight: 400;
	font-size: 200%;
	opacity: 0.8;
	cursor: pointer;
}

a.control_prev:hover,
a.control_next:hover {
	opacity: 1;
	-webkit-transition: all 0.5s ease;
}

a.control_prev {
	border-radius: 0 2px 2px 0;
	background-image: url(_/img/left-arrow.svg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: auto 75px;
}

a.control_prev:hover {
	background-image: url(_/img/left-arrow-hover.svg);
}

a.control_next {
	right: 0;
	border-radius: 2px 0 0 2px;
	background-image: url(_/img/right-arrow.svg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: auto 75px;
}

a.control_next:hover {
	background-image: url(_/img/right-arrow-hover.svg);
}

/* Intro content */
.home-intro-text {
	background: #2a2a2a;
	color: #fff;
	font-size: 175%;
	margin: 0;
	padding: 75px 0;
	text-align: center;
	line-height: 1.25;
}

/* Partners */
.home-partners {
	background: #005395;
	padding: 75px 0;
	color: #fff;
}

.home-partners .wrap {
	display: table;
}

.home-partners .wrap>div {
	display: table-cell;
	padding: 0 50px;
	text-align: center;
	border-right: solid 1px #f4911d;
	width: 50%;
}

.home-partners .wrap>div:last-child {
	border: 0;
}

.home-partners .wrap>div img {
	height: auto;
	width: 50%;
}

.home-partners .wrap>div p {
	margin: 25px 0;
}

/* Home Content */
.home-content {
	background-image: url(_/img/home-content-bg.jpg);
	background-position: center left;
	background-size: 50% auto;
	background-repeat: no-repeat;
}

.home-content .wrap {
	display: table;
}

.home-content .wrap>div {
	display: table-cell;
	width: 50%;
	padding: 50px;
	vertical-align: middle;
}

.home-content .wrap>div:first-child {
	color: #fff;
	padding-left: 60px;
}

.home-content .wrap>div h3 {
	font-weight: 400;
	color: #f4911d;
	text-transform: uppercase;
	font-size: 225%;
}

.home-content .wrap>div .button {
	margin: 25px 0 0 0;
}


/********* About Page **********/
.staff {
	margin: 25px 0 0 0;
}

.staff ul {
	columns: 2;
	max-width: 850px;
}

.staff ul li,
.staff ul li a,
.staff ul li a:visited {
	font-weight: 700;
	text-decoration: none;
	margin: 0 0 15px 0;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid-column;
	color: #323232;
	line-height: 1;
}

.staff ul li span {
	display: block;
	font-style: italic;
}


/********* Interior Page **********/

.wrap.content {
	padding: 50px 0;
}

.wrap.content:after {
	content: '';
	display: block;
	clear: both;
}

/******** Staff Pages **********/
.team-members {
	display: grid;
	grid-template-columns: repeat(4, 260px);
	justify-content: space-between;
	align-content: space-between;
	grid-row-gap: 3em;
  }

  @media only screen and (max-width: 1180px) {

	/* Home Page */
	.team-members {
		grid-template-columns: 1fr 1fr;
		grid-column-gap: 3em;
	  }
	  .overlay {
		min-height: 100%;
	  }
}

  .team-members a {
	text-decoration: none;
	color: #000;
  }
  .team-members h3 {
	text-align: center;
	font-weight: bold;
	line-height: normal;
	font-size: 1.2rem;
  }
  .team-members span {
	display: block;
	font-weight: normal;
	font-style: italic;
  }
  .team-member {
	position: relative;
  }
  .overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	max-height: 260px;
	width: 100%;
	opacity: 0;
	transition: 0.5s ease;
	background-color: rgba(0, 0, 0, 0.6);
  }
  
  .team-member:hover .overlay {
	opacity: 1;
  }
  .team-member img {
	max-width: 100%;
	height: auto;
  }
  .text {
	color: white;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
  }

/* Media queries
-------------------------------------------------------------------------------*/

@media only screen and (max-width: 1400px) {

	/* Home Page */
	.home-content {
		background: none;
	}

	.home-content .wrap {
		width: 100%;
		max-width: 100%;
	}

	.home-content .wrap>div {
		padding: 50px;
	}

	.home-content .wrap>div:first-child {
		background-image: url(_/img/home-content-bg.jpg);
		background-position: center center;
		background-size: cover;
	}

	/* Services Widget */
	.services-widget:after {
		content: '';
		display: block;
		clear: both;
	}

	.services-widget>div {
		display: block;
		float: left;
		width: 25%;
	}

}

@media only screen and (max-width: 950px) {

	/* Mobile Nav - Don't forget to update mobile-click.js if nav max-width changes */
	.nav-open {
		display: block;
	}

	.nav-close {
		display: block;
	}

	nav {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		font-size: 24px;
		overflow: auto;
		background: rgba(0, 0, 0, 0.95);
		margin: 0;
	}

	nav.open {
		display: block;
		opacity: 1;
		transform: translateX(0);
		animation-name: mobileMenuOpen;
		animation-duration: 0.5s;
	}

	nav.close {
		opacity: 0;
		transform: translateX(-100%);
		animation-name: mobileMenuClose;
		animation-duration: 0.5s;
	}

	nav a,
	nav a:visited {
		padding: 15px 20;
		text-align: center;
	}

	nav a:hover {
		background: none;
	}

	nav div>ul {
		margin: 50px 0 0 0;
	}

	/* Top Level Nav */
	nav ul li {
		float: none;
		width: 100%;
		text-align: center;
	}

	nav ul li>ul {
		background: rgba(250, 250, 250, 0.07);
	}

	nav ul li>ul a:hover {
		background: inherit;
	}

	/* Second Level Nav*/
	nav ul li>ul {
		position: relative;
	}

	nav ul li>ul a:hover {
		background: inherit;
	}

	/* Tird Level Nav */
	nav ul>li ul>li ul {
		background: rgba(250, 250, 250, 0.1);
		position: relative;
		transform: translateX(0);
	}

	nav ul>li ul>li:hover ul,
	nav ul>li ul>li:active ul,
	nav ul>li ul>li:target ul {
		transform: translateX(0);
		animation-name: subMenu;
	}

	/* Home Page */
	#home-slider {
		top: -220px;
		margin: 0 0 -220px 0;
	}

	#home-slider ul li,
	a.control_prev,
	a.control_next {
		display: none;
	}

	#home-slider ul li img {
		width: auto;
		height: 100%;
		max-width: none;
	}

	.home-partners .wrap>div img {
		width: 75%;
	}
	.wrap.contact .content, .wrap.contact .sidebar {
		display: table-row;
	  }

	.wrap.contact .content {
		width: 100%;
		padding: 0 0 0 0;
	  }
	.wrap.contact .sidebar {
		width: 100%;
	}

}

@media only screen and (max-width: 850px) {

	.cta img,
	.cta p {
		text-align: center;
		margin: auto;
		display: block;
		transform: translateY(0);
	}

	.cta img {
		margin: 0 auto 15px auto;
	}

}

@media only screen and (max-width: 750px) {

	/* Header */
	.page-title {
		position: absolute;
		top: 150px;
		left: 5%;
		text-align: left;
		font-size: 200%;
		line-height: 1;
	}

	/* Home Page */
	#home-slider ul li div.content {
		width: 90%;
		margin: auto;
	}

	.home-content .wrap>div {
		display: block;
		width: 100%;
	}

	/* Full Width Content */
	.wrap.w-sidebar .content,
	.wrap.w-sidebar .sidebar {
		display: block;
		width: 100%;
	}

	.wrap.w-sidebar .sidebar {
		margin: 25px 0 0 0;
		padding: 25px 0 0 0;
		border-top: solid 1px #e7e7e7;
	}

	/* Footer */
	.footer {
		background-size: cover;
	}

	.footer .social-icon-wrap {
		float: none;
		transform: translateY(0);
	}
}

@media only screen and (max-width: 650px) {

	/* WP Core Styles */
	.gallery-columns-3 .gallery-item {
		width: 33.33%;
	}

	.gallery-columns-3 .gallery-item img {
		width: 100%;
		height: auto;
	}

	/* Home Page */
	#home-slider ul li div.content h2 {
		font-size: 275%;
	}

	.home-partners .wrap>div {
		display: block;
		width: 100%;
	}

	.home-partners .wrap>div:first-child {
		border: 0;
		padding-bottom: 50px;
		border-bottom: solid 1px #f4911d;
	}

	.home-partners .wrap>div:last-child {
		padding-top: 50px;
	}

	.home-partners .wrap>div img {
		width: 50%;
	}

	/* Services Widget */
	.services-widget>div {
		width: 50%;
	}

}

@media screen and (max-width: 480px) {

	/* Header */
	.webmail {
		display: none;
	}

	.logo {
		margin: 0;
	}

	/* Home Page */
	#home-slider ul li div.content h2 {
		font-size: 225%;
	}

	.home-partners .wrap>div img {
		width: 75%;
	}

	/* WP Core Styles */
	.gallery-columns-2 .gallery-item {
		width: 50%;
	}

	.gallery-columns-2 .gallery-item img {
		width: 100%;
		height: auto;
	}

}

@media screen and (max-width: 375px) {

	/* Services Widget */
	.services-widget>div {
		width: 100%;
	}

}



/* Animations
------------------------------------------------------------------------------*/

@keyframes subMenu {
	0% {
		opacity: 0;
		transform: translateY(-10%);
	}

	33% {
		opacity: 0;
		transform: translateY(-5%);
	}

	100% {
		opacity: 1;
		transform: translateY(0%);
	}
}

@keyframes thirdMenu {
	0% {
		opacity: 0;
		transform: translateX(90%);
	}

	33% {
		opacity: 0;
		transform: translateX(95%);
	}

	100% {
		opacity: 1;
		transform: translateX(100%);
	}

}

@keyframes mobileMenuOpen {
	0% {
		opacity: 0;
		transform: translateX(-100%);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}

}

@keyframes mobileMenuClose {
	0% {
		opacity: 1;
		transform: translateX(0);
	}

	100% {
		opacity: 0;
		transform: translateX(-100%);
	}

}