﻿/**********************
 * Handraiser
 **********************/

@font-face {
    font-family: 'BMWTypeNext-Regular';
    src: url('/Content/fonts/bmwtypenext-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'BMWTypeNext-Light';
    src: url('/Content/fonts/bmwtypenext-light.woff2') format('woff2');
}

@font-face {
    font-family: 'BMWTypeNext-Thin';
    src: url('/Content/fonts/bmwtypenext-thin.woff2') format('woff2');
}

@font-face {
    font-family: 'BMWTypeNext-Bold';
    src: url('/Content/fonts/bmwtypenext-bold.woff2') format('woff2');
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

@media screen and (max-width: 48em) {
    body {
        width: 100%;
    }
}

.field-validation-error {
    color: #7e0000;
}

h2 {
    font-family: "BMWTypeNext-Light";
    color: #000;
    font-size: 20px;
    margin: 0;
    margin-bottom: 16px;
    font-weight: normal;
}

p {
    font-family: "BMWTypeNext-Light";
    color: #000;
    font-size: 15px;
    margin: 0;
    margin-bottom: 16px;
}

.cr-header {
    background-image: url('/Content/img/ContactRetailer/contact-header.jpg');
    max-width: 1920px;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 500px;
    position: relative;
    background-position: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.header-title {
    font-family: "BMWTypeNext-Thin";
    color: #fff;
    font-size: 40px;
    left: 60px;
    bottom: 20px;
    position: absolute;
    font-weight: 100;
    text-transform: uppercase;
    line-height: 1;
}

.container {
    margin-right: 20px;
    margin-left: 20px;
}

.content {
    max-width: 1440px;
    margin-top: 40px;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.subtitle-container {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.success-message {
    padding-bottom: 40px;
}

    .success-message h1 {
        font-family: "BMWTypeNext-Light";
        font-size: 32px;
    }

    .success-message p {
        font-family: "BMWTypeNext-Light";
        font-size: 15px;
    }

.message {
    width: 75%;
    font-family: "BMWTypeNext-Light";
    font-size: 15px;
}

.separator {
    width: 100%;
    border: none;
    border-top: 1px solid #9D9D9D;
    margin-top: 16px;
    margin-bottom: 16px;
}

.my-benefits {
    width: 25%;
    font-family: "BMWTypeNext-Bold";
    font-size: 15px;
    background: #EDEDED;
    padding: 20px;
}

    .my-benefits ul {
        font-family: "BMWTypeNext-Light";
    }

.form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.input {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 270px;
}

    .input .title {
        text-align: left;
        font-family: "BMWTypeNext-Bold";
        font-size: 15px;
        color: #000;
        margin-bottom: 4px;
    }

    .input input {
        height: 50px;
        width: 100%;
        border: 1px solid #A5A5A5;
        font-family: "BMWTypeNext-Regular";
        font-size: 15px;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .input select {
        height: 50px;
        width: 100%;
        border: 1px solid #A5A5A5;
        font-family: "BMWTypeNext-Regular";
        font-size: 15px;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .input textarea {
        font-family: "BMWTypeNext-light";
        font-size: 15px;
        width: 556px;
        height: 120px;
        text-decoration: none;
        background-color: unset;
        box-sizing: border-box;
        padding: 10px;
    }

    .input mark {
        font-family: "BMWTypeNext-light";
        font-size: 12px;
        text-decoration: none;
        background-color: unset;
    }

.opt-in {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
}

.button-primary {
    height: 50px;
    background: #1C69D4;
    border: none;
    font-family: "BMWTypeNext-Bold";
    font-size: 15px;
    color: #fff;
    max-width: 270px;
    cursor: pointer;
}

    .button-primary:disabled {
        opacity: 0.5;
        cursor: progress;
    }

.cta-primary {
    height: 50px;
    background: #1C69D4;
    border: none;
    font-family: "BMWTypeNext-Bold";
    font-size: 15px;
    color: #fff;
    width: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.legal {
    font-family: "BMWTypeNext-Regular";
    font-size: 12px;
    margin-top: 40px;
}

.checkbox {
    display: flex;
    align-items: center;
}

    .checkbox span {
        font-family: "BMWTypeNext-Light";
        font-size: 15px;
        margin-left: 8px;
    }

    .checkbox input {
        accent-color: #1C69D4;
        height: 20px;
        width: 20px;
    }

@media (max-width: 760px) {

    .cr-header {
        background-image: url('../../img/ContactRetailer/contact-header-mobile.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        min-height: 400px;
        position: relative;
        background-position: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .header-title {
        font-size: 30px;
        bottom: 20px;
        padding-left: 20px;
        padding-right: 20px;
        left: unset;
    }

    .content {
        width: unset;
        margin-top: 40px;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 20px;
        padding-right: 20px;
        margin-left: auto;
        margin-right: auto;
        max-width: 500px;
    }

    .cta-primary {
        width: 100%;
    }

    .subtitle-container {
        flex-direction: column;
    }

    .input-row {
        flex-direction: column;
    }

    .message {
        width: unset;
    }

    .my-benefits {
        width: unset;
    }

    .input {
        max-width: unset;
    }

    .button-primary {
        max-width: unset;
    }

    .input textarea {
        width: 100%;
    }
}
