.newsletter_background {
    position: fixed;
    z-index: 111;
    background-color: rgba(0, 0, 0, .7);
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: all .35s ease;
}
.newsletter_background_on{
    pointer-events: all;
    opacity: 1;
}
.newsletter-modal {
    position: fixed;
    z-index: 100000001;
    background-color: white;
    height: 490px;
    width: 780px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(15px);
    border: .0675rem dotted black;
    border-radius: 6px;
    /*padding: 20px 15px;*/
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: black;
    transition:all .8s ease;
    pointer-events: none;
    opacity: 0;
}
.newsletter-modal-on{
    pointer-events: all;
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}
.newsletter-modal span{
    position: absolute;
    top: 9px;
    right: 9px;
    font-size: 20px;
    font-family: revert-layer;
    height: 23px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 111111111;
    border-radius: 2219px;
    background: white;
    padding: 5px;
    width: 23px;
    cursor: pointer;
}

.newsletter-column {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.formulario-newsletter-modal{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    margin-top:36px;
    padding: 10px 10px;
    background-color: white;
    box-shadow: none;
    box-sizing: border-box;
}
.formulario-newsletter-modal input{
    width: 100%;
    border-radius: 4px;
    padding: 0px 0px 0px 16px;
    height: 39px;
    text-align: left;
    font-size: 13px;
    font-weight: 400;
    border: .0675rem solid black;
    box-sizing: border-box;
    color: black;
    font-family: "Geist",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",arial,sans-serif;
}

.formulario-newsletter-modal input:invalid:not(:placeholder-shown) {
    border: 1px solid red;
}
.formulario-newsletter-modal input:focus{
    background-color: white;
}
.formulario-newsletter-modal button{
    width: 100%;
    border-radius: 4px;
    padding: 0px 0px 0px 16px;
    height: 39px;
    text-align: left;
    font-size: 13px;
    font-weight: 400;
    border: .0675rem solid red;
    box-sizing: border-box;
    background-color: red;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.1px;
    text-align: center;
    font-family: "Geist",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",arial,sans-serif;
    position: relative;
    color:white;
}
.formulario-newsletter-modal button:hover{
    background-color: red;
}

.newsletter_ingresado {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 111;
    opacity: 0;
    transition: all .35s ease;
}

.newsletter_ingresado_show{
    pointer-events: all;
    opacity: 1;
}
.boton_oculto_news{
    color: red !important;
}
@media(max-width:1080px){
    .newsletter-modal{
        width: 88% !important;
        grid-template-columns: 1fr !important;
        height: min-content;
        max-height: 465px !important;
        padding-top: 20px;
    }
    .newsletter-column:nth-of-type(2) {
        display:none !important;
    }
    .formulario-newsletter-modal{
        padding-bottom: 0;
        margin-bottom: 0;
        gap: 8px !important;
    }
    .newsletter-column img{
        height: 17px !important;
        padding: 4px 5px 3px 6px !important;
    }
    .formulario-newsletter-modal{
        margin-top: 28px !important;
        padding: 10px 5px 0;
    }
    .formulario-newsletter-modal input, .formulario-newsletter-modal button{
        height:33px !important;
    }
    .consigue-text{
        margin-top: 55px !important;
    }
}