﻿/* Fonts */

@import url(//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700);

/* Framework */

@import url(//support.mett.nl/communities/common/themes/mett%20responsive/styles/framework/reset.css);
@import url(//support.mett.nl/communities/common/themes/mett%20responsive/styles/framework/grid.css);
@import url(//support.mett.nl/communities/common/themes/mett%20responsive/styles/framework/icons.css);
@import url(//support.mett.nl/communities/common/themes/mett%20responsive/styles/framework/basic.css);
@import url(//support.mett.nl/communities/common/themes/mett%20responsive/styles/framework/forms.css);
@import url(//support.mett.nl/communities/common/themes/mett%20responsive/styles/framework/menus.css);

/* Plugins */

@import url(//support.mett.nl/communities/common/themes/mett%20responsive/styles/plugins/switchery.css);

/* General */

@font-face {
    font-family: "awesome";
    font-weight: normal;
    font-style: normal;
    src: url("../fonts/awesome.woff") format("woff");
}

@font-face {
    font-family: "entypo";
    font-weight: normal;
    font-style: normal;
    src: url("../fonts/entypo.woff") format("woff"), url("../fonts/entypo.ttf") format("truetype"), url("../fonts/entypo.svg#entypo") format("svg");
}

@font-face {
    font-family: "sans";
    font-weight: normal;
    font-style: normal;
    src: url("../fonts/sans.woff") format("woff");
}

#login, #login .sectionHeader p {
    text-align: center;
}

.ssoContainer h2 {
    z-index: 1;
    position: relative;
    overflow: hidden;
    text-align: center;
    font-size: 20px;
}

    .ssoContainer h2 span {
        padding: 0 10px;
    }

    .ssoContainer h2:before,
    .ssoContainer h2:after {
        position: absolute;
        overflow: hidden;
        top: 51%;
        width: 7%;
        height: 1px;
        margin-top: -10px;
        content: '\a0';
        background-color: #e9e9e9;
    }

    .ssoContainer h2:before {
        margin-left: -7%;
        text-align: right;
    }

.loginContent,
.ssoLoginContent {
    display: inline-block;
    width: 400px;
    background: #f2f2f2;
    border: solid 1px #e9e9e9;
}

.loginContent {
    padding: 30px 20px 0 20px;
    margin-bottom: 50px;
}

.ssoLoginContent {
    padding: 20px 20px 0 20px;
    margin-bottom: 30px;
}

.loginContent .toolbar {
    height: 56px;
    margin-bottom: 30px;
}

.emailSsoCheck p,
.required-warning {
    font-size: 14px;
    font-style: italic;
    text-align: left;
}
.emailSsoCheck p {
    font-weight: 700;
    font-style: normal;
    margin-bottom: 0;
}
html.login #login .sectionHeader .emailSsoCheck p {
    color: #644405;
}

.button.login,
.button.ssologin {
    width: 100%;
    height: 46px;
    margin-bottom: 20px;
    line-height: 44px;
    position: relative;
}

    .button.login.disabled {
        background-color: #4a4d50;
        border-color: #4a4d50;
    }

    .button.login a, .button.login input,
    .button.ssologin a, .button.ssologin input {
        width: 100%;
    }

        .button.login a:before {
            margin-right: 10px;
        }

    .button.login .icon {
        position: absolute;
        left: 50%;
        margin-left: -62px;
    }

    .button.ssologin .icon {
        position: absolute;
        left: 50%;
        margin-left: -96px;
    }

    .button.ssologin a:before {
        margin-right: 10px;
    }

.loginLogo {
    font-size: 14px;
}

    .loginLogo img {
        margin: 15px 10px 15px 0;
    }

/* Errors */

.errorMessage {
    display: inline-block;
    width: 400px;
    text-align: left;
}

.validation-summary-valid {
    display: none;
}

.validation-summary-errors {
    display: inline-block;
    width: 400px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
    color: #9d2a2a;
    background: #f0c5c5;
    border: solid 1px #ca3838;
}

    .validation-summary-errors span,
    .validation-summary-errors h2 {
        display: block;
        padding-bottom: 15px;
        line-height: 1.15538em;
        font-weight: 300;
        font-size: 20px;
        word-wrap: break-word;
    }

    .validation-summary-errors ul {
        margin-left: 45px;
        list-style: disc outside;
    }

.validation-summary-warnings {
    display: inline-block;
    width: 400px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
    color: #555555;
    background: rgba(246, 184, 63, 0.3);
    border: solid 1px #f6b83f;
}

/* 2FA */

#tfaLogin {
    max-width: 650px;
    margin: 0 auto;
}

    #tfaLogin h1,
    #tfaLogin h2,
    #tfaLogin h3 {
        font-weight: normal;
    }

    #tfaLogin h1,
    #tfaLogin h2 {
        padding-top: 30px;
    }

    #tfaLogin h3 {
        padding-bottom: 5px;
    }

    #tfaLogin, #tfaLogin .sectionHeader p {
        text-align: center;
    }

        #tfaLogin .button.info, .no-touch #tfaLogin .button.transparent:hover {
            background: #4a4d50;
            border-color: #4a4d50;
        }

        #tfaLogin .field {
            display: inline-block;
            width: 450px;
            text-align: center;
        }

            #tfaLogin .field label {
                float: none;
                max-width: none;
                font-weight: bold;
            }

        #tfaLogin a {
            text-decoration: underline;
        }

        #tfaLogin .button a {
            text-decoration: none;
        }

        #tfaLogin .button.login {
            width: auto;
            padding: 0 10px 0 30px;
        }

        #tfaLogin .processIndicator {
            display: inline-flex;
            flex-flow: row;
            width: 560px;
            max-width: 100%;
            justify-content: space-between;
            border-top: 1px solid #d9dad9;
            margin: 30px 0 0;
        }

        #tfaLogin .stepCircle {
            position: relative;
            background-color: #fff;
            border-radius: 50%;
            width: 56px;
            height: 56px;
            margin-top: -28px;
        }

            #tfaLogin .stepCircle span {
                display: block;
                position: absolute;
                line-height: 55px;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                font-size: 0;
            }

            #tfaLogin .stepCircle span:before {
                content: '✓';
                font-size: 20px;
            }

            #tfaLogin .stepCircle:before {
                content: '';
                position: absolute;
                display: block;
                border-radius: 50%;
                width: 36px;
                height: 36px;
                left: 10px;
                top: 10px;
                opacity: 0.4;
            }

            #tfaLogin .stepCircle[aria-selected=true]:before {
                opacity: 1;
            }

            #tfaLogin .stepCircle[aria-selected=true] span,
            #tfaLogin .stepCircle[aria-selected=true] ~ .stepCircle span {
                font-size: 20px;
            }

            #tfaLogin .stepCircle[aria-selected=true] span:before,
            #tfaLogin .stepCircle[aria-selected=true] ~ .stepCircle span:before {
                content: none;
            }

        #tfaLogin .appImage {
            margin-bottom: 20px;
        }

        #tfaLogin #VerificationKey {
            max-width: 100px;
        }

        #tfaLogin #PhoneNumberCountryCode {
            width: 160px;
            display: inline-block;
            border: solid 1px #949494;
        }

        #tfaLogin #PhoneNumber {
            width: calc(100% - 170px);
        }

@media only screen and (max-width: 768px) {
    .loginContent .switcheryLabel {
        float: left !important;
    }

    #tfaLogin ul, #tfaLogin ol, #tfaLogin dl, #tfaLogin p {
        text-align: center;
    }
}

@media only screen and (max-width: 480px) {
    #login .errorMessage,
    .loginContent,
    .ssoLoginContent {
        width: 290px;
    }

    .validation-summary-errors {
        width: calc(100% - 30px);
    }

    .validation-summary-errors ul {
        margin-left: 25px;
    }
