/* Move down content because we have a fixed navbar that is 50px tall */

@import url('Gruppo.css');
@import url('Montserrat.css');


html, body {
  margin: 0;
  height: 100%;
  padding: 0;
  background: #fff;
  
}




.navbar {
  padding:0% 0% 5px 0% !important;
  background:#ffffff !important;
  border-bottom:0px solid red;
}

.navbarbrand{
  width:70%;
  border:0px dashed blue;
}


.globalheader {
    display:block;
    
    float:left;
    height:100px;
    width:100%;
    margin:0px 0% 0px 0% !important;
    padding:0px !important;
    background:#033C5A !important;
    border-bottom:1px solid #d8d8d8;
}


.globalheader_logo {
    display:block;
    float:left;
    height:55px;
    margin:0px 0px 0px 0px;
    font-family: 'Gruppo', cursive;
    border:0px dashed orange;
    
}
.globalheader_logo_img {
    float:left;
    width:50px;
    margin:0px 0px 0px 0px;
    border:0px dashed orange;
}



.versioncn{
    display:block;
    float:left;
    width:100%;
    color:#0066ff;
    height:15px;
    padding:0px 10px 0px 0px;
    margin:0px 0px 20px 0px;
    text-align:right;
    font-size:11px;
    border:0px dashed red;
}

.fgtext{
  color:#fff !important;
}

/* color of the dropdown sign */
.dropdown>a::after {
    color:#ffffff;
}


.reglinkblue {
  cursor:pointer;
  text-decoration:none;
  color:#1F618D !important;
}

.reglinkwhite {
  cursor:pointer;
  text-decoration:none;
  color:white !important;
}

.gmenulink {
  cursor:pointer;
  text-decoration:none;
  color:#033C5A !important;
}




.pagecnwrapper{
    display:block;
    float:left;
    width:80%;
    min-height:500px;
    margin:60px 10% 500px 10%;
    font-family: 'Montserrat', sans-serif; 
    color:#333;
    z-index:1;
    border:0px dashed orange;
 }

 .pagecn{
    display:block;
    float:left;
    width:74%;
    margin:0px 1.8% 0px 0px; 
    border:0px dashed orange;
 }

.advcn{
    display:block;
    float:left;
    width:24%;
    border:0px dashed orange;
 }


.navlink{
    text-decoration:none;
    font-size:13px;
    color:#2358C2;
}
.navlastlink{
    text-decoration:none;
    font-size:13px;
    color:#990000;
}

.imagewrapper{ 
  display:flex;
  float: left;
  align-items: flex-start;
  margin:10px 15px 0px 0px;
  max-width: 400px;
}
.imagewrapper img {
  width: 100%;
  height: auto;
  max-width: 100%; /* image stays responsive */
}

.leftblock{
    display:block;
    float:left;
}

.rightblock{
    display:block;
    float:right;
}

.bottomblock{
    display:block;
    float:bottom;
}


@font-face {
   font-family: 'Material Icons';
   font-style: normal;
   font-weight: 400;
   src: url(iconfont/MaterialIcons-Regular.eot); /* For IE6-8 */
   src: local('Material Icons'),
        local('MaterialIcons-Regular'),
        url(iconfont/MaterialIcons-Regular.woff2) format('woff2'),
        url(iconfont/MaterialIcons-Regular.woff) format('woff'),
        url(iconfont/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

 



td.faqquestion{
    text-align:left;
    padding:3px 0px 3px 0px;
    cursor: pointer;
    color:#005581;
}


td.faqanswer{
    text-align:left;
    padding:0px 0px 20px 40px;
    display:none;
}


span.faqquestionid{
    text-align:left;
    padding:0px 20px 0px 0px;
    color:#005581;
}

.googlerow{
    height:30px;
}

.googleoddrow{
    height:30px;
    background:#f6f6f6;
}

.googleheaderrow{
    height:30px;
}
.googleheadercell{
    vertical-align:middle;
    text-align:left;
    padding:20px;
    background:#eee; 
}

.googlecell{
    vertical-align:middle;
    vertical-align: text-middle;
    text-align:left;
    font-size:16px;
    padding:20px;
}


.globalfooter {
  margin-top: auto; /* Pushes footer to the bottom */
  display:block;
  float:left;
  width: 100%;
  height: 100px;
  background: #033C5A;
 
}



.acknowledgement {
    margin-bottom: 10px;
}

.orcid-icon {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-right: 5px; 
}

.hero-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 20px;
}

.hero-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../imglib/bm3.png') no-repeat center center/cover;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    color: white;
    
    
    
}

.hero-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    position: relative;
    
    z-index: 2;
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 300px; /* Adjust the height as needed */
    border-radius: 8px;
    object-fit: cover;
}

.benefits-diagram {
    position: relative;
    text-align: center;
    color: black;
    height: auto;
}

.benefits-diagram img {
    width: 100%;
    height: auto;
}
.text-content {
    color: white;
    max-width: 50%;
    padding-left: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.text-content h1 {
    font-style: "Montserrat";
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

.text-content p {
    font-size: 1.0em;
}


.biomarker-portal-btn {
    transition-duration: 0.4s;
    border-radius: 24px;
    box-sizing: border-box;
    font-size: 14px;
    overflow: visible;
  padding: 7px 21px;
  cursor: pointer;
  z-index: 2;
  text-decoration: none;
  background: #F6F9FE;
  color: #174ea6;
  }
  
  .biomarker-portal-btn:hover {
    
    border-radius: 24px;

    background: #F6F9FE;
    color: #174ea6;
    box-shadow: 0 12px 16px 0 rgba(255, 255, 255, 0.24), 0 17px 50px 0 rgba(255, 255, 255, 0.19);
    z-index: 2;
    text-decoration: none;
  }

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        top: 40%;
    }

    .hero-banner h1 {
        font-size: 2em;
    }

    .hero-banner p {
        font-size: 1em;
    }
    .benefits-img {
        top: 40%;
    }
    .biomarker-portal-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}
/* Useful Links Section */
.useful-links-section {
    padding: 20px;
    background-color: #f9f9f9; /* Light background color for contrast */
    border-radius: 8px;
    margin: 20px 0;
}

.useful-links-section h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.useful-links {
    list-style: none;
    padding: 0;
}

.useful-links li {
    margin-bottom: 10px;
}

.useful-links a {
    text-decoration: none;
    font-size: 1em;
    color: #007bff; /* Link color */
    transition: color 0.3s ease;
}

.useful-links a:hover {
    color: #0056b3; /* Hover color */
}

/* Responsive Design */
@media (max-width: 600px) {
    .useful-links-section {
        padding: 15px;
    }

    .useful-links-section h2 {
        font-size: 1.2em;
    }

    .useful-links a {
        font-size: 0.9em;
    }
}

/* Biomuta page css */
/* Searchbox Styles */
.searchbox_paper {
    padding: 2px 4px;
    display: flex;
    align-items: center;
    width: 100%;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .searchbox_input {
    margin-left: 8px;
    flex: 1;
    font-size: 14px;
    color: #777;
  }
  
  .search_icon {
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #333;
  }
  
  .search-container {
    padding: 20px;
    background-color: #e9ecef;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* style.css */

/* General container for search results */
.search-results-container {
    width: 100%;
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
  }
  
  /* Container for filter options */
  .filter-container {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
  }
  
  /* Paginator container at the top and bottom */
  .paginator-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
  }
  
  .pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .page-item {
    margin: 0 5px;
  }
  
  .page-link {
    padding: 8px 12px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #00457C;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .page-link:hover {
    background-color: #f0f0f0;
  }
  
  .page-item.active .page-link {
    background-color: #00457C;
    color: white;
  }
  
  .page-item.disabled .page-link {
    background-color: #e9ecef;
    color: #6c757d;
    pointer-events: none;
  }
  
  .records-info {
    font-size: 14px;
    color: #333;
  }
  
  @media (max-width: 768px) {
    .paginator-container {
      flex-direction: column;
    }
    .records-info {
      margin-top: 10px;
    }
  }
  
  
  /* Search results table styling */
  .results-table {
    width: 100%;
    margin-top: 20px;
    background-color: #ffffff;
    border-collapse: collapse;
  }
  
  .results-table table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .results-table th,
  .results-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 14px;
  }
  
  .results-table th {
    background-color: #f4f4f4;
    font-weight: bold;
  }
  
  .results-table tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  /* Alert dialog box */
  .alert-dialog {
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
  }
  
  /* Loading icon */
  .loading-icon {
    margin: 0 auto;
    display: block;
  }
  
  /* Filter applied summary */
  .filter-summary {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
  }
  
  .filter-summary b {
    font-weight: bold;
  }
  
  /* No results message */
  .results-table p {
    font-size: 16px;
    color: #a94442;
    text-align: center;
    padding: 20px 0;
  }
  
  
  /* Plot Component Styles */
  .plot-container {
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
  }
  
  .plot-header {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
  }
  
  .plot-toggle-btn {
    padding: 10px 20px;
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .plot-toggle-btn.active {
    background-color: #c0c0c0;
    font-weight: bold;
  }
  
  .plot-toggle-btn:hover {
    background-color: #d0d0d0;
  }

  .info-message-container {
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    margin: 20px 0;
    border-radius: 5px;
  }
  
  .info-message {
    font-size: 16px;
    color: #555;
  }
  
  .info-message p {
    margin: 5px 0;
  }
  
  .loading-container {
    text-align: center;
    padding: 20px;
  }
  
  .error-message {
    color: red;
    text-align: center;
    padding: 20px;
    border: 1px solid red;
    background-color: #ffe6e6;
    border-radius: 5px;
  }
  
  .no-data-message {
    text-align: center;
    color: #555;
    padding: 20px;
  }
  
  .plot-container {
    margin-top: 20px;
  }
  
  h3 {
    margin-bottom: 15px;
    color: #333;
  }
  
  
  /* Dataset Page Styles */
  .dataset-page {
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
  }
  
  .dataset-page .search-container,
  .dataset-page .search-results-container,
  .dataset-page .plot-container {
    margin-bottom: 20px;
  }
  
  .alert-dialog {
    font-size: 14px;
    color: #b00;
  }
  .protein-dataset-page {
    padding: 20px;
  }
  
  .search-container {
    margin-bottom: 20px;
  }
  
  .results-container {
    margin-top: 20px;
  }
  
  .plot-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    align-items: center;
  }
  
  .horizontal-plots {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  
  .horizontal-plots > div {
    flex: 1;
    margin: 0 10px;
  }

  .protein-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .protein-table th, .protein-table td {
    border: 1px solid #ddd;
    padding: 8px;
  }
  
  .protein-table th {
    background-color: #f2f2f2;
    text-align: left;
  }
  
  .error-message {
    color: red;
    font-weight: bold;
  }
  .dataset-page {
    padding: 20px;
    font-family: Arial, sans-serif;
  }
  
  .info-section {
    background-color: #f9f9f9;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
  }
  
  .info-section h2 {
    margin-top: 0;
    color: #004080;
  }
  
  .search-container {
    margin-bottom: 20px;
  }
  
  .search-results-container {
    margin-top: 20px;
  }
  
  .plot-container {
    margin-top: 30px;
  }

  .dataset-page {
    padding: 20px;
  }
  
  .info-section h2 {
    color: #00457C; /* Match the navigation bar */
    margin-bottom: 10px;
  }
  
  .info-section p {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .mutation-table-container {
    margin-bottom: 30px;
  }
  
  .mutation-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
  }
  
  .mutation-table th,
  .mutation-table td {
    border: 1px solid #cccccc;
    padding: 10px;
    
  }
  
  .mutation-table th {
    background-color: #00457C;
    color: #ffffff;
  }
  
  .mutation-table tr:nth-child(even) {
    background-color: #f2f2f2;
  }
  
  .plot-container {
    margin-bottom: 20px;
  }
  
  .error-message {
    color: red;
    font-weight: bold;
    text-align: center;
  }
  
  .loading-container,
  .no-data-message {
    text-align: center;
    font-style: italic;
  }
  


  /*Download csv button*/


  .download-button {
    margin-top: 20px;
    text-align: left;
  }
  
  .download-button a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1F618D;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .download-button a:hover {
    background-color: #0056b3;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
  }


  .pagination-download-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
  }
  
  .download-button a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1F618D;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .download-button a:hover {
    background-color: #0056b3;
  }


    /* Dataset page styling */

.dataset-page {
  padding: 20px;
}

.info-section {
  margin-bottom: 20px;
}

.plot-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.expression-table-container,
.bgee-table-container,
.textmine-table-container {
  margin-bottom: 20px;
}

h3 {
  text-align: center;
  margin-bottom: 20px;
}

.download-buttons {
  text-align: center;
  margin-top: 20px;
}

.download-button {
  display: inline-block;
  margin: 10px;
}

.error-message {
  text-align: center;
  color: red;
}

.loading-message {
  text-align: center;
}


/* Gallery Page css */

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 250px; /* Set a fixed height to crop the images */
  background-color: #f0f0f0; /* Add background color in case the image doesn't fill up */
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.gallery-item:hover .image-overlay {
  opacity: 1;
}

.image-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
}

.image-description {
  font-size: 1em;
  line-height: 1.4;
}

/* HIVE LAB hompepag css */
.lab-header {
  position: relative;
  text-align: center;
  color: white;
  font-family: 'Georgia', serif;
}
.lab-image {
  width: 100%;
  height: auto;
  max-height: 500px; 
  object-fit: cover;
}
.lab-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* Black with 50% opacity */
  z-index: 1;
}
.lab-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4em;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
  z-index: 2; /* Make sure the title is above the overlay */
}
