#blog-dettaglio {
    position: relative;
}

#blog-dettaglio .show-index {
    bottom: 20px;
}

#blog-dettaglio.active-index::after {
    content: '';
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 150;
}

#blog-dettaglio .category-section {
    border-radius: 6px;
    border: 1px solid var(--white);
    background-color: #00B9A2;
    color: #FFFFFF;
    display: inline-block;
    padding: 0.2rem 0.5rem;
}

#blog-dettaglio #blog-header {
    position: relative;
    z-index: 2;
}

#blog-dettaglio #blog-header .image-blog .imgContainer {
    padding-top: 35%;
}

#blog-dettaglio ul.social {
    list-style-type: none !important;
}


#blog-dettaglio #blog-header .social i {
    height: 17px;
    width: 17px;
}

#blog-dettaglio .post-header {
    border-top: 1px solid var(--green-500);
    padding-top: 2rem;
}

#blog-dettaglio .post-header .social a:hover i {
    color: var(--gold);
}

#blog-dettaglio .blogPostContent .social-bottom .social li {
    color: var(--green-500);
    text-decoration: underline;
}

#blog-dettaglio .blogPostContent .social-bottom .social li:hover {
    color: var(--gold);
}

#blog-dettaglio .blogPostContent th {
    background-color: var(--gold);
    color: var(--white);
}

#blog-dettaglio .blogPostContent figcaption {
    margin-top: .3rem;
    text-align: center;
}

#blog-dettaglio .blogPostContent ul {
    padding: 1rem;
    list-style-type: disc;
}

/*#blog-dettaglio .blogPostContent a {
    font-weight: 700;
    color: var(--black);
    text-decoration: underline;
}*/

/* #blog-dettaglio .blogPostContent ul li {
    list-style-type: disc;
} */

#blog-dettaglio .blogPostContent ol li {
    list-style-type: decimal;
}

#blog-dettaglio .blogPostContent ol li::marker {
    color: var(--green-500);
}

#blog-dettaglio .blogPostContent h1 {
    font-size: 3.8rem !important;
    color: var(--grey-900);
    margin: 1rem 0;
    font-weight: 700;
    text-transform: uppercase;
}

#blog-dettaglio .blogPostContent h2 {
    font-size: 2.26rem !important;
    color: var(--grey-900);
    margin: 1rem 0;
    font-weight: 700;
    text-transform: uppercase;
}

#blog-dettaglio .blogPostContent h3 {
    font-size: 2.09rem !important;
    color: var(--grey-900);
    margin: 1rem 0;
    font-weight: 700;
    text-transform: uppercase;
}

#blog-dettaglio .blogPostContent h4 {
    font-size: 1.71rem !important;
    color: var(--grey-900);
    margin: 1rem 0;
    font-weight: 700;
    text-transform: uppercase;
}

#blog-dettaglio .blogPostContent h5 {
    font-size: 1.28rem !important;
    color: var(--grey-900);
    margin: 1rem 0;
    font-weight: 700;
    text-transform: uppercase;
}

#blog-dettaglio .blogPostContent h6 {
    font-size: 1.14rem !important;
    color: var(--grey-900);
    margin: 1rem 0;
    font-weight: 700;
    text-transform: uppercase;
}

#blog-dettaglio .blogPostContent blockquote {
    font-size: 1.1rem;
    color: var(--black);
    text-align: center;
    margin: 5rem 0;
    position: relative;
    font-weight: bold;
    font-style: italic;
    padding-inline: .75rem;
}

#blog-dettaglio .blogPostContent blockquote::before {
    content: url('../images/cite-top.svg');
    position: absolute;
    top: -1em;
    left: 0;
    font-weight: 600;
    font-size: 3rem;
}

#blog-dettaglio .blogPostContent blockquote::after {
    content: url('../images/cite-down.svg');
    position: absolute;
    bottom: -1em;
    right: 1rem;
    font-weight: 600;
    font-size: 3rem;
}

#blog-dettaglio .blogPostContent .post-content {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--green-500);
}

#blog-dettaglio .blogPostContent .double-image {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#blog-dettaglio .blogPostContent .double-image,
#blog-dettaglio .blogPostContent .single-image {
    margin: 1rem 0;
}

#blog-dettaglio #next-article {
    position: fixed;
    background-color: var(--green-500);
    color: var(--white);
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
}

/* #indexContainer {
    border: 1px solid var(--yellow);
    border-radius: 20px;
} */

.indexContainer ol.ulLev2,
.indexContainer ol.ulLev3{
    padding-left: 0;
}

.indexContainer ol{
    padding-left: 0.3rem;
}

.indexContainer ol li{
    list-style: none !important;
    position: relative;
    padding-left: 1.0rem;
}

.indexContainer ol li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--green-500);
    border-radius: 50%;
}

/*#blog-dettaglio .blogPostContent #aside a {
    color: var(--black);
    font-weight: 400 !important;
    text-decoration: none;
}*/

#next-article .starting-width {
    width: 1%;
}

@media (min-width: 1200px) {
    #blog-dettaglio .blogPostContent ol li {
        position: relative;
        left: 0.3rem;
    }
}


@media (max-width: 1200px) {

    #aside {
        position: fixed;
        z-index: 99998;
        width: 80%;
        max-height: 50vh;
        top: unset;
        overflow: auto;
        left: 50%;
        -webkit-transform: translate(-50%, 0);
        -moz-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        bottom: -100vh;
        -webkit-transition: bottom 0.3s;
        -moz-transition: bottom 0.3s;
        -o-transition: bottom 0.3s;
        transition: bottom 0.3s;
    }

    .indexShow {
        background: var(--green-500);
        border: 1px solid var(--green-500);
        color: var(--white);
        position: fixed;
        bottom: 1rem;
        left: 1rem;
        height: 2em;
        width: 2em;
        z-index: 99999;
        border-radius: 0.5em;
        text-align: center;
        font-size: 1.2rem;
    }

    #blog-dettaglio .blogPostContent h1 {
        font-size: 2.2rem !important;
    }

    #blog-dettaglio .blogPostContent h2 {
        font-size: 1.8rem !important;
    }

    #blog-dettaglio .blogPostContent h3 {
        font-size: 1.5rem !important;
    }

    #blog-dettaglio .blogPostContent h4 {
        font-size: 1.35rem !important;
    }

    #blog-dettaglio .blogPostContent h5 {
        font-size: 1.20rem !important;
    }

    #blog-dettaglio .blogPostContent h6 {
        font-size: 1.10rem !important;
    }
}