.ac-header {
    display: flex;
    padding-bottom: 30px;
    margin: 40px 0 0;
}

.ac-header .left {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

.ac-header .right {
    flex: 0 0 300px;
    display: flex;
    align-items: center;
}

.ac-header .avatar img {
    border-radius: 50%;
}
.ac-header .name {
    padding-left: 20px;
}

.ac-header .name p {
    color: #666666;
    font-size: 14px;
    margin: 0;
}

.ac-header .name p.user {
    color: #111;
    font-size: 22px;
    margin: 5px 0 0;
}

.ac-header .balance {
    display: flex;
    width: 150px;
    flex-direction: column;
    text-align: center;
    border-left: 1px solid #ddd;
}

.ac-header .balance .blurb {
    color: #666666;
    font-size: 14px;
}

.ac-header .balance .amount {
    color: var(--s-primary);
    font-size: 22px;
    font-weight: bold;
    line-height: 30px;
    margin: 5px 0 0;
}

.multiple-form-group {
    display: flex;
    justify-content: space-between;
}

.multiple-form-group .form-group {
    flex: 0 0 48%;
}

/*--------------------------------------------- nav-item ----------------------------------------*/
.navbar-nav.ac-navbar {
    border-bottom: 3px solid #eee;
    margin: 0 0 30px;
}

.ac-navbar .nav-item .nav-link {
    font-size: 14px;
    font-weight: 400;
}

.navbar-nav.ac-navbar .nav-item .material-icons {
    line-height: 48px;
    height: 48px;
    float: left;
    margin-right: 7px;
    color: #aaa;
}

.navbar-nav.ac-navbar > .nav-item.active > .nav-link,
.navbar-nav.ac-navbar > .nav-item:hover > .nav-link {
    box-shadow: 0 3px 0 0 var(--s-primary);
    color: var(--s-primary);
}

.navbar-nav.ac-navbar > .nav-item.active > .nav-link .material-icons,
.navbar-nav.ac-navbar > .nav-item:hover > .nav-link .material-icons {
    color: var(--s-primary);
}


/*--------------------------------------------- account ----------------------------------------*/
.account-account .ac-navbar,
.affiliate-account .ac-navbar {
    display: none;
}

.ac-menus {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.ac-menu-item {
    flex: 0 0 25%;
    display: flex;
    padding: 0 5px 10px;
}

.ac-menus a {
    flex: 1 1 auto;
    text-align: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 40px 20px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.05);

    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.ac-menus a:hover {
    text-decoration: none;
}

.ac-menus a:hover {
    border: 1px solid var(--s-secondary);
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.15);
}

.ac-menus a span {
    display: block;
    color: #111;
    font-size: 13px;
    font-weight: bold;
}

.ac-menus a .material-icons {
    display: inline-block;
    font-weight: normal;
    font-size: 24px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    background: rgba(55, 75, 190, .1);
    color: var(--s-secondary);
    border-radius: 40px;
    margin-bottom: 10px;
}
.aff-cpn-code input{
    text-transform: uppercase;
}

/*--------------------------------------------- address ----------------------------------------*/
.card {
    display: flex;
    margin: 0 0 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.03);
    padding: 20px;
    align-items: center;
}

.card:hover {
    border: 1px solid #ddd;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}

.card p {
    margin-bottom: 0;
}

.card p.fade {
    color: #666666;
}

.card .img-wrap {
    flex: 0 0 47px;
    margin-right: 20px;
}

.card .img-wrap img {
    max-width: 52px;
}

.card .img-wrap .material-icons {
    font-size: 32px;
    background: #EDF2F5;
    padding: 10px;
    border-radius: 5px;
    color: #666666;
    height: 52px;
    width: 52px;
}

.card .title {
    flex: 1 1 auto;
    padding-right: 50px;
}

.card .title h6.item-name {
    font-size: 16px;
    font-weight: normal;
}

.card .title h6.item-name a {
    color: #111;
}

.card .title p {
    margin: 2px 0 0;
    color: #666666;
    font-size: 13px;
}

.card .title .mark {
    display: inline-block;
    margin-left: 10px;
    background: #27AE60;
    color: #fff;
    padding: 0 5px;
    border-radius: 3px;
    font-size: 13px;
    line-height: 18px;
}

.card .date {
    flex: 0 0 200px;
}

.card .date p {
    font-size: 13px;
}

.card .img-n-title {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

.card .amount {
    flex: 0 0 150px;
    padding-right: 30px;
    font-size: 18px;
    font-weight: bold;
    color: var(--s-primary);
}

.card .actions {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.card .actions .material-icons {
    font-size: 20px;
    margin-left: 10px;
    color: #666666;
}

.card .actions .btn {
    margin-right: 20px;
}

.card.o-card .actions .btn {
    margin-right: 0;
}

.card .actions .material-icons:hover {
    color: var(--s-primary);
}

.card.add-new {
    padding: 10px;
    justify-content: center;
    color: #666666;
}

.card.add-new:hover {
    color: var(--s-primary);
    text-decoration: none;
}

.user-address .card .title br {
    display: none;
}

.card.o-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    background: #FAFAFA;
}

.o-card .c-head {
    padding: 15px 20px;
    background: #fff;
    width: 100%;
    border-bottom: 1px solid #eee;
    display: flex;
    border-radius: 5px 5px 0 0;
}

.o-card .c-head .left {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.o-card .c-head .left .o-id {
    font-weight: bold;
    padding-bottom: 5px;
}

.o-card .c-head .left .o-date {
    font-size: 13px;
    color: #666666;
}

.o-card .c-head .right {
    flex: 0 0 auto;
    line-height: 24px;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.o-card .c-head .right .status {
    color: #F2994A;
}

.o-card .c-head .right .status.delivered {
    color: #27AE60;
}

.o-card .c-head .right .material-icons {
    float: left;
    margin-right: 5px;
}

.o-card .c-body {
    display: flex;
    width: 100%;
    padding: 20px;
    align-items: center;
}

/*--------------------------------------------- reward-points ----------------------------------------*/
.ac-layout .ac-amount-summary {
    padding: 30px 0;
    display: flex;
}

.ac-layout .ac-amount-summary .material-icons {
    flex: 0 0 70px;
    background: rgba(240, 75, 35, 0.1);
    color: var(--s-primary);
    font-size: 40px;
    text-align: center;
    line-height: 70px;
    width: 70px;
    height: 70px;
    border-radius: 50px;
    margin: 0 0 10px;
}

.ac-amount-summary .details {
    padding-left: 20px;
}

.ac-amount-summary p {
    color: #666666;
    margin-bottom: 5px;
}

.ac-amount-summary .amount {
    font-size: 43px;
    font-weight: bold;
}



.before-login .form-group .forgot-password {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 13px;
}


.before-login .btn.st-outline {
    border-width: 1px;
}

.before-login p.no-account-text {
    text-align: center;
    margin: 25px 0 35px;
    border-bottom: 1px solid #eee;
    height: 11px;
}

.before-login p.no-account-text span {
    background: #fff;
    padding: 0 10px;
    color: #666666;
}

.before-login .alert {
    margin-bottom: 20px;
}

/*--------------------------------------------- responsive ----------------------------------------*/

@media (max-width: 1024px) {
    .ac-header .balance .blurb,
    .ac-header .name p {
        font-size: 12px;
        line-height: 18px;
    }

    .ac-header .name p.user {
        font-size: 20px;
    }

    .ac-menus {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -15px;
        padding: 15px 10px;
        background: #F1F3F5;
    }

    .ac-menu-item {
        flex: 0 0 33.33%;
    }

    .ac-menus a {
        padding: 15px 5px;
        border: none;
        box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    }

    .ac-menus a span {
        font-size: 12px;
    }

    .ac-header .avatar img {
        width: 50px;
        height: 50px;
    }

    .ac-header {
        flex-wrap: wrap;
        margin-top: 20px;
        padding-bottom: 10px;
        display: none;
    }

    .account-account .ac-header {
        display: block;
    }

    .ac-header .name {
        padding-left: 15px;
    }

    .ac-header .left,
    .ac-header .right {
        flex: 1 1 100%;
    }

    .ac-header .right {
        border-right: none;
        padding-top: 10px;
        margin-top: 20px;
        border-top: 1px solid #eee;
    }

    .ac-header .right .balance {
        flex: 1 1 50%;
    }

    .ac-header .right .balance:first-child {
        border: none;
    }

    .ac-header .balance .amount {
        margin: 0;
    }

    .navbar-nav.ac-navbar {
        display: none;
    }

    .ac-layout .ac-title {
        padding-top: 10px;
    }

    .ac-layout .ac-title .material-icons {
        display: block;
    }

    .ac-layout .ac-title h1 {
        margin-bottom: 0;
    }

    .ac-layout .ac-title-help-text {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .card {
        flex-wrap: wrap;
    }
    .card .actions {
        flex: 1 1 auto;
        justify-content: flex-end;
    }
    .card .img-n-title {
        flex: 1 1 100%;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }
    .o-card .c-body {
        flex-wrap: wrap;
    }
}