/**
* CSS
* 
* @version 2.0
* @author Vaska 
*
* There are also some obscure rules in base.css
*/
:root {
  --color: rgba(0, 0, 0, 1);
  --color5: rgba(0, 0, 0, 0.5);
  --bg: rgba(255, 255, 255, 1);
  --margin: 36px;
  --index-width: 330px;
  --margin900px: 18px;
  --bold: 500; /* 500, 600 or bold */
}

html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-y: scroll;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-size: 16px;
  font-family: "Helvetica Neue", Arial, Helvetica, Verdana, sans-serif;
  background: var(--bg);
  color: var(--color);
  line-height: 1.4em;
}

/* link scheme */
/* you can customize links further down the page too */
a:link {
  text-decoration: none;
  color: var(--color);
}
a:visited {
  text-decoration: none;
  color: var(--color5);
}
a:hover {
  text-decoration: none;
}
a:active {
  text-decoration: none;
}
a img {
  border: none;
  opacity: 1;
}

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

/* general styles */
small {
  font-size: 9px;
}
code {
  font-family: monospace;
}
blockquote {
  padding-left: 9px;
}
sup {
  font-weight: var(--bold);
  font-size: 12px;
  line-height: 12px;
  vertical-align: top;
}
p {
  max-width: 800px;
}

/* headings */
h1 {
  margin-bottom: 3em;
  font-weight: var(--bold);
}
h1 a {
  color: var(--color);
}
h2 {
  margin-bottom: 3em;
  font-weight: var(--bold);
}
h3 {
  margin-bottom: 0;
}
h4 {
  margin-bottom: 0;
}

ul#social {
  display: flex;
}
ul#social li {
  margin-right: 0.5rem;
}
ul#social li a svg {
  width: 24px;
  height: 24px;
}

/* paragraph width */
#index p {
  margin-bottom: 1em;
}
#exhibit p,
code,
blockquote {
  margin-bottom: 1em; /* line-height: 1.3em; */
}

#index .container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#index {
  z-index: 10000;
}
#index .top-wrapper {
  flex: 1;
}
#index .top {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}
#index .top .toggle-hold {
  display: none;
}
#index .bot {
  margin-top: 3em;
  margin-bottom: 0;
  position: relative;
  left: 0;
  bottom: auto;
  width: auto;
}
#index .bot p {
  margin-bottom: 1em;
  width: auto;
}
#index .bot span {
  text-transform: uppercase;
  font-size: 11px;
}
#index .bot .createdby p {
  margin-bottom: 0;
}

/* highlighter style - maybe you want to change colors? */
.highlight {
  background: #f3ffc1;
  color: var(--color);
}

/* never adjust the margin or padding here unless you seriously know what you are doing */
/* think #index .container and #exhibit .container for only padding adjustments */
#wrapper {
  min-height: 100vh;
  max-width: 1800px;
}
#index {
  width: var(--index-width);
  background: transparent; /* line-height: 1.3em; */
}
#exhibit {
  margin: 0 0 0 var(--index-width);
}
#exhibit .top {
  display: none;
  margin-bottom: 3em;
}

/* styling the index */
#index ul {
  list-style: none;
  margin: 0;
}
#index ul ul ul {
  margin-left: 1rem;
}
#index ul.section {
  margin-bottom: 1em;
}
#index ul.subsection {
}

/* the follow rules for index are not required */
/* they are mostly for complex customization */
/* for tag display */
#index ul#all_tags {
  list-style-type: none;
  margin-bottom: 1em;
}
#index ul#all_tags li {
  display: inline;
  margin-right: 3px;
}
#index ul#all_tags li a {
}

/* styles for the section titles */
#index ul.section span.section_title,
#index ul.section span.section_title a {
  font-weight: var(--bold);
  color: var(--color);
}

/* active section title */
#index span.active_section_title,
#index span.active_section_title a {
  font-weight: var(--bold);
}

/* active exhibit title parts */
/* color of active exhibit title link and font-weight */
li.active a:link,
li a.active,
li.active a:hover,
li a.active,
li.active a:active,
li a.active,
li.active a:visited,
li a.active,
li span.active,
#index ul.section li.active a:link,
#index ul.section li.active a:hover,
#index ul.section li.active a:active,
#index ul.section li.active a:visited {
  font-weight: var(--bold);
}

li.active a:before {
  /* content: '_'; */
}

/* additional #index options */
#index ul li .password a {
  /* background: url(../img/locked.gif) right center no-repeat; padding-right: 18px; */
}

/* the "new" indicator */
#index ul li sup.new_exhibit {
  color: #0c0;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 8px;
  line-height: 9px;
  vertical-align: middle;
}
#index ul li sup.new_exhibit:before {
  content: "New";
}
/* end styling for index */

/* links styles only for the #index region */
#index a:link {
}
#index a:visited {
}
#index a:hover {
  opacity: 0.5;
}
#index a:active {
}

/* links styles only for the #exhibit region */
#exhibit a:link {
  text-decoration: underline;
}
#exhibit a:visited {
}
#exhibit a:hover {
  text-decoration: none;
}
#exhibit a:active {
}
/* nicer underlines */

#exhibit a:link {
  text-decoration: none;
  border-bottom: 1px solid var(--color);
}
#exhibit a:hover {
  text-decoration: none;
  border-bottom: 0;
}
#exhibit #img-container .asset-holder a {
  text-decoration: none;
  border-bottom: 0;
}

#exhibit .picture a {
  border: none;
}

/* this is where you adjust your paddings for #index and #exhibit together */
.container {
  padding: var(--margin);
}

/* this is where you pad them separately */
#index .container {
  padding: var(--margin) 0 var(--margin) var(--margin);
}
/* change margin-top if you are using backgrounds */
#exhibit .container {
  min-height: 90vh; /* margin-top: 100vh; */
}

/* size and style of titles and captions (not mobile though) */
.captioning {
  margin-top: 2px;
}
.title {
  /* font-size: 0.7em; font-style: italic; line-height: 1.2em; */
}
.caption {
  /* font-size: 0.7em; font-style: italic; line-height: 1.2em; */
}

#background {
  /* 'fixed' if you want image to never move */
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh; /* adjust height of background as desired */
  z-index: 1;
  background-position: center center;
  background-size: cover;
}
/* you can adjust by exhibit if wanted this way */
/* body.exhibit-4 #background { height: 85vh; } */

.footnote {
  margin-top: 3em;
  font-size: 75%;
  line-height: 1.4em;
}

@media only screen and (max-width: 900px) {
  /* adjust height to work with name, logo, etc on mobile */
  #index {
    height: 55px;
    width: 100vw;
    overflow: hidden;
    background: var(--bg);
  }

  #index.active {
    background: var(--bg);
    height: 100vh;
    width: 100vw;
    overflow: auto;
  }
  #index .container,
  #exhibit .container {
    padding: var(--margin900px);
  }
  #index .top {
    display: flex;
    justify-content: space-between;
  }
  #index .top .toggle-hold {
    display: block;
  }
  #exhibit {
    margin: 0;
    padding-top: 100px;
  }
  #exhibit p {
    width: auto;
    max-width: none !important;
  }
  #index .bot {
    margin-bottom: 4em;
  }
}

iframe {
  max-width: 100%;
}

#thumbnails a {
  border-bottom: none !important;
}
