/* -------------------------------------------- */
/* The Virtual Brain: Website */
/* Version: 27 */
/* -------------------------------------------- */
/* Created by @twotribes, Germany */
/* -------------------------------------------- */
/* Browser Scope: ALL */
/* StyleSheet Scope: ACTOR-INDEPENDENT RESOURCES */
/* !-------------------------------------------- */

/* !-------------------------------------------- */
/* !COMPONENT: General links */
/* !-------------------------------------------- */

button {
    border: none;
    cursor: pointer;
}

.action {
    display: block;
    text-decoration: none;
    color: #313d43;
    -webkit-transition: color 1s ease;
    -moz-transition: color 1s ease;
    -ms-transition: color 1s ease;
    transition: color 1s ease;
}

.stage-home .action {
    color: #2d86b1;
}
.stage-neuroscience .action {
    color: #43a13d;
}
.stage-brainsimulator .action {
    color: #662d91;
}
.stage-newswire .action {
    color: #624426;
}
.stage-teamwork .action {
    color: #9c132c;
}

.action:hover, 
.action:active {
    color: #000;
    -webkit-transition: color 0.5s ease;
    -moz-transition: color 0.5s ease;
    -ms-transition: color 0.5s ease;
    transition: color 0.5s ease;
}

.stage-home .action:hover {
    color: #184343;
}
.stage-neuroscience .action:hover {
    color: #22511f;
}
.stage-brainsimulator .action:hover {
    color: #3b1d4d;
}
.stage-newswire .action:hover {
    color: #312213;
}
.stage-teamwork .action:hover {
    color: #4e0a16;
}

/* !-------------------------------------------- */
/* !COMPONENT: Special action buttons */
/* !-------------------------------------------- */

/* --- Container and background design */
.actor-head .download-list .item-size,
.actor-body .download-list .action-download,
.sub-linear .action-nav mark,
.action-map,
.event-info .action-link.action-outlink,
.help-shortcuts .action-link,
.action-submit,
.contribution-target-jira,
.contribution-target-github,
.action-subscribe,
.action-twitter,
.action-register {
    position: relative;
    overflow: hidden;
    font-family: "aktiv-grotesk";
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    background-position: 0 0;
    background-repeat: no-repeat;
    -webkit-transition: background-color 1s ease;
    transition: background-color 1s ease;
}

.stage .actor-head .download-list .item-size,
.stage .actor-body .download-list .action-download,
.stage .sub-linear .action-nav mark, 
.stage .action-map, 
.stage .event-info .action-link.action-outlink, 
.stage .help-shortcuts .action-link, 
.stage .action-submit, 
.stage .contribution-target-jira, 
.stage .contribution-target-github, 
.stage .action-subscribe, 
.stage .action-twitter, 
.stage .action-register {
    color: #fff;
}

/* Customize background to ACCENT color */
.stage-neuroscience .actor-head .download-list .item-size, 
.stage-neuroscience .actor-body .download-list .action-download, 
.stage-neuroscience .sub-linear .action-nav mark, 
.stage-neuroscience .action-map, 
.stage-neuroscience .event-info .action-link.action-outlink, 
.stage-neuroscience .help-shortcuts .action-link, 
.stage-neuroscience .action-submit, 
.stage-neuroscience .contribution-target-jira, 
.stage-neuroscience .contribution-target-github, 
.stage-neuroscience .action-subscribe, 
.stage-neuroscience .action-twitter, 
.stage-neuroscience .action-register {
    background-image: url("./img/back_action_neuroscience.svg");
    background-color: #cd4422;
}
.stage-brainsimulator .actor-head .download-list .item-size, 
.stage-brainsimulator .actor-body .download-list .action-download, 
.stage-brainsimulator .sub-linear .action-nav mark, 
.stage-brainsimulator .action-map, 
.stage-brainsimulator .event-info .action-link.action-outlink, 
.stage-brainsimulator .help-shortcuts .action-link, 
.stage-brainsimulator .action-submit, 
.stage-brainsimulator .contribution-target-jira, 
.stage-brainsimulator .contribution-target-github, 
.stage-brainsimulator .action-subscribe, 
.stage-brainsimulator .action-twitter, 
.stage-brainsimulator .action-register {
    background-image: url("./img/back_action_brainsimulator.svg");
    background-color: #627986;
}
.stage-newswire .actor-head .download-list .item-size, 
.stage-newswire .actor-body .download-list .action-download, 
.stage-newswire .sub-linear .action-nav mark, 
.stage-newswire .action-map, 
.stage-newswire .event-info .action-link.action-outlink, 
.stage-newswire .help-shortcuts .action-link, 
.stage-newswire .action-submit, 
.stage-newswire .contribution-target-jira, 
.stage-newswire .contribution-target-github, 
.stage-newswire .action-subscribe, 
.stage-newswire .action-twitter, 
.stage-newswire .action-register {
    background-image: url("./img/back_action_newswire.svg");
    background-color: #e48120;
}
.stage-teamwork .actor-head .download-list .item-size, 
.stage-teamwork .actor-body .download-list .action-download, 
.stage-teamwork .sub-linear .action-nav mark, 
.stage-teamwork .action-map, 
.stage-teamwork .event-info .action-link.action-outlink, 
.stage-teamwork .help-shortcuts .action-link, 
.stage-teamwork .action-submit, 
.stage-teamwork .contribution-target-jira, 
.stage-teamwork .contribution-target-github, 
.stage-teamwork .action-subscribe, 
.stage-teamwork .action-twitter, 
.stage-teamwork .action-register {
    background-image: url("./img/back_action_teamwork.svg");
    background-color: #1e6158;
}

/* Change background color on hover */
.stage .actor-head .download-list .molecule:hover .item-size, 
.stage .actor-body .download-list .action-download:hover, 
.stage .sub-linear .action-nav:hover mark, 
.stage .action-map:hover, 
.stage .event-info .action-link.action-outlink:hover, 
.stage .help-shortcuts .action-link:hover, 
.stage .action-submit:hover, 
.stage .contribution-target-jira:hover, 
.stage .contribution-target-github:hover, 
.stage .action-subscribe:hover, 
.stage .action-twitter:hover, 
.stage .action-register:hover {
    color: #fff;
    background-color: #000;
    -webkit-transition: background-color 0.5s ease;
    transition: background-color 0.5s ease;
}

/* Customize hover background to DARK color */
.stage-neuroscience .actor-head .download-list .molecule:hover .item-size, 
.stage-neuroscience .actor-body .download-list .action-download:hover, 
.stage-neuroscience .sub-linear .action-nav:hover mark, 
.stage-neuroscience .action-map:hover, 
.stage-neuroscience .event-info .action-link.action-outlink:hover, 
.stage-neuroscience .help-shortcuts .action-link:hover, 
.stage-neuroscience .action-submit:hover, 
.stage-neuroscience .contribution-target-jira:hover, 
.stage-neuroscience .contribution-target-github:hover, 
.stage-neuroscience .action-subscribe:hover, 
.stage-neuroscience .action-twitter:hover, 
.stage-neuroscience .action-register:hover {
    background-color: #22511f;
}
.stage-brainsimulator .actor-head .download-list .molecule:hover .item-size, 
.stage-brainsimulator .actor-body .download-list .action-download:hover, 
.stage-brainsimulator .sub-linear .action-nav:hover mark, 
.stage-brainsimulator .action-map:hover, 
.stage-brainsimulator .event-info .action-link.action-outlink:hover, 
.stage-brainsimulator .help-shortcuts .action-link:hover, 
.stage-brainsimulator .action-submit:hover, 
.stage-brainsimulator .contribution-target-jira:hover, 
.stage-brainsimulator .contribution-target-github:hover, 
.stage-brainsimulator .action-subscribe:hover, 
.stage-brainsimulator .action-twitter:hover, 
.stage-brainsimulator .action-register:hover {
    background-color: #3b1d4d;
}
.stage-newswire .actor-head .download-list .molecule:hover .item-size, 
.stage-newswire .actor-body .download-list .action-download:hover, 
.stage-newswire .sub-linear .action-nav:hover mark, 
.stage-newswire .action-map:hover, 
.stage-newswire .event-info .action-link.action-outlink:hover, 
.stage-newswire .help-shortcuts .action-link:hover, 
.stage-newswire .action-submit:hover, 
.stage-newswire .contribution-target-jira:hover, 
.stage-newswire .contribution-target-github:hover, 
.stage-newswire .action-subscribe:hover, 
.stage-newswire .action-twitter:hover, 
.stage-newswire .action-register:hover {
    background-color: #312213;
}
.stage-teamwork .actor-head .download-list .molecule:hover .item-size, 
.stage-teamwork .actor-body .download-list .action-download:hover, 
.stage-teamwork .sub-linear .action-nav:hover mark, 
.stage-teamwork .action-map:hover, 
.stage-teamwork .event-info .action-link.action-outlink:hover, 
.stage-teamwork .help-shortcuts .action-link:hover, 
.stage-teamwork .action-submit:hover, 
.stage-teamwork .contribution-target-jira:hover, 
.stage-teamwork .contribution-target-github:hover, 
.stage-teamwork .action-subscribe:hover, 
.stage-teamwork .action-twitter:hover, 
.stage-teamwork .action-register:hover {
    background-color: #4e0a16;
}

/* --- Outer border and icon design */
.actor-head .download-list .item-size:before, 
.actor-body .download-list .action-download:before, 
.sub-linear .action-nav mark:before, 
.action-map:before, 
.event-info .action-link.action-outlink:before, 
.help-shortcuts .action-link:before, 
.action-submit:before, 
.contribution-target-jira:before, 
.contribution-target-github:before, 
.action-subscribe:before, 
.action-twitter:before, 
.action-register:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #624426;
    background-position: left 20px center;
    background-repeat: no-repeat;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    -webkit-transition: border-color 1s ease;
    transition: border-color 1s ease;
}

/* Assign specific icons */
.sub-linear .nav-next .action-nav mark:before {
    background-image: url("./img/icon_arrow_right.svg");
}

.sub-linear .nav-previous .action-nav mark:before {
    background-image: url("./img/icon_arrow_left.svg");
}

.actor-head .download-list .item-size:before { 
    background-image: url("./img/icon_download.svg");
    background-position: center bottom 15px;
}

.actor-body .download-list .action-download:before { 
    background-image: url("./img/icon_download.svg");
    background-position: left 10px center;
}

.action-subscribe:before { 
    background-image: url("./img/icon_rss.svg");
}

.action-twitter:before { 
    background-image: url("./img/icon_twitter.svg");
}

.action-map:before { 
    background-image: url("./img/icon_map.svg");
}

.event-info .action-link.action-outlink:before { 
    background-image: url("./img/icon_globe.svg");
}

.action-register:before { 
    background-image: url("./img/icon_tickets.svg");
}

.help-shortcuts .shortcut-docs .action-link:before { 
    background-image: url("./img/icon_lightbulb.svg");
}

.help-shortcuts .shortcut-forum .action-link:before { 
    background-image: url("./img/icon_speech.svg");
}

.help-shortcuts .shortcut-source .action-link:before { 
    background-image: url("./img/icon_code_github.svg");
}

.contribution-target-jira:before { 
    background-image: url("./img/icon_code_jira.svg");
    background-position: left 15px center;
}

.contribution-target-github:before { 
    background-image: url("./img/icon_code_github.svg");
    background-position: left 12px center;
}

/* Customize border to BASE color */
.stage-neuroscience .actor-head .download-list .item-size:before, 
.stage-neuroscience .actor-body .download-list .action-download:before, 
.stage-neuroscience .sub-linear .action-nav mark:before, 
.stage-neuroscience .action-map:before, 
.stage-neuroscience .event-info .action-link.action-outlink:before, 
.stage-neuroscience .help-shortcuts .action-link:before, 
.stage-neuroscience .action-submit:before, 
.stage-neuroscience .contribution-target-jira:before, 
.stage-neuroscience .contribution-target-github:before, 
.stage-neuroscience .action-subscribe:before, 
.stage-neuroscience .action-twitter:before, 
.stage-neuroscience .action-register:before {
    border-color: #43a13d;
}
.stage-brainsimulator .actor-head .download-list .item-size:before, 
.stage-brainsimulator .actor-body .download-list .action-download:before, 
.stage-brainsimulator .sub-linear .action-nav mark:before, 
.stage-brainsimulator .action-map:before, 
.stage-brainsimulator .event-info .action-link.action-outlink:before, 
.stage-brainsimulator .help-shortcuts .action-link:before, 
.stage-brainsimulator .action-submit:before, 
.stage-brainsimulator .contribution-target-jira:before, 
.stage-brainsimulator .contribution-target-github:before, 
.stage-brainsimulator .action-subscribe:before, 
.stage-brainsimulator .action-twitter:before, 
.stage-brainsimulator .action-register:before {
    border-color: #662d91;
}
.stage-newswire .actor-head .download-list .item-size:before, 
.stage-newswire .actor-body .download-list .action-download:before, 
.stage-newswire .sub-linear .action-nav mark:before, 
.stage-newswire .action-map:before, 
.stage-newswire .event-info .action-link.action-outlink:before, 
.stage-newswire .help-shortcuts .action-link:before, 
.stage-newswire .action-submit:before, 
.stage-newswire .contribution-target-jira:before, 
.stage-newswire .contribution-target-github:before, 
.stage-newswire .action-subscribe:before, 
.stage-newswire .action-twitter:before, 
.stage-newswire .action-register:before {
    border-color: #624426;
}
.stage-teamwork .actor-head .download-list .item-size:before, 
.stage-teamwork .actor-body .download-list .action-download:before, 
.stage-teamwork .sub-linear .action-nav mark:before, 
.stage-teamwork .action-map:before, 
.stage-teamwork .event-info .action-link.action-outlink:before, 
.stage-teamwork .help-shortcuts .action-link:before, 
.stage-teamwork .action-submit:before, 
.stage-teamwork .contribution-target-jira:before, 
.stage-teamwork .contribution-target-github:before, 
.stage-teamwork .action-subscribe:before, 
.stage-teamwork .action-twitter:before, 
.stage-teamwork .action-register:before {
    border-color: #9c132c;
}

/* Change border color on hover */
.actor-head .download-list .molecule:hover .item-size:before, 
.actor-body .download-list .action-download:hover:before, 
.sub-linear .action-nav:hover mark:before, 
.action-map:hover:before, 
.event-info .action-link.action-outlink:hover:before, 
.help-shortcuts .action-link:hover:before, 
.action-submit:hover:before, 
.contribution-target-jira:hover:before, 
.contribution-target-github:hover:before, 
.action-subscribe:hover:before, 
.action-twitter:hover:before, 
.action-register:hover:before {
    border-color: #E48120;
    -webkit-transition: border-color 0.5s ease;
    transition: border-color 0.5s ease;
}

/* Customize hover border to ACCENT color */
.stage-neuroscience .actor-head .download-list .molecule:hover .item-size:before, 
.stage-neuroscience .actor-body .download-list .action-download:hover:before, 
.stage-neuroscience .sub-linear .action-nav:hover mark:before, 
.stage-neuroscience .action-map:hover:before, 
.stage-neuroscience .event-info .action-link.action-outlink:hover:before, 
.stage-neuroscience .help-shortcuts .action-link:hover:before, 
.stage-neuroscience .action-submit:hover:before, 
.stage-neuroscience .contribution-target-jira:hover:before, 
.stage-neuroscience .contribution-target-github:hover:before, 
.stage-neuroscience .action-subscribe:hover:before, 
.stage-neuroscience .action-twitter:hover:before, 
.stage-neuroscience .action-register:hover:before {
    border-color: #cd4422;
}
.stage-brainsimulator .actor-head .download-list .molecule:hover .item-size:before, 
.stage-brainsimulator .actor-body .download-list .action-download:hover:before, 
.stage-brainsimulator .sub-linear .action-nav:hover mark:before, 
.stage-brainsimulator .action-map:hover:before, 
.stage-brainsimulator .event-info .action-link.action-outlink:hover:before, 
.stage-brainsimulator .help-shortcuts .action-link:hover:before, 
.stage-brainsimulator .action-submit:hover:before, 
.stage-brainsimulator .contribution-target-jira:hover:before, 
.stage-brainsimulator .contribution-target-github:hover:before, 
.stage-brainsimulator .action-subscribe:hover:before, 
.stage-brainsimulator .action-twitter:hover:before, 
.stage-brainsimulator .action-register:hover:before {
    border-color: #627986;
}
.stage-newswire .actor-head .download-list .molecule:hover .item-size:before, 
.stage-newswire .actor-body .download-list .action-download:hover:before, 
.stage-newswire .sub-linear .action-nav:hover mark:before, 
.stage-newswire .action-map:hover:before, 
.stage-newswire .event-info .action-link.action-outlink:hover:before, 
.stage-newswire .help-shortcuts .action-link:hover:before, 
.stage-newswire .action-submit:hover:before, 
.stage-newswire .contribution-target-jira:hover:before, 
.stage-newswire .contribution-target-github:hover:before, 
.stage-newswire .action-subscribe:hover:before, 
.stage-newswire .action-twitter:hover:before, 
.stage-newswire .action-register:hover:before {
    border-color: #e48120;
}
.stage-teamwork .actor-head .download-list .molecule:hover .item-size:before, 
.stage-teamwork .actor-body .download-list .action-download:hover:before, 
.stage-teamwork .sub-linear .action-nav:hover mark:before, 
.stage-teamwork .action-map:hover:before, 
.stage-teamwork .event-info .action-link.action-outlink:hover:before, 
.stage-teamwork .help-shortcuts .action-link:hover:before, 
.stage-teamwork .action-submit:hover:before, 
.stage-teamwork .contribution-target-jira:hover:before, 
.stage-teamwork .contribution-target-github:hover:before, 
.stage-teamwork .action-subscribe:hover:before, 
.stage-teamwork .action-twitter:hover:before, 
.stage-teamwork .action-register:hover:before {
    border-color: #1e6158;
}

/* --- Cut-off right border */
.actor-head .download-list .item-size:after, 
.actor-body .download-list .action-download:after, 
.sub-linear .action-nav mark:after, 
.action-map:after, 
.event-info .action-link.action-outlink:after, 
.help-shortcuts .action-link:after, 
.action-submit:after, 
.contribution-target-jira:after, 
.contribution-target-github:after, 
.action-subscribe:after, 
.action-twitter:after, 
.action-register:after {
    content: "";
    display: block;
    position: absolute;
    right: -23px;
    bottom: -16px;
    background-color: #fff;
    border: 1px solid #624426;
    width: 30px;
    height: 30px;
    -webkit-transform: rotateZ(40deg);
    transform: rotateZ(40deg);
    -webkit-transition: border-color 1s ease;
    transition: border-color 1s ease;
}

/* Customize border to BASE color */
.stage-neuroscience .actor-head .download-list .item-size:after, 
.stage-neuroscience .actor-body .download-list .action-download:after, 
.stage-neuroscience .sub-linear .action-nav mark:after, 
.stage-neuroscience .action-map:after, 
.stage-neuroscience .event-info .action-link.action-outlink:after, 
.stage-neuroscience .help-shortcuts .action-link:after, 
.stage-neuroscience .action-submit:after, 
.stage-neuroscience .contribution-target-jira:after, 
.stage-neuroscience .contribution-target-github:after, 
.stage-neuroscience .action-subscribe:after, 
.stage-neuroscience .action-twitter:after, 
.stage-neuroscience .action-register:after {
    border-color: #43a13d;
}
.stage-brainsimulator .actor-head .download-list .item-size:after, 
.stage-brainsimulator .actor-body .download-list .action-download:after, 
.stage-brainsimulator .sub-linear .action-nav mark:after, 
.stage-brainsimulator .action-map:after, 
.stage-brainsimulator .event-info .action-link.action-outlink:after, 
.stage-brainsimulator .help-shortcuts .action-link:after, 
.stage-brainsimulator .action-submit:after, 
.stage-brainsimulator .contribution-target-jira:after, 
.stage-brainsimulator .contribution-target-github:after, 
.stage-brainsimulator .action-subscribe:after, 
.stage-brainsimulator .action-twitter:after, 
.stage-brainsimulator .action-register:after {
    border-color: #662d91;
}
.stage-newswire .actor-head .download-list .item-size:after, 
.stage-newswire .actor-body .download-list .action-download:after, 
.stage-newswire .sub-linear .action-nav mark:after, 
.stage-newswire .action-map:after, 
.stage-newswire .event-info .action-link.action-outlink:after, 
.stage-newswire .help-shortcuts .action-link:after, 
.stage-newswire .action-submit:after, 
.stage-newswire .contribution-target-jira:after, 
.stage-newswire .contribution-target-github:after, 
.stage-newswire .action-subscribe:after, 
.stage-newswire .action-twitter:after, 
.stage-newswire .action-register:after {
    border-color: #624426;
}
.stage-teamwork .actor-head .download-list .item-size:after, 
.stage-teamwork .actor-body .download-list .action-download:after, 
.stage-teamwork .sub-linear .action-nav mark:after, 
.stage-teamwork .action-map:after, 
.stage-teamwork .event-info .action-link.action-outlink:after, 
.stage-teamwork .help-shortcuts .action-link:after, 
.stage-teamwork .action-submit:after, 
.stage-teamwork .contribution-target-jira:after, 
.stage-teamwork .contribution-target-github:after, 
.stage-teamwork .action-subscribe:after, 
.stage-teamwork .action-twitter:after, 
.stage-teamwork .action-register:after {
    border-color: #9c132c;
}

/* Change border color on hover */
.actor-head .download-list .molecule:hover .item-size:after, 
.actor-body .download-list .action-download:hover:after, 
.sub-linear .action-nav:hover mark:after, 
.action-map:hover:after, 
.event-info .action-link.action-outlink:hover:after, 
.help-shortcuts .action-link:hover:after, 
.action-submit:hover:after, 
.contribution-target-jira:hover:after, 
.contribution-target-github:hover:after, 
.action-subscribe:hover:after, 
.action-twitter:hover:after, 
.action-register:hover:after {
    border-color: #E48120;
    -webkit-transition: border-color 0.5s ease;
    transition: border-color 0.5s ease;
}

/* Customize hover border to ACCENT color */
.stage-neuroscience .actor-head .download-list .molecule:hover .item-size:after, 
.stage-neuroscience .actor-body .download-list .action-download:hover:after, 
.stage-neuroscience .sub-linear .action-nav:hover mark:after, 
.stage-neuroscience .action-map:hover:after, 
.stage-neuroscience .event-info .action-link.action-outlink:hover:after, 
.stage-neuroscience .help-shortcuts .action-link:hover:after, 
.stage-neuroscience .action-submit:hover:after, 
.stage-neuroscience .contribution-target-jira:hover:after, 
.stage-neuroscience .contribution-target-github:hover:after, 
.stage-neuroscience .action-subscribe:hover:after, 
.stage-neuroscience .action-twitter:hover:after, 
.stage-neuroscience .action-register:hover:after {
    border-color: #cd4422;
}
.stage-brainsimulator .actor-head .download-list .molecule:hover .item-size:after, 
.stage-brainsimulator .actor-body .download-list .action-download:hover:after, 
.stage-brainsimulator .sub-linear .action-nav:hover mark:after, 
.stage-brainsimulator .action-map:hover:after, 
.stage-brainsimulator .event-info .action-link.action-outlink:hover:after, 
.stage-brainsimulator .help-shortcuts .action-link:hover:after, 
.stage-brainsimulator .action-submit:hover:after, 
.stage-brainsimulator .contribution-target-jira:hover:after, 
.stage-brainsimulator .contribution-target-github:hover:after, 
.stage-brainsimulator .action-subscribe:hover:after, 
.stage-brainsimulator .action-twitter:hover:after, 
.stage-brainsimulator .action-register:hover:after {
    border-color: #627986;
}
.stage-newswire .actor-head .download-list .molecule:hover .item-size:after, 
.stage-newswire .actor-body .download-list .action-download:hover:after, 
.stage-newswire .sub-linear .action-nav:hover mark:after, 
.stage-newswire .action-map:hover:after, 
.stage-newswire .event-info .action-link.action-outlink:hover:after, 
.stage-newswire .help-shortcuts .action-link:hover:after, 
.stage-newswire .action-submit:hover:after, 
.stage-newswire .contribution-target-jira:hover:after, 
.stage-newswire .contribution-target-github:hover:after, 
.stage-newswire .action-subscribe:hover:after, 
.stage-newswire .action-twitter:hover:after, 
.stage-newswire .action-register:hover:after {
    border-color: #e48120;
}
.stage-teamwork .actor-head .download-list .molecule:hover .item-size:after, 
.stage-teamwork .actor-body .download-list .action-download:hover:after, 
.stage-teamwork .sub-linear .action-nav:hover mark:after, 
.stage-teamwork .action-map:hover:after, 
.stage-teamwork .event-info .action-link.action-outlink:hover:after, 
.stage-teamwork .help-shortcuts .action-link:hover:after, 
.stage-teamwork .action-submit:hover:after, 
.stage-teamwork .contribution-target-jira:hover:after, 
.stage-teamwork .contribution-target-github:hover:after, 
.stage-teamwork .action-subscribe:hover:after, 
.stage-teamwork .action-twitter:hover:after, 
.stage-teamwork .action-register:hover:after {
    border-color: #1e6158;
}

/* !-------------------------------------------- */
/* !COMPONENT: Triangular zoom buttons */
/* !-------------------------------------------- */

.action-zoom:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: -40px;
    width: 0;
    height: 0;
    border: 40px solid transparent;
    border-top-color: #000;
    color: #fff;
    -webkit-transition: border 1s ease;
    transition: border 1s ease;
}

.action-zoom:before {
    -webkit-transition: border 0.5s ease;
    transition: border 0.5s ease;
}

.stage-neuroscience .action-zoom:before {
    border-top-color: #43a13d;
}
.stage-brainsimulator .action-zoom:before {
    border-top-color: #662d91;
}
.stage-newswire .action-zoom:before {
    border-top-color: #624426;
}
.stage-teamwork .action-zoom:before {
    border-top-color: #9c132c;
}

.stage-neuroscience .action-zoom:hover:before {
    border-top-color: #22511f;
}
.stage-brainsimulator .action-zoom:hover:before {
    border-top-color: #3b1d4d;
}
.stage-newswire .action-zoom:hover:before {
    border-top-color: #312213;
}
.stage-teamwork .action-zoom:hover:before {
    border-top-color: #4e0a16;
}

.action-zoom:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: -40px;
    width: 80px;
    height: 40px;
    background: url("./img/icon_zoom.svg") center 4px no-repeat;
}

/* !-------------------------------------------- */
/* !COMPONENT: Striped headlines */
/* !-------------------------------------------- */

.substance-stripehead {
    font-family: "aktiv-grotesk";
    font-weight: bold;
    font-size: 16px;
    letter-spacing: -0.0625em;
    line-height: 1;
}

.substance-stripehead p {
    width: auto;
    display: inline;
    background: #000;
    color: #fff;
    float: left;
}

.substance-stripehead p + p {
    clear: left;
}

.substance-stripehead:after {
    content: "";
    display: block;
    clear: left;
}

.stage-home .substance-stripehead p {
    background-color: rgba(255,255,255,0.9);
    color: inherit; /* This use case implies a surrounding .action link */
}
.stage-neuroscience .substance-stripehead p {
    background-color: rgba(205,68,34,0.9);
}
.stage-brainsimulator .substance-stripehead p {
    background-color: rgba(98,121,134,0.9);
}
.stage-newswire .substance-stripehead p {
    background-color: rgba(228,129,32,0.9);
}
.stage-teamwork .substance-stripehead p {
    background-color: rgba(30,97,88,0.9);
}


/* !-------------------------------------------- */
/* !COMPONENT: Image opener for content */
/* !-------------------------------------------- */

/* --- Standard opener */
.substance-opener {
    height: 280px;
    position: relative;
    background: #aaa center center no-repeat;
    background-size: cover;
}

.substance-opener .substance-stripehead {
    font-size: 38px;
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 5;
}

.substance-opener .substance-stripehead p {
}

/* --- Compact opener with less height */
.substance-opener.opener-compact {
    height: 162px;
}

.substance-opener.opener-compact .substance-stripehead {
    font-size: 28px;
}

.substance-opener.opener-compact .substance-stripehead p {
}

/* --- Crossing lines background */
/* needs special application for blog pages in blog.css */
.substance-opener:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent url("./img/back_header_lines.svg") 0 0 no-repeat;
    z-index: 1;
}

/* !-------------------------------------------- */
/* !COMPONENT: Image lists */
/* !-------------------------------------------- */

/* --- Standard vertical list with visible captions */
.substance-imagelist .image-item {
    margin-bottom: 20px;
    position: relative;
    border: 1px solid #000;
    text-align: center;
}

.stage-neuroscience .substance-imagelist .image-item {
    border-color: #cd4422;
}
.stage-brainsimulator .substance-imagelist .image-item {
    border-color: #627986;
}
.stage-newswire .substance-imagelist .image-item {
    border-color: #e48120;
}
.stage-teamwork .substance-imagelist .image-item {
    border-color: #1e6158;
}

/* Image */
.substance-imagelist .image-item img {
    height: auto;
    width: 100%;
    display: block;
}

/* Zoom button */
.substance-imagelist .action-zoom {
    width: 100%;
    height: 100%;
}

.substance-imagelist .action-zoom:before {
    top: -1px;
    right: -41px;
}

/* Image caption */
.substance-imagelist .image-caption {
    position: relative;
    font-family: "aktiv-grotesk";
    text-align: left;
    background: #333;
    color: #fff;
    padding: 5px 5px 0 5px;
    border-bottom: 5px solid #fff;
    line-height: 1.3em;
    max-height: calc(3 * 1.3em - -5px);
    overflow: hidden;
}

.stage-neuroscience .substance-imagelist .image-caption {
    background-color: #cd4422;
    border-color: #cd4422;
}
.stage-brainsimulator .substance-imagelist .image-caption {
    background-color: #627986;
    border-color: #627986;
}
.stage-newswire .substance-imagelist .image-caption {
    background-color: #e48120;
    border-color: #e48120;
}
.stage-teamwork .substance-imagelist .image-caption {
    background-color: #1e6158;
    border-color: #1e6158;
}

.substance-imagelist .image-caption:after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    top: calc(2 * 1.3em - -5px);
    width: 50%;
    height: 1.3em;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, #fff 90%);
}

.stage-neuroscience .substance-imagelist .image-caption:after {
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, #cd4422 90%);
}
.stage-brainsimulator .substance-imagelist .image-caption:after {
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, #627986 90%);
}
.stage-newswire .substance-imagelist .image-caption:after {
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, #e48120 90%);
}
.stage-teamwork .substance-imagelist .image-caption:after {
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, #1e6158 90%);
}

/* --- Matrix stream for gallery pages */
.substance-imagelist.imagelist-stream {
    background-color: #ddd;
    background-image: linear-gradient(transparent 160px, #fff 160px);
    background-size: 165px 165px;
}

.stage-neuroscience .substance-imagelist.imagelist-stream {
    background-color: rgba(205,68,34,0.1);
}
.stage-brainsimulator .substance-imagelist.imagelist-stream {
    background-color: rgba(98,121,134,0.1);
}
.stage-newswire .substance-imagelist.imagelist-stream {
    background-color: rgba(228,129,32,0.1);
}
.stage-teamwork .substance-imagelist.imagelist-stream {
    background-color: rgba(30,97,88,0.1);
}

.substance-imagelist.imagelist-stream:after {
    content: "";
    display: block;
    clear: left;
}

.substance-imagelist.imagelist-stream .image-item {
    float: left;
    height: 160px; /* MAGIC NUMBER */
    margin: 0 0 5px 0;
    overflow: hidden;
    padding-right: 5px;
    background: #fff;
    border: none;
}

.substance-imagelist.imagelist-stream img {
    height: 100%;
    width: auto;
}

.substance-imagelist.imagelist-stream .action-zoom:before, 
.substance-imagelist.imagelist-stream .action-zoom:after {
    left: 50%;
    margin-left: -40px;
    top: -40px;
    -webkit-transition: top 1s ease;
    transition: top 1s ease;
}

.substance-imagelist.imagelist-stream .action-zoom:hover:before, 
.substance-imagelist.imagelist-stream .action-zoom:hover:after {
    top: 0;
    -webkit-transition: top 0.5s ease;
    transition: top 0.5s ease;
}

.substance-imagelist.imagelist-stream .image-caption {
    position: absolute;
    left: 5px;
    right: 10px;
    bottom: -160px;
    z-index: 5;
    -webkit-transition: bottom 0.7s ease;
    transition: bottom 0.7s ease;
}

.substance-imagelist.imagelist-stream .image-item:hover .image-caption {
    bottom: 5px;
    -webkit-transition: bottom 0.3s ease;
    transition: bottom 0.3s ease;
}

/* !-------------------------------------------- */
/* !COMPONENT: Calendar sheet */
/* !-------------------------------------------- */

/* --- Box layout */
.substance-calendar {
    position: relative;
    width: 65px;
    height: 55px;
    background: transparent url("./img/back_calendar_sheet.svg") 0 0 no-repeat;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

/* --- Month */
.substance-calendar .sheet-start-month {
    display: inline;
    text-transform: uppercase;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    visibility: hidden;
}

.substance-calendar .sheet-start-month mark {
    display: block;
    background: none;
    color: #313d43;
    visibility: visible;
}

/* --- Day */
.substance-calendar .sheet-start-day {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    color: #313d43;
    font-size: 28px;
}

/* --- Year */
.substance-calendar .sheet-start-year {
    position: absolute;
    width: 100%;
    bottom: -30px;
    left: 0;
    color: #313d43;
    display: none;
}

.zwei-blog-list .substance-calendar .sheet-start-year, 
.stage-brainsimulator .substance-calendar .sheet-start-year {
    display: block;
    bottom: -25px;
}

/* --- Future and special dates set by outside conditions */
.stage-home .event-time-future .substance-calendar {
    background-image: url("./img/back_calendar_sheet_focus_home.svg");
}
.stage-neuroscience .event-time-future .substance-calendar {
}
.stage-brainsimulator .release-internal .substance-calendar, 
.stage-brainsimulator .event-time-future .substance-calendar {
    background-image: url("./img/back_calendar_sheet_focus_brainsimulator.svg");
}
.stage-newswire .event-time-future .substance-calendar {
    background-image: url("./img/back_calendar_sheet_focus_newswire.svg");
}
.stage-teamwork .event-time-future .substance-calendar {
}

.stage-home .event-time-future .substance-calendar .sheet-start-day, 
.stage-home .event-time-future .substance-calendar .sheet-start-month mark {
    color: #2566aa;
}
.stage-neuroscience .event-time-future .substance-calendar .sheet-start-day, 
.stage-neuroscience .event-time-future .substance-calendar .sheet-start-month mark {
    color: #cd4422;
}
.stage-brainsimulator .release-internal .substance-calendar .sheet-start-day, 
.stage-brainsimulator .release-internal .substance-calendar .sheet-start-month mark, 
.stage-brainsimulator .release-internal .substance-calendar .sheet-start-year, 
.stage-brainsimulator .event-time-future .substance-calendar .sheet-start-day, 
.stage-brainsimulator .event-time-future .substance-calendar .sheet-start-month mark {
    color: #627986;
}
.stage-newswire .event-time-future .substance-calendar .sheet-start-day, 
.stage-newswire .event-time-future .substance-calendar .sheet-start-month mark {
    color: #e48120;
}
.stage-teamwork .event-time-future .substance-calendar .sheet-start-day, 
.stage-teamwork .event-time-future .substance-calendar .sheet-start-month mark {
    color: #1e6158;
}

/* --- Sheets within Opener containers */
.stage.zwei-blog-entry .substance-calendar, 
.stage .substance-opener .substance-calendar {
    background-image: url("./img/back_calendar_sheet_opener.svg");
}

.stage.zwei-blog-entry .substance-calendar .sheet-start-day, 
.stage.zwei-blog-entry .substance-calendar .sheet-start-month mark, 
.stage .substance-opener .substance-calendar .sheet-start-day, 
.stage .substance-opener .substance-calendar .sheet-start-month mark {
    color: #fff;
}

.stage.zwei-blog-entry .substance-calendar .sheet-start-year, 
.stage .substance-opener .substance-calendar .sheet-start-year {
    color: #fff;
    display: block;
}

/* --- Exceptional, prominent dates set by outside conditions */
.stage .release-current .substance-calendar, 
.stage .event-type-tvb .substance-calendar {
    background-image: url("./img/back_calendar_sheet_tvb.svg");
}

.stage .release-current .substance-calendar .sheet-start-day, 
.stage .release-current .substance-calendar .sheet-start-month mark, 
.stage .event-type-tvb .substance-calendar .sheet-start-day, 
.stage .event-type-tvb .substance-calendar .sheet-start-month mark {
    color: #fff;
}

/* !-------------------------------------------- */
/* !COMPONENT: Event lists */
/* !-------------------------------------------- */

/* --- List container */
.substance-eventlist {
    margin-bottom: 1.4em;
}

.substance-eventlist h3 {
    font-family: "aktiv-grotesk";
    font-weight: bold;
    margin-bottom: 0.7em;
    padding-bottom: 0.2em;
    color: #000;
    border-bottom: 2px solid #000;
}

.stage-home .substance-eventlist h3 {
    color: #2566aa;
    border-color: #2566aa;
}
.stage-neuroscience .substance-eventlist h3 {
    color: #cd4422;
    border-color: #cd4422;
}
.stage-brainsimulator .substance-eventlist h3 {
    color: #627986;
    border-color: #627986;
}
.stage-newswire .substance-eventlist h3 {
    color: #e48120;
    border-color: #e48120;
}
.stage-teamwork .substance-eventlist h3 {
    color: #1e6158;
    border-color: #1e6158;
}

/* --- Entry container */
.substance-eventlist.event-format-rich .event-item {
    position: relative;
    padding-left: 85px;
    margin-bottom: 1.4em;
    min-height: 58px;
    max-height: 97px;
    overflow: hidden;
}

.substance-eventlist.event-format-rich .item-date {
    position: absolute;
    top: 0;
    left: 0;
}

/* --- Entry attributes */
.substance-eventlist .item-summary {
    font-family: "aktiv-grotesk";
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0.3em;
    color: inherit; /* this should be the .action link color */
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Run-in text for date span (only multi-day events) */
.substance-eventlist .item-datespan {
    font-family: "aktiv-grotesk";
    display: inline;
    float: left;
    line-height: 1;
}

.substance-eventlist .item-datespan:after {
    content: ", ";
    padding-right: 0.2em;
}

/* Run-in text for location */
.substance-eventlist .item-location {
    font-family: "aktiv-grotesk";
    display: inline;
    float: left;
    line-height: 1;
}

.substance-eventlist .item-location:after {
    content: ": ";
    padding-right: 0.2em;
}

/* Teaser description */
.substance-eventlist .item-description {
    color: #313d43;
}

.substance-eventlist .item-description:after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 1.3em;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, #ffffff 100%);
}

/* --- Compact event lists */
.substance-eventlist.event-format-compact .event-type-tvb {
    padding-left: 27px;
    background: url('./img/back_calendar_sheet_tvb.svg') -19px top no-repeat;
    background-size: 36px;
}

.substance-eventlist.event-format-compact .item-summary {
    font-weight: normal;
    font-size: 14px;
}

.substance-eventlist.event-format-compact .item-date {
    color: #313d43;
    font-size: 14px;
}

.substance-eventlist.event-format-compact .event-item {
    margin-bottom: 0.7em;
    font-size: 14px;
}

/* !-------------------------------------------- */
/* !COMPONENT: Company address */
/* !-------------------------------------------- */

.substance-company {
    line-height: 1.3em;
}

.substance-company .company-name {
    font-weight: bold;
    margin-bottom: 0.7em;
}

.substance-company .company-address {
    margin-bottom: 0.7em;
}

.substance-company .company-communication {
    margin-bottom: 0.7em;
}

/* !-------------------------------------------- */
/* !COMPONENT: Buttons for websites and emails */
/* !-------------------------------------------- */

.company-communication .action-outlink.action-link, 
.company-communication .action-outlink.action-email {
    display: inline-block;
    position: relative;
    height: 40px;
    width: 40px;
    overflow: hidden;
    text-indent: -1000em;
    background: #000;
    -webkit-transition: background-color 1s ease;
    transition: background-color 1s ease;
}

.company-communication .action-outlink.action-link:hover, 
.company-communication .action-outlink.action-email:hover {
    -webkit-transition: background-color 0.5s ease;
    transition: background-color 0.5s ease;
}

.stage-neuroscience .company-communication .action-outlink.action-link, 
.stage-neuroscience .company-communication .action-outlink.action-email {
    background: rgba(67,161,61,0.9);
}
.stage-brainsimulator .company-communication .action-outlink.action-link, 
.stage-brainsimulator .company-communication .action-outlink.action-email {
    background: rgba(102,45,145,0.9);
}
.stage-newswire .company-communication .action-outlink.action-link, 
.stage-newswire .company-communication .action-outlink.action-email {
    background: rgba(98,68,38,0.9);
}
.stage-teamwork .company-communication .action-outlink.action-link, 
.stage-teamwork .company-communication .action-outlink.action-email {
    background: rgba(156,19,44,0.9);
}

.stage-neuroscience .company-communication .action-outlink.action-link:hover, 
.stage-neuroscience .company-communication .action-outlink.action-email:hover {
    background: rgb(34,81,31);
}
.stage-brainsimulator .company-communication .action-outlink.action-link:hover, 
.stage-brainsimulator .company-communication .action-outlink.action-email:hover {
    background: rgb(59,29,77);
}
.stage-newswire .company-communication .action-outlink.action-link:hover, 
.stage-newswire .company-communication .action-outlink.action-email:hover {
    background: rgb(49,34,19);
}
.stage-teamwork .company-communication .action-outlink.action-link:hover, 
.stage-teamwork .company-communication .action-outlink.action-email:hover {
    background: rgb(78,10,22);
}

.company-communication .action-outlink.action-link:before, 
.company-communication .action-outlink.action-email:before {
    font-family: "aktiv-grotesk";
    font-weight: bold;
    color: #fff;
    content: "www";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 40px;
    text-align: center;
    text-indent: 0;
}

.company-communication .action-outlink.action-email:before {
    content: "@";
    font-size: 150%;
}

/* !-------------------------------------------- */
/* !COMPONENT: Video containers */
/* !-------------------------------------------- */

.substance-video {
    background: #DCDBDA;
    padding: 0 0 56.25% 0;
    overflow: hidden;
    position: relative;
}

/* --- Video scaling inside container */
.substance-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* !-------------------------------------------- */
/* !COMPONENT: Rich structured text */
/* !-------------------------------------------- */

/* --- General formatting */
/* We rely on font-size being set outside */
.item-structured {
    line-height: 1.3em;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

/* --- Headlines */
.item-structured h1, 
.item-structured h2, 
.item-structured h3, 
.item-structured h4, 
.item-structured h5 {
    font-family: "aktiv-grotesk";
    font-size: inherit;
    margin: 2em 0 0.7em 0;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

.item-structured h1:first-child, 
.item-structured h2:first-child, 
.item-structured h3:first-child, 
.item-structured h4:first-child, 
.item-structured h5:first-child {
    margin-top: 0;
}

.item-structured h1 + h2, 
.item-structured h2 + h3, 
.item-structured h3 + h4, 
.item-structured h4 + h5 {
    margin-top: 0; 
}

.stage-home .item-structured h1, 
.stage-home .item-structured h2, 
.stage-home .item-structured h3, 
.stage-home .item-structured h4, 
.stage-home .item-structured h5 {
    color: #2566aa;
}

.stage-neuroscience .item-structured h1, 
.stage-neuroscience .item-structured h2, 
.stage-neuroscience .item-structured h3, 
.stage-neuroscience .item-structured h4, 
.stage-neuroscience .item-structured h5 {
    color: #cd4422;
}

.stage-brainsimulator .item-structured h1, 
.stage-brainsimulator .item-structured h2, 
.stage-brainsimulator .item-structured h3, 
.stage-brainsimulator .item-structured h4, 
.stage-brainsimulator .item-structured h5 {
    color: #627986;
}

.stage-newswire .item-structured h1, 
.stage-newswire .item-structured h2, 
.stage-newswire .item-structured h3, 
.stage-newswire .item-structured h4, 
.stage-newswire .item-structured h5 {
    color: #e48120;
}

.stage-teamwork .item-structured h1, 
.stage-teamwork .item-structured h2, 
.stage-teamwork .item-structured h3, 
.stage-teamwork .item-structured h4, 
.stage-teamwork .item-structured h5 {
    color: #1e6158;
}

/* Flattening needs to override some rules from blog.css which select with #zwei_content */
.stage .item-structured.structtext-flattened h1, 
.stage .item-structured.structtext-flattened h2, 
.stage .item-structured.structtext-flattened h3, 
.stage .item-structured.structtext-flattened h4, 
.stage .item-structured.structtext-flattened h5 {
    font-family: inherit !important;
    font-size: inherit !important;
    color: inherit;
    font-weight: normal;
    display: inline;
    margin: 0;
}

/* --- Paragraphs + emphasis */
.item-structured p {
    margin-bottom: 1.0em;
}

.item-structured.structtext-flattened p, 
.item-structured.structtext-flattened li p {
    display: inline;
}

.item-structured.structtext-flattened p:after {
    content: "";
}

.item-structured em {
    font-style: normal;
    font-weight: bold;
}

.item-structured.structtext-flattened em {
    font-weight: normal;
}

.item-structured strong {
    font-style: italic;
    font-weight: bold;
}

.stage-home .item-structured strong {
    color: #2566aa;
}
.stage-neuroscience .item-structured strong {
    color: #cd4422;
}
.stage-brainsimulator .item-structured strong {
    color: #627986;
}
.stage-newswire .item-structured strong {
    color: #e48120;
}
.stage-teamwork .item-structured strong {
    color: #1e6158;
}

.item-structured.structtext-flattened strong {
    color: inherit;
    font-style: normal;
    font-weight: normal;
}

/* --- Embedded links */
.item-structured a {
    display: inline;
    font-weight: normal;
    text-decoration: none;
    color: #313d43;
    -webkit-transition: color 1s ease;
    transition: color 1s ease;
}

.stage-home .item-structured a {
    color: #2d86b1;
}
.stage-neuroscience .item-structured a {
    color: #43a13d;
}
.stage-brainsimulator .item-structured a {
    color: #662d91;
}
.stage-newswire .item-structured a {
    color: #624426;
}
.stage-teamwork .item-structured a {
    color: #9c132c;
}

.item-structured a:before {
    content: "\2192 \00a0";
    color: inherit;
    white-space: nowrap;
}

.item-structured a:hover {
    color: #000;
    -webkit-transition: color 0.5s ease;
    transition: color 0.5s ease;
}

.stage-home .item-structured a:hover {
    color: #184343;
}
.stage-neuroscience .item-structured a:hover {
    color: #22511f;
}
.stage-brainsimulator .item-structured a:hover {
    color: #3b1d4d;
}
.stage-newswire .item-structured a:hover {
    color: #312213;
}
.stage-teamwork .item-structured a:hover {
    color: #4e0a16;
}

.item-structured.structtext-flattened a, 
.item-structured.structtext-flattened a:hover {
    color: inherit;
}

.item-structured.structtext-flattened a:before {
    content: "";
}

/* --- Bullet lists */
/* Containers */
.item-structured li {
    margin-bottom: 0.6em;
    position: relative;
    padding-left: 15px;
}

.item-structured li:last-child {
    margin-bottom: 1.0em;
}

.item-structured.structtext-flattened ul, 
.item-structured.structtext-flattened li {
    margin: 0;
    padding: 0;
    display: inline;
}

/* Paragraphs within lists */
.item-structured li p {
    margin-bottom: 0.2em;
}

/* Bullet icon */
.item-structured li:before {
    content: "";
    display: block;
    position: absolute;
    top: 0.35em;
    left: 0;
    height: 5px;
    width: 5px;
    border-radius: 50%;
    background-color: #313d43;
}

.item-structured.structtext-flattened li:before {
    display: none;
}

.item-structured.structtext-flattened li:after {
    content: ", ";
}

.stage-home .item-structured li:before {
    background-color: #2566aa;
}
.stage-neuroscience .item-structured li:before {
    background-color: #cd4422;
}
.stage-brainsimulator .item-structured li:before {
    background-color: #627986;
}
.stage-newswire .item-structured li:before {
    background-color: #e48120;
}
.stage-teamwork .item-structured li:before {
    background-color: #1e6158;
}

/* --- Quotations */
.item-structured blockquote {
    margin: 1.0em 0 1.0em 0;
    padding: 0px 0px 0px 15px;
    border-left: 4px solid #313d43;
}

.item-structured.structtext-flattened blockquote {
    margin: 0;
    padding: 0;
    display: inline;
    border: none;
}

.stage-home .item-structured blockquote {
    border-color: #2566aa;
}
.stage-neuroscience .item-structured blockquote {
    border-color: #43a13d;
}
.stage-brainsimulator .item-structured blockquote {
    border-color: #662d91;
}
.stage-newswire .item-structured blockquote {
    border-color: #e48120;
}
.stage-teamwork .item-structured blockquote {
    border-color: #1e6158;
}

/* --- Embedded images */
.item-structured img {
    max-width: 100%;
    float: left;
    margin: 0 1.0em 1.0em 0;
}

.item-structured.structtext-flattened img {
    display: none;
}

/* --- Embedded videos */
.item-structured .substance-video {
    margin-bottom: 1em;
}

.item-structured.structtext-flattened .substance-video {
    display: none;
}
