/*
Theme colors:

red: #E35F5F
orange: #DF9041
green: #AEBD57
yellow: #F4D968
blue: #57BCE5

*/  
.references-list {
  text-align: left;
  list-style-type: none; /* Remove default list styles */
  counter-reset: citation-counter; /* Reset the counter for ordered list */
}
.references-item {
  margin-bottom: 10px;
  position: relative;
}
.references-item::before {
  content: counter(citation-counter) ". "; /* Set the counter content */
  counter-increment: citation-counter; /* Increment the counter for each list item */
  font-weight: bold; /* Bold the list item number */
  position: absolute;
  left: -20px; /* Adjust position to align with list items */
}


.std-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content:center;
}

  body {
    width: 100vw;
    margin: 0px;
    background-color: #fafbfd;
    font-family: monospace;
  }
  
  .std-red {
    border: 3px solid  #E35F5F;
  }
  .std-green {
    border: 3px solid  #AEBD57;
  }
  .std-plum {
    border: 3px solid #c8a4c6;
  }
  .std-code {
    background-color: #f3eeee; /* Background color */
    border: 1px solid #bcb7b7; /* Border */
    padding: 1px 2px; /* Padding */
    font-family: monospace; /* Monospaced font */
    white-space: pre-wrap; /* Preserve line breaks */
    overflow-x: auto; /* Allow horizontal scrolling if necessary */
    border-radius: 2px;
    font-size: 9pt;
}


  p {
    text-align: left;
    text-indent: 20px;
  }
  .main-header {
    color: #fafbfd;
    background-color: #2b2d2e;
    font-size: 14pt;
    padding: 10px 10px;
    border-top: 3px solid #a80925;
    border-left: 3px solid #a80925;
    border-right: 3px solid #a80925;
    display: flex; /* Use flexbox */
    justify-content: center; /* Center items horizontally */
    align-items: center; /* Center items vertically */
    
    justify-content:space-between; /* Center items horizontally */
  }
  .subheader {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #a80925;
    color: #fafbfd;
    padding: 3px;
    font-size: 8pt;
  }
  .main-footer {
    color: #fafbfd;
    background-color: #2b2d2e;
    font-size: 8pt;
    padding: 4px;
    border-top: 3px solid #a80925
  }
  .holy-grail {
    min-height: 100vh;
    min-width: 100vw;
    text-align: center;
  }
  
  .holy-grail,
  .holy-grail-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    /* width: 100vw; */
  }
  
  .holy-grail-content {
    flex: 1 1 auto;
    text-align: center;
    padding: 0px 20px;
  }
  
  .holy-grail-sidebar-right {
    order: 1;
    background-color: #525457;
    max-width: 4%;
  }
  
  .holy-grail-sidebar-left {
    order: -1;
    background-color: #525457;
    max-width: 4%;
  }
  .std-shadow, .std-image{
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.7); /* Apply box shadow */
    border-radius: 2px; /* Add border radius for rounded corners */
    /* blue theme color: #57BCE5 */
  }
  .std-header {
    text-align: left;
  }
  hr {
    height: 1px;
    background-color: #2b2d2e;
    border: none;
    margin: 14px 0;
  }
  figure {
    margin: 0;
    padding: 0;
    text-align: center;
  }

  figcaption {
      font-style: italic;
      font-size: 12px;
      color: #464545;
  }


  .std-crop {
    width: 100vw;
    overflow: hidden;
}

  .std-crop img {
      width: 100vw;
      height: 20vh;
      margin-left: -130px;
      margin-right: -130px;
  }

  /* desktop default that applies when screenwidth is at least min-width value */
  @media (min-width: 768px) {
    .holy-grail-body {
     flex-direction: row;
    }
  
    .hg-sidebar {
      flex: 0 0 260px;
    }
  }
  
  /* triggers when screen width is less than max-width value */
  @media (max-width: 768px) {
    .holy-grail-body {
     flex-direction: row;
    }
  
    .holy-grail-sidebar-left, .holy-grail-sidebar-right {
      flex: 0 0 260px;
      max-width: 0%;
    }

  }

  #main-svg {
    margin-top: -6px;
    margin-left: -6px;
    padding: 6px 6px;
    min-height: 60px;
    height: 60px;
    fill: #fafbfd;
    position: relative;
    float: left;
}
