@font-face {
  font-family: 'fontello';
  src: url('../../shared/font/fontello.eot?27526776');
  src: url('../../shared/font/fontello.eot?27526776#iefix') format('embedded-opentype'),
  url('../../shared/font/fontello.woff2?27526776') format('woff2'),
  url('../../shared/font/fontello.woff?27526776') format('woff'),
  url('../../shared/font/fontello.ttf?27526776') format('truetype'),
  url('../../shared/font/fontello.svg?27526776#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?27526776#fontello') format('svg');
  }
}
*/

[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-location:before {
  content: '\e800';
}

#search-form,
#xlocate-home-search-form {
  width: 100%;
  display: flex;
  flex-direction: row;
}

#xlocate-frontend-find-location,
#find-location {
  margin-top: 8px;
}

#xlocate-frontend-find-location:before,
#find-location:before {
  margin-left: -40px;
  height: 40px;
  width: 50px;
  font-family: "fontello";
  content: '\e800';
  background: rgba(18, 14, 19, 0);
  border: 0;
  -webkit-appearance: none;
  padding: 12px;
  color: #e60000;
  transform: translate(-50%, -50%);
}

#xlocate-frontend-find-location:before {
  margin-left: -40px;
  height: 40px;
  width: 50px;
  font-family: "fontello";
  content: '\e800';
  background: rgba(18, 14, 19, 0);
  border: 0;
  -webkit-appearance: none;
  padding: 12px;
  color: #e60000;
  transform: translate(-50%, -50%);
}

#xlocate-frontend-find-location:hover,
#find-location:hover {
  cursor: pointer;
}

#mobile-map-view-option {
  display: none;
}

@media only screen and (max-width: 768px) {
  #xlocate-listing-wrapper * {
    margin: 0px;
  }
  #search-form {
    width: 100%;
    display: inline;
  }

  #find-location:before {
    position: absolute;
    right: -27px;
    top: 22px;
  }

  #list-view {
    border-right: 2px solid #fff;
  }

  #mobile-map-view-option {
    display: block;
    width: 100%;
    background: #000;
    color: #fff;
    text-align: center;
    .map-view {
      float: left;
      width: 50%;
    }
    a {
      color: #fff;
    }
  }

  /* For mobile phones: */
  #xlocate-estate-listing, #map_wrapper {
    width: 100%;
  }

  #map_wrapper {
    display: none;
  }

  #search-form {
    input {
      width: 100%;
      margin-bottom: 5px;
    }
    select {
      width: 100%;
      margin-bottom: 5px;
    }

  }

}