/*
Theme Name: 	Cypress Office
Theme URI: 		http://cypressoffice.com
Description: 	Custom Cypress Offuce theme for Wordpress
Version: 		1.0
Tags: 			cypress office
*/

/*
===========================
CONTENTS:

01 Sensible defaults
02 Typography
03 Media queries 
===========================
*/

/* ---------------------------------------------------------------------------------------------------------- 
01 Sensible defaults ----------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

@import 'css/reset.css';
@import 'css/magnific-popup.css';

/*div, article, section, header, footer, nav, li { position:relative; }*/
.group:after,
aside:after {
  display: block;
  height: 0;
  clear: both;
  content: '.';
  visibility: hidden;
}
body {
  background: #fff;
}
::-moz-selection {
  background: #aaa;
  color: #fff;
}
::selection {
  background: #aaa;
  color: #fff;
}

/* ---------------------------------------------------------------------------------------------------------- 
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
/*

14 / 16	= 		0.875em 		(14px equivalent)
16 / 16	= 		1em 			(16px equivalent)
18 / 16 = 		1.125em 		(18px equivalent)
21 / 16 = 		1.3125em 		(21px equivalent)
24 / 16 = 		1.5em 			(24px equivalent)
30 / 16 = 		1.875em 		(30px equivalent)

*/

html,
body {
  background: #484647;
  color: #fff;
  font-size: 14px;
  font-family: 'Montserrat', Arial, Helvetica, Tahoma, Verdana, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
  text-transform: uppercase;
  font-size: 1.35em;
}
h1 {
  font-size: 2.8em;
}
h2 {
  font-size: 2.5em;
}
h3 {
  font-size: 2em;
}
h4 {
  font-size: 1.5em;
}
h6 {
  font-size: 1.25em;
}

img {
  max-width: 100%;
  height: auto;
}

/*! Flickity v1.1.0
http://flickity.metafizzy.co
---------------------------------------------- */
.flickity-enabled {
  position: relative;
}
.flickity-enabled:focus {
  outline: 0;
}
.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}
.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}
.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}
.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}
.flickity-prev-next-button {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  background: hsla(0, 0%, 100%, 0.75);
  cursor: pointer;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.flickity-prev-next-button:hover {
  background: #fff;
}
.flickity-prev-next-button:focus {
  outline: 0;
  box-shadow: 0 0 0 5px #09f;
}
.flickity-prev-next-button:active {
  filter: alpha(opacity=60);
  opacity: 0.6;
}
.flickity-prev-next-button.previous {
  left: 10px;
}
.flickity-prev-next-button.next {
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}
.flickity-prev-next-button:disabled {
  filter: alpha(opacity=30);
  opacity: 0.3;
  cursor: auto;
}
.flickity-prev-next-button svg {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}
.flickity-prev-next-button .arrow {
  fill: #333;
}
.flickity-prev-next-button.no-svg {
  color: #333;
  font-size: 26px;
}
.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: -25px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}
.flickity-rtl .flickity-page-dots {
  direction: rtl;
}
.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  filter: alpha(opacity=25);
  opacity: 0.25;
  cursor: pointer;
}
.flickity-page-dots .dot.is-selected {
  filter: alpha(opacity=100);
  opacity: 1;
}

/* ---------------------------------------------------------------------------------------------------------- 
03 Media queries --------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

html,
body {
  height: 100%;
  position: relative;
  background: #4c4f4a;
}
.container,
.mfp-content {
  max-width: 986px;
  margin: 0 auto;
}

aside,
.content {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/*.content { width: 788px; }*/

/* FULL HEIGHT (HOMEPAGE) */
body.full-height footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}
body.full-height .body {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 43px;
}
body.full-height .container,
body.full-height aside {
  height: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.hp-slider,
.hp-slider .slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
.hp-slider .slider .slide {
  background-size: 100% auto;
  background-size: cover;
  width: 100%;
  height: 100%;
}
body.page-template-page-home-php .body > .container {
  pointer-events: none;
  z-index: 20;
  position: relative;
}
.body.home h1 {
  padding-top: 30vh;
  text-align: center;
  text-shadow: 2px 2px 10px #000;
  font-size: 10vh;
  font-weight: 100;
}
.flickity-prev-next-button {
  background: transparent;
  border: 1px solid #fff;
}
.flickity-prev-next-button .arrow {
  fill: #fff;
}
.flickity-prev-next-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* SLIDER TEXT */
.ms-skin-black-2.round-skin .ms-nav-prev,
.ms-skin-black-2.round-skin .ms-nav-next {
  border: 0;
  background-color: #333;
}
.ms-layer {
  font-family: 'Neue Helvetica W02';
  font-weight: 200 !important;
}
.body.project .ms-layer h2 {
  font-size: 2.3em;
}
.ms-layer h2 {
  font-size: 1em;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 1);
}
body.home .ms-layer a {
  color: #fff;
  text-decoration: none;
  margin: -3px -14px;
  padding: 3px 14px;
  display: block;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}
.ms-layer a:hover {
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

/* NAV */
header,
footer {
  background: #2d3738;
  text-align: right;
  z-index: 20;
  position: relative;
}
footer {
  background: #2d3738;
}
.logo img {
  width: 137px;
  height: 80px;
  float: left;
  background: #736b43;
}
header a.mobile.logo {
  display: none;
}
header li {
  display: inline-block;
  text-transform: uppercase;
  margin: 0 0.3em;
}
header li a {
  display: inline-block;
  position: relative;
  color: #fff;
  text-decoration: none;
  padding: 1em;
  box-shadow: inset 0 0 0 #b6121b;
  font-weight: 300;
  -webkit-transition: text-shadow 0.2s, box-shadow 0.1s;
  -o-transition: text-shadow 0.2s, box-shadow 0.1s;
  transition: text-shadow 0.2s, box-shadow 0.1s;
}
header li a:hover {
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
  color: #aaa;
}
header li.current-menu-item a,
header li.current-page-ancestor a {
  font-weight: bold;
}
header li:last-child a:after {
  display: none;
}
button.nav {
  display: none;
}

/* PAGE LAYOUT */
/*.body { background: #484647; } */
aside {
  float: left;
  margin-top: 2.5em;
  background: rgba(63, 78, 77, 0.8);
  width: 174px;
  text-transform: uppercase;
  min-height: 400px;
}
.content {
  padding: 1.5em 2.7em;
  text-align: left;
  background: rgba(196, 201, 194, 0.9);
  color: #000;
  font-weight: 300;
  min-height: 500px;
  -webkit-backface-filter: blur(3px);
  backface-filter: blur(3px);
}
.parent-pageid-15 aside {
  min-height: 320px;
}
.parent-pageid-15 .content {
  min-height: 400px;
}
.body {
  background-size: 100% auto;
  background-size: cover;
  background-size: center;
  background-attachment: fixed;
  background-image: url(/wp-content/uploads/2015/07/Park-Bridge-Fountainhead-dusk.jpg);
  padding-bottom: 50px;
  min-height: calc(100vh - 100px);
}
.admin-bar .body {
  min-height: calc(100vh - 132px);
}
.page-title {
  font-size: 5.5em;
  line-height: 123px;
  font-weight: 200;
  padding-left: 170px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.62);
}

.frm_forms {
  width: 50%;
  float: left;
}

.frm_forms input,
.frm_forms textarea {
  border: 1px solid #ccc;
  border-radius: 0 !important;
}
.frm_submit {
  text-align: right;
}
.frm_submit input[type='submit'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #746c44 !important;
  color: #fff !important;
  border: 0 !important;
  text-transform: uppercase;
}

body.contact .content {
  overflow: hidden;
}
.content address {
  width: 35%;
  float: right;
  background: #746c44;
  padding: 1.5em 2em;
  color: #fff;
  font-style: normal;
  font-size: 1.4em;
}
.content address a {
  color: #fff !important;
}

/* CONTENT */
.content p {
  margin: 1em 0;
  line-height: 1.3em;
}
.content a {
  color: #360;
  text-decoration: underline;
  -webkit-transition: all 0.15s;
  -o-transition: all 0.15s;
  transition: all 0.15s;
}
.content a:hover {
  color: #000;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
}
hr {
  border-color: rgba(0, 0, 0, 0.5);
  margin: 1.6em 0 1.5em;
}
.content ul {
  margin: 0 0 1.5em 0;
  padding: 0 0 0 2em;
  display: inline-block;
  vertical-align: top;
  text-align: left;
}
.content ul.half {
  width: 49%;
  padding-left: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.content ul.half > li {
  margin-left: 20px;
}
.content ul li {
  margin: 0.5em 0;
  list-style: initial;
}

.body.team .content {
  margin-right: 260px;
}
.body.team .content img:first-child {
  max-width: 40%;
  float: left;
  margin: 0 2em 1.4em 0;
}
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  margin: 0.5em 0;
}
.content h1 {
  font-size: 2em;
}
.content h2 {
  font-size: 1.8em;
}
.content h3 {
  font-size: 1.5em;
}
.content h4 {
  font-size: 1.2em;
}
.content h5,
.content h6 {
  font-size: 1em;
}
.body.team .content h1 {
  margin-top: 0;
}
.body.team .content h3 {
  font-size: 1.3em;
  font-style: italic;
  margin-bottom: 2em;
}
.members {
  /*float: right;*/
  overflow: hidden;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.members a {
  float: left;
  padding: 0 10px 20px;
  text-decoration: none;
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}
.members h5 {
  background: #736b43;
  color: #fff;
  padding: 1em 2px;
  font-size: 0.9em;
  text-align: center;
  text-decoration: none;
}
.members.member-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.members.member-group .row a {
  width: 100%;
}

.members.member-group .row a img {
  width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .members.member-group .row a {
    max-width: 150px;
  }
}

@media screen and (min-width: 1100px) {
  .members.member-group .row {
    flex-basis: 25%;
  }
  .members.member-group .row a {
    max-width: 190px;
  }
}

.bio.container {
  background: rgba(196, 201, 194, 0.9);
  padding: 2em;
  padding-right: 2.2em;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  color: #000;
  overflow: hidden;
}
.bio.container img {
  float: left;
  margin-right: 2em;
}
.bio.container .bio.content {
  overflow: hidden;
  padding: 0;
  background: transparent;
  min-height: 0;
  text-align: justify;
}
.bio.container .bio.content h1:first-child {
  margin-top: 0;
  margin-bottom: 5px;
}
.bio.container .bio.content h4 {
  margin-top: 0;
  margin-bottom: 10px;
  text-align: left;
}

.btn {
  background: #736b43;
  color: #fff !important;
  text-transform: uppercase;
  text-decoration: none !important;
  display: block;
  padding: 0.75em;
  text-align: center;
}
.btn:hover {
  opacity: 0.8;
}

.body.property .btn {
  position: absolute;
  bottom: 2.5em;
  left: 0;
  right: 0;
}

.body.property {
  overflow: hidden;
  /*padding-bottom: 10px;*/
  position: relative;
  background-image: url(/wp-content/uploads/2015/07/Plaza-23.jpg);
}
.body.property .content {
  padding: 2.5em;
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
.body.property .info {
  /*position: absolute;
	width: 26.5%;
	bottom: 0; right: 2em; top: 0;*/
}
.body.property .info .text {
  /*position: absolute;
	top: 2.5em; bottom: 5.8em;
	left: 0; right: 0;*/
  overflow: auto;
  padding-left: 2em;
}
.body.property .info .text p:last-child {
  margin-bottom: 0;
}
.body.property .info .text h1 {
  margin-top: -0.25em;
}
.body.property .content img:first-child {
  float: left;
  width: 65%;
}
.properties {
  position: relative;
  margin: 1em 0;
  padding: 1em 70px;
  max-height: 101px;
}
.properties:after {
  content: 'flickity';
  display: none;
}
.properties:before {
  content: '';
  position: absolute;
  left: -200%;
  right: -200%;
  top: 0;
  bottom: 0;
  background: rgba(55, 64, 50, 0.75);
}
.properties a {
  width: 150px;
  height: 105px;
  display: inline-block;
  position: relative;
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
}
.properties a:before {
  content: '';
  display: block;
  position: absolute;
  top: 33%;
  left: 0;
  right: 0;
  bottom: 0;
  background: -moz-linear-gradient(
    top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, rgba(0, 0, 0, 0)),
    color-stop(100%, rgba(0, 0, 0, 0.65))
  );
  background: -webkit-linear-gradient(
    top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  background: -o-linear-gradient(
    top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  background: -ms-linear-gradient(
    top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
}
.properties img {
  height: 100%;
  width: auto;
  min-width: 100%;
}
.properties h5 {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  text-align: right;
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  text-shadow: 0 0 6px #000;
}

/* BLOG / NEWS */
.body.sidebar .content {
  margin-left: 174px;
  text-align: justify;
}
.body.blog aside h2 {
  font-size: 3.8em;
}
.body iframe {
  max-width: 100%;
}
.body.blog img {
  max-width: 100%;
}
aside h3 {
  color: #b6121b;
  font-size: 1.7em;
  border-bottom: 1px solid #5c5c5c;
  margin-bottom: 12px;
  padding-bottom: 7px;
  line-height: 1em;
  font-weight: 200;
}
aside ul,
aside ul li {
  border: 0;
  margin: 0;
}
aside ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
aside ul li:hover {
  background: 0;
  box-shadow: none;
}
aside ul li a {
  display: block;
  color: #fff;
  text-decoration: none;
  text-align: left;
  padding: 0.9em 1.5em;
  font-weight: 300;
}
aside ul li.current_page_item a {
  font-weight: 700;
}
aside ul li a:hover {
  color: #aaa;
}
input[type='submit'] {
  color: #fff;
  background: #b6121b;
  border: 0;
  text-transform: uppercase;
  padding: 0.5em 0.8em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
time {
  display: block;
  text-transform: uppercase;
  color: #656565;
  padding: 0.3em 0;
}

.widget_search label {
  display: none;
}
.widget_search input[type='text'] {
  width: 100%;
  margin: 0 0 1em;
  font-size: 11px;
  padding: 4px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.widget_search input[type='submit'] {
  margin-bottom: 1em;
}

.pagination {
  border-top: 1px solid #6d6c6c;
  margin-top: 20px;
  padding-top: 25px;
}

/* CONSTANT CONTACT SIGNUP */
aside .constant-contact-signup label {
  display: none;
}
#cc_email {
  width: 100%;
  margin: 1em 0;
  font-size: 11px;
  padding: 4px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
aside .constant-contact-signup input[type='submit'] {
  margin-bottom: 1em;
}

.content h2 {
  text-align: left;
}
.content > ol > li {
  border-top: 1px solid #6d6c6c;
  padding-top: 2em;
  margin-top: 2em;
}
.content > ol > li:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.content article h2 a {
  color: #fff;
  text-decoration: none;
}
.alignleft {
  float: left;
  margin: 0 32px 14px 0;
}
.alignright {
  float: right;
  margin: 0 0 14px 32px;
}
#vfb-3,
.vfb-item-secret {
  display: none !important;
}

/* COMMENTS */
#comments h2 {
  margin-bottom: 0.5em;
}
#comments article {
  border-bottom: 1px solid #5e5e5e;
  margin-bottom: 1em;
}

#comments label {
  display: inline-block;
  width: 5em;
  color: #ccc;
}
#comments input[type='text'],
textarea {
  font-size: 12px;
  padding: 0.2em 0.5em;
  max-width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
textarea {
  width: 30em;
}
#comments ol img {
  float: left;
  height: 48px;
  width: auto;
  margin-right: 10px;
}
.content time a {
  text-decoration: none;
  color: #656565;
  font-size: 0.85em;
}
p.form-allowed-tags {
  display: none;
}

/* CONTACT */
form.visual-form-builder {
  margin: 0;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5em 1em;
  border-radius: 3px;
}
.visual-form-builder fieldset {
  background: none;
  border: 0;
  margin: 0;
}
.visual-form-builder .vfb-legend {
  margin: 0;
  padding: 0;
  border: 0;
}
.visual-form-builder .vfb-legend h3 {
  font-weight: 200;
  font-size: 2em;
}
.visual-form-builder ul {
  margin: 0 !important;
  width: 100%;
  max-width: 550px;
}
.visual-form-builder li {
  padding: 0.5em 0 !important;
}
.visual-form-builder label,
label.vfb-desc {
  color: #fff;
}
.visual-form-builder label.vfb-desc {
  font-weight: normal;
}
.visual-form-builder input[type='text'],
.visual-form-builder input[type='email'],
.visual-form-builder input[type='tel'] {
  padding: 0.2em 0.3em;
}
p#form_success {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1em;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
label.vfb-error {
  color: red;
}

/* ABOUT - OVERVIEW */
/*body.overview aside { min-height: 525px !important; }*/
/*body.overview .content { padding-bottom: 0; letter-spacing: -0.06px }*/

/* FOOTER */
footer {
  border-bottom: 0;
  text-align: right;
  text-transform: uppercase;
}
footer .social {
  float: right;
  padding-top: 0.65em;
}
.social img {
  width: 23px;
  height: 23px;
  border-radius: 2px;
  margin: 0 2px;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}
.social img:hover {
  opacity: 0.8;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}
footer p {
  padding: 1.1111em 0;
  font-size: 0.9em;
}
footer a[rel='publisher'] {
  color: #fff;
}

.content .social img {
  width: 36px;
  height: 36px;
  margin-right: 0.5em;
}

@media screen and (max-width: 988px) {
  .container,
  .mfp-content {
    max-width: 758px;
  }
  /*.content { width: 560px; }*/

  .content address {
    font-size: 1em;
  }
  .body.home h1 {
    font-size: 8vh;
    padding-top: 32vh;
  }
}

/* MOBILE */
@media screen and (max-width: 766px) {
  .page-title {
    font-size: 3em;
    line-height: 1.4;
    padding-left: 95px;
  }

  .body.sidebar .content {
    margin-left: 0;
  }

  .members {
    padding-top: 15px;
  }
  .members a {
    width: 25%;
  }

  .container,
  .mfp-content {
    max-width: 758px;
  }
  .content {
    width: 100%;
    padding: 1em;
  }
  aside {
    float: none;
    margin: 0;
    width: auto;
    min-height: 0 !important;
  }

  /* NAV */
  .logo {
    display: none;
  }
  header a.mobile.logo {
    display: block;
    float: left;
  }
  header a.mobile.logo img {
    width: 81px;
    height: auto;
  }
  button.nav {
    display: inline-block;
    background: #736b43;
    border: 0;
    color: #fff;
    text-transform: uppercase;
    padding: 6px 12px;
    margin: 8px;
    font-size: 15px;
    -webkit-transition: all 0.15s;
    -o-transition: all 0.15s;
    transition: all 0.15s;
  }
  button.nav:hover {
    color: #333;
    background: #fff;
  }
  header nav {
    display: none;
  }
  header nav li {
    display: block;
  }
  header nav li a {
    font-size: 1.2em;
    padding: 0.5em 0.75em;
    display: block;
  }

  .main-nav {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    background: gray;
    right: 0;
    top: 45px;
    width: 150px;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -o-transform: translateY(-15px);
    transform: translateY(-15px);
  }
  body.nav-open .main-nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px);
  }
  header li a:after {
    display: none;
    content: none;
  }

  /* HOME PAGE */
  body.home aside {
    display: none;
  }

  /* HOPE PAGE SLIDER */
  /*.hp-slider { top: 47px; bottom: 75px; }
	body.home .ms-slide { font-size: 15px; }
	body.home .ms-slide a { margin-top: 3em }*/
  /* .ms-slide .ms-parallax-layer:first-child .ms-layer { width: 240px !important; position: static !important } */

  /* WORK SLIDER */
  .ms-thumb-list {
    height: 75px !important;
  }
  .ms-thumb-frame,
  img.ms-thumb {
    width: 90px !important;
    height: 51px !important;
  }
  .ms-thumb-frame {
    margin-right: 14px !important;
  }
  .ms-thumblist-bwd,
  .ms-thumblist-fwd {
    background-color: rgba(52, 52, 53, 0.3);
  }
  .ms-thumblist-bwd {
    background-position: -96px -91px;
  }
  .ms-thumblist-fwd {
    background-position: -93px -14px;
  }
  .ms-skin-black-2.round-skin .ms-nav-prev,
  .ms-skin-black-2.round-skin .ms-nav-next {
    background-color: rgba(51, 51, 51, 0.3); /*display: none;*/
  }
  .content .ms-skin-black-2 .ms-nav-prev {
    left: 5px;
  }
  .content .ms-skin-black-2 .ms-nav-next {
    right: 5px;
  }

  .ms-slide-layers {
    text-align: right;
  }
  .ms-slide .ms-layer {
    position: static !important;
    margin: 20px 20px 0 auto;
    padding: 6px 14px !important;
    font-size: 14px !important;
  }
  .ms-slide .ms-layer h2 {
    font-size: 1.8em;
    text-align: right;
  }
  .ms-slide .ms-layer:not(.msp-preset-1) {
    width: 180px !important;
  }
  body.home .ms-slide .ms-layer.msp-preset-1 {
    display: inline-block;
    padding: 6px 14px !important;
  }
  body.home .ms-slide .ms-layer.msp-preset-1 a {
    font-size: 20px;
  }

  a.back {
    display: none;
  }

  /* CONTENT */
  aside .logo {
    display: none;
  }
  aside h2 {
    margin: 0.2em 0.1em 0.4em;
    text-align: right;
  }
  aside li a {
    text-align: right;
  }
  .content img.size-medium {
    max-width: 40%;
    height: auto;
  }
  .alignright {
    margin: 0 0 9px 22px;
  }
  .alignleft {
    margin: 0 22px 9px 0;
  }

  .content h2 {
    font-size: 1.8em;
  }
  .content img {
    max-width: 100%;
    height: auto;
  }

  .ms-slide,
  .ms-view {
    min-height: 300px !important;
  }

  .bio.container img {
    width: 30%;
  }
  .bio.container .bio.content {
    overflow: visible;
  }
  .bio.container .bio.content h1 {
    font-size: 1.4em;
  }
  .bio.container .bio.content h3 {
    font-size: 1.2em;
  }

  /* ABOUT OVERVIEW */
  body.overview aside {
    min-height: 0 !important;
  }
  body.overview img.alignright {
    width: 45% !important;
  }

  /* AFFILIATIONS */
  ul.affiliations li {
    width: 50%;
    height: 125px;
  }
  ul.affiliations li img {
    max-height: 100px;
  }

  /* CONTACT */
  form.visual-form-builder {
    margin: 0 -1em;
    border-radius: 0;
  }
  .visual-form-builder input[type='text'],
  .visual-form-builder input[type='email'],
  .visual-form-builder input[type='tel'] {
    min-width: 15em;
    max-width: 100%;
  }
  .visual-form-builder input,
  .visual-form-builder textarea {
    font-size: 16px !important;
  }

  /* COMMENTS */
  #comments input[type='text'],
  textarea {
    font-size: 16px;
  }

  /* FOOTER */
  footer {
    padding: 0 10px;
    text-align: center;
  }
  footer .social {
    float: none;
    text-align: center;
  }
}

@media screen and (max-width: 767px) {
  .body.property .content img:first-child {
    width: 100%;
    float: none;
    margin-bottom: 2em;
  }
}

@media screen and (max-width: 629px) {
  .body.property .info,
  .body.property .info .text,
  .property .btn {
    position: static;
    width: auto;
  }
  .body.property .info .text {
    padding-left: 0;
  }
  .property .btn {
    margin: 0 auto;
    max-width: 300px;
  }
  .properties {
    padding-left: 1em;
    padding-right: 1em;
  }
  .properties a {
    margin: 0 4px;
  }
  .properties .flickity-prev-next-button {
    width: 22px;
    height: 22px;
  }
  .properties .flickity-prev-next-button.previous {
    left: 2px;
  }
  .properties .flickity-prev-next-button.next {
    right: 2px;
  }
}

@media screen and (max-width: 519px) {
  /* CONTENT */
  .content {
    width: 100%;
  }
  .content ul.half {
    width: auto;
    margin-bottom: 0;
  }
  .content ul.second.half li:first-child {
    margin-top: 0;
  }

  .members {
    float: none;
    margin: 0 auto;
  }

  .frm_forms,
  .content address {
    width: auto;
    float: none;
  }

  .members a {
    width: 33%;
  }
}

@media screen and (max-width: 374px) {
  .members a {
    padding: 0 5px 10px;
  }
}

a:active,
a:visited,
a:focus {
  border: none;
  outline: none;
}
