
.fed-plug-floor {
  width: 48%;
  height: 100%;
  background-color: white;
  display: block;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  right: 16px;
}

.fed-performance-index-container {
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

#dateAndTimeWatermark {
  width: 100%;
  margin-bottom: 10px;
  display: block; 
} 

#pointsLegend {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: start;
  width: 100%;
  position: relative;
}

#pointsDetails {
  align-items: center;
  font-size: 12px;
  color: yellow;
  margin-bottom: 10px;
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
  overflow: hidden;
  max-height: 200px;
  opacity: 1;
  position: relative;
  border: 1px solid white;
  padding: 15px;
  display: none;
}


#pointsDetails:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

#pointsDetails:not(.open) {
  max-height: 0;
  opacity: 0;
  display: none;
}

#pointsDetails:not(.open):before {
  content: none;
}

#picLegend
{
  position: absolute;
  top: 80px;
  left: 10px;
  color: #ffffff; /* Change the color as per your needs */
  opacity: 0.5; /* Adjust the opacity to make it look like watermark */
  font-size: 14px;
  z-index: 1; /* Ensure the watermark is above other content */
  display: flex;
  flex-direction: column;
  justify-content: start;
  height: auto;
  width: 30%;
}

.fed-chart-wall-container {
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.fed-performance-index-tree {
  width: 50%;
  height: 100%;
  background-color: transparent;
  display: flex;
  margin-left: 0%;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 10px;
  position: relative;
  flex-direction: column;
}

.fed-sunburst-container,
.fed-sunburst-chart {
  width: 100%;
  height: 100%;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 1rem;
}

.fed-sunburst-container {
  padding-top: 0px;
  overflow: visible;
}

.fed-leaf-node-layout {
  width: 100%;
  height: 80%;
  background-color: black;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 0px;
  z-index: 10001;
  margin-top: 5.4rem;
  margin-bottom: 10px;
  border-radius: 16px;
}

.fed-building-layout {
  display: none;
  text-align: center;
  width: 80%;
  height: 50%;
  background-color: transparent;
  justify-content: center;
  align-items: center;
}

.invite-message {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 20px;
}

.invite-message span {
  color: #4CAF50;
}

.fed-sunburst-chart {
  display: flex;
}

.gid_header {
  position: absolute;
  background-color: transparent;
  display: flex;
  width: auto;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: auto;
  margin-left: 0px;
  bottom: 14px;
  left : 0px;
}

.chart-analytics-data {
  position: absolute;
  background-color: transparent;
  display: flex;
  width: auto;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: auto;
  margin-left: 0px;
  bottom: 40px;
  left : 2px;
}

.chart-legend-container {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  flex-direction: row;
  gap: 2px;
  width: 100%;
}

.chart-legend-bar {
  /* Styles for the gradient bar */
  margin-bottom: 10px;
}

.chart-legend-label {
  /* Styles for the labels (Low, Medium, High) */
  display: inline-block;
  width: 30px; /* Adjust based on the width of the legend bar */
  text-align: center;
  font-size: 10px;
  color: black;
}

.chart-legend-button-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  /* Add additional styling as needed */
}

.chart-legend-title {
  padding: 5px 10px;
  margin: 2px;
  border: 1px solid black;
  border-radius: 5px;
  display: inline-block; /* To make them appear side by side */
  transition: background-color 0.3s;
  font-size: 10px;
  /* Additional styling for the title */
}

.chart-legend-item {
  padding: 5px;
  color: black; 
  font-size: 10px;
  /* Add more styling as needed */
}

.legend-text {
  display: inline-block;
  max-width: 100px;   /* adjust width as needed */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  padding-left: 6px;;
}

.legend-selected span.legend-text {
    color: #51a6f5;
    font-weight: 600;
}


.gid_back {
  position: relative;
  background-color: transparent;
  border-radius: 8px;
  display: none;
  cursor: pointer;
  align-items: center;
}

.gid_pinned_floors {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: left;
  margin-left: 0px;
}

#map {
  width: 800px;
  height: 600px;
}

.gid_district {
  fill: transparent;
  stroke: #070707;
  stroke-width: 2px !important;
}
.gid_district:hover {
  fill: transparent;
}

.fed-wall-right-panel {
/*  display: flex;
  position: absolute;*/
  display: flex;
  height: 100%;
  align-items: center;
  padding-top: 4px;
  padding-bottom: 0px;
}

.fed-wall-tablemap-panel {
  display: flex;
  position: relative;
  bottom: 0%;
  right: 0%;
  flex-direction: row;
  gap: 4px;
  justify-content: center;
  width: auto;
  height: auto;
}

#pinnedWallContainer {
  display: flex;
  flex-direction: row;
  justify-content: start;
  width: auto;
  position: relative;
  margin-left: 0px;
}

#gidBuildPinnedIcons,
#gidPinnedFloorsText,
#gidBackText {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  font-weight: normal;
}

#gidPinnedFloorsText {
  justify-content: start;
  margin-right: 10px;
  gap: 2px;
  font-size: 16px;
}

#gidExportToPNG {
  display: none;
  align-items: center;
  justify-content: end;
  margin-right: 20px;
}

#exportToPngButton {
  background-color: transparent;
  color: #007BFF;
  padding: 4px 8px;
  border: none;
  cursor: pointer;
  width: auto;
  border-radius: 16px;
  font-size: 12px;
}

#gidBuildPinnedIcons {
  flex-direction: row;
  justify-content: center;
  width: auto;
  gap: 6px;
}

.gid_back.active {
  display: none;
  z-index: 999;
  padding-left: 10px;
  margin-left: 10px;
}

.fed-home-page {
  width: 100%; height: 100%; display: flex;
  flex-direction: row;
}

#ipomoFloorFooter {
  position: absolute;
  text-align: center;
  width: 37.5%;
  height: 28px;
  padding: 4px;
  font: 12px sans-serif;
  background: #F7F9F9;
  border: 0px;
  bottom: 0px;
  right: 0px;
  margin-left: 2px;
  margin-bottom: 2px;
  padding-right: 2px;
  z-index: 999;
}

#guessGameDialog.hidden {
  display: none;
}

#guessGameWelcomeDialog,
#guessGameDialog {
  display: flex; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  z-index: 1233;
}

#guessWelcomeGameModal,
#guessGameModal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 12px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000; /* Ensure it's above other content */
  min-width: 20%;
}

#guessGameWelcomeDialog {
  background-color: rgba(0,0,0,0.8);
  display: none;
}

#guessWelcomeGameModal {
  background-color: transparent;
}

#guessGameWelcomeButtons
{
  display: flex; gap:20px;
}

#guessGameButtons {
  display: flex; gap:20px; margin-top: 5%; margin-left: 40%;
}

@keyframes menu-blinker {
  0%, 100% { background-color: white; }
  50% { background-color: #007BFF; }
}

.notification-menu-blink {
  animation: menu-blinker 1s linear infinite;
}

@keyframes gid_blink {
  0%, 100% { fill: #ff0000; } /* Red color */
  50% { fill: #ffffff; } /* White color */
}

@keyframes wave-animation {
  0% {
      r: 5; /* Initial radius */
      stroke-opacity: 0.1;
  }
  100% {
      r: 60; /* Final radius */
      stroke-opacity: 0;
  }
}

.wave-circle {
  animation: wave-animation 1s ease-out infinite;
}

@keyframes gid_blinking {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.gid_blinking {
  animation: gid_blinking 1s infinite;
}

.fed-perf-header {
  position: absolute;
  background-color: transparent;
  padding: 0px;
  display: none;
  left: 0px;
  top: 10px;
  width: 50%;
  flex-direction: row;
  justify-content: space-between;
  height: 40px;
  background-color: #F7F9F9;
}

.fed-performance-index-table {
  width: 50%;
  height: 100%;
  background-color: #8080801c;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
}

#fedWallChartSeperater {
  display: flex;
  width: 4px;
  height: 100%;
  background-color: #8080801c;
  z-index: 99999;
  position: absolute;
  left: 50%;
}

#fedShareFed
{
  color: black !important;
  margin-right: 3.4rem;
}
#fed_menuBtn
{
  color: black !important;
}


.fed-perform-index-table-header {
  width: 100%;
  height: 50px;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: start;
  background-color: transparent;
  align-items: center;
  padding-right: 10px;
  padding-left: 10px;
}

/*.fed-perform-index-table-menu {
  width: 90%;
  height: 100%;
  display: flex;
  justify-content: left;
  overflow-x: auto;
  white-space: nowrap;
  align-items: center;
  margin-left: 0px;
  scrollbar-width: thin;
  scrollbar-color: auto;
}*/

.fed-perform-index-table-menu { 
  width: 100%;
    display: flex;
    flex-direction: column;
}

.fed-perform-index-table-menu-button, .fed-perform-index-tab-menu-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  margin-right: 4px;
  text-align: center;
  font-size: 0.8rem;
  outline: none;
  flex: 0 0 auto; /* Do not grow or shrink */
  border-radius: 8px;
  margin-bottom: 4px;
  margin-top: 4px;
  color: gray;
  font-weight: normal;
  height: 28px;
  align-items: center;
  display: flex;
  gap:6px;
      padding: 14px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #333;
    width: 100%;
}

/*.fed-perform-index-table-menu-button:hover {
  color: black;
  background-color: #1062a936;
}
.fed-perform-index-tab-menu-button:hover {
  color: black;
  background-color: #1062a936;
}*/

.fed-perform-index-table-menu-button.active span {
  color: #51a6f5;
  font-weight: 600;
/*  background-color: #007BFF;*/
}
.fed-perform-index-tab-menu-button.active {
  color: #51a6f5;
  font-weight: normal;
  /*background-color: #007BFF;*/
}
.fed-perform-index-table-close {
  position: relative;
  font-size: 24px; /* Adjust the font size as needed */
  text-align: center;
  cursor: pointer;
  z-index: 1000;
  color: white;
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.fed-content-panel {
  width: 100%;
  height: 100%;
  background-color: transparent;
  display: flex;
  position: relative;
  align-items: center;
  overflow-y: auto;
}

.fed-performance-index-table-home {
  width: 100%;
  height: 100%;
  background-color: #ddd;
  display: none;
  position: relative;
  align-items: center;
  overflow-y: auto;
}

.fed-custom-form-data-table,
.fed-floor-trends-table,
.fed-performance-index-table-top10 {
  width: 100%;
  height: 20rem;
  background-color: #ddd;
  display: flex;
  position: relative; 
  flex-direction: column;
  font-size: 14px !important;
  border-radius: 0px;
  margin-top: 0rem;
}

.fed-performance-index-table-top10 {
  height: auto;
  max-height: 14rem;
}

.fed-floor-trends-table-container {
  display: none; 
  flex-direction: column;
  justify-content: center; 
  width: 90%; 
  height: 70%;
  padding-top: 10px;
  align-items: center;
  margin-bottom: 0px; 
  margin-left: 0rem;
}

.node circle {
  fill: blue;
  stroke: steelblue;
  stroke-width: 1.5px;
}

.node circle.selected {
  fill: red;
}

.node text {
  color: white;
  font: 12px sans-serif;
}
.link {
  fill: none;
  stroke: #ccc;
  stroke-width: 1.5px;
}

.d3tooltip {
  position: absolute;
  text-align: center;
  width: auto;
  height: auto;
  padding: 12px;
  text-align: left;
  font: 12px sans-serif;
  background: lightsteelblue;
  border: 0px;
  border-radius: 12px;
  pointer-events: none;
}

.plug-btn-container {
  display: flex; justify-content: space-between; position: absolute; bottom: 16px; right: 50%; gap: 10px;
}

.plug-btn i {
  margin-right: 8px;  /* adjust the value as needed */
}

.fed-floor-details-div {
  display: flex; flex-direction: row; justify-content: space-between; width: 65%; margin-top: 10px;
}


/* fed template selection */

.fed_template_selection {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.fed_template_dialog {
  background: #eadddd;
  padding: 20px;
  border-radius: 10px;
  width: 750px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  flex-direction: column;
  height: 500px;
  justify-content: space-between;
}

.fed-pq-selection-container {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.fed_pq_selection-dialog {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 460px; /* Fixed height for the dialog */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.fed-pq-winner-header {
  /* Styling for the question */
  display: flex;
  width: 100%;
  margin-bottom: 10px;
  margin-top: 20px;
  color: green;
  font-size: 16px;
  font-weight: normal;
}

/* Container for all winners */
.fed-pq-winner-main-container {
  display: flex;
  overflow-x: auto; /* for horizontal scrolling */
  flex-direction: row;
  margin-top: 10px;
  max-width: 100%;
 /* padding-right: 30px;*/
  flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
   
}

/* Individual winner container */
.fed-pq-winner-container {
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 4px;
  
  display: flex;
  align-items: center;
  min-width:45%;
}

.fed-pq-winner-logo {
  width: 50px;
  height: 50px;
  background-size: cover;
  border-radius: 50%; /* circular logo */
  margin-right: 10px;
}

.fed-pq-winner-name-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-right: 4px;
  align-items: start;
  justify-content: start;
  max-width: 64%;
  width: auto;
}

.fed-pq-winner-name {
  margin-right: 0px;
  font-size: 12px;
  font-weight: bold;
  overflow-x: auto;
  white-space: nowrap;
  width: 100%;
}

.fed-pq-winner-floor-title {
  display: flex;
    align-items: center;
    font-size: 10px;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
}


.fed-blur-effect {
  filter: blur(10px); /* Adjust the pixel value as needed */
}

.fed_build_loading_container {
  position: absolute; /* Position relative to the nearest positioned ancestor */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centers the loading container */
  z-index: 10; /* Ensures it's above the other content */
}

.fed_build_blur_content {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
}

.fed-building-text {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: black;
}

.status-text {
  font-size: 16px;
  color: black; /* Slightly lighter color for the status */
  display: inline-block;
}

.dots::after {
  content: "";
  animation: dots 1.5s steps(3, end) infinite;
}

@keyframes dots {
  0% {
      content: "";
  }
  33% {
      content: ".";
  }
  66% {
      content: "..";
  }
  100% {
      content: "...";
  }
}

.fed_template_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header_left {
  font-size: 12px;
  margin-bottom: 10px;
}

.upload_excel_div {
  display: flex;
  align-items: left;
  width: 100%;
  margin-left: 0px;
}

.fed_excel_file_name {
  margin-left: 10px;
  font-size: 10px;
  align-items: center;
  display: flex;
  font-weight: bold;
}

.fed_help_dialog {
  background: white;
  border-radius: 10px;
  padding: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10; /* Ensure it's above other content */
  max-width: 600px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 90%;
  height: 90%;
}

.fed_close_help_dialog {
  display: block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #f44336;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;

}

.fed_help_infoicon {
  cursor: pointer;
  padding-left: 8px; /* Adjust space between text and icon */
  /* Add additional styling as needed */
}

/* Optional: Hover effect for the icon */
.fed_help_infoicon:hover {
  opacity: 0.8;
}


.upload_button {
  cursor: pointer;
  background-color: #007BFF;
  color: white;
  padding: 8px 16px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
}


.fed_template_content {
  display: flex;
  height: 60%;
  margin-left: 0px;
  margin-bottom: 10px;
}

.fed_template_left, .fed_template_right {
  height: 100%; /* Take full height of their parent */
  overflow-y: auto; /* Enable vertical scrolling */
}

.fed_template_left {
  width: 26%;
  border-right: 1px solid #ccc;
  padding-right: 10px;
}

.fed_template_right {
  width: 70%;
  padding-left: 10px;
}

.fed_template_cat_item {
  cursor: pointer;
  padding: 5px 0;
  color: black;
}

.fed_template_cat_item:hover {
  background-color: #e6edee73;
}

.fed_template_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}

.fed_template_details {
  max-width: 80%;
}

.fed_template_preview_icon {
  cursor: pointer;
  font-size: 16px;
}

.fed_template_selected_row {
  background-color: #e6edee73;
}

.fed_template_build, .fed_template_close ,.fed_template_previous{
  padding: 10px 20px;
  margin: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.fed_template_previous{
  background-color: #007bff;
  cursor: pointer;
  color: white;
}

.fed_template_build {
  background-color: #4CAF50;
  color: white;
}

.fed_template_close {
  background-color: rgb(200,40,40);
  color: white;
}

.fed_template_button_container {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  width: 100%;
  background-color: transparent; /* To cover any content behind the buttons */
}

.fed_template_selected_row {
  background-color: #e6edeed4;
}

.fed_template_selected_cat {
  background-color: #e6edeed4; /* Or any color you prefer */
  color: #000; /* Optional: change text color if needed */
  border-radius: 10px;
  padding: 4px;
}

.build-fed-container {
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow: hidden;
}

.build-fed-header {
  padding: 10px;
  background-color: #f4f4f4;
  text-align: center;
  font-weight: bold;
}

.build-fed-content {
  display: flex;
  justify-content: space-around;
  padding: 10px;
}

.leftDiv,
.rightDiv {
  flex: 1;
}

.fed-pq-table-container {
  /* Your styling for the container */
  display: none;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
  background-color: rgba(255,255,255,0.75);
  border-radius: 10px;
  padding: 10px;
  margin-left: 8px;
  margin-right: 4px;
}
.fedUnpinnedMsgInnerDiv,.fedUnpinnedLoginInnerDiv{
  display: flex;
  flex-direction: column;
  width: 80%;
  justify-content: center;
  align-items: center;
  background-color: white;
  border-radius: 8px;
  padding: 10px;
  z-index: 1001;
  padding: 21px 0;
}
.fedUnpinnedMsgDiv,.fedUnpinnedLoginDiv {
  /* Your styling for the container */
  display: none;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border-radius: 10px;
  padding: 10px;
  height: 91%;
  position: fixed;
  z-index: 1000;
}

.community_messages div.fed-perform-index-table-menu {
    flex-direction: row;
    gap: 14px;
    overflow-x: scroll;
}

.community_messages div.fed-perform-index-table-menu button:hover {
    color: #51a6f5;
}

.community_messages button.fed-perform-index-tab-menu-button {
    width: auto !important;
}

.fed-pq-table-question {
  /* Styling for the question */
  display: flex;
  width: 100%;
  margin-bottom: 10px;
      font-size: 14px;
      font-weight: 500;
}

.fed-pq-table-options {
  width: 100%;
}

.fed-pq-table-option-bar {
  width: 100%;
  height: 30px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: start;
  border-radius: 10px;
  position: relative;
      font-size: 14px;
  /* Additional styling for the option bars */
}

.fed-pq-table-footer {
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgb(247, 249, 249);
  font-size: 14px;
}


.js-plotly-plot .plotly .modebar-btn svg {
      width: 14px !important;
    height: 14px !important;
}

.scrolling-floors-container {
  position: absolute;
  bottom: 0%;
  right: 0%;
  height: auto; /* Adjust based on your requirements */
  overflow: hidden;
  justify-content: end;
  display: flex;
  flex-direction: column;
  align-items: end;
  background-color: #007BFF26;
  border-radius: 10px;
  padding: 6px;
  padding-bottom: 6px;
  overflow-y: auto;
  padding-left: 12px;
  gap: 4px;
  display: none;
}

.fed-floor-title {
  white-space: nowrap;
  margin-bottom: 6px;
  color:black;
  cursor: pointer;
  font-weight: normal;
  font-size: 6px;
}

.legend-items-container {
  /* Styles for the container of all legend items */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-left: 10px;
}

.legend-item-container {
  /* Styles for each legend item, e.g., margin, alignment */
  margin-right: 10px;
  display: flex;
  align-items: center;
}

.legend-percentage {
  /* Styles for the percentage text, e.g., font size, alignment */
  font-size: 10px;
  color: black;
  margin-left: 2px;
}

.legend-color-box {
   width: 14px; /* Adjust as needed */
  height: 14px; /* Adjust as needed */
  align-items: center;
  justify-content: center;
  color: white;   /* or black depending on background */
  font-weight: bold;
  border-radius: 3px;
  display: flex;
}

.legend-title {
  /* Styles for the legend title, e.g., font size, alignment */
  font-size: 16px;
}

@keyframes fed-scrollUp {
  from {
      transform: translateY(100%);
  }
  to {
      transform: translateY(-100%);
  }
}

  /* Modal Styles */
  .welcome-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0 0 0 / 60%); /* Fallback color */
    /*background-color:white; /* Black w/ opacity */
    z-index: 100009;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    align-items: center;
  }

  .welcome-modal.show {
    opacity: 1;
    visibility: visible;
  }

  .welcome-modal-content {
    background-color: white;
    margin: 0% auto; /* 15% from the top and centered */
    padding: 0px;
    border: 1px solid #888;
    width: 75%; /* Could be more or less, depending on screen size */
    height: 95%;
    border-radius: 16px;
    flex-direction: row;
    display: flex;
    align-items: center;
  }
  
  .welcome-modal-header, .welcome-modal-body, .welcome-modal-footer {
    padding: 2px 2px;
  }

  .welcome-modal-body{
  margin-bottom: 12px;
  }
  
  .welcome-modal-header {
    background-color: white;
    color: white;
    text-align: center;
    float: left;
    /*width: 25%;*/
    margin: 0 12px;
  }
  #welcomeTitle {
    font-size: 20px;font-weight: bold; color: #007BFF;
  }
  #welcomeInstructions {
    font-size: 14px;font-weight: normal; color: black;
  }
  .welcome-modal-footer {
    background-color: white;
    color: white;
    flex-direction: row;
    display: block;
    align-items: center;
    justify-content: center;
    margin: 0px 12px 12px 12px;
    height: 82%;
    overflow: auto;
  }
  
  #welcomePinModal,
  #welcomeCloseModal {
    background-color: #51a6f5; 
    color: white;
    padding: 12px 16px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: auto;
    border-radius: 12px;
    font-size: 1rem;
    float:right;
    right:0px;
  }
   #welcomeCloseModal{
    background-color: #b8babe;
   }
  #fedUnpinnedMsgPinBtn,#fedUnpinnedLoginBtn{
    background-color: #4CAF50; /* Green */
    color: white;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: auto;
    border-radius: 8px;
    font-size: 14px;
    position: relative;
  }

  #guessGamePredictButton,
  #guessGameSkipButton,
  #guessGameCopyButton,
  #guessGameCloseButton,
  .guessgame-close,
  .enable-drag-icon,
  .fed-edit-button,
  .plug-floor-icon,
  .build-fed-icon {
    padding: 8px 8px;
    border: none;
    background-color: #007BFF9E;
    color: #FFF;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    display: none;
  }

  .guessgame-left, .guessgame-right, .guessgame-item {
    display: flex;
    flex-direction: row;
  }
  
  .guessgame-right {
    align-items: center;
    justify-content: end;
    height: 100%;
    gap: 4px;
  }

  #guessGamePredictButton,
  #guessGameSkipButton {
    display: flex;
    font-size: 18px;
  }

  #guessGameCopyButton,
  #guessGameCloseButton
  {
    display: flex;
  }

  #guessGameCloseButton {
    background-color: gray;
  }
  
  .guessgame-item {
    border: 2px solid #000; /* Black border */
    padding: 0px;
    cursor: normal;
    display: flex; /* To line items up horizontally */
    margin-right: 5px; /* Space between items */
    border-radius: 5px; /* Optional: rounded corners */
    gap: 6px;
  }
  
  .guessgame-item-clicked {
    background-color: lightblue;
  }
  

  .guessgame-item label {
    margin-right: 5px;
  }

  #guessGameFedUrl {
    position: fixed;
    left: 23%;
    bottom: 10%;
    display: none;
  }

  .fed-edit-button {
    display: none;
    margin-left: 10px;
  }

  #toggleMobileScreen {
    width: 16px;
    height: 16px;
    background-size: cover;
    display: inline-block;
  }

  .fed-sunburst-container-header {
    display: none;
    width: 100%;
    height: 10%;
    flex-direction: row;
    justify-content: space-between;
  }

  .fed-header-logo-container {
    padding: 0px;
    display: flex;
    align-items: center;
  }

  .fed-qrcode-logo,
  .fed-poweredby-logo,
  .fed-header-logo {
    width: 40px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
  }

  .fed-poweredby-logo {
    margin-left: 8px;
  }

  .fed-header-title-container {
    width: 90%;
    height: 100%;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-right: 10%;
  }

  .fed-sunburst-container-footer {
    display: none;
    width: 100%;
    height: 8%;
    flex-direction: row;
    justify-content: space-between;
  }

  .fed-footer-url-container {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .fed-footer-poweredby-container {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
  }

  .gid-leaf-title {
    fill: black;
    font-size: 14px;
    cursor: pointer;
  }
  .gid-leaf-rect {
      fill: steelblue;
      stroke: #0000004d;
      stroke-width: 1px;
      cursor: pointer;
  }
  .gid-leaf-connection-line {
      stroke: #0000004d;
      stroke-width: 1px;
  }

  .gid-trend-connection-line {
    stroke: #00000024;
    stroke-width: 1px;
  }

  #fedPinGidFloor,
  #floorToFedScreen,
  #fedToggleMobileScreen {
   display: none;
  }

 @keyframes balloonFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-10px, -10px); }
    50% { transform: translate(10px, 10px); }
    75% { transform: translate(-10px, 10px); }
  }

  
  @keyframes balloonFloat1 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-5px, -5px); }
    50% { transform: translate(5px, 5px); }
    75% { transform: translate(-5px, 5px); }
  }
  
  @keyframes balloonFloat2 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-10px, -10px); }
    50% { transform: translate(10px, 10px); }
    75% { transform: translate(-10px, 10px); }
  }
  
  @keyframes balloonFloat3 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-3px, -3px); }
    50% { transform: translate(3px, 3px); }
    75% { transform: translate(-3px, 3px); }
  }
  
  @keyframes balloonFloat4 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(0, -10px); }
    50% { transform: translate(0, 10px); }
    75% { transform: translate(0, -10px); }
  }
  
  @keyframes balloonFloat5 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(10px, 0); }
    50% { transform: translate(-10px, 0); }
    75% { transform: translate(10px, 0); }
  }

.fedspinner {
    display: none;
    border: 16px solid  #424347; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 50%;
    left: 42%;
    transform: translate(-50%, -50%);
    z-index: 9911; /* Ensure it is above other elements */
  }

  @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
}

  .main-post-button,
  .fed-post-button {
    display: none;
    position: fixed;
    bottom: 1%;
    right: 38%;
    padding: 0em;
    border-radius: 0.4rem;
    background-color: #007bff;
    z-index: 100000;
    cursor: pointer;
    width: 8rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
  }

  .fed-creation-wizard-container,
  .main-post-container,
  .fed-wallpost-container {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: black; /* Black w/ opacity */
    align-items: center;
    flex-direction: column;
    justify-content: start;
  }

  .main-posting-items-container,
  .fed-wall-posting-items-container {
    display: flex; align-items: start; gap: 4px; width: 950px; height: auto;overflow-y: auto;
    background-color: white;
    border-radius: 0px;
    margin-top: 0em;
    height: 100%;
    padding-left: 1rem;
    padding-right: 0.5rem;
    margin-top: 0;
    padding-top: 4.5rem;
  }


  .fed-posting-headers {
    width: 42%;
    position: fixed;
    top: 6em;
    height: 7em;
    display: none;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 1em;
    margin-left: 2rem;
  }

  .span-posting-in{
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
    position: relative;
    top: 10px;

  }


  .floor-list-container {
    margin-bottom: 10px;
    height: 22rem;
}

.floor-search-box {
    width: 100%;
    height: 42px;
    margin-bottom: 10px;
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    color: grey !important;
    padding-left: 14px;
}

.floor-list {
  list-style-type: none;
  padding: 0;
  height: 90%;
}

.floor-item {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  color: black;
}

.floor-item:last-child {
  border-bottom: none;
}

.floor-item:hover {
  background-color: #f0f0f0;
}

/* Apply alternate background colors */
/*.floor-item:nth-child(odd) {
  background-color: #f9f9f9; /* Light gray */
/*}

.floor-item:nth-child(even) {
  background-color: #e0e0e0; /* Lighter gray */
/*}*/


#welcomeModalText
{
  float: left;
  width: 70%;
  text-align: left;
}

/* Add tick mark to selected item */
.floor-item.selected::before {
  content: '\2713'; /* Unicode character for check mark */
  display: inline-block;
  width: 1em; /* Adjust size as needed */
  height: 1em; /* Adjust size as needed */
  margin-right: 0.5em; /* Adjust spacing as needed */
}

/* Style selected item */
.floor-item.selected {
  background-color: #cceeff; /* Light blue background color for selected item */
  color: #000; /* Black text color for selected item */
  font-weight: bold; /* Bold text for selected item */
}

#welcomeModalImage
{
  width: 72px;
  height: 72px;
  opacity: 1;
  border: lightgrey 1px solid;
  border-radius: 5px ;
}

.floor-post-options{
  width: 86% !important;
}


.main-posting-floortags-container {
  width: 63%;
  position: fixed;
  top: 3.5rem;
  height: 3.5em;
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  background-color: black;
  overflow-x: auto;
  margin-left: -9px;
  overflow-y: hidden;
  border-bottom: 1px solid #f1f3f5;
    padding-bottom: 1rem;
}

.floor-hashtag {
  padding: 0.4em;
  margin: 0.4em;
  background-color: #6b7280;
  color: white;
  border-radius: 0.5em;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.75rem;
}
.floor-hashtag:hover {
    background-color: #666;
}

.floor-hashtag.selected {
  background-color: #4190e3;
}

.floor-tag-main
{
  float: left;
  width: 100%;
  display: flex;
  margin-left: 30px;
}

#floor_tag_main_title
{
  background-color: transparent;
  color: #6b7280;
  padding: 4px;
  border: 1px solid rgb(204, 204, 204);
  cursor: pointer;
  width: auto;
  border-radius: 16px;
  font-size: 12px;
  margin-right: 8px;
}


#writeArticleBtn {
    display: flex;
    align-items: center;
    background: transparent;
    color: #4190e3;
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;
    border: 1px solid #4190e3;
    float: right;
    right: 0;
    position: absolute;
}

#writeArticleBtn:hover {
  background: #4190e3;
  color:white
}

#writeArticleBtn i:hover {
  font-size: 14px;
  color: white !important;
}

#writeArticleBtn i {
  font-size: 14px;
  color: #4190e3 !important;
}

.floortags-title {
  font-size: 0.875rem;
  color: white;
  position: fixed;
  top: 1rem;
  display: flex;
  width: 63%;
  margin-left: 0px;
  align-items: center;
}

.federation-title {
  font-size: 1.125rem;
  color: Black;
  position: fixed;
  top: 10px;
  display: flex;
  width: 46%;
  left: 6%;
  height: 40px;
  align-items: center;
  justify-content: start;
  z-index: 877;
  margin-left: 10px;
  font-weight: bolder;
  background-color: white;
}

.fed-scroll-home {
  display: none;
}

#gidExternalLink {
  display: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.current-fed-floor-title {
  font-size: 16px;
  color: Black;
  position: relative;
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  z-index: 877;
  margin-left: 0px;
  font-weight: bolder;
  background: linear-gradient(to right, transparent, rgba(177, 200, 177, 0.977), transparent);
  border-radius: 16px;
}

#currentFedFloorTitle {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#currentFedFloorTitle.fade-in {
  opacity: 1;
}

#currentFedFloorTitle.fade-out {
  opacity: 0;
}


/* Trending Floors Div Styling */
.trending-floors {
  position: absolute;
  bottom: unset; /* Adjust based on parent */
  width: 180px;
  height: auto; /* Fixed height */
  background-color: #f9f9f9; /* Light background color */
  border: unset; /*1px solid #ddd;  Light border */
  box-shadow: unset ; /*0 4px 8px rgba(0, 0, 0, 0.1);  Subtle shadow */
  border-radius: 0px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  max-height: 150px;
  display: none;
  top: 5rem;
  left: 0px;
  z-index: 99999;
}

/* Header Styling */
.trending-floors .trending-header {
  background-color: #f5f5f5; /* Light header background */
  padding: 6px;
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
}

/* Icon in Header */
.trending-floors .trending-header i {
  margin-right: 8px;
  color: #ff5733; /* Trend icon color */
}

/* Floor List Styling */
.trending-floors .trending-floor-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto; /* Allow scrolling if there are more than 5 items */
  max-height: 100%; /* Max height for scrolling */
  overflow-x: hidden;
}

/* Individual Floor List Item */
.trending-floors .trending-floor-list li {
  padding: 6px;
  border-bottom: 1px solid #ddd; /* Thin line separator */
}

.trending-floors .trending-floor-list li:last-child {
  border-bottom: none; /* No line for the last item */
}

/* Link Styling */
.trending-floors .trending-floor-list li a {
  text-decoration: none;
  color: #007bff; /* Blue link color */
  font-size: 0.875rem;
  display: block; /* Ensure the link takes full width of li */
  max-width: 100%; /* Prevent the text from overflowing */
  text-overflow: ellipsis; /* Show ellipsis for long text */
  white-space: nowrap; /* Prevent the text from wrapping */
}

.trending-floors .trending-floor-list li a:hover {
  text-decoration: underline;
}

/* Expand/Collapse Icon Styling */
.expand-icon {
  font-size: 12px; /* Smaller size for the expand/collapse icon */
  margin-left: 30px;
}

#fedWallActionButtons {
  display: flex;
  width: 100%;
  height: 40px;
  background-color: transparent;
  z-index: 99999;
  position: absolute;
  justify-content: space-between;
  flex-direction: row;
  margin-top: 0rem;
  bottom: 0;
}

.fed-performance-plot {
  display: none;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px; /* Add spacing between plots */
  width: 100%;
  height: 40%;
  background-color: transparent;
  display: none;
  position: relative; 
  flex-direction: row;
  font-size: 14px !important;
  border-radius: 0px;
  margin-top: 0rem;
  padding-right: 4px;
}

.plot-box {
 /* flex: 1 1 calc(50% - 20px);  Two per row on desktop */
  box-sizing: border-box;
}

.map-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-image {
  max-width: 100%;
  height: auto;
}

  .legend-dropdown {
    width: 220px;
    position: relative;
    cursor: pointer;
  }

  .legend-selected {
    background: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
  }
  .legend-selected:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
  }

  .legend-arrow {
    transition: transform 0.3s;
  }

  .legend-dropdown.open .legend-arrow {
    transform: rotate(180deg);
  }

  .legend-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 250px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 100;
    padding: 10px 14px;
  }

  .legend-dropdown.open .legend-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .legend-option {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }
  .legend-option:hover {
    background: #f3f4f6;
  }
  .legend-option.active {
    background: #eef2ff;
    font-weight: 600;
    color: #1d4ed8;
  }
  .legend-option .legend-dot {
    width: 10px;
    height: 10px;
    margin-right: 10px;
  }
    #fedPerformIndexTabHeader, #floorTabHeader{
    background: rgb(229, 227, 227) linear-gradient(rgb(243, 244, 245) 0%, rgb(235, 235, 235) 70%, rgba(224, 220, 220, 0.99) 100%) !important;
  }

/* CSS for the mobile view of the left panel */
@media (max-width: 767px) {

  #floor_tag_main_title
  {
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 190px;
    white-space: nowrap;
  }
    
  #welcomeModalText
  {
    float: left;
    width: 64%;
  }

  #guessGamePredictButton,
  #guessGameSkipButton {
    display: flex;
    font-size: 18px;
  }
  
  .fed-pq-winner-main-container {
    display: flex;
    overflow-x: auto; /* for horizontal scrolling */
    flex-direction: row;
    margin-top: 10px;
    max-width: 100%;
    padding-right: 30px;
    flex-wrap: initial;
    gap: 0px;
    justify-content: space-between;
  }

  .fed-pq-winner-container {
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 4px;
    margin-right: 4px; /* space between containers */
    display: flex;
    align-items: center;
    min-width:64%;
  }

  .fed-pq-winner-name-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-right: 4px;
    align-items: start;
    justify-content: start;
    max-width: 64%;
    width: auto;
  }

  .fed-plug-floor {
    margin-top: 40px;
  }

  .fed-performance-index-container {
  /*  flex-direction: column;*/
    height: 100%;
    justify-content: space-between;
    flex-direction: column;
  }

  .fed-chart-wall-container {
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    height: 100%;
  }

  .fed-performance-index-tree {
    width: 100%;
   /*  height: 100%;*/
    height: 26rem;
    margin-top: 0px;
    margin-left: 0px;
    align-items: center;
    padding: 0px;
    justify-content: start;
    background-color: transparent;
  }

  
.fed-performance-index-table {
  height: 50%;
}

  .fed-sunburst-container,
  .fed-sunburst-chart {
    width: 100%;
    height: 374px;
    background-color: transparent;
    justify-content: center;
    align-items: center;
  }
  
  .fed-sunburst-chart {
    height: 100%;
    margin-top: 0px;
  }

  .fed-sunburst-container {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: 0px;
    height: 90%;
  }
  
  .fed-leaf-node-layout {
    width: 100%;
    height: 76%;
    background-color: black;
    justify-content: center;
    align-items: center;
    margin-top: 2.8rem;
    border-radius: unset;
  }

  #fedShareFed
  {
    color: white !important;
    margin-right: 3.4rem !important;
  }
  #fed_menuBtn
  {
    color: white !important;
  }

  .fed-performance-index-table {
    width: 100%;
    position: relative;
    padding-top: 0px;
    margin-bottom: 24px;
    display: flex;
    background-color: white;
  }

  .fed-perform-index-table-header {
    position: relative;
    background-color: transparent;
    display: flex;
    left: 0px;
    top: 0px;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    height: auto;
    background-color: #292929;
    padding: 0px;
    padding-left: 5px;
    padding-top: 0px;
    align-items: center;
    z-index: 9;
    padding-bottom: 4px;
  }

  .fed-content-panel {
    background-color: transparent;
    height: 100%;
  }

  
  .fed-floor-trends-table {
    background-color: black;
    padding-bottom: 0px;
    height: 100%;
    display: flex;
  }

  .fed-performance-index-table-top10 {
    background-color: black;
    padding-bottom: 0px;
    height: auto;
    max-height: 10rem;
    display: flex;
  }

  .fed-floor-trends-table {
    border-radius: 16px;
    width: 90%;
  }

  #picLegend {
    top: 10px;
    width: 90%;
  }
  #pointsLegend {
    width: 100%;
  }

  .fed-floor-details-div {
    display: flex; flex-direction: row; justify-content: space-between; width: 100%; margin-top: 10px;
  }

  #dateAndTimeWatermark {
    width: 100%;
  } 

  .fed_template_content {
    margin-left: 0px;
  }

  .upload_excel_div {
    margin-left: 0px;
  }

  .plug-btn-container {
    display: flex; justify-content: space-between; position: absolute; bottom: 10%;
    right: 0px; gap: 0px;
  }

  .gid_header {
    z-index: 999;
    width: auto;
    align-items: last baseline;
    margin-left: 0px;
    padding: 4px;
    bottom: 8px;
    left: 0px;
  }

  .chart-analytics-data {
    z-index: 999;
    width: auto;
    align-items: last baseline;
    margin-left: 0px;
    padding: 4px;
    bottom: 34px;
    left: 0px;
  }

  .fed-perf-header {
    width: 100%;
    z-index: 999;
    height: 34px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    background-color: #F7F9F9;
    border-top: 1px solid #1062a930;
    top: unset;
  }
  .gid_back.active {
    margin-left: 0px;
  }

  #fedPinGidFloor,
  #floorToFedScreen,
  #fedToggleMobileScreen {
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(200, 50, 50);
    color: white;
    border-radius: 0%;
    width: 28px;
    height: 50px;
    z-index: 9999;
    position: fixed;  
    top: 82%;
    left: 0%;
    font-size: 16px;
    border-radius: 8px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
  }

  #floorToFedScreen {
    display: none;
    top: 59%;
  }

  #fedPinGidFloor {
    background-color: rgb(48, 109, 49);
    top: 35%;
    display: none;
  }

  #handleBackFloor,
  #toggleMobileScreen {
    display: block; /* Adjust if you want the icon to be visible */
    cursor: pointer;
    color: white;
    align-items: center;
  }

  /* Keyframes for slide-in and slide-out animations */
@keyframes slideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes slideOut {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* Applying the animation to the divs */
.slide-in {
  animation: slideIn 0.5s forwards;
}

.slide-out {
  animation: slideOut 0.5s forwards;
}


  .fed-perform-index-table-menu-button,.fed-perform-index-tab-menu-button {
    margin-bottom: 0px;
    margin-top: 0px;
    height: 24px;
    color: #91bbe6;
    font-size: 0.895rem;
    font-weight: normal;
    border-radius: 8px;
    border: none;
    margin-right: 10px;
    background: transparent;
    float: left;
  }
  .fed-perform-index-tab-menu-button {
    color: #333D42;
  }
  #fedPerformIndexTabHeader, #floorTabHeader{
    background: #F7F9F9 !important;
  }

  #ipomoFloorFooter {
    width: 100%;
    margin: 0px;
  }

  .fed-home-page {
    flex-direction: column;
  }

  .fed-perform-index-table-menu {
   /* width: 100%;
    margin-left: 8px;
    align-items: center;
    margin-top: 0;
    display: block;
    margin-bottom: 0.5rem;*/
  }

  
  .scrolling-floors-container {
    right: 2%;
    height: auto; /* Adjust based on your requirements */
    padding-left: 20px;
    gap: 2px;
    bottom: 5%;
  }

  
  .welcome-modal-content {
    margin: 0% auto; /* 15% from the top and centered */
    width: 95%; /* Could be more or less, depending on screen size */
    height: 90%;
    padding: 0px;
    min-height: 50%;
    padding-top: 12px;
  }

  .welcome-modal-content div{
    justify-content: flex-start;
  }
  .welcome-modal-header, .welcome-modal-body, .welcome-modal-footer {
    padding-left: 0px;
    
  }
  .welcome-modal-header{
    margin: 0 12px;
    width: 72px;
  }

  .welcome-modal-footer{
    height: 90%;
  }
  .floor-list-container{
    height: 80%;
  }
  #welcomeModalImage
  {
    width: 72px;
    height: 72px;
  }

  .welcome-modal-body {
    float: left;
    margin-bottom: 12px;
  }
  #welcomeTitle {
    font-size: 16px;font-weight: bold; color: #007BFF;
  }
  #welcomeInstructions {
    font-size: 13px;font-weight: normal; color: black;
  }

  .gid_pinned_floors {
    margin-left: 0px;
  }

  .enable-drag-icon,
  .build-fed-icon {
    font-size: 12px;
  }

  .plug-floor-icon {
    font-size: 12px;
  }

  #gidExportToPNG {
    margin-right: 0px;
  }
  #exportToPngButton {
    font-size: 12px;
    font-weight: normal;
  }

  
  .chart-legend-container {
    align-items: start;
    flex-direction: row;
  }

  .legend-items-container {
    justify-content: start;
    padding-left: 10px;
  }

  .fed-edit-button {
    font-size: 12px;
    font-weight: normal;
    padding: 5px 5px;

  }

  .gid-leaf-title {
    fill: black;
    font-size: 10px;
    cursor: pointer;
    font-weight: normal;
  }

  #pinnedWallContainer {
    width: auto;
    margin-left: 6px;
  }

  .legend-percentage {
    /* Styles for the percentage text, e.g., font size, alignment */
    font-size: 10px;
    color: black;
    margin-left: 2px;
  }
  
  .legend-color-box {
    width: 8px; /* Adjust as needed */
    height: 8px; /* Adjust as needed */
    font-size: 8px;
  }

  #fedWallChartSeperater {
    display: none;
  }

  #gidPinnedFloorsText {
    flex-direction: row;
    justify-content: center;
    width: auto;
    z-index: 9999;
    margin-right: 16px;
    font-size: 12px;
    font-weight: normal;
  }
  
  #gidExternalLink {
    display: none;
    cursor: pointer;
    justify-content: center;
    align-items: center;
  }

  .fed-pq-table-container {
    margin-left: 24px;
  }

  .guessgame-close {
    padding: 4px 4px;
  }

  
  #guessGameModal {
    width: 90%;
    height: auto;
    padding: 10px;
    top: 60%;
  }

  #guessGameButtons {
    display: flex; gap:20px; margin-top: 10%; margin-left: 30%;
  }
  
  #guessGameFedUrl {
    position: fixed;
    left: 4%;
    bottom: 10%;
    display: none;
  }

  
  .fedPerformanceIndexTree-minimized {
    height: 0px;
    transition: all 1s ease-out; /* Transition applies to all animatable properties */
    overflow: hidden;
    opacity: 0; /* Make it fade out */
    visibility: hidden; /* Make it invisible but still taking up space during transition */
   
  }

  .fedPerformanceIndexTree-minimized.active {
    /* Class to be added when you want the panel to be visible */
    opacity: 1;
    visibility: visible;
  }

  .fedPerformanceIndexTree-maximized {
    height: calc(100vh);
    transition: all 1s ease-in; /* Transition applies to all animatable properties */
    opacity: 1; /* Make it fade out */
    visibility: visible; /* Make it invisible but still taking up space during transition */
    
  }

  .fed-wall-tablemap-panel {
    display: flex;
    position: relative;
    right: 0%;
    flex-direction: row;
    gap: 4px;
    justify-content: center;
    width: 32px;
    height: auto;
  }

  .fedWallContainer-expanded {
    height: calc(100vh); /* subtracting the height of the minimized panel */
    transition: height 1s ease-out;
  }

  .fed-perform-index-table-menu-button.active span {
   
    color: #51a6f5;
  font-weight: 600;
  }
  .fed-perform-index-tab-menu-button.active {
     color: #51a6f5;
  font-weight: normal;
  }
  .fedspinner {
    display: none;
    border: 16px solid  #424347; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 50%;
    left: 42%;
    transform: translate(-50%, -50%);
    z-index: 100001; /* Ensure it is above other elements */
  }

  @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
  }

  .fed-wall-right-panel {
    display: flex;
    height: 100%;
    align-items: center;
    padding-top: 4px;
    padding-bottom: 0px;
  }
 
  .main-post-button,
  .fed-post-button {
    display: none;
    position: fixed;
    bottom: 5%;
    right: 3%;
    padding: 0em;
    border-radius: 0.4rem;
    background-color: #007bff;
    z-index: 100000;
    cursor: pointer;
    width: 6.8rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid transparent;
  }
 .fed-back-gid-screen {
    display: none;
    position: relative;
    padding: 1em;
    border-radius: 4px;
    background-color: #007bff;
    z-index: 100000;
    cursor: pointer;
    width: auto;
    height: 3em;
    align-items: center;
    justify-content: center;
  }

  .fed-scroll-home {
    display: none;
    position: fixed;
    padding: 1em;
    border-radius: 4px;
    background-color: transparent;
    z-index: 9999;
    cursor: pointer;
    width: auto;
    height: 50px;
    align-items: center;
    justify-content: center;
    bottom: 0px;
    left: 1.7%;
  }

  #currentScrollFedFloorTitle {
    width: auto;
    padding: 5px;
    height: auto;
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background-color: rgba(177, 200, 177, 0.977);
    color: white;
  }

  
  .main-post-container,
  .fed-wallpost-container {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: black; /* rgba(32, 32, 32, 0.94); /* Black w/ opacity */
    align-items: center;
    flex-direction: column;
    justify-content: start;
  }

  .main-posting-items-container,
  .fed-wall-posting-items-container {
    display: flex; align-items: start; gap: 4px; width: 100%; height: auto; overflow-y: auto;
    background-color: white;
    border-radius: 0px;
    margin-top: 0em;
    height: 100%;
  }

  .fed-posting-headers {
    width: 100%;
    position: fixed;
    top: 6em;
    height: 7em;
    display: none;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 1em;
  }

  .span-posting-in{
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
    position: relative;
    top: 10px;
  }

  .floortags-title {
    font-size: 0.875rem;
    color: white;
    position: fixed;
    top: 1rem;
    display: flex;
    width: 92%;
    margin-left: 0px;
    align-items: center;
  }
  
  .federation-title {
    display: none;
  }

  .main-posting-floortags-container {
    width: 93%;
    position: fixed;
    top: 3.5rem;
    height: 3.5em;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    background-color: black;
    overflow-x: auto;
    margin-left: 0px;
    overflow-y: hidden;
  }

    
  .fed-floor-trends-table-container {
    display: none; 
    flex-direction: column;
    justify-content: start; 
    width: 100%; 
    height: 25rem;
    padding-top: 0px;
    align-items: end;
    margin-bottom: 0px; 
    margin-left: 0rem;
    margin-top: 0rem;
  }

  .fed-floor-trends-table,
  .fed-performance-index-table-top10 {
    width: 100%;
    height: 100%;
    background-color: #ddd;
    display: flex;
    position: relative; 
    flex-direction: column;
    font-size: 10px !important;
    border-radius: 0px;
    margin-top: 6rem;
  }

  .fed-performance-index-table-top10 {
    margin-top: 0rem;
    padding: 4px;
    height: auto;
    max-height: 14rem;
  }

  .trending-floor-list {
    display: none;
  }

 .trending-floor-list li a
  {
    font-size: 0.675rem;
  }

  .trending-floors {
    bottom: unset; /* Adjust based on parent */
    height: 30px;
    top: 0px;
    left: 0px;
    right: unset;
    font-size: 0.675rem;
    width: auto;
    max-height: 100%;
  }

  #fedWallActionButtons {
    display: flex;
    width: 100%;
    height: 40px;
    background-color: transparent;
    z-index: 99999;
    position: absolute;
    justify-content: space-between;
    flex-direction: row;
    margin-bottom: 0px;
    margin-top: 0;
    bottom: 8px;
  }
  
  .fed-performance-plot {
    height: 100%;
  }
  .plot-box {
    flex: 1 1 100%; /* Full width on mobile */
  }

}
