/*通用样式*/
: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: 150px 0 110px 0;
}

.middle-two .up {
    color: #666666;
    font-size: 18px;
    line-height: 32px;
    font-weight: 300;
}

.middle-two .mid {
    margin-top: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.middle-two .mid>div:nth-of-type(1) {
    max-width: 380px;
    font-size: 42px;
    line-height: 52px;
    color: var(--public-color);
    font-weight: 400;
}

.middle-two .mid>div:nth-of-type(2) {
    width: calc(100% - 380px);
    height: 4px;
    background: var(--public-color);
}

.middle-two .down {
    margin-top: 70px;
}

.middle-two .down .col-md-6 p {
    line-height: 60px;
    color: #666666;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    padding-left: 45px;
}

.middle-two .down .col-md-6 p::before {
    position: absolute;
    content: "\f00c";
    font-family: "CmsFont";
    color: #fff;
    font-size: 18px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    background: var(--public-color);
    top: 50%;
    left: 0;
    text-align: center;
    transform: translateY(-50%);
}

/* middle-three */
.middle-three {
    padding: 110px 0 190px 0;
    background: url("../../images/qt01.webp") no-repeat;
    background-size: cover;
}

.middle-three .container-xl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.middle-three .container-xl .text {
    width: 50%;
}

.middle-three .container-xl .text .t1 {
    font-size: 36px;
    line-height: 52px;
    color: var(--public-color);
    font-weight: 400;
}

.middle-three .container-xl .text .t2 {
    margin-top: 40px;
    font-size: 18px;
    line-height: 32px;
    font-weight: 300;
    color: #666666;
}

.middle-three .container-xl .text .t2 p.qt {
    color: #333333;
    font-weight: 700;
}

.middle-three .container-xl .image {
    width: 50%;
}

.middle-three .container-xl .image img {
    position: relative;
    right: -130px;
}

@media (max-width: 1790px) {
    .middle-three .container-xl .image img {
        right: 0;
    }
}

/* middle-four */
.middle-four {
    padding-bottom: 60px;
    background: #fff;
}

.middle-four .container-xl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.middle-four .container-xl .text {
    width: 50%;
    margin-top: -60px;
}

.middle-four .container-xl .text .t1 {
    font-size: 36px;
    line-height: 52px;
    color: var(--public-color);
    font-weight: 400;
}

.middle-four .container-xl .text .t2 {
    margin-top: 40px;
    font-size: 18px;
    line-height: 32px;
    font-weight: 300;
    color: #666666;
}

.middle-four .container-xl .text .t2 p.qt {
    color: #333333;
    font-weight: 700;
}

.middle-four .container-xl .image {
    width: 41%;
}

.middle-four .container-xl .image img {
    position: relative;
    top: -100px;
}

@media (max-width: 767px) {
    .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 .mid{margin-top: 15px;}
    .middle-two .down{margin-top: 15px;}
    .middle-two .down .col-md-6{margin-bottom: 15px;}
    .middle-two .down .col-md-6 p{padding-left: 35px;}
    .middle-three{padding: 30px 0 30px 0;}
    .middle-three .container-xl .text{width: 100%;margin-top: 15px;order: 2;}
    .middle-three .container-xl .image{width: 100%;order: 1;}
    .middle-three .container-xl .text .t2,.middle-four .container-xl .text .t2{margin-top: 15px;}
    .middle-four{padding-bottom: 30px;}
    .middle-four .container-xl .image{width: 100%;}
    .middle-four .container-xl .text{width: 100%;margin-top: 15px;}
    .middle-four .container-xl .image img{top: 0;}
}