html {
    font-size: 11pt;
  }

/* Error message style */
.errmsg {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.errmsg-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 33%;
}

.errmsg-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.errmsg-close:hover,
.errmsg-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
        
/* progress message style */
#progress {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color:black;
  background-color: #FFFFFF;
  padding: 20px 20px;
  border: 3px solid blue;
}

/* header style */
.header-fixed {
    position: fixed;
    top: 0;
    background-color: rgba(19, 21, 25, 0.5);
    text-align: center;
    z-index: 1000; /* Ensure the header is above other content */
}

/* alternative article */
.close-button {
  -moz-transition: background-color 0.2s ease-in-out;
  -webkit-transition: background-color 0.2s ease-in-out;
  -ms-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;        
  content: '';
  display: block;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 100%;
  background-position: center;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20px' height='20px' viewBox='0 0 20 20' zoomAndPan='disable'%3E%3Cstyle%3Eline %7B stroke: %23ffffff%3B stroke-width: 1%3B %7D%3C/style%3E%3Cline x1='2' y1='2' x2='18' y2='18' /%3E%3Cline x1='18' y1='2' x2='2' y2='18' /%3E%3C/svg%3E");            
  background-size: 20px 20px;
  background-repeat: no-repeat;
}

.close-button:hover:before {
  background-color: rgba(255, 255, 255, 0.075);
}

.close-button:active:before {
  background-color: rgba(255, 255, 255, 0.175);
}


/* Example container */
.article-alt {
  -moz-transform: translateY(0.25rem);
  -webkit-transform: translateY(0.25rem);
  -ms-transform: translateY(0.25rem);
  transform: translateY(0.25rem);
  -moz-transition: opacity 0.325s ease-in-out, -moz-transform 0.325s ease-in-out;
  -webkit-transition: opacity 0.325s ease-in-out, -webkit-transform 0.325s ease-in-out;
  -ms-transition: opacity 0.325s ease-in-out, -ms-transform 0.325s ease-in-out;
  transition: opacity 0.325s ease-in-out, transform 0.325s ease-in-out;
  padding: 4.5rem 2.5rem 1.5rem 2.5rem ;
  position: relative;
  width: 50rem;
  //max-width: 100%;
  background-color: rgba(27, 31, 34, 0.85);
  border-radius: 4px;
  opacity: 0;
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
  //display: flex;
}

@media screen and (max-width: 736px) {

  .article-alt {
    padding: 3.5rem 2rem 0.5rem 2rem ;
    width: 30rem;
  }

//    .article-alt .close-button:before {
//      top: 0.875rem;
//      left: 0.875rem;
//      width: 2.25rem;
//      height: 2.25rem;
//      background-size: 14px 14px;
//    }
}

//@media screen and (max-width: 480px) {
//  .article-alt {
//    //padding: 3rem 1.5rem 0.5rem 1.5rem ;
//    width: 20rem;
//    background-color: lightblue;    
//  }
//}


/* Add some padding to the body to avoid content being hidden behind the header */
.content-fixed {
    padding-top: 100px; /* Adjust this value based on your header height */
}  

.download-table {
    border-collapse: collapse;
    border: 1px solid white;
    border-radius: 10px;
    width:210px;
}

/* measurement table */  
.measurement-table {
    border-collapse: collapse;
    border: 1px solid white;
    width:90%;
    margin-left:5%;
    margin-right:5%;    
}

.measurement-table th, .measurement-table td {
    border: 1px solid white;
    //padding: 8px;
    text-align: left;
}

.measurement-table th {
    background-color: #f2f2f2;
    color: black;
    text-align: center;
}
  
/* APU stuff */  
.processingelement {
  height: 165px;
  width: 115px;
  position: relative;
}

.processingresult {
  height: 25px;
  width: 75px;
  margin-top: 15px;
  margin-left: 17px;
}

/* Box */
.boxsp {
  position: absolute;
  border-radius: 6px;
  height: 160px;
  width: 110px;
  clear: both;
}

.grey {
  background-color: grey;
}
  
.red {
  background-color: red;
}

.green {
  background-color: green;
}

.blue {
  background-color: blue;
}  

ul {
  list-style; none;
}

ul li {
  display: inline-block;    
  margin-right: 10px;    
}

.icon {
    margin-top: 5px;
    text-align: center;
    text-decoration: none;
    border-bottom: none;
    position: relative;
}

/* Button */
input[type="submit"].edit,
input[type="reset"].edit,
input[type="button"].edit,
button.edit,
.button.edit {
  background-color: #ffffff;
  color: #1b1f22 !important;        
  font-size: 0.7rem;
  height: 1.8rem;
  width: 3.00rem;
  font-weight: 600;
  line-height: 2.0rem;
  padding: 0.00rem 0.25rem 0.00rem 0.25rem;
  letter-spacing: 0.1rem;
}

input[type="submit"].bypass,
input[type="reset"].bypass,
input[type="button"].bypass,
button.bypass,
.button.bypass {
  font-size: 0.6rem;
  height: 1.8rem;
  width: 3.00rem;
  font-weight: 600;
  line-height: 2.0rem;
  padding: 0.00rem 0.25rem 0.00rem 0.25rem;
  letter-spacing: 0.1rem;
}

input[type="submit"].results,
input[type="reset"].results,
input[type="button"].results,
button.results,
.button.results {
  background-color: #ffffff;
  color: #1b1f22 !important;                
  font-size: 0.6rem;
  height: 1.8rem;
  width: 5.00rem;
  font-weight: 600;
  line-height: 2.0rem;
  padding: 0.00rem 0.25rem 0.00rem 0.25rem;
  letter-spacing: 0.1rem;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button-audio,
.button {
  appearance: none;
  border-radius: 4px;
  border: 0;
  box-shadow: inset 0 0 0 1px #ffffff;
  //color: #ffffff !important;
  cursor: pointer;
  display: inline-block;
  outline: 0;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  
  background-color: #ffffff;
  color: #1b1f22 !important;                
  font-size: 0.6rem;
  height: 1.8rem;
  width: 5.00rem;
  font-weight: 600;
  line-height: 2.0rem;
  padding: 0.00rem 0.25rem 0.00rem 0.25rem;
  letter-spacing: 0.1rem;    
}

/* Graph EQ */
input[type=range][orient=vertical] {
    writing-mode: vertical-lr;
    direction: rtl;
    width: 3px;
    vertical-align: bottom;
}  
  .slider-container {
      display: flex;
      align-items: flex-end;
      justify-content: center;
      align-items: center;
      height: 50vh;
  }
  .slider-wrapper {
      display: flex;
      flex-direction: column;
      //align-items: center;
      margin: 0 5px;
  }
  .slider-wrapper label {
      font-size:6px;
  }
  .slider {
      -webkit-appearance: none;
  }



/* Graph */
  .graph {
    border-radius: 4px;
    border: 0;
    display: inline-block;
    position: relative;
  }

    .graph:before {
      pointer-events: none;
      border-radius: 4px;
      content: '';
      display: block;
      height: 100%;
      left: 0;
      opacity: 0.5;
      position: absolute;
      top: 0;
      width: 100%;
    }

    .graph img {
      border-radius: 4px;
      display: block;
    }

    .graph.left, .graph.right {
      max-width: 40%;
    }

      .graph.left img, .graph.right img {
        width: 100%;
      }

    .graph.left {
      float: left;
      padding: 0 1.5em 1em 0;
      top: 0.25em;
    }

    .graph.right {
      float: right;
      padding: 0 0 1em 1.5em;
      top: 0.25em;
    }

    .graph.fit {
      display: block;
      margin: 0 0 2rem 0;
      width: 100%;
    }

      .graph.fit img {
        width: 100%;
      }

    .graph.main {
      display: block;
      margin: 2.5rem 0;
      width: 100%;
    }

      .graph.main img {
        width: 100%;
      }

    @media screen and (max-width: 736px) {

      .graph.main {
        margin: 2rem 0;
      }

    }

    @media screen and (max-width: 480px) {

      .graph.main {
        margin: 1.5rem 0;
      }
    }

