@charset "UTF-8";
@font-face {
  font-family: "icomoon2";
  src: url("../fonts/icomoon2.eot?1l494p"), url("../fonts/icomoon2.eot?1l494p#iefix") format("embedded-opentype"), url("../fonts/icomoon2.ttf?1l494p") format("truetype"), url("../fonts/icomoon2.woff?1l494p") format("woff"), url("../fonts/icomoon2.svg?1l494p#icomoon2") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot?lda58w");
  src: url("../fonts/icomoon.eot?#iefixlda58w") format("embedded-opentype"), url("../fonts/icomoon.ttf?lda58w") format("truetype"), url("../fonts/icomoon.woff?lda58w") format("woff"), url("../fonts/icomoon.svg?lda58w#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}
/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   IMPREV CUSTOM STYLES BEGIN HERE
   ========================================================================== */
/* ------------------
        Variables
------------------  */
/* Recommended h3 size from Coldwell Banker, used as our base unit here. */
/**
 * Border box is better, especially for UIs, so literally sets everything
 * to border box sizing.
 */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  background: #252526;
}

body {
  font-family: "Barlow Semi Condensed", Arial, Helvetica, sans-serif;
  color: #333;
  font-size: 16px;
}

body.is-overlayed {
  overflow: hidden;
}

/**
 * More base settings that I find better for UIs.
 */
h1, h2, h3, h4, h5, h6, ol, ul, li, p {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 1.5em;
  line-height: 1;
}

/* ------------------
    Forms & Input
------------------  */
.input-text, .input-textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  border: none;
  background-color: rgba(255, 255, 255, 0.75);
  padding: 0.5em 0.6em;
  border-radius: 2px;
  vertical-align: middle;
  margin-top: 5px;
  margin-bottom: 5px;
  -webkit-box-shadow: none;
          box-shadow: none;
  font-size: 16px;
  color: #252526;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.input-textarea {
  margin-bottom: 10px;
}

.input-text:focus, .input-textarea:focus {
  background-color: rgb(255, 255, 255);
  outline: none;
}

@media only screen and (min-width: 768px) {
  .input-text {
    margin-bottom: 20px !important;
  }
  .input-textarea {
    margin-bottom: 20px !important;
  }
}
form .error {
  color: red;
}

form label.error {
  float: left;
  color: red;
}

::-webkit-input-placeholder {
  color: #888;
}

:-moz-placeholder { /* Firefox 18- */
  color: #888;
}

::-moz-placeholder { /* Firefox 19+ */
  color: #888;
}

:-ms-input-placeholder {
  color: #888;
}

/* ------------------
        Buttons
------------------  */
.button {
  -webkit-appearance: none;
  background: #BEAF87;
  border-radius: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: white;
  font-weight: normal;
  border: none;
  cursor: pointer;
  display: block;
  line-height: 3;
  margin: 0 auto;
  width: 200px;
  position: relative;
  text-align: center;
  text-decoration: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  white-space: normal;
  text-transform: uppercase;
  outline: none;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.button:hover {
  background: #d0c5a8;
  outline: none;
  color: white;
}

.button:focus {
  outline: none;
}

/**
 * Remove excess padding and border in Firefox 4+
 */
.button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Work around a Firefox/IE bug where the transparent `button` background
 * results in a loss of the default `button` focus styles.
 */
.button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

/**
 * UI states
 */
.button:hover,
.button:focus,
.button:active {
  text-decoration: none;
}

.button:disabled,
.button.is-disabled {
  cursor: default;
  opacity: 0.6;
}

.button .icon {
  position: absolute;
  left: 20px;
  top: 11px;
}

.button--facebook, .button--email, .button--twitter {
  color: #fff;
  border: 0;
  text-transform: none;
  background-color: #3b5998;
  margin-bottom: 20px;
}

.button--facebook {
  background-color: #3b5998;
  margin-bottom: 20px;
}

.button--twitter {
  background-color: #55acee;
}

.button--email {
  background-color: #666;
}

.button--facebook:hover {
  background-color: #3b5998;
  color: #fff;
}

.button--twitter:hover {
  background-color: #55acee;
  color: #fff;
}

.button--email:hover {
  background-color: #666;
  color: #fff;
}

/* ------------------
        Icons
------------------  */
[class^=icon-], [class*=" icon-"] {
  font-family: "icomoon";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1.5;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: none;
  color: inherit;
}

.icon-email:before {
  content: "\e076";
  margin-right: 7px;
  font-size: 1em;
}

.icon-facebook:before {
  content: "\e093";
  margin-right: 7px;
  font-size: 1em;
}

.icon-twitter:before {
  content: "\e094";
  margin-right: 7px;
  font-size: 1em;
}

.icon-linkedin:before {
  content: "\e09d";
  margin-right: 7px;
  font-size: 1em;
}

.icon-website:before {
  content: "\e0e3";
  margin-right: 7px;
  font-size: 1em;
}

[class^=icon2-], [class*=" icon2-"] {
  font-family: "icomoon2";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1.5;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: none;
  color: inherit;
}

.icon2-x:before {
  content: "\e900";
  margin-right: 7px;
  font-size: 1em;
}

/* ------------------
       Main
------------------  */
.wrapper {
  overflow: hidden;
}

.content {
  -webkit-transition: -webkit-filter 0.1s, -webkit-transform 0.1s;
  transition: -webkit-filter 0.1s, -webkit-transform 0.1s;
  transition: filter 0.1s, transform 0.1s;
  transition: filter 0.1s, transform 0.1s, -webkit-filter 0.1s, -webkit-transform 0.1s;
}

body.is-overlayed .content {
  filter: blur(10px);
  -webkit-filter: blur(10px);
}

.container {
  position: relative;
}

.container--main {
  color: #fff;
  background-color: #fff;
}

.container--profile {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #ffffff;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  border-top: 4px #beaf87 solid;
}

@media only screen and (min-width: 1000px) {
  .container--profile {
    height: 25vh;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
  }
}
.header {
  position: absolute;
  z-index: 500;
  width: 100%;
  height: 100px;
  padding: 20px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-size: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.4)), to(rgba(0, 0, 0, 0)));
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
  pointer-events: none;
}

@media only screen and (min-width: 600px) {
  .header {
    font-size: 16px;
  }
}
.header__title {
  width: 100%;
  text-transform: uppercase;
  font-size: 2.1875em;
  font-family: "Barlow Semi Condensed", Arial, Helvetica, sans-serif;
}

.header__subtitle {
  font-size: 1.25em;
  text-transform: uppercase;
  font-weight: 300;
}

.header__menu {
  display: none;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  pointer-events: auto;
}

.header__menu ul, .header__menu ol, .header__menu li {
  list-style: none;
}

.header__menu a {
  color: #fff;
  text-decoration: none;
  margin-left: 40px;
  display: block;
}

@media only screen and (min-width: 850px) {
  .header__menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}
.grid-icon {
  width: 25px;
}

.grid-slide-icon {
  width: 25px;
  height: 25px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-line-pack: justify;
      align-content: space-between;
}

.grid-slide-icon span {
  display: block;
  width: 10px;
  height: 10px;
  background-color: #fff;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
}

.grid-slide-icon.is-switched {
  -ms-flex-line-pack: start;
      align-content: flex-start;
}

.grid-slide-icon.is-switched span:nth-child(1) {
  width: 15px;
}

.grid-slide-icon.is-switched span:nth-child(4) {
  width: 15px;
}

/* ------------------
       Photos Section - Controls slideshow and gallery
------------------  */
.photos {
  position: relative;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  -webkit-transition-duration: 0.6s;
          transition-duration: 0.6s;
  -webkit-transition-timing-function: cubic-bezier(0.27, 1.58, 0.52, 0.92);
          transition-timing-function: cubic-bezier(0.27, 1.58, 0.52, 0.92);
  height: 75vw;
}

.photos_nophotos {
  height: 75vh;
  background: url("../img/no-photos.jpg");
  background-size: cover;
  background-position: 50% 50%;
}

.photos.is-switched {
  -webkit-transform: translate3d(0, -75vw, 0);
          transform: translate3d(0, -75vw, 0);
  height: auto;
  margin-bottom: -75vw;
}

@media only screen and (orientation: landscape) {
  .photos {
    height: 90vh;
  }
  .photos.is-switched {
    -webkit-transform: translate3d(0, -90vh, 0);
            transform: translate3d(0, -90vh, 0);
    height: auto;
    margin-bottom: -90vh;
  }
}
/* ------------------
       Slideshow
------------------  */
.slideshow {
  position: relative;
  z-index: 100;
  height: 100%;
  margin-bottom: -1px; /* This is to account for what I
believe is an occasional rounding descrepency between the
individual slides and the wrapper which creates a 1 pixel
gap on some slides. */
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.slideshow__slide img {
  width: 100%;
  height: 75vw;
  -o-object-fit: contain;
     object-fit: contain;
  font-family: "object-fit: contain;";
}

@media only screen and (orientation: landscape) {
  .slideshow__slide img {
    height: 90vh;
  }
}
.slideshow-prev, .slideshow-next, .gallery-prev, .gallery-next {
  position: absolute;
  z-index: 2000;
  top: 50%;
  left: 10px;
  cursor: pointer;
  color: #beaf87;
  background-color: rgba(255, 255, 255, 0.75);
  font-size: 25px;
  width: 50px;
  line-height: 50px;
  margin-top: -25px;
  text-align: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-transition: all 0.1s ease-in;
  transition: all 0.1s ease-in;
  border-radius: 25px;
  opacity: 0;
}

.gallery-prev, .gallery-next {
  position: fixed;
  display: none;
  opacity: 0;
}

@media only screen and (min-width: 850px) {
  .slideshow-prev, .slideshow-next, .gallery-prev, .gallery-next {
    opacity: 1;
  }
}
.slideshow-next, .gallery-next {
  right: 10px;
  left: auto;
}

.slideshow-prev:hover, .slideshow-next:hover, .gallery-prev:hover, .gallery-next:hover {
  color: #252526;
  background-color: rgb(255, 255, 255);
}

.gallery {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  display: block;
}

.gallery__content {
  width: 100%;
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-line-pack: center;
      align-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.gallery__content a {
  position: relative;
  display: block;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  width: 200px;
  height: 150px;
  max-width: 50%;
  cursor: pointer;
  border: 2px solid #fff;
}

@media only screen and (min-width: 400px) {
  .gallery__content a {
    height: 200px;
  }
}
.gallery__content img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  font-family: "object-fit: cover;";
}

.no-objectfit .gallery__content img {
  height: 100%;
  width: auto;
  left: 50%;
  top: 50%;
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.blur-back {
  position: absolute;
  top: 0;
  z-index: -2;
  -webkit-transition: opacity 1.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: opacity 1.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ------------------
       Stats
------------------  */
.stat-table {
  width: 100%;
  font-size: 14px;
  margin-bottom: 20px;
}

.stat-table tr {
  line-height: 30px;
}

@media only screen and (min-width: 520px) {
  .stat-table {
    font-size: 16px;
  }
  .stat-table tr {
    line-height: 40px;
  }
}
.stat-table tr:last-child {
  border-bottom: none;
}

.stat-table__name {
  color: #252526;
  text-align: left;
  font-family: "Barlow Semi Condensed", Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-weight: 500;
}

.stat-table__value {
  text-align: right;
  color: #252526;
  text-transform: uppercase;
  font-weight: 400;
}

/* ------------------
       Text/Description
------------------  */
/* ------------------
       Profile
------------------  */
.profiles {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  font-size: 14px;
  min-width: 100%;
}

@media only screen and (min-width: 600px) {
  .profiles {
    font-size: 17px;
  }
}
.profile {
  position: relative;
  color: #252526;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  line-height: 1.5;
}
.profile h2 {
  font-family: "Barlow Semi Condensed", Arial, Helvetica, sans-serif;
  font-size: 1.2em;
  font-weight: normal;
  color: #252526;
  line-height: 1.2;
  word-break: break-word;
  word-wrap: normal;
  text-transform: uppercase;
}
@media only screen and (min-width: 400px) {
  .profile h2 {
    word-break: normal;
  }
}
.profile p {
  font-size: 0.75em;
  margin: 0;
}

.profile:nth-child(2) {
  margin-top: 0;
}

.profile__avatar {
  width: 120px;
  min-width: 120px;
  height: auto;
  border: 2px solid #beaf87;
}

.profile__info {
  padding-left: 20px;
  padding-right: 20px;
}
.profile__info .agent-phone__type {
  color: #252526;
  font-weight: normal;
}

.profile__info > p {
  color: #252526;
  font-weight: normal;
}

@media only screen and (min-width: 600px) {
  .profile__info {
    padding-right: 40px;
  }
}
/* ------------------
       Brokerage
------------------  */
.brokerage {
  margin: 20px auto;
  text-align: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.brokerage__title {
  font-size: 1rem;
  font-weight: 500;
  font-family: "Barlow Semi Condensed", Arial, Helvetica, sans-serif;
}

.brokerage__address {
  font-size: 1rem;
  font-weight: 500;
  font-family: "Barlow Semi Condensed", Arial, Helvetica, sans-serif;
  padding-bottom: 25px;
}

.brokerage__title, .brokerage__address {
  color: #beaf87;
}

.brokerage__logo {
  display: block;
  max-width: 300px;
  height: auto;
  max-height: 320px;
  margin: 0 auto;
}

.brokerage__logo:first-child {
  margin-bottom: 20px;
}

.brokerage__logo:last-child {
  margin-bottom: 0;
}

.brokerage__logo-personal {
  max-width: 220px;
  margin: auto;
}

/* ------------------
       Footer
------------------  */
.footer {
  position: relative;
  text-align: center;
  font-size: 10px;
  background: #252526;
  color: #fff;
  padding-top: 20px;
  padding-bottom: 80px;
}

.footer__menu {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(245, 245, 245, 0.95);
  font-size: 14px;
  line-height: 66px;
  color: #222222;
  border-top: 0.5px solid #A6A6A6;
  padding-left: 20px;
  padding-right: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.footer__menu ul, .footer__menu ol, .footer__menu li {
  list-style: none;
}

.footer__menu a {
  color: inherit;
  text-decoration: none;
  display: block;
  text-transform: uppercase;
}

.footer__menu .grid-slide-icon span {
  background-color: #222222;
}

@media only screen and (min-width: 850px) {
  .footer {
    padding-bottom: 20px;
  }
  .footer__menu {
    display: none;
  }
}
.disclaimer, .copyright {
  padding: 0 20px;
}

.eho-logo {
  width: 25px;
  height: 24px;
  margin: 10px 5px 10px;
}

/* ------------------
       Contact Form
------------------  */
.modal-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  visibility: hidden;
  opacity: 0;
}

.modal-overlay:after {
  content: "×";
  position: fixed;
  z-index: 3000;
  top: 20px;
  right: 20px;
  color: #000;
  line-height: 25px;
  font-size: 40px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.modal-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 500px;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  padding: 20px;
  margin-top: 60px;
  padding-bottom: 80px;
  z-index: 1000;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  -webkit-transform: translateX(-50%) translateY(-50%) scale(0.7);
          transform: translateX(-50%) translateY(-50%) scale(0.7);
  visibility: hidden;
  opacity: 0;
  overflow-x: hidden;
  overflow-y: scroll;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translateX(-50%) translateY(-50%) scale(1);
          transform: translateX(-50%) translateY(-50%) scale(1);
}

.modal__header {
  color: #252526;
  text-align: center;
  font-size: 25px;
  font-weight: normal;
  font-family: "Barlow Semi Condensed", Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 40px;
}

.modal__text {
  color: #808285;
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
}

@media only screen and (min-width: 520px) {
  .modal {
    margin: 0;
    padding: 0;
    overflow-y: auto;
  }
}
@media only screen and (min-width: 768px) {
  .contact-form {
    font-size: 16px;
  }
}
.contact-form .alert {
  text-align: center;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
@media only screen and (max-width: 768px) {
  .palm-hide {
    display: none;
  }
}
.break-word {
  -ms-word-break: break-all;
  -ms-word-wrap: break-all;
  -webkit-word-break: break-word;
  -webkit-word-wrap: break-word;
  word-break: break-word;
  word-wrap: break-word;
  -ms-hyphens: auto;
      hyphens: auto;
}

/*
* Center Using Transforms
* Good for items of unknown width/height that must be vertically and horizontally centered.
* Removes item from page flow.
* http://css-tricks.com/centering-percentage-widthheight-elements/
*/
.center-transform {
  position: absolute; /* Parent must have position: relative */
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.hide-text {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

/*
 * Hide visually and from screen readers:
 */
.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}
@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster:
   http://www.sanbeiji.com/archives/953 */
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
@media only screen and (orientation: landscape) {
  .photos {
    height: 75vh;
  }
  .slideshow {
    margin-bottom: 0;
  }
}
@media only screen and (min-width: 850px) {
  .slideshow__slide img {
    height: 75vh;
  }
  .photos.is-switched {
    -webkit-transform: translate3d(0, -75vh, 0);
            transform: translate3d(0, -75vh, 0);
    height: auto;
    margin-bottom: -75vh;
  }
  .profile h2 {
    font-size: 1.75em;
  }
  .profile p {
    font-size: 0.55em;
    margin: 0;
  }
}
@media only screen and (min-width: 1000px) {
  .photos {
    height: 75vh;
  }
  .profiles {
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    margin: 40px 20px;
    min-width: 60%;
  }
  .profile {
    min-width: 45%;
  }
  .profile__avatar {
    width: 12vh;
    min-width: 12vh;
  }
  .profile h2 {
    font-size: 1.2em;
  }
  .profile p {
    font-size: 0.72em;
    margin: 0;
  }
  .brokerage {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-line-pack: center;
        align-content: center;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    max-width: 40%;
    margin: 40px 20px 40px 0;
  }
  .brokerage__logo {
    width: auto;
    max-width: 72%;
    max-height: 15vh;
    margin-left: 2%;
    margin-bottom: 0;
  }
  .brokerage__logo:first-child {
    margin-left: 0;
    margin-bottom: 0;
  }
  .brokerage__logo:last-child {
    margin-right: 0;
  }
  .brokerage__logo-personal {
    max-width: 40%;
  }
  .brokerage__logo-personal {
    margin: 0;
  }
}