/**
* 2007-2022 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-2022 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.
*/

#opxmodal.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.4);
}


#opxmodal .modal-content {
    background-color: #fefefe;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: auto;
    border: 1px solid #888;
    position: relative;
    z-index: 11;
    width: 600px;
    aspect-ratio: 1/1;
    max-width: 90vw;
}

#opxmodal .close {
    color: #424242;
    font-size: 28px;
    font-weight: bold;
    z-index: 12;
    opacity: 1;
    text-shadow: 1px 0px 1px #ffffff;
    position: absolute;
    top: 10px;
    right: 15px;
    margin: 0;
}

#opxmodal .close:hover,
#opxmodal .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#opxmodal.modal .modal-content a {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}
