#form-container
{
    position: relative;
}

#map-container
{
	/*
    clear: left;
	float: left;
	margin-top: 20px;
    */
	height: 530px;
  	margin-top: 27px;    
}
.modal #map-container
{
	height: 350px;
}

#map-container a
{
}

#map-container a:hover, #map-container a:active
{
}

#map-container .custom-marker
{
	width: 32px;
	height: 37px;
	color: #fff;
	background: url("//cdn.shopify.com/s/files/1/0049/9332/t/9/assets/custom-marker.gif?17919462576024871708") no-repeat;
    padding: 3px;
    cursor: pointer;
}

#loc-list
{
	/*
    float: left; 
	width: 30%;
    */
	height: 450px;
	overflow: auto;
}

#loc-list ul
{
	display: block;
	clear: left;
	float: left;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

#loc-list .list-label
{
  	display: none;
	float: left;
	margin: 10px 0 0 10px;
	padding: 2px 3px;
	width: 17px;
	text-align: center;
	background: #999999;
	color: #fff;
	font-weight: bold;
}

#loc-list .list-details
{
	float: left;
	width: 100%;
}

#loc-list .list-content
{
	padding: 10px;
}

#loc-list .loc-name
{
	font-weight: 700;
}

#loc-list .loc-dist
{
	float: left;
	margin-top:3px;
	font-weight: bold;
	font-style: italic;
	color: #999999;
}

#loc-list .loc-directions
{
	margin-top: 3px;
}

#loc-list .loc-directions a
{
	margin-left: 10px;
}

#loc-list li
{
	display: block;
	clear: left;
	float: left;
	cursor: pointer;
	width: 95%;
	margin-bottom: 10px;
	border: 1px solid transparent; /* Adding this to prevent moving li elements when adding the list-focus class*/
    
    -webkit-border-radius:3px;
       -moz-border-radius:3px;
            border-radius:3px;
    
}

#loc-list li:hover,
#loc-list .list-focus
{
	border: 1px solid #999999 !important;
	transition: border 0.2s linear 0s;
}
/*
.loc-list {
	margin: 0;
}
.loc-name {
   color: #ae2118;
    font-weight: bold;
}
.loc-list ul li {
    display: block;
    clear: left;
    float: left;  
    margin: 3% 4% 3% 0;  	
    cursor: pointer;
    width: 100%;
    border: 1px solid #ffffff;
    overflow: hidden;
}
.list-label {
    float: left;
    margin: 10px 0 0 6px;
    padding: 2px 3px;
    width: 10%;
    max-width: 25px;
    text-align: center;
    background: #451400;
    color: #ffffff;
    font-weight: bold;
}
.list-details {
    float: left;
    width: 100%;
}
/*
#search-form
{
	clear: left;
	float: left;
	height: 60px;
}

#form-input
{
	float: left;
    width: 100%;
}
*/

.loading
{
    background: url("//cdn.shopify.com/s/files/1/0049/9332/t/9/assets/ajax-loader.gif?17919462576024871708") 99% 50% no-repeat;
}

#loading-map
{
	position: absolute;
    right: 10px;
    top: 10px;
	width: 16px;
	height: 16px;
    background: url("//cdn.shopify.com/s/files/1/0049/9332/t/9/assets/ajax-loader.gif?17919462576024871708") no-repeat;
    z-index: 999999;
}

#map
{
	/*
    float: right; 
	width: 69%;
    */
	height: 460px;
}
.modal #map
{
	height: 350px;
}

#map img{max-width: inherit;}
.bh-sl-pagination-container {
    clear: both;
}
/* Pagination turned off -- to many numbers */
.bh-sl-pagination-container ol {
    list-style-type: none;
    text-align: center;
    margin: 0;
    padding: 10px 0;
}
.bh-sl-pagination-container ol li {
    display: inline-block;
    padding: 10px;
    cursor: pointer;
    font: bold 14px Arial, Helvetica, sans-serif;
    color: #ae2118;
    text-decoration: underline;
}
.bh-sl-pagination-container ol li.bh-sl-current{ color: #000; text-decoration: none;}

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

  #form-container 
  {
    position: relative;
    width: 100%;
  }
  .tr 
  {
  	margin-top:10px;
  }
  
  #map-container 
  {
  	width: 590px;
    height: auto;
    display: block;
    float: left;
  }
	
  #loc-list
  {
   	float: none;
    margin-right: 25px;
    width: 60%;
    margin-bottom: 15px;
  }
 
  	
  #map 
  {        
    float:none;
    clear: both;
    width: 100%;
    height: 230px;
    margin-bottom: 15px;
  }
    
}