* {
  box-sizing: border-box; }

body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1em;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  position: absolute; }

p {
  margin-left: 2em;
  margin-right: 3em;
  line-height: 1.4em; }

a {
  text-decoration: none;
  color: black; }

a:hover {
  color: #888888; }

p a {
  font-weight: bold; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: tahoma, arial, helvetica, sans-serif; }

h1 a, h2 a, h3 a, h4 a {
  border-style: none; }

h3 {
  margin-top: 1.0em;
  margin-bottom: 1.12em;
  font-size: 1.5em;
  font-weight: bold; }

h4 {
  margin-top: 1.0em;
  margin-bottom: 1.12em;
  font-size: 1.3em;
  font-weight: bold; }

hr {
  border: 0;
  height: 1px; }

code {
  font-weight: normal;
  font: "Courier New", Courier, monospace; }

img {
  border-width: 0;
  max-width: 100%; }

img.decorative {
  float: right; }

.copyright a {
  text-decoration: none; }

.copyright a:link, .copyright a:visited, .copyright a:active {
  text-decoration: none; }

#container {
  margin: 0 auto;
  max-width: 840px;
  background: #FFFFFF;
  border: 1px solid #DDDDDD; }

#header {
  background-color: #49515C;
  background-image: url(/images/header.jpg);
  background-repeat: no-repeat;
  background-position: right top;
  padding: 28px 10px;
  color: #E0E0E0; }

#header h1 {
  margin: 0;
  font-size: 2.4em; }

#header h2 {
  margin: 0;
  font-size: 1.8em; }

#title {
  font-family: Verdana, sans-serif;
  font-weight: normal; }

#nav {
  margin: 0;
  padding: 0;
  margin-bottom: 0.5em;
  overflow: hidden; }

#nav a {
  border-bottom: 0;
  padding: 0.5em 0.5em;
  float: left;
  font-weight: bold; }

#nav .hamburger {
  display: none; }

#main {
  float: left;
  width: 66.666%;
  padding: 10px;
  text-align: justify;
  word-spacing: 2px;
  margin-bottom: 0.5em; }

#sidebar {
  float: left;
  width: 33.333%;
  word-spacing: 2px;
  padding: 10px;
  border-width: 1px;
  border-style: solid;
  font-size: 75%;
  margin-bottom: 0.5em; }

#footer {
  clear: both;
  background-color: #49515C;
  background-repeat: no-repeat;
  background-image: url(/images/footer.jpg);
  background-position: right top;
  border-top-width: 0.5em;
  border-bottom-width: 0.5em;
  margin-top: 0.5em;
  font-size: 0.8em;
  padding: 10px;
  line-height: 16px; }

#footer a {
  text-decoration: none; }

div#QuoteOfTheDay {
  min-height: 5em;
  /* allocate fixed height div to prevent load flicker */
  opacity: 0; }

div#QuoteOfTheDay.showing {
  opacity: 1;
  transition: opacity 2s; }

.btn {
  border: 1px solid transparent;
  border-radius: 4px;
  margin-left: 15px; }

.btn-primary {
  color: #fff;
  background-color: #428bca;
  border-color: #357ebd;
  display: block;
  width: 80%; }

.btn-success {
  color: #fff;
  background-color: #5cb85c;
  border-color: #4cae4c; }

label {
  display: inline-block;
  margin-bottom: 5px;
  margin-left: 15px;
  font-weight: bold; }

@media screen and (max-width: 840px) {
  #nav a {
    border-right: 0; }
  #nav a:not(:first-child) {
    display: none; }
  #nav a.hamburger {
    float: right;
    display: block; }
  #nav.expanded {
    position: relative; }
  #nav.expanded a.hamburger {
    position: absolute;
    right: 0;
    top: 0; }
  #nav.expanded a {
    float: none;
    display: block;
    text-align: left; }
  div #header, div #footer {
    background-image: none;
    padding: 0.2em 0.3em;
    height: auto; }
  #main, #sidebar {
    width: 100%; }
  #header h1 {
    font-size: 1.5em; }
  #header h2.page-title {
    display: inline;
    font-size: 1.5em; } }

@media screen and (min-width: 1920px) {
  .hidden-xl {
    display: none; } }

@media screen and (min-width: 1280px) and (max-width: 1920px) {
  .hidden-lg {
    display: none; } }

@media screen and (min-width: 840px) and (max-width: 1280px) {
  .hidden-md {
    display: none; } }

@media screen and (min-width: 480px) and (max-width: 840px) {
  .hidden-sm {
    display: none; } }

@media screen and (max-width: 480px) {
  .hidden-xs {
    display: none; }
  img.decorative {
    display: none; } }
