/* Variables expressed inline since plain CSS — palette mirrors the original Lagrange theme. */

/*
  Base
*/
body {
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-size: 18px;
  color: #505050;
  line-height: 1.75rem;
}

@media (max-width: 30em) {
  body { font-size: 14px; line-height: 1.5rem; }
  body h1 { font-size: 1.5rem; }
}

h1 { font-size: 2rem; }
h1 a { text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Quattrocento Sans", sans-serif;
  color: #333;
}

a {
  text-decoration: underline;
  color: #333;
}

a:hover {
  color: black;
  border-bottom: none;
}

img {
  max-width: 100%;
  height: auto;
}

blockquote {
  margin: 10px 20px 10px;
  padding: 0px 15px;
  border-left: 0.25em solid #ccc;
  color: #999;
  line-height: 1.5;
}

hr {
  border-top: 2px dashed #117ACA;
  border-bottom: 0px;
}

/*
  Tables
*/
table {
  border-collapse: collapse;
  margin-bottom: 30px;
  width: 100%;
}
table:not(.table-borderless), th, td {
  border: 1px solid black;
}
th, td {
  padding: 15px;
  text-align: left;
}
.table-borderless table,
.table-borderless th,
.table-borderless td {
  border: none;
}

/*
  Publications
*/
.feature-tile {
  display: inline-flex;
  flex: 1;
  flex-direction: row;
  overflow: hidden;
  margin: 0% 0% 5% 0%;
  width: 100%;
}

.feature-tile-image-container {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  height: 100%;
  flex-basis: 25%;
}

.feature-tile-image-container img {
  flex-shrink: 0;
  width: 95%;
  border: 2px solid #117ACA;
  border-radius: 5px;
}

.feature-tile-image-label {
  padding: 0% 0% 0% 2%;
  flex-basis: 75%;
}

.feature-tile-image-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 2px;
}

.feature-tile-image-subtitle {
  font-size: 16px;
}

.paper-button{
  border: 1px solid #117ACA;
  border-radius: 5px;
  background-color: inherit;
  padding: 0em 1em 0em 1em;
  font-size: inherit;
  display: inline;
  text-decoration: none;
}

.paper-button:hover {
  background-color: #117ACA;
  color: #FFFFFF;
}

.no-margin-p {
  margin: 0px;
}

.feature-tile-image-subtitle p.conference {
  background-color: inherit;
  display: inline-block;
  font-weight: bold;
  color: #117ACA;
  text-decoration: underline dotted;
}

span.rev {
  /* from denero.org */
  unicode-bidi: bidi-override;
  direction: rtl;
}

/* Resume Columns */
.date-content-double-column {
  display: inline-flex;
  flex: 1;
  flex-direction: row;
  overflow: hidden;
  margin: 0% 0% 0% 0%;
  width: 100%;
}

.date-content-left-col {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  height: 100%;
  flex-basis: 20%;
}

.left-margin-indent {
  padding: 0% 0% 0% 2%;
  flex-basis: 18%;
}

.date-content-right-col {
  padding: 0% 0% 0% 2%;
  flex-basis: 80%;
}

.course-heading {
  font-weight: bold;
  text-decoration: underline;
}

.resume-item {
  padding: 0em 0em 1em 0em;
}

.company-logo {
  width: 100px;
  padding: 0.35em 0em 0em 0em;
}

/*
  Code
*/
code, pre {
  font-family: "Source Code Pro", monospace;
}
code {
  padding: .25em .5em;
  font-size: .8rem;
  background-color: #f5f5f5;
  border-radius: 3px;
}
pre {
  display: block;
  margin-top: 0;
  margin-bottom: 1rem;
  padding: 1rem;
  font-size: .8rem;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-all;
  word-wrap: break-word;
  background-color: #f5f5f5;
}
pre code {
  padding: 0;
  font-size: 100%;
  color: inherit;
  background-color: transparent;
}

/*
  Site container
*/
.container {
  margin-left: auto;
  margin-right: auto;
  width: 1015px;
}

.content-container { margin-bottom: 2rem; }

@media (max-width: 1075px) {
  .container { width: 90vw; }
}

/*
  Header
*/
.header {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  font-family: "Quattrocento Sans", sans-serif;
}

.header a:hover { color: #002654; }

.header-title a {
  font-size: 2rem;
  text-decoration: none;
  color: #505050;
}

.header-subtitle { color: #999; }

/*
  Menu
*/
.menu {
  padding-top: 0.5rem;
  display: block;
}
.menu-content { float: left; }
.menu-content a {
  color: #117ACA;
  font-size: 1rem;
  padding-right: 10px;
}

.social-icons { float: right; }
.social-icons a {
  color: #999;
  font-size: 1rem;
}

@media (max-width: 30em) {
  .social-icons { float: left; padding-top: 0px; }
  .menu-content { margin-bottom: 5px; }
}

/*
  Footer
*/
.footer {
  color: #999;
  text-align: center;
  margin: 2rem;
  clear: both;
}
.footer a {
  color: #999;
  padding: 10px;
  text-decoration: none;
}
.footer-description a {
  color: #999;
  padding: 0px;
  text-decoration: none;
}
.footer a:hover { color: #333; }
.footer-description {
  display: block;
  margin-top: 3px;
  margin-bottom: 1rem;
  color: #999;
  font-family: "Quattrocento Sans", sans-serif;
  font-size: 0.8rem;
}

/*
  Social media icons
*/
.sharing-icons a { padding-right: 10px; }

.fa-envelope    { padding: 5px; transition: 0.5s; }
.fa-envelope:hover    { color: #f39c12; }
.fa-twitter     { padding: 5px; transition: 0.5s; }
.fa-twitter:hover     { color: #00aced; }
.fa-instagram   { padding: 5px; transition: 0.5s; }
.fa-instagram:hover   { color: #375989; }
.fa-github      { padding: 5px; transition: 0.5s; }
.fa-github:hover      { color: #343434; }
.fa-graduation-cap  { padding: 5px; transition: 0.5s; }
.fa-graduation-cap:hover  { color: #75A5F9; }
.fa-linkedin    { padding: 5px; transition: 0.5s; }
.fa-linkedin:hover    { color: #0073a4; }
.fa-facebook    { padding: 5px; transition: 0.5s; }
.fa-facebook:hover    { color: #3d5b99; }
.fa-pinterest   { padding: 5px; transition: 0.5s; }
.fa-pinterest:hover   { color: #bd081c; }
.fa-medium      { padding: 5px; transition: 0.5s; }
.fa-medium:hover      { color: #00AB6C; }
.fa-codepen     { padding: 5px; transition: 0.5s; }
.fa-codepen:hover     { color: black; }
.fa-rss-square  { padding: 5px; transition: 0.5s; }
.fa-rss-square:hover  { color: #ff6600; }
