/**
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
html>body{
  font-family:'Open Sans','Roboto','Helvetica','Arial',sans-serif!important;
}

.demo-ribbon {
  width: 100%;
  height: 40vh;
  background-color: #607d8b;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
}

.demo-main {
  margin-top: -35vh;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
}

.demo-header .mdl-layout__header-row {
  padding-left: 40px;
  height: 40px;
}
.mdl-layout__header.is-compact{
    max-height: 80px;
}



.mdl-layout__header-row{		
  background: url("../images/banner_small.jpg") center / cover;
  z-index: -1;
  height:70px;
}

.demo-container {
  max-width: 1600px;
  width: calc(100% - 16px);
  margin: 285px auto;
}

.demo-crumbs {
  margin: 8px;
}

.demo-content {
  border-radius: 2px;
  padding: 10px 18px !important;
  min-height: 80vh;
  height:70%;
  width:90%;
  /*margin-bottom: 80px;*/
}
.right_lvl{
	margin-top:63px;
}
.spacer{
  width:5%;
  display: inline-block;
}

.demo-layout.is-small-screen .demo-content {
  padding: 40px 28px;
}

/*.demo-content h3 {
  margin-top: 48px;
}*/

/*.demo-footer {
  padding-left: 40px;
}*/
.mdl-mini-footer {
  padding: 18px 16px;
}
.mdl-mini-footer--link-list li{
  line-height: 24px;
}

.demo-footer .mdl-mini-footer--link-list a {
  font-size: 13px;
}


table, .barchart{
  margin: 0 auto;
  border-spacing: 0px;
}
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }


.mdl-select {
  position: relative;
  font-size: 16px;
  display: inline-block;
  box-sizing: border-box;
  min-width: 150px;
  max-width: 100%;
  /*margin: 0;*/
  padding: 20px 0;
}

.mdl-select__input {
  border: none;
  border-bottom: 1px solid rgba(0,0,0, 0.12);
  display: inline-block;
  font-size: 16px;
  margin: 0;
  padding: 4px 0;
  width: 80%;
  background: 16px;
  text-align: left;
  color: inherit;
}
.mdl-textfield__input{
	width: 80%;
}

.mdl-select.is-focused .mdl-select__input { outline: none; }
.mdl-select.is-invalid .mdl-select__input { 
  border-color: rgb(222, 50, 38);
    box-shadow: none;
  }

.mdl-select.is-disabled .mdl-select__input {
  background-color: transparent;
  border-bottom: 1px dotted rgba(0,0,0, 0.12);
}

.mdl-select__label {
  bottom: 0;
  color: rgba(0,0,0, 0.26);
  font-size: 16px;
  left: 0;
  right: 0;
  pointer-events: none;
  position: absolute;
  top: 24px;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-align: left; 
}

.mdl-select.is-dirty .mdl-select__label { visibility: hidden; }

.mdl-select--floating-label .mdl-textfield__label {
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.mdl-select--floating-label.is-focused .mdl-select__label,
.mdl-select--floating-label.is-dirty .mdl-select__label {
  color: rgb(96, 125, 139);
  font-size: 12px;
  top: 4px;
  visibility: visible;
}

.mdl-select--floating-label.is-focused .mdl-select__expandable-holder .mdl-select__label,
.mdl-select--floating-label.is-dirty .mdl-select__expandable-holder .mdl-select__label {
  top: -16px;
}

.mdl-select--floating-label.is-invalid .mdl-select__label {
  color: rgb(222, 50, 38);
  font-size: 12px;
}

.mdl-select__label:after {
  background-color: rgb(96, 125, 139);
  bottom: 20px;
  content: '';
  height: 2px;
  left: 45%;
  position: absolute;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
  width: 10px;
}

.mdl-select.is-focused .mdl-select__label:after {
  left: 0;
  visibility: visible;
  width: 80%; 
}
.mdl-textfield.is-focused .mdl-textfield__label:after {
  left: 0;
  visibility: visible;
  width: 80%; 
}

.mdl-select.is-invalid .mdl-select__label:after {
  background-color: rgb(222, 50, 38); 
}

.mdl-select__error {
  color: rgb(222, 50, 38);
  position: absolute;
  font-size: 12px;
  margin-top: 3px;
  visibility: hidden;
}

.mdl-select.is-invalid .mdl-select__error {
  visibility: visible;
}

.mdl-select__expandable-holder {
  display: inline-block;
  position: relative;
  margin-left: 32px;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  max-width: 0.1px; 
}

.mdl-select.is-focused .mdl-select__expandable-holder, .mdl-select.is-dirty .mdl-select__expandable-holder {
  max-width: 600px; 
}

.mdl-select__expandable-holder .mdl-select__label:after {
  bottom: 0;
}

/* OWN STYLING */
.hide_row{
  display: none;
}
.clickable{
  cursor: pointer;
  color: rgb(83, 109, 254);
}
.square{
   float:left;
    width: 30%;
    padding-bottom: 30%; /* = width for a 1:1 aspect ratio */
    border: 1px solid #1E1E1E;
}
.card-wide{
  width: 100%;
}
.card-wide .mdl-grid{
  max-width: 960px;
}
.card-wide .mdl-grid .mdl-cell--8-col{
  white-space: pre-line;
}
.card-wide .mdl-grid .mdl-cell--7-col{
  white-space: pre-line;
}
.p-item{
	padding-right: 10px;
	line-height: 24px;
	vertical-align: middle;
}
.p-list{
	padding-left: 16px;
}
.mdl-grid .general_info{
	padding: 0;
}
.general_info .mdl-cell{
  margin: 8px;
}
.general_info{
	text-align: justify;
}
table .mdl-cell{
  margin: 0px;
}
td .mdl-grid .mdl-cell--4-col:last-child {
  white-space: pre-line;
}
h6{
  padding-left: 16px;
}
.is_active{
  color:rgb(83, 109, 254) !important;
  font-weight: bold;
}
.mdl-layout__subheader-row{
	padding-left: 80px;
}
span.mdl-typography--subhead{
	color: white;
}
.mdl-layout__header-row .mdl-layout-title a {
	/*color: rgb(66, 66, 66);*/
	text-decoration: none;
}
.mdl-layout__drawer .mdl-layout-title a {
	color: #424242;
	text-decoration: none;
}

.title_banner{
	display:inline;
	width:50%;
	padding-top: 10px;
}
.inner_title{
	display:inline;
}


#map_img {
	width: 70%;
  margin-left: 15%;
}
.mdl-list{
	padding: 0;
}
.mdl-list__item{
  padding: 0;
}
.mdl-grid {
  padding: 0;
}
.mdl-card__supporting-text {
  padding: 8px;
}
.mdl-tooltip {
  text-align: left;
  max-width: 500px;
}
.no_markup_title{
  color: #214c9c;
  font-weight: 600;
  /*text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;*/
}

.tab_mu-bar-container {
    position: relative;
    height: 48px;
    width: 100%;
    border: none;
    margin: 0;
    z-index: 2;
    -webkit-flex-grow: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    overflow: hidden
}

.fixed-tab_mu .tab_mu-bar-button{
  display: none;
}
.tab_mu-bar-left-button{
  left: 0;
}
.tab_mu {
    margin: 0;
    border: none;
    padding: 0 24px;
    float: left;
    position: relative;
    display: block;
    -webkit-flex-grow: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    text-decoration: none;
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    color: rgba(66, 66, 66, .6);
    overflow: hidden
}
.tab_mu-bar {
    height: 96px;
    margin: 0;
    width: calc(100% - 112px);
    padding: 0 0 0 56px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    background-color: rgb(158, 158, 158);
    overflow-y: hidden;
    overflow-x: scroll
}
.fixed-tab_mu .tab_mu-bar {
    padding: 0;
    overflow: hidden;
    width: 100%
}
.fixed-tab_mu .tab_mu {
    float: none;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding: 0;
}
.tab_mu .tab_mu-ripple-container {
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    overflow: hidden
}
.tab_mu:hover{
  background-color: #535353;
  color: white;
}
.tab_mu-bar-container {
    position: relative;
    height: 48px;
    width: 100%;
    border: none;
    margin: 0;
    z-index: 2;
    -webkit-flex-grow: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    overflow: hidden
}
.mdl-layout__container > .tab_mu-bar-container {
    position: absolute;
    top: 0;
    left: 0
}
.tab_mu-bar-button {
    display: inline-block;
    position: absolute;
    top: 0;
    height: 48px;
    width: 56px;
    z-index: 4;
    text-align: center;
    background-color: rgb(158, 158, 158);
    color: transparent;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}
div.mdl-menu__container.is-upgraded.is-visible{
  top: 148px !important;
}

#no_markup_th a{
  text-decoration: none;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.541176);
}
.logo {
  margin-top:0.5%;
  width: 12%;
  padding-right: 2%;
}


.center{
  margin:auto;
  padding:10px;
}
.center_PC{
  margin:auto;
  margin-left:20%;
  padding:10px;
}
.center_grid{
  margin:auto;
  margin-left:7%;
  padding:10px;
}

.left {
    float: left;
}

.drawer_logo {
  width: 80%;
}

.mdl-layout__drawer-button{
  margin: 26px 12px;
  border-radius:10px;
}


a {
  text-decoration: none;
}
.evtrack_green, .evtrack_green:hover{
  background-color: #81C784;
  padding: 5px;
}
.evtrack_red, .evtrack_red:hover{
  background-color: #E57373;
  padding: 5px;
}
.evtrack_grey, .evtrack_grey:hover{
  background-color: #E0E0E0; /*rgba(158, 158, 158, .4);*/
  padding: 5px;
}
.user_email{
  font-size: 10px;
  color: rgb(83, 109, 254) !important;
  padding-left: 40px;
}
#sendmessage{
  border:1px solid #f390b0;
  background:#f6f6f6;
  display:none;
  text-align:center;
  padding:15px 12px 15px 65px;
  margin:10px 0;
  font-weight:600;
  margin-bottom:30px;
}
#sendmessage.show{
  display:block;
}
#showmessage{
  border:1px solid #f390b0;
  background:#f6f6f6;
  text-align:center;
  padding:15px 12px 15px 65px;
  margin:10px 0;
  font-weight:600;
  margin-bottom:30px;
}
#reset_message{
  display:none;
}
#message, #message_label{
 width: 200%;
}

.legend_color{
  height: 16px !important;
  width: 16px !important;
  min-width: 16px !important;
}
.tabs_colored {
  background-color: rgba(158, 158, 158, .2);
}
.mdl-tabs.is-upgraded .mdl-tabs__tab.is-active:after{
  background: rgb(83, 109, 254) !important;
}
.mdl-menu__item a{
  text-decoration: none;
  color: rgba(0, 0, 0, .54);
}
.my_title {
  line-height: 64px;
  padding-left: 40px;
  font-size: 20px;
}
span.mdl-navigation__link > span{
  cursor: pointer;
}



/*****query page scaffold****/
#formfield{
 width:80%;
 box-shadow:5px 5px 5px 6px grey;
 margin:auto;
 margin-left:auto;
 margin-right:auto;
 margin-top:110px;
 min-height:250px;
 overflow-y: auto;
 /*height: 80vh;*/
 /*height:500px;*/
}


#QueryForm{

  display: block;
  justify-content: center; /* center contents horizontally */
  align-items: center;
  gap: 15px; /* space between select boxes and button */
  width: auto; /* let it size naturally */
  padding-bottom:20px;
  padding-top:30px;
  /*
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding-top: 1px;
  margin-left: 10px;*/
}



.q_field {
  position: relative;
  margin-bottom:20px;
  width: 13vw;
  display:inline;
}

/*dropdown arrow for the select box*/

.q_field select.q_design {
  appearance: none;        /* Hide the native OS arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;  /* Ensure no default icons remain */
  position: relative;
}




/* Custom arrow — only appears when the element is a select */
.q_field:has(select.q_design)::after {
  content: "▼";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #0E6C73;
  pointer-events: none;
}


/*Input & select share the same base*/
.q_design {
  width: 100%;
  padding: 7px; /* you already adjusted this */
  font-size: 16px;
  border: 2px solid #0E6C73;
  border-radius: 8px;
  background-color: #F6F8F9;
  color: #222;
  outline: none;
  appearance: none; /* hides native arrow (we’ll add our own) */
  transition: all 0.2s ease;
}

/*Title for checkbox/radio groups*/

.q_label_group {
  display: block;
  font-size: 16px;
  color: #0E6C73;
  font-weight: 500;
  margin-bottom: 8px;
}

/* ==== Radio + Checkbox Styles (works with <span class="q_custom">) ==== */

/* Container for group of options */
.q_option_group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  width: 100%;
}

/* Each clickable option */
.q_option {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 12px 8px 40px; /* space for custom indicator */
  border: 2px solid #0E6C73;
  border-radius: 8px;
  background-color: #F6F8F9;
  font-size: 15px;
  color: #222;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* Hide the native input but keep it functional */
.q_option input[type="radio"],
.q_option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* The custom circle/square indicator */
.q_custom {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid #0E6C73;
  border-radius: 50%; /* default: radio shape */
  background-color: #F6F8F9;
  transition: all 0.2s ease;
}

/* Checkbox override (square shape) */
.q_option input[type="checkbox"] + .q_custom {
  border-radius: 4px;
}

/* Hover highlight */
.q_option:hover {
  border-color: #1EA7EA;
  box-shadow: 0 0 0 3px rgba(30,167,234,0.2);
}

/* Checked radio (inner dot) */
.q_option input[type="radio"]:checked + .q_custom {
  background: radial-gradient(circle at center, #0E6C73 40%, transparent 41%);
}

/* Checked checkbox (checkmark SVG) */
.q_option input[type="checkbox"]:checked + .q_custom {
  background-color: #0E6C73;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><polyline points='3,9 7,13 13,4' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  border-color: #0E6C73;
}






/* === Submit button styling === */

#search_button {
  justify-content: center;
  margin:20px 0;
}

.q_button {
  display: block;
  margin: 20px auto 0 auto; /* centers & separates it vertically */
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 500;
  color: white;
  background-color: #0E6C73;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  width:600px;
}


/* Hover state */
.q_button:hover {
  background-color: #1EA7EA;
  border-color: #1EA7EA;
  box-shadow: 0 0 6px rgba(30,167,234,0.4);
  transform: translateY(-1px);
}

/* Focus / active state */
.q_button:focus,
.q_button:active {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30,167,234,0.3);
  transform: translateY(0);
}

/* Disabled state (optional) */
.q_button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}


/***linking of data***/
/* === Styled link (matches buttons & form theme) === */

.q_link {
  display: inline-block;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #0E6C73;
  text-decoration: none;
  border: 2px solid #0E6C73;
  border-radius: 8px;
  background-color: #F6F8F9;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin:10px;
}

/* Hover state */
.q_link:hover {
  background-color: #1EA7EA;
  color: #F6F8F9;
  border-color: #1EA7EA;
  box-shadow: 0 0 6px rgba(30,167,234,0.4);
  transform: translateY(-1px);
}

/* Focus / active */
.q_link:focus,
.q_link:active {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30,167,234,0.3);
  transform: translateY(0);
}

/* Optional: visited color stays consistent */
.q_link:visited {
  color: #0E6C73;
}


#search_holder {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin-top: 20px;
}

/* The tracker box */
#current_search {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  background: #f8fdfd;
  color: #0E6C73;
  font-weight: 600;
  max-width: 600px;
  border: 2px solid #0E6C73;
  border-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
}





/*page title*/
.page_title {
  font-size: 22px;
  font-weight: 600;
  color: #0E6C73;
  margin-bottom: 16px;
  text-transform: none; /* or uppercase if you want a section header feel */
  border-bottom: 2px solid #0E6C73;
  display: inline-block; /* keeps underline tight to text width */
  padding-bottom: 4px;
  margin-left:15px;
}

/* the logic drop down box*/
.logic_field {
  width: auto;
}

.logic_field:after {
  content:"";
}

/* Logic operator dropdown (AND/OR/NOT) */
.logic_select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-color: #F6F8F9;
  border: 2px solid #0E6C73;
  border-radius: 8px;
  color: #0E6C73;
  font-size: 15px;
  font-weight: 500;

  padding: 6px 28px 6px 10px; /* room for arrow */
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;

  width: auto;           /* ✅ shrink to fit content */
  min-width: fit-content; /* ensures minimal necessary width */
}

/* add arrow icon just like .viz_field::after */
.logic_select {
  background-image: linear-gradient(45deg, transparent 50%, #0E6C73 50%), 
                    linear-gradient(135deg, #0E6C73 50%, transparent 50%);
  background-position: right 10px top 50%, right 6px top 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* hover & focus for visual feedback */
.logic_select:hover {
  border-color: #1EA7EA;
}

.logic_select:focus {
  border-color: #1EA7EA;
  box-shadow: 0 0 0 3px rgba(30, 167, 234, 0.2);
}
.logic_combo {
  position: relative; /* for absolute positioning of dropdown */
  display: inline-flex;
  align-items: stretch;
  border: 2px solid #0E6C73;
  border-radius: 6px;
  overflow: visible;
  font-family: sans-serif;
}

.logic_main {
  background-color: #0E6C73;
  color: white;
  border: none;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.logic_main:hover {
  background-color: #1EA7EA;
}

.logic_arrow {
  background-color: #0E6C73;
  color: white;
  border: none;
  padding: 0 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.logic_arrow:hover {
  background-color: #1EA7EA;
}


.logic_list {
  display: none; /* hidden by default */
  position: absolute;
  top: 100%; /* below the combo */
  left: 0;    /* align left with main button */
  min-width: 120px; /* or whatever fits your text */
  background-color: #ffffff;
  border: 1px solid #0E6C73;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  z-index: 900;
  list-style: none;
  padding: 4px 0;
  margin: 0;
}

.logic_list li {
  margin: 0;
}

.logic_list li a {
  display: block;
  padding: 6px 12px;
  color: #0E6C73;
  text-decoration: none;
  font-size: 14px;
}

.logic_list li a:hover {
  background-color: #f0f8ff;
}


#query_alert{
  color:#ce2222;
  /*font-size: 20pt;*/
  font-weight: 800;
}




/* ===== Visualization Page Styles ===== */


.move_below_body{
  padding-top: 120px;
}


/* Container setup */
#first_pick {
  display: flex;
  justify-content: center;
  align-items: center;
  /*margin-top:1%;*/
  /*min-height: calc(100vh - 200px); /* take the rest of viewport */
}

.viz_center_select {
  text-align: center;
}

/* Title styling */
.viz_title {
  color: #0E6C73;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
}

/* Grid layout for 8 boxes */
.viz_options_grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* line container */
.spacer{
  width:20%;
  display:inline-block;

}
.viz_line{
  display: flex;
  justify-content: center; /* center contents horizontally */
  align-items: center;
  gap: 15px; /* space between select boxes and button */
  width: auto; /* let it size naturally */
  margin-bottom:20px;
  margin-left:auto;
  margin-right:auto;
  flex-wrap: wrap; /* optional: wrap on small screens */
}
/*for the query page*/






.viz_group {
  display: flex;
  gap: 15px; /* spacing only between fields */
  justify-content: center; /* center fields together */
}


/* Field container */
.viz_field {
  position: relative;
  width: 200px;
}

.viz_field select.q_design {
  appearance: none;          /* remove native arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 32px;       /* make room for the arrow */
  background-color: #F6F8F9;
  border: 2px solid #0E6C73;
  border-radius: 8px;
  font-size: 15px;
  color: #222;
  outline: none;
  transition: all 0.2s ease;
  text-align-last:center;
}

.viz_field input.q_design {
  appearance: none;          /* remove native arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #F6F8F9;
  border: 2px solid #0E6C73;
  padding-right:-10px;
  border-radius: 8px;
  font-size: 15px;
  color: #222;
  outline: none;
  transition: all 0.2s ease;
}



/* The actual arrow icon */
.viz_field:has(select.q_design)::after{
  content: "▼";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #0E6C73;
  pointer-events: none;
}

.logic_field:after {
  content:"";
}

/*set consistent width for the fields*/

.viz_field {
  position: relative;
  flex: 0 0 200px; /* fixed width for both select and input */
  margin-right: 10px;
}

.viz_field input.q_design,
.viz_field select.q_design {
  width: 100%; /* fill parent width */
  box-sizing: border-box;
}

.viz_field input.q_design_withLabel {
  appearance: none;          /* remove native arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #F6F8F9;
  border: 2px solid #0E6C73;
  padding-right:-10px;
  border-radius: 8px;

  color: #222;
  outline: none;
  transition: all 0.2s ease;
  max-height:20px;
  width:180px;
  font-size:10px;
}
#linkCountBox{
  max-height: 50px;
}

.inputLabel{
  font-size: 8px;

}

/* Label styling */
.viz_label {
  display: block;
  color: #0E6C73;
  font-weight: 500;
  margin-bottom: 6px;
  text-align: left;
}

/* Input box styling */
.viz_input {
  width: 100%;
  padding: 7px;
  font-size: 15px;
  border: 2px solid #0E6C73;
  border-radius: 8px;
  background-color: #F6F8F9;
  color: #222;
  outline: none;
  transition: all 0.2s ease;
}

.viz_input:focus {
  border-color: #1EA7EA;
  box-shadow: 0 0 0 3px rgba(30, 167, 234, 0.2);
}

/* Responsive layout */
@media (max-width: 900px) {
  .viz_options_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .viz_options_grid {
    grid-template-columns: 1fr;
  }
}


/* Continue button styling */
.viz_continue_btn,.viz_add_btn,.query_add_btn,#revisualize{
  margin-top: 40px;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 500;
  color: white;
  background-color: #0E6C73;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}
.viz_continue_btn{
  width:600px;
}
#revisualize{
  margin-top:0px;
  padding: 9px 35px;
  background-color: #1EA7EA;
}


.viz_continue_btn:hover {
  background-color: #1EA7EA;
  box-shadow: 0 6px 10px rgba(30, 167, 234, 0.3);
  transform: translateY(-2px);
}

.viz_continue_btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.viz_continue_btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}

.viz_center_select {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.viz_add_btn,.query_add_btn {
  padding: 6px 12px;
  font-size: 14px;
  
}

.viz_add_btn:hover,.query_add_btn:hover,#revisualize:hover {
  background-color: #0E6C73;
}



/** tracker box visualization. **/

.flex_container {
  display: flex;
  gap: 20px;               /* space between left and right */
  align-items: flex-start; /* align top edges */
  justify-content: flex-start;
  margin-top: 10px;
}

#tracker_box, #visualize_box{
  display: none;          /* Hidden initially */
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* When visible */
#tracker_box.active,#visualize_box.active {
  display: block;
  opacity: 1;
}
#tracker_box {
  width: 320px;            /* adjust as needed */
}
#visualize_box {
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* Optional: fade out animation for first_pick */
/*#first_pick*/.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
}


/* Tracker container */
#tracker_box, #visualize_box {
  display: none; /* initially hidden, shown when active */
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  text-align: center;
  margin-top: 20px;
}

#tracker_box.active,#visualize_box.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Section title */
.tracker_title {
  color: #0E6C73;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Filter grid layout */
.tracker_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 25px;
}

/* Individual filter boxes */
@media (max-width: 700px) {
  .tracker_item {
    width: 100%;
    justify-content: space-between;
  }
}

.tracker_item {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #F6F8F9;
  border: 2px solid #0E6C73;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 15px;
  color: #222;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.tracker_item:hover {
  border-color: #1EA7EA;
  box-shadow: 0 4px 8px rgba(30,167,234,0.25);
}

/* Label and value styling */
.tracker_label {
  color: #0E6C73;
  font-weight: 500;
}

.tracker_value {
  color: #1EA7EA;
  margin-right: 8px;
}

/* Remove button */
.tracker_remove {
  background: none;
  border: none;
  color: #0E6C73;
  font-size: 18px;
  cursor: pointer;
  margin-left: 4px;
  transition: color 0.2s ease;
}

.tracker_remove:hover {
  color: #1EA7EA;
}

/*remove all the tracker button design*/
#remove_all_trackers{
  width:50%;
  margin-left:45%;
}


/* Add Filter button */
.viz_add_filter {
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 500;
  color: white;
  background-color: #0E6C73;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.viz_add_filter:hover {
  background-color: #1EA7EA;
  box-shadow: 0 6px 10px rgba(30, 167, 234, 0.3);
  transform: translateY(-2px);
}


#graph_parameters {
  display: flex;
  gap: 15px;
  flex-wrap: wrap; /* wrap selects if needed */
  margin-bottom: 20px;
  height:30px;
}

.parameter_line{
  width:100%;
  display:flex;
}

#DatabaseSearch {
  margin-left: auto; /*pushes the box all the way to the right*/
  margin-right: 25%;  /* keep some distance from the right side of the screen */
  max-height:50px;
}



/* Plot area takes full width below */
#plot_area {
  width: 70%;
  min-height: 600px; /* or whatever height needed */
  /*border: 1px solid #ccc; /* optional for debugging */
}


/*the trackers for the first part of the page*/

#pre_tracker {
  margin-top: 30px;
  color: #0E6C73;
  font-weight: 600;
  max-width:600px;
  border: 2px solid #0E6C73;
  border-radius: 10px;
  padding:5px;
}

/* Container for tracker items */
#pre_tracker_list {
  display: flex;
  flex-wrap: wrap;           /* allows them to wrap to a new line if needed */
  gap: 10px;                 /* space between items */
  margin-top: 10px;
  justify-content: flex-start; /* aligns items to the left */
}




/* ==== Select2 Custom Theme Override ==== */

/* Match the base field design */
.select2-container--default .select2-selection--single {
  background-color: #F6F8F9 !important;
  border: 2px solid #0E6C73 !important;
  border-radius: 8px !important;
  height: 38px !important;
  display: flex;
  align-items: center;
  padding: 0 10px !important;
  font-size: 15px !important;
  color: #222 !important;
  transition: all 0.2s ease;
}

/* Focused state (matches your input focus style) */
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #1EA7EA !important;
  box-shadow: 0 0 0 3px rgba(30, 167, 234, 0.2);
}

/* Dropdown arrow color */
.select2-container--default .select2-selection__arrow b {
  border-color: #0E6C73 transparent transparent transparent !important;
}

/* Placeholder and text alignment */
.select2-selection__placeholder {
  color: #888 !important;
}
.select2-selection__rendered {
  color: #222 !important;
  line-height: 36px !important;
}

/* Dropdown menu itself */
.select2-container--default .select2-results > .select2-results__options {
  background-color: #F6F8F9 !important;
  border: 2px solid #0E6C73 !important;
  border-radius: 8px;
  color: #222;
  font-size: 15px;
}

/* Individual dropdown items */
.select2-container--default .select2-results__option {
  padding: 6px 12px;
  transition: background 0.2s ease;
}

/* Hover effect */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #1EA7EA !important;
  color: white !important;
}

/* Search box inside dropdown */
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 2px solid #0E6C73 !important;
  border-radius: 8px;
  background-color: #F6F8F9;
  color: #222;
  font-size: 15px;
  padding: 5px 8px;
  outline: none;
}

/* Scrollbar aesthetics (optional) */
.select2-results__options::-webkit-scrollbar {
  width: 6px;
}
.select2-results__options::-webkit-scrollbar-thumb {
  background-color: #0E6C73;
  border-radius: 3px;
}


.select2-container--default .select2-selection__arrow {
  display: none !important;
}

.select2-container{
  width:100%;
}



/************visual top bar*************/
#vis_button_holder{
  width:200px;

}




/********** Removing blurry tooltip from chrome **********/
.mdl-tooltip {
  will-change: unset;
}

.optgroup{
    font-weight: bold;
    font-style: italic;
}

.left-float {
    position: absolute;
    left: 380px;
    top: 18px;
}
.float-stats{
	float: left;
}

footer{
	float:right;
	color:grey;
}

.logout{
	float:right;
	top:5px;
	right:-5px;
}
.logout a{
	color:black;
	font-size:12px;
	z-index:1;
}
.button--colored{
	background-color:#cbcbcb;
}

.vers_date{
	font-size:12px;
	color: grey;
	padding-top:4px;
	padding-left:8px;
}

.vers_title{
	font-size:20px;
}

.UCF_spec{
	position: relative;
	bottom: 13%;
	left: 0px;
}

/********** RESET AN ELEMENT WITH CLASS reset-this **********/

.reset-this {
    animation: none;
    animation-delay: 0;
    animation-direction: normal;
    animation-duration: 0;
    animation-fill-mode: none;
    animation-iteration-count: 1;
    animation-name: none;
    animation-play-state: running;
    animation-timing-function: ease;
    backface-visibility: visible;
    background: 0;
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: none;
    background-origin: padding-box;
    background-position: 0 0;
    background-position-x: 0;
    background-position-y: 0;
    background-repeat: repeat;
    background-size: auto auto;
    border: 0;
    border-style: none;
    border-width: medium;
    border-color: inherit;
    border-bottom: 0;
    border-bottom-color: inherit;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-style: none;
    border-bottom-width: medium;
    border-collapse: separate;
    border-image: none;
    border-left: 0;
    border-left-color: inherit;
    border-left-style: none;
    border-left-width: medium;
    border-radius: 0;
    border-right: 0;
    border-right-color: inherit;
    border-right-style: none;
    border-right-width: medium;
    border-spacing: 0;
    border-top: 0;
    border-top-color: inherit;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top-style: none;
    border-top-width: medium;
    bottom: auto;
    box-shadow: none;
    box-sizing: content-box;
    caption-side: top;
    clear: none;
    clip: auto;
    color: inherit;
    columns: auto;
    column-count: auto;
    column-fill: balance;
    column-gap: normal;
    column-rule: medium none currentColor;
    column-rule-color: currentColor;
    column-rule-style: none;
    column-rule-width: none;
    column-span: 1;
    column-width: auto;
    content: normal;
    counter-increment: none;
    counter-reset: none;
    cursor: auto;
    direction: ltr;
    display: inline;
    empty-cells: show;
    float: none;
    font: normal;
    font-family: inherit;
    font-size: medium;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    height: auto;
    hyphens: none;
    left: auto;
    letter-spacing: normal;
    line-height: normal;
    list-style: none;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: disc;
    margin: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    max-height: none;
    max-width: none;
    min-height: 0;
    min-width: 0;
    opacity: 1;
    orphans: 0;
    outline: 0;
    outline-color: invert;
    outline-style: none;
    outline-width: medium;
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
    padding: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    page-break-after: auto;
    page-break-before: auto;
    page-break-inside: auto;
    perspective: none;
    perspective-origin: 50% 50%;
    position: static;
    /* May need to alter quotes for different locales (e.g fr) */
    quotes: '\201C' '\201D' '\2018' '\2019';
    right: auto;
    tab-size: 8;
    table-layout: auto;
    text-align: inherit;
    text-align-last: auto;
    text-decoration: none;
    text-decoration-color: inherit;
    text-decoration-line: none;
    text-decoration-style: solid;
    text-indent: 0;
    text-shadow: none;
    text-transform: none;
    top: auto;
    transform: none;
    transform-style: flat;
    transition: none;
    transition-delay: 0s;
    transition-duration: 0s;
    transition-property: none;
    transition-timing-function: ease;
    unicode-bidi: normal;
    vertical-align: baseline;
    visibility: visible;
    white-space: normal;
    widows: 0;
    width: auto;
    word-spacing: normal;
    z-index: auto;
    /* basic modern patch */

}

/********** basic modern patch **********/

#reset-this-root {
    all: initial;
    * {
        all: unset;
    }
}



/********** tree print css **********/

body {
  font-family: sans-serif;
  font-size: 13px;
}

$border-width: 1px;
$reverse: true;

.tree {
  @if $reverse {
    transform-origin: 50%;
  }
}

.tree ul {
  position: relative;
	padding: 0.9em 0; 
  white-space: nowrap;
  margin: 0 auto;
  text-align: center;
  &::after {
    content: '';
    display: table;
    clear: both;
  }
}

.tree li {
  display: inline-block; // need white-space fix
  vertical-align: top;
  text-align: center;
	list-style-type: none;
	position: relative;
	padding: 0.9em .3em 0 .5em;
  &::before,
  &::after {
    content: '';
    position: absolute; 
    top: 0; 
    right: 50%;
    border-top: $border-width solid #ccc;
    width: 50%; 
    height: 1em;
  }
  &::after {
    right: auto; 
    left: 50%;
	  border-left: $border-width solid #ccc;
  }
  &:only-child::after,
  &:only-child::before {
    display: none;
  }
  &:only-child {
    padding-top: 0;
  }
  &:first-child::before,
  &:last-child::after {
    border: 0 none;
  }
  &:last-child::before{
    border-right: $border-width solid #ccc;
    border-radius: 0 5px 0 0;
  }
  &:first-child::after{
    border-radius: 5px 0 0 0;
  }
}

.tree ul ul::before{
	content: '';
	position: absolute; 
  top: 0; 
  left: 50%;
	border-left: $border-width solid #ccc;
	width: 0; 
  height: 1em;
}

.tree li a {
	border: $border-width solid #ccc;
	padding: .4em .35em;
	text-decoration: none;
	display: inline-block;
	border-radius: 5px;
  color: #333;
  position: relative;
  top: $border-width;
  @if $reverse {
    
  }
}

.tree li a:hover,
.tree li a:hover+ul li a {
	background: #e9453f;
  color: #fff;
  border: $border-width solid #e9453f;
}

.tree li a:hover + ul li::after, 
.tree li a:hover + ul li::before, 
.tree li a:hover + ul::before, 
.tree li a:hover + ul ul::before{
	border-color:  #e9453f;
}

.change-color{
	color:red;

}

.resize-table--text{
	font-size:10px;
}


.lone-mid{
	text-align:center;

}

#study_tree{
	overflow-y:scroll;
}

/****Summary page css*****/

.logo_summary {
  width: 10%;
  padding-right: 2%;
}


.header_row_overwrite_summary{
	height:74px;
	margin:-4px;
}

.body_summary{
	Font-size:13px;
	line-height:16px;

}

.title_banner_summary{
	display:inline;
	width:50%;
	padding-top: 7px;
}

.METRIC_grid_summary{
	margin:5px;
}

.parent_box{
	position:relative;



}

.scroll_button{
	position: absolute; 
	bottom: 0;
	left:0;
}

.hidden{
    display: none !important;
}
.kinda_hidden{
  opacity: 0;
}

/*plot positioning*/
.canvas_spacer{
  width:19%;
  display:inline-block;

}


.canvas_size_flat{
  max-height:600px;
  width:55vw !important;
}


.canvas_spacer_flat{
  width:13%;
}
#canvas_holder_flat{
  display:inline-block;
  margin:auto;
  margin-top:5vh;

}



#method_print{
    display:inline;
    
}



#canvas_holder{
    display:inline-block;
    width:100%;
    margin:auto;
    margin-top:2vh;
    max-height:65vh;
    max-width:1000px;
    height:600px !important;
}

#canvas_box{
  display:inline-block;
  width:100%;
  align-content: center;

}

/*pca plot*/
#pca_place{
  margin-left:auto;
  margin-right:auto;
}
#pca_place svg{
  margin-left:auto;
  margin-right:auto;
}



.p-center{
  text-align: center;
}


/*******************************************/
/*EVqc stuff*/
/*******************************************/
/*center title input box*/
#biofluidTitle{
  font-size: 35px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;



}

/*center input box*/
#first_selection{
  width: 100%;
  max-height:80%;
}
#center_select{
  width:55%;
  margin:auto;
  margin-top:12%;
}

#biofluid_list_center{
  font-size: 30px;
  /*233px is width of the initial text on 30px font size*/
  /*116px is */
  text-align: center;
  text-align-last: center;
  -moz-text-align-last: center;

  /*text-indent: 5px;*/

  padding:0.675em 1em 0.675em 1em !important;
}

/*creating a class to handle the repositioning */
.animate_center{
  animation: move 1s ease-out forwards;
}

@keyframes move {
  0% {
    transform: translate(0, 0);
    opacity: 1;
    font-size:30px !important;
  }
  90%{
    opacity:0;
  }
  100% {
    transform: translate(var(--target-x), var(--target-y));
    opacity: 0;
    width:25%;
    margin-top:0%;
    font-size:12px !important;
    display:hidden;
  }
}

.make_appear{
  animation: appear 0.5s ease-in forwards;
}
@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


.make_disappear {
  animation: disappear 0.5s ease-in forwards;
  pointer-events: none;
}
@keyframes disappear {
  0% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}



#biofluid_list_center option{
  text-align: right;
  text-align-last: right;
  -moz-text-align-last: right;
  width:110%;
}
#biofluidBoxes{
  padding-top:25px;
}

.fluidButton{
  display: inline-block;
  cursor:pointer;
  width:25%;
  margin-left:4%;
  margin-right:4%;
  text-align: center;
  height:60px;
  box-shadow:2px 5px 2px grey;
}
.fluidContents{
  display:flex;
  width:100%;
  height:100%;
}
.fluidButton p{
  margin:auto;
  color:black;
  font-size:24px;
  vertical-align: center;
  align-items:center;
}

.fluidButton.Plasma{
  background-color:#F5832bEE;
}
.fluidButton.CCS{
  background-color:#f2304fEE;
}
.fluidButton.Urine{
  background-color:#f6c61eEE;
}


.tracker_element{
    cursor: pointer;
    font-size: 15px;
    height:auto;
    padding-top:5px;
    padding-bottom:10px;
    display: flex;
}
.tracker_element p{
  margin:auto;
  color:black;
}
#tracker{
  text-align: center;
  width:100%;
  vertical-align: top;
}

 /*page design*/
 .draw_area{
  width:70vw;
  display:inline-block;
}
.tracker_holder{
  width:18%;
  display:inline-block;
  vertical-align: top;
}


.button_clicking{
  margin-top:15px;
  margin-left:13px;
  vertical-align: top;
}





.dual_bar_chart{
    max-width:80%;
    max-height:80vh;
    height:800px;
    
}

.em_image{
    max-width:calc(32%-10px);
    /*max-height:350px;*/
    height:auto;
    
}


/*header changes*/
.link_row{
    height:40px;
}

.breadcrumbs_design{
    background-color:#FCB9B2;
    text-align: center;
    margin-left:5px;
    margin-right:5px;
    box-shadow: 2px 5px 2px grey;
}



/*tracker specialcolors*/
/*plasma*/
.breadcrumbs_design.Plasma:nth-child(1){
  background-color:#F5832bEE;
}
.breadcrumbs_design.Plasma:nth-child(2){
  background-color:#F5832bCC;
}
.breadcrumbs_design.Plasma:nth-child(3){
  background-color:#F5832bAA;
}
.breadcrumbs_design.Plasma:nth-child(4){
  background-color:#F5832b88;
}
.breadcrumbs_design.Plasma:nth-child(5){
  background-color:#F5832b66;
}
.breadcrumbs_design.Plasma:nth-child(6){
  background-color:#F5832b44;
}
/*CCS*/
.breadcrumbs_design.CCS:nth-child(1){
  background-color:#f2304fEE;
}
.breadcrumbs_design.CCS:nth-child(2){
  background-color:#f2304fCC;
}
.breadcrumbs_design.CCS:nth-child(3){
  background-color:#f2304fAA;
}
.breadcrumbs_design.CCS:nth-child(4){
  background-color:#f2304f88;
}
.breadcrumbs_design.CCS:nth-child(5){
  background-color:#f2304f66;
}
.breadcrumbs_design.CCS:nth-child(6){
  background-color:#f2304f44;
}

/*Urine*/
.breadcrumbs_design.Urine:nth-child(1){
  background-color:#f6c61eEE;
}
.breadcrumbs_design.Urine:nth-child(2){
  background-color:#f6c61eCC;
}
.breadcrumbs_design.Urine:nth-child(3){
  background-color:#f6c61eAA;
}
.breadcrumbs_design.Urine:nth-child(4){
  background-color:#f6c61e88;
}
.breadcrumbs_design.Urine:nth-child(5){
  background-color:#f6c61e66;
}
.breadcrumbs_design.Urine:nth-child(6){
  background-color:#f6c61e44;
}


.just_a_button{
  background-color:rgb(63,81,181);
    text-align: center;
    padding-left:8px;
    padding-right:8px;
    padding-top:5px;
    padding-bottom:5px;
    height:20px;
    color:white;
}


/*
.corner {
    margin: 10px;
    position: relative;
}

.corner:after, .corner:before {
    content: "";
    position: absolute;
    left: 100%;
    width: 5px;
    height: 50%;
    
    
}
.corner:before {
    top: 0px;

    background: linear-gradient(to top right, #ff6d00 50%, transparent 51%);
}
.corner:after {
    bottom: 0px;

    background: linear-gradient(to bottom right, #ff6d00 50%, transparent 51%);
}

.triangle-cutout-top{
  width: 0;
  border-style: solid;
  border-width: 0 5px 10px 0;
  border-color: #ff6d00 #ff6d00 white #ff6d00;
  left: 0;
  top: 0;
  position: absolute;
    
}
.triangle-cutout-bot{
  width: 0;
  border-style: solid;
  border-width: 10px 5px 0 0;
  border-color: white #ff6d00 #ff6d00 #ff6d00;
  left: 0;
  bottom: 0;
  position: absolute;
    
}


*/












/*for beeg squares*/

.cornerbig {
    margin: 10px;
    position: relative;
}

.cornerbig:after, .corner:before {
    content: "";
    position: absolute;
    left: 100%;
    width: 10px;
    height: 50%;
    
    
}
.cornerbig:before {
    top: 0px;
    background: linear-gradient(to top left, transparent 50%, orange 51%);
    background: linear-gradient(to top right, orange 50%, transparent 51%);
}
.cornerbig:after {
    bottom: 0px;
    background: linear-gradient(to bottom left, transparent 50%, orange 51%);
    background: linear-gradient(to bottom right, orange 50%, transparent 51%);
}







.triangle-cutout-top-big{
  width: 0;
  border-style: solid;
  border-width: 0 10px 20px 0;
  border-color: orange orange white orange;
  left: 0;
  top: 0;
  position: absolute;
    
}
.triangle-cutout-bot-big{
  width: 0;
  border-style: solid;
  border-width: 20px 10px 0 0;
  border-color: white orange orange orange;
  left: 0;
  bottom: 0;
  position: absolute;
    
}
/*make sure this is always last*/

/**********************css for normal select**************************/
.selecion_dropdown{
  appearance: none;
  font-size:1.15rem;
  padding:0.675em 6em 0.675em 1em;
  background-color:#FEFBFE;
  border-radius: 0.25rem;
  color:black;
  cursor: pointer;
  width:100%;
}


/**********************css of the multi select**************************/


.multi-select {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  position: relative;
  width: 100%;
  user-select: none;
}
.multi-select .multi-select-header {
  border: 1px solid #dee2e6;
  padding: 7px 30px 7px 12px;
  overflow: hidden;
  gap: 7px;
  min-height: 45px;
}
.multi-select .multi-select-header::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23949ba3' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.1l-8-8 2.1-2.2 5.9 5.9 5.9-5.9 2.1 2.2z'/%3E%3C/svg%3E");
  height: 12px;
  width: 12px;
}
.multi-select .multi-select-header.multi-select-header-active {
  border-color: #c1c9d0;
}
.multi-select .multi-select-header.multi-select-header-active::after {
  transform: translateY(-50%) rotate(180deg);
}
.multi-select .multi-select-header.multi-select-header-active + .multi-select-options {
  display: flex;
}
.multi-select .multi-select-header .multi-select-header-placeholder {
  color: #65727e;
}
.multi-select .multi-select-header .multi-select-header-option {
  display: inline-flex;
  align-items: center;
  background-color: #f3f4f7;
  font-size: 14px;
  padding: 3px 8px;
  border-radius: 5px;
}
.multi-select .multi-select-header .multi-select-header-max {
  font-size: 14px;
  color: #65727e;
}
.multi-select .multi-select-options {
  display: none;
  box-sizing: border-box;
  flex-flow: wrap;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;
  margin-top: 5px;
  padding: 5px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}
.multi-select .multi-select-options::-webkit-scrollbar {
  width: 5px;
}
.multi-select .multi-select-options::-webkit-scrollbar-track {
  background: #f0f1f3;
}
.multi-select .multi-select-options::-webkit-scrollbar-thumb {
  background: #cdcfd1;
}
.multi-select .multi-select-options::-webkit-scrollbar-thumb:hover {
  background: #b2b6b9;
}
.multi-select .multi-select-options .multi-select-option, .multi-select .multi-select-options .multi-select-all {
  padding: 4px 12px;
  height: 42px;
}
.multi-select .multi-select-options .multi-select-option .multi-select-option-radio, .multi-select .multi-select-options .multi-select-all .multi-select-option-radio {
  margin-right: 14px;
  height: 16px;
  width: 16px;
  border: 1px solid #ced4da;
  border-radius: 4px;
}
.multi-select .multi-select-options .multi-select-option .multi-select-option-text, .multi-select .multi-select-options .multi-select-all .multi-select-option-text {
  box-sizing: border-box;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
  font-size: 16px;
  line-height: 20px;
}
.multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-radio, .multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-radio {
  border-color: #40c979;
  background-color: #40c979;
}
.multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-radio::after, .multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-radio::after {
  content: "";
  display: block;
  width: 3px;
  height: 7px;
  margin: 0.12em 0 0 0.27em;
  border: solid #fff;
  border-width: 0 0.15em 0.15em 0;
  transform: rotate(45deg);
}
.multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-text, .multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-text {
  color: #40c979;
}
.multi-select .multi-select-options .multi-select-option:hover, .multi-select .multi-select-options .multi-select-option:active, .multi-select .multi-select-options .multi-select-all:hover, .multi-select .multi-select-options .multi-select-all:active {
  background-color: #f3f4f7;
}
.multi-select .multi-select-options .multi-select-all {
  border-bottom: 1px solid #f1f3f5;
  border-radius: 0;
}
.multi-select .multi-select-options .multi-select-search {
  padding: 7px 10px;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  margin: 10px 10px 5px 10px;
  width: 100%;
  outline: none;
  font-size: 16px;
}
.multi-select .multi-select-options .multi-select-search::placeholder {
  color: #b2b5b9;
}
.multi-select .multi-select-header, .multi-select .multi-select-option, .multi-select .multi-select-all {
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  align-items: center;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 16px;
  color: #212529;
}





/*graphs*/

/*CI-plot*/
.tooltip{
  position: absolute;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
}

.error-line {
  stroke: black;
  stroke-width: 2;
}
.error-cap-top {
  stroke: black;
  stroke-width: 2;
}
.error-cap-bot {
  stroke: black;
  stroke-width: 2;
}
.zero-line {
  stroke: black;
  stroke-width: 1.5;
}


.diag_piecharts{
  width:80%;
  height:50%;
  display: inline-block;




}

/*dot plot error bars*/
.error-bar {
  stroke: gray;
  stroke-width: 1.5;
}
.regression-line {
  stroke: red;
  stroke-width: 3;
}


#diag_piecharts .piechart{



}
#diag_piecharts .piechart g{




}
#diag_piecharts .piechart path.highlighted{





}




/* Tooltip styling for pie charts */
.tooltip_design {
  position: absolute; /* Allows precise positioning by JavaScript */
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;



}




/*styling for the violin/3ds charts*/
#my_dataviz{display:inline-block}
#my_dataviz svg{
  margin-left:10vw;
  margin-top:2vh;
}
#pca_place svg{
  margin-left:3vw;
  margin-top:2vh;
}




/*MD changes*/


.mdl-layout__header{
  box-shadow: 0px 2px 7px 1px grey;
  background-color:white;
  color:black;
}

.mdl-layout__header nav a{
  color:black;
}

.mdl-layout__content{
  margin-top:120px;
}


/*alternate header*/

.header{
  position: fixed;
  top: 0;
  left:0;
  padding: 10px 16px;
  background: white;
  color: color(srgb 0.2686 0.3119 0.3572);
  height:100px;
  width:99%;
  box-shadow: 0px 2px 7px 1px grey;
  z-index: 9;
}




.center_left{
  position: relative;
  top:-7px;
  left:0%;
  margin-top:auto;
  margin-bottom: auto;

}


.bottom_right{
  float:right;
  margin-top:auto;
  margin-bottom:10px;
  height:inherit;

}
.banner_img{
  height:inherit;
  object-fit: scale-down;
}

.header-title{
  line-height: 35px;
  font-family:'Open Sans','Roboto','Helvetica','Arial',sans-serif!important;
  font-size: 30px;
  font-weight: 700;
  color:#45505a;
  display:inline-block;
  height:100%;
  margin-top:5px;
  margin-bottom:5px;
  position:relative;
  top:25px;
  left:0.5%;
  text-align: center;
  /*height: 218px;*/
}
.single-line-adjust{
  vertical-align:middle;
  margin-top:13px;
}
.header-adjust-contact{
  position:relative;
  top:7px;
  left:0.5%;
}
.header-adjust-all{
  position:relative;
  top:-30px;
  left:0.5%;
}

.nav-button{
  text-decoration:none;
  color:color(srgb 0.2686 0.3119 0.3572);
 }

 nav{
  position:absolute;
  bottom:0;
  right:0px;
  margin-right:40px;
  margin-bottom:10px;
  padding-bottom:0.7%;
  height:inherit;
  width:26%;
 }


 nav div{
  width:28%;
  height: inherit;
  display:inline-block;
 }

 .nav_logo_half{
  position:relative;
  top:22px;
  left:12%;
  height:90%;
  object-fit: scale-down;
  margin:auto;
 }

 nav .nav-txt{
  width:100%;
  margin-bottom:1px;
  position:relative;
  top:-20px;
  left:0.85vw;
  font-size:16px;
  height:50%;
 }





/*the design for the redirect*/

.img_search_width img{
  max-width:100%;

}
.max-width{
  width:100%;
}

#Search_EVTRACK-box{
  width:9vw;
  margin:0 auto;
  text-align:center;
  position:absolute;
  top:0;
  right:4vw;
  /*box-shadow: 1px 1px 2px 2px #b3b3b3;*/
}
#Search_EVTRACK{
  margin-left:auto;
  margin-right:auto;
  margin-bottom:5px;
  width:100%;
  display:block;
}

#Search_EVTRACK p{
  font-size:8px;
  margin-bottom:0px;
  color:rgba(0,0,0,.87);

}







/*graphs*/

/*loader before the graphs*/
.loader{
  margin-left:40%;
  margin-top:20%;
  display:inline-block;
}

#loading_box {
  width: fit-content;
  font-size: 17px;
  font-family: monospace;
  line-height: 1.4;
  font-weight: bold;
  padding: 30px 2px 50px;
  background: linear-gradient(#000 0 0) 0 0/100% 100% content-box padding-box no-repeat; 
  position: relative;
  overflow: hidden;
  animation: l10-0 2s infinite cubic-bezier(1,175,.5,175);
}
#loading_box::before {
  content:"Loading";
  display:inline-block;
  animation: l10-2 2s infinite;
}
#loading_box::after {
  content:"";
  position: absolute;
  width: 34px;
  height: 28px;
  top: 110%;
  left: calc(50% - 16px);
  background:
    linear-gradient(90deg,#0000 12px,#f92033 0 22px,#0000 0 26px,#fdc98d 0 32px,#0000) bottom 26px left 50%,
    linear-gradient(90deg,#0000 10px,#f92033 0 28px,#fdc98d 0 32px,#0000 0) bottom 24px  left 50%,
    linear-gradient(90deg,#0000 10px,#643700 0 16px,#fdc98d 0 20px,#000 0 22px,#fdc98d 0 24px,#000 0 26px,#f92033 0 32px,#0000 0) bottom 22px left 50%,
    linear-gradient(90deg,#0000 8px,#643700 0 10px,#fdc98d 0 12px,#643700 0 14px,#fdc98d 0 20px,#000 0 22px,#fdc98d 0 28px,#f92033 0 32px,#0000 0) bottom 20px left 50%,
    linear-gradient(90deg,#0000 8px,#643700 0 10px,#fdc98d 0 12px,#643700 0 16px,#fdc98d 0 22px,#000 0 24px,#fdc98d 0 30px,#f92033 0 32px,#0000 0) bottom 18px left 50%,
    linear-gradient(90deg,#0000 8px,#643700 0 12px,#fdc98d 0 20px,#000 0 28px,#f92033 0 30px,#0000 0) bottom 16px left 50%,
    linear-gradient(90deg,#0000 12px,#fdc98d 0 26px,#f92033 0 30px,#0000 0) bottom 14px left 50%,
    linear-gradient(90deg,#fdc98d 6px,#f92033 0 14px,#222a87 0 16px,#f92033 0 22px,#222a87 0 24px,#f92033 0 28px,#0000 0 32px,#643700 0) bottom 12px left 50%,
    linear-gradient(90deg,#fdc98d 6px,#f92033 0 16px,#222a87 0 18px,#f92033 0 24px,#f92033 0 26px,#0000 0 30px,#643700 0) bottom 10px left 50%,
    linear-gradient(90deg,#0000 10px,#f92033 0 16px,#222a87 0 24px,#feee49 0 26px,#222a87 0 30px, #643700 0) bottom 8px left 50%,
    linear-gradient(90deg,#0000 12px,#222a87 0 18px,#feee49 0 20px,#222a87 0 30px,#643700 0) bottom 6px left 50%,
    linear-gradient(90deg,#0000 8px,#643700 0 12px,#222a87 0 30px,#643700 0) bottom 4px left 50%,
    linear-gradient(90deg,#0000 6px,#643700 0 14px,#222a87 0 26px,#0000 0) bottom 2px left 50%,
    linear-gradient(90deg,#0000 6px,#643700 0 10px,#0000 0 ) bottom 0px left 50%;
  background-size: 34px 2px;
  background-repeat: no-repeat;
  animation: inherit;
  animation-name: l10-1;
}
@keyframes l10-0{
  0%,30%   { background-position: 0 0px }
  50%,100% { background-position: 0 -0.1px }
}
@keyframes l10-1{
  50%,100% { top:109.5% };
}
@keyframes l10-2{
  0%,30%   { transform:translateY(0); }
  80%,100% { transform:translateY(-260%); }
}
/*serious loader*/
/* HTML: <div class="loader"></div> */
#loading_box-ser {
  width: 100px;
  aspect-ratio: 1;
  border: 30px solid #ddd;
  border-radius: 50%;
  position: relative;
  transform: rotate(45deg);
}
#loading_box-ser::before {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 30px solid #514b82;
  animation: l18 4s infinite linear;
}
@keyframes l18 {
    0%   {clip-path:polygon(50% 50%,0 0,0    0,0    0   ,0    0   ,0    0   )}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0   ,100% 0   ,100% 0   )}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0    100%,0    100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0    100%,0    0   )}
}

/* Pong loader */
#loading_box-pong {
  width: 80px;
  height: 70px;
  border: 5px solid #000;
  padding: 0 8px;
  box-sizing: border-box;
  background:
    linear-gradient(#fff 0 0) 0    0/8px 20px,
    linear-gradient(#fff 0 0) 100% 0/8px 20px,
    radial-gradient(farthest-side,#fff 90%,#0000) 0 5px/8px 8px content-box,
    #000;
  background-repeat: no-repeat; 
  animation: l3 2s infinite linear;
}
@keyframes l3{
  25% {background-position: 0 0   ,100% 100%,100% calc(100% - 5px)}
  50% {background-position: 0 100%,100% 100%,0    calc(100% - 5px)}
  75% {background-position: 0 100%,100%    0,100% 5px}
}

/*pacman loader*/
#loading_box-pac {
  width: 90px;
  height: 24px;
  padding: 2px 0;
  box-sizing: border-box;
  display: flex;
  animation: l5-0 3s infinite steps(6);
  background:
    linear-gradient(#000 0 0) 0 0/0% 100% no-repeat,
    radial-gradient(circle 3px,#eeee89 90%,#0000) 0 0/20% 100%
    #000;
  overflow: hidden;
}
#loading_box-pac::before {
  content: "";
  width: 20px;
  transform: translate(-100%);
  border-radius: 50%;
  background: #ffff2d;
  animation: 
    l5-1 .25s .153s infinite steps(5) alternate,
    l5-2  3s        infinite linear;
}
@keyframes l5-1{ 
    0% {clip-path: polygon(50% 50%,100%   0,100% 0,0 0,0 100%,100% 100%,100% 100%)}
  100% {clip-path: polygon(50% 50%,100% 65%,100% 0,0 0,0 100%,100% 100%,100%  35%)}
}
@keyframes l5-2{ 
  100% {transform: translate(90px)}
}
@keyframes l5-0{ 
  100% {background-size:120% 100%,20% 100%}
}







/*CI-plot*/
.tooltip{
  position: absolute;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;










}

.error-line {
  stroke: black;
  stroke-width: 2;
}
.error-cap-top {
  stroke: black;
  stroke-width: 2;
}
.error-cap-bot {
  stroke: black;
  stroke-width: 2;
}
.zero-line {
  stroke: black;
  stroke-width: 1.5;
}

/* Styles specific to pie chart SVGs */
/*styles piechart box molecular*/
/*individual piechart holder*/
#diag_piecharts .piechart-holder{
  /*position:relative;*/
  width:8.2%;
  width:16%;
  margin-top:10px;
  display: inline-block;
  margin-left:20%;
}
/*styles svg piechart molecular*/
#diag_piecharts .piechart {
  width: 100%;
  height: 200px;
  box-sizing: content-box;
  position: relative;
  margin-top:15px;
}
#diag_piecharts .piechart-holder .chart-title{
  text-align:center;
  font-size: 1vw;
}



/*styles svg piechart molecular*/
#molecular-box .piechart {
  width: 100%;
  height: 125px;
  box-sizing: content-box;
  position: relative;
}

/*individual piechart holder*/
#molecular-box .piechart-holder{
  /*position:relative;*/
  width:8.2%;
  width:16%;
  margin-top:10px;
  display: inline-block;
}
/*holder for each piechart list*/
#molecular-box .piechart-list{
  margin-top:20px;
  margin-bottom:20px;
}


#molecular-box .piechart-holder .chart-title{
  text-align:center;
  font-size: 0.5vw;
}

#molecular-box .piechart svg{
  width:100%;
  height:90%;
}

/* Removed transform on .piechart g to avoid conflict */
#molecular-box .piechart g {
  display: block !important;
}

/* Style paths within each pie chart */
#molecular-box .piechart path {
  stroke: white;
  stroke-width: 2px;
}

/* Highlight effect for pie chart slices on hover */
#molecular-box .piechart path.highlighted {
  opacity: 0.8;
}
/*numbers above the piecharts*/
#diag_piecharts .pie-numbers{
  text-align: center;
  margin-top:10px;
}
#SmallRNA-plot .pie-numbers{
  text-align: center;
  margin-top:10px;
}

#SmallRNA-plot .pie-method{
  text-align: center;
  margin-top:10px;
  font-weight: 700;
}



/* Tooltip styling for pie charts */
.tooltip_design {
  position: absolute; /* Allows precise positioning by JavaScript */
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
}
/* changes for the volcano plot (proteomics)*/

.dot {
  stroke: #bbb;
  
  stroke-width: 1px;
  /*opacity:0.7;*/
  z-index:1;
}

/*CI adjust of dot*/
.dot_CI{
  stroke: #000;
  stroke-width: 1px;
  z-index:1;

}

.significant {
  fill: red;
  stroke-width:1px;
  stroke:#f87f7f;

  /*opacity:0.7;*/
}
.not-significant {
  fill: lightgray;
  /*opacity:0.7*/
}

/*dots for the goBP plots*/

.GOBP_left{
  fill:blue;
  opacity: 0.7;
}
.GOBP_right{
  fill:red;
  opacity:0.7
}

.top-left-label,
.top-right-label {
  font-size: 14px;
  font-weight: bold;
  fill: black;
}

.volcano_box{
  width:100%;
  display:inline-block;
}
.volcano_plot{
  vertical-align: top;
  display: inline-block;
}
.volcano_plot_molec{
  vertical-align: top;
  display: inline-block;
}
.volcano_plot svg{
  display:inline-block;
}

/*table stuff*/
/* Styling for the main table */
.table_box table {
  width: 80%; /* Table width relative to the viewport */
  margin: 30px auto; /* Center the table horizontally */
  border-collapse: collapse; /* Remove default spacing between cells */
  overflow: hidden;
  border-radius: 10px; /* Rounded corners for the table */
  background-color: #fff; /* White background for table content */
}

/* Styling for the table header */
.table_box thead {
  background-color: #1e3799; /* Dark blue background for header */
  color: #fff; /* White text for contrast */
}

/* Styling for header cells */
.table_box thead th {
  padding: 15px;
  cursor: pointer; /* Indicate that the header is clickable */
  position: relative;
  user-select: none; /* Prevent text selection on double-click */
}

/* Adding a sort indicator arrow to header cells */
.table_box thead th::after {
  content: '';
  position: absolute;
  right: 20px;
  border: 6px solid transparent; /* Create an arrow using borders */
  border-top-color: #fff; /* White arrow pointing upwards */
  transform: translateY(-50%);
  top: 50%;
  opacity: 0; /* Hide the arrow by default */
  transition: opacity 0.2s ease; /* Smooth transition for arrow visibility */
}

/*arrange scrolability*/
.table_box tbody {
  display:block;
  height:420px;
  overflow:auto;
}
.table_box thead, .table_box tbody tr {
  display:table;
  width:100%;
  table-layout:fixed;
}
.table_box thead {
  width: calc( 100% - 1em )
}

/*search box changes extra*/
#table_box_GOBP{
  margin-top: 15px;


}


/*search box table*/

/* Styling for the search input container */
.search-container {
  padding: 10px;
  text-align: center;
  /*background-color: #4a69bd; /* Soft blue background for the search area */
}

/* Styling for the search input field */
.searchInput {
  width: 300px;
  padding: 5px 7px;
  font-size: 16px;
  border: none;
  border-radius: 25px; /* Rounded edges for a modern look */
  border-color: #1e3799;
  border-width: 1px;
  border-style: solid;
  outline: none;
  transition: box-shadow 0.3s ease; /* Smooth transition for focus effect */
}



/* Keyframe animation for row fade-in effect */
@keyframes fadeIn {
  from { 
      opacity: 0; /* Start with invisible rows */
      transform: translateY(10px); /* Slightly shifted down */
  }
  to { 
      opacity: 1; /* Fully visible */
      transform: translateY(0); /* Original position */
  }
}



/*****search results look****/


/* container for the results */
.results_container {
  width: 90%;
  margin: 40px auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  padding: 20px;
  font-family: "Segoe UI", sans-serif;
  color: #222;
}

/* header info */
.results_info {
  color: #0E6C73;
  margin-bottom: 15px;
  font-size: 16px;
}

/* table basics */
.res_table {
  width: 90%;                  /* Take up 90% of the parent width */
  margin: 30px auto 50px auto;           
  border-collapse: collapse;
  border: 2px solid #0E6C73;
  border-radius: 10px;
  overflow: hidden;            /* Keeps rounded corners clean */
  background-color: #F6F8F9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom:10px;
}


.res_table th,
.res_table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.res_table th {
  background-color: #0E6C73;
  color: white;
  font-weight: 600;
}

.res_table tr:last-child td {
  border-bottom: none;
}

/* Hover effect for rows */
.res_table tbody tr.summary_row:hover {
  background-color: #E6F4F5;
}

/* Detail row background */
.detail_row td {
  background-color: #e4f4f4;
}
.Superdetail_row td{
  /*background-color: #ddf4f4;*/
}

/* Optional: responsive tweak */
@media (max-width: 768px) {
  .res_table {
    width: 100%;
    font-size: 14px;
  }
}





/* table header */
.res_table thead th {
  background-color: #0E6C73;
  color: white;
  text-align: left;
  padding: 10px 14px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* summary rows */
.summary_row {
  background-color: #F6F8F9;
  border: 2px solid #0E6C73;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.summary_row:hover {
  border-color: #1EA7EA;
  box-shadow: 0 0 0 3px rgba(30,167,234,0.2);
}

.summary_row td {
  padding: 10px 14px;
  vertical-align: middle;
}







/* detail rows (hidden by default) */
.detail_row,.Superdetail_row {
  display: none;
}

.detail_box {
  background-color: #E9F3F4;
  border: 2px solid #0E6C73;
  border-radius: 8px;
  padding: 15px;
  margin-top: 5px;
  font-size: 15px;
  line-height: 1.5;
}

/* expand button */
.expand_btn,.sub_btn {
  background-color: #0E6C73;
  color: white;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s ease;
}

.expand_btn:hover,.sub_btn:hover {
  background-color: #1EA7EA;
  transform: scale(1.1);
}

.expand_btn.active,.sub_btn:active {
  background-color: #1EA7EA;
}


/*detail boxes design on query result page*/

.detail_box {
  padding: 15px 10px; /* top/bottom padding 15px, left/right 10px */
  font-family: "Segoe UI", sans-serif;
  font-size: 14px;
  background-color: #F0F8F8; /* optional, keeps it distinct from summary row */
  border-radius: 6px;        /* optional: soft corners */
    margin-left:auto;
  margin-right:auto;
  width:60%;
}

/* Each detail line is a grid: label on left, value on right */
.detail_line {
  display: flex;
  align-items: center;
  margin-bottom: 10px; /* previously 4px, now more space between lines */
}

/* Fixed-width column for all labels */
.label_container {
  width: 200px; /* all values align at the same starting point */
}

/* Indentation only affects the text inside */
.detail_h1 { padding-left: 0px; font-weight: 600; }
.detail_h2 { padding-left: 20px; font-weight: 500; }
.detail_h3 { padding-left: 40px; font-weight: 400; }

.value_col {
  flex: 1;  /* takes remaining space, aligned for all rows */
}

/*flex tryout*/
.detail_line {
  display: flex;
  align-items: center; /* vertical align */
}

.detail_h1, .detail_h2, .detail_h3 {
  display: inline-block;
  width: 200px; /* fixed width for alignment */
}

.value_col {
  flex: 1; /* take remaining space */
}
/*********/


/*
.detail_h1, .detail_h2, .detail_h3 {
  white-space: nowrap; 

.value_col {
  white-space: normal;
}*/

/* Indentation for different levels */
.detail_h1 {
  padding-left: 0px;  /* level 1 */
  font-weight: 600;
}
.detail_h2 {
  padding-left: 20px; /* level 2 */
  font-weight: 500;
}
.detail_h3 {
  padding-left: 40px; /* level 3 */
  font-weight: 400;
}

/* value column aligned across all levels */
.value_col {
  /* no padding-left, will always align under each other */
  padding-left: 10px; /* optional: small spacing from label column */
}


.details_spacer{
  width:11vw;
  display:inline-block;
}


/*btns in the table headers*/
/* Remove column button inside table header */
.remove-col {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.4);
  background-color: rgba(255,255,255,0.15);
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;                     /* subtle by default */
  transition: all 0.2s ease;
}

/* On hover: strong contrast like other controls */
.remove-col:hover {
  opacity: 1;
  background-color: #1EA7EA;
  border-color: #1EA7EA;
  box-shadow: 0 0 6px rgba(30,167,234,0.4);
}

/* Add column button in header */
#add-column-btn {
  position: relative;
  cursor: pointer;
  width: 36px;
  text-align: center;
  background-color: #0E6C73;
  color: white;
  font-size: 20px;
  font-weight: bold;
  border-left: 2px solid rgba(255,255,255,0.3);
  transition: all 0.2s ease;
}

/* Hover effect similar to pagination buttons */
#add-column-btn:hover {
  background-color: #1EA7EA;
  box-shadow: 0 0 6px rgba(30,167,234,0.5);
}


/*add a new row*/
#column-menu {
  position: absolute;
  z-index: 9999;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  padding: 5px 0;
}

#column-menu div {
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
}

#column-menu div:hover {
  background-color: #E6F6FD; /* soft hover */
}


/*for the footer data*/
/* === Table footer layout === */
.table_footer td {
  border-top: 2px solid #0E6C73;
  padding-top: 10px;
  background-color: #F6F8F9;
}

.footer_info {
  text-align: right;
  font-weight: 500;
  color: #0E6C73;
  font-size: 15px;
}

.footer_nav {
  text-align: right;
  padding-right: 16px;
}

/* === Pagination buttons === */
.page_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 6px;
  border: 2px solid #0E6C73;
  border-radius: 8px;
  background-color: #F6F8F9;
  color: #0E6C73;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Hover & active effects */
.page_btn:hover {
  background-color: #1EA7EA;
  color: #F6F8F9;
  border-color: #1EA7EA;
  box-shadow: 0 0 6px rgba(30,167,234,0.4);
  transform: translateY(-1px);
}

.page_btn:active {
  transform: translateY(0);
}

/* === Arrows using CSS only === */
.arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.arrow.left {
  transform: rotate(-135deg);
}

.arrow.right {
  transform: rotate(45deg);
}




/*breadcrumbs design*/
.breadcrumb_box{
  padding-top:30px;

  margin-top:50px;
  margin-left:80px;
}



/*styles of the omics page*/

.page-intro   { margin-bottom: 1.4rem; color: #555; }
.filter-block { margin-bottom: 1.1rem; }
.filter-label { display: block; font-weight: 600; margin-bottom: .35rem; }
.filter-select {
  display: block;
  min-width: 200px;
  padding: .45rem .7rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 1rem;
  background: #fff;
}
.filter-select:focus  { outline: 2px solid #4a90d9; border-color: transparent; }
.filter-select:disabled { background: #f0f0f0; color: #aaa; cursor: not-allowed; }

/* Tabs */
.tab-bar {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #bbb;
}
.tab-btn {
  padding: .55rem 1.4rem;
  border: 1px solid #bbb;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  background: #f5f5f5;
  font-size: .95rem;
  cursor: pointer;
  margin-right: 4px;
  position: relative;
  bottom: -2px;
  transition: background .15s, color .15s;
}
.tab-btn:hover    { background: #e8e8e8; }
.tab-btn.tab-active {
  background: #fff;
  border-color: #bbb;
  border-bottom-color: #fff;
  font-weight: 600;
  color: #1a73e8;
}

/* Side-by-side methods */
.method-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}
.method-row .filter-block { margin-bottom: 0; }

.hidden { display: none !important; }

.result-label { font-weight: 600; margin-bottom: .2rem; }
.result-value { font-family: monospace; font-size: 1rem; margin-bottom: .5rem; }
.warn-text    { color: #c0392b; }




