.ywcfav_video, .ywcfav_audio {position: relative; /* 16:9 */ padding-top:0px; height:auto;max-width:100%;}

.woocommerce span.onsale, .woocommerce-page span.onsale { z-index: 10; }

.ywcfav_video_container .ywcfav_placeholder_container, .ywcfav_video_modal_container .ywcfav_placeholder_modal_container, .ywcfav_video_embd_container .ywcfav_video_embd_placeholder,
.ywcfav_audio_modal_container .ywcfav_audio_placeholder_modal_container, .ywcfav_audio_container .ywcfav_audio_placeholder_container
{position: relative;width:100%;}

/*.ywcfav_video_container .ywcfav_placeholder_container:hover, .ywcfav_video_modal_container .ywcfav_placeholder_modal_container:hover, .ywcfav_video_embd_container .ywcfav_video_embd_placeholder:hover,
.ywcfav_audio_modal_container .ywcfav_audio_placeholder_modal_container:hover, .ywcfav_audio_container .ywcfav_audio_placeholder_container:hover
{cursor: pointer;  opacity: 0.4; filter: alpha(opacity=40); /* For IE8 and earlier }*/

/*.ywcfav_video_container .ywcfav_placeholder_container span, .ywcfav_video_modal_container .ywcfav_placeholder_modal_container span, .ywcfav_video_embd_container .ywcfav_video_embd_placeholder span,
.ywcfav_audio_modal_container .ywcfav_audio_placeholder_modal_container span, .ywcfav_audio_container .ywcfav_audio_placeholder_container span
{
    font-size: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -51px;
    margin-left: -50px;
}*/



.ywcfav_video_container .ywcfav_placeholder_container:hover .ywcfav_play, .ywcfav_video_modal_container .ywcfav_placeholder_modal_container:hover .ywcfav_play, .ywcfav_video_embd_container .ywcfav_video_embd_placeholder:hover .ywcfav_play,
.ywcfav_audio_modal_container .ywcfav_audio_placeholder_modal_container:hover .ywcfav_play, .ywcfav_audio_container .ywcfav_audio_placeholder_container:hover .ywcfav_play
{
    outline: 0;
    border-color: #fff;
/* IE8 needs a non-glow hover state */
    background-color: #505050;
    background-color: rgba(50, 50, 50, 0.75);
/* box-shadow */
    -webkit-box-shadow: 0 0 3em #ffffff;
    -moz-box-shadow: 0 0 3em #ffffff;
    box-shadow: 0 0 3em #ffffff;
/* transition */
    -webkit-transition: all 0s;
    -moz-transition: all 0s;
    -o-transition: all 0s;
    transition: all 0s;
}

.ywcfav_play{
    /* Center it horizontally */
    left: 50%;
    margin-left: -1.7000000000000002em;
    /* Center it vertically */
    top: 50%;
    margin-top: -1.4500000000000002em;
    font-size: 30px;
    display: block;
    z-index: 2;
    position: absolute;
    width: 3.2em;
    height: 2.7em;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    opacity: 1;
    /* Need a slightly gray bg so it can be seen on black backgrounds */
    /* background-color-with-alpha */
    background-color: #3b3b3b;
    background-color: rgba(59, 59, 59, 0.9);
    border: 0.1em solid #ffffff;
    /* border-radius */
    -webkit-border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    border-radius: 0.8em;
    /* box-shadow */
    -webkit-box-shadow: 0px 0px 1em rgba(255, 255, 255, 0.25);
    -moz-box-shadow: 0px 0px 1em rgba(255, 255, 255, 0.25);
    box-shadow: 0px 0px 1em rgba(255, 255, 255, 0.25);
    /* transition */
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    color:#fff;
}
.ywcfav_play:before{
    content: "\e001";
    font-family: VideoJS;
    /* In order to center the play icon vertically we need to set the line height
       to the same as the button height */

    line-height: 2.7em;
    text-shadow: 0.05em 0.05em 0.1em #000;
    text-align: center /* Needed for IE8 */;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
}


/* modal window */
#ywcfav_audio_gallery_modal .pp_inline{
    text-align: center;
}

#ywcfav_video_gallery_modal .pp_close, #ywcfav_audio_gallery_modal .pp_close{
    z-index: inherit;
}

.woocommerce div.product div.images div.ywcfav_video div.thumbnails, .woocommerce div.product div.images div.ywcfav_audio div.thumbnails{
    padding-top: 1em;
}
.vbox-inline.figlio .vjs-youtube .vjs-poster {
    background-size: cover !important;
}
.vbox-close{

    background-image: url( ../images/venobox/close-square.gif )!important;
}

.vwrap{
    top: 0!important;
}

.vbox-inline.figlio .video-js{
    width: 100% !important;
    height: 100% !important;
}

.vbox-inline{
    padding: 10px !important;
  /*  height: auto !important;*/
    overflow: hidden!important;
    text-align: center !important;
}

@media (max-width: 767px) {
    .vbox-inline{
        max-width: 500px!important;
    }
}
@media (max-width: 480px) {
    .vbox-inline{
        max-width: 280px!important;
    }
}

/* IPAD PORTRAIT */
@media (min-width: 768px) and (max-width: 979px) {
    .vbox-inline{
        max-width: 700px!important;
    }
}

/* IPAD LANDSCAPE */
@media (min-width: 980px) and (max-width: 1199px) {
    .vbox-inline{
        max-width: 940px!important;
    }
}


@media (min-width: 1200px) {

}
.vbox-preloader{
    position:fixed;
    width:32px;
    height:11px!important;
    left:50%;
    top:50%;
    margin-left:-16px;
    margin-top:-16px;
    background-image: url(../images/venobox/preload-dots.png)!important;
    text-indent: -100px;
    overflow: hidden;
    -webkit-animation: playload 1.4s steps(24) infinite;
    -moz-animation: playload 1.4s steps(24) infinite;
    -ms-animation: playload 1.4s steps(24) infinite;
    -o-animation: playload 1.4s steps(24) infinite;
    animation: playload 1.4s steps(24) infinite;
}

@-webkit-keyframes playload {
    from { background-position:    0px; }
    to { background-position: -768px; }
}
@-moz-keyframes playload {
    from { background-position:    0px; }
    to { background-position: -768px; }
}
@-ms-keyframes playload {
    from { background-position:    0px; }
    to { background-position: -768px; }
}
@-o-keyframes playload {
    from { background-position:    0px; }
    to { background-position: -768px; }
}
@keyframes playload {
    from { background-position:    0px; }
    to { background-position: -768px; }
}
/*thumbnail small*/
.thumbnails .ywcfav_video_show_modal, .thumbnails .ywcfav_audio_show_modal{
    position: relative;
}