* { box-sizing: border-box; }
body {
  margin: 0;
  height: 100%;
  font-family: "Arimo", "Roboto" , Helvetica, Arial, sans-serif;
  color: #333333;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

html {
  height: 100%;
}

#root {
  height: 100%;
}

*, :after, :before {
  box-sizing: border-box;
}

#container {
  position: relative;
  width: 100%;
  height: 100%;
}

#header {
  background-color: hsla(0,0%,100%,.95);
  box-shadow: 0 2px 4px 0 rgba(73,73,73,.1);
  height: 60px;
  position: fixed;
  top: 0;
  z-index: 10000;
  width: 100%;
  box-sizing: border-box;
  padding: 9px 9px 9px 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

#header .title {
  font-weight: bold;
  font-size: 1.5em;
  color: #b6d53b;
}


.filter-row {
  padding: 15px 0;
  border-bottom: 1px solid #e7e7e7;
  display: flex;
  align-items: baseline;
}

.listings-row {
  margin-bottom: 15px;
  border: 1px solid #e6e6e6;
  background: #fff;
  cursor: pointer;
  border-radius: 3px;
  border-radius: 3px;
}

#left {
  height: 100%;
}

#map {
  height: 100%;
}

.right-content {
  /*overflow-y: auto;*/
  overflow-y: scroll; /* has to be scroll, not auto */
  -webkit-overflow-scrolling: touch;
  height: 100%;
  padding: 10px 10px 0;
}

#right {
  box-sizing: border-box;
  width: 572px;
  padding-top: 60px;
  float: right;
  height: 100%;
  border: 1px solid #e6e6e6;
  background: rgba(252,252,253,.9);

}

.filters {
  position: relative;
  margin: 0;
  padding: 10px 25px 0;
  border: 1px solid #e6e6e6;
  background: #fff;
  border-radius: 3px;
  font-size: 13px;
}

.filters-btn-toggle {
  margin-top: 90px;
  display: none;
}

.filters-close-button {
  display: none;
}

.left-hidden-shown {
  display: block;
}

.right-hidden-shown {
  display: block;
}

.hamburger-menu {
  display: none;
}

.view-types {
  display: none;
  margin-left: 10px;
}

.where-to {
  max-width: 352px;
  height: 40px;
  margin-left: 30px;
  padding-left: 50px;
  border: 1px solid #e6e6e6;
  background: #fff;
  /*background-image: url(/static/images/search.svg);*/
  background-image: url(https://d214hhm15p4t1d.cloudfront.net/7_4_2/p/img/icons/search.svg);
  background-repeat: no-repeat;
  background-position: 10px;
  background-size: 20px;
  color: #2d3138;
  font-size: 16px;
  letter-spacing: .3px;
  --webkit-flex: 4 4;
  border-radius: 3px;
  align-self: center;
  width: 100%;
}


.pac-container {
  z-index: 10000051 !important;
}

.view-types a {
  border: 1px solid #b6d53b;
  background: #fff;
  color: #b6d53b;
  font-size: 18px;
  letter-spacing: .4px;
  width: 48px;
  height: 32px;
  padding: 0;
  padding-top: 5px;
  text-align: center;
}

.view-type-left {
  border-radius: 5px 0 0 5px;
}

.view-type-right.selected,
.view-type-left.selected {
  background-color: #b6d53b;
  color: #fff;
}

.view-type-right {
  border-radius: 0px 5px 5px 0;
  margin-left: -1px;
}


.filter-title {
  width: 40%;
  letter-spacing: 1px;
}

.filter-content {
  width: 100%;
}

.filter-content input {
  padding: 5px 8px;
  border: 1px solid #e2e2e6;
  width: 100px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  font-size: 14px;
  color: #212126;
  letter-spacing: .2px;
}

.filter-btn {
  display: inline-block;
  border: 1px solid #b6d53b;;
  padding: 8px 12px;
  cursor: pointer;
  margin: 0 6px 6px 0;
  color: #2d3138;
  font-size: 14px;
  letter-spacing: .4px;
  border-radius: 3px;
  user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  text-align: center;
  flex-grow: 1;
  text-overflow: ellipsis;
  overflow: hidden;
}

.value-between-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.property-type-btn {
  width: 171px;
  text-align: left;
}

.property-rooms-btn {
  width: 58px;
}

.filter-btn.selected {
  background-color: #b6d53b;
}

.filter-btn.selected:hover {
  background-color: #b6d53b;
}

.property-rooms-studio {
  width: 93px;
  flex-grow: 2;
}

.filter-row.no-border {
  border: 0;
}

.filter-btn.more-filters {
  /*float: right;*/
  width: 145px;
}

.filter-btn:hover {
  background-color: #FFFFEE;
}

.clear-both {
  clear: both;
}

.filter-property-rooms .filter-content,
.filter-property-types .filter-content {
  display: flex;
}

.filter-property-types .filter-content {
  flex-wrap: wrap;
  width: 50%;
}

.close-icon {
  position: absolute;
  right: 0;
  cursor: pointer;
  color: #c1c1c1;
}

.filters-close {
  position: relative;
  text-align: center;
  padding: 5px;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid #e6e6e6;
  display: none;
}

.listings-header {
  padding: 10px 0;
  position: relative;
  display: flex;
  align-items: center;
}

#listings-type {
  padding: 5px 20px 6px 10px;
  border: 1px solid #d8d8d8;
  -webkit-appearance: none;
  background: #fff;
  height: 32px;
  padding: 5px 20px 6px 10px;
  color: #2d3138;
  font-size: 13px;
  letter-spacing: .81px;
  border-radius: 3px;
  width: 101%;
}

.select-container {
  width: 100%;
}

.select-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}


.select-group:after {
  font-family: FontAwesome;
  content: '\F0D7';
  position: absolute;
  right: 6px;
}

.listings-count {
  right: 5px;
  color: #878698;
  font-size: 16px;
  letter-spacing: .5px;
  min-width: 150px;
  text-align: right;
}

.listings-no-results {
  text-align: center;
}

.property-list-item {
  padding: 0;
  border-bottom: 1px solid rgb(230, 230, 230);
  display: flex;
  background-color: #ffffff;
  height: 110px;
}

.pli-image {
  flex: 2 2;
}

.pli-image img {
  width: 100%;
  height: 100%;
}

.pli-details {
  position: relative;
  padding: 10px;
  display:  flex;
  flex-direction: column;
  flex: 3 3;
  letter-spacing: 1px;
}

.price {
  font-size: 21px;
  padding: 5px 0;
  border-bottom: 1px solid #f1f1f4;
}

.description {
  font-size: 14px;
  margin-top: 5px;
}

.address {
  overflow: hidden;
  font-size: 12px;
  height: 50px;
  margin-bottom: 20px;
}

.street {
  overflow: hidden;
  text-overflow: ellipsis;
  padding-top: 3px;
}

.location {
  overflow: hidden;
  text-overflow: ellipsis;
  padding-top: 3px;
}

.hours-ago {
  color: #b7b6c1;
  font-size: 13px;
  text-align: right;
  bottom: 10px;
  right: 20px;
  position: absolute;
}

@media (max-width: 400px) {
  .hours-ago {
    display: none;
  }
}

@media (min-width : 768px) {
  .pli-details {
    letter-spacing: 0;
  }

  .property-list-item {
    margin-bottom: 15px;
    border: 1px solid #e6e6e6;
    background: #fff;
    cursor: pointer;
    border-radius: 3px;
    height: inherit;
  }

  .property-list-item:hover {
    border: 1px solid rgb(182, 213, 59);
  }

  .price {
    font-size: 28px;
  }

  .description {
    font-size: 18px;
    margin-top: 15px;
  }

  .address {
    display: block;
    font-size: 15px;
    margin-top: 10px;
  }

  .street {
    margin-left: 0;
    padding-top: 15px;
  }

  .location {
    padding-top: 5px;
  }
}

.listings-filter {
  display: none;
}

.filter-bottom {
  display: none;
}

@media (max-width : 768px) {
  .address {
    margin-bottom: 0;
  }
  
  .hours-ago {
    display: none;
  }

  .filter-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 99%;
    height: 50px;
    display: flex;
    text-align: center;
    padding-left: 10px;
    padding-right: 0;
    align-items: baseline;
  }

  .filter-bottom .confirm {
    background-color: #b6d53b;
  }

  .listings-count {
    display: none;
  }

  .listings-filter {
    right: 5px;
    min-width: 150px;
    /*text-align: right;*/
    /*display: block;*/

    display: inline-block;
    border: 1px solid #b6d53b;
    padding: 8px 12px;
    cursor: pointer;
    margin: 0 6px 6px 0;
    color: #2d3138;
    font-size: 14px;
    letter-spacing: .4px;
    border-radius: 3px;
    user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    text-align: center;
    flex-grow: 1;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  #right {
    width: 100%;
    float: none;
  }

  .filters-btn-toggle {
    margin-top: 70px;
    margin-right: 10px;
    display: block;
    min-width: 35px;
    padding: 5px 10px;
    border: 1px solid #d8d8d8;
    background: hsla(0,0%,100%,.9);
    color: #878698;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
  }

  .filters-btn-toggle button {
    font-size: 1.2em;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    border: 0;
    background: #fff;

  }

  .filters-close-button {
    display: block;
  }

  .right-shown {
    display: block;
  }

  .right-base {
    display: none;
  }


  .left-absolute { 
    position:absolute;
  }

  .left-base {
    display: block;
    position: static;
  }

  #header .title {
    display: none;
  }

  .hamburger-menu {
    display: inline-block;
  }

  .where-to {
    max-width: none;
    margin-left: 10px;
    font-size: 14px;
    height: 32px;
    padding-left: 35px;
  }

  .where-to:focus {
    width: 85%;
  }

  .view-types {
    display: flex;
  }

  .filter-row {
    display: block;
    padding: 5px 0;
    border: 0;
  }

  .filter-title {
    width: 100%;
    padding-bottom: 15px;
  }

  .property-type-btn {
    width: 33.3%;
  }

  .property-rooms-btn {
    width: 15%;
  }

  .property-rooms-studio-btn {
    width: 40%;
  }

  .filters {
    border: none;
    padding: 0 15px;
    height: 100%;
  }

  .filters-close {
    display: block;
    padding: 10px 0;
  }

  .right-content {
    padding: 0;
  }

  .filter-property-types .filter-content {
    width: 100%;
  }

  .value-between-box {
    justify-content: space-around;
  }

  .map-list-view {
    width: 100%;
    border: 1px solid red;
    /*overflow-y: auto;*/
    overflow-y: scroll; /* has to be scroll, not auto */

      -webkit-overflow-scrolling: touch;

    height: 100%;
    padding-top: 60px;
  }

  .right-content .listings {
    display: none;
  }

}

/*
 * Listing details
 */

.ld-container {
  margin: 10px;
}

.ld-header {
  display: flex;
  background: hsla(0,0%,100%,.9);
  padding-top: 10px;
  padding-bottom: 10px;
  position: fixed;
  top: 60px;
  z-index: 100;
  width: 100%;
}

.ld-header .back-to-results {
  width: 100%;
}

.back-to-results-btn {
  width: 215px;
  padding: 5.5px 10px;
  border: 1px solid #e6e6e6;
  font-size: 16px;
  letter-spacing: .26px;
  border-radius: 3px;
  background: #fff;
  color: #51bc6a;
  cursor: pointer;
}

.hide-btn {

}

.back-to-results-btn span {
  padding-left: 5px;
}

.ld-header .hide-listing {
  max-width: 100px;
  text-align: right;
}

.ld-details {
  border: 1px solid #e6e6e6;
  padding: 0 10px;
  margin-top: 45px;
}

.image-dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
}

.image-dot {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;

  background-color: transparent;
  border: 1px solid #fff;
  box-shadow: 0 1px 0 #1a1a1a;
}

.image-dot.selected {
  background: #fff;
}

.ld-image-container {
  max-height: 335px;
  width: 500px;
  text-align: center;
  position: relative;
  user-select: none;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.ld-image-container .prev-button {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 50%;
  user-select: none;
}

.ld-image-container .next-button {
  position: absolute;
  top: 0px;
  right: 0px;
  height: 100%;
  width: 50%;
  user-select: none;
}

.ld-image-container .prev-button div,
.ld-image-container .next-button div {
  width: 50px;
  position: absolute;
  top: 40%;
}

.ld-image-container .next-button div {
  right: 0px;
}

.ld-image-container img {
  /*width: 100%;*/
  /*height: 100%;*/
  max-height: 335px;
  max-width: 500px;
}

.ld-price-address-box {
  padding-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.ld-price {
  font-size: 28px;
  border-right: 1px solid #e6e6e6;
  flex: 3 3;
}

.ld-address {
  flex: 5 5;
  padding-left: 15px;
  line-height: 1.5;
}

.ld-features {
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  padding: 15px 0;
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}

.ld-feature-box {
  flex: 1 1;
  text-align: center;
}

.ld-feature-box i {
  display: block;
  font-size: 32px;
}

.ld-description {
  line-height: 2;
  font-size: 14px;
  position: relative;
  max-height: 7em;
  overflow: hidden;
}

.ld-description.expanded {
  max-height: none;
}

.ld-description.expanded:after {
  background: none;
}

.ld-description:after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 100%;
  content: '';
  pointer-events: none;
  background-image: #fff;
  background-image: -webkit-gradient(bottom,from(#fff),to(hsla(0,0%,100%,0)));
  background-image: -webkit-linear-gradient(bottom,#fff,hsla(0,0%,100%,0));

  background-image: -moz-gradient(bottom,from(#fff),to(hsla(0,0%,100%,0)));
  background-image: -moz-linear-gradient(bottom,#fff,hsla(0,0%,100%,0));
}

.ld-check-availability {
  text-align: center;
  margin: 0 25px;
  padding: 15px 0;
}

.ld-check-availability button,
.contact-form button {
  font-size: 18px;
  padding: 15px 0;
  background-color: #51bc6a;
  color: #ffffff;
  border-radius: 3px;
  width: 242px;
  letter-spacing: 0.4px;
  border: 1px solid  #51bc6a;
  cursor: pointer;
}

.ld-read-more {
  text-align: center;
  padding: 20px;
}

.ld-read-more a {
  text-decoration: none;
  color: green;
}


@media (max-width: 768px) {
  .ld-image-container,
  .ld-image-container img {
    width: 100%;
    height: 100%;
  }

  .ld-price {
    font-size: 18px;
    min-width: 110px;
  }

  .ld-address {

  }
}

.fa-refresh-custom {
  font-size: 1.5em;
  cursor: pointer;
  color: #b6d53b;
  padding: 5px;
}

.hide {
  display: none;
}

h4 {
  margin: 25px 0;
  color: #2d3138;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .33px;
}

h5 {
  margin: 20px 0;
  color: #2d3138;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: .26px;
}

.fa-frown-o-custom {
  font-size: 4em;
  color: #2d3138;
}




@media (min-width : 768px) {
  .modal > div {
    width: 460px;
    position: relative;
    margin: 5% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: #fff;
  }
}

.modal {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99999;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    /*pointer-events: none;*/
    pointer-events: auto;
}

.modal h3 {
  color: #575a60;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .3px;
}

.close {
  color: #575a60;
  line-height: 25px;
  position: absolute;
  right: 5px;
  top: 5px;
  text-align: center;
  width: 24px;
  text-decoration: none;
  font-size: 1.2em;
}

.contact-form input, textarea {
  padding: 10px;
  border: 1px solid #e2e2e6;
  width: 420px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  font-size: 14px;
  color: #212126;
  letter-spacing: .2px;
}

.contact-form-email-phone input {
}

.contact-form-email-phone input:first-child {
  margin-right: 5px;
  width: 250px;
}

.contact-form-email-phone input:last-child {
  margin-left: 5px;
  width: 160px;
}

.contact-form-name,
.contact-form-message,
.contact-form-email-phone {
  margin-top: 15px;
  margin-bottom: 15px;
}

.contact-form-message textarea {
  height: 300px;
}

.contact-form-footer {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 15px;
}

.contact-form-alert input {
  width: 15px;
}

.contact-form-alert span {
  cursor: pointer;
}

@media (max-width: 768px) {
  .modal h3 {
    text-align: center;
  }

  .modal > div {
    position: relative;
    margin: 0;
    padding: 5px 20px 13px 20px;
    border-radius: 0;
    background: #fff;
    height: 100%;
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
  }

  .contact-form-email-phone input:first-child {
    width: 100%;
    margin: 0px;
  }

  .contact-form-email-phone input:last-child {
    margin: 0;
    width: 100%;
  }

  .contact-form-email-phone input:last-child {
    width: 100%;
    margin-top: 15px;
    margin-left: 0px;
  }

  .contact-form-alert input {
    width: 20px
  }

  .contact-form-alert {
    text-align: center;
  }

  .contact-form-message textarea {
    height: 150px;
  }
  .image-dot {
    width: 7px;
    height: 7px;
    margin: 0 3px;
  }
}

.noselect {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
  supported by Chrome and Opera */
}

input.validation-failed {
  border: 2px solid red;
}
