/**************main cart***********/
.go-back .btn-default{
    color: #860082;
     background-color: transparent;
    border-color: #e2c5e0;
}
.go-back .btn-default:hover{
    background-color: #eae1e8;
}
#content{
    padding: 20px 10px;
}
#tab-container{
    float: right;
    margin: 50px 0 0 0;
    width: 200px;
}
#tab-container ul{
    list-style: none;
    text-align: center;
    font-size: 12px;
    padding-right: 0;
}
#tab-container ul li{
    /*border-top: 1px dotted #34bacc;*/
    border-left: 1px solid #e2c5e0;
    /*border-bottom: 1px dotted #34bacc;*/
    /*border-right: 5px solid #34bacc;*/
    background-color: #d2b5c9;
    margin: 8px 0;
    direction: rtl;
}
#tab-container ul li:before,
#tab-container ul li a:hover:before{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    border-style: solid;
    border-color:transparent #fdfdfd transparent transparent;
    border-width: 18px 12px 18px 0;
}
#tab-container ul li.active a:hover:before{
    border: transparent;
}
#tab-container ul li a,
#tab-container ul li a:visited{
    text-decoration: none;
    color: #ffffff;
    display: block;
    padding: 10px 5px;
}
#tab-container ul li.step-buy a,
#tab-container ul li.step-buy a:visited,
#tab-container ul li.step-profile a,
#tab-container ul li.step-profile a:visited{
    padding: 8px 5px;
}
#tab-container ul li a i{
    display: inline-block;
    padding: 0 5px;
    font-size: 1.5em;
    vertical-align: middle;
}
#tab-container ul li a:hover{
    background: linear-gradient(to right , #8a0060,#8100af);
}
#tab-container ul li.active{
    border-left: none;
    /*border-right: 5px solid #06276e;*/
}
#tab-container ul li.active a{
    background: linear-gradient(to right , #8a0060,#8100af);
    color: #ffffff;
}
#tab-container ul li.active:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -16px;
    border-style: solid;
    border-color: transparent #8a0060 transparent transparent;
    border-width: 18px 16px 18px 0;
}
#main-container{
    min-height: 650px!important;
    margin: 0 199px 0 0;
    padding: 20px;
    border: 1px solid #e2c5e0;
}
.tab-content .contentTitle{
    position: relative;
    text-align: -webkit-center;
    background-color: #e2c5e0;
    border-radius: 15px;
    padding: 10px;
    color: #8200a5;
    width: 400px;
    font-size: 13px;
    margin: 0 auto 40px;
}
.tab-content .contentTitle:before{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -10px;
    border-style: solid;
    border-color: transparent #e2c5e0 transparent transparent;
    border-width: 19px 19px 19px 0;
    transform: rotate(180deg);
    border-radius: 10px;
}
.tab-content .contentTitle:after{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -10px;
    border-style: solid;
    border-color: transparent #e2c5e0 transparent transparent;
    border-width: 19px 19px 19px 0;
    border-radius: 10px;
}
.tab-content select{
    padding: 2px 12px;
}
.tab-content form{
    direction: rtl;
}
.tb-responsive{
    overflow: auto;
}
.table-responsive tbody > tr > td{
    line-height: 2em;
}
/******************MENU1******************/
.buy .table-cart table{
    font-size: 13px!important;
    font-weight: normal;
    direction: rtl;
    text-align: center;
}
.buy .table-cart table tbody > tr > td:first-child ,
.buy .table-cart table tbody > tr > th{
    text-align: -webkit-center;
}
.buy .table-cart table tbody > tr > td:nth-child(2){
    text-align: right;
    padding-right: 20px;
}
td.t-img {
    height: 90px;
    width: 80px;
}
.buy .table-cart table > th,
.buy .table-cart table tbody > tr > td{
    vertical-align: middle!important;
}
.buy .tblast tbody > tr{
    color: #0b4044!important;
}
.buy .tblast tbody > tr span{
    color: #880072;
}
.buy .table-cart table input{
    width: 50px;
    padding-right: 5px;
}
.buy .table-cart table a i{
    font-size: 1.5em;
    color: #999;
}
.buy .table-cart table a i:hover{
    color: red;
}
.buy .table-cart table > tbody > tr:first-child,
.buy .table-cart table > tbody > tr:last-child{
    color: #666666;
}
/*******************MENU2******************/
.buy .membership{
    margin-bottom: 20px;
    /*height: 180px;*/
    border: 1px solid #e2c5e0;
    padding: 15px;
}
.buy .membership span{
    float: right;
    padding-left: 20px;
}
.buy .membership .textMembership{
    direction: rtl;
}
.buy .membership .textMembership label{
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 10px;
}
.buy .membership .textMembership p{
    text-align: justify;
    font-size: 13px;
    line-height: 2em;
}
.buy .membership .fa-user-plus{
    color: #00d2cd;
}
.buy .membership .fa-user{
    color: #00d22f;
}
.buy .membership .btn-default {
    color: #0b4044;
    background-color: #e0e0e0;
    border-color: #cdcdcd;
}
/*******************MENU3******************/
.buy #menu3 table{
    text-align: center;
    direction: rtl;
}
.buy #menu3 table > tbody > tr {
    font-size: 13px;
}
.buy #menu3 table > tbody > tr > th{
    text-align: center;
}
.buy #menu3 table > tbody > tr:first-child{
    color: #666;
}
.buy #menu3 table > tbody > tr:last-child{
    color: #880072;
}
/*******************MENU4*****************/
.buy #menu4 .radio .radio-inline,
.profile #menu3 .radio .radio-inline{
    width: 100%;
    font-size: 13px;
    text-align: center;
    direction: rtl;
    padding-left: 0;
}
.buy #menu4 .radio .radio-inline table > tbody > tr:first-child > td:first-child,
.profile #menu3 .radio .radio-inline table > tbody > tr:first-child > td:first-child{
    text-align: -webkit-right;
    padding-left: 16px;
}
.buy #menu4 .radio .radio-inline table > tbody > tr > td input ,
.profile #menu3 .radio .radio-inline table > tbody > tr > td input{
    top: 8px;
}
.buy #menu4 .radio .radio-inline table.clr,
.profile #menu3 .radio .radio-inline table.clr{
    background-color: #f7f6e8;
}
.buy #menu4 .radio .radio-inline table:hover #menu4 table.control-btn,
.profile #menu3 .radio .radio-inline table:hover #menu3 table.control-btn{
    background-color: #ffd3d0;
}
.buy #menu4 .control-btn a i,
.profile #menu3 .control-btn a i{
    font-size: 21px;
}
.buy #menu4 .control-btn .edit a i,
.profile #menu3 .control-btn .edit a i{
    color: #2196F3;
}
.buy #menu4 .control-btn .delete1 a i,
.profile #menu3 .control-btn .delete1 a i{
    color: #ff4d4d;
}
.buy .mainAccordion{
    text-align: -webkit-center;
}
.buy #menu4 p.accordion,
.profile #menu3 p.accordion{
    background: linear-gradient(to right , #8a0060,#8100af);
    cursor: pointer;
    padding: 18px;
    width: 40%;
    border-radius: 5px;
    border: none;
    outline: none;
    font-size: 13px;
    transition: 0.4s;
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
}
/*.buy #menu4 h3.accordion.active, .buy #menu4 h3.accordion:hover,*/
/*.profile #menu3 h3.accordion.active, .profile #menu3 h3.accordion:hover{*/
    /*background: #f3dd17!important;*/
/*}*/
.buy #menu4 p.accordion:after,
.profile #menu3 p.accordion:after{
    content: '\02795';
    font-size: 13px;
    color: white;
    float: right;
    margin-left: 5px;
}
.buy #menu4 p.accordion.active:after,
.profile #menu3 p.accordion.active:after{
    content: "\2796";
}
.buy #menu4 div.panel,
.profile #menu3 div.panel{
    /*padding: 0 18px;*/
    background-color: #f1f1f1;
    max-height: 0;
    overflow: hidden;
    transition: 0.6s ease-in-out;
    opacity: 0;
    font-size: 13px;
}
.buy #menu4 div.panel.show,
.profile #menu3 div.panel.show{
    opacity: 1;
    max-height: 500px;
}
.buy #menu4 .form-control,
.profile #menu3 .form-control{
    font-size: 13px;
    padding: 3px 12px;
    line-height: 2em;
}
/*******************MENU5*****************/
.buy #menu5 .radio-inline{
    width: 100%;
}
.buy #menu5 .radio-inline table{
    background-color: #f7f6e8;
    font-size: 13px;
    direction: rtl;
    text-align: center;
}
.buy #menu5 .radio-inline table tr > td:first-child{
    width: 5%;
}
.buy #menu5 .radio-inline table tr > td:nth-child(2){
    width: 75%;
    text-align: right;
}
.buy #menu5 .radio-inline table tr > td:last-child{
    width: 20%;
}
.buy #menu5 .radio:nth-child(1) i{
    color: #64bd64;
}
.buy #menu5 .radio:nth-child(2) i{
    color: #ff7272;
}
.buy #menu5 .radio:nth-child(3) i{
    color: #42a2e5;
}
.buy #menu5 .radio:nth-child(4) i{
    color: #f3a83b;
}
.buy #menu5 .radio:nth-child(5) i{
    color: #666;
}
.buy #menu5 .radio-inline table tr > td{
    line-height: 3em;
}
.buy #menu5 .radio-inline table i{
    margin-left: 10px;
    vertical-align: middle;
}
.buy #menu5 .radio-inline table tr > td input{
    top: 20px;
    right: 18px;
}
.buy #menu5 .radio-inline table tr > td span{
    font-size: 12px;
    color: #555;
}
.backColor{
    background-color: #f7f5cb!important;
}
.backColor1{
    background-color: #f7f5cb!important;
}
/*******************MENU6*****************/
.buy #menu6 .bank span {
    float: right;
    padding: 5px;
    background: #f3f2ce;
    margin-right: 3px;
    color: #777;
    border-radius: 4px;
    margin-bottom: 5px;
}
.buy #menu6 .bank .bank-name{
    padding: 11px 5px;
}
.buy #menu6 .bank .color {
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: relative;
    opacity: 0.5;
}
.buy #menu6 .bank .melli:before{
    content: "";
    background: url("../images/b1.png") no-repeat;
}
.buy #menu6 .bank .saderat:before{
    content: "";
    background: url("../images/b2.png") no-repeat;
}
.buy #menu6 .bank .tejarat:before{
    content: "";
    background: url("../images/b3.png") no-repeat;
}
.buy #menu6 .bank .melli:before,
.buy #menu6 .bank .saderat:before,
.buy #menu6 .bank .tejarat:before{
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 35px;
    height: 35px;
    background-position: center;
    background-size: contain;
}

.buy #menu6 .bank .color.selectColor:before{
    top: 0;
    right: 0;
}
.buy #menu6 .bank span.selectColor:after {
    content: '';
    position: absolute;
    width: 18px;
    height: 10px;
    background: transparent;
    top: 8px;
    left: 8px;
    border: 3px solid #30ff10;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    opacity: 0.7!important;
}
.buy #menu6 .bank .color.selectColor {
    border: 3px solid #23FF00;
    opacity: 0.7!important;
    /*position: relative;*/
}
.buy #menu6 .bank .dis {
    display: none;
}
.buy #menu6 p{
    float: right;
    margin: 18px;
    font-size: 15px;
    font-weight: bold;
}
.buy #menu6 .bank , .buy #menu6 .txt{
    text-align: right;
    font-size: 13px;
    direction: rtl;
    margin: 20px 0;
}
.buy #menu6 a img{
    width: 40px;
}
.buy #menu6 .txt label{
    line-height: 2em;
    margin-bottom: 20px;
}
.buy #menu6 .txt textarea.form-control{
    line-height: 2em;
}
.buy #menu6 .discountCode ul{
    list-style-type: none;
    padding-right: 0;
    padding-left: 0;
}
.buy #menu6 .discountCode ul li{
    line-height: 3em;
    display: inline-block;
    margin: 0 10px;
}
.buy #menu6 .discountCode ul li span{
    font-weight: bold;
}
.buy #menu6 .discountCode ul li input{
    padding: 0 6px;
}
/*******************MENU7*****************/
.buy #menu7 .panel-heading img{
    margin-left: 20px;
}
.buy #menu7 .panel-heading{
    font-size: 15px;
}
.buy #menu7 .panel-default > .panel-heading {
    color: #fff;
    background-color: #ff7f00;
    border-color: #ddd;
    direction: rtl;
}
.buy #menu7 .bazarFactor .panel-default > .panel-heading{
    background-color: #880075;
}
.buy #menu7 .tblast{
    font-size: 13px;
}
.buy #menu7 .fa-print{
    padding-left: 5px;
}
.buy .bazarFactor .tblast{
    text-align: center;
    direction: rtl;
}
.schoolFactor .table-cart table tbody > tr > td:nth-child(2){
    text-align: center;
}
/*******************MENU8*****************/
.buy #menu8 p{
    direction: rtl;
    padding-bottom: 20px;
}
.buy #menu8 p strong{
    font-weight: bold;
    background: #f3dd17;
    padding: 2px 10px;
}
.buy #menu8 {
    text-align: center;
    direction: rtl;
}
/************profile**************/
/************دفترچه آدرس*************/
.profile #menu3 label, .profile #menu2 label, .profile #menu1 label{
    font-size: 13px;
    font-weight: normal;
    margin-bottom: 0;
    text-align: right;
    width: 90px;
    padding: 7px 0;
}
.profile #menu2 label{
    width: 105px;
}
.profile #menu3 p{
    margin-bottom: 40px;
    line-height: 2em;
    text-align: justify;
    direction: rtl;
}
.profile #menu3 table{
    background-color: #F1F1F1;
    direction: rtl;
    margin-bottom: 10px;
}
.profile #menu3 .control-btn a i{
    font-size: 21px;
}
.profile #menu3 .control-btn .edit a{
    background-color: #d9edf7;
}
.profile #menu3 .control-btn .edit a i{
    background-color: #d9edf7;
    color: #2196F3;
}
.profile #menu3 .control-btn .delete1 a i{
    color: #ff4d4d;
}
.profile .addressEdit .form-group label{
    display: inline-block;
    width: 30%;
}
.profile .addressEdit .form-group input , .profile .addressEdit .form-group select{
    display: inline;
    width: 66%;
}
.profile .addressEdit .form-group .ltr{
    direction: ltr;
}
.profile .addressEdit .form-group label{
    display: inline-block;
    width: 30%;
}
.profile .addressEdit .form-group input , .profile .addressEdit .form-group select{
    display: inline;
    width: 66%;
}
.profile .addressEdit .form-group .ltr{
    direction: ltr;
}
/*..................سفارش های من............*/
.profile #menu4 .nav-tabs > li{
    float: right;
    direction: rtl;
    padding: 0 5px;
    font-size: 13px;
    width: 33%;
}
.profile #menu4 .nav-tabs{
    height: 41px;
    border-bottom: 1px solid #eee;
}
.profile #menu4 .nav > li > a{
    padding: 10px 5px;
    border: 1px solid #eee;
    border-bottom-color: transparent;
}
.profile #menu4 .nav-tabs > li.active > a,
.profile #menu4 .nav-tabs > li.active > a:hover,
.profile #menu4 .nav-tabs > li.active > a:focus{
    background-color: #e4fffe;
    border: 1px solid #00d2cd;
    border-bottom-color: transparent;
}
.profile #menu4 .tab-content{
    margin-top: 40px;
    /*direction: rtl;*/
    /*text-align: center;*/
}
.profile #menu4 .table > tbody{
    text-align: center;
    direction: rtl;
    font-size: 13px;
}
.profile #menu4 .table > tbody > tr:first-child ,
.profile #menu4 .table > tbody > tr > td:first-child {
    background-color: #f5f5f5;
}
.profile #menu4 .table > tbody > tr > th,
.profile #menu5 .table > tbody > tr > th{
    text-align: center;
}
.profile #menu4 .table > tbody > tr > td{
    vertical-align: middle;
}
.profile #menu5 .table > tbody > tr > td{
    vertical-align: middle;
    text-align: center;
}
.profile #menu4 .listMain table input{
    width: 50px;
}
.profile #menu4 .listMain table i{
    font-size: 25px;
}
/**************لیست علاقه مدی ها*************/
.profile #menu5 .info-ico{
    color: #17c71e;
    font-size: 24px;
}
.profile #menu5 .del-ico{
    color: #900000;
    font-size: 24px;
}
.profile #menu5 .del-ico:hover{
    cursor: pointer;
}
    /************Password Recovery*********/
.passwordRecovery .panel-body,
.passwordRecovery section{
    text-align: right;
    direction: rtl;
}
.passwordRecovery h5{
    margin-bottom: 30px;
    line-height: 2em;
}
.passwordRecovery label{
    float: right;
    width: 200px;
    margin-top: 5px;
}
.passwordRecovery section input{
    direction: ltr;
    width: 250px;
    line-height: 1em;
    border-radius: 4px;
    border: 1px solid #d2b5c9;
    padding: 5px;
}
.passwordRecovery .refresh input{
    direction: rtl;
    padding-right: 40px;
}
.passwordRecovery .refresh{
    position: relative;
}
.passwordRecovery .refresh span{
    font-size: 17px;
}
.passwordRecovery .refresh img{
    position: absolute;
    right: 353px;
    top: 1px;
}
.passwordRecovery .refresh a{
    position: absolute;
    right: 207px;
    top: 8px;
}
.passwordRecovery .styleButton{
    text-align: right;
}
/************responsive***********/
@media (min-width: 768px) and (max-width: 991px){
    #tab-container{
        width: 150px;
    }
    #main-container {
        margin: 0 149px 0 0;
    }
    #content label{
        padding-bottom: 10px;
    }
    .buy #menu5 .radio-inline table tr > td input{
        right: 5px;
    }
    .mainAccordion  .form-group{
        padding: 0;
        margin-bottom: 30px;
    }
}
@media(max-width: 991px){
    .profile .addressEdit .form-group input, .profile .addressEdit .form-group select{
        width: 100%!important;
    }
    .profile .addressEdit .form-group label{
        padding: 7px 0!important;
    }
    .profile #menu3 label, .profile #menu2 label, .profile #menu1 label{
        padding: 7px 20px!important;
        width: 100%!important;
    }
    /*.padding{*/
        /*padding: 0;*/
    /*}*/
}
@media(max-width: 767px) {
    .slide {
        margin-bottom: 0!important;
    }
    /*.padding{*/
        /*padding-left: 0;*/
        /*padding-right: 0;*/
    /*}*/
    #content .navbar-toggle .icon-bar{
        background-color: #fff;
    }
    #content .navbar-toggle{
        margin-right: 4%;
        z-index: 1;
    }
    #main-container {
        min-height: inherit!important;
        margin: 0!important;
        padding: 0;
        border: none;
    }
    #tab-container{
        background: #e2c5e0;
        z-index: 10;
        position: absolute;
        width: 205px;
        right: 15px;
    }
    #tab-container ul li {
        margin: 2px 0;
    }
    .tab-content .contentTitle{
        width: 96%;
        margin: 0px auto 20px;
        padding: 15px;
        border-radius: 5px;
    }
    #content {
        padding: 0px;
    }
    #tab-container ul li.active{
        border-left: 1px solid #666;
    }
    .buy .mainAccordion .form-group{
        text-align: right;
    }
    .buy #menu4 p.accordion{
        width: 90%;
        margin-top: 10px;
    }
    .buy #menu8 p{
        width: 100%;
        padding-right: 12px;
        line-height: 1.5em;
    }
    .buy #menu5 .radio-inline table tr > td input{
        right: 4px;
    }
    .buy #menu5 label{
        padding-left: 2px;
        padding-right: 2px;
    }
    .buy .bazarFactor .table{
        margin-top: 10px;
    }
    .profile #menu3 .Padding .form-group{
        padding: 0;
    }
    .profile #menu4 .nav-tabs > li{
        width: 100%;
        margin-bottom: 2px;
    }
    .profile #menu4 .nav-tabs{
        height: 169px;
    }
    .profile #menu4 .nav-tabs > li.active > a,
    .profile #menu4 .nav-tabs > li.active > a:hover,
    .profile #menu4 .nav-tabs > li.active > a:focus{
        border-bottom-color: #00d2cd;
    }

    main *[class^="col-"]{
        float: none!important;
    }
    .tab-content .contentTitle:before,
    .tab-content .contentTitle:after{
        display: none;
    }
    .articles .col-xs-12{
        width: 50%;
        float: right!important;
    }
    #tab-container ul li:before, #tab-container ul li a:hover:before,
    #tab-container ul li.active:after,
    #tab-container ul li:before, #tab-container ul li a:hover:before{
        display: none;
    }
}
@media(max-width: 509px){
    .passwordRecovery label{
        width: 250px;
    }
    .passwordRecovery section input{
        width: 200px;
    }
    .passwordRecovery .refresh a {
        right: 10px;
        top: 38px;
    }
    .passwordRecovery .refresh img {
        right: 104px;
        top: 31px;
    }
}
@media(max-width: 485px) {
    .articles .col-xs-12{
        width: 100%;
        float: none!important;
    }
}
@media(max-width: 397px){
    .buy #menu6 .bank label:last-child{
        margin-top: 50px;
        margin-left: 0;
        width: 80%;
    }
}
@media (max-width: 350px){
    .addressEdit .form-group label, .addressEdit .form-group input, .addressEdit .form-group select{
        display: block;
        width: 100%;
    }
    .buy .go-back a , .buy .btn , .profile .btn{
        width: 100%;
        margin: 3px 0;
        display: block;
    }
    .buy .go-back{
        float: none!important;
        text-align: center;
    }
    /*.buy #menu4 .btn, .buy #menu6 .btn{*/
        /*width: 100%;*/
        /*margin-bottom: 5px;*/
    /*}*/
    /*.profile #menu1 .button-style1 , .profile #menu3 .button-style1{*/
        /*text-align: left;*/
    /*}*/
    /*.buy #menu7 .go-back , .buy #menu4 .go-back{*/
        /*width: 230px;*/
    /*}*/
}