/*通用样式*/
:root {
    --public-color: #cf1f2a;
    --max: 1430px;
}

.header,
.dropdown.lang .dropdown-toggle {
    background-color: transparent;
    color: #fff;
}

.navbar-custom .navbar-nav .nav-link,
.top-search-box .search-tb i,
.dropdown.lang .dropdown-toggle:after {
    color: #fff;
}

.header.fadeInDown,
.header.fadeInDown .dropdown.lang .dropdown-toggle {
    background-color: white;
    color: #333333;
}

.header.fadeInDown .navbar-custom .navbar-nav .nav-link,
.header.fadeInDown .top-search-box .search-tb i,
.header.fadeInDown .dropdown.lang .dropdown-toggle:after {
    color: #333333;
}

.header #logo1 {
    display: none !important;
}

.header #logo2 {
    display: block !important;
}

.header.fadeInDown #logo1 {
    display: block !important;
}

.header.fadeInDown #logo2 {
    display: none !important;
}

/* middle */
/* middle-one */
.middle-one {
    min-height: 500px;
    display: flex;
    align-items: flex-end;
}

.middle-one .container-xl>div:nth-child(1) {
    margin-bottom: 155px;
}

.middle-one .container-xl>div:nth-child(1) h1 {
    font-size: 64px;
    line-height: 72px;
    color: #fff;
    font-weight: 400;
}

/* middle-two */
.middle-two {
    padding: 110px 0 100px 0;
    background: #f8f8f8;
}

.middle-two .container-xl ul {
    display: flex;
}

.middle-two .container-xl ul li {
    height: 100%;
    border: 2px solid var(--public-color);
    margin-left: 22px;
}
.middle-two .container-xl ul li.active{
    background: var(--public-color);
}
.middle-two .container-xl ul li a {
    line-height: 64px;
    padding: 0 20px;
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}
.middle-two .container-xl ul li.active a{
    color: #fff;
}

/* middle-three */
.middle-three {
    padding: 0 0 180px;
    background: #f8f8f8;
}

.middle-three .row .col-md-4 {
    padding-bottom: 90px;
}

.middle-three .row .col-md-4>div {
    height: 100%;
    padding: 0 20px 56px 20px;
    background: #fff;
    border-bottom: 4px solid var(--public-color);
}

.middle-three .row .col-md-4>div .image a {
    display: flex;
    width: 100%;
    justify-content: center;
}

.middle-three .row .col-md-4>div .t1 {
    margin-top: 30px;
    padding: 0 30px;
}

.middle-three .row .col-md-4>div .t1 a {
    font-size: 18px;
    line-height: 28px;
    color: #333333;
    font-weight: 500;
}

.middle-three .row .col-md-4>div .t2 {
    font-size: 14px;
    line-height: 24px;
    color: #666666;
    font-weight: 400;
    padding: 0 30px;
}

.middle-three .row .col-md-4>div .t3 {
    margin-top: 15px;
    font-size: 16px;
    line-height: 28px;
    color: #666666;
    font-weight: 300;
    padding: 0 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 超出部分用省略号表示 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    height: 84px;
}

.middle-three .row .col-md-4>div .t4 {
    padding: 0 30px;
    margin-top: 30px;
}

.middle-three .row .col-md-4>div .t4 a {
    font-size: 16px;
    line-height: 32px;
    color: var(--public-color);
    text-transform: uppercase;
    font-weight: 700;
}

@media (max-width: 768px) {
    .middle-one{min-height: 150px;}
    .middle-one .container-xl>div:nth-child(1){margin-bottom: 15px;padding-left: 16px;}
    .middle-two{padding: 30px 0 30px 0;}
    .middle-two .container-xl ul li{margin-left: 15px;}
    .middle-two .container-xl ul li a{line-height: 45px;}
    .middle-three .row .col-md-4{padding-bottom: 15px;}
    .middle-three .row .col-md-4>div{padding: 0 15px 15px 15px;}
    .middle-three .row .col-md-4>div .t1{margin-top: 15px;padding: 0;}
    .middle-three .row .col-md-4>div .t2{padding: 0;}
    .middle-three .row .col-md-4>div .t3{height: 42px;padding: 0;}
    .middle-three .row .col-md-4>div .t4{padding: 0;margin-top: 15px;}
    .middle-three{padding: 0 0 30px 0;}
}