/* Layout */

#locatorapp {
	display: flex;
	height: 100vh;
	flex-flow: column;
}

.locator-flex {
	display: flex;
	width: 100%;
	height: 100vh;
	gap: 5px;
	font-size: 90%;
}

#locatorapp h3 {
	font-size: 100%;
	margin-bottom: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.sidebar {
  flex-basis: 400px;
  min-width: 400px;
  max-width: 400px;
  overflow: hidden;
  font-family: Roboto, Arial, sans-serif;
  border: 1px solid #ededed;
}

.map {
  width: 100%;
  height: 100dvh;
	z-index: 1;
}

.locator-widgets {
    display: flex;
    gap: 10px;
	flex-flow: column;
}

.locator-image{
	margin: 10px 0;
}

.locator-image img{
	width: 100%;
}

.location-meta {
	display: flex;
	justify-content: space-between;
	
}

.location-meta a:visited, .location-meta a {
	display: flex;
	color: #454545;
	font-weight: bold;
	padding: 15px 30px;
	gap: 8px;
	align-items: center;
}

.location-meta a:hover {
	background: #f2f2f2;
	color: #454545;
}

.location-addressinfo {
	display: flex;
	gap: 20px;
	cursor: pointer;
}

.location-address {
	flex-grow: 1;
}

.location-addressinfo .locator-image {
	margin: 0;
}

.location-addressinfo .locator-image img{
	width: 70px;
}

/* General button style */

.btn-locator a:focus, .btn-locator a:visited, .btn-locator a {
	background: #f9d439;
	border: 1px solid #f9d439;
	border-bottom: 1px solid transparent;
	color: #fff;
	display: inline-block;
	padding: 4px 12px;
}

.btn-locator--inverted a:focus, .btn-locator--inverted a:visited, .btn-locator--inverted a{
	background: #ffffff;
	color: #454545;
	border: 2px solid #f9d439;
}

.btn-locator.active a{
	color: #454545;
	background: #fff;
	border-color: #ccc;
	border-bottom: 1px solid #fff;
	
}

.btn-locator a:hover {
	color: #ffffff;
	background: #454545;
	border-color: #454545;
}

.location-link-button {
	margin: 5px 0 0;
}

.location-link-button .btn-locator a {
	display: block;
	width: 100%;
	text-align: center;
}

a {
  /*color:#404040;*/
  color: #000;
  text-decoration: none;
}

a:hover {
  color: #101010;
}



.pad2 {
  padding: 20px;
}

.quiet {
  color: #888;
}





#listingDiv {
  overflow: auto;
}

.listings {
  height: 100%;
  overflow: auto;
  padding-bottom: 60px;
}

.listings .item {
  display: block;
  border-bottom: 1px solid #eee;
  padding: 15px;
  text-decoration: none;
}

.listings .item:last-child {
  border-bottom: none;
}

.listings .item .title, #storeinfo .title {
  display: block;
  color: #454545;
  font-weight: 700;
}

.listings .item .title small {
  font-weight: 400;
}

.listings .item.active .title,
.listings .item .title:hover {
  color: #000;
}
/*#8cc63f*/

.listings .item.active {
  background-color: #f8f8f8;
}

#storeinfo {
  padding: 15px 15px 20px 15px;
  display: none;
  background-color: #efefef;
}

/*
 ::-webkit-scrollbar {
  width: 3px;
  height: 3px;
  border-left: 0;
  background: rgba(0, 0, 0, 0.1);
}

 ::-webkit-scrollbar-track {
  background: none;
}

 ::-webkit-scrollbar-thumb {
  background: #00853e;
  border-radius: 0;
}
*/

.clearfix {
  display: block;
}

.clearfix:after {
  content: '.';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.leaflet-container .leaflet-marker-icon {
  cursor: pointer;
}

/* Search */

.locator-search {
  background: #f8f8fb;
  border-bottom: 1px solid #ededed;
  height: 66px;
  padding: 10px;
}

.locator-searchwrap {
	display: flex;
	gap: 10px;
}


.locator-searchwrap div{
	flex-grow: 1;
	position: relative;
}

#searchbox {
  width: 100%;
  height: 36px;
}

#search-input {
  width: 100%;
  border: 1px solid #ededed;
  line-height: 32px;
  padding-left: 5px;
}

.search-reset {
	position: absolute;
	right: 10px;
	top: 6px;
	color: #999;
	display: none;
	padding: 4px;
}

#closeButton {
  float: right;
}

#closeButton:hover,
 :focus {
  color: #000;
  cursor: pointer;
  /*padding: 5px;*/
}

#searchIcon:hover,
 :focus {
  color: #000;
  cursor: pointer;
}

#infoClose {
  float: right;
  cursor: pointer;
}

#searchIcon {
  font-size: 26px;
  margin-top: 1px;
}


/* Tab buttons */

.locator-nav {
	display: none;
	padding: 0;
}

.locator-nav ul {
	list-style: none;
	display: flex;
	margin: 0 !important;
	padding: 0;
	gap: 10px;
	justify-content: center;
}

.locator-nav .btn-locator a {
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
	margin-bottom: -1px;
}

@media screen and (min-width:601px) and (max-width: 1199px) {
  
}

@media screen and (min-width:601px) {
	// Reset view on larger screens
	.sidebar, .map {
		display: block !important;
	}
}

@media screen and (max-width:600px) {
	
	.locator-nav {
		display: block;
	}
	
	.locator-flex{
		flex-flow: column;
		height: 90vh;
	}
	
	.sidebar {
		width: 100%;
		flex-basis: auto;
  		min-width: none;
  		max-width: none;
		display: block;
	}
	
	.map {
		height: 100dvh;
		display: none;
	}
}

@media screen and (min-width: 1200px) {
  
}

@media screen and (max-width:968px) {

  #searchIcon {
    font-size: 16px;
  }
}

@media screen and (max-height:650px) {

	.locator-image{
		display: none;
	}
}
