/* === Overset Replacements ====
   2024 | hc greier | Graz Austria
*/

* {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    overflow: -moz-scrollbars-vertical; 
    overflow-y: scroll;
  }
  
  body {
    font-size: 18px;
    padding: 0;
    margin: 0;
    background: url(../imgs/hintergrund.jpg);
    background-repeat: repeat;
    background-size: contain;
    background-attachment: fixed;
  }
  .logoimg {
    float: left;
    margin: 4px 1rem 4px 4px;
    border: none;
    width: 80px;
    height: auto;
    }
  
  .logoimg::after {
    clear: both;
  }
  
  .headerdiv {
    padding: 0;
    height: 90px;
    border-bottom: 1px solid #999;
    background-color: rgba(115, 183, 228, 0.85);
    background-color: #f5deb3;
    /* margin-top: -108px; */
  }
  
  .headerh {
    padding-top: 6px;
    margin: 0;
    border: none;
    background-color: transparent;
    font-family: "Courier New", monospace;
    font-weight: 700;
  }
  
  .subhead {
    font-size: 18px;
    font-style: normal;
    margin-top: -15px;
  }
    
  .container {
    text-align: center;
    margin: 0 auto;
    border: 2px solid #999;
    border-top: none;
    width: 100%;
    margin: 0;
    padding-bottom: 10px;
    height: calc(100vh-90px);
    background-color: #eee;
    background-color: transparent;
    overflow: auto;
  }
  
  textarea {
    box-sizing: border-box;
    width: 90%;
    font-family: "Courier New", monospace;
    padding: 10px;
    border: none;
    outline: none;
    border: solid 2px #999;
  }

  #inputStr {
    color: #222;
    background-color: #b9cfe7;
    margin: 10px 0 5px 0;
    font-family: "Courier New", monospace;
    font-size: 20px;
    font-weight: 700;
  }

  #outputStr {
    color: #222;
    background-color: #a5d1ad;
    margin: 10px 0 5px 0;
    font-family: "Courier New", monospace;
    font-size: 20px;
    font-weight: 700;
  }

  #buttons1,
  #buttons2 {
    float: clear;
    margin-left: 5%;
  }

  #foundNum {
    width: auto;
    border: 2px solid #999;
    padding: 2px 5px;
    font-family: "Courier New", monospace;
    font-size: 20px;
    font-weight: 700;
    margin-top: 6px;
    float: left;
  }

  .labeltxt {
    font-family: "Courier New", monospace;
    font-size: 24px;
    font-weight: 700;
    margin-left: 20px;
    margin-top: 6px;
    float: left;
  }

  /* ===== Differenzen Script insert/delete ===== */

  #showDiff {
    clear: both;
    margin-top: 3rem;
  }

  #differences {
    border: solid 2px #999;
    width: 90%;
    margin: 2rem auto;
    padding: 0 20px 10px 20px;
    white-space: pre-wrap;
    font-family: "Courier New", monospace;
    font-size: 20px;
    font-weight: 700;
    background-color: #fcfcd2;
    text-align: initial;
  }

  #differences h2 {
    font-family: "Courier New", monospace;
    font-weight: 700;
  }

  #differences ins {
    text-decoration: none;
    background-color: #d4fcbc;
    background-color: rgba(0, 255, 0, 0.25);
  }

  #differences del {
    text-decoration: line-through;
    background-color: rgba(255, 0, 0, 0.25);
    color: #555;
  }

  hr.myhr {
    margin: 0;
    padding: 0;
    height: 0;
    border-top: 1px solid #999;
  }
  
  h1 {
    font-family: "Courier New", monospace;
    font-size: 2.0rem;
    font-weight: 700;
    margin: 0;
    padding: 8px 0;
  }
  
  .w3-button {
    font-family: "Courier New", monospace;
    font-size: 1.5rem;
    font-weight: 700;
    float: none;
    width: 230px;
    margin: 0 10px;
    padding: 10px 10px 6px;
  }
  
  select {
    display: inline-block;
    font-family: "Courier New", monospace;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1rem 0 0 0;
    height: 46px;
  }
  
  ::placeholder {
    color: rgba(0, 0, 0, 0.4);
    opacity: 1; /* Firefox */
  }

  ::-ms-input-placeholder { /* Edge 12-18 */
    color: rgba(0, 0, 0, 0.4);
  }

/* ========== Checkbox Toggle ========== */

.switch1 {
  position: relative;
  /* display: inline-block; 
  width: 50px;
  height: 24px;*/
  width: 100px;
  height: 50px;
  vertical-align: text-top;
  background-color: rgb(94, 120, 238);
  float: left;
}

/* Hide default HTML checkbox */
.switch1 input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: transparent;
  -webkit-transition: .2s;
  transition: .2s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 42px;
  width: 42px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;   /* Thumb color */
  -webkit-transition: .2s;
  transition: .2s;
}

input:checked + .slider {
  background-color: transparent;   /* wenn bgr image! */
}

input:focus + .slider {
  box-shadow: 0 0 1px transparent; /* wenn bgr image! */
}

input:checked + .slider:before {
  -webkit-transform: translateX(50px);
  -ms-transform: translateX(50px);
  transform: translateX(50px);
}

#modetxt {
  position: relative;
  width: 330px;
  font-family: "Courier New", monospace;
  font-size: 1.6rem;
  font-weight: 700;
  padding: 6px 0.5rem;
  vertical-align: text-top;
  background-color: #CCD5E8;
  border: 1px dotted #333;
  border-left: none;
  float: left;
}

/* ==================================== */


/* =============== Media queries =============== */
@media only screen and (max-width: 1600px) {
  
}
@media only screen and (max-width: 1280px) {
  
}
@media only screen and (max-width: 1080px) {
  
}
@media only screen and (max-width: 992px) {
  .container {
    width: 100%;
    padding: 0;
  }
  h2 {
    font-size: 1.6rem;
    padding: 1rem 0 0.5rem 10px;
  }
  .flex-wrapper {
    width: 100%;
  }
}

@media only screen and (max-width: 860px) {
  
}

@media only screen and (max-width: 800px) {
  
}

@media only screen and (max-width: 650px) {
  
}

@media only screen and (max-width: 560px) {
  
}

@media only screen and (max-width: 480px) {
  .logoimg {
    transform: scale(0.75);
    margin: 4px;
  }
  .container {
    width: 100%;
    padding: 0;
  }
  .flex-wrapper {
    width: 100%;
  }
  .headerh {
    font-size: 1.6rem;
    padding-top: 1rem;
  }
  .subhead {
    font-size: 16px;
    margin-top: -6px;
  }
  .footer {
    font-size: 60%;
  }
}


/* ♫ So long, Marianne */