@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;
  }
}
/*+++++++++++++++++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;
}

form.detail {
  max-width: 800px;
  display: block;
  height: 98%;
  width: 98%;
  top: 1%;
  background: url(../graphics/background.jpg);
  box-shadow: 2px 2px 20px 15px gray;
  overflow-y: auto;
}
form.detail span {
  display: flex;
  background: none;
  color: inherit;
  margin-left: 1em;
  font-size: 20pt;
  font-weight: bold;
}
form.detail .msg {
  background: none;
  height: 3em;
  border-bottom: 1pt gray solid;
}
form.detail .msg span.xbtn {
  font-size: 24pt;
  padding-right: 0.5em;
}
form.detail div {
  display: grid;
  grid-template-columns: 100px auto;
}
form.detail div span {
  font-size: inherit;
  font-weight: normal;
  overflow-wrap: anywhere;
}

body {
  background-image: linear-gradient(#33648b, black);
}

#pagewrapper {
  width: 100%;
  max-width: 900px;
  background: url(../graphics/background.jpg);
  height: unset;
}
#pagewrapper.opaque {
  opacity: 0.5;
  max-width: 800px;
}

#header {
  background: url(../graphics/header.jpg);
  height: 8vh;
}
#header a#je {
  position: absolute;
  z-index: 1000;
  margin: 1em;
  color: silver;
  text-decoration: none;
}
#header a#je:hover {
  background: silver;
}
#header a#je::before {
  content: "";
  cursor: pointer;
  font-size: 24pt;
}

.list,
.header {
  display: grid;
}
.list span,
.header span {
  overflow-wrap: anywhere;
  border-left: 1px solid silver;
  border-bottom: 1px solid silver;
}

.header {
  background: grey;
  position: sticky;
  top: 0;
}
.header span {
  text-align: center;
  display: flex;
  flex-direction: column;
  padding: 0.5em 0;
}
.header .sort::before {
  content: "";
  font-family: fontAwesome;
  padding-right: 0.25em;
}
.header btn,
.header btn::before {
  cursor: pointer;
}
.header btn.mask {
  background: silver;
  margin: 5px;
  border: 1px solid silver;
  border-radius: 5px;
}

.list span {
  padding: 0.25em;
}
.list .name {
  cursor: pointer;
}
.list .name::before {
  content: "";
  padding-right: 0.25em;
}
.list img.pic {
  max-width: 80px;
  max-width: 80px;
}
.list img.noimg {
  max-width: 50px;
}
.list .sound {
  text-align: center;
  margin-top: 0.5em;
}
.list .sound a::before {
  content: "";
  font-family: fontAwesome;
  cursor: pointer;
  font-size: x-large;
}
.list .sound.gray {
  color: silver;
}
.list .sound.gray::before {
  cursor: default;
}
.list .category4 {
  opacity: 60%;
}
.list span.pic {
  padding: 0;
  text-align: center;
}
.list span.name.masked {
  background: lightgray;
  color: lightgray;
}
.list span.name.masked:hover {
  background: none;
  color: inherit;
}

@media only screen and (min-width: 0px) and (max-width: 480px) {
  /* smartphones, iPhone, portrait 480x320 phones */
  .header {
    font-size: smaller;
  }

  span.description {
    display: none;
  }

  .list,
.header {
    grid-template-columns: 80px 2fr repeat(3, 1fr) 3em;
  }
}
@media only screen and (min-width: 481px) {
  span.description {
    display: inherit;
  }

  .list,
.header {
    grid-template-columns: 80px 2fr 3fr repeat(3, 1fr) 3em;
  }
}