#formembed.hull-embed {
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    width: 100%;
    /* height: 800px; */
    height:auto;
    padding: 0;
    padding: 0 20px;
}
.hull-embed figure, .hull-embed figcaption{
    margin:0;
    padding:0;
}
.hull-embed figure {
    display: flex
;
    flex-direction: column;
}
.hull-embed figcaption {
    background: black;
    padding:.2rem .3rem;
}
.flipimage{
    background: black;
    display:none;
    width: 100%;
    height:auto;
    flex-direction: column;
    padding: 0 20px;
    overflow-y: scroll;
}
.flipimage.show {
    display: flex;
}
.flipimage .icon-cancel {
    position:absolute;
    top:1rem;
    right:1rem;
    color:#fff;
}

#youtube-video {
    aspect-ratio: 16 / 9;
    width: 100%;
}
#opts{
    margin: 4rem auto 0 auto; 
    width: 100%;
    justify-content: space-between;
    display:none;
}
#opts.show {
    display:flex;
}


#opts a {flex-direction: column;}
img.owl-lazy{min-height: 0!important;height: auto!important}
.middleimg{text-align: center;}
.middleimg img{width: 40%}
.hull-testo p:last-child{font-size:.8rem;}

/*** Risoluzione > 1024px ***/
@media screen and (min-width:1024px){
    .flipimage{
        flex-direction: row;
        overflow: hidden;
        padding: 0 40px;
        margin: 0;
    }
    .flipimage .video-container{flex: 0 0 60%;display: inline-block;padding-top: 0;}
    .flipimage form{flex: 0 0 40%;transform: scale(1)!important;}
    .flipimage form a.backmenu{margin-top: 0px;top:5px}
    #formembed.hull-embed {
        padding: 0 40px;
    }
    .testo p img {max-width: 50%!important;margin: 0 auto;display: block;}
}