html {
  height: 100%; /* Full height of the viewport */
  box-sizing: border-box; /* Borders and padding are included in the element's total width and height */
}

body {
  min-height: 100vh; /* Minimum height of 100% of the viewport height */
  padding-top: 100px;
  margin: 0; /* Removes default margin */
  display: flex;
  flex-direction: column; /* Stacks child elements vertically */
  font-family: 'Roboto Condensed', sans-serif;
  position: relative; /* Not necessarily needed unless you have absolutely positioned elements inside */
  background-repeat: no-repeat;
  background-attachment: fixed; /* Keeps the background stationary during scrolling */
  background-color: #3a5f67;
}
  
  
  h2 {
      text-align: center;
      font-family: 'Roboto Condensed', sans-serif;
      font-size: 24px;
      color: #000000;
  }
  
  .index-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: white;
    text-align: center;
    z-index: 1000; /* Ensure the header stays on top of other content */
}



  #main-header {
    padding-top: 50px;
    text-align: center;
    position: relative;
    z-index: 5;
    box-sizing: border-box;
  }

  #main-header h1{
    font-size: 60px;
    color: #ffffff;
    font-family: 'Roboto Condensed', sans-serif;
    margin-bottom: 25px;
    text-align: center;
}

#main-header h2{
  color: #ffffff;
  font-family: 'Roboto Condensed', sans-serif;
}

  #main-element {
    background-color: #f3f3f3;
    height: 120px;
    margin-bottom: 50px;
  }

  #main-element h1 {
    color: #000000;
    text-align: center;
    padding-top: 40px;
    font-size: 2em;
  }

  .flex-container-main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 220px;
  }

  #main-section {
    flex: 1; /* Allows the section to grow */
    margin-right: 20px; /* Adds some space between the text and the iframe */
    margin-bottom: 50px;
    margin-top: 150px;
    max-width: 1600px;
  }

  #main-section h1 h2{
    margin-bottom: 250px; /* Adds some space between the text and the iframe */
  }

  #main-section h1{
    font-size: 60px;
    color: #ffffff;
    font-family: 'Roboto Condensed', sans-serif;
    margin-bottom: 25px;
    text-align: left;
    margin-left: var(--margin-left);
}



#main-section h2{
  font-size: 20px;
  color: #ffffff;
  font-family: 'Roboto Condensed', sans-serif;
  margin-bottom: 25px;
  text-align: left;
}

.main-vq-image {
  max-width: 100px; /* Adjust as needed */
  height: auto; /* Maintain aspect ratio */
}

.main-text {
  display: flex;
  flex-direction: column;
}

 
  .nav-logo {
      width: 150px;
      float: left;
      padding: 0px 10px;
      margin-bottom: 10px;
  }
  
  .button {
      text-align: center;
      display: inline;
      margin-top: 2%;
      margin-bottom: 2%;
      margin-left: 42%;
      border-radius: 5px;
      font-weight: bold;
      border: 0.5px solid #222;
      background: transparent;
      color: #222;
      cursor: pointer;
      padding-top: 5px;
      padding-left: 15px;
      padding-bottom: 5px;
      padding-right: 15px;
      position: relative;
  }
  
  
  /* Linkable Text */
  .button-text {
    color:rgba(0, 0, 0, 0.9);
  }
  
  a:link { text-decoration: none; }
  a:visited { text-decoration: none; }
  a:hover { text-decoration: none; }
  a:active { text-decoration: none; }
  /**/
  
 
  
  #model-page {
      height: 600px;
      width: 1200px;
      margin-left: auto;
      margin-right: auto;
      margin-top: 20px;
      justify-content: center;
      position: relative;
      align-items: center;
      display: flex;
      border: 0 solid #E2E8F0;
      box-shadow: 0 14px 16px 10px rgba(0, 0, 0, 0.1), 0 12px 14px 10px rgba(0, 0, 0, 0.06);
      box-sizing: border-box;
      border-radius: 8px;
      z-index: 0;
      background-color: white;
  }

 /* Container for the model and chart to align them side by side */
.model-and-chart-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 20px;
}

/* Model iframe styling */
#search-model-page {
  height: 300px;
  width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0 solid #E2E8F0;
  box-shadow: 0 14px 16px 10px rgba(0, 0, 0, 0.1), 0 12px 14px 10px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  border-radius: 8px;
  margin-right: 20px; /* Adds space between the model and chart */
}

/* Chart iframe styling */
#search-chart-iframe {
  height: 300px;
  width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 14px 16px 10px rgba(0, 0, 0, 0.1), 0 12px 14px 10px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  border-radius: 8px;
}

/* Chart Colours - Search Results */

:root {
  --mass-timber-bg-color: rgba(53, 170, 135, 0.801);
  --concrete-steel-bg-color: rgba(45, 82, 92, 0.774);
  --hybrid-bg-color: rgba(75, 192, 192, 0.753);

  --mass-timber-border-color: rgb(25, 97, 73);
  --concrete-steel-border-color: rgb(60, 66, 64);
  --hybrid-border-color: rgba(75, 192, 192, 1);

  --carbon-bg-color: rgba(45, 82, 92, 0.774);
  --biogenic-bg-color: rgba(53, 170, 135, 0.801);
  --carbon-border-color: rgb(60, 66, 64);
  --biogenic-border-color: rgb(25, 97, 73);

  --weight-bg-color: rgba(53, 170, 135, 0.801);
  --weight-border-color: rgb(25, 97, 73);
}

/* Screenshot Image */

#screen-grab-button {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#screen-grab-button:hover {
  background-color: #45a049;
}



#model-home-1 {
  width: 1200px; /* or your desired width */
  height: 75vh; /* or your desired height */
  position: relative;
  margin-top: 75px;
  margin-bottom: 75px;
  border: 0;
  box-shadow: 0 14px 16px 10px rgba(0, 0, 0, 0.1), 0 12px 14px 10px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  flex: 1;
}
  


#model-home-2 {
  height: 40vh;
  width: 400px;
  float: right;
  margin-right: 150px;
  margin-top: 150px;
  justify-content: center;
  position: relative;
  align-items: right;
  display: flex;
  /* border: 0 solid #E2E8F0; */
  /* box-shadow: 0 14px 16px 10px rgba(0, 0, 0, 0.1), 0 12px 14px 10px rgba(0, 0, 0, 0.06); */
  box-sizing: border-box;
  /* border-radius: 8px; */
  z-index: 0;
}

  #model-library {
    height: 400px;
    width: 500px;
    justify-content: center;
    position: relative;
    align-items: center;
    display: flex;
    border: 0 solid #E2E8F0;
    box-shadow: 0 14px 16px 10px rgba(0, 0, 0, 0.1), 0 12px 14px 10px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    border-radius: 8px;
    margin: 25px;
    z-index: 0;
    background-color: white;
}



.ref-models {
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -moz-align-items: stretch;
  -webkit-align-items: stretch;
  -ms-align-items: stretch;
  align-items: stretch;
  -moz-justify-content: center;
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  -moz-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-bottom: 100px;
  flex: 1;
}


 
  .flexbox-container .flexbox-item .canvas {
      position:absolute;
      left:50%;
      top:50%;
      transform: translate(-50%, -50%);
      margin-top: 3%;
      z-index: 1;
  }
  
  #three-canvas {
      position: fixed;
      top: 0;
      left: 0;
      outline: none;
      background-color: #f2f3f1;
      z-index: 1;
  }

/* Model-Scanner - Loading */
  .loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it stays on top of other elements */
  }
  
  .hidden {
    display: none; /* Hide the loading screen by default */
  }
  
  .loading-content {
    text-align: center;
  }
  
  .loading-logo {
    max-width: 150px; /* Adjust the size of your logo */
    margin-bottom: 20px;
  }
  
  #loading-text {
    font-size: 1.5em;
    font-weight: bold;
  }
  
  
/* NAV */
nav {
  width: 100%;
  height: 90px;
  background-color: rgb(250, 250, 250);
  box-shadow: rgba(50, 50, 93, 0.9) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 999;
  position: relative;
}

nav p {
  color: #222;
  font-size: 24px;
  line-height: 50px;
  float: left;
  padding: 15px 10px;
  z-index: 999;
  position: relative;
}

/* Make the navbar a flex container */
header .navbar {
  display: flex;
  justify-content: space-between; /* Align items to the left and right */
  align-items: center;
  height: 90px;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  padding: 0 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  z-index: 1000;
}

header .navbar ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  z-index: 999;
}

header .navbar ul.left-side {
  justify-content: flex-start; /* Align items to the left */
}

header .navbar ul.right-side {
  justify-content: flex-end; /* Align items to the right */
}

header .navbar ul li {
  position: relative;
  padding: 10px 10px;
  z-index: 9996;
}

header .navbar ul li a {
  display: block;
  color: #222;
  font-size: 18px;
  padding: 22px 14px;
  text-decoration: none;
  z-index: 9995;
  position: relative;
}

header .navbar ul li a:hover {
  background-color: #f3f3f3;
}

header .navbar ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  padding: 5px;
  padding-bottom: 6px;
  border-radius: 0px 0px 4px 4px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 10px 0px;
  z-index: 9994;
  text-align: left; /* Ensure text is left-aligned */
}

header .navbar ul li ul li {
  width: 180px;
  border-radius: 4px;
  padding-bottom: 2px;
  z-index: 9994;
}

header .navbar ul li ul li a {
  font-size: 15px;
  padding: 5px 10px;
  text-align: left; /* Ensure text is left-aligned */
}

header .navbar ul li ul li ul {
  left: 100%;
  top: 0;
}

header .navbar ul li:focus-within > ul,
header .navbar ul li:hover > ul {
  display: block;
}

/* Set styles for the links in the navigation items */
.navbar a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
}

/* Set styles for the active navigation item */
.active {
  background-color: #eee;
}

/* Media query for smaller screens */
/* @media (max-width: 768px) {
  /* Hide left-side menu items */
 /* .left-side {
    display: none;
  } */
  
  /* Adjust padding of right-side menu items */
  /*.right-side {
    padding-right: 1rem;
  }
} */




  /* footer*/
  
  .sticky-footer {
    width: 100%;
    position: relative;
    bottom: 0;
    height: 150px;
    padding: 10px 0 30px;
    font-size: 12px;
    line-height: 20px;
    box-shadow: rgba(0, 0, 0, 0.9) 0px 0px 10px 0px;
    border-top: 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    max-height: 100vh;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: auto;
    z-index: 999;
    background-color: white;
  }
  
  .footer-row {
    width: 85%;
    margin: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  
  .footer-column {
    flex-basis: 25%;
    padding: 10px;
    flex-wrap: wrap;
    text-align: left;
  }
  
  .footer-logo {
    width: 80px;
    margin-bottom: 30px;
  }

  footer a {
    color: #616161; /* or use your brand color */
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
  }
  
  footer a:hover {
    color: #217867; /* highlight on hover */
    text-decoration: none;
  }
  
  
  /*style.css from example */
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
  } 
  
  :root {
    --margin-left: 48px;
  }
  header {
    position: relative;
    z-index: 999;
    display: flex;
  }
  /* h1 {
    margin-left: var(--margin-left);
  } */
  /* h2 {
    margin-left: var(--margin-left);
  } */
  section {
    width: 100%;
  } 
  
  .header-titles {
    display: block;
  }
  .logos {
    display: flex;
    margin-left: var(--margin-left);
    align-items: center;
    height: 5.5rem;
    align-items: center;
  }
  
  .logo {
    width: 150px;
    float: left;
    padding: 20px 10px;
  }
  
  .logo-unites {
    height: 50px;
    margin-left: var(--margin-left);
    margin-top: 8px;
  }
  .header-titles-h2 {
    font-size: inherit;
    font-weight: normal;
    margin-top: 10px;
  }
  .list-item {
    display: inline-block;
    margin-right: 2em;
    margin-top: 2em;
    border: 1px solid #dddddd;
    transition-property: border-color, background-color;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
  }
  .list-item:hover {
    border: 1px solid black;
    background-color: rgba(255, 255, 255, 0.2);
  }
  .scene-element {
    cursor: grab;
    width: 300px;
    height: 300px;
  }
  .loading-icon {
    width: 6%;
    margin-left: 47%;
    margin-top: 47%;
    margin-bottom: 6%;
    animation: animate1 8s forwards ease-in-out;
    animation-iteration-count: infinite;
  }
  .loading-text {
    text-align: center;
  }
  .description-element {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
    cursor: pointer;
    text-align: left;
    width: 300px;
    height: 50px;
    padding: 0.5em;
    border-style: solid;
    color: #4f8fcc;
    text-decoration: none;
    border: none;
    transition-property: text-decoration;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
  }
  .description-element:hover {
    text-decoration: underline;
    text-decoration-color: #4f8fcc;
  }
  .font-weight-bold {
    font-weight: bold;
  } 
  /* From uiverse.io */
  .button {
    padding: 1.3em 3em;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    color: #000;
    background-color: #fff;
    border: none;
    border-radius: 45px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
  }
  .button:hover {
    cursor: pointer;
    color: white;
    background-color: #4f8fcc;
    box-shadow: 0px 15px 20px rgba(0, 0, 100, 0.4);
    transform: translateY(-7px);
  }
  .active-button {
    background-color: #4f8fcc;
    transform: translateY(-3px);
  }
  .active-button:hover {
    color: black;
    background-color: white;
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.4);
  }
  .prevent-button {
    color: #cccccc;
    pointer-events: none;
  }
  .ifc-property-item {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0.5rem;
    border-bottom: solid 1px #dddddd;
  }
  .ifc-property-value {
    color: #4f8fcc;
    width: 100%;
    text-align: right;
  }
  
  #logo-vquest {
    height: 27px;
  }
  #header-titles-h2-a {
    color: black;
    text-decoration-color: red;
    transition-property: color, background-color;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
  }
  #header-titles-h2-a:hover {
    color: red;
    text-decoration-color: black;
  }
  #header-instructions {
    margin-top: 10px;
    margin-left: var(--margin-left);
  }
  
  /* SCROLLING ISSUE */
  
  #ifc-selected-item-properties-description {
    font-family: 'Roboto Condensed', sans-serif;
  }

  #c {
    position: absolute;
    top: 0;
    width: 100%;
    /* height: 100%; */
  }
  #content {
    position: relative;
    width: 100%;
    padding: 0 0 50px 0;
    align-items: center;
    justify-content: center;
    padding-bottom: 200px;
  }
  #c1 {
    position:absolute;
    top: 0;
    width: 100%;
    height: calc(100vh - 150px);
  }
  #content-1 {
    position: relative;
    width: 100%;
    padding: 0 0 50px 0;
    align-items: center;
    justify-content: center;
    padding-bottom: 200px;
  }
  #c1.sticky {
    position: fixed;
    top: 0;
}


 /* BUILDING VARIANTS CHARTS */
/* 
 #building-variant-charts {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}
#building-variant-charts-text{
  display: relative;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
} */

#building-variant-charts{
  display: flex;
  flex-direction: column; /* Stacks the child elements vertically */
  justify-content: center; /* Centers items vertically if needed */
  align-items: center; /* Centers items horizontally */
  text-align: center; /* Centers the text within each child */
  margin-top: 80px;
  margin-bottom: 50px; /* Adds space below the section */
  max-height: 800px; /* Limit the height */
  overflow: auto; /* Enable scrolling within the container */
}

#building-variant-data{
  display: flex;
  flex-direction: column; /* Stacks the child elements vertically */
  justify-content: center; /* Centers items vertically if needed */
  align-items: center; /* Centers items horizontally */
  text-align: center; /* Centers the text within each child */
  margin-top: 80px;
  margin-bottom: 50px; /* Adds space below the section */
  max-height: 1200; /* Limit the height */
  overflow: auto; /* Enable scrolling within the container */
}


/* #building-variant-charts iframe {
  display: none;
} */




  /* HOME PAGE */

  /* h1 {
    margin: 60px auto 0;
    width: 550px;
    text-align: center;
    font-size: 36px;
  } */

  .hero {
    background-color: #ffffff;
    padding: 125px; /* Adjust padding as necessary */
    margin-bottom: 50px;
    text-align: center;
}


.hero h1 {
  color: #217867;
  font-size: 36px;
}

.search {
    margin: 20px 0;
    text-align: center;
}

.search input[type="text"] {
    padding: 10px;
    width: 300px;
    margin-right: 10px;
}

.search button {
    padding: 10px;
    cursor: pointer;
}


    /* INDEX PAGE */

.index-flex-container {
    justify-content: center;   
    position: relative;
    align-items: center;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
  }  

  #interactive-section {
    height: 100px;
  }
  
  #opening-text {
    text-align: center;
    z-index: 1;
    text-decoration: #000;
  }
  
  .dashboard-img {
    position: center;
    text-align: center;
    width: 60%;
    left: 10%;
    margin-bottom: 150px;
  } 
  
  .v-quest-dashboard {
    position: sticky;
    margin-top: 150px;
    text-align: center;
    height: 100%;
    padding-bottom: 50px;
    box-sizing: border-box;
  }

/* ABOUT PAGE */

.ccw-img {
  position: center;
  text-align: center;
  width: 40%;
  /* left: 10%; */
  margin-bottom: 150px;
} 


/* MODEL PAGES */ 

.table-background {
  padding: 0 25px 25px;
  display: flex;
  justify-content: space-around;
  gap: 50px; /* Adjust based on your layout needs */
  margin-left: 100px;
  margin-right: 100px;
}

/* Corrected selector for specificity */
.panel .info-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0; /* Adds vertical space between tables if needed */
}

.panel .info-table th, .panel .info-table td {
  border: 1px solid #ccc;
  text-align: left;
  padding: 15px; /* Adjusted for more vertical space */
  vertical-align: top;
}

.panel .info-table th {
  background-color: #f5f5f5;
  color: #333;
}

/* Ensuring the gap between rows */
.panel .info-table tr {
  margin-bottom: 15px; /* This won't affect table rows. Adjusted approach below */
}

/* Use border-spacing for gap if border-collapse is not set to collapse, or alternatively, adjust padding in td for vertical space */
.panel .info-table table {
  border-spacing: 0 15px;
}

/* For sticky header, ensure your thead is positioned relatively to the table */
.panel .info-table thead th {
  background-color: #eee; /* Ensures visibility against potential overlap */
  position: sticky;
  top: 0;
  z-index: 2;
}

.panel .info-table tbody tr:hover {
  background-color: #f0f0f0;
}

/* Optional: Add more styling to the header row to distinguish it */
.panel info-table thead tr {
  background-color: #eee; /* Light background for the header row */
}

.panel {
  background-color: #fff;
  color: #243c4c;
  border-radius: 10px;
  padding: 25px 25px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
}

.info-table {
  box-shadow: 0px 10px 13px -6px rgba(0, 0, 0, 0.08), 0px 20px 31px 3px rgba(0, 0, 0, 0.09), 0px 8px 20px 7px rgba(0, 0, 0, 0.02);
  display: flex;
}

 
.info-plan:last-child {
  border-bottom: none;
}

@media (min-width: 900px) {
  .info-plan {
    border-bottom: none;
    border-right: 1px solid #217867;
    flex-basis: 100%;
    padding: 25px 50px;
    position: relative;
  }

  .info-plan:last-child {
    border-right: none;
  }
}

.info-header {
  color: #243c4c;
  font-weight: 600;
  letter-spacing: 1px;
  margin-left: auto;
  margin-right: auto;
}

.info-features {
  color: #000000;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 50px 0 25px;
}

.info-button {
  border-radius: 10px;
  border: 0 solid #E2E8F0;
  box-shadow: 0 12px 14px 8px rgba(0, 0, 0, 0.05), 0 12px 14px 10px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  border-radius: 8px;
  color: #243c4c;
  display: inline-block;
  margin-top: 20%;
  margin-bottom: 25px;
  padding: 15px 35px;
  text-decoration: solid;
  font-weight: bold;
  transition: all 150ms ease-in-out;
  text-transform: uppercase;
  background-color: #ffffff;
}

.info-button:hover,
.info-button:focus {
  background-color: #217867;
  color: #ffffff;
}

.info-button.is-featured {
  background-color: #217867;
  color: #fff;
}

.info-button.is-featured:hover,
.info-button.is-featured:active {
  background-color: #217867;
}

#model-page-button {
  display: flex; 
  justify-content: center;
  margin-top: -50px;
  margin-bottom: 50px;
}

.ref-model-button {
  border-radius: 10px;
  border: 0 solid #E2E8F0;
  box-shadow: 0 12px 14px 8px rgba(0, 0, 0, 0.05), 0 12px 14px 10px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  border-radius: 8px;
  color: #243c4c;
  margin-top: 5%;
  width: 250px;
  margin-bottom: 10px;
  margin-left: 28%;
  padding: 15px 35px;
  text-decoration: solid;
  font-weight: bold;
  transition: all 150ms ease-in-out;
  text-transform: uppercase;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ref-model-button:hover,
.ref-model-button:focus {
  background-color: #217867;
  color: #ffffff;
}

.ref-model-button.is-featured {
  background-color: #217867;
  color: #fff;
}

.ref-model-button.is-featured:hover,
.ref-model-button.is-featured:active {
  background-color: #217867;
}

.model-button {
  border-radius: 10px;
  border: 0 solid #E2E8F0;
  box-shadow: 0 12px 14px 8px rgba(0, 0, 0, 0.05), 0 12px 14px 10px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  border-radius: 8px;
  color: #5b656b;
  margin-top: 5%;
  margin-bottom: 10px;
  /* width: auto; 
  max-width: 200px;  */
  width: 250px;
  display: inline-block;
  padding: 15px 35px;
  text-decoration: solid;
  font-weight: bold;
  transition: all 150ms ease-in-out;
  text-transform: uppercase;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  position: relative;
  text-align: center;
}

.model-button:hover,
.model-button:focus {
  background-color: #217867;
  color: #ffffff;
}

.model-button.is-featured {
  background-color: #217867;
  color: #fff;
}

.model-button.is-featured:hover,
.model-button.is-featured:active {
  background-color: #217867;
}

.ref-model-button.coming-soon {
  position: relative;
  overflow: hidden; /* Ensures that content added stays within the bounds of the button */
  background-color: #ffffff; /* Default background color */
  transition: background-color 0.3s; /* Smooth transition for background color */
}

.ref-model-button.coming-soon:hover::after {
  content: "Coming Soon";
  position: absolute;
  font-size: 18px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #8c9190; /* Optional: Change color as needed */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  opacity: 1;
}



/* TUTORIAL PAGE */

#tutorialVideos {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Creates two columns */
  gap: 50px; /* Adjust the gap between videos */
  justify-content: center; /* This centers the content within the grid itself if there's extra space */
  margin-left: auto;
  margin-right: auto;
  width: fit-content; /* Adjust this if necessary */
  padding-bottom: 150px;
}

.video {
  height: 350px;
  width: 500px;
  justify-content: center;
  position: relative;
  align-items: center;
  display: flex;
  border: 0 solid #E2E8F0;
  box-shadow: 0 14px 16px 10px rgba(0, 0, 0, 0.1), 0 12px 14px 10px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  border-radius: 8px;
  background-color: white;
  /* margin: 25px; */
  z-index: 0;
}



/* MODELS PAGE */

.models_page_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  grid-gap: 10px; /* Space between boxes */
  max-height: 100vh; /* Adjust as per viewport height */
  overflow-y: auto; /* Enables scrolling */
}

.models_page_box {
  position: absolute;
  margin-top: 68%;
  max-height: 800px;
  left: 50%;
  width: 1200px;
  transform: translate(-50%, -50%);
  padding: 20px;
  box-sizing: border-box;
  /* border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0,.5); */
  display: flex;
}



/* CLEARWATER PAGE */

.clearwater-container {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding-bottom: 95%;
}

.clearwater-container .clearwater-options {
  background-color: #ffffff;
  position: absolute;
  margin-top: 40%;
  left: 50%;
  width: 1000px;
  transform: translate(-50%, -50%);
  padding: 20px;
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0,.5);
  display: flex;
}

.clearwater-container .clearwater-options .clearwater-options-img {
  width: 500px;
  flex: 0 0 450px;
}

.clearwater-container .clearwater-options .clearwater-options-img img{
  max-width: 100%;
  max-height: 100%;
}



.clearwater-container .clearwater-model {
  background-color: #ffffff;
  position: absolute;
  margin-top: 48%;
  left: 50%;
  width: 1000px;
  transform: translate(-50%, -50%);
  padding: 20px;
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0,.5);
  display: flex;
}

.clearwater-container .clearwater-model .clearwater-model-img {
  width: 500px;
  flex: 0 0 450px;
}

.clearwater-container .clearwater-model .clearwater-model-img img{
  max-width: 100%;
  max-height: 100%;
}



.clearwater-container .clearwater-view {
  /* background-color: #217867; */
  position: absolute;
  margin-top: 68%;
  max-height: 800px;
  left: 50%;
  width: 1200px;
  transform: translate(-50%, -50%);
  padding: 20px;
  box-sizing: border-box;
  /* border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0,.5); */
  display: flex;
}

/* .clearwater-container .clearwater-view .clearwater-view-img {
  width: 900px;
  height: 600px;
}

.clearwater-container .clearwater-view .clearwater-view-img img{
  max-width: 100%;
  max-height: 100%; 
} */

.red-lock {
  height: 18px;
  padding-left: 10px;
  padding-top: 2px;
}

/* Model Scanner*/

/* Main container that acts as a tile for the entire section */
#model-scanner-tile-container {
  background-color: #ffffff; /* Background color for the tile */
  border-radius: 15px; /* Rounded corners for the tile */
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Shadow for tile effect */
  max-width: 1600px; /* Limit max width for better appearance */
  margin: 40px auto; /* Center align and add space above/below */
}

/* Main container to hold both left and right sections */
#model-scanner-container {
  display: flex;
  gap: 20px; /* Add some space between the left and right sections */
}

/* Left section with the image */
#left-section {
  flex: 1.2; /* Take up slightly more than the right section */
  text-align: center;
}

/* Styling for the logo */
#vq-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 15px;
}

#vq-logo img {
  max-height: 60px; /* Adjust the logo size */
  width: auto; /* Maintain aspect ratio */
  padding-left: 50px;
  padding-top: 25px;
}

/* Header styling to be aligned under the logo */
#model-scanner-main-header {
  margin-left: 250px; /* Offset to align with the end of the logo */
  margin-top: 10px; /* Add space between the logo and the header */
  text-align: left;
}

#model-scanner-main-header h1 {
  font-size: 50px;
  color:  #217867;
  font-family: 'Roboto Condensed', sans-serif;
}

/* Styling for the 3D model image */
#model-scanner-img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

#model-scanner-img img {
  max-width: 90%; /* Ensures the image is responsive */
  height: auto;
}

/* Right section with forms */
#right-section {
  flex: 1; /* Take up one part of the screen */
  background: #ffffff; /* Background color for contrast */
  color:  #223c48; /* Ensure text is readable */
  display: flex;
  align-items: center; /* Vertically center the content */
}

/* Wrapper to control inner padding and spacing of right-section elements */
#right-section-content {
  width: 100%; /* Ensure it takes up the full width of the right section */
  max-width: 400px; /* Limit the form width for better alignment */
  margin-left: auto; /* Move the content more towards the right */
  padding-right: 40px; /* Add padding to move the content towards the right side */
}

/* Forms styling */
#model-scanner-form,
#model-uploader-form {
  width: 100%; /* Take full width inside the right section */
  margin-bottom: 20px;
}

#model-uploader-form label {
  color:  #223c48;
}

#model-scanner-form h1,
#model-uploader-form h1 {
  color:  #217867;
}

#model-scanner-form input,
#model-uploader-form input,
#model-uploader-form button,
#model-scanner-form button {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  box-sizing: border-box;
}

/* Style for buttons */
button {
  background-color: #fff;
  color: #217867;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background-color: #ddd;
}

/* Drop zone for drag and drop */
#drop-zone {
  border: 2px dashed #95a09e;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 20px;
  background-color: #fff;
  transition: background-color 0.3s;
}

#drop-zone.dragover {
  background-color: #f0f0f0; /* Highlight when dragging over */
}

#drop-zone p {
  margin: 0;
  color: #223c48;
}


/* Hide the actual file input more effectively */
#building-image-upload {
  opacity: 0;          /* Make the input completely invisible */
  position: absolute;  /* Take it out of normal document flow */
  left: -9999px;       /* Move it off-screen */
}



/* Responsive styles for small screens */
@media (max-width: 768px) {
  #model-scanner-container {
      flex-direction: column; /* Stack content vertically on small screens */
  }

  #left-section,
  #right-section {
      flex: none;
      width: 100%;
  }

  #vq-logo img {
      max-height: 50px; /* Smaller logo for small screens */
  }

  #model-scanner-main-header {
      margin-left: 0; /* Center the header on small screens */
      text-align: center;
  }

  #right-section-content {
      margin-left: 0; /* Reset for smaller screens */
      padding-right: 20px; /* Adjust padding */
  }
}





/* Results Page */

#results-table {
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 100px;
  width: 60%;
  margin: 20px;
  padding: 10px;
  border: 0 solid #E2E8F0;
  box-shadow: 0 10px 10px 5px rgba(0, 0, 0, 0.1), 0 8px 8px 5px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  border-radius: 8px;
}

#results-table table {
  margin-top: 15px;
  width: 100%;
  border-collapse: collapse; /* Ensure borders and padding are correctly handled */
  text-align: center;
}

#results-table td {
  /* padding: 10px 10px !important;  */
  vertical-align: middle;
  text-align: center;
  width: auto;
}

#results-table td:first-child {
  text-align: center; /* Align the image to the right within its cell */
}


#results-table img {
  width: 100% !important; /* Force the image to take up 100% of the cell's width */
  max-width: 300px !important; /* Set the max width as needed */
  height: auto !important; /* Maintain the aspect ratio */
  display: block;
  margin-left: auto;
  margin-right: auto;
}


#results-table tr:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Faint line between results */
}

#result-tags h3, ul, li{
  vertical-align: middle;
  text-align: center;
}

#result-tags ul {
  list-style-type: none; /* Removes bullet points */
  padding: 0; /* Removes default padding */
  margin: 0; /* Removes default margin */
}

/* Ensure the main search section takes up the full width */
/* Ensure the main search section takes up the full width */
#search-section {
  padding: 20px;
}

/* Main container for results, including charts, info tiles, and the image */
#results-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px; /* Add space between main containers */
}

/* Container for charts and information tiles (left side) */
#charts-and-info-container {
  flex: 3; /* Allocate 60% width to charts and info */
}

/* Container for charts - align on the left */
#charts-container {
  display: flex;
  flex-direction: row; /* Place charts in a horizontal line */
  gap: 20px; /* Space between charts */
  width: 100%; /* Full width within the container */
  align-self: flex-start; /* Ensure charts stay at the top of the container */
  height: 245px; /* Increase height to make the tile visually larger */
}

/* Individual Chart Wrapper */
.chart-wrapper {
  background-color: #ffffff; /* Background color for chart section */
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: calc(33.3% - 20px); /* Ensure each chart takes up one-third of the charts container */
  text-align: center;
}

.chart-wrapper h2 {
  color: #217867;
}

/* Make sure all charts are responsive and smaller */
canvas {
  max-width: 100%;
  height: auto;
}

/* Uploaded Image Container - Make it sticky */
#image-data-container {
  flex: 2; /* Allocate 40% width to the image container */
  align-self: flex-start; /* Ensure image container starts at the top */
  text-align: center;
  position: sticky; /* Makes the container sticky */
  top: 180px; /* Set how far from the top of the viewport it should stick */
  max-height: 80vh; /* Restrict max height so it stays viewable */
  overflow-y: auto; /* Allow scrolling if content overflows */
}

#building-elements-tile {
  max-height: 300px; /* Set a maximum height to the tile to create scroll */
  overflow-y: auto; /* Enable vertical scrolling when needed */
  padding: 20px; /* Provide padding so the scroll is not too close to the edges */
  border-radius: 10px; /* Maintain rounded edges */
  box-sizing: border-box; /* Ensure padding is included in width calculations */
  position: relative; /* Ensure that any absolute children are positioned relative to this tile */
}

/* Custom Scrollbar Styles for Building Elements Assessed Tile */
#building-elements-tile::-webkit-scrollbar {
  width: 8px; /* Width of the scrollbar */
}

#building-elements-tile::-webkit-scrollbar-track {
  background: #f0f0f0; /* Light background for the track */
  border-radius: 10px; /* Rounded edges to match the tile */
  margin: 5px; /* Ensure the scrollbar track is not too close to the top and bottom edges */
}

#building-elements-tile::-webkit-scrollbar-thumb {
  background: rgba(34, 60, 72, 0.6); /* Faded line for the scrollbar thumb */
  border-radius: 10px; /* Rounded edges */
  border: 2px solid #f0f0f0; /* Padding around the thumb for a nice effect */
}

#building-elements-tile::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 60, 72, 0.8); /* Darker shade when hovered */
}

/* For Firefox (uses a scrollbar-width property) */
#building-elements-tile {
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 60, 72, 0.6) #f0f0f0;
}



/* Adjust the table inside the tile to prevent overflow */
#building-elements-tile table {
  width: 100%;
  border-collapse: collapse;
}

#building-elements-tile th, #building-elements-tile td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ccc;
}



/* Uploaded Image Styles */
#uploaded-image {
  background-color: #ffffff; /* Background color for contrast */
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: white; /* White text for better readability */
}

#building-image {
  display: block;
  width: 100%; /* Adjust as needed */
  height: auto;
  max-height: 400px;
}

/* Results Data Tile */
#results-data-tile {
  background-color: #ffffff; /* Background color for results data tile */
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px; /* Space between the charts and this tile */
  margin-bottom: 20px; /* Space between this tile and the info tiles below */
  width: calc(100% - 20px); /* Make it 20px narrower to match other tiles */
  color: rgb(138, 133, 133);
  margin-right: 20px; /* Align it with the right edge of the other tiles */
  min-height: 280px; /* Ensure enough height for the data */
}



/* Table Styles for Results Data */
#results-data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  text-align: center;
}

#results-data-table th, #results-data-table td {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  align-items: center;
  text-align: center;
}

#results-data-table th {
  background-color: #217867;
  color: #ffffff;
}

#results-data-table tr:nth-child(even) {
  background-color: #f2f2f2;
}



/* Container for the building data, tags, and building elements (below charts) */
#info-container {
  display: flex;
  flex-direction: row; /* Place charts in a horizontal line */
  gap: 20px; /* Space between charts */
  width: 100%; /* Full width within the container */
  align-self: flex-start; /* Ensure charts stay at the top of the container */
  margin-top: 20px;
}

/* Tile for each individual info section */
.info-tile {
  background-color: #ffffff; /* Background color for info tiles */
  border-radius: 10px;
  padding: 20px 20px; /* Reduce top and bottom padding to bring text up */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: calc(33.3% - 20px); /* Ensure each tile takes up one-third of the info container */
  color: rgb(138, 133, 133); /* White text for readability */
  height: 250px; /* Increase height to make the tile visually larger */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content to the top */
}

.info-tile h2 {
  color: #217867;
}


/* Styles for tables and tags within info tiles */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

table th, table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ccc;
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  padding: 5px 0;
}

/* Ensure layout is responsive on smaller screens */
@media (max-width: 768px) {
  #results-container {
      flex-direction: column; /* Stack content vertically on small screens */
  }

  #charts-and-info-container {
      width: 100%; /* Full width on small screens */
  }

  #charts-container {
      flex-direction: column; /* Stack charts vertically on small screens */
      width: 100%; /* Full width for charts on small screens */
  }

  .chart-wrapper {
      width: 100%; /* Ensure each chart takes full width on small screens */
  }

  #info-container {
      flex-direction: column; /* Stack info tiles vertically on small screens */
      width: 100%; /* Full width for info on small screens */
  }

  #image-data-container {
      width: 100%; /* Full width for image on small screens */
  }
}

/* Variant Results */


/* Main container for results, including charts, info tiles, and the image */
#variant-results-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px; /* Add space between main containers */
  margin-left: 10px;
}

/* Container for charts and information tiles (left side) */
#variant-charts-and-info-container {
  flex: 3; /* Allocate 60% width to charts and info */
}

/* Container for charts - align on the left */
#variant-charts-container {
  display: flex;
  flex-direction: row; /* Place charts in a horizontal line */
  gap: 20px; /* Space between charts */
  width: 100%; /* Full width within the container */
  align-self: flex-start; /* Ensure charts stay at the top of the container */
  height: 365px; /* Increase height to make the tile visually larger */
}


/* Individual Chart Wrapper */
.variant-chart-wrapper {
  background-color: #ffffff; /* Background color for chart section */
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: calc(33.3% - 20px); /* Ensure each chart takes up one-third of the charts container */
  text-align: center;
  margin-right: 20px; /* Add margin to match the spacing of the variant-info-tile */
}

.variant-chart-wrapper h2 {
  color: #217867;
}

/* Make sure all charts are responsive and smaller */
.variant-chart-wrapper canvas {
  max-width: 100%;
  height: auto;
}


/* TOTAL M2 */
#variant-results-elements-container {
  display: flex;
  gap: 20px; /* Add spacing between the tiles */
  justify-content: space-between; /* Distribute the tiles evenly */
  flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.variant-info-tile {
  flex: 1; /* Allow each tile to take up equal space */
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



/* Building Elements Assessed Tile */
#variant-building-elements-tile {
  flex: 1; /* Set smaller width */
  max-height: 300px; /* Set a maximum height to the tile to create scroll */
  overflow-y: auto; /* Enable vertical scrolling when needed */
  padding: 20px; /* Provide padding so the scroll is not too close to the edges */
  border-radius: 10px; /* Maintain rounded edges */
  box-sizing: border-box; /* Ensure padding is included in width calculations */
  position: relative; /* Ensure that any absolute children are positioned relative to this tile */
}


/* Custom Scrollbar Styles for Building Elements Assessed Tile */
#variant-building-elements-tile::-webkit-scrollbar {
  width: 8px; /* Width of the scrollbar */
}

#variant-building-elements-tile::-webkit-scrollbar-track {
  background: #f0f0f0; /* Light background for the track */
  border-radius: 10px; /* Rounded edges to match the tile */
  margin: 5px; /* Ensure the scrollbar track is not too close to the top and bottom edges */
}

#variant-building-elements-tile::-webkit-scrollbar-thumb {
  background: rgba(34, 60, 72, 0.6); /* Faded line for the scrollbar thumb */
  border-radius: 10px; /* Rounded edges */
  border: 2px solid #f0f0f0; /* Padding around the thumb for a nice effect */
}

#variant-building-elements-tile::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 60, 72, 0.8); /* Darker shade when hovered */
}

/* Building Elements Assessed Tile (1/3 width) */
#variant-building-elements-tile {
  flex: 1;
  background-color: #ffffff; /* Background color for building elements tile */
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-height: 300px; /* Set a maximum height to the tile to create scroll */
  overflow-y: auto; /* Enable vertical scrolling when needed */
  box-sizing: border-box; /* Ensure padding is included in width calculations */
}

/* Adjust the table inside the tile to prevent overflow */
#variant-building-elements-tile table {
  width: 100%;
  border-collapse: collapse;
}

#variant-building-elements-tile th, #variant-building-elements-tile td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ccc;
}



/* Results Data Tile */
#variant-results-data-tile {
  flex: 2.11; /* Set larger width */
  background-color: #ffffff; /* Background color for results data tile */
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px; /* Space between the charts and this tile */
  margin-bottom: 20px; /* Space between this tile and the info tiles below */
  width: calc(66.6% - 20px); /* Increase width to two-thirds of the space */
  color: rgb(138, 133, 133);
  margin-right: 10px; /* Adjust margin for better alignment */
  min-height: 280px; /* Ensure enough height for the data */
}

/* Table Styles for Results Data */
#variant-results-data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  text-align: center;
}

#variant-results-data-table th, #variant-results-data-table td {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  align-items: center;
  text-align: center;
}

#variant-results-data-table th {
  background-color: #217867;
  color: #ffffff;
}

#variant-results-data-table tr:nth-child(even) {
  background-color: #f2f2f2;
}




/* Tile for each individual info section */
.variant-info-tile {
  background-color: #ffffff; /* Background color for info tiles */
  border-radius: 10px;
  padding: 20px; /* Maintain consistent padding */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: calc(33.3% - 20px); /* Make width the same as the chart wrapper */
  color: rgb(138, 133, 133);
  height: 280px; /* Increase height to make the tile visually larger */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content to the top */
  margin-top: 20px; /* Add margin to match the spacing of the other tiles */
  margin-right: 20px;
}

.variant-info-tile h2 {
  color: #217867;
}

.variant-info-tile p {
  text-align: center;
  font-size: 25px;
  padding-top: 15%;
}


/* Styles for tables and tags within info tiles */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

table th, table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ccc;
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  padding: 5px 0;
}

/* Ensure layout is responsive on smaller screens */
@media (max-width: 768px) {
  #variant-results-container {
      flex-direction: column; /* Stack content vertically on small screens */
  }

  #variant-charts-and-info-container {
      width: 100%; /* Full width on small screens */
  }

  #variant-charts-container {
      flex-direction: column; /* Stack charts vertically on small screens */
      width: 100%; /* Full width for charts on small screens */
  }

  .variant-chart-wrapper {
      width: 100%; /* Ensure each chart takes full width on small screens */
  }

  #variant-info-container {
      flex-direction: column; /* Stack info tiles vertically on small screens */
      width: 100%; /* Full width for info on small screens */
  }

}







.search-button {
  border-radius: 10px;
  border: 0 solid #E2E8F0;
  box-shadow: 0 12px 14px 8px rgba(0, 0, 0, 0.05), 0 12px 14px 10px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  color: #000000;
  margin: 5% auto; /* Center the button and reduce extra space */
  width: fit-content; /* Adjust the width to fit the content */
  background-color: #ffffff;
  overflow: hidden; /* Ensure the background color covers the corners */
  padding: 0; /* Remove padding from the container */
  display: inline-block; /* Adjust display to shrink-wrap the content */
  /* margin-bottom: 15px; */
}

.search-button a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 14px 34px; /* Slightly reduce to match exactly */
  text-align: center;
  border-radius: 10px; /* Match the button's border-radius */
  transition: all 150ms ease-in-out;
  margin:0;
}

.search-button :hover,
.search-button :focus {
  background-color: #217867;
  color: #ffffff;
}

.search-button .is-featured {
  background-color: #217867;
  color: #fff;
}

.search-button .is-featured:hover,
.search-button .is-featured:active {
  background-color: #217867;
}

/* Downloads Page */

.accordion{
  margin: 60px auto;
  width: 600px;
}

.accordion li{
  list-style: none;
  width: 100%;
  margin: 20px;
  padding: 10px;
  border: 0 solid #E2E8F0;
  box-shadow: 0 10px 10px 5px rgba(0, 0, 0, 0.1), 0 8px 8px 5px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  border-radius: 8px;
  background-color: #ffffff;
}

.accordion li label{
  display: flex;
  align-items: center;
  padding: 10px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}

label::before{
  content: '+';
  margin-right: 10px;
  font-size: 24px;
  font-weight: 600;
}

input[type="radio"]{
  display: none;
}

.accordion .dropdown-content{
  color: #555;
  padding: 0 10px;
  line-height: 26px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s, padding 0.5s;
}

.accordion input[type="radio"]:checked + label + .dropdown-content{
  max-height: 400px;
  padding: 10px 10px 20px;
}

.accordion input[type="radio"]:checked + label::before{
  content: "-";
}

.download-link {
  color: #4378ad;
}