/*
 * MOBILE FIRST, standard styles are for small mobile sizes up to 735px width.
 */
button,
input {
  margin: 0px;
  -webkit-box-sizing: border-box;
  /* For legacy WebKit based browsers */
  -moz-box-sizing: border-box;
  /* For legacy (Firefox <29) Gecko based browsers */
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #1A1A1A;
  height: 40px; }

/*
 * Top elements
 */
#map-wrapper {
  position: absolute;
  z-index: 0;
  top: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  direction: ltr; }
  body.map-visible #map-wrapper {
    display: block; }

#map {
  width: 100%;
  height: 100%; }

/*
 * Transitions of top elements
 */
#map {
  -webkit-transition: left 0.4s;
  -moz-transition: left 0.4s;
  -ms-transition: left 0.4s;
  -o-transition: left 0.4s;
  transition: left 0.4s;
  left: 100%;
  /* initial setup, hide the map */
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none; }

.search-control-ui {
  left: 0%;
  -webkit-transition: left 0.4s;
  -moz-transition: left 0.4s;
  -ms-transition: left 0.4s;
  -o-transition: left 0.4s;
  transition: left 0.4s; }

#map-wrapper.map-results-pushed #map {
  left: 0%;
  -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }

#map-wrapper.map-results-pushed .search-control-ui {
  left: -50%; }

/*
 * Navigation background
 */
.navigation-background {
  position: absolute;
  z-index: 999;
  top: 0px;
  width: 100%;
  background-color: white; }

/*
 * Search control user interface
 */
.search-control-ui {
  position: absolute;
  z-index: -1;
  top: 85px;
  bottom: 0px;
  width: 100%;
  background: #edd4d7;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; }

.search-control-ui input,
.search-control-ui p,
.search-control-ui h1,
.search-control-ui h2 {
  /*font-size: 1em;*/
  color: #1A1A1A;
  text-align: left; }

.search-control-ui input {
  margin-top: 0px;
  width: 100%;
  font-family: "Open Sans", -apple-system, Helvetica, Arial, sans-serif;
  font-size: 1em; }

.control-ui {
  height: 90%;
  padding: 30px 10px 5px 10px;
  background-color: #edd4d7; }

/*
 * Control header (form / input)
 */
.control-ui .control-header {
  text-align: left; }

.control-ui .control-header form {
  position: relative; }

.control-ui .control-header form fieldset {
  padding: 0px;
  margin: 0px;
  border: 0px; }

.control-ui .control-header form span.icon:after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 100%;
  position: absolute;
  right: 40px;
  background-image: url("../img/icon-current-location.svg");
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer; }
  @media only screen and (max-width: 735px) {
    .control-ui .control-header form span.icon:after {
      height: 40px;
      right: 0px; } }

.control-ui .control-header form span.icon.toggled:after {
  background-image: url("../img/icon-current-location-full.svg");
  cursor: default; }

.control-ui .control-header form input,
.control-ui .control-header form button {
  border: 1px solid #000; }

.control-ui .control-header form input {
  width: 100%;
  padding-left: 10px; }

.control-ui .control-header form button {
  vertical-align: top;
  display: none;
  background-color: #1A1A1A; }

/**
 * Result list
 */
.control-ui ul {
  list-style-type: none;
  padding-left: 0px;
  margin-bottom: 0px;
  direction: ltr; }

.control-ui li {
  position: relative;
  border-bottom: 1px solid #E6CACE; }

.control-ui li:last-child {
  border-bottom: 0px solid gray; }

.control-ui li:hover {
  cursor: pointer; }

p.result-text {
  font-family: "Open Sans", -apple-system, Helvetica, Arial, sans-serif;
  font-size: 14px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 80%; }

.result-title {
  font-family: TimesNewRoman, "Times New Roman", Times, sans-serif, Baskerville, Georgia;
  font-size: 14px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1.5px; }

.city {
  text-transform: capitalize; }

/* 
 * Distance and arrow 
 */
.control-results li .result-right-container {
  position: absolute;
  width: 80px;
  top: 0px;
  bottom: 0px;
  right: 0px; }

.result-distance {
  position: absolute;
  display: inline-block;
  width: 100%;
  padding-top: 10px;
  text-align: right;
  font-family: "Open Sans", -apple-system, Helvetica, Arial, sans-serif;
  font-size: 1em;
  line-height: 21px;
  color: #8F7D7F; }

.arrow {
  display: block;
  position: absolute;
  height: 100%;
  width: 100%; }

.arrow:before {
  display: inline-block;
  width: 90%;
  font-family: 'Tirisi Icons';
  font-size: 1.2em;
  font-weight: bold;
  content: '\e90d';
  text-align: right; }

.arrow:after {
  content: '';
  display: inline-block;
  height: 100%;
  width: 10%;
  vertical-align: middle; }

p.result-text .result-title {
  margin-top: 0px;
  margin-bottom: 7px; }

.result-collection {
  display: inline-block;
  margin-right: 5px;
  margin-top: 10px;
  padding: 0px 9px 0px 9px;
  line-height: 1.9em;
  font-family: TimesNewRoman, "Times New Roman", Times, sans-serif, Baskerville, Georgia;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid #1A1A1A; }

.result-loader {
  position: absolute;
  width: 100%;
  text-align: center;
  color: gray; }

span.no-results-text,
span.loading-text {
  font-weight: lighter;
  font-size: 1.3em; }

/**
 * Auto complete styling
 */
.pac-item {
  padding-top: 8px !important;
  padding-bottom: 8px !important; }

/*@media only screen and (max-width: 735px) {

	.pac-container:nth-child(even) {
		
		position: absolute;

		left: -0px !important;

		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;

		border: 0px;

		width: 100% !important;
		height: 100%;

		padding: 40px 20px 5px 20px;
	}
}*/
/**
 * Marker info window
 */
/*
 * Media query for devices in the medium range.
 */
@media only screen and (min-width: 736px) {
  /*
	 * Top elements
	 */
  #map {
    left: 0%;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none; }
  .search-control-ui {
    position: absolute;
    z-index: auto;
    width: auto;
    height: auto;
    top: 120px;
    bottom: 0px;
    padding-top: 40px;
    padding-left: 40px;
    padding-right: 5px;
    background: none; }
  /*
	 * Remove transitions of top elements
	 */
  #map {
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none; }
  .search-control-ui {
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none; }
  #map-wrapper.map-results-pushed #map {
    left: auto; }
  #map-wrapper.map-results-pushed .search-control-ui {
    left: auto; }
  /*
	 * Navigation background
	 */
  .navigation-background {
    top: 0px;
    background-color: rgba(255, 255, 255, 0.9); }
  /*
	 * Search control user interface
	 */
  .control-ui {
    position: relative;
    padding: 0px;
    overflow: hidden;
    -webkit-box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2); }
  .control-ui ul {
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 0px;
    max-height: none;
    min-height: 1px;
    overflow: auto;
    -webkit-transition: max-height 1s;
    -moz-transition: max-height 1s;
    -ms-transition: max-height 1s;
    -o-transition: max-height 1s;
    transition: max-height 1s; }
    .control-ui ul li {
      padding-left: 40px;
      padding-right: 0px; }
  .control-ui .control-header {
    padding: 40px 40px 0px 40px; }
  .control-ui .control-header form > span {
    right: 60px; }
  .control-ui .control-header form input {
    width: 350px;
    font-size: 17px; }
    .control-ui .control-header form input::-ms-clear {
      display: none; }
  .control-ui .control-header form button {
    width: 40px;
    display: inline-block;
    margin-left: -1px !important;
    cursor: pointer; }
  .control-ui .control-header form button span:after {
    content: '\e90c';
    display: inline-block;
    font-family: 'Tirisi Icons';
    color: white;
    font-size: 1.3em;
    line-height: 0.8em; }
  .control-results {
    position: absolute;
    top: 0px;
    bottom: 0px;
    margin-top: 100px;
    width: 100%;
    overflow: auto; }
  p.result-text {
    font-size: 17px;
    padding-top: 15px;
    padding-bottom: 15px; }
  .result-title {
    font-size: 20px; }
  .result-distance {
    position: absolute;
    display: inline-block;
    width: auto;
    left: -80px;
    right: 40px;
    padding-top: 15px;
    text-align: right;
    font-family: "Open Sans", -apple-system, Helvetica, Arial, sans-serif;
    font-size: 1em;
    line-height: 21px;
    color: #8F7D7F; }
  .arrow {
    display: block;
    position: absolute;
    height: 100%;
    width: 100%; }
  .arrow:before {
    display: inline-block;
    width: 50%;
    font-family: 'Tirisi Icons';
    font-size: 1.2em;
    font-weight: bold;
    content: '\e90d';
    text-align: center; }
  .arrow:after {
    content: '';
    display: inline-block;
    height: 100%;
    width: 50%;
    vertical-align: middle; }
  /**
	 * Auto complete styling
	 */
  .pac-container {
    /*position: static !important;*/
    /*left: unset; !important;*/
    /*width: auto !important;*/
    /*		left: auto;
		box-shadow: none;
		border: 0px;

		width: 50% !important;
		height: auto;

		padding: 40px 20px 5px 20px;*/ } }

/*
 * MEDIA QUERIES: Medium / Large
 */
@media only screen and (max-width: 735px) and (orientation: landscape) {
  .search-control-ui {
    top: 56px; }
  .control-ui {
    padding-top: 11px; } }

/*
 * MEDIA QUERIES: for devices in the large range.
 */
