fo\:toc {display: none;}

/*
    EBCONT HEADER STYLES REIMPL
 */

title[fo\:style-reference="Heading1"] {
    display: block;
    box-sizing: border-box;
    color: rgb(51, 51, 51);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 35px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    -moz-osx-font-smoothing: subpixel-antialiased;
}

/* originally h3 */
title[fo\:style-reference="Heading2"], title[fo\:style-reference="NumberedHeading2"] {
    display: block;
    box-sizing: border-box;
    color: rgb(51, 51, 51);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    -moz-osx-font-smoothing: subpixel-antialiased;
}

title[fo\:style-reference="Heading3"], title[fo\:style-reference="NumberedHeading3"] {
    display: block;
    box-sizing: border-box;
    color: rgb(51, 51, 51);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    -moz-osx-font-smoothing: subpixel-antialiased;
}

title[fo\:style-reference="Heading4"], title[fo\:style-reference="NumberedHeading4"] {
    display: block;
    box-sizing: border-box;
    color: rgb(51, 51, 51);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    -moz-osx-font-smoothing: subpixel-antialiased;
}

/** added by niko **/
.main-wrapper {
    display: flex;
    flex-flow: row nowrap;
}

.site-sidebar {
    width: 210px;
    position: fixed;
}

a,
body {
    color: #333;
}

.site-mainarea:after {
    content: "";
    display: table;
    clear: both;
}

.content-actionbuttons ul,
.content-externals ul,
.toc ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

html.modal-opened {
    overflow: hidden;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    min-width: 20em;
}

figure,
figure>figcaption,
figure>img {
    display: block;
    max-width: 100%;
}

.figcaption,
figcaption {
    font-size: 0.9em;
    font-style: italic;
}

.container {
    width: 100%;
    max-width: 100em;
}

.main {
    padding-top: 0;
}

.page {
    position: relative;
    left: 0;
    transition: left 0.4s;
}

/* .sidebar-active .page {
  left: 15em;
  left: 85vw;
} */

.page .loading-spinner {
    display: none;
    position: fixed;
    bottom: -500vh; /* hack to move offscreen until we know where its triggered */
    left: 50%;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    padding: 0.6em 0.8em;
    border-radius: 0.4em;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.page .loading-spinner i {
    font-size: 1.2em;
}

.breadcrumbs,
.footer {
    font-size: 16px;
}

.footer .row {
    font-size: 13px;
}

.site-actionbar {
    position: relative;
    transition: box-shadow 0.4s;
    z-index: 10;
}

.actionbar-fixed .site-actionbar {
    position: fixed;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    background: #fff;
    transition: left 0.4s, right 0.4s;
}

.actionbar-fixed.sidebar-active .site-actionbar {
    left: 15em;
    left: 85vw;
    right: -15em;
}

.site-actionbar .site-actionbar__inner {
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    max-width: 100em;
    margin: 0 auto;
    padding: 1em;
}

.site-actionbar .toggle-toc {
    border: 1px solid #36c;
    border-radius: 0.2em;
    -ms-flex: none;
    flex: none;
    padding: 0.2em 0.5em;
}

.sidebar-active .site-actionbar .toggle-toc {
    color: #fff;
    background-color: #36c;
}

.site-actionbar .toggle-toc .icon {
    display: block;
    font-size: 1.3em;
    font-weight: 700;
}

.site-actionbar #feedback-menu-button {
    -ms-flex: none;
    flex: none;
}

.site-actionbar .document-title {
    -ms-flex: 1;
    flex: 1;
    padding: 0 1em;
    text-align: center;
    /* opacity:0; */
    transition: opacity 0.4s;
}

.actionbar-fixed .site-actionbar .document-title {
    opacity: 1;
}

.site-actionbar .document-title .document-title__main,
.site-actionbar .document-title .document-title__undertitle {
    margin: 0;
    line-height: 1.1;
}

.site-actionbar .document-title .document-title__main {
    font-size: 1.2em;
}

.site-actionbar .document-title .document-title__undertitle {
    color: #8a8a8a;
    font-size: 1em;
}

.site-actionbar a {
    color: #36c;
}

.alert.alert-generic {
    background-color: #edf4d4;
    border-color: #bbdf92;
    color: #608211;
}

.content-actionbuttons a,
.content-externals a {
    color: #36c;
}

.alert.alert-generic::before {
    content: "\e804";
}

.site-content {
    position: relative;
    transition: transform 0.4s;
}

.site-content a {
    text-decoration: underline;
}

.feedback-opened .site-content {
    -ms-transform: translateX(-20em);
    transform: translateX(-20em);
}

.site-content .content-container {
    padding-bottom: 1em;
    margin-bottom: 2em;
    border-bottom: 1px solid #d9d9d9;
}

.site-content .content-container.feedback-highlight .content-item .content {
    background-color: #fff5c4;
}

/* .site-content h1,
.site-content h2,
.site-content h3,
.site-content h4,
.site-content h5,
.site-content h6 {
  margin: 0;
} */

.site-content h1+p,
.site-content h2+p,
.site-content h3+p,
.site-content h4+p,
.site-content h5+p,
.site-content h6+p {
    margin-top: 1em;
}

@media screen and (min-width: 64em) {
    .site-actionbar .toggle-toc {
        left: 2em;
    }

    .feedback-opened .site-content {
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    .site-content {
        float: left;
        width: calc(100% - 20em);
        padding-left: 1em;
    }
}

@media screen and (min-width: 80em) {
    .site-actionbar .toggle-toc {
        display: none;
    }

    .site-content {
        float: none;
        width: calc(100% - 20em - 15em);
        margin: 0 20em 0 15em;
        padding-left: 0;
    }
}

.content-actionbuttons {
    margin: 1em;
}

.content-actionbuttons ul li {
    display: inline-block;
    margin-right: 1em;
}

.content-externals ul {
    margin: 0.5em 0 1em;
}

.content-externals ul li {
    margin-bottom: 0.4em;
}

.content-externals ul:last-child {
    margin-bottom: 0;
}

.content-externals .form-version {
    margin: 1em 0;
}

.content-externals .form-version .select-version {
    min-width: 10em;
    margin-left: 0.5em;
    padding: 0.2em;
}

.content-externals .tag {
    font-size: 0.8em;
    padding: 0.2em 0.4em;
    margin-right: 0.5em;
    border-radius: 0.2em;
    background-color: #777;
    color: #fff;
}

.site-content .footnote {
    background-color: #333;
    border-radius: 50%;
    color: #fff;
    display: inline-block;
    font-size: 0.8em;
    height: 1.6em;
    line-height: 1;
    padding: 0.3em 0;
    text-align: center;
    text-decoration: none;
    width: 1.6em;
}

.site-content .content-footnotes {
    margin-bottom: 2em;
}

.site-content .content-footnotes .footnote-item {
    margin-bottom: 0.4em;
}

.site-content .content-footnotes .footnote-item:last-child,
.site-content .content-item .glossary .glossary-item .glossary-content> :last-child {
    margin-bottom: 0;
}

.site-content .content-footnotes .footnote {
    margin-right: 0.4em;
}

.site-content .content-item .glossary .glossary-item {
    margin-top: 1em;
    padding: 1em;
    border: 1px solid #d9d9d9;
}

.site-content .content-item .glossary .glossary-item .glossary-type {
    font-size: 0.9em;
    text-transform: uppercase;
    color: #909090;
}

.site-content .content-item .glossary .glossary-item .glossary-content {
    margin-top: 0.2em;
}

.site-content .content-item {
    position: relative;
    padding-right: 4em;
}

.site-content .content-item .content {
    padding: 0.5em 1em;
    border: 1px solid transparent;
    transition: background-color 0.4s;
}

.site-content .content-item.feedback-highlight .content {
    background-color: #fff5c4;
    border-color: #ffe45e;
}

.site-content .content-item.content-item--error {
    padding: 1em 4em 1em 1em;
}

.site-content .content-item.content-item--error .content {
    background-color: #ff4040;
    color: #fff;
}

.list {
    margin: 1em 0;
}

.list li>ul,
.list:first-child {
    margin: 0;
}

.list.list-bullets-dot {
    list-style-type: disc;
}

.list.list-bullets-dash {
    list-style-type: none;
}

.list.list-bullets-dash li {
    position: relative;
}

.list.list-bullets-dash li:before {
    content: "-";
    position: absolute;
    left: -16px;
}

.list.list-alphabetical {
    list-style-type: lower-alpha;
}

.list.list-numerical {
    list-style-type: decimal;
}

.content.overarching-requirement {
    font-weight: 700;
}

.site-content .content-item .content.panel {
    padding: 0;
    border: 1px solid #d5d5d5;
}

.site-feedbackarea {
    width: 20em;
    position: absolute;
    top: 0;
    right: 0;
    -ms-transform: translateX(21em);
    transform: translateX(21em);
    transition: transform 0.4s;
    overflow-y: auto;
    bottom: 0;
    padding-right: 1em;
}

.site-feedbackarea #feedback,
.site-mainarea {
    position: relative;
}

.feedback-opened .site-feedbackarea {
    -ms-transform: translateX(0);
    transform: translateX(0);
}

@media screen and (min-width: 64em) {
    .site-feedbackarea {
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}

.site-mainarea {
    width: 100%;
    display: flex;
    max-width: 100em;
    margin: 0 auto;
    overflow: hidden;
}

.panel {
    margin: 1em;
    border: 1px solid #d9d9d9;
}

.panel .panel__body,
.panel .panel__heading {
    padding: 0.5em 1em;
}

.panel .panel__heading {
    border-bottom: 1px solid #d9d9d9;
    background: #eee;
}

.site-sidebar {
    z-index: 30;
    width: 15em!important;
    top: 0;
    bottom: 0;
    left: -15em;
    padding: 1em;
    transition: left 0.4s;
    overflow-y: auto;
    background: #333;
    color: #fff;
    overflow-y: scroll;
}

.sidebar-active .site-sidebar {
    left: 0;
    min-width: 15em;
    width: 45vw;
}

.site-sidebar a {
    color: #fff;
}

@media screen and (min-width: 80em) {
    .site-sidebar {
        position: absolute;
        left: 0;
        background: 0 0;
        color: #333;
        overflow-y: visible;
        z-index: auto;
    }

    .site-sidebar a {
        color: #333;
    }
}

.toc {
    position: static;
}

.toc ul li>ul {
    padding-left: 1em;
}

.toc ul li a {
    display: block;
    margin-bottom: 0.5em;
}

@media screen and (min-width: 80em) {
    .toc ul li a {
        padding: 0.5em 1em;
        background-color: #eee;
    }

    .toc ul li a:hover {
        background-color: #d5d5d5;
    }

    .toc {
        overflow: auto;
    }

    .actionbar-fixed .toc {
        position: fixed;
        top: 8em;
        left: 1em;
        width: 13em;
    }
}

@media print {
    .site-actionbar,
    .site-mainarea .site-content .content-actionbuttons,
    .site-mainarea .site-content .content-externals,
    .site-mainarea .site-feedbackarea {
        display: none !important;
    }
    .site-mainarea .site-sidebar {
        position: static !important;
        width: 100% !important;
    }
    .site-mainarea .site-sidebar .toc ul li a {
        margin-bottom: 0 !important;
    }
}
.toc a.active {
    font-weight: bold;
    background-color: #d5d5d5
}