/**
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2016 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/


#alcavideo_iframe .rte.video_product{
    width:100%;
}

#alcavideo_iframe  embed{
    width:100%;
    height:300px;
}

#alcavideo_button {
    margin-bottom: 10px;
    margin-top: 5px;
}

  /* Segunda forma */

#alcavideo_mediapp {
    margin-bottom: 10px;
    margin-top: 10px;
}

.product-images #alcavideo_mediapp {
    width: 86%!important;
    overflow: hidden;
    position: relative;
}

.product-images #alcavideo_mediapp::before {
    background-size: 150%;
    background-position: center center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    opacity: 0.30;
    z-index: 2;
}
  
.alcavideo_videopp{
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 640px;
    z-index: 99999;
    transform: translate( -50%,-50%) !important;
    padding: 0 20px;
}

.alcavideo_popup {
    overflow: auto !important;
    position: fixed;
    z-index: 99999;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.7);
    opacity:0;
    visibility:hidden;
    transition:.3s ease;
    text-align: center;
}

.show-popup .alcavideo_popup {
    opacity:1;
    visibility: visible;
}

.alcavideo_popup > iframe {
    position:absolute;
    top:50px;
    left:50%;
    margin-left:-280px;
}

img.icon_button {
    margin-right: 0px;
    vertical-align: top;
    width: 48px;
    position: relative;
    z-index: 3;
}

.alcavideo_thumbnail {
    display: block;
    height: 270px;
    border-radius: 15px;
    background-color: #fff;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.17); 
    box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.17);
    margin-bottom: 15px;
}


@media (max-width: 767px) {
    .product-images #alcavideo_mediapp {
        width: auto !important;
        height: auto !important;
    }

    .product-images #alcavideo_mediapp::before {
        background-size: 190%;
    }

    img.icon_button {
        margin-right: .4125rem;
        padding: 4px 5px 5px 7px;
        margin-left: .300rem;
        width: 86%;
        height: auto;
    }

}