﻿.container-ad {
    margin: 10px;
}

.container-ad .link,
.container-ad .link .img {
    display: block;
    width: 100%;
}

.side-bar {
    position: fixed;
    top: 0;
    right: 0;
    width: 95%;
    height: 100%;
    background: #fff;
    z-index: 121;
    -webkit-transform: translate3d(100%, 0, 0);
    -moz-transform: translate3d(100%, 0, 0);
    -ms-transform: translate3d(100%, 0, 0);
    -o-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
}

.side-bar.active {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    box-shadow: -6px 0 30px 2px #8c8a8a;
}

.side-bar .top-bar .btn-back {
    display: inline-block;
    padding: 15px;
}

.side-bar .top-bar .btn-back .icon {
    width: 14px;
    height: 14px;
}

.side-bar .top-bar .title {
    display: inline-block;
    font-size: 16px;
    vertical-align: middle;
}

.container-filter {
    height: 100%;
    overflow-y: auto;
    background: #eee;
    padding: 1px 0 80px;
}

.container-filter .selected {
    margin-bottom: 10px;
    background: #fff;
    padding: 10px;
}

.container-filter .selected .item {
    display: block;
    /* background: #eee; */
    padding: 5px;
}

.container-filter .selected .item .selection {
    display: inline-block;
    margin: 0 0 1px;
    padding: 3px 5px;
    color: #fff;
    border-radius: 4px;
}

.container-filter .selected .item .inset-input {
    border: none;
    background: transparent;
    padding: 0 5px;
}

.container-filter .condition {
    padding: 10px;
    margin-bottom: 10px;
}

.container-filter .selected .name,
.container-filter .condition .name {
    display: block;
    line-height: 28px;
    height: 28px;
    font-size: 14px;
    margin: 0 0 10px 0;
}

.container-filter .condition .name .icon {
    float: right;
    position: static;
    width: 10px;
    height: 28px;
}

.container-filter .condition.active .name .on,
.container-filter .condition .name .off {
    display: block;
}

.container-filter .condition .name .on,
.container-filter .condition.active .name .off {
    display: none;
}

.container-filter .condition .list {
    height: 30px;
    overflow: hidden;
}

.container-filter .condition .fill .item {
    display: inline-block;
    max-width: 45%;
}

.container-filter .condition .fill .item.block {
    display: block;
}

.container-filter .condition .fill .item .input {
    background: #eee;
    border: none;
    padding: 5px 0;
    text-indent: 5px;
    border-radius: 4px;
}

.container-filter .condition .fill .item.block .input {
    width: 100%;
    padding: 10px 5px;
}

.container-filter .condition.active .list {
    height: auto;
}

.container-filter .condition .list .item {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 4px;
    line-height: 28px;
    height: 28px;
    width: 29%;
    margin: 0 3% 10px 0;
    text-align: center;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.container-filter .condition .list .item:not(.current) {
    background: #f2f2f2;
}

.container-filter .condition .list .item:not(.current) .link {
    color: #333;
}

.control-bar {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    display: flex;
}

.control-bar .item {
    flex: 1;
}

.control-bar .item .btn {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
}

.TypeList {
    width: 100%;
}

.TypeList li.loading {
    width: 100%;
    text-align: center;
    background: none;
    border: none;
    padding: 40% 0;
}

.TypeGrid {
    width: auto;
    margin: 10px 10px 0;
    overflow: hidden;
}

.TypeGrid > .item {
    width: 48.688525%;
    float: left;
    margin: 0 2.622951% 2.622951% 0
}

.TypeGrid.col-three > .item {
    width: 31.1%;
}

.TypeGrid .item-goods:nth-child(even) {
    margin-right: 0
}

.TypeGrid.col-three > .item,
.TypeGrid.col-three > .item:nth-child(even) {
    margin: 0 3.3% 10px 0;
}

.TypeGrid.col-three > .item:nth-child(3n) {
    margin-right: 0;
}

.layout-nine-grid {
    margin: 0 5px;
    overflow: hidden;
}

.layout-nine-grid > .item {
    float: left;
    width: 32%;
    margin: 5px 2% 1% 0;
    border-radius: 4px;
    overflow: hidden;
}

.layout-nine-grid > .item:nth-child(3n) {
    margin-right: 0;
}

.item-goods {
    position: relative;
}


.component-goods-item .out-of-num {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1) url(../images/icon-out-of-num.png) right bottom no-repeat;
    background-size: 45.8% auto;
    z-index: 1;
}

.component-goods-item .msg .tag {
    display: block;
    padding-bottom: 5px;
    overflow: hidden;
    min-height: 28px;
}

.component-goods-item .msg .tag .item {
    width: auto;
    float: left;
    margin: 5px 5px 0 0;
    vertical-align: middle;
}

.component-goods-item .msg .item-tag {
    display: inline-block;
    border-radius: 2px;
    padding: 3px;
    font-size: 10px;
    line-height: 10px;
}

.component-goods-item.component-goods-list-item .msg .attr-list {
    margin-right: 40px;
}

.component-goods-item .msg .attr-item {
    display: block;
    margin: 5px 5px 0 0;
}

.component-goods-item .msg .attr-item .attr-name,
.component-goods-item .msg .attr-item .attr-value {
    vertical-align: middle;
}

.component-goods-item .msg .container-sale .price {
    overflow: hidden;
}

.component-goods-item .msg .container-sale .item {
    display: inline-block;
    margin-right: 3px;
}

.component-goods-item .msg .container-sale .salePrice .value {
    font-size: 14px;
}

.component-goods-item .msg .container-sale .salePrice .done {
    text-decoration: line-through;
}

.component-goods-item .msg .container-sale .marketPrice {
    text-decoration: line-through;
}

.component-goods-item .msg .container-sale .control {
    position: absolute;
    bottom: 0;
    right: 0;
}

.component-goods-item .msg .container-sale .btn {
    display: inline-block;
    position: relative;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

.component-goods-item.component-9grid-item .msg .container-sale .btn {
    width: 25px;
    height: 25px;
}

.component-goods-item .msg .container-sale .btn-minus {
    width: 20px;
    height: 20px;
}

.component-goods-item .msg .container-sale .icon-minus:before {
    content: "";
}

.component-goods-item .msg .container-sale .btn-plus {
    width: auto;
    min-width: 30px;
}

.component-goods-item .msg .container-sale .btn-plus .text {
    display: block;
    border-radius: 4px;
    padding: 0 5px;
    font-size: 12px;
    font-weight: bold;
    height: 24px;
    line-height: 24px;
}

.component-goods-item .msg .container-sale .btn .sub-num {
    display: inline-block;
    right: 17px;
    top: -1px;
    width: auto;
    padding: 0 5px;
    min-width: 18px;
    border-radius: 40px;
}

.component-goods-item .msg .icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: 105% auto;
}

.page-goods-list main {
    padding-bottom: 0;
}

.page-goods-list .MainFoot {
    margin-bottom: 0;
}

@keyframes component-loading-rotate {
    100% {
        transform: rotate(360deg)
    }
}

@keyframes component-loading-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35px;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124px;
    }
}