﻿:root {
    --primary-color: #023617;
    --secondary-color: #ddb47c;
    --bg-dark: #a1a0a0;
}

.content_block_4 .content-box .left-column .list li i.fa {
    top: 5px !important;
}

.content_block_13 .content-box {
    display: flex !important
}

    .content_block_13 .content-box .single-item {
        min-height: unset !important;
        border: none !important;
    }

.chk-animale-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1em;
}

    .chk-animale-list label {
        display: block;
    }

    .chk-animale-list .chk-animale {
        width: 25px;
        height: 25px;
        margin-right: 15px
    }

        .chk-animale-list .chk-animale[type="checkbox"]:checked {
            accent-color: var(--primary-color);
        }

.download-section:before {
    background: #ddb47c;
    opacity: 0.5;
}

@media(max-width:768px) {
    #map {
        height: 400px !important;
    }
}

.footer-top-two .post-widget .post h5 {
    word-wrap: break-word;
}

.footer-top-two .post-widget .post {
    padding: 0;
}

ul.animali i {
    color: red !important;
}

.page-title {
    background-image: url(/assets/images/background/bosco_bg.webp) !important;
    padding: 210px 6px !important;
}

.footer-top-two .links-widget .social-box li a {
    padding: 12px 50px !important;
}

    .footer-top-two .links-widget .social-box li a:before, .footer-top-two .links-widget .social-box li a:after {
        content: unset !important;
    }

.footer-top-two .links-widget .social-box li:last-child a {
    background: #ff0087;
}

.header-top .info-list li:last-child a:before {
    content: unset !important;
}

.header-top .info-list li i {
    top: 3px;
}

.footer-top-two {
    padding: 130px 0px 110px 0px;
}

.info-list a, .links-box a {
    text-decoration: none !important;
}

.news-block-one .inner-box .lower-content h4 {
    border: none;
}

li.nazioni-click {
    padding-bottom: 15px;
}


    li.nazioni-click a {
        color: #696b7e;
    }

        li.nazioni-click a span {
            color: var(--primary-color);
            font-weight: 900;
            transition: .3s linear all
        }

    li.nazioni-click:hover a span {
        color: var(--secondary-color);
    }

.department-details-content .download-box .download-list li {
    padding-right: 10px;
}

    .department-details-content .download-box .download-list li a {
        position: relative;
        top: 0;
        right: 0;
    }

.blog-details-content .inner-box .image-box .image {
    max-height: 100%;
    height: 100%;
}

.blog-details-content .inner-box .image-box img {
    object-fit: contain;
    height: 100%;
}

.page-title .title {
    margin-bottom: 25px;
    padding-top: 75px;
}

    .page-title .title h1 {
        font-size: 35px;
    }

.links-box {
    padding-right: 25px
}
/* Gallery */
.gallery {
    position: relative;
    width: 100%;
    height: 500px;
    margin: auto;
    overflow: hidden;
    list-style: none;
}

    .gallery img {
        display: block;
        float: left;
    }

    .gallery ul {
        list-style: none;
    }

        .gallery ul li.each {
            position: relative;
            float: left;
            transition: all .8s;
        }

            .gallery ul li.each, .gallery ul li.each img {
                height: 0px;
            }

                .gallery ul li.each img {
                    opacity: 0.5;
                    transition: all .4s;
                }

                .gallery ul li.each.active, .gallery ul li.each.active img {
                    height: 500px;
                    width: 100%;
                    object-fit: cover
                }

                    .gallery ul li.each.active img {
                        opacity: 1;
                    }

    .gallery .caption {
        position: absolute;
        bottom: 0;
        left: 20px;
        right: 20px;
        text-transform: uppercase;
    }

        .gallery .caption h2, .gallery .caption p {
            background: var(--secondary-color);
            padding: 7px;
            box-shadow: 0 0 20px #000;
            float: left;
        }

        .gallery .caption h2 {
            font: 24px "Lato", sans-serif;
        }

        .gallery .caption p {
            font: 18px "Lato", sans-serif;
            clear: both;
        }

            .gallery .caption h2 a, .gallery .caption p a {
                color: var(--primary-color);
                font-weight: 700
            }

/* Direction */
.direction {
    position: absolute;
    top: 50%;
    margin-top: -74px;
    background: var(--secondary-color);
    width: 158px;
    height: 158px;
    display: block;
    transform: rotate(45deg);
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

    .direction.next {
        right: -100px;
    }

    .direction.previous {
        left: -100px;
    }

    .direction span {
        position: absolute;
        color: var(--primary-color);
        font: 40px "Lato", sans-serif;
        transform: rotate(-45deg);
        cursor: pointer;
    }

    .direction .next {
        top: 90px;
        left: 25px;
    }

    .direction .previous {
        top: 15px;
        right: 30px;
    }

.gallery-detail img {
    object-fit: cover;
    height: 100%;
    width: 100%
}

.carousel-banner .owl-nav {
    display: none !important;
}

.fixed-header .header-lower.position-fixed {
    display: none
}

.header-lower.position-fixed .main-menu .navigation > li > a {
    color: white
}

.bg-dark {
    background-color: var(--bg-dark);
}

    .bg-dark * {
        color: white
    }

.pdf-file * {
    color: black !important
}

.download-block-one .inner-box {
    padding: 26px 11px 27px 100px !important;
}

.about-style-three {
    padding: 75px 0 !important;
}

.bg-dark .pdf-file * {
    color: white !important;
}

.bg-dark .news-block-one .inner-box .image-box .post-date * {
    color: black !important
}

.slide-item {
    position: relative;
}

.endorsed-logo {
    position: absolute;
    bottom: 15px; /* più in basso */
    left: 15px; /* più a sinistra */
    z-index: 5;
}

    .endorsed-logo img {
        max-width: 180px; /* più piccolo */
        height: auto;
        position: relative;
        z-index: 2;
        opacity: 0.75;
    }
@media (max-width: 768px) {
    .endorsed-logo {
        bottom: 10px;
        left: 10px;
    }

        .endorsed-logo img {
            max-width: 95px;
        }
}

