html, body {margin:0;padding:0;height:100%}

html, body, #content{
  height:100%;
}

#top-panel{
  display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
  display:-webkit-flex;
  display:-webkit-flexbox;
  display:-ms-flex;
  display: flex;
  margin-bottom: 10px;
}

#docking-map-container{
  display: flex;
  flex-direction: column;
  height: 400px;
  width: 600px;
}

#docking-map{
  flex-grow: 1;
  position: relative;
}

#docking-map:-webkit-full-screen{
  width: 100%;
  height: 100%;
}

.dg.main{
  position: absolute;
  top: 0px;
  right: 0px;
  background: none;
}

#docking-map-container .dg.main input{
  font-family: sans-serif;
}

#bottom-panel{
  display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
  display:-webkit-flex;
  display:-webkit-flexbox;
  display:-ms-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
}

#bottom-panel > div{
  margin-right: 10px;
}

#navigation-and-buttons{
  display: inline-block;
  margin-bottom: 10px;
}

#navigation-throttle-and-buttons{
  text-align: center;
}

#button-panel{
  margin-top: 10px;
  text-align: center;
}

#throttle-panel{
  margin-right: auto;
  margin-bottom: 5px;
}

.throttle-wrapper{
  width: 180px;
}

.throttle-wrapper p{
  font-size: 20px;
}

.throttle-wrapper .throttle{
  height: 20px;
}

#docking-info{
  margin-left: 5px;
  margin-right: 5px;
}

#camera{
  margin-left: 5px;
}