.flash-message {
  position: absolute;
  max-width: 380px;
  max-height: 10em;
  margin: auto;
  top: 5em;
  right: 0;
  left: 0;
  text-align: center;
  visibility: visible;
  z-index: 20;
  text-align: center;
  border-radius: 4px;
  background-color: #ffe09e;
  animation: scaleIn 0.7s;
  box-shadow: -1px 2px 9px 0px #a7afb8;
}
.flash-message p {
  margin: 0;
}
.flash-message__wrapper {
  margin: 10px 25px 10px 10px;
}
.flash-message__close {
  font-size: 1.5em;
  color: #535c65;
  position: absolute !important;
  top: 0;
  right: 0;
  background-color: transparent;
  width: 32px;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: none;
}
.flash-message--hidden {
  visibility: hidden;
}
.flash-message--sticky {
  top: 1em !important;
  position: fixed;
}
.flash-message--urgency {
  background-color: #ff9;
  font-size: 16px;
  position: fixed;
  top: auto;
  bottom: 1em;
  right: 1em;
  left: auto;
  overflow: hidden;
}
.flash-message--urgency.flash-message--sticky {
  top: auto !important;
}
@media only screen and (min-width: 320px) and (max-width: 759px) {
  .flash-message--urgency {
    bottom: 5em;
    right: 0;
    left: 0;
  }
}
.flash-message--urgency {
  max-height: 100px;
  animation: messageSlidesUp 1s;
}
.flash-message--urgency.flash-message--hidden {
  visibility: visible;
  max-height: 0;
  animation: messageSlidesDown 1s;
}
@keyframes messageSlidesUp {
  0% {
    max-height: 0;
  }
  25% {
    max-height: 0;
  }
  100% {
    max-height: 100px;
  }
}
@keyframes messageSlidesDown {
  0% {
    max-height: 100px;
  }
  100% {
    max-height: 0;
  }
}
@media only screen and (min-width: 320px) and (max-width: 759px) {
  .flash-message {
    max-width: 300px;
  }
}

.wp-agent-card {
  padding: 35px 15px;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
  width: 27%;
  min-width: 300px;
  max-width: 350px;
}
@media only screen and (min-width: 320px) and (max-width: 1024px) {
  .wp-agent-card {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}
.wp-agent-card {
  margin: 0 3% 40px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  line-height: 1.42857143;
}
.wp-agent-card:hover {
  box-shadow: 0 70px 70px rgba(0, 0, 0, 0.2);
}
.wp-agent-card__picture {
  display: block;
  height: 250px;
  width: 250px;
  margin: 0 auto 50px;
  overflow: hidden;
  background-position: center center;
  background-size: cover;
  border-radius: 50%;
}
.wp-agent-card__title {
  font-weight: 400;
  font-size: 18px;
  margin: 10px 0;
  padding: 0 0 10px 0;
  color: #231f20;
  line-height: 1.1;
}
.wp-agent-card__title--sub {
  line-height: 32px;
}
.wp-agent-card__highlighted-text, .wp-agent-card__highlighted-text:hover, .wp-agent-card__highlighted-text:active, .wp-agent-card__highlighted-text:visited, .wp-agent-card__highlighted-text:focus {
  color: #5b8b8b;
}
.wp-agent-card__link, .wp-agent-card__link:hover, .wp-agent-card__link:active, .wp-agent-card__link:visited, .wp-agent-card__link:focus {
  text-decoration: none;
}
.wp-agent-card__contacts {
  font-size: 15px;
  padding-bottom: 10px;
  min-height: 80px;
}
.wp-agent-card__contacts-item {
  margin-bottom: 10px;
}
.wp-agent-card__contacts-item--thin {
  font-weight: 300;
}
.wp-agent-card__contacts-item--uppercase {
  text-transform: uppercase;
}
.wp-agent-card__bio-link {
  font-weight: 500;
  font-size: 16px;
  padding-top: 10px;
}

.agent-details__info-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  margin: 0;
  color: #231f20;
  text-transform: none;
  padding-bottom: 0;
}
.agent-details__info-sub-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  margin: 0;
  padding: 0;
  color: #9b9b9b;
}
.agent-details__info-header {
  margin-bottom: 23px;
}
.agent-details__info-bio-wrapper p {
  font-size: 14px;
  line-height: 22px;
  margin: 0 0 35px;
  color: #231f20;
  padding-bottom: 0;
}
.agent-details__info-bio-wrapper a[data-background-image=true] {
  max-width: 100% !important;
  background-size: contain !important;
}
.agent-details__info-link, .agent-details__info-link:hover, .agent-details__info-link:focus, .agent-details__info-link:visited {
  color: #5b8b8b;
  text-decoration: none;
}
.agent-details__info-link {
  font-size: 14px;
  line-height: 20px;
  margin: 7px 0 0;
}
.agent-details__info-link-label, .agent-details__info-link-label:hover, .agent-details__info-link-label:focus, .agent-details__info-link-label:visited {
  color: #231f20;
}
.agent-details__info-link-label {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 20px;
}
.agent-details__info-social-links-list {
  margin-bottom: 20px;
}
.agent-details__info-social-link, .agent-details__info-social-link:hover, .agent-details__info-social-link:focus, .agent-details__info-social-link:visited {
  color: #235C84;
}
.agent-details__info-social-link {
  background: #fff;
  font-size: 20px;
  line-height: 1;
  margin: 10px 0 0;
  display: inline-block;
  width: 30px;
}
.agent-details__info-social-link--first {
  margin-left: 0;
}

.agent-details__form {
  position: sticky;
  top: 25px;
}
.agent-details__form-title {
  color: #231f20 !important;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 15px;
  font-weight: 700;
  text-transform: uppercase;
  padding-bottom: 0;
}
@media only screen and (min-width: 320px) and (max-width: 759px) {
  .agent-details__form-title {
    text-align: left;
  }
}
.agent-details__form-field {
  margin-bottom: 10px;
}
.agent-details__form-input, .agent-details__form-input[type=text], .agent-details__form-input[type=email], .agent-details__form-input[type=tel] {
  color: #231f20;
  font-weight: 300;
  display: block;
  outline: 0;
  width: 100%;
  height: 40px;
  padding: 6px 15px;
  font-size: 14px;
  line-height: 1.4;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc !important;
  border-radius: 4px;
}
.agent-details__form-input:focus, .agent-details__form-input[type=text]:focus, .agent-details__form-input[type=email]:focus, .agent-details__form-input[type=tel]:focus {
  border-color: #2d3940 !important;
}
.agent-details__form-input--error, .agent-details__form-input--error[type=text], .agent-details__form-input--error[type=email], .agent-details__form-input--error[type=tel] {
  border-color: #d62a3d !important;
}
.agent-details__form-input::placeholder {
  color: #333;
}
.agent-details__form-textarea {
  height: 90px;
  font-weight: 300;
  display: block;
  width: 100%;
  outline: 0;
  padding: 6px 15px;
  font-size: 14px;
  line-height: 1.4;
  color: #231f20;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #ccc !important;
  resize: none;
}
.agent-details__form-textarea:focus {
  border-color: #2d3940 !important;
}
.agent-details__form-textarea--error {
  border-color: #d62a3d !important;
}
.agent-details__form-textarea::placeholder {
  color: #333;
}
.agent-details__form-submit {
  color: #fff;
  background-color: #d82738 !important;
  font-size: 14px;
  padding: 11px 15px;
  width: 100%;
  border: none;
  border-radius: 4px;
  line-height: 1.4;
  margin-bottom: 30px;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 2px #d82738 !important;
  transition: all 0.4s ease;
}
.agent-details__form-submit:hover {
  color: #d82738 !important;
  background-color: #fff !important;
}
.agent-details__form-submit--disabled:hover {
  color: #fff !important;
  background-color: #d82738 !important;
}
.agent-details__form-error {
  color: #d62a3d;
  padding: 0;
  text-align: left;
  margin: 0 0 -8px;
  font-size: 14px;
}

.agent-details .reviews-section {
  margin-top: 20px;
}
.agent-details .reviews-section__heading {
  font-weight: 600;
  font-size: 18px;
  margin: 15px 0 15px;
  padding: 0;
  color: #231f20;
}
.agent-details .reviews-disclaimer {
  margin-top: 15px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
@media only screen and (min-width: 320px) and (max-width: 759px) {
  .agent-details .reviews-disclaimer {
    display: block;
  }
}
.agent-details .reviews-disclaimer__icon-wrapper-wrapper {
  width: 100px;
  min-width: 100px;
}
@media only screen and (min-width: 320px) and (max-width: 759px) {
  .agent-details .reviews-disclaimer__icon-wrapper-wrapper {
    width: unset;
    min-width: unset;
  }
}
.agent-details .reviews-disclaimer__icon-wrapper {
  text-align: center;
  width: 100px;
  min-width: 100px;
}
@media only screen and (min-width: 320px) and (max-width: 759px) {
  .agent-details .reviews-disclaimer__icon-wrapper {
    width: unset;
    min-width: unset;
  }
}
.agent-details .reviews-disclaimer__icon {
  margin: 25px 0;
  width: 35px;
  display: inline;
  vertical-align: middle;
}
@media only screen and (min-width: 320px) and (max-width: 759px) {
  .agent-details .reviews-disclaimer__icon {
    margin: 10px;
    float: left;
  }
}
.agent-details .reviews-disclaimer__text {
  margin: 0;
}
.agent-details .reviews-list {
  margin-top: 20px;
}
.agent-details .reviews-list__all-items-toggle {
  cursor: pointer;
  color: #3c8dbc;
  font-size: 16px;
  margin: 15px 0;
  text-align: center;
  width: 100%;
}
.agent-details .reviews-list__all-items-toggle:hover {
  text-decoration: underline;
}
.agent-details .reviews-list-item {
  display: flex;
  flex-wrap: nowrap;
  margin-top: 37px;
  overflow: auto;
}
.agent-details .reviews-list-item:first-of-type {
  margin-top: 0;
}
@media only screen and (min-width: 320px) and (max-width: 759px) {
  .agent-details .reviews-list-item:last-of-type {
    margin-bottom: 37px;
  }
}
.agent-details .reviews-list-item__left {
  width: 150px;
  min-width: 150px;
}
@media only screen and (min-width: 320px) and (max-width: 759px) {
  .agent-details .reviews-list-item__left {
    width: 110px;
    min-width: 110px;
  }
}
.agent-details .reviews-list-item__img-wrapper {
  overflow: hidden;
  border-radius: 8px;
  max-height: 120px;
  max-width: 120px;
}
@media only screen and (min-width: 320px) and (max-width: 759px) {
  .agent-details .reviews-list-item__img-wrapper {
    max-height: 90px;
    max-width: 90px;
  }
}
.agent-details .reviews-list-item__img-wrapper--default {
  background-color: #E5E5E5;
}
.agent-details .reviews-list-item__img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  position: relative;
}
.agent-details .reviews-list-item__right {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.agent-details .reviews-list-item__body {
  margin: 8px 0 0 0;
  padding: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.agent-details .reviews-list-item__body-toggle {
  cursor: pointer;
  color: #3c8dbc;
  margin-left: 5px;
}
.agent-details .reviews-list-item__body-toggle:hover {
  text-decoration: underline;
}
.agent-details .reviews-list-item__deal-info {
  margin: 8px 0 0 0;
  white-space: pre-wrap;
}
.agent-details .reviews-list-item .star-rating-row {
  display: flex;
}
@media screen and (max-width: 400px) {
  .agent-details .reviews-list-item .star-rating-row {
    flex-direction: column;
  }
}
.agent-details .reviews-list-item .star-rating-wrapper {
  height: 14px;
}
.agent-details .reviews-list-item .verified-label {
  display: flex;
  height: 16px;
  color: #73738f;
  margin-left: 11px;
}
@media screen and (max-width: 400px) {
  .agent-details .reviews-list-item .verified-label {
    margin-left: 0;
    margin-top: 5px;
  }
}
.agent-details .reviews-list-item .verified-label__icon {
  margin-right: 3px;
  height: 100%;
}

.agent-details {
  width: 100%;
  position: relative;
  background-color: #fff;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.42857;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@media only screen and (min-width: 320px) and (max-width: 759px) {
  .agent-details__wrapper {
    padding: 0 !important;
  }
}
@media only screen and (min-width: 320px) and (max-width: 759px) {
  .agent-details__header {
    padding: 26px 44px !important;
  }
}
.agent-details__title-wrapper {
  text-align: center;
  width: 100%;
  margin: 0;
  padding: 0;
}
.agent-details__title {
  text-transform: uppercase;
  color: #323443;
  font-size: 40px;
  line-height: 0.8;
  display: inline-block;
  padding: 0;
  margin: 0;
  position: relative;
}
@media only screen and (min-width: 320px) and (max-width: 759px) {
  .agent-details__title {
    line-height: 1.2;
    font-size: 30px;
  }
}
.agent-details__content {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  padding: 40px;
  width: 100%;
  margin: 0;
  justify-content: space-around;
}
@media only screen and (min-width: 320px) and (max-width: 759px) {
  .agent-details__content {
    padding: 20px;
  }
}
.agent-details__content--large .agent-details__content-column--info {
  min-width: 600px;
  max-width: unset;
}
@media only screen and (max-width: 660px) {
  .agent-details__content--large .agent-details__content-column--info {
    min-width: 100%;
  }
}
.agent-details__content-column {
  padding: 0 15px;
}
.agent-details__content-column--picture {
  margin-bottom: 40px;
}
.agent-details__content-column--info {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
  text-align: left;
  margin-bottom: 40px;
}
.agent-details__content-column--form {
  width: 350px;
}
@media only screen and (min-width: 320px) and (max-width: 759px) {
  .agent-details__content-column--form {
    width: 100%;
  }
}
.agent-details__picture {
  height: auto;
  display: block;
  width: 100%;
  position: sticky;
  top: 25px;
}
.agent-details .pointer {
  cursor: pointer;
}

.wp-agents {
  width: 100%;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}
