html * {
  font-size: 1.2rem;
  font-family: sans-serif;
  }
body {
  background-color: white;
  color: black;
  margin: 0;
  padding: 0;
  }
.mainpage {
  max-width: 35em;
  margin: 0 auto;
}
.story_body code {
  display: block;
  padding-left: 0.25em;
  padding-right: 0.25em;
  border-radius: 0.5em;
  border: 0.1em solid rgb(230, 230, 230);
  word-wrap: break-word;
  white-space: pre-wrap;
  min-height: 1em;
  cursor: pointer;
  }
.instant {
  transition: background-color 0.0s,
              border 0.0s,
              opacity 0.0s,
              font-size 0.0s,
              color 0.0s;
}
.fast {
  transition: background-color 0.25s,
              opacity 0.25s,
              font-size 0.25s,
              border 0.25s,
              color 0.25s,
              transform 0.25s;
}
.slow {
  transition: background-color 0.5s,
              border 0.5s,
              opacity 0.5s,
              font-size 0.5s,
              color 0.5s;
}
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
.inactive {
/*     background-color: rgb(230, 230, 230); */
  color: rgb(115, 115, 115);
  opacity: 0.5;
  }
.waiting {
  background-color: rgb(230, 100, 100);
}
.waitingbutton {
  background-color: black;
  color: white;
  opacity: 0.25;
}

.offscreen {
  transform: translateY(-150%);
}

.onscreen {
  transform: translateY(0%);
}

.hidden {
  opacity: 0 !important;
  font-size: 0 !important;
}
.hidden code {
  opacity: 0;
  font-size: 0;
}
.nodisplay {
  display: none !important;
}
.linetoggle code {
  display: inline-block;
  margin-left: 0.25em;
  padding-left: 0.25em;
  padding-right: 0.25em;
  border-radius: 0.5em;
  border: 0.1em solid rgb(230, 230, 230);
  word-wrap: break-word;
  white-space: pre-wrap;
  min-height: 1em;
  font-size: 75%;
  max-width: 90%;
}
.story_body {
  max-width: 95%;
  display: inline-block;
  padding-left: 1em;
  overflow: hidden;
  }
.story_body code {
  display: block;
  padding-left: 0.25em;
  padding-right: 0.25em;
  border-radius: 0.5em;
  border: 0.1em solid rgb(230, 230, 230);
  word-wrap: break-word;
  white-space: pre-wrap;
  min-height: 1em;
  cursor: pointer;
  }
.story_header {
  display: block;
  }
.story_time {
  font-size: 75%;
  opacity: 0.5;
}
.story_time_small {
  margin-bottom: -1em;
  font-size: 50%;
}
.story_func {
  font-size: 75%;
  opacity: 0.25;
}
.story {
  padding: 0.25em;
  position: relative;
  }
#searchmatches {
  font-size: 50%;
  margin: 0;
  padding: 0;
  }
#searchtotal {
  opacity: 0.5;
  font-size: 50%;
  margin: 0; 
  padding: 0;
  }
.status_bar {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  }
.status_bar div {
  padding: 0.5em;
  padding-bottom: 0em;
  }

.dropdown {
  position: relative;
  opacity: 1;
  background: white;
  color: gray;
  border-radius: 0.5em 0em 0em 0em;
  z-index: 3;
/*   border-radius: 0.5em 0.5em 0em 0em; */
}

.status_bar .dropdown_items {
  position: absolute;
  right: 0em;
  z-index: -1;
  color: black;
  background: red;
  margin: 0px;
  padding: 0.5em;
  opacity: 1;
  transform: translateY(-150%);
  border-radius: 0.5em 0em 0.5em 0.5em;
/*   border-radius: 0.5em; */
}

.dropdown_items div {
  white-space: nowrap;
}

.dropdown_items_safety {
  position: absolute;
  height: 2em;
  top: -2em;
  left: -1em;
  width: 100%;
  z-index: -3;
  background: none;
}

.dropdown_items a {
  color: white;
  transition: color 0.5s;
}

.dropdown_items a:hover {
  color: orange;
}

.dropdown_items a:focus {
  color: orange;
}

.dropdown:hover .dropdown_items {
  display: block;
  color: white;
  background: black;
  opacity: 1;
  transform: translateY(0%);
}

.dropdown:focus-within .dropdown_items {
  display: block;
  color: white;
  background: black;
  opacity: 1;
  transform: translateY(0%);
}

.dropdown:hover {
  opacity: 1;
  background: black;
  color: white;
}

.dropdown:focus-within {
  opacity: 1;
  background: black;
  color: white;
}

#flashMessage {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99;
  color: white;
  background: black;
  opacity: 0.95;
}

#flashMessage.offscreen {
  background: red;
}

#flashMessage div {
  position: relative;
  text-align: center;
  font-size: 300%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.colored_input {
  max-width: 100%;
  background-color: rgb(230, 230, 230);
  padding: 0.5em;
  border-radius: 0.5em;
  color: black;
  border: none;
  }
.uncolored_input {
  max-width: 100%;
  background-color: white;
  padding: 0em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  margin: 0;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  border-radius: 0.5em;
  color: black;
  border: none;
  cursor: default;
}
form textarea {
  width: 100%;
  height: 5em;
  min-height: 5em;
  max-width: 100%;
  min-width: 100%;
  }
#postlength {
/*   display: inline-block; */
  position: absolute;
  color: red;
  background-color: rgb(230, 230, 230);
  border-radius: 0.5em;
  border: 0.1em solid red;
  padding: 0.25em;
  opacity: 0;
  transition: transform 1s,
              font-size 0.1s,
              opacity 1s;
}
.single_line_input {
  width: 100%;
  max-width: 20em;
  padding: 1em;
  height: 2em;
  border: none;
  border-bottom: 2px solid white;
  }
.rot {
  transform: rotate(-30deg);
  }
.boxed {
  padding: 0.5em;
  background-color: rgb(240, 240, 240);
  border-radius: 0.5em;  
}
.centered_div {
  display: inline-block;
  text-align: center;
  width: 95%;
  max-width: 30em;
  }
.centered_div.fit {
  width: auto;
}

.left_aligned {
  text-align: left;
}

.bottom_right {
  display: block;
  text-align: right;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}

.bottom_right div {
  margin-bottom: 0.25em;
}

.centering_div_fixed {
  position: fixed;
  width: 90%;
  max-width: 20em;
  left: 50%;
  top: 45%;
  transform: translate(-55%,-50%);
  }
@media screen and (max-width: 400px), 
       screen and (max-height: 400px) {
  .centering_div_fixed * {
    font-size: 5vmin;
  }  
}
.centering_div {
  display: block;
  width: 100%;
  text-align: center;
  overflow-x: hidden;
}
.centering_div_fixed.fit {
  width: auto;
}
.button {
  border: 0.2em solid black;
  display: inline-block;
  padding: 0.5em;
  border-radius: 0.5em;
  cursor: pointer;
  text-align: center;
  min-width: 2.6em;
  }
.borderlessbutton {
  display: inline-block;
  padding: 0.5em;
  border-radius: 0.5em;
  cursor: pointer;
}
.threeup {
  position: relative;
  height: 2em;
}
.threeup .left {
  position: absolute;
  width: 49%;
  left: 0;
  top: 0;
  text-align: center;
}
.threeup .right {
  position: absolute;
  width: 49%;
  right: 0;
  top: 0;
  text-align: center;
}
.threeupcenter {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}


.w100 {
  width: 100%;
}
.twelve {
  width: 12em;
}
.ten {
  width: 10em; 
}
.small_input {
  width: 4em;
}
a {
  text-decoration: none;
  color: black;
  }
td {
  padding: 0.25em;
  } 
.invisible {
  opacity: 0;
  cursor: default;
}
.superinvisible {
  position: absolute;
  display: none;
  opacity: 0;
  cursor: default;
  width: 0px;
  height: 0px;
  padding: 0px;
  margin: 0px;
}


#login_forgotpassword * {
  font-size: 75%;
  opacity: 0.5;
}
#login_logo {
  position: fixed;
  height: 16.5vh;
  bottom: 0;
  left: 50%;
  text-align: center;
  transform: translateX(-50%);
}
#login_logo img {
  height: 96%;
}
#login_logo .productname {
  position: absolute;
  display: inline;
  bottom: 0.25vh;
  font-size: 2vh;
  left: 0;
  right: 0;
  text-align: right;
  color: rgb(170, 204, 255);
  font-weight: bold;
  padding: 0.075em;
  border-radius: 2em;
}
