* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow-y: hidden;
  background: #fff;
  position: fixed;
  bottom: 0;
  font-family: 'Oxygen', sans-serif;
}

a {
  text-decoration: none;
  color: #c56ee3;
}

.colorDark {
  color: #383838;
}

.colorGreen {
  color: #00ff7f;
}

.colorGold {
  color: #ffe322;
}

.colorRose {
  color: #ff69b4;
}

.colorLilac {
  color: #c56ee3;
}

.colorBlue {
  color: #00bfff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oxygen', sans-serif;
}

a.smalllink {
  font-size: 8pt;
}

header#titlebar {
  width: calc(100vw);
  height: 64px;
  background: #383838;
  padding: 8px;
  float: left;
  margin: 0;
  border-bottom: 5px solid #00bfff;
  font-weight: 300;
}

header#main_title_container {
  width: calc(100vw - 16px);
  float: left;
}

header#main_title {
  float: left;
  font-size: 28px;
  color: #fff;
  padding: 10px 0;
}

header#login {
  float: right;
  display: block;
  text-align: right;
  font-weight: bold;
  margin: 0 8px;
}

aside#nav {
  float: left;
  height: calc(100vh - 64px);
  width: 64px;
  background: #383838;
  color: #ffffff;
  border-right: 5px solid #00bfff;
}

aside#nav ul li a {
  display: block;
  text-align: center;
  width: 64px;
  height: 64px;
  display: table-cell;
  vertical-align: middle;
  color: inherit;
  margin: auto 0;
  font-size: 32px;
}

aside#nav ul li a:hover {
  background: rgba(255,255,255,0.3);
  color: #ff69b4;
  text-decoration: none;
}

section#wrapper {
  padding: 8px;
  display: inline-block;
  float: left;
  height: calc(100vh - 96px);
  width: calc(100vw - 85px);
  overflow-y: scroll;
}

article.page {
  margin: 16px 8px;
  float:left;
  display: block;
  font-family: 'Lora', serif;
  color: #383838;
  min-width: 200px;
}

article.page h1,
article.page h2,
article.page h3,
article.page h4,
article.page h5,
article.page h6 {
  color: #00bfff;
  font-weight: bolder;
}

article.page h1 {
  color: #00bfff;
  font-size: 16pt;
}

article.page p {
  margin: 1em auto;
}

table.listtable {
  border-collapse: collapse;
}

table.listtable tr {
  border-bottom: 1px solid #00ff7f;
}

table.listtable th {
  font-weight: bold;
  font-size: 1.1em;
}

table.listtable td,
table.listtable th {
  padding: 4px 16px 4px 8px;
  vertical-align: middle;
}

table.listtable tr:nth-child(2n) {
  background-color: #d7ffea;
}

table.centerresults tr td {
  text-align: center;
}

table.centerresults tr td:first-child {
  text-align: left;
}

.btn {
  font-family: 'Oxygen', sans-serif !important;
}

input,
select {
  font-family: 'Oxygen', sans-serif !important;
}

ul.simple {
  list-style-type: none;
  padding: 0 0 1em;
}

ul.simple-nospace {
  list-style-type: none;
  padding: 0;
}

section#stack_top {
	height: calc(50vh - 134px);
  max-height: calc(50vh - 134px);
	margin: 20px;
	padding: 0;
	border-collapse: collapse;
	overflow-y: scroll;
	border-bottom: 1px solid #AAA;
}

section#stack_bottom {
	height: calc(50vh - 134px);
  max-height: calc(50vh - 134px);
	margin: 0;
	padding: 0 0 0 2em;
	border-collapse: collapse;
	position: absolute;
	overflow-y: scroll;
  width: calc(100vw - 132px);
}

section.view {
  margin: 2em auto;
}

section.view hr {
  margin: 0.5em auto;
}

article#patient_banner {
  margin:0;
  border: 3px solid #00bfff;
  height: 120px;
  position: sticky;
}

article#patient_banner section {
  float:left;
  padding: 0 2em;
}

table.reference td {
  vertical-align: top;
}

section#main {
  height: calc(100vh - 222px);
  overflow-y: scroll;
}

article.note-text {
  width: 100%;
  padding-bottom: 2em;
}

article.note-text p {
  margin: 1em auto;
}
article.note-text ul,
article.note-text ol {
  padding-left: 2em;
}

article.note-text p.byline {
  font-weight: bold;
  font-family: 'Oxygen', sans-serif;
  color: #00ff7f;
  margin: 1em;
}

article.note-text p.signature {
  font-style: italic;
  text-align: right;
  color: #ff69b4;
  margin: 1em;
}
