@font-face {
  font-family: "STIX Two Text";
  src: url('static/STIXTwoText-VariableFont_wght.ttf') format('truetype');
}

* {
  margin: 0;
  padding: 0;
}

.wrap {
  display: inline-block;
}

body,
td,
th,
tr,
p {
  font-family: "STIX Two Text", serif;
  font-weight: 400;
  font-size: 18px;
  color: #333;
}

a {
  color: #6E93DC;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #fc766a;
  text-decoration: underline;
}

.topblock {
  width: 100%;
  max-width: 800px;
  border: 0px;
  border-spacing: 0px;
  border-collapse: separate;
  margin-right: auto;
  margin-left: auto;
  margin-top: 40px;
}

.topblock .bigicon {
  width: 60px;
  display: inline-block;
  height: auto;
  padding-top: 30px;
}

.bigicon img {
  height: 40px;
}

.portrait {
  width: 200px;
}

.portrait img {
  display: block;
  width: 100%;
}

.contact {
  padding: 0px 0px 0px 40px;
  vertical-align: middle;
  text-align: left;
  background-image: url('static/images/background.jpg');
  background-size: 100% 100%;
}

.topblock .contentblock {
  width: 100%;
  border: 0px;
  border-spacing: 0px;
  border-collapse: separate;
  margin-right: auto;
  margin-left: auto;
  padding: 15px 0px 20px 0px;
}

.topblock .titleblock {
  width: "100%";
  border-spacing: 0;
  padding: 10px 0px 0px 0px;
}

.titleblock h2 {
  font-weight: bold;
}

.contentblock ul {
  padding-left: 20px;
}

strong {
  font-family: "STIX Two Text", serif;
  font-size: 18px;
}

h1 {
  margin: 0;
  font-weight: bold;
  font-family: "STIX Two Text", serif;
}

h2 {
  margin: 0;
  font-weight: normal;
  font-family: "STIX Two Text", serif;
  font-size: 24px;
}

.schoolname {
  font-family: "STIX Two Text", serif;
  font-size: 22px;
  font-weight: bolder;
}

.blankspace {
  height: 20px;
}

.papertitle {
  font-family: "STIX Two Text", serif;
  font-size: 18px;
  font-weight: bold;
}

.paper_tb {
  padding: 0px 15px 0px 0px;
  width: 35%;
  vertical-align: top;
}

.paper_tb video {
  border-radius: 10px;
  border: 1px solid black;
  overflow: hidden;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.35);
}

.paper_tb img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #1F77B4;
  overflow: hidden;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.35);
}

.paper_conf {
  font-style: italic;
}

.paper_oral {
  color: red;
}

.paper_details {
  padding: 0px 0px 0px 15px;
  width: 65%;
  vertical-align: top;
  line-height: 22px;
}

.paper-buttons {
  margin-top: 6px;
}

.paper-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  margin-right: 8px;
  border: 1px solid #6E93DC;
  border-radius: 4px;
  background-color: white;
  color: #6E93DC;
  font-size: 14px;
  transition: all 0.2s ease;
}

.paper-btn:hover {
  background-color: #6E93DC;
  color: white;
  text-decoration: none;
}

.paper-btn img {
  height: 16px;
  width: 16px;
  margin-right: 4px;
}

.paper-btn:hover img {
  filter: brightness(0) invert(1);
}

@media (max-width: 675px) {
  .paper_entry td {
    display: block;
    float: left;
  }

  .paper_tb {
    padding: 15px 20px 0px 20px;
    width: 90%;
  }

  .paper_details {
    padding: 15px 20px 15px 20px;
    width: 90%;
  }
}

.institution_logo {
  padding: 0px 15px 0px 0px;
  width: 130px;
  vertical-align: middle;
}

.institution_logo img {
  width: 100%;
  display: block;
  margin: 0
}

.institution_details {
  padding: 0px 0px 0px 15px;
  vertical-align: middle;
  text-align: left;
}

.name {
  padding-top: 20px;
  margin: 0;
  font-family: "STIX Two Text", serif;
  font-size: 22px;
  font-style: normal;
  font-weight: bold;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

/**
  * Nav Styles
  */
.nav {
  position: relative;
  margin: 0;
  height: 50px;
  /* text-align: center; */
  border-bottom: #fc766a solid 3px;
  flex-direction: row;
  background-color: #fafafa;
  /* border: #000 solid 1px; */
}

.nav .titletext {
  margin-left: 20px;
  line-height: 50px;
  font-size: 18px;
  font-weight: bold;
}

.nav .labellist {
  float: right;
  height: 50px;
  flex-direction: row;
}

.labellist .label {
  display: inline-block;
  height: 100%;
  margin: 0px;
}

.label a {
  padding: 16px 16px;
  text-decoration: none;
  color: #666;
  line-height: 50px;
}

.label a:hover {
  background-color: #fc766a;
  /* border-radius: 8px; */
  color: #fff;
}

@media screen and (max-width: 600px) {
  .nav {
    position: relative;
    height: 50px;
    display: flex;
  }

  .nav .labellist {
    display: none;
  }

  .nav .titletext {
    margin: 0 auto;
    width: 200px;
    text-align: center;
  }
}

.splitline {
  border: 0;
  padding-top: 1px;
  margin: 0;
  background: #d0d0d5;
}

/**
  * Footer Styles
  */
.footer {
  background-color: #fafafa;
  margin: auto;
  text-align: right;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #4a4a4a;
  border-top: 1px solid #fc766a;
  /* Add top border */
}

.footer p {
  width: 800px;
}

/* bibtex style */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 0px;
  border: 1px solid #6E93DC;
  box-shadow: 0 0 10px rgba(110, 147, 220, 0.5);
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  margin-right: 8px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 20px;
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 4px;
  font-family: "STIX Two Text", serif;
}