/********卡片组**********/
.comp-tabGrid{

}
.comp-tabGrid .tab-body {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
}

/*左侧大图*/
.comp-tabGrid .big-img {
    padding: 0;
    height: 560px; /*560px*/
    width: 280px; /*要固定宽度，否则图片“网络慢还没有加载出来”之前，右边的list会到左边来*/
    display: flex;
    justify-content: center;
}
.comp-tabGrid .big-img img {
    width: auto;
    height: 100%;
    display: none;/*不显示*/
    transition: opacity .15s linear; /*效果*/
    opacity: 0;/*透明*/
}
.comp-tabGrid .big-img .on {
    display: block;
}
.comp-tabGrid .big-img .fadein {
    opacity: 1; /*必须先block后，过15ms后在执行opacity=1，才会有动画效果*/
}
/*end*/

/*****右侧图标集*****/
.comp-tabGrid .items {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-left: 50px;
    padding-top: 10px;
    padding-bottom: 10px; /*上下空点，使小图标上下之间更紧凑点，左边大图往上超出了没关系*/
    width: 850px; /**/
    height: 560px;
    align-items: stretch; /*总高度560px，然后铺满*/
}

.comp-tabGrid .item {  
    padding: 10px;
}

.comp-tabGrid .item .item-wrap {
    display: flex;
    flex-direction: column;
    justify-content:flex-start;/*上对齐，图标离上面的高度保持一致，兼容下面1、2行文字的情况*/
    align-items: center;
    padding: 40px 20px 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    height: 100%;
} 

.comp-tabGrid .item .icon1 {
    width: auto;
    max-width: 80px;
    display: block;
}

.comp-tabGrid .item .icon2 {
    width: auto;
    max-width: 80px;
    display: none;
}

.comp-tabGrid .item h2 {
    font-size: 16px;
    color: #333;
    margin-top: 15px;
}

.comp-tabGrid .item .text {
    font-size: 14px;
    line-height: 20px;
    color: #888888;
    margin-top: 12px;
}
/*****end*****/


/*3列、4列，以及总数为9个的特需处理*/ 
.comp-tabGrid .items-3 .item {
    width: 33.33%; 
}

.comp-tabGrid .items-4 .item {
    width: 25%;    
}
.comp-tabGrid .items-count-8 .item .icon1,
.comp-tabGrid .items-count-8 .item .icon2
 {
    width: 65px;
}
.comp-tabGrid .items-count-9 .item .icon1,
.comp-tabGrid .items-count-9 .item .icon2,
.comp-tabGrid .items-count-12 .item .icon1,
.comp-tabGrid .items-count-12 .item .icon2 {
    width: 45px;
}
.comp-tabGrid .items-count-9 .item .item-wrap,
.comp-tabGrid .items-count-12 .item .item-wrap {
    padding-top: 15px;
}
/*end*/

 

/*on相关*/
.comp-tabGrid .item.on .item-wrap {
    background: linear-gradient(to bottom, #fd8e8e, #fd4146);
}
.comp-tabGrid .item.on .icon1 {
    display: none;
}

.comp-tabGrid .item.on .icon2 {
    display: block;
}
.comp-tabGrid .item.on h2,
.comp-tabGrid .item.on .text {
    color: #fff;
} 
/*end*/
