//
//  Common
//  _____________________________________________

& when (@media-common = true) {
    .osc-index-index {
        #onestepcheckout-login-popup {
            #onestepcheckout-login-form,
            #onestepcheckout-register-form {
                .lib-clearfix();
            }
            #onestepcheckout-login-table {
                padding-top: 25px;
            }
            li {
                padding-bottom: 16px;
                &.email-icon {
                    &::before {
                        content: none;
                    }
                    .input-box {
                        width: 100%;
                    }
                }
                &.password-icon {
                    &::before {
                        content: none;
                    }
                    .input-box {
                        width: 100%;
                    }
                }
                &.last {
                    padding-bottom: 0;
                    #onestepcheckout-login-button,
                    #onestepcheckout-register-button,
                    #onestepcheckout-forgot-button {
                        .lib-font-size(12);
                        background-color: @button-primary__background !important;
                        border: @button-primary__border;
                        color: @button-primary__color !important;
                        height: auto;
                        line-height: 1;
                        padding: 10px 18px !important;
                        &:hover {
                            background-color: @button-primary__hover__background !important;
                            border: @button-primary__hover__border;
                        }
                    }
                }
            }
            p.forgot-link {
                a:hover {
                    text-decoration: underline;
                }
            }
            p.register-link {
                margin-bottom: 0;
                padding-bottom: 0;
                a:hover {
                    text-decoration: underline;
                }
            }
            .pslogin-spacer + p.title-register {
                padding-top: 0;
            }
            #onestepcheckout-register-table {
                .input-box {
                    margin-bottom: 0;
                    margin-top: 0;
                }
            }
            .social-buttons-container {
                padding-left: 5%;
                padding-right: 5%;
                .pslogin-block {
                    margin-bottom: 12px;
                }
                .pslogin-register {
                    margin-bottom: 0;
                }
            }
            #onestepcheckout-login-popup-contents-register .social-buttons-container {
                padding-top: 73px;
            }
        }
    }
}
