/* Stockholm extension, https://github.com/datenstrom/yellow-extensions/tree/master/themes/stockholm */
/* Copyright (c) 2013-2020 Datenstrom, https://datenstrom.se */
/* This file may be used and distributed under the terms of the public license. */

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300&family=Source+Sans+Pro&display=swap'); 

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Gentium+Plus:ital,wght@0,400;0,700;1,400;1,700&display=swap');

html, body, div, form, pre, span, tr, th, td, img {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}
/* 
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 300;
    src: url(stockholm-opensans-light.woff) format("woff");
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    src: url(stockholm-opensans-regular.woff) format("woff");
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 700;
    src: url(stockholm-opensans-bold.woff) format("woff");
}
*/
body {
    margin: 1em;
    background-color: #fff;
    /*color: #666;*/
    /*font-family: "Fira Sans", Helvetica, sans-serif;*/
    font-size: 1em;
    /*font-weight: 300;*/
    line-height: 1.5;

    font-family: "Gentium Plus", serif;
    font-weight: 400;
    font-style: normal;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #111;
    font-weight: 400;
    line-height: 1.3;
    margin-top: 2em; /* aggiunto */
    hyphens: none;
    -ms-hyphens: none;
    -moz-hyphens: none;
    -webkit-hyphens: none;
    text-align: initial;

    font-family: "Barlow", sans-serif;
    font-weight: 400;
    font-style: normal;

}
h1 {
    font-size: 2em;
}
hr {
    height: 1px;
    background: #ddd;
    border: 0;
}
strong {
    font-weight: bold;
}
code {
    font-size: 1.1em;
}
a {
    color: #030180; /* #07d; */
    text-decoration: none;
}
a:hover {
    color: #030180; /* #07d; */
    text-decoration: underline;
}

/* Content */

.content h1 {
    margin: 1em 0;
}
.content h1 a {
    color: #111;
}
.content h1 a:hover {
    color: #111;
    text-decoration: none;
}
.content img {
    max-width: 100%;
    height: auto;
}
.content form {
    margin: 1em 0;
}
.content table {
    border-spacing: 0;
    border-collapse: collapse;
}
.content th {
    text-align: left;
    padding: 0.3em;
}
.content td {
    text-align: left;
    padding: 0.3em;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    vertical-align: top; /* aggiunto */
}
.content code,
.content pre {
    font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
    font-size: 90%;
}
.content code {
    padding: 0.15em 0.4em;
    margin: 0;
    background-color: #f7f7f7;
    border-radius: 3px;
}
.content pre > code {
    padding: 0;
    margin: 0;
    white-space: pre;
    background: transparent;
    border: 0;
    font-size: inherit;
}
.content pre {
    padding: 1em;
    overflow: auto;
    line-height: 1.45;
    background-color: #f7f7f7;
    border-radius: 3px;
}
.content blockquote {
    margin-left: 0em;
    margin-right: 0;
    padding-left: 1em;
    border-left: 1em solid #eeeeee;
    font-size: 95%;
}
.content .notice1 {
    margin: 3em 0 1em 0;
    padding: 5px 1em;
    background-color: #fffbf0;
    border-left: 10px solid #fb0;
}
.content .notice2 {
    margin: 3em 0 1em 0;
    padding: 5px 0.5em;
    background-color: #fdf0f0;
    border-left: 10px solid #d00;
}
.content .notice3,
.content .notice4,
.content .notice5,
.content .notice6 {
    margin: 3em 0 1em 0;
    padding: 5px 0.5em;
    background-color: #f0f8fe;
    border-left: 10px solid #08e;
}
.content .flexible {
    position: relative;
    padding-top: 0;
    padding-bottom: 56.25%;
}
.content .flexible iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.content .task-list-item {
    list-style-type: none;
}
.content .task-list-item input {
    margin: 0 0.2em 0.25em -1.75em;
    vertical-align: middle;
}
.content .toc {
    margin: 0;
    padding: 0;
    list-style: none;
}
.content .wikipages ul,
.content .wikitags ul,
.content .wikilinks ul {
    padding: 0;
    list-style: none;
    column-width: 19em;
}
.content .entry-links .previous {
    margin-right: 1em;
}
.content .pagination .previous {
    margin-right: 1em;
}
.content .pagination {
    margin: 1em 0;
}
.content .left {
    float: left;
    margin: 0 1em 0 0;
}
.content .center {
    display: block;
    margin: 0 auto;
}
.content .right {
    float: right;
    margin: 0 0 0 1em;
}
.content .rounded {
    border-radius: 4px;
}

/* Header */

.header {
    margin: 2em 0 3em 0;
    text-transform: uppercase;
}
.header .sitename {
    display: block;
    float: left;
}
.header .sitename h1 {
    margin: 0;
    font-size: 1em;
    font-weight: 300;
}
.header .sitename h1 a {
    color: #666;
    /*border-bottom: solid 3px #fff;*/
    text-decoration: none;
    padding: 0.5em 0;
}
.header .sitename h1 a:hover {
    color: #07d;
    /*border-bottom: solid 3px #29f;*/
}
.header .sitename p {
    margin-top: 0;
    color: #666;
}

/* Navigation */

.navigation {
    display: block;
    float: right;
}
.navigation a {
    color: #666;
    border-bottom: solid 3px #fff;
    text-decoration: none;
    padding: 0.5em 0;
    margin: 0 0.5em;
}
.navigation a:hover {
    color: #07d;
    border-bottom: solid 3px #29f;
}
.navigation ul {
    /*margin: 0 -0.5em;*/
    margin: -0.5em -0.5em;
    line-height: 2.5em;
    padding: 0;
    list-style: none;
}
.navigation li {
    display: inline;
}
.navigation li a.active {
    border-bottom: solid 3px #29f;
}
.navigation-banner {
    clear: both;
}

/* Footer */

.footer {
    margin: 2em 0;
    border-top: solid silver thin; /* aggiunto */
}
.footer .siteinfo a {
    color: #07d;
}
.footer .siteinfo a:hover {
    color: #07d;
    text-decoration: underline;
}

/* Forms and buttons */

.form-control {
    margin: 0;
    padding: 2px 4px;
    display: inline-block;
    min-width: 7em;
    background-color: #fff;
    color: #666;
    background-image: linear-gradient(to bottom, #fff, #fff);
    border: 1px solid #bbb;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: inherit;
    font-weight: normal;
    line-height: normal;
}
.btn {
    margin: 0;
    padding: 4px 22px;
    display: inline-block;
    min-width: 7em;
    background-color: #eaeaea;
    color: #333333;
    background-image: linear-gradient(to bottom, #f8f8f8, #e1e1e1);
    border: 1px solid #bbb;
    border-color: #c1c1c1 #c1c1c1 #aaaaaa;
    border-radius: 4px;
    outline-offset: -2px;
    font-size: 0.9em;
    font-family: inherit;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}
.btn:hover,
.btn:focus,
.btn:active {
    color: #333333;
    background-image: none;
    text-decoration: none;
}
.btn:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Sidebar */
/* aggiunto dal vecchio CSS */

.with-sidebar .main {
    margin-right: 23em;
}
.with-sidebar .sidebar {
    float: right;
    width: 23em;
    /*margin-top: 3.2em;*/
    padding: 1em;
    overflow: hidden;
    /*text-align: right;*/
    font-size: 80%;
    background-color: #eee;
    text-align: initial;
}
.with-sidebar .sidebar h2:first-child {
    margin-top: 0;
}
.with-sidebar .sidebar h2 {
    margin-top: 2em;
}
.with-sidebar .sidebar ul {
    padding: 0;
    list-style: none;
}
.with-sidebar .sidebar .search-form input {
    width: 100%;
    box-sizing: border-box;
}
.with-sidebar .content:after {
    content: "";
    display: table;
    clear: both;
}
.content .smallscreen {
    display: none;
}

/* Responsive and print */
.page {
    margin: 0 auto;
    max-width: 1000px;
}
@media screen and (min-width: 62em) {
    body {
        width: 60em;
        margin: 1em auto;
    }
    .page {
        margin: 0;
        max-width: none;
    }
}
@media screen and (max-width: 45em) {
    .with-sidebar .main {
        margin-right: 0;
    }
    .with-sidebar .sidebar {
        display: none;
    }
    .content .smallscreen {
        display: block;
    }
}
@media screen and (max-width: 32em) {
    body {
        margin: 0.5em;
        font-size: 0.9em;
    }
    .content h1,
    .content h2 {
        font-size: 1.3em;
    }
    .footer,
    .page {
        margin: 0;
        padding: 0;
    }
    .header .sitename,
    .navigation,
    .navigation-tree {
        float: none;
    }
    .header .sitename,
    .navigation,
    .navigation-tree {
        margin-bottom: 0.5em;
    }
    .navigation-search {
        padding-bottom: 1em;
    }
}

@media print {
    .page {
        border: none !important;
    }
}

/* aggiunte */

.content .footnotes {
    margin-top: 5em;
    font-size: 90%;
}
.content .entry-content {
    margin-top: 4em; /* troppo? */
}
sup {
    font-size: 75%;
}
blockquote sup {
    font-size: 67%;
}

.footer img {
    margin-right: 5px;
    /*filter: grayscale(100%);*/
    /*opacity: 0.8;*/
}
.footer img:hover {
    /*filter: grayscale(70%);*/
}


/* Per la pagina della collana e dei tags*/
* { /* controllare se non guasti altre cose! */
  box-sizing: border-box;
}
.content .series-emission {
    /*background-color: yellow;*/
    padding: 10px;
    display: inline-block;
    width: 100%;
    vertical-align: top;
}
.content .series-emission hr {
    display: none;
}
.content .series-header {
    overflow: auto;
}
.content .series-emission p.description, .content .series-emission p.author {
    font-size: 80%;
}
.content .series-emission p.title {
    font-weight: bold;
}
.content .series-emission p.subtitle {
    margin-top: -1em;
}
.content .series-emission .id {
    font-size: 120%;
}
.content .series-emission .cover {
    width: 90px;
    height: 127px;
}
@media screen and (min-width: 600px) {
    .content .series-emission {
        width: 50%;
    }
}
@media screen and (min-width: 900px) {
    .content .series-emission {
        width: 33.33%;
    }
}
@media screen and (min-width: 1200px) {
    .content .series-emission {
        width: 25%;
    }
}
/*
.sitename-logo {
    display: inline-block;
    background-image: url("../images/icons/logo2-font.svg");
    background-size: cover;
    width: 357px;
    height: 87.42px;
    margin: 0 8px 4px 0;
    vertical-align: middle;
}
*/
.sitename-logo {
    display: inline-block;
    background-image: url("../images/icons/ovunque.svg");
    background-size: cover;
    width: 318px;
    height: 100px;
    margin: 0 8px 4px 0;
    vertical-align: middle;
}

/*.sitename-logo:hover {*/
    /*background-image: url("../images/logo2-flame.svg");*/
/*}*/

.content .entry-date {
    color: silver;
}
.content dt {
    font-weight: bold;
}


.entry-content {
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    /*word-break: break-all;*/
    /* Instead use this non-standard one: */
    word-break: break-word;
    /* https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ */
    
    hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    text-align: justify;



}

.content .entry-content blockquote:first-child { /* esergo */
    margin-bottom: 4em;
}

@media print {
/* qui va definito il formato per il PDF */
    body {
        font-family: "Alegreya";
        color: black;
        text-align: justify;
        hyphens: auto;
        line-height: 1.3;
    }
    .with-sidebar .main {
        margin-right: 0;
    }
    .with-sidebar .sidebar {
        display: none;
    }
    .header {
        display: none;
    }
    .content blockquote {
        margin-right: 0;
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
        font-size: 90%;
    }
}

/*hr {*/
  /*border: 4px solid silver;*/
  /*border-radius: 4px;*/
  /*width: 0px;*/
/*}*/

.content ul {
    padding-left: 20px;
    list-style-position: outside;
    list-style-image: url("../images/icons/bullet.svg");
}

h2 + .blogchanges { /* ad hoc, per la home page */
    margin-top: 2em;
}

.series-emission h3, .series-emission ul {
    margin-top: 0;
}
/*div.blogtags, div.bloglanguages {*/
    /*display: inline;*/
/*}*/
.cover {
    margin-bottom: 2em;
}

div#search-field-container {
display: inline;
}
div#search-field-container input {
display: inline;
width: 20em;

}

.layout-search .entry-content {
margin-top: 0;
margin-bottom: 1em;
}


div.photoswipe {
    text-align: left;
}

div.navigation {
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    font-style: normal;
}

div.list {
    padding: 1em;
    background-color: #eee;
}
