#map_container {
  display: none;
  position: relative;
}

#map {
  height: 700px;
}

.marker_title {
  font-weight: bold;
  font-size: 20px;
}

.adc_info_box .wrapper,
.gm-style-iw {
  width: 350px !important;
  background-color: #fff;
  box-shadow: 0 1px 6px rgba(178, 178, 178, 0.6);
  border-radius: 10px;
  overflow: hidden;
}

.adc_info_box .wrapper {
  left: 0 !important;
}

.gm-style .gm-style-iw-c {
  max-width: 350px !important;
  width: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
}

.gm-style-iw > div {
  width: 100% !important;
}

#map_container > #map > div:first-child,
#map_portsofcall_container > #port_of_call_map > div:first-child {
  background-color: #2f71b1 !important;
}

button.gm-ui-hover-effect {
  display: none !important;
}

.gm-style-iw-d {
  overflow: hidden !important;
}

.iw-container .iw-title {
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 20px;
  font-weight: 400;
  padding: 5px 10px;
  background-color: #48b5e9;
  color: white;
  margin: 0;
  text-align: center;
}

.iw-container .iw-content {
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  margin-right: 1px;
  padding: 5px 10px;
  text-align: center;
}

.iw-content img {
  float: right;
  margin: 0 5px 5px 10px;
}

.iw-subTitle {
  font-size: 16px;
  font-weight: 700;
}

.iw-content .section-title {
  text-decoration: underline;
  margin: 5px 0;
  font-weight: bold;
}

.iw-bottom-gradient {
  position: absolute;
  width: 326px;
  height: 25px;
  bottom: 10px;
  right: 18px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

.buttons_container .btn {
  border-radius: 0; /* was 5px */
  color: white !important;
  display: inline-block;
  margin: 0 3px;
}

.custom_marker {
  box-sizing: border-box;
  background: #ff3048;
  box-shadow: 0 0 4px #02ffdc;
  border: 4px solid #f7e834;
  height: 15px;
  width: 15px;
  border-radius: 10px;
  transform: scale(1);
  -webkit-animation: pulse 0.8s ease 0.8s 1;
  -moz-animation: pulse 0.8s ease 0.8s 1;
  animation: pulse 0.8s ease 0.8s 1;
  -moz-transform-origin: 10px 10px;
  -ms-transform-origin: 10px 10px;
  -o-transform-origin: 10px 10px;
  -webkit-transform-origin: 10px 10px;
  transform-origin: 10px 10px;
}

a.go_back_regions {
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.custom_marker:hover {
  -webkit-transform: scale(1.5);
  -moz-transform: scale(1.5);
  transform: scale(1.5);
}

div.region_links .title {
  text-decoration: underline;
  font-weight: bold;
  margin: 5px 0;
}

div.region_links li:last-child {
  margin-bottom: 5px;
}

.region_popular_ports {
  font-style: italic;
  font-size: 12px;
  line-height: 18px;
  margin: 7px 0 10px 0;
  color: #2e2e2e;
}

/* ANIMATIONS */
@-webkit-keyframes pulse {
  40% {
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    transform: scale(1.5);
  }

  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
  }
}

@-moz-keyframes pulse {
  40% {
    -webkit-transform: scale(2);
    -moz-transform: scale(2);
    transform: scale(2);
  }

  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes pulse {
  40% {
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    transform: scale(1.5);
  }

  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
  }
}

.map_adc_label {
  color: white;
  font-size: 12px;
  text-transform: uppercase;
  margin: 5px;
  width: 200px;
}

.custom_marker_destination_port {
  box-sizing: border-box;
  background: #fcff30;
  border: 4px solid #f78e34;
  height: 15px;
  width: 15px;
  border-radius: 10px;
  transform: scale(1);
  -webkit-animation: pulse 0.8s ease 0.8s 1;
  -moz-animation: pulse 0.8s ease 0.8s 1;
  animation: pulse 0.8s ease 0.8s 1;
  -moz-transform-origin: 10px 10px;
  -ms-transform-origin: 10px 10px;
  -o-transform-origin: 10px 10px;
  -webkit-transform-origin: 10px 10px;
  transform-origin: 10px 10px;
}

.custom_marker_destination_port:hover {
  -webkit-transform: scale(1.5);
  -moz-transform: scale(1.5);
  transform: scale(1.5);
}

@media (max-width: 720px) {
  .toggle_map_btn,
  #map_container {
    display: none !important;
  }

  .page_header .right {
    padding: 10px 0;
    float: none;
    text-align: left !important;
  }
}
