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


@font-face {
   font-family: 'Material Icons';
   font-display: block;
 }


.sw-popin-back {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15000;
    cursor: pointer;
    background-color: rgba(100, 100, 100, 0.5);
}

.sw-popin {
    /* box-sizing: border-box; */
    display: flex;
    align-items: center;
    position: fixed;
    /* top: 7.5em;
    bottom: 0;
    left: 7.5em;
    right: 0; */
    z-index: 20000;
    width: calc(100% - 15em);
    height: calc(100% - 15em);
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);

    max-width: 1070px;
    max-height: 325px;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
}


@media screen and (max-width: 980px) {

    .sw-popin {
        max-height: 550px;
    }

}

.sw-popin img {
    height: 100%;
}

.sw-popin form {
    padding: 1em;
    overflow: auto;
    max-height: 100%;
}

.sw-popin form h2 {
    font-weight: 500;
    font-size: 33px;
    color: black;
    text-transform: uppercase;
}

.sw-popin form .lp-1 {
    font-size: 16px;
}

.sw-popin form .lp-2 {
    font-size: 16px;
    text-transform: uppercase;
}

.sw-popin form .lp-2 span {
    text-transform: none;
    display: block;
    color: #8c8c8c;
}

.sw-popin form p {
    color: black;
    font-size: 0.8em;
    margin-bottom: 1.5em;
}

.sw-popin form p a:hover, .sw-popin form p a:focus {
    text-decoration: underline;
}

.sw-popin form input, .sw-popin form button {
    height: 2em;
}

.sw-popin form input[type='number']:focus {
    outline-width: 0;
}

.sw-popin form input[type='number'] {
    min-width: 15em;
    height: 50px;
    padding: 20px;
    border: 1px solid #c8c8c8;
    border-radius: 9px 0 0 9px;
    border-right: none;
    color: #484848;
    font-size: 18px;
}

.sw-popin form button[type='submit'] {
    background-color: #C3AB3D;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    height: 50px;
    margin-left: -10px;
    line-height: 50px;
    border: 0px solid #C3AB3D;
    border-radius: 0 9px 9px 0;
    margin-top: 1px;
    font-weight:100;
    padding:0px 20px;
    font-size:18px;
}

.sw-popin form .lp-3 {
    margin-top:20px;
}

.sw-popin form button[type='submit']:hover, .sw-popin form button[type='submit']:focus {
    color: black;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5) inset;
}


@media screen and (max-width: 980px) {

    .sw-popin {
        max-height: 550px;
    }

    .sw-popin form input[type='number'] {

        text-align: center;
        width: 100%;
        border-radius: 9px;
        border-right: 1px solid #c8c8c8;
    }
    .sw-popin form button[type='submit'] {
        border-radius: 9px;
        width: 100%;
        margin-left: 0;
        margin-top: 12px;
    }

    .sw-popin img {

        bottom: -89px;
    }

    .sw-popin {
        overflow:hidden;
    }
    .sw-popin form .lp-3 {
        margin-bottom: 0;
        margin-top: 51px;
    }

}

.sw-popin-close {
    cursor: pointer;
    border: none;

    position: absolute;
    top: 1em;
    right: 1.5em;
    opacity: 0.3;
}

.sw-popin-close:hover {
    opacity: 1;
}

.sw-popin-close:before, .sw-popin-close:after {
    position: absolute;
    content: ' ';
    height: 21px;
    width: 2px;
    background-color: #333;
}

.sw-popin-close:before {
    transform: rotate(45deg);
}

.sw-popin-close:after {
    transform: rotate(-45deg);
}

.sw-display-popin {
    border: none;
    background-color: transparent;
    cursor: pointer;
    height: 3rem;
    align-items: center;
    display: flex;
    opacity:0;
}

.sw-display-popin:hover, .sw-display-popin:focus {
    color: #2fb5d2;
}

.sw-display-popin .material-icons {
    line-height: inherit;
}

.sw-display-popin.bad-address {
    text-align: left;
    padding: 0;
}

.sw-demo-block {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* height: 20%; */
    /* max-height: 50px; */
    background-color: #E3C749;
    padding: 8px;
    z-index: 5000;
    display: flex;
    align-items: center;
    text-align:center;
}

.sw-demo-block h2 {
    color: white;
    padding-right: 0;
    margin: 0;
    margin-right: 2em;
}

.sw-demo-block div {
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-size: 15px;
}

.sw-error-message {
    /*display: inline-block;*/
    /*background-color: rgb(200, 50, 50);*/
    /*color: black;*/
    /*font-weight: bold;*/
    /*padding: 1em;*/
}

.sw-error-message .sw-display-popin {
    color: black;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.product-price-and-shipping {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-description {
    /* height: 90px !important; */
    /*padding: 0.5em;*/
}

#header {
    position: sticky;
    top: 0;
    z-index: 9999;
}

@media screen and (max-width: 1130px) {
    .sw-popin {
        width: 80%;
        height: auto;
        top: 10%;
        left: 10%;
        bottom: 10%;
        align-items: flex-start;
        justify-content: center;
        transform: none;
    }

    .sw-popin .sw-popin-close {
        z-index: 1000;
    }

    .sw-popin img {
        position: absolute;
        max-width: 100%;
        max-height: 100%;
        height: auto;
    }

    .sw-popin form {
        z-index: 500;
        max-width: 100%;
        height: 100%;
        overflow: auto;
        background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.9));
        display: flex;
        flex-direction: column;
    }

    .sw-popin form .sw-inputs {
        margin: auto;
    }

    .sw-popin form p {
        color: black;
    }

    .sw-popin form input {
        max-width: 100%;
        border: 1px solid black;
        padding: 0.5em;
    }

    .sw-demo-block div {
        flex-direction: column;
    }
}


#error_addr_container {
    display: none;
    /*width:600px;*/
}

#error_addr .ealine1 {
    background: #B00226;
    font-weight: bold;
    color: #fff;
    /* height: 75px; */
    padding: 20px;

    /* padding-left: 220px; */
    font-size: 15px;
    /* line-height: 25px; */
    position: relative;
}

#error_addr .ealine1 span {
    background: #af0025;
    font-weight: bold;
    color: #fff;
    width: 200px;
    /* position: absolute; */
    top: 0;
    left: 0;
    line-height: 49px;
    font-size: 37px;
    /* padding-left: 20px; */
    display:block;
}



#error_addr .ealine2 {
    background:#ffdde4;
    padding:20px;
    font-size: 15px;
}

#error_addr .ealine3 {
    background:#ffdde4;
    padding:20px;
    height: auto;
    font-size:15px;
}

#error_addr .ealine3 button {
    display: inline-block;
    font-weight: bold;
    color: #2DB1DE;
    height:auto;
}

#error_addr .ealine3 form {
    display: inline-block;
}


.sw-popin.nozone,.sw-popin-back.nozone {
display:none;
}

.sw-demo-block .material-icons {
    display:none;
}

.sw-demo-block button {
    text-decoration:underline;
}
