/**
* 2007-2018 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-2018 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.
*/
#aw-promo-template-1,
#aw-promo-template-2,
#aw-promo-template-3{
    position:relative;
    background: #ffffff;
    border-radius: 2px;
    border: 1px solid #eaeaea;
    max-height:600px;
    min-height: 100px;
    overflow: hidden;
    padding-left:0 !important;
    padding-right:0 !important;
}
.aw-promo-popup-overlay{
    position:fixed;
    z-index:1000;
    top:0; left:0;bottom:0;right:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.7);
    text-align: center;
    display: none;
}
.aw-prmomo-popup-fix{
    height:100%;
    max-width: 800px;
    margin:auto;
}
#aw-promo-template-1 .overflowing,
#aw-promo-template-2 .overflowing,
#aw-promo-template-3 .overflowing{width:100%; height:100%; max-height:600px;overflow-y: auto; overflow-x: hidden}
.aw-promo-visual{width:100%; height:auto;overflow:hidden;}
.aw-promo-visual a{width: 100%; height:100%; display: block; cursor: pointer;}
.aw-promo-visual img{width:auto; height:80%;}

.aw-promo-popup-close-button{
    width:40px;height:40px;
    text-align: center;
    line-height: 38px;
    font-size: 30px;
    font-weight: bold;
    color: #000;
    background: #ffffff;
    border: 1px solid #eaeaea;
    
    position: absolute;
    top: 0px; left: auto; right:0px;
    
    cursor: pointer;
    display:none;
}


@media screen and (max-width: 768px){
    .aw-prmomo-popup-fix{
        width:95%;   
    }
    .aw-promo-visual img{
    	height:auto;
    	max-width:100%;
    }
     #aw-promo-template-1 .overflowing,
#aw-promo-template-2 .overflowing,
#aw-promo-template-3 .overflowing{width:100%; height:100%; max-height:90vh ;max-width:600px;overflow-y: auto; overflow-x: hidden}
}