:root {
	--c1: #FCF9E1FF;
	--c2: #FFF9B8FF;
	--c3: #FDC581FF;
	--c4: #F09165FF;
	--c5: #E27558FF;
	--c6: #D4584BFF;
	--c7: #AF294DFF;
	--c8: #202023FF;
	--c9: #131315FF;
  }



.dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: relative;
    width: 100%;
    height: 100px;  /* adjust as needed */
    overflow-y: auto;  /* adds scroll if content exceeds the set height */
    padding: 0;  /* adjust as needed */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0,0);
    z-index: 1;
    background-color: transparent;  /* changed to grey */
}

.dropdown-content a {
    color: var(--c8);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 12px;  /* adjust as needed */
    font-family: Verdana;
}

  
  .dropdown a:hover {
    cursor: pointer;
  }
  

  #search-container {
    /* position: absolute; */
    top: 10px;
    right: 10px;
    z-index: 1000;
  }
  #search-bar {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  .loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 12px solid #f3f3f3;
    border-top: 12px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
  }
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  .explanation {
    font-family: Verdana;
    font-size: 20px;
    text-align: justify;
    max-width: 800px;
    margin: 20px auto;
  }
  /* Added navbar styles */
  .navbar {
    background-color: var(--c8);
    width: 100%;
  }
  .navbar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  .navbar a:hover {
    background-color: #ddd;
    color: black;
  }

  .navbar::after {
    content: "";
    display: table;
    clear: both;
  }
  


  body, html {
    margin: 0;
    padding: 0;
  }

  
  /* Default styles for screens smaller than 1024px */
  body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Verdana;
    margin: 0 10%; /* This will apply on screens smaller than 1024px */
  }


  .navbar {
    background-color: var(--c8);
    position: sticky;
    top: 80px; 
    width: 100%;
    z-index: 9999; /* value greater than that of .dropdown-content */
    margin-top: 20px;
  }

  .logo {
    background-color: var(--c8);
    position: sticky;
    top: 0; 
    width: 100%;
    z-index: 9999; /* value greater than that of .dropdown-content */
  }
  
  .dropdown-content {
    display: none;
    background-color: #fff;
    width: 100%;
    height: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin: 0 auto; /* Centering the dropdown */
    z-index: 1000; /* value less than that of .navbar */
    position: relative; 
    max-height: 200px; 
    overflow: auto;
  }
  

  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {background-color: #f1f1f1;}
  
  
  #canvas {
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: transparent;
    overflow: hidden;
    margin-top: 50px;
}

#container {
  width: 100%;
  height: 100%;
  background-color: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0; /* adjust this value to set the space between elements */
}

.imps-value {
  font-weight: bold;
}

button {
  margin-top: 10px;
  color: #ffffff;
  background-color: var(--c8);
  font-size: 12px;
  border: 2px solid var(--c8);
  border-radius: 6px;
  padding: 5px 5px;
  cursor: pointer;
  /* position: sticky; 
  top: 0;
  background: white; */
}


button:hover {
  color: var(--c8);
  background-color: #ffffff;
}



.scrollButton_bot {
  position: fixed;
  bottom: 40px;
  right: 5%;
  z-index: 100;
  font-size: 24px;
  border: none;
  outline: none;
  background-color: var(--c8);
  color: white;
  cursor: pointer;
  padding: 15px;
  margin-bottom: 90px;
  border-radius: 4px;
}

.scrollButton_top {
  position: fixed;
  bottom: 80px;
  right: 5%;
  z-index: 100;
  font-size: 24px;
  border: none;
  outline: none;
  background-color: var(--c8);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}


.scrollButton:hover {
  background-color: lightgrey;
}

#scrollDown {
  bottom: 70px;
}


.pie-chart {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 20px;
  display: inline-block;
  
  
  /* Calculate stops based on provided category percentages */
  --stop1: var(--cat1);
  --stop2: calc(var(--cat1) + var(--cat2));
  --stop3: calc(var(--stop2) + var(--cat3));
  --stop4: calc(var(--stop3) + var(--cat4));
  --stop5: calc(var(--stop4) + var(--cat5));
  --stop6: calc(var(--stop5) + var(--cat6));
  --stop7: 100%;  /* Since it always sums up to 100% */
  
  background: conic-gradient(
      var(--c1) 0% var(--stop1),
      var(--c2) var(--stop1) var(--stop2),
      var(--c3) var(--stop2) var(--stop3),
      var(--c4) var(--stop3) var(--stop4),
      var(--c5) var(--stop4) var(--stop5),
      var(--c6) var(--stop5) var(--stop6),
      var(--c7) var(--stop6) var(--stop7)
  );
}

.pie-container {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center;     /* Center vertically */
}

.modal {
  display: none; /* Initially hidden */
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7); /* Black with opacity */
  z-index: 199999999; /* Show above everything */
  overflow: auto; /* Add scroll if needed */
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  padding: 20px;
  background-color: #fefefe;
}

.enlarged {
  width: 300px;
  height: 300px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 24px;
}

.pie-labels {
  margin-top: 20px;
  list-style-type: none;
  padding: 0;
}

.pie-labels li {
  display: flex;
  align-items: center;
  margin: 5px 0;
}

.color-box {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
}




.email-container {
  position: relative;
  display: inline-block;
  display: flex;
  align-items: center; /* Centers vertically */
  justify-content: center; /* Centers horizontally */
  height: 100%; /* Set to the height of the containing element */
}

.email-icon {
  text-decoration: none;
  font-size: 2em; /* Adjust size as needed */
}

.email-tooltip {
  display: none;
  position: absolute;
  bottom: 25px; /* Positioning relative to the email icon. Adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #202023FF; /* Dark background for tooltip */
  color: #fff; /* White text color */
  font-size: 0.8em;
  white-space: nowrap;
  pointer-events: none; /* So that it doesn't interfere with the hover on the icon */
}

.email-container:hover .email-tooltip {
  display: block;
}


.twitter-container {
  position: relative;
  display: inline-block;
  display: flex;
  align-items: center; /* Centers vertically */
  justify-content: center; /* Centers horizontally */
  height: 100%; /* Set to the height of the containing element */
}

.twitter-icon {
  text-decoration: none;
  font-size: 2em; /* Adjust size as needed */
  color: #1DA1F2; /* Twitter blue color. Change if needed */
}

.twitter-tooltip {
  display: none;
  position: absolute;
  bottom: 25px; /* Positioning relative to the Twitter icon. Adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #202023FF; /* Dark background for tooltip */
  color: #fff; /* White text color */
  font-size: 0.8em;
  white-space: nowrap;
  pointer-events: none; /* So that it doesn't interfere with the hover on the icon */
}

.twitter-container:hover .twitter-tooltip {
  display: block;
}



.country-container {
  position: relative;
  display: inline-block;
  display: flex;
  align-items: center; /* Centers vertically */
  justify-content: center; /* Centers horizontally */
  height: 100%; /* Set to the height of the containing element */
}

.country-icon img {
  width: 24px; /* Adjust as needed */
  height: 24px; /* Adjust as needed */
}

.flag-icon {
  transform: scale(3); /* Increase to make the flag icon bigger */
}

.country-tooltip {
  display: none;
  position: absolute;
  bottom: 30px; /* Adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #202023FF;
  color: #fff;
  font-size: 0.8em;
  white-space: nowrap;
  pointer-events: none;
}

.country-container:hover .country-tooltip {
  display: block;
}



#experts_sct table th {
  background-color: #202023FF;
  color: white;
  text-align: center;
  font-family: Verdana;
  border: none;
  transition: all 0.3s;
}

.fixed-header {
  position: fixed;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;  /* Ensure the header is above the mask */
  box-sizing: border-box;
}

/* New style for the white mask */
.white-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-color: #ffffff;
  z-index: 1000;  /* Ensure the mask is below the header but above other content */
}



.twitter-feed-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth; /* Makes the scroll movement smooth */
  width: 100%; /* This sets the width of the container to be 80% of its parent's width */
  margin: 0 auto; /* This centers the container horizontally */
}

.tweet {
  flex: 0 0 auto; /* Changed to prevent tweets from shrinking. Now each tweet will keep its natural width. */
  margin: 10px;
}



.fa-envelope {
  color: #D4584BFF;
}

.disable-interactions {
  filter: blur(2px);
  pointer-events: none;
}

.popup_labcriteria {
  display: none; /* Initially hide the popup */
  position: absolute; /* Position it fixed to the viewport */
  top: 50%; /* Center it vertically */
  left: 50%; /* Center it horizontally */
  transform: translate(-50%, -50%); /* Necessary adjustment for centering */
  width: 80%; /* Set a width, you can adjust this as needed */
  max-width: 800px; /* Maximum width to ensure it doesn't get too wide on large screens */
  padding: 20px; /* Some padding for the content */
  background: #fff; /* A background color, change this to what suits your design */
  z-index: 999999999999; /* Ensures the popup is above all other elements */
  border-radius: 10px; /* Optional, for some rounding of corners */
}




.popup_expertcriteria {
  display: none; /* Initially hide the popup */
  position: absolute; /* Position it fixed to the viewport */
  top: 50%; /* Center it vertically */
  left: 50%; /* Center it horizontally */
  transform: translate(-50%, -50%); /* Necessary adjustment for centering */
  width: 80%; /* Set a width, you can adjust this as needed */
  max-width: 800px; /* Maximum width to ensure it doesn't get too wide on large screens */
  padding: 20px; /* Some padding for the content */
  background: #fff; /* A background color, change this to what suits your design */
  z-index: 999999999999; /* Ensures the popup is above all other elements */
  border-radius: 10px; /* Optional, for some rounding of corners */
}


/* #glossaryTable th, #glossaryTable td {
  border-left: none;
  border-right: none;
} */
#glossaryTable {
  border: none;
}

#glossaryTable th {
  border-bottom: 1px solid black;
}




.table-responsive {
  overflow-x: auto;
}

/* Ensure tables fit inside the parent container */
table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}



