//-----------------------------------
// LOGIN GENERAL
//-----------------------------------
.noo-box-login {
    &.noo-popup-main {
        display: none;
        background: #fff;
        min-width: 376px;
        margin: 50px auto;
        position: relative;
        padding: 50px 35px;
        .border-radius-all(5px);
        .box-shadow( 0 0 5px 0 fade(#000, 10%));
        @media (max-width: @screen-xs) {
            padding: 60px 30px;
            min-width: 280px;
            min-height: 500px;
            max-width: 320px;
        }
        .login-demo {
            width: 100%;
            height: 45px;
            color: @white;
            display: block;
            font-size: 12px;
            cursor: pointer;
            font-weight: 700;
            line-height: 45px;
            text-align: center;
            text-transform: uppercase;
            background-color: @primary_color;
            i {
                font-size: 16px;
                margin-right: 10px;
            }
        }
    }
    .title {
        margin: 0;
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 30px;
        color: @heading_color;
        text-transform: uppercase;
        @media (max-width: @screen-xs) {
            font-size: 24px;
        }
    }
    span {
        font-size: 18px;
        @media (max-width: @screen-xs) {
            font-size: 14px;
        }
    }
    label {
        display: none;
    }
    .notice {
        display: none;
    }
    .noo-login-member-wrap, .noo-register-member-wrap {
        margin-bottom: 15px;
        .noo-register-member-left {
            margin-bottom: 30px;
            .noo-item-wrap {
                margin-bottom: 20px;
                input, select {
                    width: 100%;
                    height: 45px;
                    line-height: 45px;
                    background-color: transparent;
                    border: 1px solid screen(@border_color, #c5c5c5);
                    color: @text_color;
                    .placeholder(screen(@border_color, #c5c5c5));
                    &:hover, &:focus, &:active {
                        color: @primary_color;
                        .placeholder(@primary_color);
                    }
                }
                &.validate-error {
                    input {
                        border: 1px solid red;
                    }
                    .notice {
                        color: red;
                        display: block;
                        margin-top: 10px;
                        span {
                            font-size: 14px;
                        }
                    }
                }
            }
        }
    }
    .noo-login-action {
        button {
            padding: 0;
            width: 100%;
            border: none;
            height: 45px;
            color: @white;
            line-height: 45px;
            position: relative;
            .border-radius-all(0);
            text-transform: uppercase;
            .transition(all 0.35s ease);
            background-color: @primary_color;
            i {
                right: 3px;
                left: auto !important;
                top: 0;
                line-height: 45px;
            }
            &:hover {
                background-color: lighten(@primary_color, 15%);
            }
        }
    }
    .noo-login-member-container, .noo-register-member-container {
        margin-top: 25px;
        .open-form-toggle {
            right: -95px;
            width: 152px;
            white-space: nowrap;
        }
    }
    .noo-register-member-container {
        display: none;
    }
    .open-form-toggle {
        top: 70px;
        right: -81px;
        .rotate(90deg);
        font-size: 16px;
        font-weight: 700;
        padding: 5px 20px;
        position: absolute;
        color: @heading_color;
        .border-radius-all(5px 5px 0 0);
        background: exclusion(@white, #0b0b0b);
    }
}
.noo-box-member {
    background-color: @white;
    .noo-box-login, .noo-box-register {
        padding: 60px;
    }
    .noo-box-login {
        position: relative;
        &:after {
            content: '\f090';
            position: absolute;
            bottom: -60%;
            right: 20px;
            font-family: FontAwesome;
            color: lighten(@border_color, 45%);
            font-size: 298px;
            .opacity(.2);
        }
    }
    .noo-box-register {
        &:before {
            left: 0;
            top: 20%;
            width: 1px;
            z-index: 2;
            height: 60%;
            content: '';
            position: absolute;
            background: screen(@border_color, #c5c5c5);
        }
    }
    form {
        &.rp-form-register>.rp-item-wrap:first-child {
            margin-top: 0;
        }
        .rp-item-wrap {
            margin-top: 35px;
            margin-bottom: 0;
        }
    }
    .noo-title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 20px;
        color: @heading_color;
        text-transform: uppercase;
    }
    #login-demo {
        width: 100%;
        height: 45px;
        color: @white;
        display: block;
        font-size: 12px;
        cursor: pointer;
        font-weight: 700;
        line-height: 45px;
        text-align: center;
        text-transform: uppercase;
        background-color: @primary_color;
        i {
            font-size: 16px;
            margin-right: 10px;
        }
    }
    .rp-item-wrap {
        .rp-item-checkbox label {
            display: inline-block;
        }
        label {
            display: none;
        }
        input, select {
            color: screen(@border_color, #c5c5c5);
            font-style: italic;
            box-sizing: border-box;
            background: transparent;
            border: 1px solid screen(@border_color, #c5c5c5);
            &:hover, &:focus, &:active {
                color: @primary_color;
                .placeholder(@primary_color);
            }
        }
        input {
            .placeholder(screen(@border_color, #c5c5c5));
        }
    }
    .rp-login-member-action, .rp-register-member-action {
        .rp-button {
            height: 45px;
            padding: 0 45px;
            line-height: 45px;
        }
    }
    .rp-login-member-action {
        display: table;
        >* {
            display: table-cell;
            margin-right: 30px;
        }
    }
    a {
        color: @heading_color;
        &:hover {
            color: @primary_color;
        }
    }
    .rp-item-checkbox {
        color: darken(@white, 23%);
    }
    @media screen and (max-width: 991px) {
        .noo-box-login, .noo-box-register {
            padding: 30px;
        }
        .noo-box-register {
            &:before {
                display: none;
            }
        }
    }
}
.noo-account {
    position: relative;
    font-size: @menu_font_size;
    font-weight: @menu_font_weight;
    >a {
        max-width: 100px;
        overflow: hidden;
        line-height: 62px;
        white-space: nowrap;
        display: block;
        text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-transform: capitalize;
        i {
            font-size: 18px;
        }
    }
    &:hover {
        >a {
            color: @primary_color;
        }
    }
    ul {
        right: 0;
        top: 150%;
        z-index: 9;
        opacity: 0;
        min-width: 245px;
        overflow: hidden;
        visibility: hidden;
        position: absolute;
        padding: 20px 25px;
        .border-radius(5px);
        list-style-type: none;
        .transition(all 0.35s ease);
        background-color: @menu_sub_bg_color;
        .box-shadow(0 0px 4px 0 rgba(0, 0, 0, 0.2));
        li {
            line-height: 40px;
            display: block;
            font-weight: normal;
            a {
                font-size: @menu_font_size - 1px;
                color: @menu_sub_text_color;
                span.profile-avatar {
                    display: inline-block;
                    height: 16px;
                    width: 16px;
                    margin-right: 5px;
                    img {
                        border-radius: 100%;
                    }
                }
                .profile-text {
                    text-transform: capitalize;
                }
                &:hover {
                    color: @primary_color;
                }
            }
        }
    }
    &:hover {
        ul {
            top: 100%;
            visibility: visible;
            opacity: 1;
        }
    }
}