body {
  background-color: #003300;
}

div.background {
  margin: 2em;
  background-color: #EAF1DD;
  padding: 2em;
  padding-top: 0em;
  border-radius: 5px;
}

header > h1 {
  font-size: medium;
  margin: 0;
  margin-left: -2em;
}

nav.menu {
  background-color: #C2D69A;
  margin-left: -2em;
  padding-left: 2em;
  margin-right: -2em;
  padding-right: 2em;
}

nav.menu a {
  font-weight: bold;
}

nav.menu ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

nav.menu > ul {
  padding-top: 0.25em;
  padding-bottom: 0.25em;
}

nav.menu > ul > li {
  font-weight: bold;
  margin-left: 1em;
  margin-right: 1em;
  cursor: pointer;
  display: inline-block;
  /*float: left;*/
  color: #000000;
  font-style: normal;
  text-decoration: underline;
}

nav.menu > ul > li > ul {
  font-weight: normal;
  list-style-type: none;
  transform: scaleY(0);
  position: absolute;
  background-color: #C2D69A;
  padding-left: 1em;
  padding-right: 1em;
  padding-bottom: 3px;
  padding-top: 10px;
  z-index: 5;
  transform-origin: top;
  transition-property: transform;
  transition-delay: 5ms;
}

nav.menu > ul > li > ul > li > p {
  display: block;
  margin: 0;
  padding-bottom: 2px;
}

.lottery_short_details {
  padding-left: 2em;
}

nav.menu > ul > li > ul > li > a {
  padding-bottom: 2px;
}

nav.menu > ul > li:hover > ul,
nav.menu > ul > li > ul:hover,
nav.menu > ul > li:active > ul,
nav.menu > ul > li> ul:active {
  transform: scaleY(1);
  display: block;
}

nav.menu a:link {
  color: #000000;
  font-weight: bold;
  font-style: normal;
  text-decoration: underline;
}

nav.menu a:visited {
  color: #000000;
  font-weight: bold;
  font-style: normal;
  text-decoration: underline;
}

nav.menu a:hover,
nav.menu a:active {
  color: #000000;
  font-weight: bold;
  font-style: normal;
  text-decoration: underline;
}

nav.menu span.username {
  font-style: italic;
}

article {
  text-align: justify;
}

article > p > q {
  font-style: italic;
}

h2 {
  font-weight: bold;
  font-size: 1.2em;
}

article > section > dl > dt {
  font-style: normal;
  float: left;
  clear: left;
  width: 13em;
  text-align: left;
}

article > section > dl > dt:after {
  content: ":";
}

article > section > dl > dd {
  font-style: italic;
  padding-bottom: 0.5em;
  padding-left: 0.5em;
  margin-left: 13em;
}

article > section > dl > dd:after {
  content: "";
  display: block;
  clear: left;
}

article > section > dl > dd.emp {
  font-style: italic;
  font-weight: bold;
  color: red;
  padding-bottom: 0.25em;
  margin-left: 13em;
}

.terms {
  background-color: #C2D69A;
  margin: 2em;
  margin-bottom: 0;
  padding: 1em;
  padding-right: 0;
}

.terms > article {
  /*white-space:pre-wrap;*/
  overflow-y: scroll;
  padding-right: 1em;
  height: 50vh;
}

.terms h4 {
  margin-bottom: 0;
}

.terms p {
  margin-top: 0;
}

.floating {
  float: right;
  clear: right;
  margin-left: 2em;
  margin-right: 2em;
}

.floating-l {
  float: left;
  clear: right;
  margin-left: 2em;
  margin-right: 2em;
}

.note {
  font-size: small;
  font-style: italic;
}

div#status_info {
  position: sticky;
  top: 0;
  padding: 0;
  padding-bottom: 5px;
  margin: 0;
  margin-bottom: -2em;
  background-color: #003300;
}

div#status_info p {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 1.5em;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 1em;
  margin-right: 1em;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #003300;
  border-radius: 5px;
}

div#status_info p.info {
  background-color: #C2D69A;
  color: blue;
}

div#status_info p.warning {
  background-color: lemonchiffon;
  color: dimgray;
}

div#status_info p.error {
  background-color: brown;
  color: white;
}

div#status_info p.critical {
  background-color: red;
  color: white;
  font-weight: bolder;
}

div.form-div dl {
  margin-bottom: 0;
  margin-left: 1em;
}

div.form-div dt {
  font-style: normal;
  text-align: left;
}

div.form-div dd {
  font-style: normal;
  padding-bottom: 0.5em;
  margin-left: 2em;
}

div.form-div dd div {
  padding-bottom: 0.2em;
}

div.form-div {
  margin-right: 1em;
}

div.form-div > section {
  margin-left: 1em;
}

div.form-section {
  margin-left: 1em;
  padding-bottom: 0.25em;
  text-align: justify;
}

textarea {
  width: 30%;
  height: 10em;
}

input[type=text],
input[type=password],
input[type=email] {
  width: 30%;
}

.option_description {
  margin: 0;
  margin-bottom: 1em;
  padding-left: 3em;
}

.option_description > * {
  margin-top: 0;
}

span.no_photo:before {
  content: "❌";
  position: absolute;
}

div[popover] {
  border-color: #003300;
  background-color: #EAF1DD;
  padding: 0;
  border-radius: 5px;
  max-width: 40%;
}

div[popover] h2 {
  background-color: #C2D69A;
  font-size: larger;
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 0.3em;
  padding-bottom: 0.2em;
  margin: 0;
}

div[popover] > section {
  padding: 1em;
  padding-top: 0;
}

div[popover] textarea {
  width: 85%;
}

div[popover]::backdrop {
  background-color: black;
  opacity: 50%
}

p.button-pair {
  display:flex;
  justify-content: space-between;
}

.hidden {
  display: none;
}

nav.submenu {
  margin-left: -2em;
  padding-left: 3em;
  margin-right: -2em;
  padding-right: 2em;
  font-weight: bold;
}

nav.submenu > ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  padding-top: 0.75em;
  padding-bottom: 0.25em;
}

nav.submenu > ul > li {
  margin-left: 1em;
  margin-right: 1em;
  display: inline-block;
  color: #000000;
  font-style: normal;
}
