#tab-basket > ul {float:right;width:100%;list-style:none;padding:0;margin:0 0 0 0}
#tab-basket > ul > li {float:right;}
#tab-basket > ul > li > a {display:block;padding: 5px 15px;position:relative;}
#tab-basket > ul > li > a.active {color:#3a7036}
#tab-basket > ul > li > a:after {content: "";display: block;height: 3px;background-color: #3a7036;position: absolute;bottom: -2px;left: 0;width: 100%;z-index: 100;-webkit-transition: all 0.4s  ease-out;-moz-transition: all 0.4s  ease-out;-ms-transition: all 0.4s  ease-out;-o-transition: all 0.4s  ease-out;transition: all 0.4s  ease-out;opacity:0}
#tab-basket > ul > li > a.active:after {opacity:1}
#tab-basket .item-tab {clear:both}
/*******/
#prv-basket .subj {font-size: 1.1em;margin:15px 15px 30px 0}
#prv-basket table {width:100%;line-height:21px;}
/*#prv-basket table tr {border-top:1px solid #b4b4b4}*/
#prv-basket table tr.gift-sec {border:0}
#prv-basket table tr.gift-sec td {padding:0 60px 0 10px;}
/*#prv-basket table tr.gift-sec .subj {margin: 0 0 20px 0;border-bottom: 1px solid #e8e8e8;height: 19px;}*/
#prv-basket table td {padding:15px 10px;vertical-align:middle ;   font-family: 'IRANSans_Bold';direction:ltr;border-top: 2px dashed #efefef;}
#prv-basket table td.img {width: 120px;}
#prv-basket table td.img img {max-width:100%}
#prv-basket table .det > h3 {font-size: 1.15em;margin-bottom: 20px;}
#prv-basket .price .alt-price {font-size: 0.9em;;}
#prv-basket .price .alt-price .discount {text-decoration: line-through}
#prv-basket .price .off {color: #e32119;font-size: 0.8em;}
#prv-basket .price .price {font-size:1.15em;color:#3a7036}
#prv-basket .num > div {position:relative;height:100%;width:100%;text-align:left;}
#prv-basket .num  .alert-num { position: absolute;bottom: -35px;left: 0;white-space: nowrap;font-size: 0.85em;background-color: #e32119;padding: 3px 7px;color:#fff}
#prv-basket .num  .alert-num:before {content: "";display: block;border-color: #e32119 transparent;border-style: solid;border-width: 0px 10px 10px 10px;height: 0px;width: 0px;position: absolute;top: -9px;left: 10px;}
#prv-basket .num span {display:block;margin-bottom:5px;color: #0a0a0a;}
#prv-basket .num select {border-left: 1px solid #c5c5c5;border-right: 1px solid #c5c5c5;border-top: 0;border-bottom: 0;}
#prv-basket .close-part {text-align:left;}
#prv-basket .close-part .btn-info {    font-size: 0.8em;color: #fff;}  
#prv-basket .close-btn {color:#a8a8a8;font-size:1.2em;cursor: pointer;}
/****/
#side-basket table { width:100%;color: #fff;}
#side-basket table tr td {text-align:left;padding-bottom:5px;direction:ltr}
#side-basket table tr td.subj {text-align:right;direction:rtl;}
#side-basket .bg {background-color: #424242;color: #fff;padding: 10px;line-height: 32px;border-radius:2px;-webkit-border-radius:2px;}
#side-basket .bg p {margin-bottom:5px;direction:ltr;}
#side-basket .det {border-top:1px solid #f0f1f3;padding:10px 12px;text-align:center;}
#side-basket .bg .txt {font-size: 0.8em;line-height: 20px;}
#side-basket .bg2 {background-color: #424242;color: #fff;padding: 10px;line-height: 32px;border-radius:2px;-webkit-border-radius:2px;margin-top:3px;font-size: 0.8em;line-height: 20px;}
#side-basket .det .more {display: block;background: url(img/sprite.png) no-repeat;width: 173px;height: 43px;margin: 0 auto;color: #222d3f;line-height: 30px;color:#fff}
/*******/
.address-part {border-top:1px solid #b4b4b4;border-bottom:1px solid #b4b4b4;padding:30px 0;margin-bottom:40px;}
.address-part .item {line-height:24px;display:none;margin-bottom:15px;}
.address-part .item.show {background-color: #fcfcfc;padding: 15px;}
.address-part .item.active-address {display:block}
.address-part .item h3 {float:right;font-size:1.1em;margin-left:40px;}
.address-part .item .edit-address {float:right;color:#756f71;font-size:0.9em}
.address-part .item.show .edit-address {display:none;}
.address-part .item .phone {clear:both;float:right;margin-top:15px;margin-left:20px;}
.address-part .item .Postal-code {float:right;margin-top:15px;}
.address-part .item .address {clear:both;float:right;margin-top:15px;}
#change-address {float: left;background-color: #fab31b;display: block;padding: 12px 18px;color: #333}
.address-part .item .btm {float: right;width: 100%;margin-top: 15px;display:none;}
.address-part .item .btm a {display: block;background-color: #e3e3e3;float: left;color: #333;margin-right: 8px;padding: 5px 20px;}
.address-part .item .btm a:hover {background-color:#dfdcdc;}
.address-part .item  .select-address {clear:both;float:right;width:100%;background-color:#f5f5f5;margin-top:15px;padding:5px;text-align:center;display:none; cursor:pointer;}
.address-part .item.active-address.show {background-color:#f7fdfd}
/******/
.modal-title {float:right;}
.form-horizontal label {margin-bottom:5px;font-size:0.95em;}
.form-horizontal .item {margin-bottom:15px;}
/****/
#new-address {margin-bottom:15px;display:none;position:relative;}
#new-address > p {margin-bottom:15px;}
#new-address > a.btn-new {display: block;width: 100%;border: 1px dashed #b8b8b8;text-align: center;padding: 15px;color: #a5a3a3;}
#new-address .close-address {position: absolute;top: -4px;left: 0;border: 1px solid #ccc;width: 20px;height: 20px;text-align: center;line-height: 22px;color: #999;border-radius: 50%;-webkit-border-radius: 50%;}
#new-address .close-address:hover {color:#000;border-color:#000;}
#type-send,#type-pay {background-color: #f3f3f3;border-top: 1px solid #b1b1b1;border-bottom: 1px solid #b1b1b1;padding: 30px 0;margin-bottom:30px;}
#select-send ,#select-pay  {float:right;width:45%}
#select-send .item ,#select-pay .item {float:right;width:100%;margin-bottom:15px;padding:5px 50px 5px 5px; cursor:pointer}
#select-send .item.active ,#select-pay .item.active {background-color:#d0d0d0}
#select-send .item img , #select-pay .item img{float:right;margin-left:15px;}
#select-send .item h4  ,#select-pay .item h4{color: #063154;margin: 5px 0;}
#select-send .item span ,#Cost p ,#select-pay .item span {font-size: 0.9em;color: #666;}
#Cost {float: right;width: 50%;padding: 30px 100px;text-align: center;line-height: 21px;}
#Cost h3 {font-size:1.2em;color:#0a3057;margin-bottom:15px;}
#Cost p {margin-top:25px;}
#Cost .item {display:none;}
#Cost .item.active {display:block}

#offcent-code {float: right;width: 50%;padding:45px 70px 0 70px;text-align: center;}
#offcent-code > p {font-size:0.9em;}
#offcent-code form {position: relative;width: 100%;background-color: #fff;border: 1px solid #adadad;margin-top: 20px;height:28px;padding-left:75px;}
#offcent-code form input[type="button"] {position: absolute;left: 0;top: 0;border: 0;background-color: #fbb31c;color: #333;height: 100%;width: 60px;}
#offcent-code form input[type="submit"] {position: absolute;left: 0;top: 0;border: 0;background-color: #fbb31c;color: #333;height: 100%;width: 60px;}
#offcent-code form input[type="text"] {width:100%;border:0px;padding:0px 5px;height:25px;}
/****/
#basket-part #prv-basket {background-color:#fff;min-height:462px}
#basket-part {margin:40px 0;}
.modal-header .close {float:left}
.show {display: block !important;}
.hid {display: none !important;}
#add-new-address {direction:rtl;text-align:right;}
/******/
@media (max-width:991.98px) {
    #Bsk {    position: relative;
    z-index: 9999999;}
    #tab-basket > ul {position:relative;z-index:2}
    #tab-basket .item-tab.active {position:relative;z-index:4}
    #fix-sec {position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 99999999;
    padding: 20px;
    box-shadow: 0 0 15px -4px #000;}
    #basket-part #prv-basket {min-height:15px;}
}


@media (max-width:767.98px) {
    #prv-basket table, #prv-basket tbody, #prv-basket tr, #prv-basket td {width:100%;}
    #prv-basket table td {padding:5px 10px   }
    #prv-basket table td.num {width: auto!important;float: right;}
    #prv-basket tr {float: right;width: 100%;margin-bottom: 30px;padding-top: 15px;}
      #select-send ,#select-pay {width:100%;}
    #Cost ,#offcent-code {width:100%;padding:30px 20px;}
    .brand-icon {display:block;margin:0 auto}
    #content-inner.inner2 {padding:25px 0;}
    #select-send .item, #select-pay .item {padding-right:5px;}
    #select-send .item img, #select-pay .item img  {margin-left: 5px;width: 35px;}
}

/******/
#tab-basket > ul {float:right;width:100%;list-style:none;padding:0;margin:0 0 30px 0;border-bottom:1px solid #ccc}
#tab-basket > ul > li {float:right;width:50%;font-size:0.95em;text-align:center;}
#tab-basket > ul > li > a {display:block;padding:5px 0;position:relative;}
#tab-basket > ul > li > a.active {color:#3a7036}
#tab-basket > ul > li > a:after {content: "";display: block;height: 3px;background-color: #3a7036;position: absolute;bottom: -2px;left: 0;width: 100%;z-index: 100;-webkit-transition: all 0.4s  ease-out;-moz-transition: all 0.4s  ease-out;-ms-transition: all 0.4s  ease-out;-o-transition: all 0.4s  ease-out;transition: all 0.4s  ease-out;opacity:0}
#tab-basket > ul > li > a.active:after {opacity:1}
#tab-basket > ul > li > a span {display: inline-block;background-color: #999;color: #fff;width: 23px;height: 23px;font-size: 0.9em;border-radius: 50%;-webkit-border-radius: 50%;line-height: 25px;}
#tab-basket > ul > li > a.active span {background-color:#3a7036}
#tab-basket .item-tab {clear:both}
#tab-basket .item-tab .items {border-bottom: 1px solid #e3e3e3;padding-bottom: 15px;margin-bottom: 15px;}
#tab-basket .item-tab .items:last-child {border:0;padding:0;margin:0}
#tab-basket .item-tab .items .right {float:right;width:110px;text-align:center;}
#tab-basket .item-tab .items .right select {width: 70px;margin: 11px 0 0 5px;border: 1px solid #e1dfdf;background-color: #fff;}
#tab-basket .item-tab .items .right .close-btn {font-size: 2em;position: relative;display: inline-block;top: 7px;padding: 0 5px;line-height: 20px;font-size: 2.2em;}
#tab-basket .item-tab .items .left {float:right;width:calc(100% - 110px);font-size:0.95em;line-height: 21px;}
#tab-basket .item-tab .items .left p ,#tab-basket .item-tab .items .left h3 {margin-bottom:10px;}
#tab-basket .item-tab .items .left p {color: #5d5757;}
#tab-basket .item-tab .items .left h3 {margin:5px 0}
#tab-basket .item-tab .items .left p.price {color:#dd221a;margin-top: 5px;font-size: 1.1em;}
#tab-basket .item-tab .items .right.bottom {clear: both;width: 100%;margin-top: 15px;text-align:right;}
#tab-basket .item-tab .items .right.bottom .add-list {font-size: 0.95em;color: #121274;padding: 8px 0;display: inline-block;position: relative;top: 2px;}
#tab-basket .item-tab .items .right.bottom .btn.btn-info {color:#fff}
#tab-basket .item-tab {display:none}
#tab-basket .item-tab.active {display: block;-webkit-animation: showtab 0.3s forwards;-moz-animation: showtab 0.3s forwards;animation: showtab 0.3s forwards;}
	#tab-basket .item-tab {clear:both;display:none}
#tab-basket .item-tab.active {
    display: block;
} 
#tab-basket .thumbnail  {border:0}
/******/
#prv-basket, #side-basket, #prv-basket .section {
    border-radius: 5px;
    -webkit-border-radius: 5px;
   
    margin-top: 30px;
    padding: 15px;
    font-family: 'IRANSans_Bold';
}
#side-basket p .subj {font-family:'IRANSans_Bold'}
#side-basket .item {margin-bottom:13px;}
#side-basket .item .btn-cmd {
    display: block;
    margin-top: 15px;
    text-align: center;
    width: 100%;
    color: #fff;
    background-color: #e32119;
    border: 0;
    padding: 5px 20px;
    color: #fff;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    cursor: pointer;
}
.bs-example-modal-md, #add-new-address {
    direction: rtl;
    max-width: 90%;
    max-height: 90%;
    
}