/* HEADING (Home, Browse, Search, Download, Help) */

h2 {text-align: center; font-family: sans-serif;}

/* PARAGRAPH */
p {font-family: sans-serif; line-height: 1.5;}

/* TOP NAVIGATOR MENU (Home, Browse, Search, Download, Help) */


/* Style the links inside the navigation bar */
.topnav {
  background: linear-gradient(35deg, #001E44 0%, #1E407C 100%) !important; /* Gradient background */
  border-image: linear-gradient(to right, #fd74cb, #faf7a2, #B8E4FA 100%) 1; /* Gradient border */
  border-bottom: 5px solid; /* Border thickness */
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  font-family: sans-serif;
  height: 100;
  align-items: flex-end;
}

.topnav a {
  color : #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  font-family: sans-serif;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* Add a color to the active/current link */
.topnav a.active {
  font-weight: bold;
  background-color: transparent;
  border-top: #A81A4C;
  color: black;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* Styles for the footer */
.footer {
  background-color: #c26178; /* Same pink background color as the navigation bar */
  color: white;
  text-align: center;
  padding: 14px 16px;
  position: sticky;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 20px;
}


footer a {
  color: #d9e6f7; /* Change to your desired color */
  text-decoration: none; /* Removes the underline */
  font-weight: bold; /* Makes the link stand out */
}

footer a:hover {
  color: #ddd; /* Lighter color on hover */
  text-decoration: underline; /* Underline on hover */
}

/* TABBED PAGES (Reference Networks and Single-cell Datasets) */


/* Style the tab */
.tab {
  display: flex;
  overflow: hidden;
  border-top: 2px solid white;
  background-color: #d9e6f7;
  width: 100%;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  font-family: sans-serif;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}


/* Create an active/current tablink class */
.tab button.active {
  background-color:  white;
  border-top: black
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 2px solid white;
  border-radius: 10px;
  font-family: sans-serif;
}

/* Style buttons */
.btn {
  background-color: #007BFF;
  border: none;
  color: white;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 5px;
  outline: none; /* Remove outline on focus */
}

/* Darker background on mouse-over */
.btn:hover {
  background-color: #0056b3;
}

/* Table formating for light and dark rows */
tr:nth-child(odd) {
  background-color: #d9e6f7; /* Light pink for odd rows */
  font-family: sans-serif;
}

tr:nth-child(even) {
  background-color: #ffffff; /* White for even rows */
  font-family: sans-serif;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  position: relative;
  font-family: sans-serif;
  width: 100%;
}

.icon-logo {
  max-width: 100px;
  height: auto;
  margin-right: 200px;
}

.title {
  color: #A81A4C;
  font-weight: bold;
  font-size: 2em;
  flex-grow: 1;
  font-family: sans-serif;
  text-align: center;
}

.PSH-logo {
  max-width: 300px;
  height: auto;
}

/* Apply Arial, Helvetica, sans-serif to all text */
* {
  font-family: sans-serif;
}

.container {
  position:relative;
  width: 50%;
  margin: 0 auto;
  text-align: center;
}

.container img {
  width: 100%;
  height: auto;
}

.container .btn {
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: #c26178;
  color: white;
  font-size: 16px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
}

.container .btn:hover {
  background-color: #943B5C;
}

.container .btn.download-icon1 {
  background: url('download_icon.svg') no-repeat center;
  background-size: contain;
  width: 200px;
  height: 100px;
  padding: 0;
  border: none;
  top: 51%;
  left: 54%;
}

.container .btn.download-icon2 {
  background: url('download_icon.svg') no-repeat center;
  background-size: contain;
  width: 200px;
  height: 100px;
  padding: 0;
  border: none;
  top: 51%;
  left: 83%;
}

.container .btn.download-icon3 {
  background: url('download_icon.svg') no-repeat center;
  background-size: contain;
  width: 200px;
  height: 100px;
  padding: 0;
  border: none;
  top: 80%;
  left: 54%;
}

.container .btn.download-icon4 {
  background: url('download_icon.svg') no-repeat center;
  background-size: contain;
  width: 200px;
  height: 100px;
  padding: 0;
  border: none;
  top: 80%;
  left: 83%;
}

.dropdown-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  border: 2px solid #ccc; /* Border color and width */
  padding: 20px; /* Padding inside the box */
  border-radius: 10px; /* Rounded corners */
  background-color: #d9e6f7; /* Background color */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for a 3D effect */
width: 90%;
margin: 0 auto;
}

.dropdown-wrapper-2 {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  border: 2px solid #ccc; /* Border color and width */
  padding: 20px; /* Padding inside the box */
  border-radius: 10px; /* Rounded corners */
  background-color: #e7f7b8; /* Background color */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for a 3D effect */
width: 90%;
margin: 0 auto;
}

.dropdown-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dropdown-container label {
  margin-bottom: 5px;
  font-weight: bold;
  font-size: large;
}

.search-box {
  border: 2px solid #ccc; /* Border color and width */
  padding: 20px; /* Padding inside the box */
  border-radius: 10px; /* Rounded corners */
  background-color: rgb(253, 209, 227); /* Background color */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for a 3D effect */
}

/* Bold the labels */
.search-box label {
  font-weight: bold;
  color: black;
  font-size: large;
}

/* Adjust the spacing between the search boxes */
.search-box div {
  margin-right: 50px; /* Adjust the margin as needed */
}

.search-box div:last-child {
  margin-right: 0; /* Remove the margin for the last item */
}

.results-table {
    width: 90%; /* Same width as the search box */
    margin: 0 auto; /* Center the table */
    border-collapse: separate;
}

.results-table th {
    padding: 5px; /* Padding inside each cell */
    text-align: center; /* Align text to the center */
    background-color: rgb(253, 209, 227); /* Background color for header cells */

}

.results-table td {
    padding: 0; /* Padding inside each cell */
    text-align: center; /* Align text to the center */
    line-height: 0;
}
.results-table tr {
  padding: 0; /* Set a fixed height for table rows */
}


.results-table tr:nth-child(even) {
    background-color: white; /* Background color for even rows */
}

.results-table tr:nth-child(odd) {
    background-color: rgb(253, 209, 227); /* Background color for even rows */
}

.results-table tr:hover {
    background-color: #ddd; /* Background color on hover */
}

/* Column-specific alignment */
/* Align the first column to the left */
.results-table td:nth-child(1) {
  text-align: center;
}

/* Align the second column to the center */
.results-table td:nth-child(2) {
  text-align: left;
}

/* Align the third column to the right */
.results-table td:nth-child(3) {
  text-align: left;
}

/* Align the fourth column to the left */
.results-table td:nth-child(4) {
  text-align: left;
}

/* Align the fifth column to the center */
.results-table td:nth-child(5) {
  text-align: left;
}

/* Align the sixth column to the right */
.results-table td:nth-child(6) {
  text-align: left;
}

/* Align the seventh column to the left */
.results-table td:nth-child(7) {
  text-align: right;
}

/* Align the eighth column to the center */
.results-table td:nth-child(8) {
  text-align: right;
}
/* Align the ninth column to the center */
.results-table td:nth-child(9) {
  text-align: center;
}

.results-table2 {
  width: 90%; /* Same width as the search box */
  margin: 0 auto; /* Center the table */
  border-collapse: separate;
}

.results-table2 th{
  padding: 10px; /* Padding inside each cell */
  text-align: center; /* Align text to the center */
}

.results-table tr{
  padding: 20px; /* Padding inside each cell */
  text-align: center; /* Align text to the center */
}

.results-table2 th {
  background-color: #d9e6f7; /* Background color for header cells */
}

.results-table2 tr:nth-child(even) {
  background-color: white; /* Background color for even rows */
}

.results-table2 tr:hover {
  background-color: #ddd; /* Background color on hover */
}

/* Column-specific alignment */
/* Align the first column to the left */
.results-table2 td:nth-child(1) {
text-align: center;
}

/* Align the second column to the center */
.results-table2 td:nth-child(2) {
text-align: left;
}

/* Align the third column to the right */
.results-table2 td:nth-child(3) {
text-align: left;
}

/* Align the fourth column to the left */
.results-table2 td:nth-child(4) {
text-align: left;
}

/* Align the fifth column to the center */
.results-table2 td:nth-child(5) {
text-align: left;
}

/* Align the sixth column to the right */
.results-table2 td:nth-child(6) {
text-align: right;
}

/* Align the seventh column to the left */
.results-table2 td:nth-child(7) {
text-align: right;
}

/* Align the eighth column to the center */
.results-table2 td:nth-child(8) {
text-align: right;
}
/* Align the ninth column to the center */
.results-table2 td:nth-child(9) {
text-align: right;
}
/* Align the ninth column to the center */
.results-table2 td:nth-child(10) {
  text-align: center;
  }

  .results-table3 {
    width: 90%; /* Same width as the search box */
    margin: 0 auto; /* Center the table */
    border-collapse: separate;
  }
  
  .results-table3 th, .results-table td {
    padding: 10px; /* Padding inside each cell */
    text-align: center; /* Align text to the center */
  }
  
  .results-table3 th {
    background-color: #e7f7b8; /* Background color for header cells */
  }
  
  .results-table3 tr:nth-child(even) {
    background-color: white; /* Background color for even rows */
  }
  
  .results-table3 tr:nth-child(odd) {
    background-color: #e7f7b8; /* Background color for even rows */
  }

  .results-table3 tr:hover {
    background-color: #ddd; /* Background color on hover */
  }
  
  /* Column-specific alignment */
  /* Align the first column to the left */
  .results-table3 td:nth-child(1) {
  text-align: center;
  }
  
  /* Align the second column to the center */
  .results-table3 td:nth-child(2) {
  text-align: left;
  }
  
  /* Align the third column to the right */
  .results-table3 td:nth-child(3) {
  text-align: left;
  }
  
  /* Align the fourth column to the left */
  .results-table3 td:nth-child(4) {
  text-align: left;
  }
  
  /* Align the fifth column to the center */
  .results-table3 td:nth-child(5) {
  text-align: left;
  }
  
  /* Align the sixth column to the right */
  .results-table3 td:nth-child(6) {
  text-align: right;
  }
  
  /* Align the seventh column to the left */
  .results-table3 td:nth-child(7) {
  text-align: right;
  }
  
  /* Align the eighth column to the center */
  .results-table3 td:nth-child(8) {
  text-align: center;
  }



.download-button {
  padding: 10px 20px; /* Adjust the padding as needed */
  color: black; /* Optional: Add text color */
  border: none; /* Optional: Remove border */
  width: fit-content;
  border-radius: 5px; /* Optional: Add rounded corners */
  cursor: pointer; /* Optional: Add a pointer cursor on hover */
  margin-left: 9%; /* Optional: Add margin between buttons */
  margin-top: 20px;
}

.download-button:hover {
  background-color: #ccc; /* Optional: Add a hover effect */
}

.download-button2 {
  padding: 10px 20px; /* Adjust the padding as needed */
  color: black; /* Optional: Add text color */
  border: none; /* Optional: Remove border */
  border-radius: 5px; /* Optional: Add rounded corners */
  cursor: pointer; /* Optional: Add a pointer cursor on hover */
  margin-left: 4%; /* Optional: Add margin between buttons */
  margin-top: 50px;
}

.download-button2:hover {
  background-color: #ccc; /* Optional: Add a hover effect */
}

td {
  line-height: 2;
}

.text-container {
  padding: 0 20%;
}

span.blockspam {
  display: none;
}

.cell-types-box {
  max-width: 26%; /* Adjust width as needed to make the box smaller */
  margin: 0 0 0px auto; /* Move it to the right side and add spacing at the bottom */
  margin-bottom: 0;
  background-color: hsl(210, 17%, 98%);
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  text-align: left;
  position: relative; /* Enable positioning */
  top: -100px; /* Adjust as needed to encroach on the container above */
  bottom: 100px; /* Adjust as needed to encroach on the container above */
  z-index: 1; /* Ensure it appears above other content */
}

.cell-types-box h2 {
  font-size: 16px;
  margin-bottom: 10px;
}

.cell-types-box ul {
  list-style-type: none;
  padding-left: 0;
}

.cell-types-box ul li {
  margin-bottom: 5px;
}
a.ai-style-change-1 {
  margin-left: 0; /* Remove any existing margin-left */
  margin-right: auto; /* Push the logo to the left */
 
}
.nav-logo {
  width: auto;
  height: 58.7604px;
 
}
.topnav a:not(.ai-style-change-1).active {
  background-color: white; /* This will NOT affect the logo */
}

.form-container {
  max-width: 600px;
  margin: 40px 0 40px 20%;
  padding: 30px 40px;
  background-color: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  font-family: Arial, sans-serif;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 25px;
  font-weight: 600;
}

.form-container label {
  font-weight: 600;
  display: block;
}

.form-container input,
.form-container select {
  width: 100%;
  padding: 8px 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.form-container input:focus,
.form-container select:focus {
  outline: none;
  border-color: #4a90e2;
}

.form-container button {
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  background-color: #2c5aa0;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.form-container button:hover {
  background-color: #1f4278;
}
