#map
{
  height: 100%;
  width: 100%;
}

#pop
{
  position: fixed;
  z-index: 3000;
  width: 100%;
  height: 72%;
  left: 0px;
  top: 60px;
}

#pop .back
{
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: .6;
}

#pop .data
{
  position: absolute;
  left: calc(50% - 200px);
  top: calc(50% - 30px);
  width: 400px;
  height: 78px;
  background-color: #FFF;
  color: blue;
  font-weight: bold;
  font-size: 14px;
  border-radius: 8px;
  text-align: center;
  font-family: verdana;
}

#pop .data .close
{
  float: right;
  width: calc(100% - 10px);
  margin-top: 5px;
  text-align: right;
  margin-right: 10px;
  color: #555;
  font-weight: bold;
  font-size: 14px;
  border-radius: 8px;
}

.marker_info
{
  position: absolute;
  left: 10px;
  top: 180px;
  z-index: 999;
  width: 444px;
  padding: 10px;
  background: #FFF;
  border-radius: 8px;
  border: 1px solid #000;
  overflow: hidden;
  border: 2px solid #ffd700;
  -webkit-box-shadow: 10px 6px 17px -13px rgba(0,0,0,0.75);
  -moz-box-shadow: 10px 6px 17px -13px rgba(0,0,0,0.75);
  box-shadow: 10px 6px 17px -13px rgba(0,0,0,0.75);
}

.nav_controls
{
    position: absolute;
    left: 10px;
    top: 120px;
    z-index: 999;
    width: 430px;
    height: 40px;
    padding-left: 5px;
    padding-right: 30px;
    font-size: 14px;
    border: 2px solid #ffd700;
    -webkit-box-shadow: 10px 6px 17px -13px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 6px 17px -13px rgba(0,0,0,0.75);
    box-shadow: 10px 6px 17px -13px rgba(0,0,0,0.75);
    border-radius: 8px;
    background-color: #fff;
}

.input
{
    position: absolute;
    left: 2px;
    top: 1px;
    z-index: 999;
    width: 386px;
    height: 34px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 14px;
    border: 0;
    outline: 0 none;
}

.search
{
      position: absolute;
    left: 398px;
    top: 6px;
    padding-left: 2px;
    cursor: pointer;
}

.center_map
{
      position: absolute;
    left: 431px;
    top: 6px;
    border-left: 1px solid #ccc;
    padding-left: 2px;
    cursor: pointer;
}

.marker_info .item
{
  float: left;
  width: 100%;
  margin-bottom: 15px;
  padding-bottom: 15px;
  font-family: verdana;
  color: #888;
}

.marker_info .item .close
{
  float: right;
  background: #d73000;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 20px;
  color: #fff;
  border-radius: 100%;
  font-weight: bold;
  cursor: pointer;
}

.marker_info .item .name
{
  float: left;
  width: calc(100% - 50px);
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 10px;
}

.marker_info .item .address
{
  float: left;
  width: 100%;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 10px;
}

.marker_info .item .distance
{
  float: left;
  width: 100%;
  font-size: 16px;
  line-height: 20px;
  font-weight: bold;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.back
{
  width: calc(100% - 30px);
  padding: 15px;
  overflow: hidden;
}

.back a
{
  font-family: verdana;
  font-size: 16px;
  text-decoration: none;
  color: #c04028;
  background-image: url(../images/back.png);
  background-repeat: no-repeat;
  line-height: 30px;
  background-size: auto 100%;
  padding-left: 37px;
}

.back a:hover
{
  text-decoration: underline;
}

.footer
{
    width: 100%;
    height: 30px;
    background-color: #FFFADD;
    overflow: hidden;
}

.footer p
{
  font-size: 11px;
  line-height: 17px;
  text-align: center;
}

@media (orientation: portrait) {

  .nav_controls
  {
      width: calc(100% - 60px);
  }

  .input
  {
    width: calc(100% - 110px);
  }
  .marker_info
  {
    width: calc(100% - 45px);
  }

  .search
  {
    left: calc(100% - 63px);
  }

  .center_map
  {
    left: calc(100% - 33px);
  }
}