
.fvp-featured-item-wrap{
    position:relative;
    top:0;
    left:0;
    margin: 0;
    padding: 0;
    width: 100%;
    height:auto;
    z-index: 0;
    overflow: hidden;
}

.fvp-featured-poster{
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
}

.fvp-video-layer{
    pointer-events: none;
}

.fvp-featured-item-direct-embed{
    transition: opacity 500ms ease-out;
    transition-delay: 1s;
    position: relative;
    width: 100%;
}

.fvp-featured-item-direct-embed .fvp-video{
    max-width: 100%!important;
    visibility: visible!important;
    position: relative!important;
    display: block!important;
}
/*
.fvp-direct-replace .fvp-video{
    top: 50%;
    transform: translateY(-50%);
}*/

.fvp-direct-onload {
    position: relative;
}
.fvp-direct-onload iframe {
    position: absolute!important;
    top: 0!important;
    left: 0!important;
}

.fvp-direct-iframe{
    position: absolute!important;
    top: 0!important;
    left: 0!important;
    width: 100%!important;
    height: 100%!important;
    max-width: none!important;
    max-height: none!important;
    background: #111;
}

.fvp-video-wrap{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*height: auto;*/
    transition: opacity 350ms ease-out;
    overflow: hidden;
    background: #111;
}

.fvp-featured-item-wrap .fvp-video{
    visibility: visible!important;
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-width: none!important;
    min-width: 100%;
    display: block;
}

.fvp-featured-item-direct-embed .fvp-video-wrap{
    position: relative!important;
    height: auto!important;
}

.fvp-featured-item-direct-embed .fvp-video{
    position: relative!important;
    top: 0!important;
    left:0!important;
    transform:none!important;
}

/*
.fvp-direct-replace_ar .fvp-video-wrap{
    position: relative!important;
    height: auto!important;
}*/

/*
.fvp-featured-item-direct-embed.fvp-is-product-item .fvp-video{
    height: auto!important;
}*/


.fvp-featured-item-wrap:hover .fvp-product-icon{
    display: none;
}


.fvp-direct-audio{
    position: absolute!important;
    bottom: 10px!important;
    left: 10px!important;
    width: calc(100% - 20px)!important;
    visibility: visible;
}

.fvp-audio{
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: block;
    visibility: visible;
}

.fvp-iframe{
	position: absolute;
	top:0;
	left: 0;
	height: 100%;
	background: #222;
	transition: opacity 350ms ease-out;
	opacity: 0;
    max-width: none!important;
}
/*
.fvp-featured-item-wrap img{
    min-width: 100%!important;
    height: auto!important;
}*/

.fvp-yt-clean{
    position: absolute!important;
    width: 132%!important;
    height: 200%!important;
    top: -50%!important;
    left: -16%!important;
    max-width: none!important;
}

.fvp-blocker{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0);
}
.fvp-video-icon{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

/*
.fvp-is-product-tag-item[data-permalink] .fvp-blocker,
.fvp-is-product-category-item[data-permalink] .fvp-blocker,
.is_shop[data-permalink] .fvp-blocker{
    cursor: pointer;
}*/

.fvp-dual-ring {
  display: inline-block;
  width: 50px;
  height: 50px;
  position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
}
.fvp-dual-ring:after {
  content: " ";
  display: block;
  width: 38px;
  height: 38px;
  margin: 6px;
  border-radius: 50%;
  border: 6px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: fvp-dual-ring 1.2s linear infinite;
}
@keyframes fvp-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}



.fvp-loader{
    display: block;
    position: absolute;
    left: 50%;
    top:50%;
    transform: translate(-50%, -50%);
    z-index:12;
    pointer-events: none!important;
}
/*
.fvp-featured-item-active{
    z-index: 30;
}*/
.fvp-featured-image-lightbox{
    position: relative;
}
.fvp-featured-image-lightbox:hover .fvp-controls{
    opacity: 1;
}


.fvp-product-icon{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    width: auto !important; 
    max-width:100%!important;
    pointer-events: none;
   
}




/* tooltip */

.fvp-video-tooltip{
    position: absolute;
    max-width: 600px;
    width: 100%;
    height: auto;
    min-height: 200px;
    background: #fff;
    pointer-events: none;
    padding: 10px;
    z-index: 99999999;
    display: none;
    opacity: 0;
    transition: opacity .35s ease-out;
    box-shadow: 0 0 5px 3px rgb(0 0 0 / 12%);
}

.fvp-video-tooltip .fvp-video-wrap{
    position:relative;
}

.fvp-video-tooltip-img{
    width: 100%;
    max-width: none;
    display: block;
    opacity: 0;/*keep ratio, we dont need image*/
}
.fvp-video-tooltip-visible{
    opacity: 1;
}
.fvp-video-tooltip .fvp-media{
    position:relative;
    top:0;
    left:0;
    width: 100%;
    height: auto;
    background: #111;
}
.fvp-video-tooltip .fvp-video{
    position:relative;
    top:0;
    left:0;
    width:100%;
    height: auto;
    min-height:100%;
    object-fit: cover;
    transition: opacity 500ms ease-out;
    visibility: visible!important;
    vertical-align: top;
}
@media (max-width: 400px) { 
    .fvp-video-tooltip{
        padding: 10px;
    }
}

/* product popup */

.fvp-product-popup-btn{
    padding: 10px 15px;
    background: #96588a;
    color: #fff;
    text-align: center;
    display: inline-block;
    margin: 10px 0;
    cursor: pointer;
    transition: opacity 0.3s ease-out;
}
.fvp-product-popup-btn:hover{
    opacity: 0.9;
}
.fvp-product-popup-wrap{
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999999;
    background: rgba(0,0,0,0.25);
    transition: opacity 0.3s ease-out;
    opacity: 0;
}
.fvp-product-popup-visible{
    opacity: 1;
}
.fvp-product-popup{
    display: inline-flex;
    padding: 10px;
    flex-direction: row;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
.fvp-product-popup-light .fvp-product-popup{
    background: #fff;
}
.fvp-product-popup-dark .fvp-product-popup{
    background: #333;
}
.fvp-product-popup-media{
    max-width: 360px;
    position: relative;
}
.fvp-product-popup-media .fvp-video{
    width: 100%;
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
}
.fvp-product-popup-media img{
    display: block;
}
.fvp-product-popup-video{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.fvp-product-popup-data{
    margin: 10px;
}
.fvp-product-popup-title{
    font-size: 30px;
}
.fvp-product-popup-light .fvp-product-popup-title{
    color: #28303d;
}
.fvp-product-popup-dark .fvp-product-popup-title{
    color: #fff;
}
.fvp-product-popup-description{
    font-size: 16px;
}
.fvp-product-popup-light .fvp-product-popup-description{
    color: #aaa;
}
.fvp-product-popup-dark .fvp-product-popup-description{
    color: #aaa;
}
.fvp-product-popup-price{
    font-size: 16px;
}
.fvp-product-popup-light .fvp-product-popup-price{
    color: #28303d;
}
.fvp-product-popup-dark .fvp-product-popup-price{
    color: #ccc;
}
.fvp-product-popup-cart-btn{
    background: #96588a;
    padding: 10px 20px;
    display: inline-block;
    color: #fff;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease-out;
}
.fvp-product-popup-cart-btn:hover{
    opacity: 0.9;
}
.fvp-product-popup-close{
    position: absolute;
    top: -20px;
    right: -20px;
    width: 30px;
    border-radius: 100%;
    height: 30px;
    cursor: pointer;
}
.fvp-product-popup-light .fvp-product-popup-close{
    background: rgba(50,50,50,0.9);
}
.fvp-product-popup-dark .fvp-product-popup-close{
    background: rgba(255,255,255,0.9);
}
.fvp-product-popup-close svg{
    height: 22px;
    top: 50%;
    position: absolute;
    color: #aaa;
    left: 50%;
    transform: translate(-50%,-50%);
}
@media (max-width: 500px) { 
    .fvp-product-popup{
        flex-direction: column;
    }
}





/* icons */

.fvp-controls{
    position: absolute;
    display: flex;
    flex-wrap:nowrap;
    z-index: 11;
    transition: opacity 0.3s ease-out;
    opacity: 0;
}
.fvp-featured-item-active .fvp-controls,
.fvp-featured-item-direct-embed:hover .fvp-controls{
    opacity: 1;
}
.fvp-controls-tl.fvp-controls{
    top:0;
    left:0;
}
.fvp-controls-tr.fvp-controls{
    top:0;
    right:0;
}
.fvp-controls-bl.fvp-controls{
    bottom:0;
    left:0;
}
.fvp-controls-br.fvp-controls{
    bottom:0;
    right:0;
}
.fvp-controls-c.fvp-controls{
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}
.fvp-contr-btn{
    background: rgba(40,40,40,0.25);
    width:45px;
    height:45px;
    box-shadow: none!important;
    border:none!important;
    outline:none!important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.fvp-contr-btn:hover img{
    opacity:1 !important;
}
.fvp-contr-btn img{
    display: block!important;
    margin: 0!important;
    opacity: 0.9;
    width: auto!important;
    min-width: 0!important;
    box-shadow: none !important;
    border: none!important;
}

.fvp-hidden {
	opacity: 0; 
}
.fvp-visible {
    opacity: 1; 
}

.fvp-no-download{
   pointer-events:none;  
}

.woocommerce-product-video{
    margin:10px auto;
}




.fvp-contains .et_overlay,
.fvp-contains .mask,
.fvp-contains .woo-product-overlay{
    pointer-events: none!important;
    opacity: 0!important;
}

.fvp-preview-tooltip-btn{
    padding: 10px 15px;
    background: #9e9e9e;
    color: #fff;
    text-align: center;
    display: inline-block;
    margin: 10px 0;
}

/*.product.fvp-contains a,*/
.product.fvp-contains a.woocommerce-LoopProduct-link{
    width: 100%;
}


.aptbox-container {
    z-index: 99999999;
}



/* shop lightbox icon */
.fvp-shop-lightbox-icon{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1111;
    cursor: pointer;
}
.fvp-shop-lightbox-icon img{
    display: block;
}
.fvp-shop-lightbox-icon:hover{
    opacity: 0.9;
}