/* header */
header li.current_page_item a::after {
    width: 100% !important;
}
header li.header-newsletter-button a {
    border: 1px solid #64DB96;
    background: rgba(100, 219, 150, 0.1);
    padding-left: 10px !important;
    padding-right: 10px !important;
    border-radius: 25px;
    margin-right: 0 !important;
}
header li.header-newsletter-button a:hover {
    border: 1px solid #64DB96;
    background: rgba(100, 219, 150, 0.1) !important;
    background-color: rgba(100, 219, 150, 0.1) !important;
}
/* in hover a::after is width 0 */
header li.header-newsletter-button a:hover::after {
    width: 0 !important;
}
@media (min-width: 769px) {
    header ul.nav.navbar-nav > li > a {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    .navbar .navbar-nav {
        margin-top: 20px !important;
    }
}
/* 1200px */
@media (max-width: 1200px) {
    header ul.nav.navbar-nav > li > a {
        font-size: 14px !important;
        margin: 0 8px !important;
    }
}
@media (max-width: 1068px) {
    header ul.nav.navbar-nav > li > a {
        font-size: 13px !important;
        margin: 0 4px !important;
    }
    header li.header-newsletter-button {
        display: none;
    }
}
/* mobile */
@media (max-width: 768px) {
    header li.header-newsletter-button {
        display: block;
    }
}

/* sidebar */
aside.sidebar.side-left section.widget_search button.search-submit {
    background: #1f1f1f;
}
aside.sidebar.side-left section.widget_categories .widget-title {
    display: none;
}

aside.sidebar.side-left section.widget_categories .cat-item a {
    color: #6C6C6C;
    border-bottom: 0;
}

.page-template.page-template-templates.page-template-blog-standard.page-template-templatesblog-standard-php aside.sidebar.side-left section.widget_categories .cat-item:first-child a,
/* body.blog aside.sidebar.side-left section.widget_categories .cat-item:first-child a, */
aside.sidebar.side-left section.widget_categories .cat-item.current-cat a
{
    color: #1f1f1f;
    font-size: 25px;
    font-weight: 600;
    border-bottom: 2px solid #000;
    padding-bottom: 6px;
    line-height: 1;
    margin-bottom: 15px;
    width: fit-content;
}

/* blogpost list */
.standard-blog .format-standard img.wp-post-image {
    border-radius: 20px;
    margin-bottom: 50px;
    width: 100%;
    height: 350px;
    object-fit: cover;
}
.standard-blog .format-standard .post-title a,
.standard-blog .format-standard time.published,
.standard-blog .format-standard .entry-content.post-excerpt a {
    color: #1f1f1f !important;
    font-weight: 600;
}
.standard-blog .format-standard time.published {
    font-size: 18px;
}
.standard-blog .format-standard span.show-author,
.standard-blog .format-standard span.pre-date
{
    display: none;
}
.standard-blog .format-standard .entry-content.post-excerpt a {

}

/* category page / blog home */
body.blog header,
body.search header,
.archive.category header,
.single.single-post header,
body.blog .wrap > .content > .inner-container > .container:nth-child(2),
body.search .wrap > .content > .inner-container > .container:nth-child(2),
.archive.category .wrap > .content > .inner-container > .container:nth-child(2) {
    background: #1f1f1f !important;
}
body.blog .wrap > .content > .inner-container > .container:nth-child(2),
body.search .wrap > .content > .inner-container > .container:nth-child(2),
.archive.category .wrap > .content > .inner-container > .container:nth-child(2) {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0;
}
body.blog .wrap > .content > .inner-container > .container:nth-child(2) .page-title,
body.search .wrap > .content > .inner-container > .container:nth-child(2) .page-title,
.archive.category .wrap > .content > .inner-container > .container:nth-child(2) .page-title {
    padding-top: 120px;
    padding-bottom: 130px;
}
body.blog .wrap > .content > .inner-container > .container:nth-child(2) h1.entry-title,
body.search .wrap > .content > .inner-container > .container:nth-child(2) h1.entry-title,
.archive.category .wrap > .content > .inner-container > .container:nth-child(2) h1.entry-title {
    font-size: 60px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    padding: 7px;
}

@media (max-width: 1024px) {
    body.blog .wrap > .content > .inner-container > .container:nth-child(2) h1.entry-title,
    body.search .wrap > .content > .inner-container > .container:nth-child(2) h1.entry-title,
    .archive.category .wrap > .content > .inner-container > .container:nth-child(2) h1.entry-title {
        font-size: 50px;
        padding: 0;
    }
    body.blog .wrap > .content > .inner-container > .container:nth-child(2) .page-title,
    body.search .wrap > .content > .inner-container > .container:nth-child(2) .page-title,
    .archive.category .wrap > .content > .inner-container > .container:nth-child(2) .page-title {
        padding-top: 70px;
        padding-bottom: 60px;
    }
}
@media (max-width: 768px) {
    body.blog .wrap > .content > .inner-container > .container:nth-child(2) h1.entry-title,
    body.search .wrap > .content > .inner-container > .container:nth-child(2) h1.entry-title,
    .archive.category .wrap > .content > .inner-container > .container:nth-child(2) h1.entry-title {
        font-size: 40px;
    }
}

/* custom post layout */
.aicode-post-image-top img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
}

/* every h */
.aicode-post-content h1,
.aicode-post-content h2,
.aicode-post-content h3,
.aicode-post-content h4,
.aicode-post-content h5,
.aicode-post-content h6,
.aicode-post-content p,
.aicode-post-content a {
    color: #1f1f1f;
}
.aicode-post-content h1,
.aicode-post-content h2,
.aicode-post-content h3,
.aicode-post-content h4,
.aicode-post-content h5,
.aicode-post-content h6,
.aicode-post-content a {
    font-weight: 600;
}
.aicode-post-content a:hover {
    text-decoration: underline;
}
.aicode-post-content img {
    width: 100%;
}
.aicode-post-content figcaption {
    font-size: 14px;
}

/* pagine da sovrascrivere */
.page-id-1867 .aicode-footer-section-1,
.page-id-753 .aicode-footer-section-1,
.page-id-1902 .aicode-footer-section-1,
.page-id-2187 .aicode-footer-section-1,
.page-id-2214 .aicode-footer-section-1
{
    background-image: linear-gradient(180deg, #E8F5ED 50%, #1F1F1F 50%) !important;
    margin-top: -2px !important;
}

/* form di contatto */
.aicode-contactform-privacy-checkbox .frm_primary_label {
    display: none !important;
}

/* footer */
footer ul.sub-menu {
    background: transparent !important;
}
footer ul.sub-menu li.menu-item {
    border-width: 0 !important;
}

/* accessibilita */
*:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 2px !important;
}