body {
  max-width: 800px;
  margin: auto;
  padding-left: 10px; /* Add some padding */
  line-height: 1.5;
}
.page-container {
  margin: 50px auto;
  display: flex;
  max-width: 900px;
}

/* header and footer areas */
.menu { padding: 0; }
.menu li { display: block; }
.article-meta, .menu a {
  text-decoration: none;
  background: #eee;
  padding: 5px;
  border-radius: 5px;
}
.menu, .article-meta, footer { text-align: right; }
.title { font-size: 1.1em; }
footer a { text-decoration: none; }
hr {
  color: #ddd;
}

/* container and main content */

.body {
  margin-left: 170px; /* Space for the sidebar + some margin */
  padding: 10px; /* Add some padding */
}

/* The sidebar menu */
.sidebar {
  display: flex;
  position: fixed;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 100px;
  width: 160px;
  font-size:18pt;
}


/*height: 100%; /* Full-height: remove this if you want "auto" height 
width: 200px; /* Set the width of the sidebar 
position: fixed; /* Fixed Sidebar (stay in place on scroll) */
/* z-index: 1; Stay on top 
top: 0px; /* Stay at the top 
left: 120px;
/* background-color: #111; Black 
overflow-x: hidden; /* Disable horizontal scroll 
padding-top: 20px;*/

/* .sidenav {
  width: 20px;
  position: fixed;
  z-index: 1;
  top: 20px;
  left: 10px;
  background: #eee;
  overflow-x: hidden;
  padding: 8px 0;
} */

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/* styling for my profile picture */
.profile {
  margin-top: 1.25em;
  margin-right: 1em;
  margin-left: 1em;
  margin-bottom: 2em;
  max-width:30%;
  min-width:40px;
  float: right;
  border-radius: 3%;
}





/* code */
pre {
  border: 1px solid #ddd;
  box-shadow: 5px 5px 5px #eee;
  padding: 1em;
  overflow-x: auto;
}
code { background: #f9f9f9; }
pre code { background: none; }

/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
blockquote {
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
}

table {
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee; }

.hbar {
  margin-left: auto;
  margin-right: auto;
  border-bottom: solid;
  border-bottom-width: 2px;
  padding-top: 0.25em;
}


/* Start News and Pubs */
.paper {
  padding-top: 1em;
}

.paper-flex {
  display: flex;
}

#news {
  padding-top: 0.5em;
}

.news-item {
  font-size: smaller;
  display: flex;
  padding-top: 0.5em;
}

.paper-conference {
  float: left;
  width: 18%;
  text-decoration: none;
  min-width: min-content;
  padding-right: 2%;
}

.news-left {
  float: left;
  width: 10%;
  text-decoration: none;
  min-width: min-content;
  padding-right: 2%;
}

.paper-conference {
  align-items: center;
  font-size: 12pt;
}

.paper-conference a {
  text-decoration: none;
  background: #eee;
  padding: 5px;
  border-radius: 5px;
  font-weight: bold;
  color: #eef4eb;
  background-color: #2e4aa3;
}

/* .news-left span {
  text-decoration: none;
  background: #eee;
  padding: 5px;
  border-radius: 5px;
  display: inline-flex;
} */

.paper-details {
  width: calc(100% - (15% + 25px * 4));
}

.news-right {
  width: calc(100% - 12%);
}

.paper-icons {
  float: right;
  align-items: center;
  display: flex;
  width: calc(25px * 4);
}

.paper-icon, .paper-icon-dark {
  width: 20px;
  padding-left: 5px;
}

.paper-title {
  font-style: italic;
}

/* End News and Pubs */

/* Extra stuff for pubs */
.paper-flex:before,
.paper-flex:after,
.paper-flex:after {
clear: both;
}

.smallscreen {
  display: none;
}
.bigscreen {
  display: revert;
}

/* Special Stuff For Small Screens */
@media screen and (max-width: 825px) {
  .bigscreen {
      display: none;
  }
  .smallscreen {
      display: revert;
  }

  .paper {
      display: list-item;
      list-style-type: circle;
      margin-left: 1em;
      width: calc(100% - 1em);
  }

  .paper-icon, .paper-icon-dark {
      display: None;
  }
  
  .paper-flex {
      flex-flow: wrap;
  }

  .paper-conference {
      float: none;
      width: fit-content;
      padding-right: 0.5em;
      font-size: smaller;
  }

  .paper-details {
      float: none;
      width: 100%;
      padding: 0px;
  }

  .paper-icons {
      font-size: smaller;
      float: none;
      width: fit-content;
      display: unset;
  }

  .paper-conference { order: 1; }
  .paper-icons { order: 2;  }
  .paper-details { order: 3; }
  
  a:after {
      content: attr(alt);
  }

  .slider { 
      opacity: 0;
      width: 0;
      height: 0;
  }

  .headshot {
      padding-bottom: 1.25em;
      width: 100%;
      max-width: 100%;
  }
}

/* Mode switch */
input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  top: 0.6em;
  left: 4px;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  width: 30px;
  height: 15px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: dimgray;
}

input:focus + .slider {
  box-shadow: 0 0 1px dimgray;
}

input:checked + .slider:before {
  -webkit-transform: translateX(12px);
  -ms-transform: translateX(12px);
  transform: translateX(12px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 15px;
}

.slider.round:before {
  border-radius: 50%;
}

.section-heading {
	margin: 0;
	padding: 0;
	border: 0;
}
/* HTML5 display-role reset for older browsers */
