﻿.section-newsletter .content-image {
    width: 100%;
    height: 100vh;
}

    .section-newsletter .content-image img {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        object-fit: cover;
        filter: brightness(50%);
    }

.section-newsletter .container-form-news .content-newsletterForm {
    display: grid;
    height: 100%;
    grid-template-columns: 50% 50%;
    overflow: auto;
}

.section-newsletter .content-image-newsletter img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.captcha-form {
    transform: scale(0.8);
    transform-origin: 0 0;
}

.content-newsletterForm form {
    padding: 2rem 3rem;
    justify-content: center;
    align-items: center;
    display: grid;
    background-color: #000000de;
    color: #fff;
}

.section-form .input-container {
    padding: 0.9rem;
    border: 1px solid #000;
    background: rgba(255, 255, 255, 0.10);
    display: grid;
    grid-template-columns: 20% 80%;
    font-size: 20px;
}

.section-form svg {
    width: 100%;
}

.section-form input#Emailaddress {
    width: 100%;
    background: transparent;
    border: transparent;
    display: grid;
    color: #fff;
    padding-top: 2px;
}

    .section-form input#Emailaddress::placeholder {
        font-size: 20px;
        font-weight: 400;
        font-family: "Nobel";
        color: #fff;
    }

.newsletterForm .content-form-newsletter {
    display: grid;
    width: 100%;
    max-width: 26rem;
    margin: auto;
}

.section-form input:focus {
    background-color: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

.section-form button.btn.btn-primary {
    margin: 1.6rem 0;
    border: 1px solid #FFF;
    color: #fff;
    background-color: transparent;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0.9rem;
    width: 100%;
    border-radius: 0;
    font-size: 18px;
    font-family: 'Nobel';
}

.section-newsletterPop button.btn.btn-primary {
    height: 56px;
    width: 100%;
    max-width: 185px;
    margin-left: 20%;
}

.content-form-newsletter h1 {
    text-align: center;
    margin: auto;
    font-family: Nobel;
    font-size: 38px;
    font-weight: 500;
}

.newsletterForm .content-form-newsletter p {
    width: 100%;
    text-align: center !important;
    padding-top: 2rem;
    padding-bottom: 3.5vw;
}

.content-form-newsletter p {
    text-align: center;
    width: 80%;
    margin: auto;
    font-size: 22px;
    font-style: normal;
    font-family: 'Nobel';
    font-weight: 500;
}

.section-newsletterPop .content-form-newsletter p {
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.section-form button.btn.btn-primary:hover {
    background: #fff;
    color: #000;
}

.content-input {
    position: relative;
}

    .content-input .invalid-feedback.validation-news {
        position: absolute;
        margin-top: 1rem;
    }

.content-cta {
    padding-top: 2vw;
}
/*Styles PopUp*/
.section-newsletterPop {
    background-color: #000;
    color: #fff;
}

    .section-newsletterPop .content-form-newsletter h1, .section-newsletterPop .content-form-newsletter p {
        text-align: left !important;
        margin: initial !important;
    }

    .section-newsletterPop .content-form-newsletter {
        padding: 3rem;
        width: 80%;
        margin: auto;
    }

    .section-newsletterPop .input-container {
        grid-template-columns: 7% 93%;
    }

    .section-newsletterPop .container-form-newsPop {
        display: grid;
        grid-template-columns: 79% 20%;
        gap: 1%;
        align-items: center;
    }
/*Styles Modal*/
.modal-content {
    background-color: #ffffff63;
    border-radius: 0;
}

.modal button.close {
    position: absolute;
    right: 1.5rem;
    top: .5rem;
    border: none;
    background: transparent;
}

    .modal button.close span {
        color: #fff;
        opacity: .9 !important;
        font-size: 2.7rem;
    }

.modal-dialog {
    width: 90% !important;
    max-width: 90rem !important;
    margin: 1.75rem auto;
}

.newsletterForm .container-form-news {
    height: 85vh;
}
/*Styles Check*/
.section-form .form-check label p {
    width: 100% !important;
    position: relative;
    top: auto;
    font-weight: 500;
    color: #fff !important;
    font-family: NobelLight;
    font-size: 14px !important;
    left: auto;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}
.content-newsletterForm .form-check label p{
    font-size: 13px !important;
}
.form-check-label span a{
    color: #fff !important;
}

.content-newsletterForm-sign label.form-check-label {
    color: #fff !important;
}

.section-form .form-check-input:checked {
    background-color: transparent !important;
    border-color: #fff !important;
}

.section-form .form-check-input[type=checkbox] {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
    border: 1px solid #fff;
    width: 1rem;
    height: 1rem;
    transform: scale(1);
    position: relative;
    margin-left: -2.5rem;
    margin-top: 0.2rem;
    background-color: transparent;
}

    .section-form .form-check-input[type=checkbox]:checked::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        height: 90%;
        background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCI+PHJlY3Qgd2lkdGg9IjUwIiBoZWlnaHQ9IjUwIiBmaWxsPSJ3aGl0ZSIgcng9IjIiIHJ5PSIyIi8+PC9zdmc+Cg==') !important;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

.content-newsletterForm .form-check-input[type=checkbox]:checked::before {
    width: 75%;
}

.form-check .form-check-input {
    float: left;
    margin-left: -1.5em;
    margin-top: 0rem;
}

.section-form .form-check-input.is-valid:checked, .was-validated .form-check-input:valid:checked {
    background-color: #198754;
}

.newsletterForm .invalid-feedback .validation-news, .content-input .invalid-feedback.validation-news {
    position: absolute;
    margin-top: 2.8rem;
}

@media (max-width: 1300px) {
    .section-newsletterPop .input-container {
        grid-template-columns: 15% 85%;
    }
}

@media (max-width: 800px) {
    .section-newsletterPop .container-form-newsPop {
        grid-template-columns: 100%;
        width: 80%;
        margin: auto;
    }

    .section-newsletterPop .content-form-newsletter h1, .section-newsletterPop .content-form-newsletter p {
        text-align: center !important;
        margin: auto !important;
    }

    .content-form-newsletter h1 {
        width: 90%;
        font-size: 32px;
    }

    .content-form-newsletter p {
        width: 80% !important;
        font-size: 18px;
        padding-top: 1rem !important;
        padding-bottom: 7.5vw !important;
    }

    .content-newsletterForm-sign label.form-check-label {
        font-size: 12px;
    }

    .section-newsletterPop .content-form-newsletter {
        padding: 3rem 10%;
        width: 100%;
        margin: auto;
    }

    .section-newsletter .container-form-news .content-newsletterForm {
        grid-template-columns: 100%;
    }

    .section-newsletter .content-image-newsletter {
        display: none;
    }

    .section-newsletterPop .input-container {
        grid-template-columns: 20% 80%;
    }

    .section-newsletterPop button.btn.btn-primary {
        max-width: 100%;
        margin-left: 0%;
    }

    .content-cta {
        width: 100%;
        margin: auto;
    }

    .section-newsletterPop .content-cta {
        width: 80%;
        margin: auto;
    }
}

@media (max-width: 500px) {
    .captcha-form {
        transform: scale(0.7);
        transform-origin: 0 0;
    }

    .section-newsletterPop .content-form-newsletter {
        padding: 3rem 2.5rem;
    }

    .newsletterForm .content-form-newsletter h1 {
        width: 80%;
    }

    .newsletterForm .content-form-newsletter p {
        font-size: 18px;
        padding-top: 1rem;
        padding-bottom: 2.5rem;
        width: 100% !important;
    }

    .content-newsletterForm form {
        padding: 2rem 10vw;
    }

    .newsletterForm .content-form-newsletter {
        max-width: 100%;
    }

    .content-cta {
        padding-top: 1.5rem;
        width: 100%;
    }

    .section-newsletterPop .content-cta {
        padding-top: 1.5rem;
        width: 80%;
    }

    .modal button.close span {
        font-size: 1.7rem;
    }

    .modal button.close {
        right: 0.5rem;
        top: 0;
    }
}

@media (max-width: 350px) {
    .section-newsletter .container-form-news {
        width: 99%;
    }
}
