body{overflow-x: hidden}

#store-locator-container{
	float: none;
	/*margin-left: 20px;*/
	/*max-width: 875px;*/
	/*font: normal 12px Arial, Helvetica, sans-serif;*/
	color: #333;
/*margin-bottom: 40px;*/
	width:100%;
overflow:hidden;
}

#page-header{
	float: left;
}

#form-container{
	clear: left;
	float: left;
	margin: 15px 0px;
	width: 100%;

}

#map-container{
	clear: left;
	float: left;
	margin-top: 27px;
	height: 530px;
	/*max-width: 875px;*/
	width:100%;
padding-bottom:0px;
}

#map-container a{
	color: #e76737;
	text-decoration: none;
}

#map-container a:hover, #map-container a:active{
	text-decoration: underline;
}

#map-container .custom-marker{
	width: 32px;
	height: 37px;
	color: #fff;
	background: url(../images/custom-marker.png) no-repeat;
    padding: 3px;
    cursor: pointer;
}

#loc-list{
	float: left; 
	width: 25%;
	height: 530px;
	overflow: auto;
margin-right:10px;
box-sizing:border-box;
}

#loc-list ul{
	display: block;
	clear: left;
	float: none;
	list-style: none;
	margin: 0;
	padding: 0;
overflow:hidden;
}

#loc-list .list-label{
	float: left;
	margin: 10px 0 0 6px;
	padding: 2px 3px;
	width: 17px;
	text-align: center;
	background: #451400;
	color: #fff;
	font-weight: bold;
}

#loc-list .list-details{
	float: left;
	margin-left: 6px;
	width: 80%;
}

#loc-list .list-content{
	padding: 10px;
}

#loc-list .loc-dist{
	font-weight: bold;
	font-style: italic;
	color: #8e8e8e;
        display: none;   /* hide the distance div */
}

#loc-list li{
	display: block;
	clear: left;
	float: left;
	margin: 6px 10px;
	cursor: pointer;
	width: 93%;
	border: 1px solid #fff; /* Adding this to prevent moving li elements when adding the list-focus class*/
}

#loc-list .list-focus{
	border: 1px solid rgba(82,168,236,0.9);
	-moz-box-shadow: 0 0 8px rgba(82,168,236,0.7);
	-webkit-box-shadow: 0 0 8px rgba(82,168,236,0.7);
	box-shadow: 0 0 8px rgba(82,168,236,0.7);
	transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
}

#map-container .loc-name{
	color: #AD2118;
}

#search-form{
	clear: left;
	float: left;
	height: 60px;
}

#form-input{
	float: left;
	margin-top: 3px;
}

#form-input label{
	font-weight: bold;
}

#form-input input{
	padding: 4px;
	line-height: 16px;
	border: 1px solid #ccc;
}

#address{
	margin: 0 0 0 10px;
}

#submit{
	float: none;
        box-sizing:border-box;
	cursor: pointer;
	margin:5px 0px 5px 10px;
	padding: 3px 8px;
	background: #ae2118;
	border: 1px solid #961f17;
	color: #fff;
	-webkit-border-radius: 3px;
        border-radius: 3px;
}

#loading-map{
	float: left;
	margin: 4px 0 0 10px;
	width: 16px;
	height: 16px;
	background: url(../images/ajax-loader.gif) no-repeat;
}

#map{
	float: left; 
	width: 73%; 
	height: 530px; 
}

/* Infowindow Roboto font override */
.gm-style div, .gm-style span, .gm-style label, .gm-style a{
	font-family: Oswald,Arial,Helvetica,sans-serif;
font-size:12px;
}

/* Modal window */

#overlay{
     position: fixed;
     left: 0px;
     top: 0px;
     width:100%;
     height:100%;
     z-index: 10000;
     background: url(../images/overlay-bg.png) repeat;
}

#modal-window{
	position: absolute;
	left: 50%;
    margin-left: -460px; /* width divided by 2 */
    margin-top: 60px;
    width: 920px;
	height: 590px;
	z-index: 10010;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 0 10px #656565;
}

#modal-content{
	float: left;
	padding: 0 22px; /* there's already a margin on the top of the map-container div */
}

#close-icon{
	position: absolute;
	top: -6px;
	right: -6px;
	width: 18px;
	height: 18px;
	cursor: pointer;
	background: #2c2c2c url(../images/close-icon.png) 3px 3px no-repeat;
	border: 1px solid #000;
	border-radius: 3px;
	box-shadow: 0 0 3px #656565;
}


/* The following is for the geocode page and not the store locator */

#geocode-result{clear: left;float: left;margin-top: 30px;width: 100%;}
#store-locator-container #address, #store-locator-container #maxdistance, #store-locator-container  #selcustomer{vertical-align:top;color: #000;    font-family: arial;    font-size: 14px !important; box-sizing:border-box;    font-weight: normal !important;    padding: 4px !important; font-family: Oswald,Arial,Helvetica,sans-serif;  }
#loc-list li{text-indent:0px!important;}
#form-input label[for="address"]{font-family: Oswald,Arial,Helvetica,sans-serif;    font-size: 14px;    font-weight: normal;}
#no-result{font-family:Oswald,Arial,Helvetica,sans-serif;  font-size: 14px; font-weight: normal; color:#ae2118;text-align: left;}
#store-locator-container #address{    padding: 7px!important;    margin-right: 5px;    border: solid 1px rgba(173, 173, 173, 0.99);}
.local-address{width:auto; float:left;}
.iconImg{width:auto; float:right; }

.iconmessage{clear: both;    padding-top: 10px;    font-size: 16px;    font-family: Oswald,Arial,Helvetica,sans-serif;
    line-height: 30px; color:#333; font-weight: 300;}

.iconmessage .iconImg{width:auto; float:left; padding-right:10px; padding-top:4px; padding-bottom:20px;}

/*----Aarti changes---*/

 #store-locator-container #maxdistance{border: solid 1px rgba(173, 173, 173, 0.99); margin-right:5px;}
 #store-locator-container  #selcustomer{color: #000;    font-family: arial;    font-size: 14px !important;    font-weight: normal !important;    padding: 4px !important;
    font-family: Oswald,Arial,Helvetica,sans-serif; border: solid 1px rgba(173, 173, 173, 0.99);}

/*----End Aarti changes---*/

@media screen and (max-width: 900px){
	#loc-list .list-label{float:none;}
#loc-list .list-details{float:none;width:100%;margin-left:0px;}
}
@media screen and (max-width: 768px){
       #loc-list{float:none;width:100%; height:auto;}
#map-container{height:auto; margin-top:10px;}
#loc-list ul{display:block;width:100%;}
#map{width:100%; float:none; display:block; margin-top:10px;}
#loc-list .list-details{float:left; width:80%; margin-left:10px;}
#loc-list .list-label{float:left;}
#loc-list li{width:100%; margin:6px 0px; box-sizing:border-box;}
.iconmessage{font-size:17px;}
.iconmessage .iconImg{padding-bottom:0px;margin:0px auto; }
.iconmessage .iconImg img{width:initial;height:initial;}
}

@media screen and (max-width: 680px){
	#form-input{ float:none; width:100%;}
	#store-locator-container #address, #store-locator-container #maxdistance{ display:inline-block; margin:0px 0px 10px 0px; }
 #form-input label[for="address"]{display:block; margin-bottom:10px;}
    #store-locator-container #address{width: 40%;  margin-right: 5px;}	
 #store-locator-container #maxdistance, #store-locator-container  #selcustomer{width:26%;}
#store-locator-container  #maxdistance{margin-right:5px;}
#submit{ margin-left:0px;}
	#loc-list{ float:none;}
	#map{ float:none; width:100%}
	#store-locator-container{ margin-left:0px;}
	#loc-list{ float:none; width:100%; margin-bottom:10px;}
	#loc-list ul{ float:none; width:100%;}
	#loc-list{ height:auto;}


}

@media screen and (max-width: 520px){
     #store-locator-container #address{width:100%; display:block;}
      #store-locator-container #maxdistance, #store-locator-container  #selcustomer{width:48%;}
     .iconImg img{display:block;}
}
@media screen and (max-width: 320px){
     #store-locator-container #maxdistance, #store-locator-container  #selcustomer{width:100%; margin-right:0px;}
}