@import url('normalize-8.0.1.css');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;1,400;1,600&display=block');

header, nav, main, aside, section, article, footer,
p, ul, ol, pre, dt, dd,
form, figure, video, details {
    margin-top: .5rem;
    margin-bottom: .5rem;
}

h1, h2, h3, h4, h5, h6, [role="doc-subtitle"] {
    margin: 1rem 0;
}

*, *::before, *::after {
    transition-duration: 0.5s;
    transition-property: margin-left padding-left;
}

html {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.1rem;
    font-size-adjust: 0.43;
    margin: 0 1rem 0 1rem;
    line-height: 1.3;
}

body {
    max-width: 32rem;
    margin: 1rem auto;
}

h1, h2, h3, h4, h5, h6,
dt, b
{
    font-weight: 600;
}

h1 {
    color: #da291c; /* #B51F1F; */
}

[role="doc-subtitle"] {
    margin-top: -1rem;
    font-size: 0.75rem;
}

dd {
    margin-left: 1rem;
}

.full-width {
    position: absolute;
    left: 0;
    right: 0;
}

.full-width > * {
    width: 100%;
}

iframe {
    border: none;
}

iframe.banner {
    border-top: thin solid black;
    box-sizing: border-box;
    height: 40rem;
    max-height: 80vh;
}

h1 > img {
    display: block;
}

h1.logo {
    position: relative;
}

h1.logo:before {
    content: '';
    background: url('assets/proofs.swiss.icon.svg') center no-repeat;
    margin-right: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    margin-bottom: -0.15rem;
    padding-top: 0;
}

.schedule .sep {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.schedule .sep hr {
    flex-grow: 1;
    border: none;
    border-top: thin solid black;
    margin: 0;
}

.schedule > section {
    margin: 0.5rem 0 0.5rem 1rem;
    padding-left: 1.5rem;
    border-left: thin dotted black;
}

.schedule section time {
    margin: 0.5rem 0 0.5rem -1rem;
    display: block;
}

.schedule section :is(h3, h4, h5) {
    margin: 0.5rem 0;
}

.schedule article a {
    color: unset;
}

.schedule article :is(h4, h5) a {
    text-decoration: unset;
}

.schedule section h4 {
    font-size: 1.15em;
}

.schedule section h5 {
    font-size: 1em;
}

.schedule .location, .schedule article :is(h4, h5) + [rel="author"] {
    display: block;
    margin-top: -0.5rem;
}

.schedule :is(article, section) :is(article, details) {
    margin-left: 1rem;
}

#participants-filter {
  width: 100%;
  box-sizing: border-box;
}

#participants-list .name {
  font-weight: 600;
}

#participants-list .affiliation {
  font-style: italic;
  margin-left: 0.5em;
}

@media (min-width: 38.5rem) {
    html {
        margin-left: 2rem;
    }

    h1, h2, h3, h4, h5, h6, [role="doc-subtitle"] {
        margin-left: -1rem;
    }

    .schedule section time {
        float: right;
        margin: 0 0 0 1rem;
    }

    #participants-list {
        columns: 2;
        column-gap: 1em;
    }

    #participants-list .affiliation {
        white-space: nowrap;
    }
}

@media (min-width: 40.7rem) { /* 38.5rem + 1.1 * 2rem */
    h1.logo:before {
        margin-left: -2rem;
    }
}
