.afadp-user-info img{
	width: 80px!important;
    height: 80px!important;
	margin:0 auto;
    border-radius: 50%!important;
}
.afadp-user-info{
	border:1px solid #d3d3d38a;
}
.afadp-user-info-wrap{
	text-align: center;
    padding: 20px;
}
.afadp-text-center{
	width:100%!important;
}
.afadp-user-info-btn a{
    display: block;
    text-align: center;
    background: #d3d3d326;
    padding: 12px 0;
    font-size: 16px;
    line-height: 30px;
    width: 49.5%;
}
.afadp-user-info-wrap h3{
	font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 4px;
}
.afadp-user-info-wrap p{
	font-size: 16px;
    line-height: 26px;
    margin-bottom: 0px;
}
.afadp-total-order-wrap{
	display: flex;
    border: 1px solid #d3d3d38a;
    width: 49%;
    margin-bottom: 10px;
}
.afadp-total-order-icon{
	font-size: 30px;
    line-height: 40px;
    width: 40%;
    display: flex;
    color: #fff;
    align-items: center;
    background: black;
    justify-content: center;
}
.afadp-total-order-detail{
	width: 70%;
    text-align: center;
    padding: 15px;
}
.afadp-total-order-detail p{
	margin: 0;
    font-size: 16px;
    line-height: 26px;
    font-weight: 600;
}
.afadp-total-order-detail h3{
    font-size: 26px;
    line-height: 34px;
    font-weight: 500;
    margin-top: 5px;
    margin-bottom: 5px;
}
.afadp-total-order-detail a{
	text-decoration: none;
    color: #000;
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
}
.afadp-user-total-detail{
	display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.afadp-custom-account-link ul, .afadp-custom-affiliate-link ul{
	list-style: none;
	padding: 0;
	margin:0;
	display: flex;
    flex-wrap: wrap;
}
.afadp-template-first .afadp-custom-account-link ul li:nth-child(2n){
	margin-right:0!important;
}
.afadp-custom-account-link ul li{
    width: 48%;
    margin-right: 6px;
    margin-bottom: 5px;
}
.afadp-custom-affiliate-link ul li, .afadp-template-third .afadp-custom-account-link ul li{
    width: 32%;
    margin-right: 11px;
    margin-bottom: 12px;
}
.afadp-custom-account-link ul li a,
.afadp-custom-affiliate-link ul li a,
.afadp-template-third .afadp-custom-account-link ul li a{
    display: block;
    border: 1px solid #ddd;
    text-align: center;
    color: #000;
    text-decoration: none!important;
    padding: 16px 15px;
}
.afadp-custom-account-link  .afadp-icon,
.afadp-custom-affiliate-link .afadp-icon{
    width: 50px;
    min-height: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #666;
    margin: 7px auto 12px;
}
.afadp-icon i{
	font-size: 18px;
    width: 38px;
    height: 38px;
    padding-top: 16px;
}
.afadp-icon span{
    font-size: 14px;
    line-height: 24px;
}
.afadp-custom-affiliate-link ul li a,
.afadp-template-third .afadp-custom-account-link ul li a{
    padding: 24px 15px;
}
.afadp-custom-affiliate-link .afadp-icon,
.afadp-template-third .afadp-custom-account-link .afadp-icon{
    width: 55px;
    height: 55px;
    margin: 8px auto 17px;
}
.afadp-custom-affiliate-link .afadp-icon i,
.afadp-template-third .afadp-custom-account-link .afadp-icon i{
    font-size: 20px;
    padding-top: 17px;
}
.afadp-custom-account-link, .afadp-custom-affiliate-link{
	font-size: 16px;
    font-weight: 500;
    line-height: 26px;
}
.afadp-title-bar h3{
	margin: 0;
    font-size: 18px;
    line-height: 25px;
    font-weight: 700;
    color: #fff;
}
.afadp-title-bar{
	display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: gray;
    margin-top: 20px;
}
.afadp-title-bar a{
	color: #fff;
    font-size: 14px;
    line-height: 24px;
    text-decoration: none!important;
    font-weight: 600;
}
.afadp-title-bar a i{
	margin-right: 10px;
}
.afadp-user-info-btn{
    display: flex;
    justify-content: space-between;
}
.afadp-user-info, .afadp-custom-account-link{
    display: inline-block;
    vertical-align: top;
}
.afadp-user-info{
    width: 42%;
}
.afadp-custom-account-link{
    width: 57%;
}
.afadp-account-orders-table > tbody > tr > td,
.afadp-account-orders-table > thead > tr > th,
.afadp-transaction-detail > table > tbody > tr > td,
.afadp-transaction-detail > table > tbody > tr > th{
    border: 1px solid #ddd;
    background: #fff!important;
    padding: 10px 8px;
    font-size: 14px;
    line-height: 24px;
}
.afadp-account-orders-table > thead > tr > th,
.afadp-transaction-detail > table > tbody > tr > th{
    color: #000;
}
.afadp-account-orders-table, .afadp-transaction-detail table{
    border-spacing: 0;
    margin-top: 20px;
    border-collapse: collapse;
    width: 100%;
}
.afadp-table-button{
    text-align: center;
}
.afadp-custom-affiliate-link ul{
    margin:20px 0!important;
}
.afadp-table-button a{
    padding: 5px 9px;
    font-size: 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    text-align: center;
}
.afadp-woocommerce-Addresses{
    display: flex;
    margin-top: 20px;
    justify-content: space-between;
}
.afadp-woocommerce-Address{
    width: 48%;
}
.afadp-woocommerce-Address-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid gray;
    padding-bottom: 12px;
}
.afadp-woocommerce-Address-title h3{
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
    margin: 0;
}
.afadp-woocommerce-Address-title a, .afadp-account-orders-table tr td a,
.afadp-user-info-btn a, .afadp-total-order-detail a,
.woocommerce-MyAccount-navigation ul li a{
    text-decoration: none!important;
    color: #000;
}
.woocommerce-MyAccount-navigation{
    border: 1px solid #d3d3d3ad;
    margin-right: 0px!important;
    width: 23%!important;
  /*  margin-top: 15px;*/
    height: 100%;
}
.woocommerce-MyAccount-navigation ul{
    margin-bottom: 0!important;
}
.woocommerce-MyAccount-navigation ul li{
    font-size: 14px;
    line-height: 24px;
    padding: 12px 15px!important;
    border-bottom: 1px solid #d3d3d3ad;
}
.afadp_title h1, .afadp-transaction-detail h2, .wishlist-title-with-form h2{
    font-size: 24px;
    line-height: 34px;
    font-weight: 600;
}
.wishlist_table .product-add-to-cart a {
    display: inline!important
}
.woocommerce-MyAccount-content .afadp-deafault-content{
    display: none;
}
.afadp-total-order-detail .afadp-deafault-content,
.afadp-user-info-wrap .afadp-deafault-content{
    display: block!important;
}
.afadp-account-orders-table, .shop_table.cart.wishlist_table.wishlist_view {
    width: 100%!important;
}
.woocommerce-MyAccount-content{
    width: 70%!important;
}
.afadp-image-grid{
    position: relative;
	    margin-top: 25px;
    margin-bottom: 25px;
}
.afadp-image-grid img{
    width: 75px;
    margin-top: 10px;
    border-radius: 50%;
}
.afadp-image-grid #remove-image{
      border: none;
    border-radius: 50%;
    background: red;
    color: #fff;
    width: 20px;
    padding: 0px;
    position: absolute;
    height: 20px;
    font-size: 14px;
    line-height: 17px;
    font-weight: 800;
    top: 0;
    left: -9px;
}
/*Second Template*/
.afadp-template-second .afadp-user-info,
.afadp-template-third .afadp-user-info{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 15px;
}
.afadp-template-second .afadp-user-info-btn,
.afadp-template-third .afadp-user-info-btn{
    display: block;
    width: 20%;
}
.afadp-template-second .afadp-user-info-wrap,
.afadp-template-third .afadp-user-info-wrap{
    display: flex;
    width: 72%;
    align-items: center;
    text-align: left;
    justify-content: space-between;
}
.afadp-template-second .afadp-user-info-wrap h3,
.afadp-template-third .afadp-user-info-wrap h3{
    font-weight: 700;
    margin-bottom: 5px;
    margin-top: 0!important;
}
.afadp-template-second .afadp-user-info-wrap p,
.afadp-template-third .afadp-user-info-wrap p{
    margin-top: 0;
}
.afadp-template-second .afadp-user-info-btn a,
.afadp-template-third .afadp-user-info-btn a{
    width: 100%;
    border-bottom: 1px solid;
    padding: 15px 0;
    font-size: 26px;
    line-height: 48px;
}
.afadp-template-second .afadp-user-info img,
.afadp-template-third .afadp-user-info img {
    width: 80px!important;
    margin-left: 5px;
    margin-right: 28px;
    height: 80px!important;
}
.afadp-template-second .afadp-user-avater,
.afadp-template-third .afadp-user-avater{
    /*width: 36%;*/
}
.afadp-template-second .afadp-total-order-wrap{
    display: block;
}
.afadp-template-second .afadp-total-order-icon{
    width: 100%;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding: 10px 15px;
    box-sizing: border-box;
}
.afadp-total-order-icon i{
    font-size: 30px;
}
.afadp-template-second .afadp-total-order-icon p{
    margin: 0;
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
}
.afadp-template-second .afadp-total-order-detail, .afadp-template-second .afadp-custom-account-link,
.afadp-template-third .afadp-custom-account-link{
    width: 100%;
    box-sizing: border-box;
}
.afadp-template-second .afadp-user-total-detail{
    justify-content: flex-start!important;
}
.afadp-template-second .afadp-total-order-wrap,
.afadp-template-second .afadp-custom-account-link ul li,
.afadp-template-second .afadp-custom-affiliate-link ul li{
    margin-right: 10px;
    width: 32%!important;
    margin-bottom: 10px;
}
.afadp-template-second .afadp-custom-account-link ul li:nth-child(3n),
.afadp-template-second .afadp-total-order-wrap:nth-child(3n),
.afadp-template-second .afadp-custom-affiliate-link ul li:nth-child(3n),
.afadp-template-third .afadp-custom-account-link ul li:nth-child(3n),
.afadp-custom-affiliate-link ul li:nth-child(3n),
.afadp-template-third .afadp-total-order-wrap:nth-child(3n){
  margin-right: 0;
}
.afadp-template-second .afadp-custom-account-link .afadp-icon,
.afadp-template-second .afadp-custom-affiliate-link .afadp-icon{
    padding: 20px 0;
    width: 30%!important;
    height: auto!important;
    min-height: auto!important;
    border:none;
    margin:0;
}
.afadp-template-second .afadp-custom-account-link ul li a,
.afadp-template-second .afadp-custom-affiliate-link ul li a{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    height: 100%;
    padding: 0!important;
    box-sizing: border-box;
}
.afadp-template-second .afadp-custom-account-link ul li a span,
.afadp-template-second .afadp-custom-affiliate-link ul li a span{
    width: 70%;
    background: black;
    display: flex;
    color: #fff;
    font-size: 16px;
    height: 100%;
    justify-content: center;
    align-items: center;
    line-height: 25px;
}
.afadp-template-second .afadp-custom-account-link ul li a .afadp-icon i,
.afadp-template-second .afadp-custom-affiliate-link ul li a .afadp-icon i{
    font-size: 22px;
    line-height: 32px;
    padding: 0;
    width: auto;
    height: auto;
}
.afadp-template-second .afadp-total-order-icon i{
    font-size: 16px;
}
.afadp-user-info-btn a:last-child{
    border:none;
}
.afadp-template-third .afadp-user-info-btn a{
    background: #d3d3d326!important;
}
.afadp-template-second .afadp-user-info-detail,
.afadp-template-third .afadp-user-info-detail{
    width: 86%!important;
}

.afadp-template-third .afadp-total-order-wrap{
    width: 32%;
    margin-right: 11px;
    margin-bottom: 12px;
}
.afadp-template-third .afadp-total-order-detail p{
    font-size: 14px;
    line-height: 24px;
}
.afadp-template-third .afadp-user-total-detail{
    justify-content: flex-start;
}
.afadp-template-third .afadp-total-order-detail a{
    font-size: 12px;
    line-height: 21px;
}

@media screen and ( max-width: 600px ) {

    .woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content{
        width: 100%!important;
        display: block!important;
        float: none!important;
        margin-bottom: 20px;
    }
    .afadp-custom-account-link, .afadp-user-info{
        width: 100%!important;
        margin-bottom: 15px!important;
    }
    .afadp-template-first, .afadp-total-order-wrap, .afadp-custom-account-link ul li,
    .afadp-custom-affiliate-link ul li,
    .afadp-template-second .afadp-total-order-wrap, .afadp-template-second .afadp-custom-account-link ul li,
    .afadp-template-second .afadp-custom-affiliate-link ul li{
        width: 100%!important;
    }
    .afadp-template-second .afadp-user-info img, .afadp-template-third .afadp-user-info img{
        width: 70px!important;
        height: 70px!important;
    }
    .afadp-template-second .afadp-user-info-wrap, .afadp-template-third .afadp-user-info-wrap{
        width: 78%;
        padding: 5px;
    }
    .afadp-template-second .afadp-user-info-wrap h3, .afadp-template-third .afadp-user-info-wrap h3{
        font-size: 18px;
        line-height: 24px;
    }
    .afadp-template-second .afadp-user-info-wrap p, .afadp-template-third .afadp-user-info-wrap p {
        font-size: 14px;
        line-height: 21px;
    }
    .afadp-template-second .afadp-total-order-wrap, .afadp-template-third .afadp-total-order-wrap{
        margin-right: 0!important;
    }
    .afadp-custom-affiliate-link ul li, .afadp-custom-account-link ul li{
        margin-right: 0!important;
        margin-bottom: 12px!important;
    }
    .afadp-dashboard-order{
        width: 100%;
        overflow: scroll;
    }
    .afadp-template-second .afadp-user-info-detail, .afadp-template-third .afadp-user-info-detail {
        width: 67%!important;
        box-sizing: border-box;
        line-break: anywhere;
    }
    .afadp-template-third .afadp-user-info-btn a, .afadp-template-second .afadp-user-info-btn a{
        padding: 10px 0;
        font-size: 20px;
        line-height: 38px;
    }
}

@media screen and ( min-width: 600px ) and ( max-width: 1020px ) {
    .afadp-template-third .afadp-user-info{
        width: 100%!important;
    }
    .afadp-template-second .afadp-user-info-wrap, .afadp-template-third .afadp-user-info-wrap {
        width: 70%;
        padding: 10px;
    }
    .afadp-template-second .afadp-total-order-wrap, .afadp-template-second .afadp-custom-account-link ul li,
    .afadp-template-second .afadp-custom-affiliate-link ul li, .afadp-template-third .afadp-total-order-wrap,
    .afadp-template-third .afadp-custom-account-link ul li, .afadp-template-third .afadp-custom-affiliate-link ul li{
        width: 48.7%!important;
    }
    .afadp-template-second .afadp-total-order-wrap:nth-child(2n),
    .afadp-template-second .afadp-custom-account-link ul li:nth-child(2n),
    .afadp-template-second .afadp-custom-affiliate-link ul li:nth-child(2n),
    .afadp-template-third .afadp-total-order-wrap:nth-child(2n),
    .afadp-template-third .afadp-custom-account-link ul li:nth-child(2n),
    .afadp-template-third .afadp-custom-affiliate-link ul li:nth-child(2n){
        margin-right: 0!important;
    }
    .afadp-template-second .afadp-total-order-wrap:nth-child(3n),
    .afadp-template-second .afadp-custom-account-link ul li:nth-child(3n),
    .afadp-template-second .afadp-custom-affiliate-link ul li:nth-child(3n),
    .afadp-template-third .afadp-total-order-wrap:nth-child(3n),
    .afadp-template-third .afadp-custom-account-link ul li:nth-child(3n),
    .afadp-template-third .afadp-custom-affiliate-link ul li:nth-child(3n){
        margin-right: 10px!important;
    }
    .afadp-template-third .afadp-custom-affiliate-link ul li,
    .afadp-template-third .afadp-custom-account-link ul li{
        margin-right: 12px!important;
    }
    .afadp-template-second .afadp-user-info-detail, .afadp-template-third .afadp-user-info-detail {
        width: 66%!important;
        line-break:anywhere;
    }
}