﻿#ms-error-header {
    display: none;
}

#ms-error-body {
    width: 100%;
}

.sign-in-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

    .sign-in-layout .bg_bmw {
        background: -webkit-linear-gradient(180deg,rgba(0,0,0,.4) 0,rgba(0,0,0,.4)),url(/_layouts/15/BMW/images/signin-background.png);
        background: -moz-linear-gradient(to bottom,rgba(0,0,0,.4) 0,rgba(0,0,0,.4) 100%),url(/_layouts/15/BMW/images/signin-background.png);
        background: -o-linear-gradient(to bottom,rgba(0,0,0,.4) 0,rgba(0,0,0,.4) 100%),url(/_layouts/15/BMW/images/signin-background.png);
        background: linear-gradient(180deg,rgba(0,0,0,.4) 0,rgba(0,0,0,.4)),url(/_layouts/15/BMW/images/signin-background.png);
        height: 120%;
        position: fixed;
        width: 120%;
        z-index: 0;
        -webkit-filter: blur(25px);
        filter: blur(25px);
        background-position: 0;
        background-repeat: no-repeat;
        background-size: cover;
        left: -5%;
        top: -5%;
    }

    .sign-in-layout .bg_plus {
        background-position: 0 0;
        height: 100%;
        z-index: 1;
        background-repeat: repeat-x;
        background-size: auto 100%;
        background-image: url(/_layouts/15/BMW/images/bg-plus.png);
        opacity: .5;
        position: fixed;
        width: 100%;
    }

    .sign-in-layout .shadow {
        display: flex;
        max-width: 900px;
        box-shadow: 0 0 70px -1px rgba(0, 0, 0, 0.75);
    }

    .sign-in-layout section {
        z-index: 999;
    }

        .sign-in-layout section .main-image {
            width: 70%;
        }

            .sign-in-layout section .main-image img {
                max-width: 100%;
                display: block;
                width: 100%;
                height: 100%;
            }

        .sign-in-layout section .box {
            display: flex;
            flex-direction: column;
            width: 30%;
            background-color: #ffffff;
            padding: 0px 20px;
        }

            .sign-in-layout section .box .box-header {
                display: block;
                padding: 20px 20px 0 20px;
                text-align: center;
            }


                .sign-in-layout section .box .box-header .images-holder {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    margin: 0 auto;
                    max-width: 270px;
                }

                    .sign-in-layout section .box .box-header .images-holder img {
                        max-width: 100%
                    }

                .sign-in-layout section .box .box-header h1 {
                    color: #666;
                    font-size: 1.5em;
                    font-weight: 700;
                    margin: 10px auto 10px;
                    text-transform: uppercase;
                }

            .sign-in-layout section .box .box-body p {
                margin: 10px 0 0 0;
                font-size: 12px;
                color: #666;
            }

@media screen and (max-width: 768px) {

    .main-image {
        display: none !important;
    }

    .box {
        width: 100% !important;
        display: block !important;
        padding: 10px;
    }

    section {
        max-width: 378px !important;
    }
}

.signin {
    display: block;
    text-align: center;
}

    .signin input &:-webkit-autofill {
        -webkit-box-shadow: 0 0 0px 1000px white inset;
    }

    .signin .loginField {
        padding: .375rem .75rem;
        font-size: .9rem;
        line-height: 1.5;
        color: #495057;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #ced4da;
        border-radius: .25rem;
    }

        .signin .loginField input {
            margin-top: 12px !important;
        }

    .signin .field-wrapper {
        margin-top: 15px;
    }

    .signin .error-wrapper {
        margin-top: 7px;
    }

    .signin .btn-wrapper {
        padding: 15px;
    }

    .signin .recover-wrapper {
        padding-top: 5px;
        padding-bottom: 15px;
    }
