.entry-header {
    background: transparent;
}

.post-title {
    font-size: 36px;
}

#primary {
    min-height: 600px;
    padding: 0 60px;
    color: #0b3d68;
}

.entry-title.post-title {
    text-transform: none;
    margin-bottom: 10px;
}

.bi_logo_box {
    margin: 0 auto 45px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: 100px;
    max-width: 620px;
}

.bi_logo_box1 {
    margin-right: 5px;
    align-items: center;
    display: flex;
    min-height: 130px;
}

.bi_logo_box1 img {
    max-width: 160px;
}

.bi_logo_box2 {
    grid-column: 2 / 9;
    align-items: center;
    display: flex;
}

.slider-wrap .content-area .bi_logo_box2 h1 {
    margin: 15px 15px 0;
    padding: 0;
    white-space: nowrap;
    text-align: left;
}

@media (min-width: 767px) {

    .slider-wrap .content-area .bi_logo_box2 h1 {
        min-width: 330px;
    }
}

@media (min-width: 992px) {

    .slider-wrap .content-area .bi_logo_box2 h1 {
        min-width: 430px;
    }
}

@media (max-width: 991px) {

    .bi_logo_box {
        max-width: 420px;
    }

    .bi_logo_box1 img {
        max-width: 120px;
    }

    .slider-wrap .content-area .bi_logo_box2 h1 {
        font-size: 40px;
    }

    .bi_logo_box2 {
        grid-column: 2 / 6;
    }

}

@media (max-width: 767px) {

    .bi_logo_box {
        margin: 0 auto;
        display: block;
    }

    .bi_logo_box1 {
        margin: 0 auto;
        text-align: center;
        display: block;
        min-height: 0;
    }

    .bi_logo_box2 {
        display: block;
    }

    #main {
        margin-top: -45px;
    }

}

@media (max-width: 1023px) {

    .entry-title.post-title {
        padding: 0;
    }

}

@media (max-width: 991px) {

    .entry-title.post-title {
        padding: 0 30px;
    }

    .title-post {
        font-size: 16px;
    }

}

@media (max-width: 767px) {

    div #primary {
        padding: 0 30px 30px !important;
        margin-top: 0;
    }

    #primary {
        min-height: 0;
    }

    .entry-title.post-title {
        padding: 0;
        font-size: 36px;
    }

    #frmSearchBisogni fieldset.gd-blue {
        margin-bottom: 0;
    }

}

@media (max-width: 379px) {

    .entry-title.post-title {
        font-size: 28px;
    }

}

.gal {
    margin-top: 15px;
}

.desc {
    color: #0b3d68;
    font-size: 20px;
    line-height: 1.6em;
    margin: 40px auto 60px;
    padding-top: 30px;
}

.desc ul,
.desc ol {
    padding: 20px;
}

.desc ul li,
.desc ol li {
    padding: 10px 0;
}

.desc strong {
    font-weight: 700;
    color: #1c5e97;
}

.desc h1,
.desc h2,
.desc h3,
.desc h4,
.desc h5,
.desc h6 {
    font-weight: bold !important;
}

.desc .foto_dx {
    float: right;
    margin: -60px 0 15px 40px;
    max-width: 55%;
}
    .desc .foto_dx.main {
        float: right;
        margin: -60px 0 15px 60px;
        max-width: 62%;
    }
        .desc .foto_dx.main img {
            width: 100%;
            height: auto;
            max-height: none;
        }

        .fieldset_box {
            max-width: 400px;
        }

        .firstText {
            margin: 30px 0 90px;
        }

        @media (max-width:1199px) {

            .desc .foto_dx.main {
                max-width: none;
            }

            .fieldset_box {
                margin: 0 auto;
            }

            .firstText {
                margin: 30px 0 60px;
            }

        }

            @media (max-width: 991px) {

                .desc .foto_dx.main {
                    margin: 0;
                }

            }

.desc .desc_image {
    color: #1c5e97;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5em;
    text-align: left;
}

.desc .foto_sx {
    float: left;
    margin: -60px 40px 5px 0;
    max-width: 55%;
}

.desc .foto_dx img,
.desc .foto_sx img {
    max-width: 100%;
    max-height: 400px;
    transition: all .3s ease 0s;
}

.desc img {
    border-radius: 12px;
}

.foto_last {
    max-width: 50%;
}

.foto_last img {
    max-width: none;
    width: 500px !important;
    margin: 0;
}

.foto_last .desc_image {
    width: 380px !important;
}

@media (min-width: 768px) {

    .desc .foto_dx img:hover,
    .desc .foto_sx img:hover {
        transform: scale(1.1);
        z-index: 100;
    }

}

@media (max-width: 767px) {

    .blog-single {
        padding-top: 0;
    }

    .desc {
        margin: 30px 0 0;
    }

    .desc img {
        width: 100%;
    }

    .desc .foto_sx,
    .desc .foto_dx {
        float: none;
        margin: 15px 0;
        max-width: none;
    }

    .foto_last {
        max-width: none;
        margin-bottom: 15px;
    }

    .foto_last img,
    .foto_last .desc_image {
        width: 100% !important;
    }

    .desc .foto_dx img,
    .desc .foto_sx img {
        max-height: none;
    }
}