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

#iqitpopup-overlay {
    background-color: #222221;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5103;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    visibility: hidden;
}

#iqitpopup {
    background-color: transparent !important;
    position: fixed;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); */
    z-index: 5104;
    width: 400px;
    height: 400px;
    margin: auto;
    opacity: 0;
    visibility: hidden;
    transition: transform .3s ease-out, opacity .3s ease, visibility .3s ease;
    -ms-transform: translate(-50%, -75%);
    -webkit-transform: translate(-50%, -75%);
    transform: translate(-50%, -75%);
    left: 50%;
    top: 50%;
}

#iqitpopup.showed-iqitpopup {
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 1;
    visibility: visible;
}


#iqitpopup .iqitpopup-content {
    /*padding: 15px; */
    position: relative;
}

#iqitpopup .iqitpopup-content .modal-header-wrapper {
    position: absolute;
    bottom: 10px;
    padding: 0 23px;
}

#iqitpopup .iqitpopup-content p {
    padding: 0 0px;
}

#iqitpopup .iqitpopup-content .modal-title {
    color: #F4F2E9;
    font-size: 56px;
    line-height: 55px;
    text-transform: uppercase;
    font-weight: normal;
    font-family: 'PPNeueMontreal-Medium';
}

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

    #iqitpopup .iqitpopup-content .modal-title {
        font-size: 46px;
        line-height: 54px !important;
    }
}

#iqitpopup .iqitpopup-content .modal-subtitle {
    font-size: 21px;
    color: #F4F2E9;
    line-height: 40px;
    font-weight: normal;
}

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

    #iqitpopup .iqitpopup-newsletter-form .newsletter-input {
        width: 80%;
        max-width: 220px;
        text-align: center;
    }
}



#iqitpopup .iqitpopup-content img {
    max-width: 100%;
}

#iqitpopup .iqitpopup-newsletter-form {
    padding: 18px 10px 29px 10px;
    background: #fff;
    /*position: absolute;*/
    bottom: 0px;
    width: 100%;
    text-align: center;

}

#iqitpopup .iqitpopup-newsletter-form .newsletter-input {
    width: 60%;
    height: 35px;
    max-width: 250px;
}

#iqitpopup .iqitpopup-newsletter-form .button-medium {
    padding-top: 9px;
    padding-bottom: 9px;
}

#iqitpopup .iqitpopup-close {
    height: 30px;
    top: 0px;
    right: 0px;
    position: absolute;
    /*background: #D6D6D6;*/
    padding-right: 30px;
    z-index: 9;
}

#iqitpopup .iqit-close-checkbox,
#iqitpopup .iqit-close-popup {
    display: inline-block;
}

#iqitpopup .iqit-close-checkbox {
    vertical-align: middle;
    padding: 5px;
    font-size: 10px;
}

#iqitpopup .iqit-close-checkbox>div {
    display: inline-block;
    vertical-align: middle;
}

#iqitpopup .iqit-close-popup {
    background: #000;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 2;
    text-align: center;
    line-height: 30px;
    position: absolute;
    top: 0px;
    right: 0px;
}

#iqitpopup .cross {
    display: block;
}

#iqitpopup .cross:before {
    content: "\f00d";
    display: block;
    font-family: "Font Awesome 5 Pro";
    font-size: 20px;
    color: #fff;
}

#iqitpopup-overlay.showed-iqitpopupo {
    opacity: 0.6;
    visibility: visible;

}

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

    #iqitpopup .iqitpopup-newsletter-form .newsletter-input {
        width: 80%;
        max-width: 220px;
        text-align: center;
    }
}


/* Estilos AC */

#iqitpopup ._form input,
#iqitpopup ._form ._submit {
    font-family: 'PPNeueMontreal-Regular' !important;
}

._form-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    max-width: 563px;
    margin: 0 auto;
}

._submit {
    padding-top: 14px !important;
    display: block !important;
    width: 100% !important;
    font-size: 16px !important;
    line-height: 19px !important;
    border: none !important;
    text-transform: uppercase !important;
}

._submit:hover {
    background: #333333;
    color: #ffffff;
}

#iqitpopup ._form {
    margin: 0 auto !important;
    max-width: 100% !important;
    padding: 0 8px !important;
}

._field-wrapper input {
    border: 1px solid #9F9F9F !important;
    border-radius: 33px !important;
    padding: 12px 22px !important;
    line-height: 16px !important;
    font-family: 'PPNeueMontreal-Medium' !important;
}


#iqitpopup ._form-content > div:nth-child(1),
#iqitpopup ._form-content > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}
#iqitpopup ._form-content > div:nth-child(1) {
    margin-right: 8px !important;
}
#iqitpopup ._form-content > div:nth-child(1) ._form-label,
#iqitpopup ._form-content > div:nth-child(2) ._form-label {
    display: block !important;
}
#iqitpopup ._form-label {
    font-family: 'PPNeueMontreal-Medium' !important;
    font-weight: normal !important;
    font-size: 14px !important;
    line-height: 16px !important;
    margin-bottom: 6px !important;
    padding-left: 15px !important;
    display: block;
}

/* Fecha de nacimiento */
#iqitpopup ._form-content > div:nth-child(2) input[type='date'] {
    text-transform: uppercase !important;
    color: #909090 !important;
    -webkit-appearance: none !important;
    min-height: 37px;
    background-color: #fff !important;
    font-size : 16px !important;
    padding-top: 9px !important;
    padding-bottom: 10px !important;
}

/* Checkboxes - Marca tus preferencias */
#iqitpopup ._form-content > div:nth-child(4) legend {
    padding-left: 0px !important;
}
#iqitpopup ._form-content > div:nth-child(4) label {
    margin-bottom: 0px !important;
}
#iqitpopup ._form-content > div:nth-child(4) {
    padding: 0px 12px !important;
}
#iqitpopup ._checkbox-radio .custom-checkbox input[type="checkbox"],
#iqitpopup ._checkbox-radio .custom-checkbox input[type="checkbox"]+span {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    font-weight: normal;
    border: 1px solid #9F9F9F;
}
#iqitpopup ._form-content > div:nth-child(4) ._checkbox-radio label {
    color: #909090 !important;
    vertical-align: middle;
}
/* Modalidad - Checkbox */
#iqitpopup ._form-content > div:nth-child(4) ._form-fieldset {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    max-width: 563px;
    margin: 0 auto;
}
#iqitpopup ._form-content > div:nth-child(4) ._form-fieldset ._row {
    width: 100%;
}

#iqitpopup ._form-content > div:nth-child(4) ._form-fieldset ._row._checkbox-radio {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}
@media (min-width: 765px) and (max-width: 4000px) {
    #iqitpopup ._form-content > div:nth-child(4) ._checkbox-radio label {
        font-size: 16px !important;
    }
}

#iqitpopup ._checkbox-radio .fa-check:before {
    font-weight: normal;
}

/* Ocultar campo AC Idioma PrestaShop */
#iqitpopup ._form-content > div:nth-child(5) {
    display: none !important;
}
/* Checkbox - Acepto la política de privacidad */
#iqitpopup ._form-content > div:nth-child(6) {
    text-align: center !important;
}
#iqitpopup ._form-content > div:nth-child(6) label {
    color: #909090 !important;
}
#iqitpopup ._form-content > div:nth-child(6) label a {
    color: #909090 !important;
}
#iqitpopup ._form-content > div:nth-child(6) .custom-checkbox input[type="checkbox"]:checked+span .checkbox-checked {
    font-weight: normal;
}
#iqitpopup ._form-content > div:nth-child(6) .custom-checkbox input[type="checkbox"],
#iqitpopup ._form-content > div:nth-child(6) .custom-checkbox input[type="checkbox"]+span {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}
#iqitpopup ._form-content > div:nth-child(6) .custom-checkbox input[type=checkbox]:checked + span:not(.color) {
    background: #818181;
}
#iqitpopup ._form-content > div:nth-child(6) .custom-checkbox input[type="checkbox"]:checked+span .checkbox-checked {
    font-size: 11px !important;
}


@media (min-width: 320px) and (max-width: 765px) {
    #iqitpopup {
        height: auto !important;
        min-width: 345px;
    }
    #iqitpopup .iqitpopup-content .modal-header-wrapper {
        position: absolute;
        bottom: 0px;
        padding: 0 13px;
    }

    #iqitpopup ._form-content > div:nth-child(1),
    #iqitpopup ._form-content > div:nth-child(2) {
        flex: none;
    }

    #iqitpopup ._form_element {
        margin-bottom: 12px !important;
    }

    #iqitpopup ._form-label {
        font-size: 12px !important;
    }

    #iqitpopup ._checkbox-radio label {
        font-size: 14px !important;
    }
    #iqitpopup ._form-content > div:nth-child(2) input[type='date'] { 
        line-height: 37px;
    }

    #iqitpopup .iqitpopup-content .modal-title {
        font-size: 26px;
        line-height: 28px !important;
    }
    #iqitpopup .iqitpopup-content .modal-subtitle {
        font-size: 18px !important;
        line-height: 22px !important;
        margin-bottom: 15px !important;
    }
    #iqitpopup ._field-wrapper input {
        padding: 7px 22px !important;
    }

    #iqitpopup.showed-iqitpopup {
        max-width: 304px !important;
        transform: translate(-50%, -50%) scale(0.9) !important;
    }
    #iqitpopup ._checkbox-radio .custom-checkbox._row, 
    #iqitpopup ._checkbox-radio .custom-checkbox label {
        width: auto !important;
    }

    #iqitpopup ._form-content > div:nth-child(6) ._row {
        margin-bottom: 0px !important;
    }
}