:root {
  font-size: 15px;
  --action: darkred;
  --limit: 60rem;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: #555;
  font-family: "Saira", sans-serif;
  color: white;
  min-height: 100vh;
  padding: 3rem 0 0 0;
  position: relative;
}
h2 {
	background-color:#ff0000AA;
	padding: 5px;
}
a {
	color:yellow;
}
.hiddeninput {
  position: absolute;
  left: -100vw;
}
input#toggle + label {
  background: var(--action);
  box-shadow: 0 0 1rem 1rem rgba(0, 0, 0, 0.09);
  color: white;
  display: block;
  padding: 1rem;
  position: fixed;
  text-align: right;
  top: 0;
  width: 100%;
  z-index: 999;
}
input#toggle + label::before {
  content: "Show ";
}
input#toggle:checked + label::before {
  content: "Hide ";
}
input#toggle:checked ~ nav {
  display: block;
}
input#toggle:checked ~ main,
input#toggle:checked ~ footer {
  display: none;
}
nav {
  background-color: var(--action);
  display: none;
  margin: 0 auto;
  max-width: var(--limit);
  min-height: 3rem;
  position: relative;
  width: 100%;
}
nav ul {
  background-color: var(--action);
  z-index: 999;
}
ul {
  list-style: none;
  width: 100%;
  position: relative;
}
li {
  position: relative;
}
li li {
  padding: 0 0 0 2rem;
}
nav a {
  color: white;
  display: block;
  width: 100%;
  padding: 1rem;
  clear: both;
  position: relative;
  text-decoration: none;
}
nav a:hover {
  background-color: rgba(0, 0, 0, 0.15);
}
nav > a {
  text-align: right;
}
nav ul li a:not(:last-child) {
  padding: 1rem 2rem 1rem 1rem;
}
nav ul li a:not(:last-child)::after {
  line-height: 1rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  content: " \025BE";
}
li:focus-within > ul,
li:hover > ul {
  display: block;
  height: auto;
  overflow: visible;
}
main {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--limit);
}
article {
  background: lightgrey;
  flex: 1;
  padding: 1rem;
}
h1 {
  font-size: 1.5rem;
  line-height: 1.5rem;
  margin: 0 0 1rem 0;
}
h2 {
  font-size: 1.2rem;
  line-height: 1.2rem;
  margin: 0 0 1rem 0;
}
p {
  margin: 1rem 0 0 0;
}
ul + a {
  display: none;
}
aside {
  background-color: silver;
  padding: 1rem;
  width: 100%;
}
footer {
  background-color: darkgrey;
  margin: 0 auto;
  max-width: var(--limit);
  padding: 1rem;
  width: 100%;
}
@media (min-width: 900px) {
  body {
    padding: 0;
  }
  input#toggle + label {
    display: none;
  }
  nav,
  nav > ul {
    display: block !important;
  }
  nav > ul > li {
    float: left;
  }
  nav li ul {
    height: 0;
    overflow: hidden;
    position: absolute;
    top: 100%;
  }
  nav li li {
    padding: 0;
  }
  nav li > a:not(:last-child)::after {
    line-height: 1rem;
    content: " \025B8";
  }
  nav > ul > li > ul > li > ul {
    top: 0;
    left: 100%;
  }
  nav > ul:hover + a {
    display: block;
    height: auto;
    overflow: visible;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9;
    background: rgba(0, 0, 0, 0.3);
  }
  main {
    display: flex !important;
    flex-direction: row;
  }
  aside {
    max-width: 25%;
  }
  footer {
    display: flex !important;
  }
}

#breadcrumb {
	padding:10px 30px;
}

#content {
	padding:10px 30px;
}

.list_wrapper {
	display: flex;
}

.parameter_col {
	flex: 20%;
}

.result_col {
	flex: 80%;
}

div.filter {
	margin: 10px 0;
}

div.filter h3 {
	background-color:blue;
}

.tab-panel {
	display: none;
}
.tab-panel.active {
	display: flex;
	flex-wrap:wrap;
}
.tab-button.active {
	background-color: lightblue; /* Example styling */
}
    
iframe {
	position:relative;
	z-index:0;
}
.swatchholder {
	width:150;
	display:inline-block;
	background-image: linear-gradient(45deg, #808080 25%, transparent 25%), linear-gradient(-45deg, #808080 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #808080 75%), linear-gradient(-45deg, transparent 75%, #808080 75%);
	background-size: 10px 10px;
	background-position: 0 0, 0 5px, 15px -5px, -5px 0px;
}
.swatch{
	display:inline-block;
	border:1px solid black;
	width:20px;
	height:20px;
}
.fc-event-time, .fc-event-title {
	padding: 0 1px;
	white-space: normal;
}

.range-slider-container {
  position: relative;
  width: 300px;
  margin: 10px auto;
}

input[type="range"] {
  width: 100%;
  position: absolute;
  pointer-events: none; /* Allow events to pass through to the track */
}

.video-wrap {
	display:flex;
	flex-wrap:wrap;
	position:relative;
	z-index:0;
}
.video-small {
	width:240px;
	padding:10px;
	position:relative;
	isolation: isolate;
	z-index:0;
}
.video-title { 
	display:block;
	font-weight:bold;
	color:white;
	padding: 5px 0;
}
.video-container {
	position: relative; /* Allows absolute positioning for the iframe */
	width: 100%;       /* Ensures the container spans the full width of its parent */
	padding-bottom: 56.25%; /* This is the key!  Calculates the height based on a 16:9 aspect ratio */
	overflow: hidden; /* Hides any overflowing content if the iframe somehow exceeds its container */
}

.video-container iframe {
	position: absolute; /* Positions the iframe relative to the container */
	top: 0;
	left: 0;
	width: 100%;      /* Stretches the video to fill the width of its parent container */
	height: 100%;     /* Stretches the video to fill the height of its parent container */
	border: 0;        /* Removes the default iframe border */
	isolation: isolate;
	z-index:0;
}

#listdatamenu {
	position:absolute;
	display:none;
	width:200px;
	background-color: #555;
	border:thin solid white;
	padding:8px;
}

#datamenu {
	position:relative;
	display:inline-block;
	border: thin solid yellow;
	border-radius:3px;
	padding:3px 5px;
	text-decoration:none;
}

div.feedstock_option {
	position:absolute;
	display:none;
	background-color: #555;
	border:thin solid white;
	padding:8px;
}

.fomenu {
	display:inline-block;
	border: thin solid yellow;
	border-radius:3px;
	padding:3px 5px;
	text-decoration:none;
}

.new-option {
	display:none;
}

.range-slider-container {
  width: 100%;
  max-width: 400px;
  margin: 2px auto;
}

.range-inputs {
  position: relative;
  height: 10px; /* Adjust height as needed */
}

/* Overlap the two range inputs */
.range-inputs input {
  position: absolute;
  width: 100%;
  -webkit-appearance: none; /* Remove default styling for Webkit */
  appearance: none;
  background: transparent; /* Make track invisible */
  pointer-events: none; /* Disable mouse events on the track */
}

/* Style the thumbs */
.range-inputs input::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  background-color: #007bff;
  border: 1px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: all; /* Re-enable mouse events for the thumb */
}

.range-inputs input::-moz-range-thumb {
  border: none; /* For Firefox */
  height: 20px;
  width: 20px;
  background-color: #007bff;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: all;
}

/* Style the track bar to show the selected range */
.range-inputs::before {
  content: '';
  position: absolute;
  height: 6px; /* Adjust thickness as needed */
  background-color: #ccc;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 5px;
}

.output-values {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}
