html {
    height: 100%;
}
body {
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
    color: #ddd;
    background: #222;/*#000514;*/
}
.hidden {
    display: none !important;
}

.centered-container {
    flex-grow: 1;
    min-height: 100%;
    width: 70%;
    min-width: 1000px;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 10px #fff;
}
header {
    display: flex;
    background: #123;
    color: #eee;
    align-items: center;
}
header .pic-box {
    width: 200px;
    flex-shrink: 0;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
header .heading {
    flex: 1 1 0px;
    display: flex;
    flex-direction: column;
    font-size: 16pt;
    padding: 1em 1em;
}
header .heading .conference-topic {
    color: #ee4;
    margin: 0.5em 0;
    font-size: 24pt;
    font-family: Arial, sans-serif;
}
header .logo {
    min-width: 130px;
    margin: 1em;
    background: url("images/60anniv.png") center right no-repeat;
    background-size: contain;
}
header .header-photo {
    height: 14em;
}

.conference-info {
    display: flex;
}
.flex-separator {
    flex-grow: 1;
}


.sub-header {
    height: 50px;
    background: url("./images/Bog_Formulas_Line.png") #111;
    background-position: center;
    background-size: auto 100%;
    font-size: 12pt;
    font-weight: bold;
    text-align: right;
    transition: 200ms;
}
.sub-header.loading {
    background: #124;
}

.main-container {
    display: flex;
    flex-grow: 1;
}

nav.sidebar-container {
    display: block;
    background: #012;
    font-size: 12pt;
    padding: 1em;
    width: 200px;
    box-sizing: border-box;
    flex-shrink: 0;
}
ul.vertical-nav {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.vertical-nav li {
    padding: 0 0;
}
.vertical-nav a, .vertical-nav a:visited {
    display: block;
    color: #8af;
    padding: 0.3em 1em;
    border-left: 0.2em solid #aaf;
    text-decoration: none;
    white-space: nowrap;
    font-weight: bold;
}
.vertical-nav a:hover {
    color: #48f;
    text-decoration: underline;
    border-color: #24f;
}
.vertical-nav .nav-separator {
    height: 0.1em;
    background: #aaf;
}

footer {
    display: flex;
    justify-content: center;
    background: #111;
    padding: 0.5em;
}
.footer-text {
    color: #eee;
}

.content-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.content-header {
    font-size: 18pt;
    padding: 0.5em 1em;
    background: #123;
    border-bottom: 0.1em solid #26f;
    color: #ee4;
}
.content-wrapper {
    flex-grow: 1;
    background: #22282f;
    padding: 0 2em 1em;
    font-size: 12pt;
}
.content-wrapper h1 {
    font-size: 18pt;
    color: #26f;
}
.content-wrapper h2 {
    font-size: 16pt;
    color: #8af;
}
.content-wrapper p {
    margin: 1em 0 0;
    font-size: 1em;
}
.content-wrapper table td {
    padding: 0.2em 4ch 0.2em 0;
}
.content-wrapper ul.simple-list {
    padding: 0 0 0 1.5em;
    margin: 0;
    list-style: square;
}
.content-wrapper > *:first-child {
    margin-top: 1em;
}
.content-wrapper a, .content-wrapper a:visited {
    color: #48f;
    text-decoration: none;
}
.content-wrapper a:hover {
    color: #ee4;
    text-decoration: underline;
}
.content-wrapper .subblock {
    display: block;
    margin-left: 2em;
}

.text-justify {
    text-align: justify;
}
.text-center {
    text-align: center;
}

/*--- Registration ---*/
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.form-row-group {
    border-top: 1px solid #888;
    padding: 2em 2em;
}
.form-row-group:first-of-type {
    border: none;
}
.form-row-group > *:first-child {
    margin-top: 0;
}
.form-row-group > * {
    margin-top: 1em;
}
input, select, textarea, button, label {
    font-size: 13pt;
    font-family: Arial, sans-serif;
    width: 50ch;
    display: block;
    box-sizing: border-box;
}
input, select, textarea, button {
    padding: 0.3em;
    border: 1px solid #123;
    background: #ccc;
}
textarea {
    resize: none;
    height: 8em;
}
option {
    color: black;
    font-style: normal;
}
input::placeholder, option.placeholder, select:invalid, textarea::placeholder {
    color: #555;
    font-style: italic;
}
input[type=date] {
    color: #333 !important;
}
option[value=""] {
    color: #555;
}
input:invalid, select:invalid {
    outline: #d44 solid 1px;
    outline-offset: 2px;
}
.radio-group {
    display: flex;
    flex-direction: row;
    margin-top: 0.5em;
}
input[type=radio] {
    display: none;
}
.radio-group label {
    text-align: center;
    display: block;
    padding: 0.3em;
    width: 50%;
    height: 100%;
    margin: 0;
    border: 1px solid #888;
    box-sizing: border-box;
    cursor: pointer;
    background: #aaf;
    color: #444;
}
.radio-group label:hover {
    background: #dd6;
}
input[type=radio]:checked + label {
    background: #dc2;
}
button {
    cursor: pointer;
    background: #99f;
}
button:hover {
    background: #dd6;
}
button:active {
    background: #dc2;
}

.notification {
    margin-top: 1em;
    text-align: center;
}
.notification .on-success {
    color: #dc2;
}
.notification .on-error {
    color: #d44;
}

/* --- --- */

.vertical-nav a.livestream-link {
    color: #dc2;
}
.livestream-container {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
}
.livestream-container > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 1080px) {
    body {
        min-width: 1080px;
    }
    .centered-container {
        width: 100%;
    }
}