@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600');
@import url('https://fonts.googleapis.com/css?family=Space+Mono:400,700');

html,
body {
	padding: 0;
	margin: 0;
	height: 100%;
	font-family: 'Poppins', sans-serif;
}

/* Jason Add! This hides or shows the 'break out of frames' link */
html.top div#store-locator-container div#break-frames a {
	display: none;
}

html.framed div#store-locator-container div#break-frames a {
	text-align: center;
	text-decoration: none;
	color: #e55315;
	font-weight: 300;
	font-size: 0.8rem;
}

#store-locator-container {
    box-sizing: border-box;
    height:100%;
    width: 100%;
}

#map-container {
    width: 100%;
    height:auto;
}

#map-container a {
	color: #e55315;
	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;
}

#form-container {
    box-sizing: border-box;
	width: 260px;
	padding: 10px;
}

#form-input label {
    font-weight: bold;
    font-family: 'space mono', monospace;
    font-size: 1rem;
}

#form-input input {
    line-height: 16px;
    border: 1px solid #ccc;
    width: 50%;
    height: 1.8rem;
    display: inline-block;
    margin: 0.5rem 0 0 0;
}

#submit {
    cursor: pointer;
    background: #E55315;
    border: 1px solid #E55315;
    color: #fff;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 8px 32px;
    margin: 0.3rem 0 0 0;
    float: right;
    font-family: 'poppins', sans-serif;
}

#map {
	position: absolute;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 300px;
}

#loc-list {
   /* background-color:yellow;*/
    width: 280px;
    height:100%;
    overflow: auto;
	overflow-x: hidden;
}

#loc-list ul {
   /* background-color:lightblue; */
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding:0;
    /*
	
	
	width: 100%;
    padding: 0 1rem;
    */
}

#loc-list li {
    display: flex; 
    padding: 5px;
    width: 100%;  
	margin: 0.3rem 0;
	cursor: pointer;
	max-width: 260px;

	border: 1px solid #fff;
	background: url('/assets/media/icons/Opens-New-Tab.svg'), #F7F7F7;
	background-repeat: no-repeat;
	background-size: 32px;
    background-position: 95% center;
}

#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;
}

#loc-list .list-details {
    width:80%;
}

#loc-list .list-content {
	padding: 5px;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

#loc-list .list-content address {
	font-style: normal;
	font-weight: 600;
}

#loc-list .loc-dist {
	font-weight: bold;
	font-style: italic;
	color: #8e8e8e;
}

#loc-list .loc-name {
	color: #e55315;
	font-weight: bold;
}

@media only screen and (max-device-width: 767px),
(max-width: 767px) {

    #form-container {
        width:auto;
    }

    #loc-list {
        width: 100%;
        height:230px;
        overflow: hidden;
    }

    #loc-list ul {
		display: flex !important;
		flex-direction: row;
		flex-wrap: wrap;
		width: 100%;
    }

    #loc-list li {
		width: 49%;
		max-width: 100%;
		margin: auto;
		padding: 0;
    }
  
    #map {
        top:350px;
        left:0px;
        width:100%;
        height:auto;
    }
     
    /*
	#loc-list li:last-child {
		display: none;
	}
	*/

}