/* Overrides and extensions for eleed */

.pkp_structure_head,
.pkp_site_nav_menu,
.pkp_structure_footer_wrapper { background-color: #f8f8f8; }

.pkp_structure_footer,
.pkp_structure_footer_wrapper { display: flex; }

.pkp_structure_footer {justify-content: stretch;}

.pkp_footer_content {
    flex-grow: 1;
    padding: 1.43rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.pkp_footer_content p { margin: 0; }

.pkp_footer_content a { text-decoration: none; }

/* HBZ logo */
.pkp_footer_content img {
    width: 11rem;
    margin-top: -1rem;
}

/* OJS/PKP logo */
.pkp_brand_footer { padding: 1.43rem 1.43rem 10px; }

.pkp_brand_footer a { max-width: 6rem; }

.pkp_site_nav_menu--isOpen { border-bottom: 1px solid black; }

.issues_archive .obj_issue_summary .description {
    max-height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.issues_archive .obj_issue_summary .description dl {margin:0; padding:0;}
.issues_archive .obj_issue_summary .description dd {margin: 0;}

html[lang^="de"] .issues_archive .obj_issue_summary .description dd:nth-of-type(1) {display: none;}
html[lang^="en"] .issues_archive .obj_issue_summary .description dd:nth-of-type(2) {display: none;}

.issues_archive .obj_issue_summary .description > * {display: none;}
.issues_archive .obj_issue_summary .description > dl:first-child {display: block;}
.issues_archive .obj_issue_summary .description dt {display: none;}
/*.issues_archive .obj_issue_summary .description p  {display: none;}*/

.obj_issue_toc .description dl:first-child {display: none;}
.obj_issue_toc .description p:nth-of-type(1) {margin-top: 0;}

@media (min-width: 992px) {
    .pkp_structure_head,
    .pkp_head_wrapper,
    .pkp_site_nav_menu { display: flex; }

    .pkp_site_name_wrapper {
        width: auto;
        margin-right: 2rem;
    }

    .has_site_logo .pkp_head_wrapper { padding-top: 10px; }

    .pkp_site_name .is_img img {
        max-height: 2.143rem;
        margin-top: -5px;
    }

    .pkp_navigation_user_wrapper {
        position: static;
        transform: none;
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
        margin-top: 0;
        border-top: none
    }

    .pkp_navigation_primary_wrapper { display: flex; }

    .pkp_navigation_primary_row {
        flex-grow: 1;
        flex-shrink: 0;
    }

    .pkp_navigation_user { width: 100%; }
    .pkp_navigation_user > li > a { margin: 0.357rem 0.5em 0; }

    .pkp_navigation_search_wrapper {
        float: none;
        margin-left: 2rem;
        margin-right: 2rem;
    }
}

/* old-articles.css - styles for iframe-contained old plone articles */

/* article-common */

:root {
    --eleed-blue: #002b7f;
    --monospace-font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    --link-color:         var(--eleed-blue);
    --link-visited-color: #337ab7;
    --header-h1-font-size: 1.6em;
    --header-h2-font-size: 1.2em;
    --main-h2-font-size:   1.4em;
    --main-h3-font-size:   1.25em;
    --main-h4-font-size:   1.15em;
}

font[face="Courier New"] { font-family: var(--monospace-font-family); }

.documentContent {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
    background-color: #fff;
}

.documentContent *,
.documentContent *:before,
.documentContent *:after { box-sizing: border-box; }

.documentContent p { margin: 0 0 0.75rem; }

.documentContent b,
.documentContent strong {font-weight: bold;}

.documentContent sub,
.documentContent sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

.documentContent sup {top:    -0.5em;  }
.documentContent sub {bottom: -0.25em; }

.documentContent hr {
    box-sizing: content-box;
    height: 0;
    margin: 1.5rem 0;
    border-top: 1px solid #eeeeee;
}

/* START Links ================================================ */
.documentContent a {
    background-color: transparent;
    text-decoration: none;
}
.documentContent a             { color: var(--link-color); }
.documentContent a:hover,
.documentContent a:focus       { color: var(--link-color); }
.documentContent p a:visited,
.documentContent li a:visited,
.documentContent dd a:visited  { color: var(--link-visited-color); }
.documentContent h2 a,
.documentContent h3 a,
.documentContent h4 a,
.documentContent h5 a,
.documentContent h6 a          { color: inherit; }

.documentContent a:active,
.documentContent a:focus,
.documentContent a:hover { text-decoration: underline; }
.documentContent a:active,
.documentContent a:hover { outline: 0; }

/* END   Links ================================================ */

/* START Headlines ================================================ */
.documentContent h1,
.documentContent h2,
.documentContent h3,
.documentContent h4,
.documentContent h5,
.documentContent h6 {
    font-weight: 500;
    line-height: 1.2;
    margin-right:  0;
    margin-left:   0;
    margin-bottom: 0.75em;
}

/* END   Headlines ================================================ */

/* START Lists ================================================ */
.documentContent ul,
.documentContent ol {
    padding: 0;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0.75rem;
}
.documentContent ul { list-style-type: square; }

.documentContent ul { margin-left: 1.5em; }
.documentContent ol { margin-left: 2.5em; }
.documentContent li { margin-bottom: 0.5em;}

.documentContent ul ul,
.documentContent ul ol,
.documentContent ol ul,
.documentContent ol ol { margin-bottom: 0; }

.documentContent dl { margin-top: 0;  margin-bottom: 1.5rem; }
.documentContent dd { margin-left: 0; margin-bottom: 1em;    }
.documentContent dt { font-weight: bold;}
/* END   Lists ================================================ */

/* START Citations ================================================ */
.documentContent blockquote {
    color: #76797c;
    padding: 0.75rem 1.5rem;
    margin: 0 0 1.5rem;
    border-left: 1px solid #eeeeee;
    border-left-width: 0.357rem;
    font-size: inherit;
}

.documentContent blockquote p:last-child,
.documentContent blockquote ul:last-child,
.documentContent blockquote ol:last-child { margin-bottom: 0; }
/* END   Citations ================================================ */

/* START Code/Pre ================================================ */
.documentContent pre {
    display: block;
    overflow: auto;
    word-break: break-all;
    word-wrap: break-word;

    padding: 0.75rem;
    margin: 0 0 0.75rem;
    border: 1px solid #eeeeee;
    border-radius: 4px;

    background-color: #f5f5f5;
}

.documentContent pre,
.documentContent code {
    font-family: var(--monospace-font-family);
    font-size: 0.9em;
    color: #333333;
}

.documentContent pre code {
    padding: 0;
    white-space: pre-wrap;
    background-color: transparent;
    border-radius: 0
}
/* END   Code/Pre ================================================ */

/* START Tables ================================================ */
.documentContent table {
    font-size: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: transparent
}

.documentContent td,
.documentContent th { padding: 0; }
.documentContent th { text-align: left; vertical-align: top;}
/* END Tables   ================================================*/

/* START Media Objects ================================================ */
.documentContent img {
    border: none;
    vertical-align: middle;
    height: auto;
}

.documentContent p img { margin: 0; }
/* END   Media Objects ================================================ */

/* article-legacy */

/* START Article Info with Title, Subtitle, Author info, biblio-id, Abstracts ================================================ */
.documentContent .articleinfo             {text-align: left; }
.documentContent .articleinfo .biblioid   {font-size: 0.9em; }
/* END Article Info ================================================ */

/* START Headlines ================================================ */
.documentContent .section h2.title,
.documentContent .section h3.title,
.documentContent .section h4.title {
    font-weight: normal;
    padding: 1em 0 0.5em 0;
}

.documentContent .articleinfo h2.title    { font-size: var(--header-h1-font-size); }
.documentContent .articleinfo h3.subtitle { font-size: var(--header-h2-font-size); }
.documentContent .section     h2.title    { font-size: var(--main-h2-font-size); }
.documentContent .section     h3.title    { font-size: var(--main-h3-font-size); }
.documentContent .section     h4.title    { font-size: var(--main-h4-font-size); }

.documentContent .articleinfo h2, .section h2 { border-bottom: 1px solid #eeeeee; }
.documentContent .articleinfo h2, .section h2,
.documentContent .articleinfo h3, .section h3 { margin-top: 1.5rem;  }
.documentContent .articleinfo h4, .section h4,
.documentContent .articleinfo h5, .section h5,
.documentContent .articleinfo h6, .section h6 { margin-top: 0.75rem; }
/* END   Headlines ================================================ */

/* START Tables ================================================ */
.documentContent .table {
    width:         100%;
    max-width:     100%;
    margin-bottom: 1.5rem;
    margin-top:    2rem;
}

.documentContent .table p.title             { text-align: center; }
.documentContent .table .table-contents     { margin-bottom: 0.75rem;}
.documentContent .table table               { margin:        auto; }
.documentContent .table table p             { text-align: left; hyphens: auto; }
.documentContent .table table p             { margin-bottom: 0.357rem; }
.documentContent .table table p:first-child { margin-top:    0.357rem; }
.documentContent .informaltable table       { margin-bottom: 1rem;}
.documentContent .table-small      table    { font-size: 0.75em;}
.documentContent .table-very-small table    { font-size: 0.5em;}
.documentContent .table-small table p    {
        margin-bottom: 0.1rem !important;
        margin-top: 0.1rem !important;
}

.documentContent table { border: 1px solid #eeeeee; }
.documentContent table td,
.documentContent table th {
    padding: 0.25em 1em;
    border: 1px solid #eeeeee;
}

.documentContent td .itemizedlist ul:last-child { margin-bottom: 0; }
.documentContent td .itemizedlist li:last-of-type { margin-bottom: 0; }
.documentContent .table.list-no-left-margin ul{ margin-left: 0; }
/* END Tables   ================================================*/

/* START Media Objects ================================================ */
.documentContent div.mediaobject {
    text-align: center;
    padding-bottom: 1.5rem;
}

.documentContent div.mediaobject p.caption {
    font-style: italic;
    text-align: center;
    padding-top: 0.357rem
}

.documentContent img { max-width: calc(100vW - 2 * 1rem); }

.documentContent p.caption span.inlinemediaobject {
    display: block;
    padding-top: 0.357rem;
    padding-bottom: 0.357rem;
}

.documentContent p.caption {
    font-style: italic;
    text-align: center;
}

/* END   Media Objects ================================================ */

/* Definitions of eleed-content - copied from new-eleed-content.css */
:root {
    --eleed-font-family: Helvetica, Arial, sans-serif;
    --eleed-font-size: 14px;
}

.eleed-content {
    font-family:      var(--eleed-font-family);
    font-size:        var(--eleed-font-size);
    line-height:      1.5;
    color:            #333333;
    background-color: #fff;
}

@media (min-width: 992px) {
    .eleed-content {
        width: 860px;
        min-height: 100vH;
        margin: 0 auto;
        padding: 0 1em;

        /* Bordering: */
        border-left: 2px solid #eeeeee;
        border-right: 2px solid #eeeeee;
        /* This prevents the top margins to collapse. */
        padding-top: 1px;
        margin-top: -1px;
        padding-bottom: 1px;
        margin-bottom: -1px;
    }
}

.eleed-content,
.eleed-content *,
.eleed-content *:before,
.eleed-content *:after { box-sizing: border-box; }
.eleed-content p { margin: 0 0 0.75rem; }
.eleed-content b,
.eleed-content strong {font-weight: bold;}
.eleed-content sub,
.eleed-content sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

.eleed-content sup {top:    -0.5em;  }
.eleed-content sub {bottom: -0.25em; }

.eleed-content hr {
    box-sizing: content-box;
    height:     0;
    margin:     1.5rem 0;
    border-top: 1px solid #eeeeee;
}

/* START Links ================================================ */
.eleed-content a {
    background-color: transparent;
    text-decoration: none;
}
.eleed-content a             { color: var(--link-color); }
.eleed-content a:hover,
.eleed-content a:focus       { color: var(--link-color); }
.eleed-content a:visited     { color: var(--link-visited-color); }

.eleed-content a:active,
.eleed-content a:focus,
.eleed-content a:hover      { text-decoration: underline; }

.eleed-content a:active,
.eleed-content a:hover      { outline: 0; }
/* END   Links ================================================ */

/* START Headlines ================================================ */
.eleed-content h1,
.eleed-content h2,
.eleed-content h3,
.eleed-content h4,
.eleed-content h5,
.eleed-content h6 {
    font-weight: 500;
    line-height: 1.2;
    margin-right:  0;
    margin-left:   0;
    margin-bottom: 0.75em;
}
/* END   Headlines ================================================ */

/* START Lists ================================================ */
.eleed-content ul,
.eleed-content ol {
    padding: 0;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0.75rem;
}
.eleed-content ul { list-style-type: square; }

.eleed-content ul { margin-left: 1.5em; }
.eleed-content ol { margin-left: 2.5em; }
.eleed-content li { margin-bottom: 0.5em;}

.eleed-content ul ul,
.eleed-content ul ol,
.eleed-content ol ul,
.eleed-content ol ol { margin-bottom: 0; }

.eleed-content dl { margin-top: 0;  margin-bottom: 1.5rem; }
.eleed-content dd { margin-left: 0; margin-bottom: 1em;    }
.eleed-content dt { font-weight: bold;}
/* END   Lists ================================================ */

/* START Citations ================================================ */
.eleed-content blockquote {
    color: #76797c;
    padding: 0.75rem 1.5rem;
    margin: 0 0 1.5rem;
    border-left: 1px solid #eeeeee;
    border-left-width: 0.357rem;
    font-size: inherit;
}

.eleed-content blockquote p:last-child,
.eleed-content blockquote ul:last-child,
.eleed-content blockquote ol:last-child { margin-bottom: 0; }
/* END   Citations ================================================ */

/* START Media Objects ================================================ */
.eleed-content img {
    border: none;
    vertical-align: middle;
    height: auto;
}
/* END   Media Objects ================================================ */

/* START Styling for simplified eleed markup */

.eleed-content section { margin: 0 0 0.75rem; }

/* START Header with Title, Subtitle, Author info============= */
.eleed-content header            { text-align: left; }
.eleed-content header         h1 { font-size: var(--header-h1-font-size); }
.eleed-content header         h2 { font-size: var(--header-h2-font-size); }
.eleed-content header section h2 { font-size: var(--eleed-font-size);font-weight: bold;margin-bottom: 0;}
.eleed-content header img {
    width: 200px;
    height: auto;
    float:left;
    margin-left: 0;
    margin-right: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 520px) {
    .eleed-content header img {
        float: none;
        max-width: 100%;
        margin-right: 0;
    }
}

.eleed-content header {
    margin-bottom: 1rem;
    word-wrap: break-word;
    hyphens: auto;
}
/*.eleed-content main {clear: both;}*/
/* END Header ================================================ */

.eleed-content main {
    clear: both;
    border-top: 1px solid #eeeeee;
    padding-top: 0.75em;
    margin-top: 0.75em;
}


/* START Headlines ================================================ */
.eleed-content main h2,
.eleed-content main h3,
.eleed-content main h4 { font-weight: normal; padding: 1em 0 0.5em 0; }
.eleed-content main     h2    { font-size: var(--main-h2-font-size); }
.eleed-content main     h3    { font-size: var(--main-h3-font-size); }
.eleed-content main     h4    { font-size: var(--main-h4-font-size); }

.eleed-content header h1, main h2 { border-bottom: 1px solid #eeeeee; }
.eleed-content header h1, main h1,
.eleed-content header h2, main h2,
.eleed-content header h3, main h3 { margin-top: 1.5rem;  }
.eleed-content header h4, main h4,
.eleed-content header h5, main h5,
.eleed-content header h6, main h6 { margin-top: 0.75rem; }
/* END   Headlines ================================================ */

