body, html {
    margin: 0;
    padding: 0;
    height: 100%; 
    width: 100%;
}



.wrapper {
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

.content {
    flex: 1; 
    padding-bottom: 20px;
    width: 1312px;  
    margin: 0 auto; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for better visibility */
}

*, 
*::before,
*::after {
    box-sizing: border-box;
}

#footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    margin-top: auto; /* Ensure footer is pushed to the bottom */
    width: 1312px; /* Ensure footer spans the full width */
}

#container{
    width: 1300px; 
    margin: 0 auto;
    flex-direction: column; 
}   

.art-logo {
    width: 1312px; 
    display: block; 
    position: relative; 
    top: 0;
    margin-left: auto;
    margin-right: auto;
}

p {
    font-size: 14px; 
    line-height: 21px; 
    margin: 0px 0px 24px; 
}

#navbar {
    position: relative; 
    min-height: 41px; 
    height: auto !important; 
    width: 1313px; 
    margin: 0 auto; 
    border-radius: 0px 0px 3px 3px; 
}

.topnav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: #333;
    width: 1312px;
    border-radius: 0px 0px 3px 3px; 
    margin-bottom: 0px; 
}

.topnav li {
    float: left;
    border-right: 1px solid #bbb;
}

.topnav a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.topnav a:hover {
    background-color: #666666;
    text-decoration: underline;
}

.home-left-side{
    width: 950px; 
    float: left; 
}

.descriptions{
    width: 950px; 
    float: left;
    padding-left: 10px; 
}

.form-control{
    display: block; 
    padding: 6px, 12px; 
    font-size: 14px; 
    line-height: 1.45; 
    color: #555; 
    background-color: #fff; 
    background-image: none; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    font-family: inherit; 
}

.btn-primary{
    border-color: #333; 
    background-repeat: repeat-x; 
    font-family: inherit; 
}

.cluster-title{
    font-size: 30px; 
    line-height: 41px; 
    font-weight: bold; 
    margin: 0px; 
    color: #333; 
}

.species-title{
    font-size: 30px; 
    line-height: 41px; 
    font-weight: bold; 
    margin: 0px; 
    color: #333; 
}

#sidebar{
    width: 308px; 
    float: right; 
    margin: 0px 0px 0px; 
    display: block; 
    font: inherit; 
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 100%; /* Match the width of .photo-box */
    height: 205px; /* Define height to contain .photo-box elements */
    margin: auto;
    overflow: hidden;
    border-radius: 4px; 
}

.photo-box {
    width: 100%; 
    height: 100%; 
    position: absolute; /* Change to absolute for stacking */
    top: 0;
    left: 0;
    opacity: 0; /* Start hidden */
    transition: opacity 1s ease-in-out; /* Smooth transition */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.photo-box.active {
    opacity: 1; /* Show active photo */
}

.photo-box img {
    width: 100%;
    border-radius: 4px;
    z-index: 1; /* Ensure image is above other elements */
}

.photo-box h2 {
    position: absolute;
    left: 0;
    bottom: -12px;
    height: 40px;
    width: 100%;
    background: rgba(125, 125, 120, .4);
    text-indent: 2em;
    font-size: 15px;
    line-height: 40px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-weight: normal;
    color: ghostwhite;
    z-index:2; /* Ensure subtitle is above the image */
}

.ui-statistic{
    box-shadow: 0 2px 4px 0 rgba(34, 36, 38, .12), 0 2px 10px 0 rgba(34, 36, 38, .15);
    font-size: 1rem;
    position: relative;
    background: #fff;
    -webkit-box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15);
    box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15);
    margin: 1rem 0;
    padding: 1em 1em;
    border-radius: .28571429rem;
    border: 1px solid rgba(34, 36, 38, .15);
}

.ui-statistic p {
    margin-bottom: 10px; 
}

h4 {
    padding: 0px; 
    margin: 0px;
}

.basic-information {
    width: 100%;
    display: flex;
    justify-content: center;
}

.basic-information table {
    table-layout: fixed;
    width: 80%;
    border-collapse: collapse;
    border: 1px solid grey; /* Thicker and darker border */
    border-radius: 50px; 
}

.basic-information th, .basic-information td {
    border: 1px solid gray;
    padding: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 17px;
}

.basic-information th {
    font-weight: bold;
}

.area>.area_title {
    float: left;
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    display: flex;
    justify-content: center;
}

.plant-title{
    float: left; 
    font-size: 15px;
    font-weight: bold; 
    display: flex;
    justify-content: left;
    padding-left: 10px; 
    border-left: 5px solid #ff7800;
    margin-bottom: 8px; 
    margin-top: 8px; 
    margin-left: 8px; 
}


.custom-link {
    color: #ADD8E6;
}

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

.footer-text p{
    margin: 0; 
    padding: 0; 
    line-height: 1.2; 
    font-size: 15px; 
}

.last-element { 
    margin-bottom: 20px; 
}

.about-center p {
    font-size: 20px; 
    margin: 0px 0px 2px; 
}

.about-center {
    padding-top: 10px;
    display: flex; 
    flex-direction: column; 
    margin-left: 30px;  
}

.help-block{
    display: block;
    margin: 0px;
    color: #737373;
    margin-bottom: 10px; 
}

.main-title{
    font-size: 25px; 
    line-height: 41px; 
    font-weight: bold; 
    margin: 0px; 
    color: black; 
    padding-left: 2.5px; 
}

.collapsible {
    background-color: #333;
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    font-size: 15px;
    background: none; 
    padding: 0;
    margin-top: 17px;
    margin-bottom: 6px; 
    font-family: 'Times New Roman', Times, serif;
}

.collapsible .plant-title {
    display: inline-block; 
}

.active, .collapsible:hover {
    background-color: #ccc;
  }

.collapse-info{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.collapsible:after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 18px;
    color: white;
    float: right;
    margin-right: 20px; 
    margin-top: 15px; 
  }
  
  .active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
  }

  .header-button,
  .minimize-button {
      padding: 4px 15px 4px 7px;
      background-color: white; 
      border-color: black; 
      border-radius: 4px; 
      cursor: pointer;
      height: 26.95px;    
  }
  
  .header-button img,
  .minimize-button img {
      margin-right: 10px;
  }
  
  .header-button .expand-text,
  .minimize-button .expand-text {
      letter-spacing: .3px; 
  }
  
  .header-button:active,
  .minimize-button:active {
      background-color: #f5f5f5;
  }

.exonid-expandminimize{
    float: right; 
    display: flex; 
    gap: 8px; 
    margin-right: 10px; 
    margin-top: 9px;
    justify-content: center; 
    align-items: center;
}

.species-cell {
    position: relative;
    overflow: hidden;
}

.species-cell::after {
    content: attr(data-species);
    font-style: italic; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.species-cell:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.ui.teal.ribbon:after {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    background-color: transparent!important;
    border-style: solid;
    border-width: 0 1.2em 1.2em 0;
    border-color: transparent;
    border-right-color: inherit;
    width: 0;
    height: 0
}

.ui.teal.ribbon{
    font-weight: bold; 
    font-size: 16px; 
    padding-right: 1.2em; 
    padding-top: 9.3px; 
    padding-bottom: 9.3px; 
    background-color: #278c54; 
    left: calc(-1rem - 1.2em);
    position: relative;
    padding-left: calc(1rem + 1.2em);
    border-radius: 0 .28571429rem .28571429rem 0;
    border-color: #1b622d;
    color: white; 
}

.text-primary{
    margin-top: 7px; 
}

.ui-statistic p{
    position: relative; 
    padding-left: 10px;
}

.ui-statistic p::before{
    content: '';
    background-image: url('/img/greater_than.png');
    background-size: contain; /* Ensure the image scales correctly */
    background-repeat: no-repeat;
    width: 20px; /* Adjust the width as needed */
    height: 20px; /* Adjust the height as needed */
    position: absolute;
    left: -8;
    top: 50%;
    transform: translateY(-50%);
}
