body {
  // background: #F8F8F8;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: "Palatino";
  // font-family: "Computer Modern Sans";
  // font-family: "Computer Modern Sans Serif";
}

#main {
  margin-top: 0.5in;
  width: 750px;
  align-self: center;
}

#name {
  font-weight: normal;
  margin-bottom: 0.1cm;
  // color: #527bbd;
}

#bio {
  margin-left: 0.1cm;
  text-align: justify;
  line-height: 1.5em;
}

.heading {
  font-weight: normal;
  margin-top: 0.7cm;
  margin-bottom: 0.3cm;
}

a:link {
  color: #527bbd;
}

.title {
  margin-left: 0.1cm;
  font-weight: normal;
  font-size: 1em;
  margin-bottom: 0.2cm;
}

.authors {
  margin-left: 0.5cm;
  margin-bottom: 0.2cm;
}

.venue {
  margin-left: 0.5cm;
  margin-bottom: 0.2cm;
}

.infos {
  margin-left: 0.5cm;
  margin-bottom: 0.2cm;
}

.detail {
  margin-left: 0.1cm;
  margin-top: 0.2cm;
}

.two-col {
  display: flex;
  flex-direction: row;
}

.col1 {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.col2 {
  display: flex;
  flex-direction: column;
  flex-grow: 0;
}

#headshot {
  height: 7cm;
}

#copyright {
  color: lightgray;
  align-self: center;
  margin-bottom: 20px;
}


#sheet-pdf, #graph-pdf {
  height: 11in;
  margin: 0.1in auto;
  border: none;
}

#graph-pdf {
  width: 8.5in;
}

#sheet-pdf {
  width: 17in;
}

#search-form {
  display: flex;
  flex-direction: column;
}

.search-results {
  display: flex;
  flex-direction:column
}

.search-result {
  cursor:pointer;
  border: 1px solid gray;
  padding 5px;
  padding: 12px;
  margin:3px;
  font-family: "Computer Modern Serif";
  text-align: left;
  font-size: 1em;
  background: none;
}

.header {
  background: white;
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  margin: 0;
  border-bottom: 1px solid gray;
  border-top: 1px solid gray;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.header > .left,
.header > .center,
.header > .right {
  display: flex;
  flex-direction:row;
  font-size: 1em;
}

.header > .left {
  align-items: center;
}

.header > .center {
  justify-self: center;
}

.header > .center {
  align-items: center;
}

#header-trademark-and-title {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#header-trademark {
  /* width: 0.3in; */
  height: 0.3in;
  cursor: pointer;
  margin-right: 0.1in;
}

#header-title {
  font-family: "Computer Modern Serif";
  font-size: 0.2in;
}

#header-search {
  border: none;
  background: none;
  font-family: "Computer Modern Serif";
  font-size: 0.2in;
  text-align: left;
  padding: 0.2in;
  margin: 0 0.5in;
  display: flex;
  justify-content: space-between;
}


.header > .center > form > input {
  max-width: 9in;
  min-width: 5in;
  border: 1px solid gray;
  border-radius: 3px;
  padding: 5px;
  margin-top: 0.07in;
  font-family: "Computer Modern Sans";
}

.ss {
  font-family: "Computer Modern Sans";
  color: red;
}


.subheader {
  display: flex;
  flex-direction: row;
  // justify-content: center;
  background: white;
  flex-wrap: wrap;
  border-bottom: 1px solid gray;
  padding: 0.1in;
  align-items: center;
}

.no-border-top {
  border-top: none;
}

.no-border-bottom {
  border-bottom: none;
}

.need {
  margin: 0.05in 0.05in;
  align-items: center;
  border: 1px solid gray;
  color: black;
  background: none;
  border-radius: 3px;
  height: 0.33in;
  font-family: "Computer Modern Sans";
  font-size: 0.17in;
  padding: 0.05in 0.1in;
  vertical-align: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.label {
  cursor: default;
  padding: 0.05in;
  margin: 0.05in 0.05in;
  color: gray;
  font-weight: bold;
  font-family: "Computer Modern Sans";
  height: 0.33in;
  font-size: 0.17in;
  vertical-align: center;
  border: none;
}

.listing {
  align-items: center;
  background: none;
  border: 1px solid lightgray;
  cursor: pointer;
  display: flex;
  font-family: "Computer Modern Sans";
  font-size: 0.2in;
  justify-content: space-between;
  margin: 0 0.5in;
  padding: 0.2in;
  text-align: left;
}

.no-border-bottom {
  border-bottom: none;
}

.card {
  background: white;
  border: 1px solid gray;
  display: flex;
  flex-direction: column;
}

#main-card {
  border-top: none;
  width: 7in;
  align-self: center;
  min-height: 4in;
}

#search-form {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#search-input {
  width: 100%;
  margin: 0 0.5in;
  border-radius: 0;
}

.caret {
  display: none;
}

#sheet-card {
  margin: 0;
  border-top: none;
  align-self: center;
  display: none;
}

.sheet-listing {
  align-items: center;
  background: none;
  display: flex;
  font-size: 0.2in;
  justify-content: space-between;
  text-align: left;
}

h1.sheet {
  max-width 5in;
  font-family: "Computer Modern Serif";
  font-size: 0.35in;
  margin: 0.15in 0.5in;
}

h2.sheet {
  max-width 5in;
  font-family: "Computer Modern Serif";
  font-size: 0.3in;
  margin: 0.1in 0.5in;
}

p.sheet {
  max-width 5in;
  font-family: "Computer Modern Serif";
  margin: 0;
  font-size: 0.25in;
  line-height: 0.4in;
  margin: 0 0.5in;
  text-align: justify;
  text-indent: 0.5in;
}

.katex {
  font-size: 0.25in !important;
}

@media (max-device-width: 800px) {
  body {
  }

  #main-card {
    width: 100%;
  }

  .left {
    flex-direction: column;
  }

  #trademark {
    width: 0.8in;
    align-self: center;
  }

  #header-trademark {
    width: 0.8in;
    height: 0.8in;
    margin-right: 0.2in;
  }

  #header-title {
    font-size: 0.7in;
  }

  .listing {
    margin: 0;
    font-size: 0.6in;
    padding: 0.5in;
  }

  #search-input {
    margin: 0;
  }


  #header-search {
    margin: 0;
    font-size: 0.6em;
    padding: 0.5in;
  }

  .need {
    font-size: 0.7in;
    height: auto;
    width: 100%;
    margin: 0;
    padding: 0.3in;
    text-align: left;
    padding-left: 0.6in;
    padding: 0.5in;
  }

  .label {
    font-size: 0.6in;
    padding-left: 0.2in;
    border: none;
    margin-top: 0.2in;
  }

  .result-detail {
    margin-left: 0.3in;
    font-size: 0.4in;
  }

  .caret {
    display: block;
  }

  #sheet-pdf, #graph-pdf {
    display: none;
  }

  h1.sheet {
    font-size: 0.9in;
    margin: 0.25in 0.5in;
  }

  h2.sheet {
    font-size: 0.8in;
    margin: 0.1in 0.5in;
  }

  p.sheet {
    text-indent: 0.5in;
    font-size: 0.65in;
    line-height: 0.9in;
    margin: 0 0.5in;
  }

  .katex {
    font-size: 0.6in !important;
  }
}

.no-border {
  border: none;
}

#fiat-icon {
  width: 0.5in;
  align-self: center;
}

#footer {
  border-top: 1px solid lightgray;
  color: gray;
 // width: 90%;
  margin: 1in auto 0 auto;
  display: flex;
  flex-direction: column;
}

.footer-cols {
  display: flex;
  flex-direction: row;
}

.footer-col {
  margin-top: 0.5cm;
  margin-left: 1cm;
  display: flex;
  flex-direction: column;
}

.footer-col-row {
  margin-bottom: 0.2cm;
}

hr {
  color: lightgray;
}
