body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
}

#menu {
  position: fixed;
  right: 20px;
  top: 30px;
  text-align: left;
  width: 150px;
  font-family: "Myriad Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.title {
  font-size: 13px;
  margin-bottom: 20px;
}

#menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}


#menu li a {
  display: inline-block;
  color: #0864c7;
}

#left {
  height: 1px;
  float: left;
  display: block;
  min-width: 0;
  overflow: hidden;
  width: 200px;
  margin: 0;
  padding: 0;
}

#content {
  margin-top: 15px;
  margin-bottom: 30px;
  margin-left: calc(20% - 100px);
  float: left;
  width: 500px;
  
}

#content h1, #content h2, #content h3 {
  font-family: "Myriad Pro", "Helvetica Neue", Helvetica;

}

#content h2 {
  margin-top: 1.25em;
  font-size: 1.25em;
}

#content .byline, #content .byline a, #content .note {
  font-size: 10px;
  color: #aaa;
}

#content p, #content ul, #content ol {
  color: #333;
  line-height: 18px;
}

#content sup.note {
  display: inline-block;
  margin-top: -5px;
}

#content p.notop {
  margin-top: 0;
}

#content .thanks {
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid #eee;
  margin-bottom: 4em;
  font-size: smaller;
  color: #777;
}

#content .thanks a {
  color: #777;
}

#content li {
  margin-bottom: 0.7em;
}


#content img {
  width: 620px;
  margin-bottom: 10px;
}

.post + .post {
  margin-top: 50px;
}

sup, sub {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
}
sub { 
  top: 0.4em; 
}

.article {
  font-size: 1.1em;
}

/* Center-align text in columns 2-4 for non-header rows */
.article_table td:nth-child(2), 
.article_table td:nth-child(3), 
.article_table td:nth-child(4) {
    text-align: center;
}



/* Add padding to the right of the first column in all rows */
.article_table td {
  padding-left: 10px;  
  padding-right: 10px; /* Adjust as needed */
}


.bold_row td {
  font-weight: bold;
}

.table-gap td {
  height: 15px; /* Set the height for your gap */
  border: none; /* Optional: remove border for the gap row */
}


@media (max-width: 600px) {
  body {
    padding: 0 10px; /* Add padding on both sides */
    font-size: 1em;
  }
  
  #content {
    width: 95%; /* Instead of a fixed width, let it adjust automatically */
    margin: 15px 0; /* Adjust margin as needed */
    padding: 0 10px; /* Add some padding */

  }

  body, #content p, #content li {
    line-height: 1.3;  /* line-height for smaller screens */
  }
  

  #content img {
    width: 95vw;
  }
  
  #menu {
    position: static; /* or 'relative' if you prefer */
    right: auto; /* clear the 'right' value */
    width: 100%; /* make the menu full width */
    text-align: center; /* center the text */
  }
  #menu .title {
    font-size: 1.25em;
  }  
}  

.equation {
  font-family: 'Times New Roman', Times, serif; /* Classic font for equations */
  font-size: 1.2em; /* Slightly larger than normal text */
  line-height: 1.6; /* To ensure proper spacing between lines in multi-line equations */
  text-align: center; /* Center-align for standalone equations */
  margin-top: 10px; 
  margin-bottom: 20px; /* Adds some space around the equation */
  color: #333; /* Dark color for better readability */
}

#first_line {
  text-align: left;
  margin-left: 30px;
}


#subsequent_line {
  text-align: left;
  margin-left: 95px;
}

.comparison_table {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
  width: 80%; /* Adjust as needed */
}

.comparison_table th, .comparison_table td {
  border: 1px solid black;
  width: 33%; /* Adjust as needed for individual columns */
  padding: 5px;
  text-align: center;
}

#top_left_cell {
  border: none;
}

.dot {
  height: 20px;
  width: 20px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

.eligible_dot {
  background-color: #90ee90;
}

.false_negative {
  background-color: black;
}

.ineligible_dot {
  background-color: #ffb09c;
}

.half_ineligible {
  background-image: linear-gradient(to right, #ffb09c 50%, #bbb 50%);
}

.false_positive {
  background-color: red;
}

.false_positive_half {
  background-image: linear-gradient(to right, red 50%, white 50%);
}