:root {
  --panel-width: 380px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html, body {
  height: 100%;
}
body {
  margin: 0px;
}
#sidebar {
  position: fixed;
  z-index: 100;
  left: 0px;
  width: var(--panel-width);
  height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
}



#grid {
  position: absolute;
  border: 0px;
  top:0;
  left:0;
  right: 0;
  width: 100%;
  height: 100%;
  padding:0;
  padding-left: var(--panel-width);
  display:grid;
  grid-template-rows: auto min-content;
}
#viewer, iframe {
  justify-self: stretch;
  align-self: stretch;
  border:none;

}

#page {
  width:100%;
  margin:0;
  padding:0;
  background:transparent;
}
#header {
  margin:0;
}
#sidebar {
  background:#022630;
}
#sidebar ul {
  list-style-type: none;
  padding: 0 1em;
}
#sidebar>ul>li ul li {
  font-size:80%;
}

#description-container {

  border-top:1px solid #10819b;
  box-shadow: 0 -1px 10px 0px #022630;

}
#description-toggle {
  display:block;
  width:100%;
  text-align: center;
  background:#022630;
}
#description-toggle:hover {
  background:#111;
}
#description {
  background: #022630;
  padding: 20px;
  font-size: 80%;
  max-height:300px;
  overflow: auto;
}

#description-container.closed {
  height:32px;
  overflow:hidden;
}
#description-container.closed #description {
  overflow:hidden;
}


#menu a {
  display:block;
  padding:5px;
  color:#ff9595;
}
#menu a:hover {
  background:#0d414e;
  color:#fc3b3b;
}
.exp-date {
  color:#aaa;
  font-size:50%;
  padding-top:0.5em;
  float:right;
  font-family: "Consolas", monospace;
}

#menu a.current{
  background:#00607a;
  color:#8ce1f5;
}
