.image-grid {
    display: grid;
    align-content: center;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 13px;
    box-shadow: 0 15px 30px #a6b1bb;
    transition: box-shadow 0.3s ease-in-out
}

.image-grid:hover {
    box-shadow: 0 30px 30px #a6b1bb;
}

.image-grid>a {
    color: rgba(255, 255, 255, .3)
}

.image-grid img {
    aspect-ratio: 1/1
        /*;width:100%;height:100%*/
    ;
    transition: all 600ms ease !important
}

.blog-wrap .blog-item:hover .image-grid img {
    scale: 1.13
        /*;opacity:.9;transform:rotate(-2deg)*/
}

@media(min-width:768px) {
    .a-ratio {
        aspect-ratio: 1/1
    }

    .a-fit {
        object-fit: cover
    }
}

@supports not (aspect-ratio: 1/1) {
    @media(min-width:768px) {
        .image-grid img {
            /*min-height:360px;max-height:360px;line-height:360px*/
            line-height: 270px
        }

        .sgallery.hnone .image-grid img {
            max-height: none
        }

        .box_figure .image-grid img {
            max-height: 280px;
            min-height: 280px
        }
    }
}

@media(max-width:767px) {
    .image-grid img {
        height: auto;
        aspect-ratio: unset
    }
}

.image-grid .new2 {
    background: #f9b000;
    border-radius: 100%;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 29px;
    right: -3px
}

.image-grid .new {
    color: #fff;
    background: #0b3d68;
    font-size: 14px;
    line-height: 60px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 100%;
    width: 60px;
    height: 60px;
    text-align: center;
    position: absolute;
    top: 25px;
    right: -5px
        /*;mix-blend-mode:hard-light;padding-right:13px*/
}

.main-content {
    font-weight: normal
}

.main-content img {
    border-radius: 16px
}

.blog-wrap .blog-item {
    transition: all 300ms ease;
    margin-bottom: 10px
}

.blog-wrap .blog-item:hover {
    transform: translateY(-12px)
}

.xshop-category {
    width: 100%;
    border-radius: 36px;
    overflow: hidden;
}

.xshop-category figure a::before,
.xshop-category figure a::after {
    border-radius: 32px;
}

.entry-header {
    background: transparent;
}

.blog-wrap .readmore-link,
.blog-single .readmore-link {
    margin-top: 15px;
}

.blog-content {
    line-height: 1.5em;
    margin: 20px 0;
    color: #0b3d68;
}

.blog-content a {
    color: #0b3d68;
}

.blog-content a:hover,
.blog-content a:focus {
    color: #f9b000;
}

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

.post-meta,
.readmore-link {
    display: block !important;
}

#primary {
    min-height: 600px;
}

#primary,
#secondary {
    padding-top: 50px;
}

#secondary {
    padding: 0 0 0 30px;
    margin-top: 53px;
}

#secondary .post-img {
    position: relative;
    margin-top: 4px;
}

#secondary .post-img img {
    width: 100%;
    max-width: 50px;
}

.on-sale {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: #f9b000;
    color: #fff;
    padding: 3px 7px;
    text-align: center;
    font-family: "Montserrat";
    font-size: 11px;
    line-height: 1em;
    text-transform: uppercase;
}

.blog-wrap .post-meta li,
.blog-single .post-meta li {
    font-size: 12px;
    padding: 0;
    margin: 0;
}

.blog-wrap .post-description,
.blog-single .post-description {
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.5em;
}

.blog-wrap .blog-item,
.blog-single .blog-item {
    margin-bottom: 120px;
}

#box-prec-suc {
    text-align: center;
    margin: 0;
    display: none;
}

#box-prec-suc .btn-default {
    font-size: 11px;
}

#allegati-main {
    margin-top: 15px;
}

#primary.primary-single {
    padding-left: 30px;
}

#secondary.secondary-single {
    padding-right: 30px;
}

.vcenter {
    padding: 0 30px;
    text-align: left;
}

.vcenter h3 {
    font-size: 32px;
    line-height: 1.2em;
    text-transform: uppercase;
}

.vcenter .post-description {
    color: #0b3d68;
    font-size: 18px;
    line-height: 1.5em;
}

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

.media-post {
    text-align: center;
}

.img-divider {
    margin-top: 50px;
}

@media (min-width: 992px) {

    .vertical-align {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
    }

}

@media (max-width: 1199px) {

    .vcenter h3 {
        font-size: 26px;
    }

    .vcenter .post-description {
        font-size: 15px;
    }

}

@media (max-width: 1023px) {

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

}

@media (max-width: 991px) {

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

    .vcenter .post-description {
        margin-bottom: 25px;
    }

    .xshop-category figure img {
        margin-bottom: 45px;
    }

    #primary.primary-single,
    #secondary.secondary-single {
        padding-left: 15px;
        padding-right: 15px;
    }

    /*.blog-wrap .blog-item, .blog-single .blog-item {
                        margin-bottom: 0;
                    }*/

    #secondary {
        padding: 0 15px;
    }

    #secondary.secondary-single {
        margin-top: 0;
    }

    .vcenter h3 {
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;
    }

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

}

@media (max-width: 767px) {

    div #primary,
    div #secondary {
        padding: 0 30px 30px !important;
    }

    #primary {
        min-height: 0;
    }

    #box-prec-suc {
        margin: 30px 0;
    }

    .vcenter {
        padding: 0;
    }

    .vcenter h3 {
        font-size: 24px;
        max-width: none;
    }

    .vcenter .post-description {
        font-size: 16px;
    }

    .xshop-category {
        padding: 0;
        margin-bottom: 30px;
    }

    .img-divider {
        margin-top: 36px;
    }

}

@media (max-width: 379px) {

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

    .img-divider {
        margin-top: 24px;
    }

}

.gal {
    margin-top: 15px;
}

/*.owl-controls {
        display: none;
    }*/

.main-content .owl-nav>div {
    top: 45%;
}

.owl-carousel .owl-item {
    padding: 30px 0;
}

.owl-carousel .owl-item img {
    transition: transform .2s;
}

.owl-carousel .owl-item img:hover {
    transform: scale(1.3);
    z-index: 100;
}

.desc {
    font-size: 20px;
    line-height: 1.6em;
    margin: 40px auto 0;
}

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

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

.desc strong {
    font-weight: 700;
    color: #0b3d68;
}

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

.desc .foto_dx {
    float: right;
    margin: 7px 0 15px 40px;
    max-width: 45%;
}

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

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

.desc .foto_dx img,
.desc .foto_sx img {
    max-width: 100%;
    max-height: 300px;
    transition: transform .2s;
}

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

.foto_last {
    max-width: 50%;
}

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

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

.masonry {
    column-count: 2;
    column-gap: 40px;
}

.item {
    display: inline-block;
    margin: 0 0 1em;
    width: 100%;
}

@media (max-width: 767px) {

    .site-content-inner {
        padding: 0 30px;
    }

    div.blog-single .blog-item,
    div.blog-wrap .blog-item {
        margin-bottom: 90px;
    }

    .desc {
        margin: 30px 15px 0;
        /*display: none;*/
    }

    .desc img {
        width: 100%;
    }

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

    .masonry {
        column-count: 1;
        column-gap: 40px;
    }

    .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;
    }
}

@media (min-width: 1200px) {

    .no-nav .owl-controls {
        display: none;
    }

}

.slider-wrap .content-area h1 {
    line-height: 1.1em;
}

@media (min-width: 768px) {
    .slider-wrap .content-area h1 {
        font-size: 60px;
        line-height: 1.1em;
    }
}