.page.dimmer {
  position: absolute;
  width: 1px;
  height: 1px;
  z-index: 0;
  left: -999px;
  background-color: rgba(0,0,0,0.5);
  cursor: pointer;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}
button.closeOverlay {
  position: absolute;
  z-index: 9999;
  left: -50px;
  top: 15px;
  font-family: 'din', sans-serif;
  font-size: 30px;
  background-color: #eee;
  border-color: #eee;
  -webkit-transition: left 0.15s ease-out;
  transition: left 0.15s ease-out;
}
html.overlay.active {
  overflow-y: hidden;
}
html.overlay.active body {
  overflow-y: scroll;
}
html.overlay.active .navbar-fixed-top {
  margin-right: 15px !important;
}
html.overlay.active .page.dimmer {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9998;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 1;
}
html.overlay.active button.closeOverlay {
  left: 15px;
}
div.overlay {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 25%;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background-color: #eee;
  -webkit-transform: translateX(1200px);
  -ms-transform: translateX(1200px);
  transform: translateX(1200px);
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  -webkit-box-shadow: -4px 0px 25px 0 rgba(0,0,0,0.1);
  box-shadow: -4px 0px 25px 0 rgba(0,0,0,0.1);
}
div.overlay.active {
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
div.overlay iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background-color: #eee;
}
body.touch div.overlay {
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
  overflow-y: scroll;
}
body.phone div.overlay {
  left: 10%;
}
