/* 此处的css文件是针对 main模块而设计的 */
@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?mfgl5q');
    src: url('../fonts/icomoon.eot?mfgl5q#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?mfgl5q') format('truetype'),
        url('../fonts/icomoon.woff?mfgl5q') format('woff'),
        url('../fonts/icomoon.svg?mfgl5q#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}


.main {
    width: 980px;
    height: 455px;
    /* background-color: aqua; */
    margin-left: 220px;
    margin-top: 10px;
}

.focus {
    float: left;
    width: 721px;
    height: 455px;
    background-color: bisque;
}

.newsflash {
    float: right;
    width: 250px;
    height: 455px;
    /* background-color: #ccc; */
}

.news {
    height: 165px;
    background-color: rgb(255, 255, 255);
}

.lifeservice {
    overflow: hidden;
    height: 209px;
    /* background-color: blanchedalmond; */
    border: 1px solid #e4e4e4;
    border-top: 0;
}

.lifeservice ul {
    width: 252px;
}

/* 编者按：由于下方的li样式过大，导致ul、lifeservice的宽度容纳不下，右下方向都会多出来一块，此时设置一个overflow:hidden; 过大的部分直接切掉 不影响视觉效果*/

.lifeservice ul li {
    float: left;
    width: 63px;
    height: 71px;
    border-right: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    text-align: center;
}

.lifeservice ul li i {
    margin-top: 12px;
    display: inline-block;
    width: 24px;
    height: 28px;
    /* background-color: aqua; */
    background: url(../images/icons.png)no-repeat -18px -15px;
}

.bargain {
    margin-top: 5px;
}

.newsflash .news {
    border: 1px dotted #e4e4e4;
}

.newsflash .news .hd {
    height: 35px;
    border-bottom: 1px dotted #e4e4e4;
}

.newsflash .news .hd h5 {
    float: left;
    padding-left: 15px;
    font-size: 14px;
    line-height: 35px;
}

.newsflash .news .hd .gengduo {
    padding-right: 5px;
    line-height: 35px;
    float: right;
}

.newsflash .news .hd .gengduo::after {
    content: '\e920';
    font-family: 'icomoon';
}


.newsflash .news .bd {
    padding: 5px 15px 0px;
}

.newsflash .news .bd ul li {
    height: 24px;
    line-height: 24px;
    /* 超出文字省略号表示  三个步骤 : 超出部分隐藏 文字必须一行显示 超出部分ellipsis */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.recom {
    height: 163px;
    background-color: rgb(255, 255, 255);
    margin-top: 12px;
}

.recom .recom_hd {
    float: left;
    width: 205px;
    height: 163px;
    background-color: #5c5251;
    text-align: center;
    padding-top: 30px;
}

.recom .recom_bd {

    position: relative;
    float: left;
}

.recom .recom_bd ul li {
    position: relative;
    float: left;
}

.recom .recom_bd ul li:nth-child(-n+3)::after {
    /* 注意after是行内元素 */
    display: block;
    position: absolute;
    right: 0;
    top: 10px;
    content: '';
    width: 1px;
    height: 145px;
    background-color: #ddd;
}

/* 家用电器模块 */
.floor .jiadian .firstfloor_hd {
    margin-top: 29px;
    border-bottom: 2px solid rgb(200, 22, 25);
    color: rgb(200, 22, 25);
    height: 30px;
    line-height: 21px;
}

.floor .jiadian .firstfloor_hd h3 {
    font-size: 18px;
    float: left;
    color: #c81623;
    font-weight: 400;

}

/* 下述为 标准的错误写法 热门本来在第一个回转而变成最后一个 解决方式是li 上再加浮动left
.tab_list li{
    float:right;
        line-height: 30px;
}
.tab_list li a{
    margin:15px;
}

.tab_list ul .tab_list_hot{
    color: #c81623;
} */

.tab_list {
    float: right;
    line-height: 30px;
}

.tab_list li{
    float: left;
}
.tab_list li a {
    margin: 15px;
}

.tab_list ul .tab_list_hot {
    color: #c81623;
}
.jiadian .firstfloor_bd{
    height: 361px;
    /* background-color: pink; */
}
.tab_list_tiem>div{
    float: left;
    height: 361px;
}
.col_210{
    width: 210px;
    text-align: center;
    background-color: #f9f9f9;
}
.col_210 ul li{
    width: 85px;
    height: 34px;
    border-bottom: 1px solid #ccc;
    float:left;
    text-align: center;
    line-height: 34px;
    padding-right:10px;
}

.col_210 ul{
    padding-left: 12px;
}

.col_329{
    width: 329px;
}
.col_221{
    width: 221px;
    border-right: #ccc 1px solid;
}

.col_219{
    width: 219px;
}
.bb{
    /* 一般情况下，a如果包含有宽度的盒子，a需要转化为块级元素 */
    display: block;
    border-bottom: #ccc 1px solid;
}