﻿body.logon {
    font-family: Arial, Segoe UI;
    margin: 0px;
    display: flex;
    flex-direction: column;
}

    body.logon .logon-container {
        display: flex;
        flex-direction: row;
        flex: 1;
        background-color:transparent;
    }


    body.logon .bg-container {
        flex: 1;
        display: flex;
        background-color: #000;
    }


.banner-container {
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: center;
    background-size: auto auto;
    margin: 0px auto;
    width: 100%;
}

    body.logon a,
    body.logon a:hover,
    body.logon a:focus {
        text-decoration: none;
    }

table#body {
    width: 100%;
    /*margin-top: 250px;
    text-align: center;*/
}


#loginForm {
    height: 100%;
    width: 400px;
    background-color: white;
    background-image: url(/content/themes/moa/img/din.jpeg);
    background-size: 200px;
    
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y:40px;
}

@media only screen and (max-width: 720px) {
    #loginForm {
        width: 100%;
    }
}

    #loginForm .title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    #loginForm div.loginImage {
        background-image: url("images/logo_cube.png");
        background-position-x:center;
        width: 213px;
        height: 229px;
        display: block;
        position: relative;
        z-index: 10;
        margin: 0px auto;
    }

#loginForm div.form {
    background-color: transparent;
    display: block;
    margin: 0px auto;
    vertical-align: top;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    left: 0px;
    right: 0px;
    width: 350px;
    margin-top: 240px;
    position: relative;
    border: none;
}


    #loginForm .form .logo {
        background-image: url("images/iweb4style/logo_cube_2.png");
        background-repeat: no-repeat;
        display: inline-block;
        width: 200px;
        height: 229px;
        float: left;
        z-index: 100;
        position: relative;
    }

    #loginForm form {
        padding-bottom: 15px;
        border: none;
        border-radius: 0px;
        box-shadow: none;
        background-color: transparent;
        width: 100%;
        float: none;
        left: 0px;
        width: 330px;
        margin: 25px 35px;
        position: initial;
    }


        #loginForm form .logo_drm {
            display: none;
        }

    #loginForm div.form fieldset, form#restorePasswordForm {
        border: none;
        padding-top: 0px;
        padding-left: 10px;
        padding-right: 0px;
        padding-bottom: 0px;
        margin: 0px;
        text-align: left;
        /*border-top:solid 1px lightgrey;
        border-bottom:solid 1px lightgrey;*/
        background-color: #fff;
        display: inline-block;
        float: left;
    }

    #loginForm form .fields,
    #loginForm form .extras {
        padding-left: 5px;
        padding-right: 15px;
        padding-bottom: 5px;
        overflow: hidden;
    }

        #loginForm form .extras .buttons {
            margin-top: 15px;
            text-align: initial;
        }

        #loginForm form .extras .link {
            padding: 8px 0px 8px 20px;
            line-height: 1.33333;
            color: #337ab7;
            font-size: 12px;
            color: #003576;
        }

            #loginForm form .extras .link:hover {
                color: #ff6d00;
            }

form#restorePasswordForm {
    border: none;
    padding-top: 20px;
    padding-left: 30px;
    padding-right: 20px;
    padding-bottom: 20px;
    margin: 0px;
    text-align: left;
    background-color: #ddd;
}

#loginForm div.form label {
    font-size: 13px;
    color: #666B85;
    text-transform: lowercase;
}

#loginForm div.form .languageChoice label {
    margin-right: 10px;
}

#loginForm div.form input {
}

#loginForm div.form .button {
    padding-left: 10px;
    background-color: transparent;
    margin-top: 15px;
    display: inline-block;
}

#loginForm div.form .powered_by {
    background: url("images/iweb4style/logo_pbi.png") no-repeat;
    height: 11px;
    width: 92px;
    display: inline-block;
    margin-top: 22px;
    margin-left: 50px;
}

#loginForm .buttons {
    display: flex;
    flex-direction: row;
    align-content: space-around;
}


    /*#loginForm .buttons .btn-lg {
        background-color: #0083CB;
        border-bottom-color: #994100;
        background-image: url(/content/themes/visionview/images/button_icon.png);
        background-repeat: no-repeat;
        background-size: 35px 35px;
        background-position: 5px 3px;
        cursor: pointer;
        padding: 10px 20px 10px 45px;
        color: #fff;
        line-height: 20px;
    }*/


    #loginForm .buttons .btn-lg {
        background-color: #0083CB;
        border-bottom-color: #0083CB;
        cursor: pointer;
        padding: 8px 20px 8px 20px;
        color: #fff;
        line-height: 16px;
        font-weight: bold;
        font-size: 14px;
    }

#loginForm .tip {
    padding-right: 10px;
    height: 22px;
    display: inline-block;
    font-size: 13px;
    color: #666B85;
    text-align: right;
}


#loginForm .login {
    border: solid 1px #cccccc;
    color: #777;
    padding-left: 5px;
    margin-bottom: 5px;
    height: 22px;
    width: 90%;
    background-repeat: no-repeat;
}

#loginForm .password {
    border: solid 1px #cccccc;
    padding-left: 5px;
    color: #777;
    height: 22px;
    width: 90%;
    margin-bottom: 5px;
    background-repeat: no-repeat;
    float: right;
}

#loginForm .rememberPass {
    margin-left: 0px;
    margin-top: 7px;
    margin-bottom: 10px;
    width: 130px;
}

#loginForm .languageChoice {
    margin-left: 0px;
    float: none;
}

#loginForm .languages-radio {
    display: inline-block;
}

#loginForm .forgotPass {
    margin-left: 15px;
    line-height: 20px;
    margin-top: 21px;
    display: inline-block;
}

    #loginForm .forgotPass a {
        color: #666B85;
        font-size: 11px;
    }

#loginForm .validation {
    display: none;
    border-top: solid 1px lightgrey;
    font-size: 12px;
    color: #777;
    height: auto;
    padding-left: 30px;
    padding-top: 10px;
    text-align: left;
    background-color: #fff;
    border-radius: 0 0 4px 4px;
}

#loginForm .validationOnServer {
    /*border-top: solid 1px lightgrey;*/
    font-size: 12px;
    color: #777;
    height: auto;
    padding-left: 100px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: left;
    background-color: #fff;
    border-radius: 0 0 4px 4px;
    margin-left: 30px;
    max-width: 190px;
}

    #loginForm .validationOnServer a {
        color: #777;
    }

    #loginForm .validationOnServer span {
        display: block;
    }



#loginForm .description {
    width: 295px;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.field-validation-error {
    font-size: 12px;
    color: #777;
    text-align: left;
    margin-right: 10px;
}

#loginForm form h2.heading {
    color: #ff6d00;
    font-size: 20px;
    text-transform: uppercase;
    padding: 0;
}

#loginForm form strong {
    color: #333;
    font-size: 12px;
}


#loginForm form.restore .fields,
#loginForm form.change .fields {
    padding-right: 5px;
}

    #loginForm form.restore .fields > div,
    #loginForm form.change .fields > div {
        margin-top: 10px;
    }

#loginForm form.restore fieldset,
#loginForm form.change fieldset {
    margin-top: 4px;
}


#loginForm .restore div.button input,
#loginForm .change div.button input {
    font-size: 14px;
    width: 210px;
}


#loginForm form.submitted input.login.ng-invalid,
#loginForm form.submitted input.password.ng-invalid {
    border: 1px solid #d82f1c;
}


.fields #tbUsernameTip,
.fields #tbPasswordTip,
.fields #tbOldPasswordTip,
.fields #tbNewPasswordTip,
.fields #tbConfirmPasswordTip {
    text-align: left;
}

.fields #Password {
    float: none;
}
