﻿* {
    padding: 0;
    margin: 0;
}

.section-form {
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: 50% 50%;
    background-color: #000;
    font-family: 'Nobel';
}

    .section-form .form-control:focus {
        color: #212529;
        background-color: transparent;
        border: 2px solid #000;
        outline: 0;
        box-shadow: none;
        transition: all .1s linear;
        -webkit-transition: all .1s linear;
        -moz-transition: all .1s linear;
    }
/*.section-form .row{
        margin: .5rem 0;
    }*/
.content-banner-form {
    position: relative;
}

    .content-banner-form img {
        position: absolute;
        width: 100%;
        height: 100vh;
        min-height: 100%;
        object-fit: cover;
        filter: brightness(65%);
    }

.degrade {
    position: relative;
    height: 100vh;
    min-height: 100%;
    z-index: 10;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,0) 72%, rgb(0 0 0) 82%);
    margin-top: 2px;
}

.contentText-banner-form {
    font-family: Nobel;
    position: absolute;
    z-index: 15;
    width: 100%;
    max-width: 43vw;
    bottom: 3rem;
    overflow: auto;
    color: #FFF;
    padding: 10px;
    left: 50%;
    transform: translate(-50%);
}

    .contentText-banner-form h1 {
        font-size: 48px;
        font-weight: 500;
        text-transform: uppercase;
    }

    .contentText-banner-form p {
        font-family: Nobel;
        font-size: 22px;
        font-weight: 400;
    }

article.content-container-form {
    background-color: #fff;
}

.container-form {
    padding: 2rem 6rem;
    background-color: #fff;
    display: grid;
    align-content: center;
    height: 100%;
}

/*.contact-details-form .row {
    margin-bottom: 2.6rem;
}*/

.contact-details-form label {
    color: #000;
    font-family: Nobel;
    font-size: 14px;
    font-weight: 400;
    margin-left: -0.2rem !important;
}

.container-form select {
    appearance: none;
    background-color: #F5F5F5;
    border: 1px solid #F5F5F5;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAAXNSR0IArs4c6QAAAL1JREFUSEvt1MEKAVEUBuBP8V5KSrL1AJ6BDcmG2MhD2HgAxEZ5M7qFpukyd9RYmc00dc93T/85TU1FT60i1x9+JfuTKLbY4fTlQLvoYxDqsx3PMEYPl5J4CwcsMc/D4XuEBTq4JuJNnDHF+lkTy7gMHkVjHT8vTMHfop/golg+okXwO7yNfT7T/DxS9jgbSwNHTLKDig05BQ51YQ3DOtYf71XRxqTCwRnihk0RmpJxihE9U6bjUpf84er/x3fhFSIXjPg+gAAAAABJRU5ErkJggg==') !important;
    background-repeat: no-repeat;
    background-position: right .5em center;
    background-size: 1.2em;
    padding: 0.43rem 0.75rem;
    font-size: 16px;
}

.container-form input {
    background-color: #F5F5F5;
    border: 1px solid #ffffff00;
}

.container-form label {
    /* margin: .3rem 0; */
    font-weight: 500;
    font-family: Nobel;
    font-size: 16px;
    margin-top: .3rem;
    margin-bottom: .3rem;
    margin-left: 0.1rem !important;
}

.form-group.col-12.col-md-6.Date {
    /*    margin-top: 1rem;*/
}

.form-group.col-12.col-md-6.Time {
    /*    margin-top: 1rem;*/
}

.contact-details-form {
    padding-left: 0rem;
}

.form-group.title {
    margin-bottom: 2rem;
}

.container-form .label-float {
    position: relative;
    margin-bottom: 2rem;
}

.contact-details-text {
    padding: .7rem 1rem 1.7rem !important;
    color: #000;
    font-family: Nobel;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 1rem;
    margin-left: 0rem !important;
}

.vehicle-details-text {
    padding: .5rem 0;
    color: #000;
    font-family: Nobel;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-left: 0.1rem !important;
}

.container-form .label-float input {
    width: 100%;
    background-color: #F5F5F5;
    border: 1px solid #F5F5F5;
    border-radius: 5px;
    outline: none;
    padding: 7px 20px;
    font-size: 16px;
    transition: all .1s linear;
    -webkit-transition: all .1s linear;
    -moz-transition: all .1s linear;
    -webkit-appearance: none;
}

    .container-form .label-float input:focus {
        border: 2px solid #000;
        background-color: #F5F5F5;
    }

    .container-form .label-float input::placeholder {
        color: transparent;
        font-family: "Nobel";
    }

::placeholder {
    font-family: "Nobel";
}

.container-form .label-float label {
    margin: auto !important;
    pointer-events: none;
    position: absolute;
    top: calc(50% - 50%);
    left: 15px;
    transition: all .1s linear;
    -webkit-transition: all .1s linear;
    -moz-transition: all .1s linear;
    background-color: white;
    padding: 10px;
    box-sizing: border-box;
    background: transparent;
    font-weight: 400;
}

.container-form .label-float input:focus + label,
.container-form .label-float input:not(:placeholder-shown) + label {
    font-size: 14px !important;
    font-weight: 400;
    top: -2.2rem;
    left: .2rem;
    color: #000;
}

.section-form .form-check label {
    width: 100%;
    position: relative;
    top: auto;
    font-weight: 400;
    color: #000 !important;
    font-family: Nobel;
    font-size: 12px !important;
    left: auto;
    margin: 0 !important;
    padding-left: 0.5rem;
}

.form-check-label p {
    margin-bottom: 0 !important;
}

.form-group.title {
    position: relative;
}

#titleLabel {
    font-size: 14px;
    position: absolute;
    top: -1.6rem;
    left: 0.2rem;
    margin: 0;
    font-weight: 400;
    margin-left: 0.8rem !important;
}

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

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

.section-form textarea#floatingTextarea2 {
    background-color: transparent;
    margin: 1.5rem 0;
}

.section-form .form-check-input[type=checkbox] {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
    border: 2px solid #000;
    width: 2rem;
    height: 2rem;
    transform: scale(0.6);
    position: relative;
    margin-left: -2rem;
    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: 74%;
        height: 90%;
        background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCI+PHJlY3Qgd2lkdGg9IjUwIiBoZWlnaHQ9IjUwIiBmaWxsPSJibGFjayIgcng9IjIiIHJ5PSIyIi8+PC9zdmc+Cg==') !important;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

.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;
}

.section-form .content-cta button {
    width: 100%;
    max-width: 248px;
    height: 55px;
    padding: .8rem;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 0;
    text-transform: uppercase;
    text-align: center;
    font-family: Nobel;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
    margin-bottom: 1rem;
}

.section-form .content-cta {
    margin-left: 0 !important;
}

.section-form textarea.form-control {
    min-height: calc(1.5em + 0.75rem + 2px);
    background-color: #F5F5F5;
    resize: none;
    border: none;
    background-image: none;
}

.section-form .content-cta button:hover {
    background: #fff;
    color: #000;
    border: 1px solid #000;
}

.section-form .form-check {
    padding-top: 1.5rem;
    padding-left: 1.6rem;
}

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

.section-form .captcha-form {
    padding: 3rem 0rem 0rem 0px;
}

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

@media (max-width: 1919px) {
    .container-form {
        padding: 2rem 5%;
    }

    .contentText-banner-form h1 {
        font-size: 3vw;
    }

    .contentText-banner-form p {
        font-size: 1.2vw;
    }
}

@media (max-width: 1200px) {
    .contentText-banner-form h1 {
        font-size: 3.3vw;
    }

    .contentText-banner-form p {
        font-size: 1.7vw;
    }

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

@media (max-width: 767px) {
    .section-form {
        width: 100%;
        display: grid;
        grid-template-columns: 100%;
        height: 100%;
        /* FIX-SCROLL ISSUE UAT  */
        /* overflow: auto; */
    }

    .contentText-banner-form {
        max-width: 100%;
        /* padding: 10% 5%; */
        top: 0;
        bottom: auto;
        padding-bottom: 0% !important;
        padding-top: 10%;
        padding-left: 5%;
        padding-right: 5%;
        margin-top: .5rem;
    }

    .container-form {
        width: 90%;
        height: auto;
        margin: auto;
        position: absolute;
        z-index: 20;
        left: 50%;
        transform: translate(-50%, -7%);
        padding: 1.5rem 1.1rem;
        top: 57vw;
    }

    .td-form {
        transform: translate(-50%) !important;
    }

    .ebrochure .contentText-banner-form {
        padding-top: 4.5rem;
    }

    .ebrochure article.container-form {
        height: 100%;
        /* FIX-SCROLL ISSUE UAT  */
        /* overflow: auto; */
        background-color: transparent !important;
    }

    .ebrochure .content-container-form {
        position: absolute;
        /* FIX-SCROLL ISSUE UAT  */
        /* padding: 2rem 1.1rem; */
    }

    .ebrochure .degrade {
        height: 100vh;
    }

    .contact-details-text {
        padding-top: 1rem;
        padding-bottom: 1rem;
        margin-bottom: 0;
        margin-left: 0rem !important;
    }

    .content-banner-form img {
        height: 100%;
        min-height: 100vh;
    }

    .contentText-banner-form h1 {
        font-size: 5vw;
    }

    .contentText-banner-form p {
        font-size: 2.5vw;
    }

    .degrade {
        height: 120vh;
    }

    #titleLabel {
        position: initial;
        margin-bottom: 0.3rem;
        margin-left: 0.3rem !important;
    }

    .form-group.col-12.col-lg-10.col-md-10 {
        margin-left: 0rem !important;
    }

    .form-group.col-12.col-md-9 {
        margin-left: 0rem !important;
    }

    .row.content-cta {
        padding: 0;
    }

    .contact-details-form {
        margin-top: .5vw;
        padding-left: 0;
    }

    #partsEnquiry .container-form {
        top: 40vw;
    }

    /* FIX-SCROLL ISSUE UAT  */
    .mh-1450px {
        min-height: 1450px;
    }

    .mh-1200px {
        min-height: 1200px;
    }

    .mh-1300px {
        min-height: 1300px;
    }

    .ebrochure form {
        background-color: white !important;
        padding: 2rem 1.1rem;
        margin-bottom: 2rem;
    }
}

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

    .section-form .contentText-banner-form h1 {
        font-size: 7.62vw;
    }

    .section-form .contentText-banner-form p {
        font-size: 4.3vw;
        font-style: normal;
        font-weight: 400;
        line-height: 5vw;
    }

    .section-form article.container-form.pricelist {
        top: 80vw;
    }
    /* .section-form .container-form {
        top: 54vw;
    } */

    .section-form .form-group.col-12 {
        width: 100%;
    }

    #partsEnquiry .container-form {
        top: 59vw;
    }
}

@media (max-width: 400px) {
    .section-form .form-check label {
        width: 100%;
        max-width: 70vw;
    }

    .section-form .form-group.col-12 {
        width: 84vw;
    }

    .section-form .row.content-cta {
        padding: 0 .5rem;
    }

    .section-form .container-form {
        top: 75vw;
    }

    #partsEnquiry .container-form {
        top: 60vw;
    }
}

.mb-4 {
    margin-bottom: 2rem !important;
}
