﻿#body {
    width: 100%;
}

.login-area {
    position: fixed;
    top: 0;
    bottom: 35px;
    width: 100%;
    z-index: 1;
    border-bottom: 1px solid #dedede;
    background: url(../images/default-bg-image.jpg) center center no-repeat rgba(0, 0, 0, 0);
    background-size: cover;
}

.bg-swimlane {
    overflow: hidden;
}

.login-body {
    background-color: #ebebeb;
    bottom: 0;
    position: absolute;
    width: 100%;
    height: 35px;
}

    .login-body .main-articles {
        width: 900px;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

        .login-body .main-articles article {
            width: 400px;
            float: left;
        }

            .login-body .main-articles article h3 .ui-icon {
                margin-right: 10px;
            }

        .login-body .main-articles .articles-wrapper {
            position: relative;
            margin-left: auto;
            margin-right: auto;
            width: 845px;
        }

        .login-body .main-articles .separator {
            float: left;
            width: 2px;
            height: 150px;
            margin-top: 20px;
            margin-left: 20px;
            margin-right: 20px;
            background-color: #e1e1e1;
            border: 1px solid #fafafa;
            border-radius: 3px;
        }

        .login-body .main-articles .contact-info {
            margin-top: -10px;
        }

    .login-body nav.navigation {
        text-align: right;
    }

        .login-body nav.navigation .nav-list {
            overflow: hidden;
            padding: 0 20px;
            line-height: 35px;
        }

        .login-body nav.navigation a {
            font-weight: 600;
        }

        .login-body nav.navigation .nav-list h5 {
            margin-bottom: 0;
            border-bottom: 1px solid #D5D5D5;
        }

        .login-body nav.navigation .nav-list ul {
            list-style-type: none;
            margin: 0;
        }

            .login-body nav.navigation .nav-list ul li {
                line-height: 15px;
                display: inline-block;
                margin-right: 8px;
                margin-bottom: 3px;
            }

.login-area .bg {
    display: block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

.login-area > .shadow {
    position: absolute;
    background-image: url(../images/top-content-shadow.png);
    background-repeat: repeat-x;
    left: 0;
    right: 0;
    height: 6px;
    bottom: -6px;
    z-index: 1;
}

.login-area > .login-form {
    position: absolute;
    background-repeat: no-repeat;
    width: 518px;
    height: 380px;
    top: 50%;
    margin-top: -175px;
    left: 50%;
    margin-left: -238px;
    z-index: 2;
    border: 1px solid rgba(0,81,128,0.05);
    -webkit-box-shadow: 0 1px 1px rgba(0,81,128,0.08);
    box-shadow: 0 1px 1px rgba(0,81,128,0.08);
}

.login-form > .header {
    position: absolute;
    height: 78px;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(247, 247, 247, 0.8);
}

    .login-form > .header:after,
    .login-form > .content:after {
        content: '';
        background: #fefefe;
        background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0,#e1e5e7 15%,#e1e5e7 85%,rgba(255,255,255,0) 100%);
        background: linear-gradient(to right, rgba(255,255,255,0) 0,#e1e5e7 15%,#e1e5e7 85%,rgba(255,255,255,0) 100%);
        position: absolute;
        display: block;
        width: 100%;
        height: 1px;
        bottom: 0;
        left: 0;
    }

    .login-form > .header .title,
    .login-form > .header .app-info {
        background: -webkit-linear-gradient(#048bd9, #2ca4e9);
        -webkit-background-clip: text;
        -webkit-text-fill-color: rgba(0, 0, 0, 0);
        color: #048bd9;
    }

    .login-form > .header .title {
        position: absolute;
        top: 50%;
        width: 300px;
        margin-top: -18px;
        left: 70px;
        white-space: nowrap;
        text-align: left;
        font-family: 'Open Sans';
        font-size: 40px;
        line-height: 1;
    }

        .login-form > .header .title:after {
            content: attr(data-appversion);
            padding-left: 8px;
            font-size: 22px;
        }

    .login-form > .header .app-info {
        content: attr(data-appinfo);
        position: absolute;
        padding-left: 2px;
        top: 53px;
        left: 70px;
        font-size: 12px;
        color: #239fe5;
    }

    .login-form > .header .title .logo {
        display: inline-block;
        *display: inline;
        *zoom: 1;
        background-image: url(../images/loginsprite.png);
        background-repeat: no-repeat;
        width: 100px;
        height: 28px;
        line-height: 28px;
        background-position: 0 -50px;
        vertical-align: bottom;
    }

    .login-form > .header .title .version {
        display: inline-block;
        *display: inline;
        *zoom: 1;
        font-size: 14px;
    }

.login-form > .content {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    bottom: 42px;
    background: #fff;
}


.login-form > .footer {
    position: absolute;
    height: 42px;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
}

    .login-form > .footer:before {
        content: '';
        position: absolute;
        left: 50%;
        margin-left: -56px;
        top: 9px;
        width: 112px;
        height: 21px;
        background-image: url(../../common/images/visma-logo.svg);
        background-repeat: no-repeat;
    }

.login-form > .content .left-side {
    top: 0;
    left: 0;
    position: absolute;
    width: 200px;
    height: 258px;
}

.login-form > .content .right-side {
    position: absolute;
    top: 0;
    left: 202px;
    right: 0;
    height: 258px;
    border-left: 1px solid #ebebeb;
}

.login-form > .content .left-side .page-title {
    text-align: center;
}

.login-form > .content .left-side .login-icon-panel {
    position: relative;
    width: 200px;
    height: 140px;
    overflow: hidden;
}

    .login-form > .content .left-side .login-icon-panel > .login-icon {
        position: relative;
        background-image: url(../images/default-login-form-logo.png);
        background-repeat: no-repeat;
        width: 200px;
        height: 140px;
        background-position: 0 0;
        margin-left: auto;
        margin-right: auto;
    }

.login-form .login-status-container {
    display: none;
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 70px;
    right: 70px;
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 10px 10px;
    z-index: 10;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}

    .login-form .login-status-container.info {
        background-color: #CAE8FF;
        border: 1px solid #818A9C;
    }

.no-boxshadow .login-form .login-status-container {
    background-image: url("../../../Framework/images/s-inset-shadow.png");
    background-repeat: repeat-x;
}

.login-form .login-status-container.show-status {
    left: 10px;
    display: inline-block;
    width: 430px;
}

#loginErrorMoreInfo {
    vertical-align: middle;
    font-size: 0.8em;
    float: left;
    width: 100%;
}

#loginPages {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 16px;
    right: 16px;
}

.login-form .gs-button {
    margin: 3px 0;
}

.login-form p.mg-field-row {
    padding: 3px 0;
    margin: 0;
}

    .login-form p.mg-field-row.forgot-password-field {
        text-align: center;
    }

.login-form .steps,
.login-form .reset-info {
    margin-top: 12px;
}

.login-form .reset-info {
    text-align: center;
    padding: 0 12px 0 12px;
}

    .login-form .reset-info h5 {
        margin: 0;
        padding: 0;
    }

    .login-form .reset-info .text-hint {
        font-size: 11px;
        font-style: italic;
    }

.login-form .steps > .flow-content {
    position: relative;
    width: 170px;
    margin-left: auto;
    margin-right: auto;
}

.login-form .steps .flow-content .step {
    text-align: center;
    width: 75px;
}

.login-form .steps .flow-content .caption {
    font-size: 11px;
    font-weight: 600;
    display: block;
}

.login-form .steps .flow-content .icon {
    background-image: url(../images/loginsprite.png);
    background-repeat: no-repeat;
    width: 26px;
    height: 26px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3px;
}

    .login-form .steps .flow-content .icon.icon-step1-active {
        background-position: 0 0;
    }

    .login-form .steps .flow-content .icon.icon-step1-inactive {
        background-position: 0 -25px;
    }

    .login-form .steps .flow-content .icon.icon-step2-inactive {
        background-position: -25px -25px;
    }

    .login-form .steps .flow-content .icon.icon-step2-active {
        background-position: -25px 0;
    }

.login-form .steps .arrow {
    background-image: url(../images/loginsprite.png);
    background-repeat: no-repeat;
    background-position: -100px -32px;
    width: 32px;
    height: 32px;
    position: absolute;
    left: 50%;
    margin-left: -16px;
    bottom: 0;
    margin-bottom: -4px;
    top: -2px;
}

.pane .gs-thumbnail {
    padding-top: 2px;
}

.login-form .header .navigation {
    position: absolute;
    top: 50%;
    height: 34px;
    margin-top: -17px;
    left: 20px;
}

.login-form .header .login-help {
    position: absolute;
    top: 50%;
    margin-top: -16px;
    right: 16px;
    height: 32px;
    width: 32px;
    background-image: url(../images/loginsprite.png);
    background-repeat: no-repeat;
    background-position: -51px 0;
}

#btnLoginPage1,
#btnGotoCaptchaPage,
#btnGotoOTPCaptcha,
#btnRequestLoginInfoNext,
#btnLoginPage2,
#btnReturnToStartpage,
#btnLogout,
#btnChangePassword,
#btnGotoChangePassword,
#btnContinueToStartPage,
#btnSkipChangePassword {
    width: 100%;
}

.login-form .mg-field-row .gs-textedit {
    display: block;
    width: auto;
}

#username,
#username1tp,
#employeeCodeOrSsn1tp {
    text-transform: uppercase;
}


#lnkForgotPassword {
    text-decoration: underline;
}

#step1 {
    float: left;
}

#step2 {
    float: right;
}

.login-form .gs-thumbnail {
    text-align: center;
}

#panAllreadyLoggedIn {
    padding: 8px;
}

    #panAllreadyLoggedIn h5 {
        text-align: center;
    }

    #panAllreadyLoggedIn .button-separator,
    #recommendPasswordChangePane .button-separator {
        text-align: center;
        display: block;
        margin: 4px;
    }

#profileThumb {
    margin-left: 35px;
    margin-right: 35px;
    margin-top: 20px;
}

#loggedInFullName {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}

#loggedInUsername {
    text-align: center;
}

#loginError {
    display: inline-block;
    width: 240px;
    vertical-align: middle;
    font-size: 0.9em;
}

#passwordExpiresNote {
    padding: 8px;
    margin-bottom: 15px;
}

    #passwordExpiresNote .text-content {
        font-size: 0.9em;
    }

#cookieAndPrivacyNotice {
    position: absolute;
    width: 442px;
    height: 60px;
    bottom: 20px;
    left: 50%;
    margin-left: -221px;
    background: #EFF4FC;
    z-index: 1;
    border-radius: 5px;
    border: 1px solid #808080;
    box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.5);
    text-align: center;
    color: #68697E;
}

    #cookieAndPrivacyNotice > h5 {
        margin: 4px;
    }

    #cookieAndPrivacyNotice > p {
        margin: 4px;
        font-size: 0.9em;
    }

@media screen and (max-width:767px) {

    .login-area > .login-form {
        width: 100%;
        height: 100%;
        top: auto;
        margin-top: auto;
        left: auto;
        margin-left: auto;
    }

    .login-area {
        background: none;
        background-image: none !important;
        bottom: 0;
    }

    .login-form > .footer {
        position: fixed;
        bottom: 35px;
        height: 35px;
    }

    .login-body nav.navigation a {
        font-size: smaller;
    }

    .login-form > .content .left-side {
        top: auto;
        left: auto;
        position: relative;
        width: 200px;
        height: auto;
        margin: auto;
    }

    .login-form > .content .right-side {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
    }

    .login-form > .content {
        overflow-y: auto;
        bottom: 70px;
    }

    .login-form > .content:after {
        display: none;
}

    #loginPages {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        width: 283px;
        height: 100%;
        margin: auto;
    }
}