/*******************************************************************************
MeyerWeb Reset
*******************************************************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

code {
  font-size: 14px;
  width: 100%;
  font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*******************************************************************************
Theme Styles
*******************************************************************************/

/* Set keepCalm font-family from file */
@font-face {
  font-family: keepCalm;
  src: url("../fonts/KeepCalm-Medium.ttf");
}

@font-face {
  font-family: latoBold;
  src: url("../fonts/Lato-Bold.ttf");
}

html {
  background: #000;
}

body {
  font-family: 'Raleway', cursive;
  min-height: 100%;
  background: #000;
  color: #DCE0DF;
  overflow-x: hidden;
  margin-bottom: 10em;
}

#main-ticket-button {
  position: relative; /* otherwise this is hidden by the absolute positioning of the seal */
  text-align: center;
  font-size: 2em;
}

.buy-ticket-table {
  margin-left: auto;
  margin-right: auto;
}

.buy-ticket-table td {
  vertical-align: middle;
}

.buy-ticket-table img {
  width: 5em;
  padding: 0.3em;
}

.buy-ticket-table a {
  font-family: keepCalm;
  font-size: 1.2em;
  text-transform: uppercase;
  color: #DCE0DF !important; /* overwrite anchor tag style */
}

.buy-ticket-table .left-image img {
  float: right;
}

.buy-ticket-table .right-image img {
  float: left;
}

/* https://stackoverflow.com/a/20352949/2128691 */
body::after {
  content: '';
  display: block;
  height: 3em; /* Set same as footer's height */
}

#impressum {
  font-family: serif;
  font-size: 10px;
}

#impressum h2 {
  color: #DCE0DF;
}

#impressum h4 {
  color: #DCE0DF;
}

/* link styling */

#styles-2018 a {
  color: darkred;
}

a {
  cursor: pointer;
  text-decoration: none;
  color: black;
}

a:visited {
  color: black;
}

h1, h2, h3, h4, h5, h6 {
  margin: 10px 0;
  font-weight: 700;
  font-family: 'Lucida Grande', 'Calibri', Helvetica, Arial, sans-serif;
  letter-spacing: -1px;
}

h1 {
  font-size: 1.7em;
  font-weight: 700;
}

h2 {
  padding-bottom: 10px;
  font-size: 1.5px;
  background: url('../images/bg_hr.png') repeat-x bottom;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 21px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

p {
  margin: 10px 0 15px 0;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

ul, ol, dl {
  margin-bottom: 15px
}

ul {
  list-style-position: inside;
  padding-left: 20px;
  list-style-type: none;
}

ol {
  list-style-position: inside;
  list-style: decimal;
  padding-left: 20px;
}

hr {
  height: 1px;
  margin-bottom: 5px;
  border: none;
  background: url('../images/bg_hr.png') repeat-x center;
}

/* button styling */

#styles-2018 .button {
  color: darkred;
  background: #DCE0DF;
}

.button {
  font-family: keepCalm;
  color: black;
  text-transform: uppercase;
  background: #dce0df;
  padding: 0.7em;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  cursor: pointer;
}

.inner {
  position: relative;
  max-width: 75%;
  padding: 15px 10px;
  margin: 0 auto;
}

.align-left {
  text-align: left;
}

.center {
  text-align: center;
}

.justified {
  text-align: justify;
  text-justify: inter-word;
}

.center-justified {
  text-align: justify;
  text-justify: inter-word;
  text-align-last: center;
}

.hidden {
  display: none;
}

.underline {
  text-decoration: underline;
}

.outer {
  width: 100%;
}

.inner {
  position: relative;
  max-width: 75%;
  padding: 15px 10px;
  margin: 0 auto;
}


/*******************************************************************************
Full-Width Styles
*******************************************************************************/
section {
  font-size: 1.25em;
}

#bg-image {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#sigil-of-attraction #bg-image {
  width: 60em;
  opacity: 0.22;
}

#enochian-alphabet #bg-image {
  width: 62em;
  opacity: 0.19;
}

#header_wrap .inner {
  padding: 55px 10px 25px 10px;
  text-align: center;
}

#image-carousel-wrap {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  height: 23vw;
  margin-bottom: -8em;
  padding-top: 3em;
}

#image-carousel {
  padding-left: 0;
  text-align: center;
}

#image-carousel li {
  left: 50%;
  transform: translate(-50%, 0%);
  display: none;
}

#image-carousel img {
  width: 35vw;
  opacity: 0.75;
}

#logo {
  width: 35vw;
  border: none;
  box-shadow: none;
  display: block;
  margin-top: 4em;
  margin-bottom: 2em;
  margin-left: auto;
  margin-right: auto;
}

#high-priority-information {
  color: red;
  font-family: latoBold;
  font-size: 1.6rem;
  text-transform: uppercase;
}

#high-priority-information-wrap img {
  width: 35vw;
  opacity: 0.75;
}

#high-priority-information-wrap #tickets-wrap {
  margin-top: 1em;
  margin-bottom: 1em;
}

#high-priority-information-wrap #tickets-wrap .button {
  font-family: 'keepcalm';
  font-size: 2em;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: red;
  color: #dce0df;
}

/* styling after nav switch on first click */
#nav-wrap.top-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: black;
  z-index: 100;
}

#nav-wrap.top-nav-bar a {
  color: inherit;
}

#nav-wrap.top-nav-bar #nav {
  margin-bottom: 0;
  margin-top: 1em;
}

#nav-wrap.top-nav-bar #nav #tickets-button .button {
  background: none;
  color: red;
}

#nav-wrap.top-nav-bar #nav li {
  width: auto;
  font-size: 1.2em;
}

#nav-wrap.top-nav-bar #nav li.selected {
  text-decoration: underline;
}

#nav {
  margin-bottom: 2em;
  padding-left: 0;
}

#nav li {
  font-family: latoBold;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 1.5em;
  display: inline-block;
  margin-right: 1em;
  margin-bottom: 0.5em;
  margin-bottom: 0.5em;
  cursor: pointer;
}

/* poor man's !important */
#nav li.hidden {
  display: none;
}

#nav li#tickets-button {
  color: red;
}

#nav li.button {
  padding: 0.3em;
}

#nav li.button {
  padding: 0.3em;
}

.sub-nav {
  margin-top: -3em !important;
}

.sub-nav li {
  font-family: 'KeepCalm';
  display: inline-block;
  cursor: pointer;
  text-transform: uppercase;
  margin-right: 1.2em;
  font-size: 1.3em;
}

#nav-wrap:after {
  content: '';
  display: block;
  clear: both;
}

#lineup-2019-wrap #lineup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 0.5em;
}

#lineup-2019-wrap .event-wrap {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 1em;
  margin-bottom: 1em;
  cursor: pointer;
}

#lineup-2019-wrap .avatar img {
  object-fit: cover;
  min-width: 25vw;
  max-width: 25vw;
  min-height: 25vw;
  max-height: 25vw;
  border: 3px solid white;
  filter: sepia(20%);
  filter: saturate(40%);
}

#lineup-2019-wrap .info-wrap {
  font-family: latoBold;
  text-transform: uppercase;
  align-self: end;
  border: 3px soild white;
}

#lineup-2019-wrap .info-wrap .name {
  margin: 0.2em;
  padding: 0.5em;
  background: white;
  color: black;
}

#lineup-2019-wrap #lineup-sub-nav {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  width: 100vw;
  background: black;
  padding-top: 0.5em;
  z-index: 99;
}

#lineup-2019-wrap #lineup-sub-nav ul {
  padding-left: 10px;
}

#lineup-sub-nav li.selected {
  color: red;
}

#schedule-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr; /* times thur fri sat sun */
  grid-template-rows:
    [day-name]  1fr
    [time-1100] 1fr
    [time-1200] 1fr
    [time-1300] 1fr
    [time-1400] 1fr
    [time-1500] 1fr
    [time-1600] 1fr
    [time-1700] 1fr
    [time-1800] 1fr
    [time-1900] 1fr
    [time-2000] 1fr
    [time-2100] 1fr
    [time-2200] 1fr
    [time-2300] 1fr
    [time-0000] 1fr
    [time-0100] 1fr
    [time-0200] 1fr
    [time-0300] 1fr
    [time-0400] 1fr
}

#schedule-grid .text {
  padding-top: 0.5em;
  margin-bottom: -0.3em;
  padding-left: 0.3em;
  padding-right: 0.3em;
}

#schedule-grid .time {
  grid-column: 1;
}

#schedule-grid .day {
  height: 100%;
  background: dimgrey;
  border: 1px solid black;
}

#schedule-grid .thursday {
  grid-column: 2;
}

#schedule-grid .friday {
  grid-column: 3;
}

#schedule-grid .saturday {
  grid-column: 4;
}

#schedule-grid .sunday {
  grid-column: 5;
}

#schedule-grid .day-name {
  grid-row: 1;
  background: white;
  color: black;
  padding-top: 0.3em;
  margin-bottom: 0.3em;
}

#schedule-grid .holder {
  background: none;
}

#schedule-grid .thursday.holder {
  grid-row: time-1100 / time-1900;
}

#schedule-grid .thursday.registration {
  grid-row: time-1900 / time-2000;
}

#schedule-grid .thursday.opening-ritual {
  grid-row: time-2000 / time-2200;
}

#schedule-grid .thursday.party {
  grid-row: time-2200 / time-0200;
}

#schedule-grid .friday.registration {
  grid-row: time-1100 / time-1300;
}

#schedule-grid .friday.conference {
  grid-row: time-1200 / time-1800;
}

#schedule-grid .friday.evening {
  grid-row: time-2000 / time-0200;
}

#schedule-grid .saturday.registration {
  grid-row: time-1100 / time-1300;
}

#schedule-grid .saturday.conference {
  grid-row: time-1200 / time-1800;
}

#schedule-grid .saturday.evening {
  grid-row: time-2000 / time-0000;
}

#schedule-grid .saturday.party {
  grid-row: time-0000 / time-0500;
}

#schedule-grid .sunday.registration {
  grid-row: time-1100 / time-1200;
}

#schedule-grid .sunday.conference {
  grid-row: time-1200 / time-1700;
}

#schedule-grid .sunday.closing-ritual {
  grid-row: time-1700 / time-2000;
}

/* i did this to myself. i did this to myself. i did this to myself. */
#lineup-2018-wrap .event-wrap {
  min-width: 70%; /* this ensures the unknown speaker is displayed correctly */
  margin-bottom: 3em;
  float: left;
  margin-left: 10%;
  margin-right: 10%;
}

#lineup-2018-wrap .event-wrap ul {
  list-style-type: circle;
}

#lineup-2018-wrap .event-wrap .info-wrap {
  text-align: left;
  margin-left: 2em;
}

#lineup-2018-wrap .event-wrap .avatar {
  margin-bottom: 0.5em;
  margin-left: 3em;
  margin-right: 2em;
  float: left;
  cursor: pointer; /* cause it's a link to speaker page */
}

#lineup-2018-wrap .event-wrap .avatar img {
  width: 250px;
  height: 250px;
  opacity: 0.9;
}

#lineup-2018-wrap .event-wrap .info-wrap .title {
  font-family: 'Metamorphous';
  cursor: pointer; /* cause it's a link to speaker page */
}

#lineup-2018-wrap .event-wrap .info-wrap .name {
  font-family: 'KeepCalm';
  font-size: 123%;
  cursor: pointer; /* cause it's a link to speaker page */
}

#lineup-2018-wrap .event-wrap .info-wrap .description {
  font-size: 0.8em;
}

/* adblock hides this if it's called 'sponsors' */
#friends-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 1em;
}

#friends-grid ul {
  padding: 0;
}

#friends-grid li.bff {
  grid-column: 1/4;
}

#friends-grid li {
  align-self: center;
}

#friends-grid img {
  width: 100%;
}

#friends-grid img.tall-boy {
  width: 60%;
}

#donation-text a {
  color: red;
}

ul.donation-method {
  padding: 0;
}

.donation-method {
  width: 33%;
  float: left;
  margin-bottom: 3em;
}

.paypal-wrapper a {
  color: white;
}

code.donation-address {
  letter-spacing: -1px;
}

.qr-code {
  margin-bottom: 1em;
  width: 7em;
  height: 7em;
}

.logo-wrap {
  height: 5em;
}

.crypto-logo {
  width: 9em;
  margin-top: 1em;
  margin-bottom: 2em;
}

#event {
  display: grid;
  grid-column-gap: 1em;
  grid-template-columns: 1fr 2fr;
}

#event .title {
  grid-column: 1/3;
  font-family: latoBold;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.2em;
  margin-bottom: 1em;
  padding: 1em;
  background: white;
  color: black;
}

#event .avatar img {
  width: 100%;
  filter: sepia(20%);
  filter: saturate(40%);
}

#event .avatar .name {
  font-family: 'Metamorphous';
}

#event .main-info-wrap {
  display: grid;
  grid-template-rows: 1fr 3fr 3fr;
  grid-row-gap: 0.5em;
}

#event .schedule {
  margin: 1em;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: keepCalm;
}

/*******************************************************************************
Small Device Styles
*******************************************************************************/


@media (min-width: 1600px) {
  #lineup-2019-wrap #lineup-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  #lineup-2019-wrap .avatar img {
    min-width: 18vw;
    max-width: 18vw;
    min-height: 18vw;
    max-height: 18vw;
  }
}

@media (min-width: 1200px) and (max-width: 1649px) {
  #tickets #ticket-columns .buy-ticket-button {
    font-size: 1.1em;
    margin-top: 1.75em;
  }
}

@media (max-width: 1120px) {
  #call-for-abstracts .description-text {
    margin-bottom: 2em;
  }

  #tickets #ticket-columns .buy-ticket-button {
    font-size: 1em;
  }

  #logo {
    width: 90%;
  }

  #image-carousel-wrap {
    height: 40vw;
  }

  #image-carousel img {
    width: 60vw;
  }

  #nav li {
    width: 100%;
    font-size: 1.65em;
  }
}

@media (min-width: 800px) and (max-width: 970px) {
  #lineup-2018-wrap .event-wrap {
    margin-left: 5%;
    margin-right: 5%;
  }

  #tickets #ticket-columns #ticket-prices-banner {
    font-size: 0.9em;
  }

  #tickets #ticket-columns #prices td {
    font-size: 1em;
  }

  .button {
    padding: 0.75em;
  }
}

@media (min-width: 0px) and (max-width: 1200px) {
  #lineup-2018-wrap .event-wrap {
    margin-bottom: 3em;
    float: none;
    margin-left: 0;
    margin-right: 0
  }

  #lineup-2018-wrap .event-wrap .avatar {
    width: 100%;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
    float: none;
  }

  .event-wrap .info-wrap {
    text-align: center;
    margin-left: 0;
  }

  .donation-method {
    width: 100%;
  }
}

@media (min-width: 0px) and (max-width: 1000px) {
  #nav-wrap.top-nav-bar {
    height: 5vh;
  }

  #nav-wrap.top-nav-bar #mobile-nav-wrap {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    background: black;
  }

  #mobile-nav-wrap #hamburger-icon {
    grid-column: 1;
    cursor: pointer;
    justify-self: center;
    padding-top: 1em;
  }

  #mobile-nav-wrap #hamburger-icon img {
    width: 10vw;
  }

  #mobile-nav-wrap #mobile-tickets-button {
    grid-column: 4;
    align-self: center;
    font-family: latoBold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0em 1em 0em 0em;
  }

  #mobile-nav-wrap #mobile-tickets-button .button {
    background: red;
    color: #DCE0DF;
  }

  #nav-wrap.top-nav-bar #nav {
    display: none;
  }

  #nav-wrap.top-nav-bar #nav.hamburger {
    position: fixed;
    top: 6vh;
    display: block;
    width: 100vw;
    height: 100vh;
    background: black;
  }

  #nav-wrap.top-nav-bar #nav li {
    width: 100%;
    font-size: 2em;
  }

  #lineup-2019-wrap #lineup #lineup-grid {
    grid-template-columns: 1fr;
  }

  #lineup-2019-wrap #lineup .event-wrap .avatar img {
    min-width: 50vw;
    max-width: 50vw;
    min-height: 50vw;
    max-height: 50vw;
  }

  #lineup-2019-wrap #lineup .event-wrap .info-wrap {
    min-width: 50vw;
    max-width: 50vw;
    margin-left: auto;
    margin-right: auto;
  }

  #lineup-2019-wrap #lineup-sub-nav {
    padding-bottom: 0.5em;
  }

  #lineup-2019-wrap #lineup-sub-nav li {
    margin-top: 0.5em;
    width: auto;
  }

  #friends #friends-grid {
    display: block;
  }

  #friends #friends-grid li {
    margin: 1em;
  }

  #friends #friends-grid li.bff img {
    width: 100%;
  }

  #friends #friends-grid img {
    width: 50%;
  }

  #event {
    display: block;
  }

  #event .schedule {
    grid-row: 1;
  }
}

@media (min-width: 0px) and (max-width: 800px) {
  #schedule #schedule-grid {
    display: none;
  }

  #schedule #schedule-image {
    display: block;
  }

  #schedule #schedule-image img {
    width: 100%;
  }

  #media #media-grid {
    grid-template-columns: 1fr 1fr;
  }

  #media #media-grid img {
    min-width: 35vw;
    max-width: 35vw;
  }
}

@media (min-width: 0px) and (max-width: 680px) {
  footer {
    font-size: 1.3em;
  }

  #footer-links ul {
    margin-bottom: 0;
  }

  #footer-links li {
    margin: 0.3em;
  }
}

@media screen and (max-width: 480px) {
  body {
    font-size:14px;
  }

  .inner {
    min-width: 280px;
    max-width: 420px;
  }

  #logo {
    width: 90%;
  }

  #high-priority-information-wrap #tickets-wrap .button {
    font-size: 1.5em;
  }

  #nav li {
    width: 60vw;
    margin-right: 0;
  }

  .sub-nav li {
    font-size: 0.9em;
  }

  #media #media-grid img {
    min-width: 40vw;
    max-width: 40vw;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 21px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 14px;
  }

  h6 {
    font-size: 12px;
  }
}
