#map{
    width: 100%;
    height: 600px;
}
.gmap-block{
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}
.gmap-block .gm-body{
    width: 100%;
    height: 92%;
}
#binfo,#badrs{
    display: none;
    padding: 10px 10px 7px;
    max-height: 500px;
    font-family: sans-serif;
    box-sizing:border-box;
    line-height: 1.2;
}
#map-list object{
	display: none;
}
#binfo img,#badrs img,#map-list img{
    width:auto;
    height: auto;
    max-width: 100%;
    box-sizing:border-box;
    max-height: 85px;
}
#binfo img[src=""],#badrs img[src=""],#binfo iframe[src=""],#binfo .link a[href=""]{
    display: none;
}
#binfo.active,#badrs.active{
    display: block;
}
.mg-title{
    border-bottom: 1px solid #d4d4d4;
    text-align: left;
    font-family:'Source Sans Pro', Helvetica, Arial, Lucida, sans-serif;
    font-size: 14px;
    color:#666;
    box-sizing:border-box;
}
#adrs,#info{
    display: inline-block;
    vertical-align: top;
    padding: 0 20px;
    line-height: 35px;
    height: 35px;
    cursor:pointer;
    background: #eee;
    border:1px solid transparent;
    box-sizing:border-box;
}
#adrs.active,#info.active{
    background: white;
    border:1px solid #d4d4d4;
    position: relative;
    top:1px;
    border-bottom:1px solid white;
}
#binfo div{
    margin: 5px auto;
    text-align: center;
    box-sizing:border-box;
}
#badrs div{
    margin: 10px 0;
    text-align: left;
    box-sizing:border-box;
}
#binfo .info-message{
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    line-height: 22px;
    color: #666;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    padding: 0;
}
#binfo .link a,#gm-all-markers,#badrs .get-direction a{
    display: inline-block;
    background-color: #ffb400;
    color: #ffffff;
    border-radius: 15px;
    padding:12px 20px 12px 20px;
    text-decoration: none;
    box-sizing:border-box;
    font-size: 14px;
}
.gm-circle:hover{
	color:#D68700!important;
	border-color: #D68700!important;
}

#badrs .get-direction a{
	background-color:#307fe1;
}
#badrs .get-direction a:hover{
	background-color: #2ea3f2;
}
#binfo .link a:hover,#gm-all-markers:hover{
    background-color: #FFC600;
}
#badrs .gm-name,#badrs .phone1,#badrs .phone2,#badrs .gm-address{
    font-size: 15px;
    color:#666;
    font-weight: bold;
    font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
    box-sizing:border-box;
}
#badrs .gm-address,#badrs .phone1,#badrs .phone2,#map-list .map-title{
    font-weight: normal; 
}
#badrs .distance{
    color:#999;
    font-size: 15px;
    font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
    box-sizing:border-box;
}
#binfo .gm-logo,#binfo .gm-image{
    width:auto;
    box-sizing:border-box;
}
#binfo .gm-logo,#badrs .get-direction{
	text-align: center;
}
#binfo .gm-logo img{
	max-height: 85px;
}
#binfo .gm-logo.gm-heigth{
	height: 85px;
}
#binfo .gm-image.gm-heigth,#binfo .video.gm-height{
	height: 150px;
}
.trash{
	display: none;
}
#binfo .gm-image img{
	max-height: 150px;	
}
#map-lists .list-block:hover .gm-image img:first-child,#map-lists .list-block .gm-image img:last-child{
    display: none;
}
#map-lists .list-block:hover .gm-image img:last-child,#map-lists .list-block .gm-image img:first-child{
    display: inline-block;
}
#map-list{
    width: 100%;
    font-size: 0;
    box-sizing:border-box;
}
#map-list .map-title,#gm-null-markers h2{
    font-family: 'Source Sans Pro', Helvetica, Arial, Lucida, sans-serif;
    font-size: 30px;
    color:#333;
    outline: 0;
    text-align:left;
    box-sizing:border-box;
    padding:20px 0 20px 10px;
}
#map-list .map-title.none,#badrs .phone1.none,#badrs .phone2.none{
    display: none;
}
.list-block{
    display:none;
    width: 32%;
    margin: 0 0 0 0; 
    padding: 10px;
    box-sizing:border-box;
    cursor: pointer;
}
.list-block.active,#gm-null-markers.active,#gm-all-markers.active{
    display: inline-block;
}
.list-block:nth-child(3n){
    margin-right:0; 
}
.list-block .gm-image{
    display: inline-block;
    width: 10%;
    margin-right: 2%;
    box-sizing:border-box;
    cursor: pointer;
}
.list-block-content{
    vertical-align: top;
    width: 85%;
    display: inline-block;
    font-size: 16px;
    box-sizing:border-box;
}
#binfo .video *{
    width: 100%;
    max-height: 150px;
}
.list-block-content .gm-address,.list-block-content .gm-name{
    font-size: 16px;
    color:#666;
    font-weight: bold;
    font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
    box-sizing:border-box;
    line-height: 1.2;
}
.list-block:hover .list-block-content .gm-name{
    color: #FFB33E;
}
.list-block-content .distance{
    color:#999;
    font-size: 16px;
    font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
    margin-bottom:5px; 
    box-sizing:border-box;
}
.list-block-content .gm-address{
	margin-top:5px; 
    font-weight: normal;
}
#gm-null-markers{
    display: none;
    font-size:20px;
    color:red; 
    box-sizing:border-box;
}
#gm-null-markers img{
    width: 150px;
    cursor: pointer;
}
#gm-null-markers a:hover{
    opacity: 0.6;
}
#gm-null-markers .also{
    color:#666;
    margin: 20px;
}
#gm-all-markers{
    display: none;
    margin:20px 0 0 10px; 
    cursor: pointer;
}
.infobox-wrapper {
    display:none;
}
#infobox {
    height: auto;
    margin-top: 8px;
    background:#fff;
    min-height: 250px;
    max-height: 550px;
    color:#000;
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    padding: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    box-sizing:border-box;
    position: relative;
    z-index: 2;
}
#infobox:after{
    content: "";
    position: absolute;
    top:100px;
    right: 99%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-right-color: #fff;
}
@media screen and (max-width: 980px) and (min-width: 621px){
    .list-block{
        width: 49%;
        margin: 0;
    }
    .list-block{
        margin-left:1%; 
    }
}
@media screen and (max-width: 620px){
	#binfo, #badrs{
		padding: 5px 10px 5px;
	}
	#binfo div{
		margin: 3px auto;
	}
	
    .list-block{
        width: 100%;
        margin: 0;
    }
    #map{
        height: 400px;
        margin: 20px 0;
    }
    .infoBox{
        width: 220px!important;
    }
    #binfo .gm-logo img{
        max-height: 65px;
    }
    #binfo .gm-image img{
		max-height: 100px;
	}
    #binfo .gm-logo.gm-heigth{
		height: 65px;
	}
	#binfo .video *{
		max-height: 100px;
	}
	#binfo .video.gm-height{
		height: 100px;
	}
	#binfo .gm-image.gm-heigth{
		height: 100px;
	}
    #binfo .link a,#badrs .get-direction a{
        font-size:11px; 
        padding:9px 10px 9px 10px;
    }
    #badrs .gm-name,#badrs .phone1,#badrs .phone2,#badrs .gm-address,#badrs .distance,#binfo .info-message{
    	line-height: 1.2;
    	font-size: 13px;
    }
}
