/*
 * Resets
 */
.g_map_wrapper, .agm, .agm_directions {
  position: relative;
  margin: 0;
  padding: 0;
  display: block; }

.agm img, .agm_directions img {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  max-width: 1000px !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  max-width: 1000px !important;
  margin: 0;
  padding: 0; }

.agm {
  width: 100% !important; }

/**
 * Marker popup
 */
.g_map_wrapper .agm .marker_content {
  min-width: 200px;
  min-height: 100px;
  overflow-x: hidden; }
  .g_map_wrapper .agm .marker_content strong, .g_map_wrapper .agm .marker_content p, .g_map_wrapper .agm .marker_content a {
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 18px !important;
    color: #000 !important;
    margin: 0 !important;
    padding: 0 !important; }
  .g_map_wrapper .agm .marker_content strong {
    display: block !important;
    margin-bottom: 5px !important; }
  .g_map_wrapper .agm .marker_content p {
    margin-bottom: 5px !important; }
  .g_map_wrapper .agm .marker_content img {
    max-width: 100% !important;
    height: auto; }
  .g_map_wrapper .agm .marker_content .route {
    text-decoration: none !important;
    display: inline-block;
    background: url("../img/route.png") center left no-repeat;
    padding-left: 20px !important;
    font-weight: bold !important;
    min-height: 18px !important; }
    .g_map_wrapper .agm .marker_content .route.calculating_route {
      padding-left: 20px !important;
      background: url("../img/l.GIF") center left no-repeat !important; }

/**
 * Marker category dropdown
 */
@media print {
  .g_map_wrapper {
    page-break-inside: avoid;
    page-break-before: always; } }
.g_map_wrapper .map_cats_container {
  position: relative;
  display: inline-block;
  border: 1px solid #C2C2C2;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  -moz-box-shadow: 0px 1px 2px 0px #D6D6D6;
  -webkit-box-shadow: 0px 1px 2px 0px #D6D6D6;
  box-shadow: 0px 1px 2px 0px #D6D6D6;
  background: #FFFFFF;
  font-family: Helvetica, Arial, sans-serif !important;
  position: absolute;
  top: 6px;
  left: 50%;
  z-index: 100; }
  @media print {
    .g_map_wrapper .map_cats_container {
      display: none; } }
  .g_map_wrapper .map_cats_container a, .g_map_wrapper .map_cats_container a:visited {
    color: #000 !important;
    text-decoration: none !important;
    font-family: Helvetica, Arial, sans-serif !important;
    display: block !important;
    padding: 3px 6px !important;
    font-size: 12px !important;
    line-height: 18px !important; }
  .g_map_wrapper .map_cats_container ul {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    display: none; }
    .g_map_wrapper .map_cats_container ul li {
      margin: 0 !important;
      padding: 3px 6px !important;
      border: none !important;
      background: #fff !important;
      border-top: 1px solid #C2C2C2 !important;
      font-family: Helvetica, Arial, sans-serif !important;
      font-size: 12px !important;
      line-height: 18px !important;
      cursor: pointer !important;
      display: block !important; }
      .g_map_wrapper .map_cats_container ul li:hover {
        background: #F1F1F1 !important; }

/**
 * Driving directions
 */
.agm_directions {
  max-height: 300px;
  overflow: scroll;
  overflow-x: hidden;
  padding: 0 10px !important;
  background: #F8F8F8 !important;
  display: none; }
  @media print {
    .agm_directions {
      page-break-inside: avoid;
      max-height: 99999px;
      height: auto;
      page-break-before: always; } }
  .agm_directions * {
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 15px;
    line-height: 20px; }
  .agm_directions table, .agm_directions tbody, .agm_directions tr, .agm_directions td, .agm_directions th {
    border: none !important;
    margin-bottom: 0px !important; }
  .agm_directions .adp-placemark {
    background: transparent !important;
    border: none !important; }
    .agm_directions .adp-placemark td {
      vertical-align: middle; }
    .agm_directions .adp-placemark img {
      margin-top: 10px;
      margin-right: 10px; }
  .agm_directions .close_directions, .agm_directions .print_directions {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff !important;
    display: block;
    width: 25px;
    height: 25px;
    color: #333 !important;
    text-align: center !important;
    line-height: 25px !important;
    border: 1px solid #ccc !important;
    font-size: 16px !important;
    cursor: pointer; }
    @media print {
      .agm_directions .close_directions, .agm_directions .print_directions {
        display: none; } }
  .agm_directions .print_directions {
    right: 55px;
    color: #fff;
    background: #fff url("../img/print.png") center center no-repeat !important; }
