@front-face {
    font-family: SourceCodePro;
    src: url("fonts/SourceCodePro-Light.woff") format("woff"), 
         url('fonts/SourceCodePro-Light.otf') format("opentype"), 
         url('fonts/SourceCodePro-Light.ttf') format('truetype');
    font-weight: 300; 
}

@font-face {
    font-family: SourceCodePro;
    src: url("fonts/SourceCodePro-ExtraLight.woff") format("woff"), 
         url('fonts/SourceCodePro-ExtraLight.otf') format("opentype"), 
         url('fonts/SourceCodePro-ExtraLight.ttf') format('truetype');
    font-weight: 200; 
}

@font-face {
    font-family: SourceCodePro;
    src: url("fonts/SourceCodePro-Regular.woff") format("woff"), 
         url('fonts/SourceCodePro-Regular.otf') format("opentype"), 
         url('fonts/SourceCodePro-Regular.ttf') format('truetype');
    font-weight: normal; 
}

@font-face {
    font-family: SourceCodePro;
    src: url(fonts/SourceCodeVariable-Italic.ttf);
    font-style: italic;
}

html {
  font-size: 16px; /* rem = grid-Size */
}

h1 {
    /*text-shadow: 0.1px 0px #FF0000, -0.1px 0px #00FFFF;*/
}

ul li {
    list-style-type: "-";
}
/*
ul li:before {
    content: '... ';
}
*/


body {
    background-color: #FFFFFF;
    margin: 0px;
    font-family: 'SourceCodePro', 'Consolas', monospace;
    font-weight: 200;
    font-size: 14px;

    overflow-y: scroll; /* Make sure to have the scrollbar at the first load. Otherwise the viewport has the first width on first rendering */
}

#root {
    height: 200%;
}

#invalid-overlay {
    height: 100%;
    z-index: 9000;
    width: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    display: none;
}

p {
    line-height: 180%;
}

a {
    color: #040404;
}

a:visited {
    color: #040404;
}

#controls {
    position: absolute;
}

body > .errorify {
  color: red;
  font-family: 'SourceCodePro', 'Consolas', monospace;
  padding: 5px 10px;
  word-wrap: break-word;
}

td {
    padding-right: 1rem;
    padding-bottom: 2rem;
}


.textline {
    width: 100%;
    background-color: #040404;
    color: #FFFFFF;
    padding: 0.5rem 0.5rem;
    box-sizing: border-box;
}

.textline a {
    color:#FFFFFF;
}

.textline a:visited {
    color: #FFFFFF;
}

#greeding {
    text-align: center;
    padding-top: 12.5%;
    padding-bottom: 10rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

#greeding-logo {
    padding-bottom: 4rem;
}

#greeting-arrow {
  margin-top: 3.5rem;
}

.page-subtitle {
  margin-bottom: 1.5rem;
}


#guidance-start {
    text-align: center;
}

.preview-grid {
  display: flex;
  flex-direction: column;
  /*
   * Multiple objects in one row 
   * flex-flow: row wrap
   */
  justify-content: space-evenly;
}

.preview-container {
  position: relative;
  text-align: center;
  margin-bottom: 16rem;
  margin-left: auto;
  margin-right: auto;
}

a.open-preview {
}

#intro-screen {
  margin-bottom: 2rem;

}


.home-button {
  position: absolute;
  left: 1rem;
  top: 1rem;
}

@media only screen and (max-width: 600px) {
  .stage {
    flex-direction: column;
  }
  .stage-stack {
    bottom: 0rem;
    right: 1rem;
    top: auto;
    margin-top: 0rem;
  }
}

button {
  background: transparent;
  border: none;
  outline: 0;
  text-decoration: underline;
}
button:active {
  color: #040404;
}
button:hover {
  cursor: pointer;
}


.scene {
    position: relative;
    width: 100%;
    /*height: 100%;*/
    /*overflow: hidden;*/
}

.scene-announcrement {
    position: relative;
    text-align: center;
}
.scene-announcrement-content {
   position: absolute;
   width: 100%;
   left: 0%;
   top: 50%;
}

.fullscene-nav {
  position: absolute;
}

.fullscreen-logo {
  height: 5.5rem;
  width: 5.5rem;
  margin: 1rem;
  position: absolute;
}

.fullscreen-sample-id {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 70%;
}


.stage-bottom-right {
    position: absolute;
    right: 1rem;
    bottom: 3rem;
}

.stage-top-right {
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.about-button {
    margin-left: 1rem;
}

.about-content {
    content: "";
    display: table;
    clear: both;
}

.about-logo {
}

.about-side {
    position: absolute;
    margin-left: 1rem;
}

.about-main {
    margin-left: 7rem;
}

.loading {
    text-align: center;
    position: relative;
}
.loading-message {
    top: 50%;
    position: absolute;
}


.exposer-group {
    overflow: visible;
    margin-left: 1rem;
}



.btn {
    text-decoration: none;
    text-transform: uppercase;
    color: #040404;
    padding: 1rem 0.8rem 1rem 0.8rem;
    background-color: #FFFFFF;
    border: 1px solid #040404;
}

/*
 * vertical list of buttons
 */

.btn.vlist {
    margin-right: 1rem;
}

.btn:hover {
    background-color: #040404;
    color: #FFFFFF;
}

.btn.exposer-group-label {
    margin-bottom: 1rem;
    display: block;
    width: 9rem;
}
.exposer-group-label:hover,
.exposer-group-label.active {
    background-color: #040404;
    color: #FFFFFF;
}

.exposer-field {
  display: flex;
}
.exposer-field label {
    display: inline-block;
    vertical-align: top;
    margin-right: 1rem;
    margin-bottom: 1rem;
    min-width: 3.5rem;
}


@media only screen and (max-width: 600px) {
    .exposer-field label {
        margin-bottom: 1.5rem;
    }
}

input {
    height: 1.7rem;
}

input.numberInput {
    width: 100%;
    margin-left: 1rem;
    margin-right: 2rem;
    margin-top: 9px;
    outline: none;
    background: #040404;
    height: 1px;
    -webkit-appearance: none;
    appearance: none;
}

input.numberInput::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%; 
  background: #FFFFFF;
  border: 1px solid #040404;
  cursor: pointer;
}

input.numberInput::-moz-range-thumb {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #FFFFFF;
  
  border: 1px solid #040404;
  cursor: pointer;
}


/* Touch screens get bigger buttons */
@media (pointer: coarse) {
    input.numberInput::-webkit-slider-thumb {
      width: 1.5rem;
      height: 1.5rem;
    }

    input.numberInput::-moz-range-thumb {
      width: 1.5rem;
      height: 1.5em;
    }
}

.exposer-field input.stringInput {
    width: 200px;
    position: relative;
}

.exposer-field textarea {
    resize: none;
    margin-bottom: 1rem;
    margin-right: 1rem;
    margin-left: 0.5rem;
    font-family: 'Lucida Sans';
    border: 1px solid #040404;
}

.text-with-table {
    display: inline-block;
}

.sign-table {
    display: inline-block; 
    vertical-align: top;
    font-family: 'Lucida Sans';
    width: 14.4rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.sign-table-btn {
    display: inline-block; 
    vertical-align: top;
    text-decoration: none;
    padding: 0.2rem 0.5rem 0.2rem 0.5rem;
    color: #040404;
}

.sign-table-btn:hover {
    background-color: #040404;
    color: #FFFFFF;
}
.exposer-fields {
    position: absolute;
    top: 0px;
    left: 13rem;
    right: 180px;
}

.stage-top-left {
    /*height: 100%;*/
    width: 100%;
    display: table;
    overflow: visible;
    position: absolute;
    padding: 0 0;
    top: 1rem;
    z-index: 100;
    /*
    display: flex;
    align-itrems: center;
    justify-content: center;
    */
}

.popup-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 101;
    transform: translate(-50%, -50%); 
    background-color: #FFFFFF;
    border: 1px solid #040404;
    width: 37rem;
}

.popup-controls {
    position: absolute;
    right: 0px;
}
.popup-title {
    float:left;
    margin: 0.7rem;
}
.popup-content {
    margin: 3.5rem 1.0rem 2.5rem 1rem;
}

.popup-control {
    text-decoration: none;
    text-transform: uppercase;
    color: #040404;
    background-color: none;
    padding: 0.5rem;
    display: block;
}

.popup-control:hover {
    background-color: #040404;
    color: #FFFFFF;
}

.preset-picker {
    z-index: 100;
}

.preset-picker-arrows {
    display: block;
    margin-left: 1rem;
    margin-bottom: 1rem;
    position:relative;
}

.preset-picker-next {
    text-decoration: none;
    text-transform: uppercase;
    color: #040404;
    background-color: #FFFFFF;
    padding: 1rem 0.8rem 1rem 0rem;
    background-color: #FFFFFF;
    border: 1px solid #040404;
    display: inline-block;
    width: 4.5rem; 
    text-align: right;
    border-left: 0;
}

.preset-picker-previous {
    text-decoration: none;
    text-transform: uppercase;
    color: #040404;
    background-color: #FFFFFF;
    padding: 1rem 0rem 1rem 0.8rem;
    background-color: #FFFFFF;
    border: 1px solid #040404;
    display: inline-block;
    width: 4.5rem;
    border-right: 0;

}

.preset-picker-next:hover, 
.preset-picker-previous:hover {
    background-color: #040404;
    color: #FFFFFF;
}


.save-button {
    margin-right: 1rem;
    box-sizing: content-box;
    width: 3.0rem;
    display: inline-block;
    text-align: center;
}

.reset-button {
    box-sizing: content-box;
    width: 3.0rem;
    display: inline-block;
    text-align: center;
}


.end {
    position: relative;
    text-align: center;
    height: 100%;
}

.end-message {
    top: 50%;
    position: absolute;
}

.footer {
  width: 10%;
  height: 6rem;
}
