/*------------ news-text ------------*/

.news-text-list {
    margin: 0 0 50px;
}

.news-text-list li {
    padding: 15px 0;
    border-bottom: 1px solid #D7DDE8;
    line-height: 1.6;
    letter-spacing: 1px;
    position: relative;
}

.news-text-list li:before {
    content: '';
    width: 0%;
    height: 1px;
    position: absolute;
    bottom: -1px;
    background: #f0b02e;
    left: 0;
    transition: all .5s ease-out;
}

.news-text-list li:hover:before {
    width: 100%;
}

.news-text-list .date {
    color: #3197ce;
    margin: 0 20px 0 0;
    display: inline-block;
    font-family: 'Open Sans';
}

.news-text-list li:hover .name {
    color: #000;
}

.news-text-list .name {
    display: inline-block;
    vertical-align: middle;
    height: 20px;
    font-size: 15px;
    color: #292929;
    width: calc(100% - 100px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-text-list li:after {
    content: "\e1020";
    color: #9c9c9c;
    font-size: 18px;
    display: block;
    position: absolute;
    transform: scale(0.7);
    right: 20px;
    margin: -20px 0 0 0;
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border: 1px solid #9c9c9c;
    padding: 5px;
    border-radius: 50%;
    transition: all .3s ease-out;
}

.news-text-list li:hover:after {
    background: #f0b02e;
    color: #fff;
    border-color: #f0b02e;
    right: 10px;
}

/*------------ news ------------*/

.news-list {
    margin: 0px;
}

.news-list li {
    width: 25%;
    position: relative;
    text-align: center;
}

.news-list li:nth-child(4n+1) {
    clear: left;
}

.news-list li .box {
    margin: 10px 15px 30px;
    transition: all .3s ease;
}

.news-list li .box:hover {
    margin: 0px 15px 40px;
}

.news-list li .pic {
    position: relative;
    box-sizing: border-box;
}
.news-list li .pic img{
    width:100%;
}
.news-list li .pic:before,
.news-list li .pic .cover {
    content: "";
    transition: all .2s;
    position: absolute;
    opacity: 0;
}

.news-list li .pic:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 99, 157, 0.8);
}

.news-list .pic .cover {
    font-size: 15px;
    color: #FFFFFF;
    line-height: 1.45;
    text-align: center;
    max-width: 160px;
    width: 100%;
    left: 50%;
    top: 0;
    max-height: 40px;
    overflow: hidden;
    margin: -20px 0 0 -80px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

}


.news-list .box:hover .pic:before,
.news-list .box:hover .pic .cover {
    transition: all .2s;
    opacity: 1;
}

.news-list .box:hover .pic .cover {
    top: 50%;
}

.news-list li .text {
    padding: 5px 10px 20px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
    transform: translateY(0px);
    transition: box-shadow 0.35s, transform 0.35s ease-out;
}

.news-list li .date {
    text-align: left;
    position: relative;
    display: block;
    margin: 5px 7px 0;
    color: #009BDC;
    font-family: 'Open Sans';
    font-weight: bold;
}

.news-list li .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
    color: #111;
    font-size: 15px;
    height: 18px;
    margin: 0;
    font-weight: bold;
}

.news-list .box:hover .text {
    border-color: none;
    box-shadow: 0px 1px 23px 0px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.35s, transform 0.35s ease-out;
}

/*------------ detail-main ------------*/

.news-detail {
    margin: auto;
}

.news-date {
    font-size: 20px;
    color: #7D8BC4;
    line-height: 1.2;
    display: block;
    text-align: center;
    letter-spacing: 3px;
    padding: 9px 0 5px;
    margin: 0 0 7px;
    border-bottom: 1px solid #E0E4ED;
    position: relative;
}

.news-date:after {
    content: "";
    width: 100%;
    display: block;
    position: absolute;
    top: 100%;
    height: 5px;
    background: url('../../images/common/news/shadow.png') no-repeat center top;
}

.news-date span {
    display: block;
}

.news-title {
    border: 1px solid #E0E4ED;
    margin: 0 0 25px;
    line-height: 1.6;
    font-size: 17px;
    color: #6C6C6C;
    padding: 5px 30px;
    position: relative;
}

.news-title:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 0;
    margin-top: -20px;
    border-style: solid;
    border-width: 21.5px 0 21.5px 16px;
    border-color: transparent transparent transparent #EEEEEE;
}
.news-detail .pic{
    margin-bottom:30px;
}
}
.gallery {
    margin: 0 0 40px;
}

.gallery a {
    outline: 0;
    position: relative;
}

.gallery .slider {
    float: left;
    width: 83.5%;
}

.gallery .slider {
    border: 1px solid #E0E4ED;
    display: inline-block;
}

.gallery .thumbnails {
    float: right;
    width: 12%;
}

.gallery .thumbnails li+li {
    margin: 10px 0 0;
}

.gallery .thumbnails a:before,
.gallery .thumbnails a:after {
    content: "";
    position: absolute;
    display: block;
    transition: all .2s;
    opacity: 0;
}

.gallery .thumbnails a:before {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../images/common/bg/bg03.png');
    z-index: 0;
}

.gallery .thumbnails a:after {
    content: "\e930";
    color: #A2A2A2;
    font-size: 13px;
    background: #fff;
    display: block;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    line-height: 29px;
    position: absolute;
    text-align: center;
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -15px;
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: bold;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    z-index: 15;
}

.gallery .thumbnails .active a:before,
.gallery .thumbnails .active a:after,
.gallery .thumbnails a:hover:before,
.gallery .thumbnails a:hover:after {
    transition: all .2s;
    opacity: 1;
}


/*------------ rwd ------------*/

@media screen and (max-width: 1400px) {
    .news-list {
        margin: 0 -15px;
    }

    .news-list li {
        padding: 0 15px 50px;
    }
}

@media screen and (max-width: 1024px) {
    .news-list li {
        width: calc((100% / 3) - 0.1px);
        padding-bottom: 25px;
    }

    .news-list li:nth-child(4n+1) {
        clear: none;
    }

    .news-list li:nth-child(3n+1) {
        clear: left;
    }

    .news-date span {
        display: inline-block;
        margin: 0 0 0 10px;
    }

    .gallery .slider,
    .gallery .thumbnails {
        float: none;
        width: 100%;
    }

    .gallery .thumbnails ul {
        margin: 0 -5px;
    }

    .gallery .thumbnails li {
        width: calc(100% / 6);
        padding: 0 5px;
    }

    .gallery .thumbnails li+li {
        margin: 0;
    }
    .news-list li .box{
        margin: 10px 0 0px;
    }
    .news-list li .box:hover {
        margin: 0px 0px 10px;
}
}

@media screen and (max-width: 767px) {
    .news-list li {
        width: 50%;
    }

    .news-list li:nth-child(3n+1) {
        clear: none;
    }

    .news-list li:nth-child(2n+1) {
        clear: left;
    }

    .gallery .thumbnails li {
        padding: 0 5px 10px;
        width: calc((100% / 3) - 0.1px);
    }
    .news-list li .date{
        font-size:13px;
        margin:5px 2px 0;
    }
}

@media screen and (max-width: 480px) {
    .news-list {
        margin: 0;
    }

    .news-list li {
        width: 100%;
        padding: 0 0 50px;
    }

    .news-text-list .name {
        display: block;
        width: auto;
    }
}