.goong-map-component {
  position: relative;
  width: 100%;
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  .map-container {
    position: relative;
    width: 100%;
    height: 100%;

    .goong-map-search {
      position: absolute;
      top: 20px;
      left: 20px;
      min-width: 200px;
      min-height: 20px;
      z-index: 999;
      border-radius: 2px;
      background: #FFF;
      border: 1px #CCC solid;
      box-shadow: 0px 0px 8px #DDD;

      .autocomplete {
        /*the container must be positioned relative:*/
        position: relative;
        display: inline-block;
      }
      input {
        outline: none;
        border: 1px solid transparent;
        padding: 10px;
        font-size: 16px;
        border-bottom: 1px #ccc solid;
      }
      input[type=text] {
        width: 100%;
        box-sizing: border-box;
      }
      span {
        display: block;
        padding: 5px 10px;
        background: #EEE;
      }
      .autocomplete-items {
        position: absolute;
        border: 1px solid #d4d4d4;
        border-bottom: none;
        border-top: none;
        z-index: 99;
        /*position the autocomplete items to be the same width as the container:*/
        top: 100%;
        left: 0;
        right: 0;
      }
      .autocomplete-items div {
        padding: 10px;
        cursor: pointer;
        background-color: #fff;
        border-bottom: 1px solid #d4d4d4;
      }
      .autocomplete-items div:hover {
        /*when hovering an item:*/
        background-color: #e9e9e9;
      }
      .autocomplete-active {
        /*when navigating through the items using the arrow keys:*/
        background-color: DodgerBlue !important;
        color: #ffffff;
      }
    }
  }

  .goong-map-component-panel {
    height: 100%;
    width: 250px;
    box-shadow: 0 1px 5px #888;
    z-index: 1;
    overflow-y: scroll;

    .marker-item {
      padding: 5px 10px;
      color: #333;
      border-top: 1px #EEE solid;
      min-height: 30px;
      cursor: pointer;

      h3 {
        margin: 5px 0;
      }

      p {
        margin: 5px 0;
        font-size: 12px;
      }

      &:hover{
        background: #EEE;
      }
      &:last-child {
        border-bottom: 1px #EEE solid;
      }
    }
  }

  &.has-left-pane {
    display: flex;
    .map-container{
      width: calc(100% - 250px);
    }
  }
}
