
body{
    background:#f5f5f5;
}

.block1{
    padding:10px;
}

/* 横幅 */
.adSlider{
	position: relative;
	overflow: hidden;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
}
.adSlider a{
    display: block;
}
.adSlider .img{
	display:block;
	margin:0 auto;
    width: 100%;
}
.adSlider-pagination-center{
	text-align:center;
	position: absolute;
    bottom: 8px;
	width:100%;
	z-index:10;
}
.adSlider-pagination .swiper-pagination-bullet {
    border-radius: 0;
    opacity: 1;
    margin: 0 5px;
	height: 10px;
    width:10px;
	border-radius:10px;
    background-color: #000;
    opacity: 0.3;
	-webkit-transition: all .3s;-moz-transition: all .3s;-o-transition: all .3s;transition: all .3s;
}
.adSlider-pagination .swiper-pagination-bullet-active{
    opacity:0.9;
}



/* 主按钮区 */
.entrys {
    margin: 0 10px;
    display: flex;
    flex-direction: row;
    background-color: #fff;
    margin-bottom: 5px;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 5px;
}

.entrys .group {
    flex: 1;
    display: flex;
    justify-content: center;
}

.entrys .group .item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    border-radius: 3px;
    padding:6px 0;
}

.entrys .group .item:last-of-type {
    margin-right: 0;
}

.entrys .group .item .label {
    color: #333;
    font-size: 14px;
}

.entrys .group .item .iconfont {
    font-size: 30px;
}

.entrys .group .item:nth-of-type(1) {
    color: #e96e61;
    background-color: #faeaef;
}

.entrys .group .item:nth-of-type(2) {
    color: #ef904d;
    background-color: #fef4ec;
}

.entrys .group .item:nth-of-type(3) {
    color: #59b8ae;
    background-color: #dcf4ee;
}

.entrys .group .item:nth-of-type(4) {
    color: #6681f7;
    background-color: #e7ebfe;
}


.link {
    margin: 5px;
}
.link .main{
    display: flex;
}
.link  .main a {
    width:100%;
    text-align: center;
    background: #faece7;
    color: #f44336;
    padding: 10px;
    border-radius: 5px;
    margin:5px;
}
.link  .main a .t1{
    font-size:18px;
    font-weight:bold;
}
.link  .main a .t2{
    font-size:14px;
    color: #9e9e9e;
}


.search_bar {
    margin:5px 10px;
}

.search_bar .filter {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #fff;
    border: 1px solid #ececec;
    border-radius: 80px;
    padding: 5px;
}

.search_bar .filter .fake_input {
    width: 100%;
    height: 36px;
    line-height: 36px;
    text-align: center;
    color: #999;
    box-sizing: border-box;
    font-size: 15px;
}

.search_bar .filter .iconfont {
    width: 80px;
    height: 36px;
    color: #fff;
    background-color: #e84027;
    font-size: 20px;
    font-weight: bold;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 公共区块标题 */
.block_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #fff;
}

.block_header .title {
    position: relative;
    font-size: 18px;
    font-weight: bold;
    color: #4d4d4d;
}

.block_header .title .text {
    position: relative;
    z-index: 2;
}

.block_header .title .decoration {
    position: absolute;
    left: 0;
    bottom:-2px;
    z-index: 1;
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background-color: #dcf4ee;
}

.block_header .more {
    font-size: 14px;
    line-height: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

.block_header .more .iconfont {
    font-size: 14px;
    line-height: 14px;
}


/* 色卡推荐 */
.scard {
    background-color: #fff;
    margin:10px 0;
    overflow: hidden; 
}
.scard .content{
    display: flex;
    overflow: auto;
    padding-bottom: 10px;
    margin:0 5px 10px 5px;
    margin-bottom: -5px;
}
.scard .content .item{
    margin:5px;
    width:35%;
    flex-shrink: 0;
}

/* 色卡卡片 */
.card{
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    overflow: hidden;
}
.card .img{
    margin-bottom: 5px;
}
.card .img img{
    display: block;
    width:100%;
}
.card .title{
    text-align: center;
    font-weight: 700;
}
.card .zs{
    text-align: center;
    font-size: 12px;
    word-break:break-all;
    display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin:4px;
}
.card .cf{
    border-top:1px dashed #e5e5e5;
    text-align: center;
    color: #666;
    font-size: 12px;
     word-break:break-all;
    display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin:4px;
    padding-top:4px;
    box-sizing: border-box;
}


/* 产品推荐 */
.goods {
    background-color: #fff;
    margin:10px 0 0 0;
    overflow: hidden; 
}
.goods .content{
    padding:5px;
    display: flex;
    flex-wrap: wrap;
}
.goods .content .item{
    width:50%;
}

/* 纱线卡片 */
.yarn{
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    overflow: hidden;
    margin:5px;
}
.yarn .img{
    margin-bottom: 5px;
}
.yarn .img img{
    display: block;
    width:100%;
}
.yarn .title{
    text-align: center;
    font-weight: 700;
}
.yarn .zs{
    text-align: center;
    font-size: 12px;
    word-break:break-all;
    display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin:4px;
}
.yarn .cf{
    border-top:1px dashed #e5e5e5;
    text-align: center;
    color: #666;
    font-size: 12px;
     word-break:break-all;
    display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin:4px;
    padding-top:4px;
    box-sizing: border-box;
}

/* 走马观纱 */
.glance {
    background-color: #fff;
}
.glance .content{
    margin:5px;
    overflow: auto;
    box-sizing: border-box;
}
.glance .content .row{
    display: flex;
}
.glance .content .item{
    height: 80px;
    background-color: #eee;
}
.glance .content .item a{
    display: block;
}
.glance .content .item a img{
    display: block;
    max-height: 80px;
}

