@import "base.css";

.row1{
    position: relative;
    z-index: 2;
}
.row1 .flex{
    position: relative;
}

.row1 .flex::before{
    position: absolute;
    top:-10px;
    left:-10px;
    border-width: 115px 207px;
    border-style: solid;
    border-color: transparent;
    border-top-color: #D53433;
    border-left-color: #D53433;
    content: '';
}

.row1 .flex::after{
    position: absolute;
    bottom:-10px;
    right:-10px;
    border-width: 71px;
    border-style: solid;
    border-color: transparent;
    border-right-color: #000000;
    border-bottom-color: #000000;
    content: '';
}

.row1 .l,
.row1 .r{
    width: 50%;
    height: 428px;
    position: relative;
    z-index: 2;
    background-color: #ffffff;
}

.row1 .r{
    background-color: #D53433;
}

.row1 .r .info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 0 3rem;
}

.row1 .r .info h1{
    margin: 0;
    color:#ffffff;
    font-size: 36px;
    letter-spacing: 3px;
}

.row1 .r .info h2{
    margin: 1.5rem 0;
    color:#400000;
    font-size: 43px;
    padding: 1rem 0;
    border-top: 2px solid rgba(0,0,0,0.2);
    border-bottom: 2px solid rgba(0,0,0,0.2);
}

.row1 .r .info div{
    color:#ffffff;
    line-height: 1.6;
}

.row2 {
    background-color: #F3F3F3;
    position: relative;
    z-index: 1;
}

.row2::before{
    position: absolute;
    top: -200px;
    left:0;
    width: 100%;
    height: 200px;
    content: "";
    background: linear-gradient(to bottom left, transparent 0%, transparent 50%, #F3F3F3 50%, #F3F3F3 100%);
    z-index: 1;
}

.row2 .widget{
    position: relative;
    z-index: 2;
}

.row2 .widget-header .title{
    text-align: center;
    line-height: 1;
    font-size: 34px;
    font-weight: bold;
    color:#000000;
}

.row2 .widget-header ul{
    display: flex;
    list-style: none;
    margin: 2rem -5px 1rem -5px;
    padding: 0;
}

.row2 .widget-header ul li{
    padding: 0 5px;
    flex: 1;
}

.row2 .widget-header ul li a{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    color:#ffffff;
    background-color: #0B6ADE;
    border-radius: 4px;
}

.row2 .widget-header ul li a:hover{
    background-color: #D53433;
}

.row2 .widget-body{
    padding-bottom: 4rem;
    overflow: hidden;
}

.row2 .widget-body ul{
    list-style: none;
    margin: 0 -1rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.row2 .widget-body ul li{
    padding: 0 1rem;
    width: 33.3333%;
    margin-top: 1rem;
}

.row2 .widget-body ul li a{
    display: block;
    position: relative;
}

.row2 .widget-body ul li a .info{
    position: relative;
    z-index: 1;
}

.row2 .widget-body ul li a .info .img{
    padding-bottom: 75%;
    position: relative;
}

.row2 .widget-body ul li a .info .img .block{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.row2 .widget-body ul li a .info .img .block img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.row2 .widget-body ul li a .info .title{
    display: flex;
    height: 30px;
    font-size: 15px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}

.row2 .widget-body ul li a .active{
    position: absolute;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: rgba(213,52,51,0.9);
    transition: all 0.4s ease 0s;
    transform: perspective(100px) rotateX(40deg);
    transform-origin: center bottom 0;
    z-index: 2;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.row2 .widget-body ul li a:hover .active{
    transform: perspective(100px) rotateX(0deg);
    opacity: 1;
}

.row2 .widget-body ul li a .active .title{
    color:#ffffff;
    font-size: 18px;
}

.row2 .widget-body ul li a .active .more{
    color:#ffffff;
    margin-top: 3rem;
    padding: 0.5rem 1rem;
    border: 1px solid #ffffff;
    border-radius: 4px;
}

.row3 .widget-header .title{
    padding: 1rem 0 2rem;
    font-size: 34px;
    color:#111111;
    text-align: center;
}

.row3 .widget-body{
    background: url(../img/c3.jpg) center top no-repeat;
    position: relative;
    height: 588px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.row3 .widget-body::before{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.7;
    z-index: 1;
    content: '';
}

.row3 .widget-body::after{
    position: absolute;
    right:0;
    bottom:0;
    width: 910px;
    height: 536px;
    background: url(../img/c4.png) 0 0 no-repeat;
    z-index: 2;
    content: "";
}

.row3 .widget-body .wrap{
    padding: 4rem 22rem 4rem 0;
    color:#ffffff;
    position: relative;
    z-index: 3;
}

.row3 .widget-body .wrap h1{
    position: relative;
    margin-top: 0;
    padding-left: 2rem;
    font-size: 40px;
}

.row3 .widget-body .wrap h1::before{
    position: absolute;
    top: 0;
    bottom:0;
    left: 0;
    width: 5px;
    content: "";
    background-color: #D53433;
}

.row3 .widget-body .wrap .info{
    line-height: 2em;
    margin-bottom: 2rem;
}

.row3 .widget-body .wrap .btn a{
    display: flex;
    align-items: center;
    width: 260px;
    height: 53px;
    border-radius: 5px;
    color:#ffffff;
    background-color: #D53433;
    transition: all 0.3s ease;
    padding: 0 0 0 6rem;
}

.row3 .widget-body .wrap .btn a img{
    width: 16px;
    margin-left: 1rem;
}

.row3 .widget-body .wrap .btn a:hover{
    justify-content: flex-start;
    padding-left: 4rem;
}

.row4 .widget-header .title {
    padding: 1rem 0 1rem;
    font-size: 34px;
    color: #111111;
    text-align: center;
}

.row4 .widget-header .sub-title{
    text-align: center;
    padding-bottom: 2rem;
    color:#777777;
}

.row4 .widget-body .flex{
    margin: 0 -1rem;
}

.row4 .widget-body .flex .l,
.row4 .widget-body .flex .r{
    width: 50%;
    padding: 0 1rem;
}

.row4 .widget-body .pic-news{
    overflow: hidden;
}

.row4 .widget-body .pic-news ul{
    list-style: none;
    margin: 0 -0.5rem;
    padding: 0;
    display: flex;
}

.row4 .widget-body .pic-news ul li{
    width: 50%;
    padding: 0 0.5rem;
}

.row4 .widget-body .pic-news ul li a{
    display: block;
}

.row4 .widget-body .pic-news ul li a .img{
    padding-bottom: 75%;
    position: relative;
}

.row4 .widget-body .pic-news ul li a .img .block{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.row4 .widget-body .pic-news ul li a .img .block img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: all 0.2s ease-in-out;
}

.row4 .widget-body .pic-news ul li a:hover .img .block img{
    transform: scale(1.1);
}

.row4 .widget-body .pic-news ul li a .title{
    margin-top: 10px;
    background-color: #F8F8F8;
    padding: 0 15px;
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.row4 .widget-body .pic-news ul li a .title div{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.8;
    height: 3.6rem;
}

.row4 .widget-body .pic-news ul li a:hover .title{
    background-color: #D53433;
    color:#ffffff;
}

.row4 .widget-body .news-list ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.row4 .widget-body .news-list ul li{
    margin-bottom: 10px;
}

.row4 .widget-body .news-list ul li:last-child{
    margin-bottom: 0;
}

.row4 .widget-body .news-list ul li a{
    background-color: #F8F8F8;
    padding: 15px 18px 8px;
    display: flex;
    border-radius: 6px;
}

.row4 .widget-body .news-list ul li a:hover{
    background-color: #D53433;
}

.row4 .widget-body .news-list ul li a .img{
    width: 60px;
    height: 60px;
    background: url(../img/news-2.png) 0 0 no-repeat;
    margin-right: 1rem;
}

.row4 .widget-body .news-list ul li a:hover .img{
    background-position: 0 -60px;
}

.row4 .widget-body .news-list ul li a .info{
    flex: 1;
}

.row4 .widget-body .news-list ul li a .info .title{
    color:#111111;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    line-height: 1;
    margin-bottom: 10px;
    font-size: 18px;
}

.row4 .widget-body .news-list ul li a .info .detail{
    font-size: 15px;
    line-height: 1.5;
    height: 3em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: #999999;
}

.row4 .widget-body .news-list ul li a:hover .info .title,
.row4 .widget-body .news-list ul li a:hover .info .detail{
    color:#ffffff;
}

.row4 .widget-footer{
    padding: 4rem 0 3rem;
}

.row4 .widget-footer .btn a{
    margin: 0 auto;
    display: flex;
    align-items: center;
    width: 260px;
    height: 53px;
    border-radius: 5px;
    color:#ffffff;
    background-color: #D53433;
    transition: all 0.3s ease;
    padding: 0 0 0 6rem;
}

.row4 .widget-footer .btn a img{
    width: 16px;
    margin-left: 1rem;
}

.row4 .widget-footer .btn a:hover{
    justify-content: flex-start;
    padding-left: 4rem;
}

.row5 .a1{
    height: 605px;
    background: url(../img/index_1.jpg) center 0 no-repeat;
}

.row5 .a2{
    height: 532px;
    background: url(../img/index_2.jpg) center 0 no-repeat;
}

.row5 .a3{
    height: 516px;
    background: url(../img/index_3.jpg) center 0 no-repeat;
}