/* -------------------------------------------- */
/* BSS Conference Websites */
/* Version: 7 */
/* -------------------------------------------- */
/* Created by @twotribes, Germany */
/* -------------------------------------------- */
/* Scope: ALL */
/* !-------------------------------------------- */

/* !-------------------------------------------- */
/* !Color dictionary */
/* !-------------------------------------------- */

/* 

BrainModes:
---
Superdark Red #65140e
Dark Red #ad979a
Light Red #da8490
Bright Red #e30613
Line Red #e83b55

Grey #656658
Grey Light #ada49f
Line Grey #c7c0bd

BCW:
---
Dark Brown #705f4e
Light Brown #ab9e84

Grey #656658
Beige #fbfbef

*/

/* !-------------------------------------------- */
/* !Reset-styles */
/* !-------------------------------------------- */

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-family: "Helvetica", "Arial", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body, h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
}

ul, ol, li, dl, dt, dd {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* !-------------------------------------------- */
/* !Development markers */
/* !-------------------------------------------- */

img[src=""] {
    min-height: 10px;
    min-width: 20px;
    background-color: rgba(0,0,0,0.2);
}

.debug {
    outline: 5px solid red !important;
}

/* !-------------------------------------------- */
/* !STAGE */
/* !-------------------------------------------- */
/* !DEFAULT MODE IS .stage-brainmodes */
/* !-------------------------------------------- */

.stage {
    font-size: 14px;
    background: #fff;
    padding-bottom: 50px;
}

.actor {
    position: relative;
}

/* --- Standard layout */
.stage #actor_header {
}

.stage #actor_header .header-content {
    width: 1100px;
    margin: 0 auto 0 auto;
}

.stage #actor_about {
    width: 1100px;
    margin: 0 auto 0 auto;
}

/* --- Overlay */
.stage #ensemble_overlay {
    display: none;
    position: fixed;
    top: 30px;
    left: 50%;
    margin-left: -450px;
    width: 900px;
    height: calc(100vh - 60px);
    overflow: auto;
}

.stage.overlay-active {
    height: 100vh;
    overflow: hidden;
}

.stage.overlay-active > .actor {
    filter: blur(10px);
}

.stage.overlay-active #ensemble_overlay {
    display: block;
}

/* IE11 doesn't support the filter property, so we're dimming the background instead */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {  
    .stage.overlay-active {
        background: #ccc;
    }
    
    .stage.overlay-active > .actor {
        opacity: 0.3;
    }
}

/* !-------------------------------------------- */
/* !ACTORS */
/* !-------------------------------------------- */

/* !-------------------------------------------- */
/* !ACTOR: Header */
/* !-------------------------------------------- */

#actor_header {
    background: #ad979a;
    padding: 40px 0 20px 0;
    border-bottom: 6px solid #fff;
    color: #fff;
}

.stage-bcw #actor_header {
    background: #705f4e;
}

#actor_header .header-content {
    position: relative;
    padding: 0 100px 0 550px;
    min-height: 160px;
}

#actor_header h1 {
    position: absolute;
    top: 0;
    left: 135px;
    width: 310px;
    height: 160px;
    overflow: hidden;
    text-indent: -1000em;
    background: #fff url("./img_conference/logo_brainmodes@2x.png") center -10px no-repeat;
    background-size: 310px;
}

.stage-bcw #actor_header h1 {
    width: 367px;
    height: 98px;
    background: #fff url("./img_conference/logo_bcw@2x.jpg") center 0 no-repeat;
    background-size: 367px;
}

#actor_header .header-content p + p {
    margin-top: 0.8em;
}

#actor_header .header-content p em {
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
}

#actor_header .header-content p a {
    font-weight: bold;
    color: #65140e;
}

/* !-------------------------------------------- */
/* !ACTOR: About */
/* !-------------------------------------------- */

/* --- Containers */
#actor_about {
    padding: 20px 100px 20px 100px;
    color: #656658;
}

.stage-bcw #actor_about {
    color: #705f4e;
}

#actor_about:after {
    content: "";
    display: block;
    clear: left;
}

#actor_about .about-part.part-general {
    width: 402px;
    float: left;
    margin-right: 49px;
}

#actor_about .about-part.part-publications, 
.stage-bcw #actor_about .about-part.part-related {
    width: 449px;
    float: left;
}

/* --- Headlines */
#actor_about h1 {
    color: #e30613;
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.stage-bcw #actor_about h1 {
    color: #656658;
    font-weight: bold;
}

/* --- Links + Buttons */
#actor_about .contact-mail, 
#actor_about .website-url, 
#actor_about .imprint-action, 
#actor_about .publication-url {
    color: #65140e;
    font-weight: bold;
}

.stage-bcw #actor_about .contact-mail, 
.stage-bcw #actor_about .website-url, 
.stage-bcw #actor_about .imprint-action {
    color: #705f4e;
}

#actor_about .publication-url {
    font-size: 19px;
}

/* --- General information */
#actor_about .part-general .general-contact {
    padding: 0 15px 15px 35px;
    border-bottom: 1px solid #e83b55;
    margin-bottom: 15px;
}

.stage-bcw #actor_about .part-general .general-contact {
    border-color: #ab9e84;
}

#actor_about .part-general .general-related {
    padding: 0 15px 15px 35px;
    border-bottom: 1px solid #e83b55;
    margin-bottom: 15px;
}

#actor_about .part-general .general-related .related-website:not(:last-child), 
.stage-bcw #actor_about .part-related .related-website:not(:last-child) {
    margin-bottom: 10px;
}

#actor_about .part-general .general-imprint {
    padding: 0 15px 0 35px;
}

/* --- Publications */
#actor_about .publication-item:not(:last-child) {
    padding-bottom: 15px;
    border-bottom: 1px solid #e83b55;
    margin-bottom: 15px;
}

#actor_about .publication-item h2 {
    margin-bottom: 10px;
}

/* !-------------------------------------------- */
/* !ACTOR: Events */
/* !-------------------------------------------- */

#actor_events {
    border-bottom: 6px solid #ad979a;
    padding-bottom: 20px;
}

.stage-bcw #actor_events {
    border-color: #705f4e;
}

/* --- Event container */
#actor_events .event-item {
    font-size: 19px;
    color: #ada49f;
}

.stage-bcw #actor_events .event-item {
    color: #ab9e84;
}

#actor_events .event-item.item-future {
    background: #da8490;
    color: #fff;
}

.stage-bcw #actor_events .event-item.item-future {
    background: #ab9e84;
    color: #fbfbef;
}

#actor_events .event-item .item-wrapper {
    width: 900px;
    margin: 0 auto 0 auto;
    padding: 20px 0 15px 0;
    border-bottom: 2px solid #c7c0bd;
}

#actor_events .event-item.item-future .item-wrapper, 
#actor_events .event-item:last-child .item-wrapper {
    border: none;
}

#actor_events .event-item .item-wrapper:after {
    content: "";
    display: block;
    clear: left;
}

/* --- Left column with title/logo + URL */
#actor_events .event-item .event-id {
    width: 345px;
    float: left;
    margin-right: 55px;
    padding-left: 35px;
}

/* IE11 fix: must avoid overrun */
#actor_events .event-item .event-id a {
    max-width: 100%;
}

#actor_events .event-item .event-id .id-title {
    font-weight: bold;
}

#actor_events .event-item .event-id .id-logo img {
    max-width: 100%;
    height: auto;
}

#actor_events .event-item .event-id .id-url {
    font-size: 14px;
    color: #65140e;
    font-weight: bold;
    margin-top: 15px;
    word-break: break-all;
}

.stage-bcw #actor_events .event-item .event-id .id-url {
    color: #ab9e84;
}

.stage-bcw #actor_events .event-item.item-future .event-id .id-url {
    color: #fff;
}

/* --- Right column with date + location */
#actor_events .event-item .event-info {
    width: 500px;
    float: left;
}

#actor_events .event-item .event-info .info-year {
    font-weight: bold;
    padding: 0 0 10px 50px;
    border-bottom: 1px solid #c7c0bd;
    margin-bottom: 20px;
}

#actor_events .event-item.item-future .event-info .info-year {
    border-color: #fff;
}

/* Date */
#actor_events .event-item .event-info .info-date {
    font-size: 35px;
    font-weight: bold;
    padding-left: 50px;
    margin-bottom: 10px;
    min-height: 30px;
    position: relative;
}

#actor_events .event-item .event-info .info-date:after {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    left: 0;
    width: 26px;
    height: 30px;
    background: transparent url("./img_conference/iconsprite_event.svg") center -145px no-repeat;
}

#actor_events .event-item.item-future .event-info .info-date:after {
    background-position: center -2px;
}

/* Location */
#actor_events .event-item .event-info .info-loc {
    padding-left: 50px;
    min-height: 30px;
    position: relative;
}

#actor_events .event-item .event-info .info-loc:after {
    content: "";
    display: block;
    position: absolute;
    top: -2px;
    left: 0;
    width: 26px;
    height: 30px;
    background: transparent url("./img_conference/iconsprite_event.svg") center -193px no-repeat;
}

#actor_events .event-item.item-future .event-info .info-loc:after {
    background-position: center -50px;
}

/* !-------------------------------------------- */
/* !ACTOR: Imprint overlay */
/* !-------------------------------------------- */

#ensemble_overlay {
    background: rgba(255,255,255,0.9);
    border: 2px solid #fff;
}

#ensemble_overlay .imprint-action {
    display: block;
    width: 100%;
    background: #65140e;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 10px 0 10px 0;
}

.stage-bcw #ensemble_overlay .imprint-action {
    background: #705f4e;
}

#actor_imprint {
    padding: 30px 50px 30px 50px;
    font-size: 14px;
    color: #333;
    line-height: 1.3;
}

#actor_imprint h2 {
    font-size: 16px;
    line-height: 19px;
    color: #666;
    font-weight: bold;
    margin: 1.5em 0 0.5em 0;
}

#actor_imprint :first-child h2 {
    margin-top: 0;
    padding-bottom: 70px;
    background: transparent url("./img/logo_bsc_wide.svg") 0 bottom no-repeat;
    background-size: 304px;
    margin-bottom: 1em;
}

#actor_imprint .action, 
#actor_imprint a {
    text-decoration: underline;
}

#actor_imprint .org-part, 
#actor_imprint .part-contact {
    margin-bottom: 0.5em;
}

#actor_imprint em {
    font-style: normal;
    font-weight: bolder;
}

/* !-------------------------------------------- */
/* !ACTOR: Privacy overlay */
/* !-------------------------------------------- */

#actor_privacy {
    padding: 30px 50px 30px 50px;
    font-size: 14px;
    color: #333;
    line-height: 1.3;
}

#actor_privacy h2 {
    font-size: 16px;
    line-height: 19px;
    color: #666;
    font-weight: bold;
    margin: 1em 0 0.5em 0;
}

#actor_privacy h2:first-child {
    margin-top: 0;
}

#actor_privacy .action, 
#actor_privacy a {
    text-decoration: underline;
}

#actor_privacy p {
    margin-bottom: 0.5em;
}

#actor_privacy li {
    margin-bottom: 0.5em;
    position: relative;
    padding-left: 15px;
}

#actor_privacy li:before {
    content: "::";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

#actor_privacy em {
    font-style: normal;
    font-weight: bolder;
}

/* !-------------------------------------------- */
/* !SUBSTANCES */
/* !-------------------------------------------- */

/* !-------------------------------------------- */
/* !COMPONENT: Links & Buttons */
/* !-------------------------------------------- */

/* --- Initalize abstract buttons and links */
button, input[type="submit"], input[type="button"] {
    border: none;
    border-radius: 0;
    display: inline-block;
    margin: 0;
    padding: 0;
    background: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    text-align: inherit;
    cursor: pointer;
    overflow: hidden;
    -webkit-appearance: none;
}

button:focus {
    outline: none; /* removes outline in Chrome */
}

/* Firefox older than v58 basically freezes line-height to an arbitrary value, so we have to adjust a bit */
button, input[type="submit"]::-moz-focus-inner {
    border: 0;
    padding: 0;
    margin-top: -1px;
    margin-bottom: -1px;
}

a {
    display: inline-block;
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
}

