/* ==========================================================================
   WooCommerce MyAccount page styles - begin
   ========================================================================== */

.edge-woocommerce-page.woocommerce-account {

    .edge-woocommerce-account-navigation,
    .woocommerce-MyAccount-content {
        position: relative;
        display: inline-block;
        vertical-align: middle;
        float: left;
        box-sizing: border-box;
        font-family: $heading-font;
    }

    .edge-woocommerce-account-navigation{
        width: 25%;
        padding: 0 15px 0 0;
        font-family: $heading-font;

        .edge-user-info{
            margin-bottom: 50px;

            img {
                border-radius: 100%;
                display: block;
                position: relative;
            }

            h3{
                margin: 10px 0 0;
            }

            .edge-username{
                font-weight: 400;
            }

        }

        .woocommerce-MyAccount-navigation {

            ul {
                padding: 0;
                margin: 0;
                list-style: none;

                li {
                    margin: 0;
                    padding: 0;

                    &:not(:last-child) {
                        margin: 0 0 2px;
                    }

                    a{
                        color: $default-text-color;
                        font-size: 16px;
                        font-weight: 400;
                        line-height: 1em;
                        @include edgeTransition(color 0.3s esase);
                    }

                    &:hover a,
                    &.is-active a{
                        color: $default-heading-color;
                    }
                }
            }
        }
    }
    
    .woocommerce-MyAccount-content {
        width: 75%;

        h2{
            font-size: 24px;
            line-height: 36px;
        }

        h2,h3{
            margin-bottom: 0;
        }

        header{
            h2,h3{
                margin-top: 35px;
            }
        }
    }
    
    .woocommerce {
        margin: 70px 0 110px;

        .edge-woocommerce-account-login-form{
            width: 600px;
            margin: 0 auto;

            h2{
                margin-top: 0;
            }
        }

        form.login {

            p {
                margin: 0;
                
                &.edge-login-form-text {
                    margin: 0 0 7px;
                }
            }
            
            input[type='checkbox'] {
                position: relative;
                display: inline-block;
                vertical-align: middle;
                top: -1px;
                margin: 0 3px 0 5px;
            }

            label[for='rememberme']{
                font-size: 13px;
                line-height: 13px;
                color: #929292;
            }
            
            .lost_password {
                display: block;
                margin: 15px 0 0;
                font-size: 13px;
            }
        }
        
        form.edit-account {
            margin: 0 0 15px;
            
            p {
                margin: 0;
            }
            
            label {
                display: block;
                margin: 0 0 5px;
            }
            
            fieldset {
                
                > legend {
                    display: block;
                    color: $default-heading-color;
                    margin: 10px 0;
                    font-weight: 700;
                }
            }
        }
        
        > p {
            display: block;
            margin: 0 0 30px;
        }
        
        > h2,
        > header h2 {
            display: block;
            margin: 16px 0 25px;
        }
        
        table.shop_table {
            padding: 0;
            margin: 0 0 25px;
            
            tr {
                border: 0;
                border-bottom: 1px solid $additional-border-color;
            }
            
            td, th {
                padding: 14px 0;
                text-align: left;
                vertical-align: middle;
            }
            
            th {
                border: 0;
                font-size: 14px;
                color: $default-heading-color;
                text-transform: uppercase;
                letter-spacing: 2px;
                font-weight: 700;
            }
            
            td {
                
                &.order-actions,
                &.download-actions{
                    text-align: right;
                    
                    .button {
                        height: 38px;
                        line-height: 38px;
                        padding: 0 28px;
                        margin-left: 15px;
                    }
                }
            }
            
            .variation {
                
                > * {
                    display: inline-block;
                    vertical-align: middle;
                    padding: 0;
                    margin: 0;
                }
                
                p {
                    margin: 0;
                }
            }
        }

        table.shop_table th.product-total,
        table.shop_table td.product-total,
        table.shop_table tfoot td,
        table.customer_details tbody td,
        table.customer_details tfoot td{
            text-align: right;
        }

        
        .col2-set.addresses {
            @include edgeRelativeHolderLayout();
            clear: both;
            margin: 0 0 15px;
            
            .col-1,
            .col-2 {
                position: relative;
                display: inline-block;
                width: 49%;
                margin-right: 1%;
                float: left;
                vertical-align: middle;
            }
            
            .col-2 {
                margin-left: 1%;
                margin-right: 0;
            }
            
            .title {
                margin: 4px 0 25px;
            }
            
            h3 {
                margin: 0;
            }
            
            address {
                font-style: normal;
            }

            .edit{
                font-weight: 400;

                &:before {
                    position: relative;
                    display: inline-block;
                    font-family: "ElegantIcons";
                    content: "\6c";
                    font-size: 14px;
                    line-height: 1;
                    margin-right: 5px;
                    overflow: hidden;
                    -webkit-font-smoothing: antialiased;
                    -moz-osx-font-smoothing: grayscale;
                }
            }
        }
    }
    
    .vc_row {
        
        .woocommerce {
            
            > h2 {
                font-size: 30px;
                line-height: 40px;
                margin: 0 0 25px;
            }
            
            form.login {
                margin: 0;
                
                p {
                    @include edgeRelativeHolderLayout();
                    
                    label {
                        
                        &:not(.inline) {
                            display: block;
                            margin: 14px 0;
                            color: $default-heading-color;
                            font-size: 18px;
                            line-height: 38px;
                        }
                        
                        &.inline {
                            position: relative;
                            display: inline-block;
                            vertical-align: middle;
                            margin: 23px 0 0;
                        }
                    }
                    
                    input.button {
                        margin: 23px 0 0;
                    }
                }
            }
        }
    }
}

.edge-woocommerce-page.woocommerce-account.woocommerce-edit-address {
    
    .woocommerce {
        
        > form {
            margin: 0 0 15px;
            
            > *:first-child {
                margin: 0 0 25px;
            }
            
            p {
                margin: 0;
            }
            
            label {
                display: block;
                margin: 0 0 5px;
            }
        }
    }
}
/* ==========================================================================
   WooCommerce MyAccount page styles - end
   ========================================================================== */