.hmap_container { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; flex-direction: column; } .hmap_holder { display: inline-block; width: 100%; position: relative; } .hmap_holder svg { max-width: 100%; } .hmap_holder img { max-width: 100%; width: 100%; } .hmap_marker { position: absolute; -webkit-transform: translate(-50%, -100%); transform: translate(-50%, -100%); top: 42%; left: 69%; z-index: 1; } .hmap_marker.current { z-index: 2; } .hmap_marker img { cursor: pointer; position: relative; z-index: 3; } .hmap_marker_content { background-color: #ffffff; display: inline-block; padding: 25px; -webkit-box-shadow: 0px 0px 15px 3px rgba(0, 0, 0, 0.15); box-shadow: 0px 0px 15px 3px rgba(0, 0, 0, 0.15); position: absolute; bottom: 49%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; z-index: 1; } .hmap_marker_content .hmap_marker_title { margin-top: 0px; margin-bottom: .5em; } .hmap_marker_close { position: absolute; top: 10px; right: 10px; cursor: pointer; color: #231f20; } .hmap_marker.active .loc_icon, .hmap_marker .loc_icon_hover { display: none; } .hmap_marker.active .loc_icon_hover { display: block; } .hmap_marker img { width: 10px !important; } @media (min-width: 425px) { .hmap_marker img { width: 15px !important; } } @media (min-width: 768px) { .hmap_marker img { width: 25px !important; } }