@import "./common.css";

.banner {
    height: 480px;
    background-image: url("../image/media/banner.jpg");
    position: relative;
    background-position: center top;
    color: #fff;
    background-color: #091315;
}

.banner .banner-title {
	font-weight: bold;
	position: absolute;
	top: 219px;
	font-size: 40px;
	padding-left: 30px;
}
.banner .banner-title::before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 10px;
	height: 100px;
	background-color: var(--primary-color);
}
.banner .banner-text {
	position: absolute;
    top: 290px;
	font-size: 24px;
	padding-left: 30px;
}

.mg-auto2{
    width: 1180px;
    padding-top: 50px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.grey {
	background: #f2f6fa;
}
.cont {
    display: flex;
    margin-top: 120px;
    margin-bottom: 110px;
    cursor: pointer;
}

.cont-1-right {
    flex: 1;
    flex-basis: 655px;
}

.cont-slide {
    /* flex: 1;
    flex-basis: 525px; */
    width: 525px;
    overflow: hidden;
    position: relative;
}

.cont-slide-inner {
    position: absolute;
    width: 300%;
    height: 100%;
    transition: margin-left .5s;
}

.cont-slide img {
    object-fit: cover;
    width: 525px;
    height: 100%;
    float: left;
}

.cont-title {
    font-weight: 600;
    line-height: 46px;
    margin-bottom: 30px;
    font-size: 32px;
    padding-left: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: left;
    width: 655px;
}

.cont-text {
    height: 84px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


.cont-box {
    background: #F8F9FB;
    color: #828496;
    padding: 50px 80px;
    line-height: 28px;
    height: 244px;
    width: 655px;
}

.cont-box-bot {
    margin-top: 30px;
    color: #00031F;
    display: flex;
    justify-content: space-between;
}

.cont-box-bot .icongengduo {
    margin-left: 2px;
}

.cont-box-bot .dot {
    width: 3px;
    height: 3px;
    display: inline-block;
    background: #C5C6CF;
    vertical-align: 4px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 50%;
}

.cont-box-bot .dot.active {
    background: #00031F;
}

.news-left-arrow {
    color: #7D849C;
    font-size: 12px;
    cursor: pointer;
    margin-right: 12px;
}

.news-right-arrow {
    color: #7D849C;
    font-size: 12px;
    cursor: pointer;
    margin-left: 12px;
}

.media-title {
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 47px;
    width: 100%;
}

.media-cont {
    display: flex;
    width: 1180px;
    flex-wrap: wrap;
}

.media-item {
    width: 380px;
    cursor: pointer;
    margin-bottom: 30px;
}

.media-item.mr20 {
    margin-right: 20px;
}

.media-item-img {
    width: 100%;
    height: 214px;
    background-position: center;
    background-size: contain;
}

.media-item-cont {
    background: #F8F9FB;
    padding: 30px 24px 24px;
    color: #828496;
    height: 228px;
    line-height: 24px;
    position: relative;
    overflow: hidden;
}

.media-item-cont:before {
    position: absolute;
    content: '';
    width: 4px;
    background: #4E5DE8;
    left: 0;
    top: 446px;
    height: 100%;
    transition: top .2s;
}

.media-item:hover .media-item-cont:before {
    top: 0;
}

.media-cont-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 10px;
    color: #00031F;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    text-align: left;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}

.media-cont-text {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.media-cont-time {
    position: absolute;
    left: 24px;
    bottom: 24px;
    font-size: 14px;
    color: #0C0B22;
    line-height: 18px;
}

.media-btn {
    font-size: 16px;
    cursor: pointer;
    display: block;
    margin: 40px auto 80px;
    border: 0;
    width: 380px;
    height: 48px;
    color: #fff;
    background: var(--primary-color);
    transition: box-shadow .3s;
    border-radius:0;
}

.media-btn:hover {
    box-shadow: 0 8px 16px 0 rgba(78, 93, 232, 0.4);
}

.img1 {
    background-image: url("../image/media/news-1.png");
}

.img2 {
    background-image: url("../image/media/news-2.jpg");
}

.img3 {
    background-image: url("../image/media/news-3.png");
}

.img4 {
    background-image: url("../image/media/news-4.jpeg");
}

.img5 {
    background-image: url("../image/media/news-5.jpg");
}

.img6 {
    background-image: url("../image/media/news-6.png");
}

.img7 {
    background-image: url("../image/media/news-7.png");
}

.img8 {
    background-image: url("../image/media/news-8.png");
}

.img9 {
    background-image: url("../image/media/news-9.jpg");
}

.img10 {
    background-image: url("../image/media/news-10.png");
}

.img11 {
    background-image: url("../image/news/news-15.png");
}
.img12 {
    background-image: url("../image/news/news-12-1.png");
}
.img13 {
    background-image: url("../image/news/news-13-0.png");
}
.img14 {
    background-image: url("../image/news/news-14-1.png");
}
.media-cont-hide {
    display: none;
}

.media-cont-hide.active {
    display: flex;
}
