/* ------------------------------------------------------------ */
/* Content */
/* ------------------------------------------------------------ */
#global-wrapper {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}


#mapwrapper {
  height: 100%;
}

#map {
  width: 100%;
  height: 100%;
  z-index: 1;
  /* overflow: hidden; */
}


/* ------------------------------------------------------------ */
/* Directions */
/* ------------------------------------------------------------ */
#directions {
    position: absolute;
    top: 94px;
    left: 5px;
    z-index: 2;
    width: 366px;
}


#directions-header {
    height: 35px;
    background: transparent url(/img/ui/top_dir.png) repeat-x left top;
}

#directions-footer {
    background: transparent url(/img/ui/bottom_dir.png) repeat-x left bottom;
    height: 24px;
}

#directions-content {
    background: transparent url(/img/ui/body_dir.png) repeat-y left bottom;
}

#directions-content-inner {
    overflow: auto;
    width: 340px;
    position: relative;
    left: 10px;
}


#origin, #destination {
  font-size: 1.2em;
  width: 100%;
  margin-bottom: 1.2em;
}

#origin a, #destination a{
    text-decoration: underline;
}

#dialog {
  display: none;
}

#directions p {
  margin: 4px 5px 0.3em 5px;
}

#directions h2 {
  margin: 0px 0px 0.3em 5px;
  font-weight: bold;
  font-size: 1.2em;
  color: white;
}

#submit-area {

    width: 50%;
}

#origin input, #destination input {
  margin: 0px 5px 0px 5px;
  width: 300px;
  border: 1px #777 solid;
  background-color: #000;
  color: white;
  font-size: 1em;
  padding: 0.3em;
}

#swap {
    margin-left: 50%;
}

#route-options {
    font-size: 1.1em;
    padding: 0px 0px 20px 10px;
}


/* ------------------------------------------------------------ */
/* Route */
/* ------------------------------------------------------------ */
#route {
    display: none;
    clear: both;
    color: #111;
    background-color: #8d8d8d;
    width: 320px;
    margin: 20px 0px;
}

#route-header {
    height: 26px;
    background: transparent url(/img/ui/top_route.png) no-repeat left top;
}

#route-header img.closebutton {
    float: right;
    position: relative;
    top: 6px;
    right: 4px;
    cursor: pointer;
}

#route-content {
    z-index: 5;
    /* background-color: #000; */
    background: transparent url(/img/ui/body_route.png) repeat-y left bottom;
}

#route-footer {
    background: transparent url(/img/ui/bottom_route.png) no-repeat left bottom;
    height: 15px;
}

#route td {
    background-color: #949494;
    color: #000000;
    border-style: none;
    font-size: 1.3em;
    text-shadow: #9e9e9e 1px 1px 0;
}

.ui-autocomplete { max-height: 300px; overflow-y: auto; }
