@charset "UTF-8";
@font-face {
  font-family: FontAwesome;
  src: url("fonts/fontawesome-webfont.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
::before {
  font-family: fontawesome;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 100%;
  font-family: Consolas, Menlo, Monaco, monospace;
}

html,
body,
div,
main,
header,
footer,
form,
article,
nav,
span,
section,
input,
textarea,
select,
table {
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  background-image: linear-gradient(#20341e, black);
}

#pagewrapper {
  max-width: 900px;
  height: 100%;
}

@media only screen and (min-width: 0px) and (max-width: 480px) {
  /* smartphones, iPhone, portrait 480x320 phones */
  #pagewrapper {
    height: 100%;
  }
}
@media only screen and (min-width: 481px) {
  #pagewrapper {
    height: 100vh;
  }
}
@font-face {
  font-family: FontAwesome;
  src: url("fonts/fontawesome-webfont.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
::before {
  font-family: fontawesome;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 100%;
  font-family: Consolas, Menlo, Monaco, monospace;
}

html,
body,
div,
main,
header,
footer,
form,
article,
nav,
span,
section,
input,
textarea,
select,
table {
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  background-image: linear-gradient(#20341e, black);
}

#pagewrapper {
  max-width: 900px;
  height: 100%;
}

@media only screen and (min-width: 0px) and (max-width: 480px) {
  /* smartphones, iPhone, portrait 480x320 phones */
  #pagewrapper {
    height: 100%;
  }
}
@media only screen and (min-width: 481px) {
  #pagewrapper {
    height: 100vh;
  }
}
/*+++++++++++++++++default construction++++++++++++++++++++++++++++++++++++++++*/
::before, ::after, .awesome {
  font-family: "fontAwesome";
}

.modal article {
  display: flex;
}

.modal {
  /*essential: display and position*/
  display: grid;
  grid-template-rows: auto auto;
  position: fixed;
  z-index: 1000;
  /*i.e. on top*/
  top: 40%;
  /* or any value greater then probably 5 or so*/
  width: 3em;
  height: 0;
  /*transition to invisible*/
  /*optional
      transition: width .1s; */
  /*customizable:box, background & text*/
  background-color: black;
  /*anything you like */
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 5px;
  border: none;
  /*++++++++++++++++++++++++show mode++++++++++++++++++++++++++++++++++++++++++++++*/
  /*+++++++++++++++inside the box:two rows in grid layout++++++++++++++++++++++++++*/
  /*button styling all optional; prettify to your liking...*/
}
.modal.show {
  /*show the dialog box - essential*/
  width: 360px;
  height: auto;
  transition: 0.2s;
}
.modal.img {
  width: 95%;
  max-width: 80%;
  align-self: center;
  top: inherit;
  border: none;
}
.modal.img img {
  object-fit: contain;
  max-height: 80vh;
  border-radius: 5px;
}
.modal.img span {
  position: relative;
  left: -2rem;
  font-size: x-large;
  top: 0.3rem;
  width: 0;
}
.modal.show span {
  display: block;
}
.modal .msg {
  /*text row - essential*/
  /*layout parameters: preference*/
  overflow: hidden;
}
.modal .msg:before {
  color: #3462a0;
  padding: 1rem;
  font-size: xx-large;
}
.modal .msg.confirm:before {
  color: red;
  content: "";
}
.modal .msg.alert:before {
  content: "";
}
.modal .msg.input::before {
  color: green;
  content: "";
}
.modal .msg.spinner:before {
  content: "";
  -webkit-animation: fa-spin 1s infinite steps(8);
  animation: fa-spin 1s infinite steps(8);
}
.modal .msg :nth-child(1) {
  flex: 1;
}
.modal .msg span.xbtn {
  flex: 0;
  align-self: start;
  margin: -0.1rem;
  padding: 0.5rem;
  cursor: pointer;
}
.modal .msg span.xbtn:before {
  color: #1679d9;
  margin: 0;
  content: "";
}
.modal .msg span.emphasis {
  display: inline;
  font-size: larger;
  font-weight: bold;
  color: #696969;
}
@keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
.modal article.input {
  justify-content: center;
  padding-bottom: 0.5rem;
}
.modal article.input input {
  width: 80%;
}
.modal article.buttons {
  /*button row - positioning of buttons -- wherever you want*/
  place-self: end;
  padding: 0.25rem 0;
}
.modal span {
  display: none;
  margin: 0.5rem 0.2rem;
  color: #D6D6D6;
  /*contrast to background color*/
  font-size: smaller;
}
.modal span i {
  color: #808080;
  /*contrast to background color*/
  font-size: small;
}
.modal span u {
  font-size: small;
}
.modal button.remove {
  display: none;
  align-self: start;
  flex: 0 0 1em;
}
.modal input[type=button] {
  /*optional*/
  width: auto;
  padding: 0 1em;
  border-radius: 3px;
  min-width: 3em;
  height: 2em;
  font-size: smaller;
  font-weight: bold;
  background: none;
}
.modal input[type=button]:focus {
  /*optional*/
  background-color: #1E90FF;
  color: black;
  border-color: #1E90FF;
}
.modal input[type=button]:hover {
  /*optional*/
  background-color: #1E90FF;
  color: black;
  border-color: #1E90FF;
}

body {
  background-image: linear-gradient(#2f608d, black);
}

div#pagewrapper {
  overflow-x: auto;
  background: url("../graphics/background.jpg");
}

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

h2 {
  font-size: 16pt;
  margin: 10px 0px;
  color: gray;
  padding: 0;
}

p {
  margin: 5px 0;
  padding: 0;
}

header {
  display: flex;
  justify-content: flex-end;
  min-height: 50px;
  height: 9vh;
  max-height: 100px;
  background: url("../graphics/header.jpg");
}
header span {
  font-size: 10vw;
  align-self: center;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  text-align: right;
  color: white;
  opacity: 0.5;
}

main {
  overflow-y: auto;
  display: flex;
}
main section {
  padding: 0 0.5em;
}
main section article {
  flex-direction: column;
  text-align: left;
  align-items: flex-start;
}
main section article.image {
  margin: 35px 1.5em 0 0;
}
main section article.subject {
  font-size: 90%;
}
main div {
  display: flex;
  border-bottom: 2px silver solid;
  padding-bottom: 1em;
}
main section#leftbar,
main section#rightbar {
  flex-direction: column;
}
main section#main {
  flex: 4;
  flex-direction: column;
}
main img {
  width: 50px;
  padding: 20px;
  border: 1px gray solid;
  border-radius: 10px;
}
main img:hover {
  opacity: 50%;
}
main img#slideshow {
  padding: 30px 20px;
}

span.mask2 {
  font-size: smaller;
  background: rgba(255, 255, 255, 0.3);
  margin-bottom: 5px;
  border-radius: 5px;
  padding: 5px 0;
  cursor: pointer;
}
span.mask2:hover {
  background: white;
}

@media screen and (min-width: 900px) {
  header span {
    font-size: 64pt;
    width: 900px;
  }
}
@media screen and (max-width: 600px) {
  #leftbar,
#rightbar {
    display: none;
  }

  main {
    flex-direction: column;
  }

  #smallscreen {
    display: flex;
    flex-direction: column;
  }

  h2 {
    align-self: center;
  }

  .mask2 {
    text-align: center;
  }
}
@media screen and (min-width: 600px) {
  #leftbar,
#rightbar {
    display: flex;
    flex: 1;
  }

  #smallscreen {
    display: none;
  }

  main {
    flex-direction: row;
  }

  h2 {
    align-self: flex-start;
  }
}