
.news-list {
    margin: 0 -10px;
}

.news-list .item {
    width: 25%;
    padding: 0 10px;
}

.news-list .item a {
    margin: 0 auto 50px;
}

.news-list .item .pic {
    border: 3px solid #EBEBEB;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.news-list .item a:hover .pic {
    border: 3px solid #E40011;
}

.news-list .item:nth-child(4n+1) {
    clear: left;
}

.news-list .date {
    color: #E40011;
    font-size: 15px;
    font-weight: bold;
    margin-top: 5px;
    display: block;
}

.news-list .name {
    display: block;
    color: #3E3F45;
    font-size: 18px;
    
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.news-list .description {
    line-height: 1.4;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.news-detail .title {
    text-align: center;
    color: #3E3F45;
    font-size: 20px;
    line-height: 1.7;
    border-bottom: 1px dotted #ccc;
    margin: 0 -10px 20px;
    padding: 0 10px 10px;
}
.news-detail .date {
    display: block;
    text-align: center;
    color: #E40011;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.search-box-n {
    position: relative;
    width: 261px;
    box-sizing: border-box;
    margin: 10px auto;
    margin-top: 20px;
    margin-right: 0;
    margin-bottom: 20px;
}
.search-box-n .form-control {
    height: 30px;
    line-height: 28px;
    margin: 0;
    padding: 0 42px 0 12px;
    border-radius: 0px;
}
.search-box-n .form-control:focus {
    outline: none;
}
.search-box-n  .ibtn.search{
    width: 30px;
    height: 30px;
    position: absolute;
    right: 0px;
    top: 0;
    z-index: 0;
    background: #E40011;
    text-indent: unset;
    transition: all .3s ease;
    font-size: 0;
    text-align: center;
}
.search-box-n  .ibtn.search i{
    font-size: 18px;
    color: #FFF;
}
.search-box-n  .ibtn.search:hover{
    background: #A30410;
}


@media screen and (max-width: 950px) {
    .news-list .item {
        width: 25%;
    }
    .news-list .item:nth-child(4n+1) {
        clear: left;
    }
}

@media screen and (max-width: 767px) {
    .search-box-n {
        width: 100%;
    }
}

@media screen and (max-width: 560px) {
    .news-list .item {
        width: 50%;
    }
    .news-list .item:nth-child(3n+1) {
        clear: unset;
    }
    .news-list .item:nth-child(2n+1) {
        clear: left;
    }
}
@media screen and (max-width: 400px) {
    .news-list .item {
        width: auto;
        float: none;
    }
    .news-list .item:nth-child(2n+1) {
        clear: unset;
    }
    .news-list .item:nth-child(n) {
        clear: left;
    }
    .news-list .item a {
        max-width: 240px;
    }
}
/* 20210120 客戶追加 */
.news-edit{
    position: relative;
    padding: 15px 10px;
    margin-bottom: 30px;
}