@import url(./layout.css);

/* ==========================================================================
   common part
========================================================================== */
.pic {
    overflow: hidden;
    position: relative;
    height: auto;
    /* cursor: pointer; */
}

.bgimg {
    width: 100%;
}

.upimg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all .5s;
}

.pic:hover .upimg {
    transform: scale(1.05);
}

/* 没有放大效果 */
.upimg2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/* 居中对齐 */
.upimg3 {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 100%;
    max-height: 100%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transition: all .5s;
}

.pic:hover .upimg3 {
    transform: translate(-50%, -50%) scale(1.05);
    -webkit-transform: translate(-50%, -50%) scale(1.05);
}

.container {
    height: 100%;
}

.container img {
    max-width: 100%;
}

#globalnav .gn-link {
    color: #fff;
}

.common {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding-top: 95px;
}

.home_main {
    height: 100%;
    align-items: center;
}

@media only screen and (max-width: 920px) {
    .common {
        height: calc(100% - 48px);
        padding-top: 0;
    }
    #globalnav .gn-link {
        color: #000;
    }
}

@media only screen and (max-width: 768px) {

    .home_main,
    .common {
        height: auto;
    }

    .common {
        padding: 1rem 0;
    }
}




/* ==========================================================================
   part01
========================================================================== */
.banner_phone {
    display: none;
}

.banner {
    background: url(../images/homeBg01.jpeg) no-repeat center;
    background-size: cover;
}

.banner_box {
    box-sizing: border-box;
    width: 100%;
    padding-left: 3rem;
}

.banner_title {
    color: rgb(255, 255, 255);
    font-size: .56rem;
    font-weight: 700;
    line-height: 1;
}

.banner_info {
    max-width: 6.72rem;
    color: rgb(255, 255, 255);
    font-size: .16rem;
    font-weight: 400;
    line-height: 2;
    margin: .3rem 0 .7rem;
}

.home_ljgd {
    background-color: rgb(230, 33, 41);
    font-weight: 400;
    font-size: 12px;
    padding: 8px 19px;
    border-radius: 7px;
    color: #fff;
    transition: all .3s;
}

.home_ljgd i {
    opacity: 0;
    transition: all 0.2s ease-out;
}

.home_ljgd:hover i {
    opacity: 1;
    margin-left: 10px;
}

.home_ljgd:hover {
    background: #fff;
    color: #000;
}

@media only screen and (max-width: 1680px) {
    .banner_box {
        padding-left: 2rem;
    }

    .banner_phone {
        display: block;
    }
}

@media only screen and (max-width: 768px) {
    .banner_pc {
        display: none;
    }

    .banner_info {
        font-size: 12px;
        max-width: 100%;
    }

    .banner_box {
        padding: 0 20px;
    }
}

@media only screen and (max-width: 500px) {
    .banner_title {
        font-size: 22px;
    }

    .home_ljgd {
        padding: 4px 12px;
        border-radius: 4px;
        font-size: 10px;
    }

}










/* ==========================================================================
   part02
========================================================================== */
.part02 {
    background: url(../images/homeBg02.jpeg) no-repeat center;
    position: relative;
    background-size: cover;
}

.part02::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    display: none;
}

.home_pro {
    width: 100%;
}

.homePro_box {
    box-sizing: border-box;
    width: 50%;
    padding: 0 1rem;
}

.home_title {
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: .36rem;
    line-height: 1;
    font-weight: 700;
    padding-bottom: 1.2rem;
    position: relative;
}

.home_title::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: .7rem;
    width: 1.42rem;
    height: .03rem;
    background: rgb(230, 33, 41);
}

.fullSwiper>.swiper-wrapper>.swiper-slide-active .home_title::before {
    animation: line 3s;
}

@keyframes line {
    0% {
        width: 0;
    }

    100% {
        width: 1.42rem;
    }
}


.homePro_list {
    margin-left: -0.35rem;
}

.homePro_list li {
    width: calc(50% - .35rem);
    margin-left: .35rem;
    margin-bottom: .2rem;
}

.homePro_item {
    box-sizing: border-box;
    border: 1px solid rgb(255, 255, 255);
    border-radius: .07rem;
    padding: .1rem;
    color: rgb(255, 255, 255);
    font-size: .18rem;
    line-height: 1.2;
    font-weight: 400;
    transition: all .2s;
    height: 100%;
}

.home_pro .homePro_box:nth-child(2) .homePro_list {
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
}

.homePro_item i {
    font-size: .16rem;
    opacity: 0;
    transition: all .2s ease-out;
}

.homePro_item:hover i {
    opacity: 1;
    margin-left: 10px;
}

.homePro_item:hover {
    background: var(--primary);
}

@media only screen and (max-width: 1680px) {
    .homePro_box {
        padding: 0 .5rem;
    }
}

@media only screen and (max-width: 960px) {
    .homePro_box {
        padding: 0 .3rem;
    }
}

@media only screen and (max-width: 768px) {
    .homePro_box {
        padding: 0 20px;
    }
}

@media only screen and (max-width: 500px) {
    .homePro_box {
        width: 100%;
    }

    .homePro_box:first-child {
        margin-bottom: 20px;
    }

    .homePro_item {
        font-size: 12px;
    }
}











/* ==========================================================================
   part03
========================================================================== */
.part03 {
    background: url(../images/homeBg03.jpeg) no-repeat center;
    position: relative;
    background-size: cover;
}

.home_situation {
    box-sizing: border-box;
    width: 100%;
    padding: 0 3.55rem;
}

.homeSitu_info {
    color: rgb(255, 255, 255);
    font-size: .16rem;
    font-weight: 400;
    line-height: 2;
}

.homeSitu_list {
    justify-content: center;
    margin: 1rem 0 0 -0.3rem;
}

.homeSitu_list li {
    margin-left: 0.3rem;
}

.homeSitu_name {
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    font-size: 14px;
    font-weight: 400;
    padding: .08rem .25rem;
    border-radius: 7px;
    background: rgb(230, 33, 41);
    transition: all .3s;
}

.homeSitu_name i {
    opacity: 0;
    transition: all 0.2s ease-out;
}

.homeSitu_name:hover i {
    opacity: 1;
    margin-left: 10px;
}

.homeSitu_name:hover {
    background: #fff;
    color: #000;
}

@media only screen and (max-width: 1680px) {
    .home_situation {
        padding: 0 2.55rem;
    }
}

@media only screen and (max-width: 960px) {
    .home_situation {
        padding: 0 1.55rem;
    }

    .homeSitu_name {
        font-size: 12px;
    }
}

@media only screen and (max-width: 768px) {
    .home_situation {
        padding: 0 20px;
    }

    .homeSitu_info {
        font-size: 12px;
    }
}

@media only screen and (max-width: 500px) {
    .homeSitu_list {
        justify-content: space-between;
    }

    .homeSitu_list li {
        margin-bottom: 10px;
    }

    .homeSitu_name {
        border-radius: 4px;
    }
}










/* ==========================================================================
   part04
========================================================================== */
.part04 {
    background: url(../images/homeBg04.jpeg) no-repeat center;
    position: relative;
    background-size: cover;
}

.home_news {
    box-sizing: border-box;
    width: 100%;
    padding: 0 2.25rem;
}

.homeNews_frame {
    margin-left: -0.4rem;
}

.homeNews_left,
.homeNews_right {
    width: calc(50% - .4rem);
    margin-left: .4rem;
}

.homeNews_left .pic {
    border-radius: 8px;
}

.homeNews_cover {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
}

.homeNews_group {
    width: 100%;
    box-sizing: border-box;
    border-radius: 0px 0px 8px 8px;
    background: linear-gradient(90.00deg, rgb(230, 33, 41), rgba(230, 33, 41, 0) 100%);
    opacity: 0.75;
    flex-direction: column;
    justify-content: center;
    padding: .2rem .3rem;
}

.homeNews_date {
    color: rgb(255, 255, 255);
    font-size: .14rem;
    font-weight: 400;
    margin-bottom: .1rem;
}

.homeNews_title {
    color: rgb(255, 255, 255);
    font-size: .18rem;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.homeNews_list {
    height: 100%;
    flex-direction: column;
}

.homeNews_list li:not(:last-of-type) {
    margin-bottom: .2rem;
}

.homeNews_list li:last-child {
    margin-top: auto;
    align-self: flex-end;
}

.homeNews_list .homeNews_group {
    border-radius: 8px;
}

.allNews {
    width: 2rem;
    height: .4rem;
    justify-content: space-between;
    box-sizing: border-box;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 7px;
    padding: 0 .2rem;
    color: rgb(255, 255, 255);
    font-size: 14px;
}

@media only screen and (max-width: 1680px) {
    .home_news {
        padding: 0 1.25rem;
    }
}

@media only screen and (max-width: 960px) {
    .home_news {
        padding: 0 .8rem;
    }

    .allNews {
        font-size: 12px;
    }
}

@media only screen and (max-width: 768px) {
    .homeNews_left {
        margin-bottom: 20px;
    }

    .homeNews_left,
    .homeNews_right {
        width: 100%;
    }

    .homeNews_date {
        font-size: 12px;
    }

    .homeNews_title {
        font-size: 14px;
        text-overflow: clip;
        overflow: auto;
        white-space: initial;
    }

    .home_news {
        padding: 0 20px;
    }
}

@media only screen and (max-width: 500px) {
    .allNews {
        width: 108px;
        height: 28px;
    }
}











/* ==========================================================================
   part05
========================================================================== */
.part_last {
    background: url(../images/homeBg05.jpeg) no-repeat center;
    position: relative;
    background-size: cover;
}

.part_last .footer_main {
    background: transparent;
}

.last_main {
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.home_last {
    height: calc(100% - 4rem);
    box-sizing: border-box;
    margin: 0 1.05rem;
    padding: 0 .85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    flex-direction: column;
    justify-content: center;
}

.last_list li {
    width: 33.33%;
}

.last_box {
    justify-content: center;
    align-items: center;
}

.last_img {
    width: 1rem;
    flex-shrink: 0;
}

.last_area {
    margin-left: .4rem;
}

.last_txt1 {
    color: rgb(255, 255, 255);
    font-size: .16rem;
    line-height: 2;
    font-weight: 400;
}

.last_txt2 {
    color: rgb(255, 255, 255);
    font-size: .29rem;
    font-weight: 400;
}

@media only screen and (max-width: 1680px) {
    .home_last {
        margin: 0 50px;
        padding: 0;
    }
}

@media only screen and (max-width: 768px) {
    .swiper-slide-last .common {
        padding: 0;
    }

    .home_last {
        padding: 1rem 20px;
        margin: 0;
    }

    .last_list li {
        width: 100%;
        margin-bottom: 20px;
    }

    .last_box {
        justify-content: flex-start;
    }

    .last_txt1 {
        font-size: 12px;
    }

}












/* ==========================================================================
   footer
   ========================================================================== */
footer {
    color: #fff;
    position: relative;
}

footer a {
    color: #fff;
}

footer a:hover {
    text-decoration: underline;
    color: #fff;
}

.footer_main {
    padding: .65rem 0;
    background: rgb(0, 25, 60);
}

.footer-nav {
    text-align: justify;
    margin-top: -0.2rem;
}

.fn-col {
    display: inline-block;
    zoom: 1;
    vertical-align: top;
    margin-top: .2rem;
}

.footer-nav:after {
    content: "";
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0;
}

.fn-col h3 {
    margin-bottom: .2rem;
    font-size: .16rem;
}

.fn-col li {
    line-height: 2;
    font-size: .14rem;
}

/* .ewm_item {
    margin-left: .4rem;
} */

.ewm_img {
    width: 100px;
}

.ewm_name {
    color: rgb(255, 255, 255);
    font-size: .14rem;
    margin-top: .1rem;
    text-align: center;
}

.foothd {
    background: rgb(0, 7, 17);
    padding: .15rem 0;
    text-transform: Uppercase;
    color: #fff;
    text-align: center;
    font-size: .14rem;
}

.space {
    display: inline-block;
    width: .55rem;
}

@media only screen and (max-width: 920px) {
    .fn-ewm {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .footer_main {
        display: none;
    }
}

@media only screen and (max-width: 500px) {

    .space:nth-child(1),
    .space:nth-child(2),
    .space:nth-child(3) {
        display: inline;
    }

    .foothd {
        font-size: 12px;
    }
}