@import "mixins";

.mkbh-user-forms-modal.modal[role="dialog"] {
    padding-right: 0 !important;

    .modal-dialog {
        width: 345px;
        margin-left: -174px;
        left: 50%;
        .transition(all 175ms cubic-bezier(0.250, 0.100, 0.250, 1.000));
    }

    .modal-content {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        border: 0;
        background-color: #f7f7f7;

        .mkbh-user-modal-form {
            button[data-dismiss="modal"] {
                background: url("../../images/svg/icon_user_modal_close.svg") 50% 50% no-repeat;
                width: 16px;
                height: 16px;
                opacity: 1;
            }

            .modal-logo {
                text-align: center;
                margin: 20px 0 10px;

                & > img {
                    width: 115px;
                }
            }

            .join-us-label, .join-us-label p {
                margin: 0 0 20px 0;
                text-align: center;
                font-family: 'Caecilia LT Std', serif;
                font-size: 15px;
                font-weight: normal;
                line-height: 20px;
                letter-spacing: 0.03em;
            }

            p.or-login-with {
                margin: 15px 0;
                text-align: center;
                font-family: 'Caecilia LT Std', serif;
                font-size: 13px;
                font-weight: bold;
            }

            p.or-opret-profile {
                position: relative;
                z-index: 1;
                margin: 10px 0;
                text-align: center;
                font-family: 'Caecilia LT Std', serif;
                font-size: 14px;
                font-weight: bold;

                &:before {
                    border-top: 1px solid #000;
                    content: '';
                    margin: 0 auto; /* this centers the line to the full width specified */
                    position: absolute; /* positioning must be absolute here, and relative positioning must be applied to the parent */
                    top: 50%;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    width: 95%;
                    z-index: -1;
                }

                > span {
                    background-color: #f7f7f7;
                }

                + .opret-profile-btn {
                    position: relative;
                    display: block;
                    width: 100%;
                    background-color: black;
                    border-color: #9a9a9a;
                    color: white;
                    font-family: 'Montserrat', sans-serif;
                    font-weight: normal;
                    letter-spacing: 0.04em;
                    .transition(opacity 175ms cubic-bezier(0.250, 0.100, 0.250, 1.000));

                    .ajax-progress.ajax-progress-throbber {
                        position: absolute;
                        top: 0;
                        right: 10px;
                        background: url("../../images/svg/loading-bars.svg") 50% 50% no-repeat;
                        background-size: 100%;
                        width: 25px;
                        height: 32px;

                        i.glyphicon {
                            display: none;
                        }
                    }
                }
            }

            .status-messages {
                a.close {
                    display: none;
                }
            }

            .form-body {
                padding: 0 7px;
                margin-top: 35px;

                .form-control {
                    padding: 5px 10px;
                    height: 36px;
                    line-height: 36px;
                    font-size: 15px;
                    letter-spacing: 0.025em;

                    &.error {
                        border-color: #c1272d;
                        -webkit-box-shadow: none;
                        -moz-box-shadow: none;
                        box-shadow: none;
                    }
                }

                .form-group {
                    margin-bottom: 10px;
                }

                .help-block {
                    display: none;
                }

                .form-actions {
                    .cw {
                        margin-bottom: 10px;
                    }

                    .btn {
                        position: relative;
                        display: block;
                        width: 100%;
                        background-color: black;
                        border-color: #9a9a9a;
                        color: white;
                        font-family: 'Montserrat', sans-serif;
                        font-weight: normal;
                        letter-spacing: 0.04em;
                        .transition(opacity 175ms cubic-bezier(0.250, 0.100, 0.250, 1.000));

                        .ajax-progress.ajax-progress-throbber {
                            position: absolute;
                            top: 0;
                            right: 10px;
                            background: url("../../images/svg/loading-bars.svg") 50% 50% no-repeat;
                            background-size: 100%;
                            width: 25px;
                            height: 32px;

                            i.glyphicon {
                                display: none;
                            }
                        }
                    }

                    .captcha-wrapper {
                        margin-bottom: 10px;
                    }
                }

                .social-hybridauth {
                    h3 {
                        display: none;
                    }

                    .hybridauth-icon {
                        float: none;
                        width: 300px;
                        height: 35px;
                        opacity: 1;
                        .transition(opacity 175ms cubic-bezier(0.250, 0.100, 0.250, 1.000));

                        &.facebook {
                            background: url("../../images/svg/btn_social_facebook.svg") 0 0 no-repeat;
                        }

                        &.google {
                            background: url("../../images/svg/btn_social_google.svg") 0 0 no-repeat;
                        }

                        &:hover {
                            opacity: 0.75;
                        }
                    }
                }

                .form-type-password-confirm {
                    .password-strength, .password-suggestions, .password-confirm:not(.form-control) {
                        display: none !important;
                    }
                }
            }



            .modal-navigation {
                padding: 8px 10px;

                a {
                    color: rgb(134, 134, 133);
                    font-family: 'Montserrat', sans-serif;
                    font-size: 14px;
                }
            }
        }
    }

    @media screen and (max-width: 360px) {
        width: 100%;
        left: 0;
        margin-left: 0;
        padding-right: 0 !important;

        .modal-content {
            margin-right: 20px;
        }

        .hybridauth-widget {
            li {
                display: block;
                width: 100%;

                .hybridauth-icon {
                    display: block;
                    width: 100% !important;
                }
            }
        }
    }
}
