// /**
//  * Copyright © Magento, Inc. All rights reserved.
//  * See COPYING.txt for license details.
//  * Responsive Sportires
//  */
//  _____________________________________________

//Mini Login
@media only screen and (max-width: 768px) {
    /****Popup Login ****/
    .mini-login {
        .header {
            &.links {
                display: block;
                li {
                    &:first-child {
                        /*position: absolute;
                        width: 300px;
                        right: -90px;
                        top: -24px;*/
                    }
                    font-weight: 400;
                    color: @color-white;
                    list-style: none;
                    .not-logged-in {
                        display: none;
                    }
                    &.greet.welcome {

                        .logged-in {
                            cursor: pointer;
                        }
                    }
                    &.customer-welcome {
                        .customer-name {
                            display: block;
                            .action.switch {
                                background: none;
                                border: none;
                                padding: 0;
                                height: 13px;
                                &:after {
                                    content: ' ';
                                    background-image: url('../images/usuario-click.svg');
                                    background-repeat: no-repeat;
                                    background-size: 29px 29px;
                                    padding: 6px 15px;
                                    position: relative;
                                    top: 0;
                                    left: 0;
                                    max-width: 26px;
                                    text-align: center;

                                }
                                span {
                                    display: none;
                                }
                            }
                        }
                        .customer-menu {
                            display: none;
                        }

                        &.active {
                           .customer-name.active + .customer-menu {
                               display: block;
                                .header.links {
                                    &:before {
                                        right: 33px;
                                        top: -12px;
                                        border: 6px solid;
                                        border-color: transparent transparent #fff transparent;
                                        z-index: 99;
                                        content: '';
                                        display: block;
                                        height: 0;
                                        position: absolute;
                                        width: 0;
                                        box-sizing: border-box;

                                    }
                                    display: flex;
                                    flex-wrap: wrap;
                                    flex-direction: column-reverse;
                                    text-align: left;
                                    max-width: 175px;
                                    right: -23px;
                                    list-style: none none;
                                    background: #fff;
                                    border: 1px solid #bbb;
                                    box-sizing: border-box;
                                    position: absolute;
                                    top: 100%;
                                    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
                                    z-index: 5;
                                    li {
                                        color: #000000;
                                        &.link {
                                            &.wishlist {
                                                display: none;
                                            }

                                        }
                                        &:first-child {
                                            order: 2;
                                            a {
                                                color: #000000;
                                                padding: 0 8px 8px;
                                                &:visited {
                                                    color: #000000;
                                                }
                                                &:focus {
                                                    color: #000000;
                                                }
                                                &:hover {
                                                    color: #000000;
                                                }
                                            }
                                        }
                                        &:nth-of-type(2) {
                                            order: 1;
                                        }
                                        &:nth-of-type(3) {
                                            order: 3;
                                        }
                                        &.link.authorization-link {
                                            .trigger-ajax-login {
                                                font-size: 14px;
                                                height: auto;
                                                width: 100%;
                                                padding: 0 8px 8px;
                                                &:visited {
                                                    color: #000000;
                                                }
                                                &:focus {
                                                    color: #000000;
                                                }
                                                &:hover {
                                                    color: #000000;
                                                }
                                                &:before {
                                                    content: none;
                                                }
                                            }
                                        }
                                        &:hover {
                                            background: #ffffff;
                                        }
                                    }
                                    .greet.welcome {
                                        .logged-in {
                                            display: block;
                                            padding: 8px;
                                        }
                                        display: block;
                                        border-bottom: solid 1px #EEEEEE;
                                    }
                                    &:after {
                                        right: 104px;
                                        top: -14px;
                                    }
                                }
                            }
                        }
                    }


                    &.logout {
                        display: none;
                        position: absolute;
                        left: -1.7rem;
                        width: max-content;

                        a.logout {
                            text-transform: capitalize;
                            margin-left: 3rem;

                            &:after {
                                content: ' ';
                                background-image: url('../images/logout.svg');
                                padding: 3px 13px;
                                margin-left: 2px;
                                background-repeat: no-repeat;
                            }
                        }
                    }
                }

                li.customer-welcome + li.authorization-link {
                    > .trigger-ajax-login {
                        display: none;
                        &:before {
                            background-image: url('../images/ico-logout.svg');
                            background-size: 32px 32px;
                            padding: 16px 16px;
                        }
                    }
                }

                > li.link {
                    &.authorization-link {
                        width: max-content;
                        margin-bottom: 0;
                        margin-top: 0;
                        margin-left: 0;
                        .trigger-ajax-login {
                            display: inline-block;
                            font-size: 0;
                            height: 13px;
                            width: 28px;
                            text-align: center;

                            &:before {
                                content: ' ';
                                background-image: url('../images/usuario-up.svg');
                                background-repeat: no-repeat;
                                background-size: 26px 26px;
                                padding: 13px 13px;
                                position: relative;
                                top: 0px;
                                left: 0px;
                                max-width: 26px;
                                text-align: center;
                            }
                        }
                    }
                }



            }
        }
    }

    .login-overlay {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 2;
        padding: 0;
        display: none;

    }

    .popup-login-form,
    .popup-forget-password,
    .popup-register-form {
        display: none;
    }

    .login-register-popup {
        zoom: 0.75;
        display: block;
        transition: 3s;
        position: relative;
        right: -52px;
        float: right;
        width: 441px;
        margin: 0 auto;
        background: #fff;
        margin-top: 44px;
        border: 1px solid #f1f1f1;
        -webkit-box-shadow: 0px 4px 39.9px -7px rgba(0, 0, 0, 0.25);
        box-shadow: 0px 4px 39.9px -7px rgba(0, 0, 0, 0.25);

        .response-msg {
            div {
                margin: 5px 16px;
                text-align: center;
                padding: 5px 0;
                border-radius: 3px;
                &.success {
                    color: #3c763d;
                    background-color: #dff0d8;
                    border-color: #d6e9c6;
                }
                &.error {
                    color: #a94442;
                    background-color: #f2dede;
                    border-color: #ebccd1;
                }
            }
        }
        .login-link {
            margin-top: 10px;
        }



        .cancelbtn {
            width: auto;
            padding: 10px 18px;
            background-color: @background_color_2;
        }
        .imgcontainer {
            text-align: center;
            margin: 24px 0 12px 0;
        }
        img.avatar {
            width: 40%;
            border-radius: 50%;
        }
        .popup-login-form {
            #pass_log_id {
                padding-right: 30px;
            }
        }
        .popup-forget-password-form {
            .contain {
                height: 37rem;
                p {
                    font-weight: 400;
                    font-size: 16px;
                }
            }
        }
        .popup-register-form {
            .contain {
                button {
                    &.login {
                        display: block;
                        padding: 10px 20px;
                        margin-top: 25px;
                        margin-bottom: 32px;
                        max-width: 180px;
                        float: right;
                    }
                }
            }
        }
        .contain {
            padding: 32px;
            h4 {
                font-size: 20px;
                margin-top: 0;
                margin-bottom: 25px;
            }
            label {
                margin-top: 0;
                margin-bottom: 6px;
                b {
                    font-size: 16px;
                    font-weight: 400;
                }
            }
            input[type=text],
            input[type=password],
            input[type=email] {
                width: 100%;
                padding: 12px 20px;
                margin-top: 0;
                margin-bottom: 6px;
                display: inline-block;
                border: 1px solid #ccc;
                box-sizing: border-box;
            }
            .toggle-password {
                position: relative;
                right: 30px;
                cursor: pointer;
                &.fa-eye-slash {
                    &:before {
                        background-image: url('../images/eye-password-aqua.svg');
                    }
                }
                &:before {
                    content: ' ';
                    background-image: url('../images/eye-password.svg');
                    background-repeat: no-repeat;
                    background-size: 26px 26px;
                    padding: 13px 13px;
                    position: absolute;
                    top: -2px;
                    left: 0;
                    max-width: 26px;
                    text-align: center;
                }
            }
            .toggle-password1 {
                position: absolute;
                display: block;
                right: 0;
                margin-top: -32px;
                &.fa-eye-slash {
                    &:before {
                        background-image: url('../images/eye-password-aqua.svg');
                    }
                }
                &:before {
                    content: ' ';
                    background-image: url('../images/eye-password.svg');
                    background-repeat: no-repeat;
                    background-size: 26px 26px;
                    padding: 2px 13px;
                    position: relative;
                    top: 0;
                    left: -40px;
                    max-width: 26px;
                    text-align: center;
                    cursor: pointer;
                }
            }
            .toggle-password2 {
                position: absolute;
                display: block;
                right: 0;
                margin-top: -32px;
                &.fa-eye-slash {
                    &:before {
                        background-image: url('../images/eye-password-aqua.svg');
                    }
                }
                &:before {
                    content: ' ';
                    background-image: url('../images/eye-password.svg');
                    background-repeat: no-repeat;
                    background-size: 26px 26px;
                    padding: 2px 13px;
                    position: relative;
                    top: 0;
                    left: -40px;
                    max-width: 26px;
                    text-align: center;
                    cursor: pointer;
                }
            }
            .field {
                &.choice {
                    &.newsletter {
                        display: none;
                        font-size: 16px;
                        .checkbox {
                            display: inline;
                        }
                        .label {
                            display: inline;
                            color: #000000;
                            font-size: 14px;
                        }
                    }
                }
                &.captcha {
                    &.required {
                        .label {
                            color: #000000;
                            font-size: 14px;
                        }
                    }
                }
            }

            .forget-password-link {
                margin-top: 27px;
                margin-bottom: 20px;
                a {
                    color: @aqua1;
                    font-weight: 400;
                    font-size: 16px;
                }
            }
            .login-link {
                margin-top: 27px;
                margin-bottom: 20px;
                a {
                    color: @aqua1;
                    font-weight: 400;
                    font-size: 16px;
                }
            }

            button {
                background: @aqua1;
                color: @color_1;
                display: block;
                font-size: 14px;
                font-style: normal;
                font-weight: 400;
                padding: 14px 20px;
                margin: 8px auto;
                border: none;
                cursor: pointer;
                width: 100%;
                max-width: 200px;
                border-radius: 3px;
                -moz-border-radius: 3px;
                -webkit-border-radius: 3px;
                &:hover {
                    opacity: 0.8;
                    border: none;
                    background: @aqua1;

                }
                &:focus {
                    background: @aqua1;

                    border: none;
                }

                &:active {
                    background: @aqua1;

                    border: none;
                }



                &.forgetpassword {
                    display: block;
                    padding: 10px 20px;
                    margin-top: 25px;
                    margin-bottom: 32px;
                    max-width: 180px;
                    float: right;
                }

            }

            .captcha {
                .control {
                    &.captcha-image {
                        .captcha-img {
                            margin: 0 10px 0 0;
                        }
                        .captcha-reload {
                            display: inline;
                            max-width: 160px;
                            height: 55px;
                            padding: 0;
                            margin: auto;
                        }
                    }
                }

            }

            .register-link {
                background: @aqua2;
                color: @aqua3;
                display: block;
                font-size: 14px;
                font-style: normal;
                font-weight: 400;
                padding: 14px 20px;
                margin: 0 auto;
                margin-top: 25px;
                border: none;
                cursor: pointer;
                width: 100%;
                max-width: 200px;
                border-radius: 3px;
                -moz-border-radius: 3px;
                -webkit-border-radius: 3px;
                text-align: center;
            }
            .login-link {
                background: @color_1;
                color: @color_blue1;
                display: block;
                font-size: 14px;
                font-style: normal;
                font-weight: 400;
                padding: 7.5px 20px;
                margin-top: 25px;
                border: solid 1px @color_blue1;
                cursor: pointer;
                width: 100%;
                max-width: 180px;
                border-radius: 3px;
                -moz-border-radius: 3px;
                -webkit-border-radius: 3px;
                text-align: center;
                float: left;
                margin-bottom: 32px;
                a {
                    color: @color_blue1;
                    font-weight: 400;
                    font-size: 16px;
                }
            }
        }
        span.psw {
            float: right;
            padding-top: 16px;
        }
    }

    //-----------------------------
}
@media only screen and (max-width: 464px)  {
    .login-register-popup {
        right: -225px;
    }
}
