*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
#map {
  position: relative;
  height: 100%;
  width: calc(100% - 415px);
  margin-left: auto;
  transition: all 0.4s ease-in-out;
}

#rwdMenuToggler {
  display: none;
  position: fixed;
  align-items: center;
  bottom: 0;
  width: 100%;
  height: 5%;
  color: #000;
  background-color: #fff;
  cursor: pointer;
}
.rwdMenuTitle{
  margin: 0 0 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  font-size: 14px;
  line-height: 14px;
  font-weight: bold;
}

.regionContainer{
  padding: 20px 24px 0px 30px;
}

/* Hero */
.infoHero {
  padding: 14px 50px 14px 80px;
  background-color: #f7f8f9;
  border-bottom: 1px solid #efefef;
  max-height: 100px;
  overflow-y: auto;
}
.heroTitle{
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(0,0,0,.87);
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  margin-bottom: 2px;
}
.totalView{
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  opacity: .54;
  color: #000;
}
/* header */
.infoHeader{
  display: flex;
  align-items: center;
  height: 64px;
  background-color: #db4437;
  padding: 0;
  color: #FFF;
}
.infoHeader i{
  font-size: 1.6em;
}
.infoIcon {
  width: 48px;
  height: 48px;
  margin: 8px;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.infoTitle{
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  font-size: 20px;
  line-height: 20px;
  font-weight: normal;
  flex: 1 1 auto;
  margin: 0;
}
/* content */
.infoContent{
  height: calc( 100vh - 164px);
  overflow-y: auto;
}
.infoRow{
  font-size: 14px;
  margin: 16px 0 26px;
}
.infoRegion{
  display: flex;
}
.regionTitle {
  height: 20px;
  margin-left: 30px;
  color: rgba(0,0,0,.87);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.infoLabel{
  color: #9e9e9e;
  font-size: 12px;
}
.gmap-checkbox {
  width: 20px;
  height: 20px;
  accent-color: #db4437;
}

.infoItem{
  margin-top: 4px;
  color: rgba(0,0,0,.87);
  line-height: 21px;
}
.herbRow{
  position: relative;
  margin: 22px 0 4px 50px;
}

.herbToggler{
  border: none;
  background: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: -50px;
  cursor: pointer;
}
.herbToggler i {
  user-select: none;
}
.herbToggler:focus {
  /* box-shadow: 0 0 0 0.5rem rgba(108, 117, 125, 0.75); */
  outline: 0;
}

.herbItem, .herbMore{
  font-size: 14px;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  height: 24px;
  margin-top: 8px;
  margin-bottom: 6px;
}
.infoDivider{
  padding-bottom: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 14px -24px -22px 48px;
}

#herbImage{
  position: relative;
  height: 200px;
}
#herbImage a{
  position: absolute;
  width: 100%;
}
#herbImage a img{
  width: 100%;
  object-fit: cover;
  height: 200px;
}

.subInfoContent {
  max-height: calc( 100vh - 264px);
  overflow-y: auto;
  padding: 12px 24px 20px;
}

.ckContent img{
  margin: 0 auto;
  display: block;
}
/* gmap default override */
button:focus{
  outline: none;
}
/* infoWindow close button */
button.gm-ui-hover-effect {
    visibility: hidden;
}

/* media queries */
@media (min-width: 768px) {
  #menuToggler {
    display: block;
    position: fixed;
    top: 10px;
    left: 10px;
    color: #000;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%);
    background: #fff;
  }
  /* Pane Container */
  #infoContainer, #infoSubContainer{
    position: absolute;
    bottom: 0;
    left: -415px;
    /* left: 0; */
    width: 415px;
    height: 100%;
    background-color: #fff;
    transition: all 0.4s ease-in-out;
  }
  #infoSubContainer{
    left: -415px;
  }
  #infoContainer.show, #infoSubContainer.show{
    left: 0;
  }
}
@media (max-width: 768px) {
  #map{
    width: 100%;
    height: 95%;
  }
  #menuToggler{
    display: none;
  }
  #rwdMenuToggler {
    display: flex;
    border-top: 1px solid rgba(0,0,0,0.1);
  }
  #infoContainer, #infoSubContainer {
    position: absolute;
    bottom: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transition: all 0.4s ease-in-out;
  }
  .infoContent{
    height: calc( 100vh - 128px);
  }
  #infoContainer.show{
    bottom: 0;
  }
  .infoHero {
    padding: 10px;
  }
  #herbImage{
    position: relative;
    height: 180px;
  }
  #herbImage a{
    position: absolute;
    width: 100%;
  }
  #herbImage a img{
    width: 100%;
    object-fit: cover;
    height: 180px;
  }
  .subInfoContent {
    max-height: 55%;
    overflow-y: auto;
    padding: 12px 24px 20px;
  }
  /* herb item/marker clicked */
  #map.marked{
    height: 40%;
  }
  #infoContainer.show.marked, #infoSubContainer.show {
    bottom: 0;
    height: 60%;
  }
  .infoContent.marked{
    height: 75%;
  }
}