/* ---
posicion fija:
*/
.container-pop-up {
    visibility: hidden;
    z-index: 20;
    position: fixed;
    top: 0;
    background-color: rgba(0,0,0,0);
    width: 100%;
    height: 100%;
    transition: .5s;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -ms-transition: .5s;
    -o-transition: .5s;
}

/* ---
ajuste:
*/
.ajuste-pop-up {
    /* border: 3px solid red; */
    display: flex; align-items: center;
    height: 100%;
    padding: 52px;
    overflow-x: hidden;
}

/* ---
custom:
*/
.pop-up * {
    font-size: 16px;
    text-shadow: 0px 0px 3px rgba(255, 255, 255, .75);
}

.pop-up button {
    border: none;
}

.pop-up button:focus {
    outline: none; border: none;
}

/* ---
literal:
*/
.pop-up, .buttons-pop-up button, .irrechazable-pop-up {
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}

/* ---
principal:
*/
.pop-up {
    visibility: hidden;
    position: relative;
    max-width: 750px;
    border: 1px solid white;
    background-color: #1E335C;
    text-align: center;
    padding: 13px;
    margin: auto auto;
    box-shadow: 0px 0px 25px rgba(255, 255, 255, .75);
    transform: scale(0,0);
    -webkit-transform: scale(0,0);
    -moz-transform: scale(0,0);
    -ms-transform: scale(0,0);
    -o-transform: scale(0,0);
    transition: .5s;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -ms-transition: .5s;
    -o-transition: .5s;
    transition-delay: 0s;
}

/* ---
contenido:
*/
.pop-up h1 {
    z-index: 2;
    position: relative;
    padding-top: 26px;
    font-weight: 300;
    color: white; font-size: 36px;
    text-shadow: 0px 0px 3px rgba(255, 255, 255, .75);
}

.pop-up img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    transform: scale(1.3,1.3);
    -webkit-transform: scale(1.3,1.3);
    -moz-transform: scale(1.3,1.3);
    -ms-transform: scale(1.3,1.3);
    -o-transform: scale(1.3,1.3);
}

/* ---
botones:
*/
.buttons-pop-up {
    z-index: 2;
    position: relative;
    display: flex;
}

.buttons-pop-up > button {
    display: block;
    width: 100%;
    cursor: pointer;
    padding: 13px 26px;
    color: #1E335C;
    background-color: white;
    border: 1px solid white;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
}

.buttons-pop-up > button:focus {
    border: 1px solid white;
}

.buttons-pop-up > button:hover {
    box-shadow: 0px 0px 25px rgba(255, 255, 255, .75);
}

.buttons-pop-up > button:nth-child(1) {
    order: 2;
}

.buttons-pop-up > button:nth-child(2) {
    position: relative;
    width: 200px;
    min-width: 200px;
    margin-right: 12.5px;
    order: 1;
}

.buttons-pop-up > button:nth-child(2):hover > div {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
}

.buttons-pop-up > button:nth-child(2) > div,
.buttons-pop-up > button:nth-child(2) > div > div:nth-child(1) {
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}

/* tootip "payment methods" */
.buttons-pop-up > button:nth-child(2) > div {
    visibility: hidden;
    opacity: 0;
    z-index: 4;
    position: absolute;
    left: 0px;
    bottom: 100%;
    width: 100%;
    cursor: auto;
    user-select: text;
    transition: .3s ease-in-out;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -ms-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transform: translateY(20px);
    -webkit-transform: translateY(20px);
    -moz-transform: translateY(20px);
    -ms-transform: translateY(20px);
    -o-transform: translateY(20px);
}

/* content tootip */
.buttons-pop-up > button:nth-child(2) > div > div:nth-child(1) {
    background-color: white;
    padding: 18px 12.5px;
}

.buttons-pop-up > button:nth-child(2) > div > div:nth-child(1) > h1 {
    text-shadow: 0 0 0 transparent;
    font-size: 20px;
    line-height: 23px;
    padding: 0;
    color: #1E335C;
    font-weight: bold;
    margin-bottom: 12.5px;
    border-left: 3px solid #1E335C;
}

.buttons-pop-up > button:nth-child(2) > div > div:nth-child(1) > ul {
    padding-left: 14.5px;
    list-style-type: disc;
    text-align: left;
}

.buttons-pop-up > button:nth-child(2) > div > div:nth-child(1) > ul > * {
    margin-bottom: 12.5px;
}

.buttons-pop-up > button:nth-child(2) > div > div:nth-child(1) > ul > *:last-child {
    margin-bottom: 0;
}

.buttons-pop-up > button:nth-child(2) > div > div:nth-child(1) > ul > li {
    font-weight: 500;
}

.buttons-pop-up > button:nth-child(2) > div > div:nth-child(1) > ul > li > mark {text-shadow: 0 0 0 transparent;}

/* arrow tooltip */
.buttons-pop-up > button:nth-child(2) > div > div:nth-child(2) {
    background-color: transparent;
}

.buttons-pop-up > button:nth-child(2) > div > div:nth-child(2) > div {
    width: 6px;
    margin: 0 auto;
    border-width: 6px;
    border-style: solid;
    border-color: white transparent transparent transparent;
    padding-bottom: 10px;
}

/* adjust ico */
.buttons-pop-up > button:nth-child(2) > i {
    vertical-align: -1.5px;
    margin-left: 2.5px;
}

/* ---
flotantes:
*/
.irrechazable-pop-up, .x-pop-up {
    z-index: 3;
    position: absolute;
}

.irrechazable-pop-up {
    top: -16px; left: calc(50% - 75px);
    width: 150px;
    background-color: red;
    border: 1px solid white;
    padding: 5px 0;
    color: white;
    text-shadow: 0px 0px 3px rgba(255, 255, 255, .75);
    font-size: 18px;
}

.x-pop-up {
    top: -17.5px;
    right: -17.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1E335C;
    border: 1px solid white;
    color: white;
    width: 35px;
    height: 35px;
    cursor: pointer;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
}

.x-pop-up:hover {
    color: #1E335C;
    background-color: white;
    /* border-color: #1E335C; */
    box-shadow: 0px 0px 25px rgba(255, 255, 255, .75);
}

/* scripts */
.zoom-mas {
    visibility: visible;
    transition-delay: .5s;
    transform: scale(1,1);
    -webkit-transform: scale(1,1);
    -moz-transform: scale(1,1);
    -ms-transform: scale(1,1);
    -o-transform: scale(1,1);
}

@media screen and (max-width: 545px) {
    .ajuste-pop-up {
        padding: 26px;
    }
    .pop-up img {
        margin: 26px 0;
        transform: scale(1.35,1.35);
        -webkit-transform: scale(1.35,1.35);
        -moz-transform: scale(1.35,1.35);
        -ms-transform: scale(1.35,1.35);
        -o-transform: scale(1.35,1.35);
    }
}

@media screen and (max-width: 495px) {
    .pop-up h1 {
        font-size: 26px;
    }
    .buttons-pop-up button {
        font-size: 14px;
    }
}

/* flotante pop-up */
.container-flotante-pop-up {
    z-index: 10;
    /* border: 3px solid red; */
    position: fixed; bottom: 0;
    width: 0;
}

/*26px*/
.ajuste-flotante-pop-up {
    /*border: 3px solid red;
    */position: absolute;
    top: -180px;
    left: -78px;
    transition: .5s;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -ms-transition: .5s;
    -o-transition: .5s;
    transition-delay: 1.5s;
}

.flotante-pop-up {
    position: relative;
    content: url("../svg/pop-up/40-por-ciento-descuento/flotante.svg");
    width: 52px;
    cursor: pointer;
    user-select: none;
    transform: scale(1.6,1.6);
    -webkit-transform: scale(1.6,1.6);
    -moz-transform: scale(1.6,1.6);
    -ms-transform: scale(1.6,1.6);
    -o-transform: scale(1.6,1.6);
}

@media screen and (max-width: 768px) {
    .ajuste-flotante-pop-up {
        top: -170px;
    }
    .flotante-pop-up {
        transform: scale(1.4,1.4);
        -webkit-transform: scale(1.4,1.4);
        -moz-transform: scale(1.4,1.4);
        -ms-transform: scale(1.4,1.4);
        -o-transform: scale(1.4,1.4);
}
}