@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 img {
    max-width: 100%;
}



/* ==========================================================================
   part01
========================================================================== */
.homePro_swiper {
    padding: .75rem 1.2rem;
    background: #F8F8F8;
    position: relative;
}

.homePro_box {
    position: relative;
    background: #fff;
    box-sizing: border-box;
    padding: .6rem .5rem;
    margin-bottom: .5rem;
    transition: 0.5s all ease-in-out;
}

.homePro_box.select {
    background: transparent;
}

.homePro_position {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.homePro_bg {
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: 0.5s all ease-in-out;
}

.homePro_bg::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: -moz-linear-gradient(90deg, rgb(163, 36, 45) 0%, rgb(185, 29, 34) 100%);
    background-image: -webkit-linear-gradient(90deg, rgb(163, 36, 45) 0%, rgb(185, 29, 34) 100%);
    background-image: -ms-linear-gradient(90deg, rgb(163, 36, 45) 0%, rgb(185, 29, 34) 100%);
    opacity: .9;
}

.homePro_box.select .homePro_bg {
    opacity: 1;
}

.homePro_img {
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 1.8rem;
}

.homePro_list {
    height: calc(.16rem * 18);
    overflow: auto;
    margin-left: 1.45rem;
    margin-top: .2rem;
}

.homePro_list::-webkit-scrollbar {
    width: 4px;
}

.homePro_list::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--primary);
}

.homePro_box.select .homePro_list::-webkit-scrollbar-thumb {
    background-color: #fff;
}

.homePro_list li {
    padding-right: 20px;
}

.homePro_name {
    font-size: .16rem;
    color: #333333;
    line-height: 3;
    justify-content: space-between;
    align-items: center;
    transition: 0.5s all ease-in-out;
    position: relative;
}

.homePro_name::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: all .3s;
}

.homePro_name:hover::before {
    width: 100%;
}

.homePro_name .fa-angle-right {
    font-size: .2rem;
}

.homePro_title {
    font-weight: bold;
    font-size: .3rem;
    color: #000000;
    transition: 0.5s all ease-in-out;
}

.homePro_box.select .homePro_name {
    color: #fff;
}

.homePro_box.select .homePro_title {
    color: #fff;
}

.homePro_swiper .swiper-button-next:after,
.homePro_swiper .swiper-button-prev:after {
    display: none;
}

.homePro_swiper .swiper-button-next {
    right: .425rem;
    width: .35rem;
    height: .35rem;
    background: url(../images/hpr.png) no-repeat center;
    background-size: contain;
}

.homePro_swiper .swiper-button-prev {
    left: .425rem;
    width: .35rem;
    height: .35rem;
    background: url(../images/hpl.png) no-repeat center;
    background-size: contain;
}

.homePro_swiper .swiper-button-next:hover {
    background: url(../images/hpr_r.png) no-repeat center;
    background-size: contain;
}

.homePro_swiper .swiper-button-prev:hover {
    background: url(../images/hpl_r.png) no-repeat center;
    background-size: contain;
}

@media only screen and (max-width: 500px) {
    .homePro_box {
        padding: 15px 10px;
    }

    .homePro_img {
        width: 1.4rem;
    }

    .homePro_name{
        font-size: 12px;
    }

    .homePro_name .fa-angle-right{
        font-size: 12px;
    }

    .homePro_list{
        height: calc(12px * 18);
    }
}









/* ==========================================================================
   part02
========================================================================== */
.white {
    color: #FFFFFF !important;
}

.red {
    color: rgb(184, 31, 34) !important;
}

.bold {
    font-weight: 700 !important;
}


.home_title {
    position: relative;
    color: rgb(26, 26, 26);
    font-size: .36rem;
    font-weight: 700;
}

.home_title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: .4rem;
    height: .05rem;
    background: rgb(185, 29, 34);
}

.home_title.white::before {
    background-color: #FFFFFF;
}

.part02 {
    padding: .7rem 0 0;
}

.homeNew {
    margin-left: -0.3rem;
}

.homeNew_left {
    width: calc(33.33% - .3rem);
    margin-left: .3rem;
}

.homeNew_right {
    width: calc(66.66% - .3rem);
    margin-left: .3rem;
}

.homeNew_name {
    color: rgb(26, 26, 26);
    font-size: .18rem;
    font-weight: 400;
    line-height: 2;
}

.homeNew_list {
    margin-top: -0.3rem;
    margin-left: -0.3rem;
}

.homeNew_box {
    width: calc(50% - .3rem);
    margin-left: .3rem;
    background: url(../images/home05.png) no-repeat right / cover;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid rgb(216, 216, 216);
    box-shadow: 0px 0px 5px 0px rgba(51, 51, 51, 0.2);
    padding: .3rem .4rem .3rem .5rem;
    margin-top: .3rem;
    transition: all .3s;
}

.homeNew_box:hover {
    background: linear-gradient(138.09deg, rgb(163, 36, 45) 31.05%, rgb(163, 36, 45) 98.924%);
    transform: translateY(-0.05rem);
}

.homeNew_arrow {
    opacity: 0;
    transition: all .3s;
    width: .67rem;
}

.homeNew_box:hover .homeNew_arrow {
    opacity: 1;
}

.homeNew_box:hover .homeNew_name {
    color: #FFFFFF !important;
}

.homeNew_module {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: url(../images/home06.png) no-repeat center / cover;
    padding: .5rem .55rem;
}

.homeNew_desc {
    color: rgb(255, 255, 255);
    font-size: .18rem;
    line-height: 2;
    margin-top: .6rem;
}

.homeNew_ckxq {
    width: 1.8rem;
    height: .5rem;
    box-sizing: border-box;
    border: 1px solid rgb(222, 239, 236);
    border-radius: 100px;
    color: rgb(255, 255, 255);
    font-size: .18rem;
    margin-top: .85rem;
    position: relative;
}

.homeNew_ckxq:before {
    content: '';
    display: block;
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.4) 50%);
    background-size: 210% 100%;
    background-position: right bottom;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    border-radius: 50px;
    transition: all 1s;
    -webkit-transition: all 1s;
}

.homeNew_ckxq .fa-angle-right {
    font-size: .22rem;
    margin-left: 5px;
}

.homeNew_ckxq:hover {
    color: #FFFFFF
}

.homeNew_ckxq:hover:before {
    background-position: left bottom;
}

@media only screen and (max-width: 920px) {
    .homeNew_left {
        width: 100%;
    }

    .homeNew_right {
        width: 100%;
        margin-top: .3rem;
    }
}

@media only screen and (max-width: 500px) {
    .homeNew_box {
        width: 100%;
    }

    .homeNew_name {
        font-size: 12px;
    }
}











/* ==========================================================================
   part03
========================================================================== */
.part03 {
    background: url(../images/part03.png) no-repeat left / cover;
    padding: 1rem 0 .8rem;
}

.home_about {
    justify-content: space-between;
}

.homeAbout_left {
    width: calc(57.5% - .5rem);
}

.homeAbout_right {
    padding-top: .54rem;
    width: 42.5%;
}

.homeAbout_intro {
    margin: .6rem 0 .4rem;
    color: rgb(26, 26, 26);
    font-size: .18rem;
    line-height: 2;
}

.homeAbout_list {
    /* justify-content: space-between; */
    margin-left: -0.2rem;
    margin-top: -0.2rem;
}

.homeAbout_link {
    margin-left: .2rem;
    margin-top: .2rem;
    width: 1.84rem;
    height: .5rem;
    border: 1px solid rgb(163, 36, 45);
    border-radius: 25px;
    background: rgb(255, 255, 255);
    color: rgb(163, 36, 45);
    font-size: .16rem;
    font-weight: 400;
    transition: all .3s;
}

.homeAbout_link:hover {
    background: linear-gradient(141.15deg, rgb(185, 29, 34) 29.416%, rgb(163, 36, 45) 88.755%);
    color: #FFFFFF;
}

@media only screen and (max-width: 768px) {
    .homeAbout_left {
        width: 100%;
    }

    .homeAbout_right {
        width: 100%;
        margin-top: 20px;
    }

    .homeAbout_intro,
    .homeAbout_link {
        font-size: 12px;
    }
}









/* ==========================================================================
   part04
========================================================================== */
.part04 {
    padding: .3rem 0 .6rem;
    background: rgb(242, 242, 242);
}

.homeNews_swiper {
    margin-top: .6rem;
}

.homeNews_area {
    box-sizing: border-box;
    padding: .25rem .35rem;
    background: #FFFFFF;
    transition: all .3s;
}

.homeNews_tag {
    font-size: .14rem;
    color: rgb(85, 85, 85);
}

.homeNews_title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: rgb(185, 29, 34);
    font-size: .2rem;
    font-weight: 700;
    height: calc(.2rem * 3);
    margin: .08rem 0;
}

.homeNews_date {
    color: rgb(144, 144, 144);
    font-size: .16rem;
}

.homeNews_msg {
    color: rgb(51, 51, 51);
    font-size: .16rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    height: calc(.16rem * 4.5);
    margin-top: .1rem;
}

.homeNews_box {
    transition: all .3s;
}
.homeNews_box .upimg {
    height: auto;
}
.homeNews_box:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}


.homeNews_box:hover .homeNews_area {
    background: rgb(163, 36, 45);
}

.homeNews_box:hover .homeNews_tag,
.homeNews_box:hover .homeNews_title,
.homeNews_box:hover .homeNews_date,
.homeNews_box:hover .homeNews_msg {
    color: #FFFFFF;
}

@media only screen and (max-width: 768px) {

    .homeNews_msg,
    .homeNews_date,
    .homeNews_tag {
        font-size: 12px;
    }

    .homeNews_title {
        font-size: 14px;
        height: calc(14px * 3);
    }

    .homeNews_msg {
        height: calc(12px * 4.5);
    }

}








/* ==========================================================================
   part05
========================================================================== */
.part05 {
    background: url(../images/part05.png) no-repeat;
    padding: .5rem 0 .9rem;
    overflow: hidden;
    background-position: center right -1.48rem;
}

.homeApply_list {
    margin-left: -0.25rem;
    margin-top: .6rem;
}

.homeApply_list li {
    width: calc(25% - .25rem);
    margin-left: .25rem;
}

.homeApply_title {
    padding: .12rem;
    color: rgb(255, 255, 255);
    font-size: .2rem;
    background: rgb(163, 36, 45);
}

@media only screen and (max-width: 500px) {
    .homeApply_list li {
        width: calc(50% - .25rem);
        margin-bottom: .25rem;
    }

    .homeApply_title {
        font-size: 12px;
    }
}







/* ==========================================================================
   footer
   ========================================================================== */
footer {
    font-size: .16rem;
    padding: .6rem 0 0 0;
    color: #fff;
    position: relative;
    background: linear-gradient(180.00deg, rgb(26, 26, 26), rgb(0, 0, 0) 100%);
}

footer a {
    color: #fff;
}

footer a:hover {
    text-decoration: underline;
    color: #fff;
}

.footer-nav {
    text-align: justify;
}

.fn-col {
    display: inline-block;
    zoom: 1;
    vertical-align: top;
}

.footer-nav:after {
    content: "";
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0;
}

.fn-col h3 {
    margin-bottom: .25rem;
    font-size: .18rem;
    font-weight: 700;
}

.fn-col li {
    line-height: .3rem;
    font-size: .16rem;
}

.fn-contact {
    width: 2.55rem;
}

.fn-contact h3 {
    margin-bottom: .1rem;
}

.fn-ewm {
    width: 1.5rem;
}

.gzgzh {
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: .16rem;
    margin-top: .1rem;
}

.foothd {
    padding: .28rem 0;
    color: #fff;
    font-size: .18rem;
    font-weight: 300;
    border-top: 1px solid #ffffff2a;
}

.foothd_area {
    justify-content: space-between;
    align-items: center;
}

.footer_main {
    margin-bottom: .3rem;
}


@media only screen and (max-width: 920px) {
    .fn-ewm {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .footer_main {
        display: none;
    }

    footer {
        padding: 0;
    }
}

@media only screen and (max-width: 500px) {
    .foothd {
        font-size: 12px;
    }

    .foothd_area {
        justify-content: center;
    }
}