* {
    padding: 0;
    margin: 0;
}


.section-form {
    position: relative;
    height: 100%;
    font-family: Toyota_Display;
}

input {
    text-align: left !important;
}

.section-newsletter {
    position: relative;
    height: 100%;
}

.section-form .content-image {
    background-color: black;
    filter: brightness(0.7);
    position: absolute;
    z-index: -1;
    height: 100%;
    width: 100%;
}

.section-newsletter .content-image {
    background-color: black;
    position: absolute;
    z-index: -1;
    height: 100%;
    width: 100%;
}

.section-form .content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: black;
    filter: brightness(90%);
}

.section-newsletter .content-image img {
    filter: brightness(60%);
}

.section-form .container-form {
    background-color: #ffffffe6;
    padding: 4rem 6rem;
}

.section-form .content-form {
    padding: 3rem 0;
    width: 85%;
    max-width: 105rem;
    margin: auto;
    zoom: 85%;
}

#testDriveForm .section-form .content-form {
    max-width: 105rem;
}

#contactUsForm .section-form .content-form {
    max-width: 85rem;
}

#ebrochureForm .section-form .content-form {
    max-width: 105rem;
}

#personalInformationForm .section-form .content-form {
    max-width: 105rem;
}



.section-form .container-input-form form {
    /* width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2%;
    gap: 1.5rem 2%; */
}

.section-form .title-form {
    padding: 0;
    color: #fff;
}

    .section-form .title-form h1 {
        font-size: calc(1.5rem + 1.3vw);
        font-family: Toyota_Display_BOLD;
    }

    .section-form .title-form p {
        font-size: calc(20px + 4px);
        font-family: Toyota_Display_REGULAR;
    }

    .section-form .title-form h2 {
        font-size: calc(.8rem + 1vw);
        color: #EB0B1E;
        font-weight: bold;
        margin-top: 3rem;
        margin-bottom: 1.4rem;
        font-family: Toyota_Display_REGULAR;
    }

.section-form .container-input-form {
    margin-top: 1.5rem;
}

.section-form .container-form p {
    font-size: calc(11px + 7px);
    color: #767676;
    font-weight: bold;
    font-family: Toyota_Display_REGULAR;
}
/*Styles Input animation*/
.form-group {
    position: relative;
    margin: 12px 0;
}

.section-form input, .section-form select {
    display: block;
    /* width: 100%; */
    font-size: 14pt;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #8f8f8f;
    color: #424247;
}


.section-form select {
 width: 25%;
}

.section-form input {
    width: 70%;
}


input.form-control, select.form-control {
    /*width: 100%;*/
    font-size: 16px;
    padding: 10.2px 0;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #D9DADB;
    background-color: transparent;
    color: #424247;
    appearance: auto;
    font-family: Toyota_Text_REGULAR;
    text-align: left;
}

select.form-control {
    padding: 0.72rem 0;
    font-size: 16px;
}

.form-control.is-invalid, .was-validated .form-control:invalid {
    background-position: right calc(0.375em + 1rem) center !important;
}

.form-control.is-valid, .was-validated .form-control:valid {
    background-position: right calc(0.375em + 1rem) center;
    padding-right: inherit;
}

.section-form input:focus, .section-form select:focus {
    outline: none;
    background-color: transparent;
}

.form-control:focus {
    background-color: transparent;
}

.form-control:focus {
    box-shadow: none !important;
    border-color: inherit !important;
}

label {
    position: absolute;
    left: 15px;
    top: 10px;
    color: #424247;
    font-size: 16px;
    font-weight: normal;
    pointer-events: none;
    transition: all 0.2s ease;
    font-family: Toyota_Text_REGULAR;
}

.form-check {
    text-align: left;
    font-family: Toyota_Text_REGULAR;
    margin-bottom: 0.5rem;
}

div#recaptcha-error {
    text-align: left;
}

input:focus ~ label,
select:focus ~ label,
input:valid ~ label,
select:valid ~ label {
    top: -10px;
    font-size: 10pt;
    color: #000000;
}

.container-input-form .form-group:has(input[type="date"]) label {
    top: -10px;
    font-size: 10pt;
    color: #000000;
}

.bar {
    display: block;
    position: relative;
    width: 100%;
}

    .bar:before,
    .bar:after {
        content: "";
        height: 2px;
        width: 0;
        bottom: 0px;
        position: absolute;
        background: #000000;
        transition: all 0.2s ease;
    }

    .bar:before {
        left: 50%;
    }

    .bar:after {
        right: 50%;
    }

input:focus ~ .bar:before,
select:focus ~ .bar:before,
input:focus ~ .bar:after,
select:focus ~ .bar:after {
    width: 50%;
}

input.no-empty ~ label,
select.no-empty ~ label {
    top: -10px;
    font-size: 10pt;
    color: #000000;
}

.section-form .form-check label {
    position: relative;
    top: auto;
    color: #424247 !important;
    font-size: 14px;
    left: 1rem;
    width: 95%;
}

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

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

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

.section-newsletter .form-check-input[type=checkbox]:checked::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCI+PHJlY3Qgd2lkdGg9IjUwIiBoZWlnaHQ9IjUwIiBmaWxsPSJ3aGl0ZSIgcng9IjUiIHJ5PSI1Ii8+PC9zdmc+Cg==') !important;
}

#ModalNewsletter .form-check-input[type=checkbox]:checked::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCI+PHJlY3Qgd2lkdGg9IjUwIiBoZWlnaHQ9IjUwIiBmaWxsPSJibGFjayIgcng9IjUiIHJ5PSI1Ii8+PC9zdmc+Cg==') !important;
}

#ModalNewsletter .form-check-input[type=checkbox] {
    border: 2px solid #2b2a2a !important;
}

.section-form textarea#floatingTextarea2 {
    background-color: transparent;
}

    .section-form textarea#floatingTextarea2::placeholder {
        color: #767676;
        font-family: Toyota_Display_REGULAR;
        font-size: 14px;
    }

.content-cta .form-floating {
    margin-bottom: 1.5rem;
}

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

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

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

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

.section-form .captcha-form {
    /* margin: 1rem 0; */
    /* zoom: 115%; */
    /* margin: 3rem 0rem 2rem; */

}

.section-form button.btn.btn-primary {
    width: 100%;
    max-width: 18rem;
    background-color: #EB0B1E;
    border: none;
    padding: 1rem;
    border-radius: inherit;
    font-size: 14px;
    font-family: Toyota_Display_REGULAR;
}

.container-newsSign-bta {
    display: grid;
    grid-template-columns: 68% 30%;
    gap: 2%;
}

.container-form-news-sign button.btn.btn-primary {
    margin-top: 0rem !important;
    border: solid 1px !important;
    background-color: transparent !important;
    padding: 0.7rem 1rem !important;
}

    .container-form-news-sign button.btn.btn-primary:hover {
        background-color: #fff !important;
        background-color: #fff !important;
        color: #000;
    }

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

.container-form-news {
    padding: 0rem;
}

.container-form-news-sign {
    padding: 5rem 8%;
    background-color: #424247;
}

.section-newsletter article.content-newsletterForm {
    position: relative;
    top: 10%;
    width: 100%;
    margin: auto;
    background-color: #fff;
    /* display: grid; */
    grid-template-columns: 50% 50%;
}

.modal-content {
    background-color: #ffffff63;
    max-width: 603px;
}

.modal button.close {
    position: absolute;
    right: 2rem;
    z-index: 1000;
    top: 1rem;
    border: none;
    background: transparent;
}

    .modal button.close span {
        color: #000;
        opacity: .9 !important;
        font-size: 2rem;
        font-weight: bold;
    }

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

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

#newsletterForm button.btn.btn-primary {
    max-width: 225px;
    min-height: 55px;
    background-color: #EB0B1E;
    border: none;
    padding: .6rem;
    border-radius: inherit;
    font-weight: 700;
    font-size: 14px;
    font-family: Toyota_Display_REGULAR;
}

#newsletterForm button.btn.btn-primary p{
    font-weight: 700;
}

#newsletterForm button.btn.btn-primary.close-btn {
    margin: 0;
    width: 15%;
    background-color: #fff;
}

#newsletterForm button.btn.btn-primary.close-btn:hover {
    margin: 0;
    width: 15%;
    background-color: #fff;
}

#newsletterForm button.btn.btn-primary:hover {
    background-color: #A8000E;
}

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

#newsletterForm .content-cta {
    padding-top: 1.5rem !important;
}

.section-newsletter .content-form-newsletter {
    padding: 2rem 3rem;
    /* display: grid; */
    /* gap: 2rem; */
    text-align: center;
    align-content: center;
    height: 100%;
    padding-bottom: 0;
}

.section-newsletter .content-newsletterForm-sign {
    color: #fff;
}

.section-newsletter .content-form-newsletter-sign {
    display: grid;
    grid-template-columns: 50% 50%;
    margin-top: 1.5rem;
    align-items: end;
}

.section-newsletter button.btn.btn-primary {
    margin-top: 1rem;
}

.container-form-news-sign button.btn.btn-primary {
    width: 100%;
    max-width: 185px;
}

.section-newsletter .content-form-newsletter h2 {
    color: #EB0B1E;
    font-weight: bold;
    font-size: 44px;
    font-family: Toyota_Display_BOLD;
}

.section-newsletter .content-form-newsletter p {
    font-weight: 400;
    font-size: 16px;
    font-family: Toyota_Display_REGULAR;
}

.section-newsletter span {
    color: #fff;
    text-decoration: underline;
    position: absolute;
    padding-left: 0.4rem;
}

#newsletterForm a {
    color: #EB0B1E;
    text-decoration: underline;
    /* position: absolute; */
    padding-left: 0.4rem;
}

#newsletterForm .red {
    color: #EB0B1E;
    text-decoration: underline;
    /* position: absolute;
    padding-left: 0.4rem; */
}

.section-newsletter svg {
    font-size: 1.5rem;
    margin: auto;
    margin-right: 22%;
}

.section-newsletter .input-container {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    /* grid-template-columns: 25% 75%; */
    /* border: solid 1px; */
    background-color: white;
}

.section-newsletter select,
.section-newsletter input {
    border-bottom: solid 1px #00000014;
    font-weight: 400;
    font-family: Toyota_Text_REGULAR;
    font-size: 16px;
    padding-bottom: 5px;
}

.input-container select:invalid,
.input-container select option,
.input-news::placeholder {
  color: #424247; /* lighter gray placeholder color */
}

.error-text {
    text-align: start;
    color: #EB0B1E;
}

.section-newsletter .content-form-newsletter .error-text p {
    font-family: Toyota_Text_REGULAR !important;
    font-size: 14px !important;
    margin: 0;
    margin-top: 0.5rem;
    padding-top: 0.25rem;
}

.form-check-label-newsletter p {
    font-family: Toyota_Text_REGULAR !important;
    font-size: 14px !important;
}

#validation-text-tc p {
    border-top: solid 1px #EB0B1E;
}

.validation-news {
    position: absolute;
    top: 3rem;
    left: 0;
    text-align: left;
}

.form-control.is-valid, .was-validated .form-control:valid, .was-validated .form-control:invalid {
    background: none;
}

.info-page-personalInfo {
    padding: 4rem;
}

    .info-page-personalInfo div {
        padding: 2rem;
    }

textarea {
    resize: none;
}

.content-cta {
    padding-top: 1rem;
}

.captcha-form {
    transform: scale(0.822);
    /* transform-origin: 0 0; */
}

.section-newsletter .content-cta {
    padding-top: 3.5rem !important;
}

.content-form-newsletter-sign p {
    margin: auto 0;
    font-size: calc(20px + .2px);
    padding-right: 1rem;
}

.invalid-feedback {
    font-family: Toyota_Display_REGULAR;
}

.section-form .form-group.col-12.col-md-6 {
    padding-right: calc(0.5rem * .5);
}

.section-newsletter .content-newsletterForm-sign .form-check-input[type=checkbox] {
    border: 2px solid #fff;
    background-color: transparent;
    border-radius: 2px;
}

.form-check-label-newsletter {
    font-size: 14px !important;
    width: 95% !important;
    position: relative;
    left: 1rem;
    top: auto;
}

    .form-check-label-newsletter span a:hover {
        color: var(--red) !important;
    }

    .form-check-label-newsletter span {
        text-decoration: none !important;
    }

#dateInput {
    text-align: left !important;
    padding-left: 6px;
}

@media (max-width: 1400px) {
    .section-newsletter .content-form-newsletter {
        padding: 4rem 10%;
    }
}

@media (max-width: 1200px) {
    .section-newsletter .content-form-newsletter {
        padding: 4rem 5%;
    }

    .section-newsletter .content-image-newsletter img {
        object-position: 60%;
    }

    .container-form-news {
        padding: 0rem;
    }

    .section-form .content-form {
        padding: 3rem 0;
        width: 90%;
        margin: auto;
    }
}

@media (max-width: 800px) {
    .section-form .container-input-form .typeSpace1, .section-form .container-input-form .typeSpace2, .section-form .container-input-form .typeSpace3, .section-form .container-input-form .typeSpace4 {
        grid-template-columns: 100%;
        width: 100%;
    }

    .section-form .container-form {
        background-color: #ffffffe6;
        padding: 2rem 2rem;
    }

    .section-newsletter article.content-newsletterForm {
        grid-template-columns: 100%;
    }

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

    .section-newsletter .content-form-newsletter-sign {
        display: grid;
        grid-template-columns: 100%;
    }

    .container-newsSign-bta {
        display: grid;
        grid-template-columns: 100%;
        justify-content: center;
        gap: 1rem;
    }

    .container-form-news-sign {
        padding: 3rem;
    }

    .section-form .content-newsletterForm-sign h1 {
        text-align: center;
        font-size: 32px;
    }

    .section-form .content-newsletterForm-sign p {
        text-align: center;
        padding-bottom: 4rem;
        font-size: 18px;
    }

    .section-form .title-form p {
        font-size: calc(20px + 0px);
        font-family: Toyota_Display_REGULAR;
    }

    .container-form-news-sign button.btn.btn-primary {
        width: 100%;
        max-width: 100%;
    }

    .section-newsletter .content-form-newsletter {
        gap: 0rem;
        padding: 4rem 15%;
    }

        .section-newsletter .content-form-newsletter p {
            font-size: calc(16px + .2px);
            padding-bottom: 1.5rem;
        }

    #newsletterForm button.btn.btn-primary {
        font-size: 18px;
    }
}

@media (max-width: 500px) {
    .section-form .content-form {
        padding: 2rem 0rem;
    }

    .section-form .container-form {
        padding: 2rem 1rem;
    }

    .section-newsletter .input-container {
        grid-template-columns: 0.25fr 1fr;
    }

    .section-newsletter .content-form-newsletter {
        gap: 0rem;
        padding: 4rem 6%;
    }

    .section-form .title-form h1 {
        max-width: 20rem;
        line-height: 3.3rem;
    }

    .container-form-news-sign {
        padding: 1rem;
    }
}
