/* Essentially copies Boostrap's .jumbotron */
.page-header {
  background-size: cover;
  margin: 0;
  padding: 3rem 0 3rem 0;
}

.page-header__container {
  padding: 0 1em 0 1em;
  margin: 0 auto 0 auto;
  background-color: rgba(254, 254, 254, 0.8);
  border-radius: 5px;

  display: grid;
  grid-template:
    "title"
    "location"
    / auto;
}

.page-header__container__title {
  font-size: 4rem;
  grid-area: title;
}

.page-header__container a {
  color: #5371a3;
}

.page-header__container__location {
  grid-area: location;
	font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: #63625f;
  font-weight: 200;
}

.page-header__container__logo {
  display: none;
  grid-area: logo;
  justify-self: end;
  align-self: center;
}

@media (min-width: 768px) {
  .page-header__container {
    grid-template:
      "title logo"
      "location logo"
      / auto auto;
  }

  .page-header__container__logo {
    display: block;
    width: 150px;
  }
}

@media (min-width: 960px) {
  .page-header__container__logo {
    width: 200px;
  }
}

.header-image {
  background-image: url(images/heading2026.jpg);
  background-position: center center;
  background-repeat: no-repeat;
}

.navbar-nav {
  display: flex;
  /* The following two are copied from the 2019 version of the website. */
	float: none;
	margin: auto;
}

#sponsors {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 4rem;
  margin-top: 4rem;
}

.survey-speakers {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: center;
  gap: 3rem 2rem;
}

@media (min-width: 768px) {
  .survey-speakers {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .survey-speakers {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.survey-speakers__speaker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.survey-speakers__speaker__photo-wrapper img {
  max-width: 200px;
  max-height: 200px;
}

.survey-speakers__speaker__name {
  margin-top: 1rem;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.building-plan {
  max-width: 800px;
}

/* Fonts */
/* raleway-regular - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/raleway-v28-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/raleway-v28-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/raleway-v28-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/raleway-v28-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/raleway-v28-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/raleway-v28-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.svg#Raleway') format('svg'); /* Legacy iOS */
}

/* raleway-700 - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/raleway-v28-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.eot'); /* IE9 Compat Modes */
  src: url('fonts/raleway-v28-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/raleway-v28-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/raleway-v28-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.woff') format('woff'), /* Modern Browsers */
       url('fonts/raleway-v28-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/raleway-v28-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.svg#Raleway') format('svg'); /* Legacy iOS */
}

/* oswald-regular - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/oswald-v49-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/oswald-v49-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/oswald-v49-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/oswald-v49-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/oswald-v49-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/oswald-v49-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.svg#Oswald') format('svg'); /* Legacy iOS */
}

/* oswald-700 - cyrillic_cyrillic-ext_latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/oswald-v49-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.eot'); /* IE9 Compat Modes */
  src: url('fonts/oswald-v49-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/oswald-v49-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/oswald-v49-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.woff') format('woff'), /* Modern Browsers */
       url('fonts/oswald-v49-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/oswald-v49-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.svg#Oswald') format('svg'); /* Legacy iOS */
}

/* Copied from various places of the 2019 website. */
.wrapped-image {
    float: right;
    width: 40%;
    border-radius: 10px;
    margin-bottom: 1em;
    margin-left: 1em;
    margin-top: 1em;
}

@media only screen and (max-width: 500px) {
    .wrapped image {
        display: block;
        width: 100%;
        float: none;
        margin: 0 auto 10px !important;
    }
}

.navbar {
	margin-top: 0;
	border-radius: 0;
	border: 0;
}

.navbar-inverse {
	background: #fcfcfc;
	border-top: solid;
	border-bottom: solid;
	border-top-color: #e0dfdb;
	border-bottom-color: #e0dfdb;
	border-width: 1px;
	margin: 0;
	padding: 0;
}

.navbar-inverse .navbar-nav li a {
	color: #5371a3;
	font-size: 15px;
	text-transform: uppercase;
	font-style: lighter;
	border-bottom: solid;
	border-bottom-width: 2px;
	border-bottom-color: transparent;
	transition: border-bottom-color 0.3s;
}

@media (max-width: 1200px) {
  .navbar-inverse .navbar-nav li a {
    font-size:14px;
  }
}

@media (max-width: 991px) {
  .navbar-inverse .navbar-nav li a {
    font-size: 10px;
  }
}

.navbar-inverse .navbar-nav li a:hover {
	color: #5371a3;
	border-bottom: solid;
	border-bottom-width: 2px;
}

.navbar-inverse .navbar-nav .active_nav a {
	color: #5371a3;
	border-bottom: solid;
	border-bottom-width: 2px;
}

.navbar-inverse .navbar-toggle .icon-bar {
	background-color: #5371a3;
}

.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
	background-color: transparent;
}

.navbar-collapse {
	text-align: center; 
}

.map {
  width: 70%;
  margin: auto;
}

.wide-map {
  width: 100%;
}

.fixed-width {
	width: 20%;
}

.schedule-time {
	width: 14%;
}

.talk-type {
	width: 6%;
}

.tr-background{
	background: #ededed!important;
}

body {
	font-family: 'Raleway', sans-serif;
	background: white;
}

h1, h2, h3, h4 {
	font-family: 'Oswald', sans-serif;
	font-weight: lighter;
}

p, .table, .table-bordered {
	font-size: 16px;
	line-height: 200%;
	color: grey;
}

@media (max-width: 767px) {
  p, .table, .table-bordered {
    font-size: 13px;
    color: grey;
  }
}

ul, ol {
	font-size: 16px;
	line-height: 200%;
	color: grey;
}

@media (max-width: 767px) {
  ul, ol {
    font-size: 13px;
    line-height: 200%;
    color: grey;
    padding-left: 20px;
  }
}

.footer {
	border-top: 5px solid #eee;
	padding: 3em 0;
	margin-top: 3em;
	text-align: center;
}

.glyphicon-large {
	font-size: 25px;
}

details summary { cursor: pointer; }

summary::-webkit-details-marker {display: none; }
/*details summary::after { content:"    (expand)"; }
details[open] summary::after { content:"    (hide)"; }*/
/*details summary::after { content:"[+]"; }
details[open] summary::after { content:"[-]" }*/

details .abstract-button::after { content:"[abstract]" }
details[open] .abstract-button::after { content:"[-]" }
details .programme-button::after { content:"[+]" }
details[open] .programme-button::after { content:"[-]" }

@media print {
  body {
    font-size: 8pt;
    font-family: serif;
  }

  .navbar {
    display: none;
  }

  .footer {
    display: none;
  }


  details .abstract-button::after { content: none; }
  details[open] .abstract-button::after { content: none; }
  details .programme-button::after { content: none; }
  details[open] .programme-button::after { content: none; }

  p, .table, .table-bordered {
    font-size: 12px;
    line-height: 100%;
  }

  h3 {
    font-size: 16pt;
  }
}
