body {
  overflow: hidden;
}

#little_menu {
    padding-right: 2.5rem;
    top: -.05rem;
}

#exit_btn:hover {
    color: #ddd;
    background-color:#555;
}

#exit_btn {
    color: #999;
    padding: .4rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    float: right;
    margin-right: 10px;
}

/*.expanded #exit_btn {
    display: none;
}*/

/*.toggle-topbar.exit-button a {
    color: #ddd;
    padding: .4rem;
    border-radius: 2rem;
    position: relative;
    right: 1rem;
    top: -0.6rem;
    font-size: x-large;
}*/

#exit_small {
    color: #999;
    padding: .3rem;
    border-radius: 2rem;
    position: relative;
    top: .4rem;
    margin-right: 10px;
    font-size: 1.2rem;
}

#exit_small:hover {
    color: #ddd;
    background-color:#555;
}

#preview {
  position: relative;
}

#preview #button-help {
    position: absolute;
    background-color: #313366;
    float: left;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    line-height: 130%;
    color: #eee;
    text-align: center;
    font-size: 1rem;
    font-family: serif;
    -webkit-box-shadow: 1px 1px 1px 0px #aaaaaa;
    -moz-box-shadow:    1px 1px 1px 0px #aaaaaa;
    box-shadow:         1px 1px 1px 0px #aaaaaa;
}

#preview .code-line {
  position: absolute;
  left: 15%;
  width: 600px;
  margin-left: -75px;
  font-size: 150%;
}

#preview .actions .run-now {
  right: 0;
  margin: 5px;
  padding: 0.7rem;
  border-radius: 10px;
  color: #eee;
  background-color: #32B433;
}

#preview .actions > * {
  cursor: pointer;
  position: absolute;
  z-index: 2;
}

#preview .actions > :hover {
  opacity: 0.7;
}

#preview .run-now,
#preview #button-pause,
#preview #button-play,
#preview #button-reset {
  display: none;
}

#preview.live .actions .run-now,
#preview.running .actions #button-pause,
#preview:not(.live):not(.running) .actions #button-play,
#preview:not(.live) .actions #button-reset {
  display: block;
}

#preview .dialog {
  display: none;
  position: absolute;
  right: 1em;
  top: 12em;
  background: #fff;
  z-index: 10;
  padding: 0;
  overflow: hidden;
  width: 450px;
  height: 510px;
  margin-left: -225px;
  margin-top: -250px;
  border: 1px solid #ddd;
}

#preview .dialog .header {
  height: 60px;
  font-size: 2rem;
  padding: 10px 40px;
  border-bottom: 1px solid #ddd;
}

#preview .dialog .content {
  padding: 10px 40px;
  overflow-y: auto ! important;
  height: 368px;
  }

#preview .dialog h2, #preview .dialog h3 {
  color: #444;
}

#preview .dialog table {
  width: 100%;
}

#preview .dialog .footer {
  text-align: center;
  height: 80px;
  padding: 10px 40px;
  border-top: 1px solid #ddd;
}

#preview .dialog button:hover {
  opacity: 0.9;
}

#preview .loading {
  width: 300px;
  height: 120px;
  margin-left: -150px;
  margin-top: -60px;
  padding: 2em;
}

#preview .loading progress {
  display: block;
  width: 100%;
}
