#search-results-wrapper h1 {
  margin-bottom: 20px;
}
#search-results-wrapper .search-item {
  border-bottom: 1px solid #CCC;
  padding: 10px;
}
#search-results-wrapper .search-item h3 {
  margin: 0;
  margin-bottom: 10px;
}
#search-results-wrapper .search-item.active {
  background-color: #EEE;
}
#search-results-wrapper .search-item .circle:before {
  content: ' \25CF';
  font-size: 20px;
}
#search-results-wrapper .search-item .vcard {
  float: right;
  clear: right;
  margin-top: 10px;
}
#search-results-wrapper .search-item .vcard img,
.vegan-search-item .vcard img {
  width: 50px;
  border: 1px solid #999;
  border-radius: 5px;
}
.vegan-search-item .node-full .vcard {
  margin-top: 10px;
  float: left;
  margin-right: 10px;
}
#vegan-search-search-form {
  margin-bottom: 20px;
}
#vegan-search-search-form .form-item {
  margin-bottom: 0;
}
#vegan-search-search-form #edit-submit {
  margin: 0;
  float: left;
}
#vegan-search-search-form #edit-search {
  background-image: none;
}
#vegan-search-search-form #autocomplete {
  background: #FFF;
  border: 1px solid #CCC;
  padding: 10px;
}
#vegan-search-search-form fieldset .form-checkbox {
  display: inline;
}
#vegan-search-search-form fieldset .form-type-checkbox label.option {
  display: inline;
}
#search-results-wrapper #items-map {
  float: right;
  height: 300px;
  width: 100%;
}
#items-map.single-item {
  float: right;
  height: 300px;
  width: 100%;
  margin: 40px 0;
}
#search-results-wrapper #items-list {
  float: left;
  width: 100%;
  position: relative;
}

@media (min-width: 700px) {
  #vegan-search-search-form #edit-first,
  #vegan-search-search-form #edit-second,
  #vegan-search-search-form #edit-third {
    border: 0 none;
    float: left;
    width: 30%;
  }
}

#vegan-search-search-form #edit-first,
#vegan-search-search-form #edit-second,
#vegan-search-search-form #edit-third {
  border: 0 none;
}
#vegan-search-search-form .ui-helper-hidden-accessible {
  display: none;
}
#vegan-search-search-form .form-item-search {
  clear: both;
}

#vegan-search-search-form .form-item-search,
#vegan-search-search-form .form-item-location,
#vegan-search-search-form .form-item-country {
  margin-bottom: 20px;
}
#vegan-search-search-form .form-item-country {
  display: none;
}

@media (min-width: 700px) {
  body.page-vegan-search .select2-drop {
    width: 150px !important;
  }
}

@media (min-width: 700px) {
  #search-results-wrapper #items-map {
    height: 500px;
    width: 50%;
  }
  #items-map.single-item {
    height: 500px;
  }
  #vegan-search-search-form .form-item-search,
  #vegan-search-search-form .form-item-location {
    width: 40%;
    float: left;
    padding-right: 30px;
  }
  #vegan-search-search-form .form-item-country {
    width: 150px;
    float: left;
    margin-right: 30px;
  }
  #vegan-search-search-form .form-item-country .select2-container,
  #vegan-search-search-form .form-item-country .select2-container a {
    width: 150px;
  }
  #search-results-wrapper #items-list {
    width: 50%;
    height: 500px;
    overflow-y: auto;
    word-break: break-word;
    overflow-x: hidden;
    box-shadow: inset 0px 0px 10px 1px #888;
  }
  #search-results-wrapper.default-wrapper-list #items-list {
    width: 100%;
    height: auto;
    overflow-x: visible;
  }

}
.phone, .location, .homepage, .hours, .distance-from-user {
  background: url(../images/phone.png) no-repeat center left;
  padding-left: 20px;
}
.location {
  background-image: url(../images/map-marker-light-green-dot-small.png);
}
.location.onlyvegan {
  background-image: url(../images/map-marker-dark-green-dot-small.png);
}
.location.vegan {
  background-image: url(../images/map-marker-green-dot-small.png);
}
.homepage {
  background-image: url(../images/homepage.png);
}
.hours {
  background-image: url(../images/hours.png);
}
.distance-from-user {
  background-image: url(../images/distance.png);
  font-weight: bold;
  margin-bottom: 10px;
}

.vegan-search-item {
  position: relative;
}
.vegan-search-item .tags {
  margin-top: 10px;
}
.vegan-search-item .tags div {
  float: left;
  border: 2px solid #70A91E;
  border-radius: 10px;
  padding: 0 6px;
  font-size: 11px;
  margin-right: 5px;
}
.vegan-search-item .node-full .tags {
  padding-top: 5px;
}
.vegan-search-item .node-full .tags div {
  margin-bottom: 10px;
}
.vegan-search-item .node-full .description {
  clear: left;
}
.vegan-search-item .item-rating {
  margin-top: 10px;
}
.vegan-search-list-item .item-rating {
  margin: 0;
  float: right;
}

#autocomplete a.city:first-child {
  border-top: 1px solid red;
}

.ui-autocomplete {
  background: #FFF;
  width: 500px;
  list-style: none;
  padding: 10px;
  border: 1px solid #CCC;
}

.popup-content-wrapper .phone {
  display: block;
}
.popup-content-wrapper .read-more {
  float: right;
}

.search-nearby-wrapper {
  margin-bottom: 20px;
}
.search-nearby {
  display: inline-block;
  margin: 0;
}
.search-nearby-wrapper .search-nearby-below-content {
  color: #CCC;
  font-size: 10px;
  margin-top: 5px;
}
#vegan-search-search-form .form-message {
  clear: both;
  padding-top: 20px;
}
@media (min-width: 700px) {
  #vegan-search-search-form .form-message {
    padding-top: 0;
  }
}

/*
 * User location pulsating ball styles
 */
@-moz-keyframes pulsate {
  from {
    -moz-transform: scale(0.25);
    opacity: 0.8;
  }
  95% {
    -moz-transform: scale(0.8);
    opacity: 0;
  }
  to {
    -moz-transform: scale(0.3);
    opacity: 0;
  }
}
@-webkit-keyframes pulsate {
  from {
    -webkit-transform: scale(0.25);
    opacity: 0.8;
  }
  95% {
    -webkit-transform: scale(0.8);
    opacity: 0;
  }
  to {
    -webkit-transform: scale(0.3);
    opacity: 0;
  }
}
/* get the container that's just outside the marker image,
  which just happens to have our Marker title in it */
#items-map div.gmnoprint[title="Your location"] {
  -moz-animation: pulsate 1.5s ease-in-out infinite;
  -webkit-animation: pulsate 1.5s ease-in-out infinite;
  border:1pt solid #fff;
  /* make a circle */
  -moz-border-radius:51px;
  -webkit-border-radius:51px;
  border-radius:51px;
  /* multiply the shadows, inside and outside the circle */
  -moz-box-shadow:inset 0 0 5px #06f, inset 0 0 5px #06f, inset 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f;
  -webkit-box-shadow:inset 0 0 5px #06f, inset 0 0 5px #06f, inset 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f;
  box-shadow:inset 0 0 5px #06f, inset 0 0 5px #06f, inset 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f, 0 0 5px #06f;
  /* set the ring's new dimension and re-center it */
  height:51px!important;
  margin:-17px 0 0 -17px;
  width:51px!important;
}
/* hide the superfluous marker image since it would expand and shrink with its containing element */
/*	#map_canvas div[style*="987654"][title] img {*/
#items-map div.gmnoprint[title="Your location"] img {
  display:none;
}
/* compensate for iPhone and Android devices with high DPI, add iPad media query */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (device-width: 768px) {
  #items-map div.gmnoprint[title="Your location"] {
    margin:-10px 0 0 -10px;
  }
}


@media print {
  .print-restaurant-item {
    display: none;
  }
  .vegan-search-item .item-rating-detail {
    display: none;
  }
  .node-full {
    margin-bottom: 0;
  }
  .vegan-search-item .item-rating-form {
    display: none;
  }
}
