/* MAP */

.map {
    width: 100%;
    height: 100%;
    min-height: 600px;
    position:relative;
}

/* map border style https://codepen.io/anon/pen/EzvXMZ */

/* .map:after {

    content: "";
    display:block;
    position:absolute;
    top:3px;
    left: 3px;
    right:3px;
    bottom:3px;
    background-image: linear-gradient(to right, #726a55 50%, transparent 50%), linear-gradient(to right, #726a55 50%, transparent 50%), linear-gradient(to bottom, #726a55 50%, transparent 50%), linear-gradient(to bottom, #726a55 50%, transparent 50%);
    background-position: left top, left bottom, left top, right top;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 20px 3px, 20px 3px, 3px 20px, 3px 20px;
    border:1px solid #726a55;
    pointer-events:none;
  }
  
  .map:before {
    position:absolute;
    top:6px;
    left:6px;
    right:6px;
    bottom:6px;
    border: 1px solid #726a55;
    content: "";
    z-index:999;
    pointer-events:none;
  } */

.map-container {
    background-color: var( --color-default-text );
    color: #fff;
}


.map-wrap {
    min-height: 600px;
}

.map-wrap:after {
    content: "";
    display: block;
    padding-top: 45%;
}

.map-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-search {
    border-bottom: 3px solid rgba( 0,0,0,0.5);
    background-color: var( --color-navy );
}

.map-search .container {
    max-width: 100%;
    padding-right: 2rem;
}

.map-key {
	border-top: 2px solid #6b6b6b;
	padding: 10px;
	background-color: rgba(255,255,255,0.40);
	/*color: #06512d;*/
	color: white;
}

.map-key ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    -moz-column-count: 2;
    -moz-column-gap: 20px;
    -webkit-column-count: 2;
    -webkit-column-gap: 20px;
    column-count: 2;
    column-gap: 20px;
}

.map-key img {
    width: 24px;
    height: auto;
}

.map-key.small ul {
    -moz-column-count: 2;
    -moz-column-gap: 20px;
    -webkit-column-count: 2;
    -webkit-column-gap: 20px;
    column-count: 2;
    column-gap: 20px;
}

.map-key.small ul li {
    font-size: 0.75rem;
}

.gm-style-iw {
   width: 300px;
}


/*

    GOOGLE MAPS INFOWINDOW POPUP

 */

.infoWindow {
	padding:10px;
    border-radius: 8px;
    background-color:white;
    border: 1px solid #c1c1c1;
    color:#777676;
    font-size:0.75rem;
}

.infoWindow .button {
    width:100%;
    background-color:#f7931e;
    border: 1px solid #b9650c;
    margin-bottom: 0px;
}

.infoWindow h1 {
    background-color:#565454;
    padding: 5px 10px 5px 10px;
    color: white;
    font-weight: bold;
    margin:-10px -10px 0px -10px;
    font-size: 0.875rem;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    position: relative;
}

.infoWindow h1 > div {
    margin-top: -2px;
    margin-right: -3px;
    opacity: 0.1;
}

.infoWindow h2 {
    background-color:#e1e0e0;
    padding: 5px 10px 5px 10px;
    color:#777676;
    font-weight: bold;
    margin:0px -10px 0px -10px;
    font-size: 0.75rem;
}

.infoWindow-section {
    padding:10px 0px 10px 0px;
    min-height: 54px;
}

.infoWindow-section:first-child {
    padding-top:0px;
}

.infoWindow-section:last-child {
    padding-bottom:0px;
}

.infoWindow-section:after {
    content: '';
    display: table;
    clear: both;
}

.infoWindow .blue-icon {
    width:34px;
    height: 34px;
}

.infoWindow table {
    margin-bottom: 20px;
}

.infoWindow table:last-child {
    margin-bottom: 0px;
}

.infoWindow table tbody tr:nth-child(even) {
    background-color: transparent;
}

.infoWindow table tbody td {
    padding:2px;
    background-color: transparent;
}


/* MAP POPUP */
/* The location pointed to by the popup tip. */
.popup-tip-anchor {
    height: 0;
    position: absolute;
    /* The max width of the info window. */
    width: 250px;
  }
  /* The bubble is anchored above the tip. */
  .popup-bubble-anchor {
    position: absolute;
    width: 100%;
    bottom: /* TIP_HEIGHT= */ 25px;
    left: 0;
  }
  /* Draw the tip. */
  .popup-bubble-anchor::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    /* Center the tip horizontally. */
    transform: translate(-50%, 0);
    /* The tip is a https://css-tricks.com/snippets/css/css-triangle/ */
    width: 0;
    height: 0;
    /* The tip is 8px high, and 12px wide. */
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: /* TIP_HEIGHT= */ 8px solid white;
  }
  /* The popup bubble itself. */
  .popup-bubble-content {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -100%);
    /* Style the info window. */
    background-color: white;
    border-radius: 5px;
    overflow-y: auto;
    min-height: 60px;
    box-shadow: 0px 2px 10px 1px rgba(0,0,0,0.5);
  }
  
  .popup-bubble-content .infoWindow {
      background-color: transparent;
      border: none;
      margin-bottom: 0px;
      min-width:250px;
  }
  
  .popup-bubble-content .infoWindow h1 {
      padding-right:30px;
  }
  
  .popup-closer {
      background-image: url( '../img/close-white.png');
      background-position: center;
      background-repeat: no-repeat;
      width:30px;
      height:30px;
      position: absolute;
      top:0px;
      right:0px;
      cursor: pointer;
  }


.form-check-input:disabled~.form-check-label {
    color: #ccc;
}