@charset 'UTF-8';

.signup-header {
    background: $bg--gray;
    line-height: 33px;
    padding: 0 1em .2em;
    width: 100%;

    .fa {
        margin-right: 5px;
    }
}

.signup-team__container {
    margin: 0 auto;
    max-width: 400px;
    padding: 100px 0 50px;
    position: relative;

    &.branded {
        @include display-flex;
        @include flex-direction(row);
        max-width: 900px;

        .signup__markdown {
            @include flex(1.3 0 0);
            padding-right: 80px;

            img {
                max-width: 450px;
            }

            p {
                color: lighten($black, 50%);
            }
        }

        .signup__content {
            @include flex(1 0 0);
        }

    }

    &.padding--less {
        padding-top: 50px;
    }

    .form-control:focus {
        @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6));
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p {
        line-height: 1.3;
    }

    h1 {
        font-weight: 600;
    }

    h2 {
        font-size: em(30px);
        font-weight: 600;
        letter-spacing: -.5px;
        margin-bottom: .8em;
    }

    h3 {
        font-size: 1.5em;
        font-weight: 600;
        margin: 0 0 1.3em;
    }

    h4 {
        font-size: em(20px);
        font-weight: 600;
        margin-bottom: 1em;
    }

    h5 {
        font-size: em(16px);
    }

    hr {
        margin: 2em 0;
    }

    p {
        color: #555555;
        line-height: 1.5;
        margin-bottom: 1em;
    }

    .input-group {
        &.input-group--limit {
            table-layout: fixed;
            width: 100%;

            .tooltip-inner {
                word-wrap: break-word;
            }

            .form-control {
                display: table-cell;
                text-align: left;
                width: 100%;
            }

            .input-group-addon {
                display: table-cell;
                overflow: hidden;
                text-align: left;
                text-overflow: ellipsis;
                width: 50%;
            }
        }
    }

    .inner__content {
        margin: 30px 0 20px;
    }

    .block--gray {
        @include border-radius(3px);
        background: #f2f2f2;
        display: inline-block;
        font-weight: 600;
        padding: .85em 1.2em;
    }

    form {
        margin-bottom: .8em;
    }

    .signup-team-confirm__container {
        padding: 100px 0;
    }

    .signup-team-logo {
        display: none;
        margin: 0 0 2em;
        width: 210px;
    }

    .signup-team-login {
        font-weight: 600;
        padding-bottom: 10px;
    }

    .signup-team__name {
        font-size: 2.2em;
        font-weight: 600;
        margin: .5em 0 0;
    }

    .signup-team__subdomain {
        font-size: 1.5em;
        font-weight: 300;
        margin: .2em 0 1.2em;
        text-transform: uppercase;
    }

    .form-control {
        height: em(38px);
    }

    .or__container {
        background: #dddddd;
        height: 1px;
        margin: 2em 0;
        margin: 2.5em 0 2.5em -1rem;
        text-align: left;

        span {
            background: #ffffff;
            display: inline-block;
            font-size: 1.14286em;
            font-weight: 600;
            line-height: 20px;
            position: relative;
            text-align: center;
            top: -10px;
            width: 40px;
        }
    }

    ul {
        margin-bottom: 0;
        padding-left: 18px;
    }

    .btn {
        font-size: 1em;
        font-weight: 600;
        margin-right: 5px;
        padding: em(7px) em(15px);

        .fa {
            font-size: 17px;
            margin-right: 8px;

            &.fa--margin-top {
                position: relative;
                top: 2px;
            }
        }

        .icon {
            @include background-size(100% 100%);
            display: inline-block;
            height: 18px;
            margin-right: 8px;
            text-align: center;
            width: 18px;
        }

        &.btn-custom-login {
            @include border-radius(2px);
            color: $white;
            display: block;
            height: 40px;
            line-height: 36px;
            margin: 1em 0;
            min-width: 200px;
            padding: 0 1em 0 2em;
            text-align: left;
            width: 200px;

            &.gitlab {
                background: #554488;

                &:hover {
                    background: darken(#554488, 10%);
                }

                span {
                    vertical-align: middle;
                }

                .icon {
                    background-image: url('../images/gitlabLogo.png');
                }
            }

            &.google {
                background: #dd4b39;

                &:hover {
                    background: darken(#dd4b39, 10%);
                }

                span {
                    vertical-align: middle;
                }

                .icon {
                    background-image: url('../images/googleLogo.png');
                }
            }

            &.office365 {
                background: #0079d6;

                &:hover {
                    background: darken(#0079d6, 10%);
                }

                span {
                    vertical-align: middle;
                }

                .icon {
                    background-image: url('../images/office365Logo.png');
                }
            }

            &.ldap {
                background: #3AA1CF;

                &:hover {
                    background: darken(#3AA1CF, 10%);
                }

                span {
                    vertical-align: middle;
                }
            }

            &.email {
                background: $primary-color;

                &:hover {
                    background: $primary-color--hover;
                }

                span {
                    vertical-align: middle;
                }
            }

            &.saml {
                background: #34a28b;

                &:hover {
                    background: darken(#34a28b, 10%);
                }

                span {
                    vertical-align: middle;
                }
            }

            &.btn--full {
                max-width: 350px;
                padding-left: 35px;
                text-align: left;
                width: 100%;
            }

            &.btn--large {
                width: 300px;
            }
        }

        &.btn-default {
            color: #444444;
        }

        .fa {
            position: relative;

            &.fa-check,
            &.fa-refresh {
                font-size: .9em;
                left: -2px;
                margin-right: .5em;
            }

            &.fa-chevron-right {
                font-size: .8em;
                right: -5px;
                top: 0;
            }

            &.fa-chevron-left {
                font-size: .8em;
                left: -2px;
                top: 0px;
            }
        }
    }

    .has-error {
        .control-label {
            @include border-radius(3px);
            background: #f2f2f2;
            color: #999999;
            font-size: 14px;
            font-weight: normal;
            margin: 1em 0 0;
            padding: .7em 1em;
            width: 100%;

            &:before {
                @extend %font-awesome;
                color: #aaaaaa;
                content: '\f071';
                margin-right: 4px;
            }
        }
    }

    .reset-form {
        @include border-radius(3px);
        font-size: .95em;
        position: relative;

        p {
            color: inherit;
        }
    }

    // Modifier Styles
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        &.margin--top-none {
            margin-top: 0;
        }

        &.margin--bottom-none {
            margin-bottom: 0;
        }

        &.margin--less {
            margin-bottom: .3em;
        }

        &.sub-heading {
            font-weight: 400;
            margin-bottom: 0;
        }

        &.color--light {
            font-weight: 300;
        }
    }

    p {
        &.margin--extra {
            margin-bottom: 1.5em;
        }

        &.margin--less {
            margin-bottom: .3em;
        }

        .black,
        &.black {
            color: #000000;
        }
    }

    .color--light {
        color: #777777;
    }

    .margin--extra {
        margin-top: 2.5em;
    }

    .margin--extra-2x {
        margin-top: 5em;
    }
}

.signup-team-all {
    @include border-radius(2px);
    border: 1px solid #dddddd;
    margin: 0 0 20px;

    .signup-team-dir {
        background: #fafafa;
        border-top: 1px solid #d5d5d5;

        &:first-child {
            border: none;
        }

        a {
            color: inherit;
            display: block;
            font-size: 1.1em;
            height: 3.5em;
            line-height: 3.5em;
            padding: 0 15px;
        }
    }

    .signup-team-dir-err {
        background: #fafafa;
        border-top: 1px solid #d5d5d5;
        color: inherit;
        padding: 5px 15px;

        &:first-child {
            border: none;
        }
    }

    .signup-team-dir__name {
        float: left;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: calc(100% - 50px);

    }

    .signup-team__icon {
        color: $dark-gray;
        float: right;
        font-size: 1.5em;
        line-height: 25px;
        position: relative;
        top: .66em;

        &.fa-spin {
            font-size: .9em;
            right: -2px;
            top: 16px;
        }

        &.fa-info-circle {
            float: left;
            line-height: 1.5em;
            margin-right: .3em;
            padding-left: .5em;
            font-size: 1.5em;
            top: 11px;
        }
    }
}


.authorize-box {
    border: 1px solid $black;
    height: 280px;
    margin: 100px auto;
    width: 500px;
}

.authorize-inner {
    padding: 20px;
}

.authorize-btn {
    margin-right: 6px;
}

.verify_panel {
    margin: 60px auto auto;
    max-width: 380px;
}