/********** Template CSS **********/

:root {
    --primary: #CB3834;
    --secondary: #15ACE1;
    --light: #F4F7FE;
    --dark: #14183E;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .005s ease-out, visibility 0s linear .005s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0 ease-out, visibility 0s linear 0;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

.text-truncate-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


.form-select,
input::placeholder,
.form-control {
    font-size: 16px;

}

/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 11px 0 !important;
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 0;
    color: rgba(255, 255, 255, .7);
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        padding: 0 15px;
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.text-right {
    text-align: right;
}

.bg-texture-collage {
    background: linear-gradient(-45deg, #EC4043 33%, transparent 0%), linear-gradient(-45deg, #FF5154 67%, transparent 33%), linear-gradient(-45deg, #EC4043 100%, transparent 67%);
}

.isLink:hover {
    color: #CB3834 !important;

}


/*** Hero Header ***/
.hero-header {
    margin-top: -75px;
    /* background: url(../img/bg-hero.png) center center no-repeat; */
    background-size: cover;
    /* background: #fff !important; */
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

/*** baneer ***/
.hero-header .carousel-item img {
    object-fit: cover;
}

.hero-header .banner-container {
    text-align: center;
    margin-top: -20px;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.hero-header .banner-container img {
    width: 100%;
}

/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, .5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}


/*** About ***/
.about {
    background-color: #EFEFEF;
}

.about .row>* {
    margin-top: 0;
}

.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}

.about-detail {
    position: relative;
}

.about-detail .bd-text {
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 120px;
    font-weight: 600;
    color: #F9F9F9;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    color: var(--primary);
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-icon {
    background: #FFFFFF;
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.service-item:hover a.btn {
    color: var(--primary);
}

.service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: var(--light);
    transition: .5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}


/*** 产品中心 ***/
.product {
    /* background: url(../img/bg-hero.png) center center no-repeat; */
    /* background-size: cover; */
}

.contact .row>*,
.product .row>*,
.service .row>* {
    margin-top: 0;
}

.product .video-container {
    width: 599px;
    height: 535px;
    background-color: #CB3834;
}

.product .product-img {
    /* width: 353px; */
    width: 100%;
    height: 100%;
    /* height: 177px; */

    &:nth-child(2) {
        width: 160px;
    }
}

/*** 行业应用 ***/
.industry {
    background-color: #F8F9FA;
}

/* 技术服务 */
.service {
    /* background: url(../img/service-bg.png) center center no-repeat; */
    background-size: cover;
    /* overflow: hidden; */
}

.service .label {
    font-weight: 600;
}

.service .line {
    width: 100%;
    height: 1px;
    background-color: #DCDCDC;
}

.service .service-img {
    width: 100%;
    height: 100%
}


/* 发展历史 */
.history {
    background: url(../img/about-bg1.png) center center no-repeat;
    background-size: cover;
}

.history .list {
    display: flex;
    justify-content: center;
    margin-top: 250px;
    padding-bottom: 100px;
    /* flex-wrap: nowrap;
    justify-content: flex-start; */
}

.history .item {
    /* height: 550px; */
    /* min-height: 150px; */
    position: relative;
}

.history .item-up {
    position: relative;
}

.history .line-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
}

.history .line {
    display: inline-block;
    width: 100%;
    height: 1px;
    background-color: #fff;
    vertical-align: middle;
}

.history .point {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    /* margin-left: 115px; */
    border-radius: 50%;
    background-color: #fff;
    vertical-align: middle;
}


.history .content {
    position: absolute;
    width: 250px;
    min-height: 110px;
    max-height: 160px;
    border-radius: 4px;
    /* margin-left: 45px; */
    background-color: #fff;
}

.history .content p {
    white-space: pre-wrap;
}

.history .item-up .content {
    top: -245px;
}

.history .item-up .content .triangle {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border: 10px solid;
    border-color: #fff transparent transparent transparent;
}

.history .item .content .triangle {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border: 10px solid;
    border-color: transparent transparent #fff transparent;
}

/* 公司文化 */
.culture {
    background: url(../img/culture-bg.png) center center no-repeat;
    background-size: cover;
}

/* 
.culture .culture-item {
    position: relative;
    background: #fff;
    height: 250px;
    margin: 20px 0;
    z-index: 2;
    position: relative;
    padding: 20px;
    -webkit-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    border-radius: 10px;
    height: 350px;
    box-shadow: 5px 4px 8px 0px rgba(0, 0, 0, 0.05);
}

.culture-item:before {
    background: #EC4043;
    opacity: 0;
    bottom: 0;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.culture .culture-item:hover {
    -webkit-box-shadow: 0px 60px 60px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 60px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;

    /* background-color: #EC4043;
    opacity: 0.6; 
-webkit-transform: translate(0, -10px);
-ms-transform: translate(0, -10px);
transform: translate(0, -10px);
}

.culture .culture-item:hover .culture-mash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #EC4043;
    opacity: 0.5;
    border-radius: 10px;
}

.culture .culture-item:hover .line {
    opacity: 0.3;
}


.culture .item1:hover {
    background-image: url(../img/culture-img1.png);
    background-size: cover;
    background-position: center center;
}

.culture .item2:hover {
    background-image: url(../img/culture-img2.png);
    background-size: cover;
    background-position: center center;
}

.culture .item3:hover {
    background-image: url(../img/culture-img3.png);
    background-size: cover;
    background-position: center center;
}

.culture .item4:hover {
    background-image: url(../img/culture-img4.png);
    background-size: cover;
    background-position: center center;
}

.culture .culture-item .inactive {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.culture .culture-item .inactive-icon {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.culture .culture-item:hover .inactive,
.culture .culture-item:hover .inactive-icon {
    display: none;
}

.culture .culture-item .active {
    margin: 0;
    position: relative;
    text-transform: capitalize;
    top: 90px;
     text-align: left; 
    -webkit-transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55) 0s;
    -o-transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55) 0s;
    transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55) 0s;
    font-weight: 700;
    font-size: 30px;
    color: #fff;
    line-height: 36px;
    padding-top: 10px;
}

.culture .culture-item:hover .active {
    color: #fff;
    top: 0px;
    margin-bottom: 20px;
}

.culture .culture-item .line {
    width: 100%;
    height: 1px;
    background-color: #fff;
    opacity: 0;
    transition: 0.5s;

}

.culture .culture-item p {
    color: #fff;
    margin-bottom: 30px;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55) 0s;
    -o-transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55) 0s;
    transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55) 0s;
}

.culture .culture-item:hover p {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}*/

.thumb-creative {
    position: relative;
    text-align: center;
}

@media (max-width: 767px) {
    .thumb-creative {
        max-width: 370px;
        margin-left: auto;
        margin-right: auto;
    }
}

.thumb-creative,
.thumb-creative__inner {
    display: flex;
    width: 100%;
}

.thumb-creative__image-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
}

.thumb-creative__image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 101%;
    min-height: 100%;
    object-fit: cover;
    max-width: none;
    width: auto;
}

.thumb-creative__front,
.thumb-creative__back {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;

}

.thumb-creative__back {
    background: #333;
}

.thumb-creative__front {
    display: none;
}

.thumb-creative__back {
    position: relative;
    overflow: hidden;
}

.thumb-creative__back img {
    /* opacity: .35; */
}

.thumb-creative__content {
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 50px 40px;
    color: #fff;
    pointer-events: none;

}

.thumb-creative__content>* {
    width: 100%;
    pointer-events: auto;
}

.thumb-creative__content::before {
    content: '';
}

.thumb-creative__content h1,
.thumb-creative__content h2,
.thumb-creative__content h3,
.thumb-creative__content h4,
.thumb-creative__content h5,
.thumb-creative__content h6,
.thumb-creative__content .heading-1,
.thumb-creative__content .heading-2,
.thumb-creative__content .heading-3,
.thumb-creative__content .heading-4,
.thumb-creative__content .heading-5,
.thumb-creative__content .heading-6 {
    line-height: 1.4;
    color: #fff;
}

.thumb-creative__content h1 a,
.thumb-creative__content h2 a,
.thumb-creative__content h3 a,
.thumb-creative__content h4 a,
.thumb-creative__content h5 a,
.thumb-creative__content h6 a,
.thumb-creative__content .heading-1 a,
.thumb-creative__content .heading-2 a,
.thumb-creative__content .heading-3 a,
.thumb-creative__content .heading-4 a,
.thumb-creative__content .heading-5 a,
.thumb-creative__content .heading-6 a {
    color: inherit;
}

.thumb-creative__content h1 a:hover,
.thumb-creative__content h2 a:hover,
.thumb-creative__content h3 a:hover,
.thumb-creative__content h4 a:hover,
.thumb-creative__content h5 a:hover,
.thumb-creative__content h6 a:hover,
.thumb-creative__content .heading-1 a:hover,
.thumb-creative__content .heading-2 a:hover,
.thumb-creative__content .heading-3 a:hover,
.thumb-creative__content .heading-4 a:hover,
.thumb-creative__content .heading-5 a:hover,
.thumb-creative__content .heading-6 a:hover {
    color: #CB3834;
}

.thumb-creative__content a {
    color: #CB3834;
}

.thumb-creative__content a:hover {
    color: #fff;
}

.thumb-creative__content a.button-link {
    color: #fff;
}

.thumb-creative__content a.button-link:hover {
    color: #CB3834;
}

*+.thumb-creative__title {
    margin-top: 15px;
}

@media (min-width: 576px) and (max-width: 767px) {
    .thumb-creative__content {
        padding: 30px 10px;
    }

    .thumb-creative__content .button-link {
        font-size: 12px;
    }
}

@media (min-width: 768px) {
    *+.thumb-creative__title {
        margin-top: 22px;
    }
}

@media (min-width: 992px) {
    .thumb-creative__content {
        min-height: 300px;
    }

    .ie-10 .thumb-creative__back .thumb-creative__content,
    .ie-11 .thumb-creative__back .thumb-creative__content {
        display: table-cell;
        vertical-align: middle;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .thumb-creative__content {
        padding: 25px 30px;
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (min-width: 992px) {
    .desktop .thumb-creative:hover .thumb-creative__front {
        transform: rotateY(-180deg);
    }

    .desktop .thumb-creative:hover .thumb-creative__back {
        transform: rotateY(0deg);
    }

    .desktop .thumb-creative__content {
        transform: translateZ(60px);
        transition: all 0.4s ease-out;
    }

    .desktop .thumb-creative__inner {
        position: relative;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-perspective: 1000px;
        perspective: 1000px;
    }

    .desktop .thumb-creative__front,
    .desktop .thumb-creative__back {
        overflow: visible;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
        transition: -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
        transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .desktop .thumb-creative__front {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        transform: rotateY(0deg);
        z-index: 1;
    }

    .desktop .thumb-creative__front .thumb-creative__image {
        /* opacity: .35; */
    }

    .desktop .thumb-creative__front .thumb-creative__content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
    }

    .desktop .thumb-creative__front .thumb-creative__content>* {
        opacity: 1;
    }

    .desktop .thumb-creative_no-cover .thumb-creative__front .thumb-creative__image {
        opacity: 1;
    }

    .desktop .thumb-creative__back {
        transform: rotateY(180deg);
        opacity: 1;
    }

    .desktop .thumb-creative__back .thumb-creative__image {
        opacity: .05;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .thumb-creative__content {
        min-height: 270px;
    }

    .thumb-creative__back .thumb-creative__content p {
        display: none;
    }

    .thumb-creative__back .thumb-creative__content a.button-link {
        font-size: 12px;
    }
}

@media (min-width: 1400px) {
    .thumb-creative .thumb-creative__content {
        min-height: 360px;
    }
}

/* 企业愿景 */
.vision {
    background: url(../img/vision-bg.png) center center no-repeat;
    /* background-size: cover; */
    /* height: 720px; */
}

/*** news ***/
.news {
    background: url(../img/news-bg.png) center center no-repeat;
    background-size: cover;
    /* background-color: #333; */
}

.news .news-img-container {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.news .news-item:hover .news-img {
    transform: scale(1.2);
}


.news .news-img {
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.news-list {
    background: none !important;
}

.news-subtitle {
    display: inline-block;
    height: 48px;
}

.news .card-title {
    /* 设置容器宽度 */
    white-space: nowrap;
    /* 禁止文本换行 */
    overflow: hidden;
    /* 隐藏溢出的内容 */
    text-overflow: ellipsis;
    /* 溢出部分显示为省略号 */
}



/*** job  ***/
.job {
    background: url(../img/job-bg.png) center center no-repeat;
    background-size: cover;
    /* background-color: #333; */
}

.job .job-container {
    border-radius: 6px;
    padding: 20px;
    height: 300px;
    cursor: pointer;
}

.job .job-container:hover {
    border-width: 2px !important;
    transform: translateY(-10px);
    transition: 0.2s;

}

.job .job-container:hover .job-name a {
    color: #CB3834 !important;
}

.job .job-info {
    font-size: 14px;
    color: #999;
}

.job .line {
    border: 1px dashed #999;
}


.job-list {
    background: none;
}

.job-list .job-container {
    background: #F9F9F9;
}

.job-list .job-container:hover {
    border-width: 1px !important;
    transform: translateY(0);
    transition: 0s;
}

.job-detail .container {
    background: #F9F9F9;
}

/* join  */
.join .line {
    width: 100%;
    height: 1px;
    background-color: #CB3834;
}

.join-content .text {
    color: #666;

}

.join-content .text-indent {
    text-indent: 2em;
}


/* 加盟攻略 */
.process-list-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.process-list-item .num {
    width: 70px;
    height: 50px;
    text-align: center;
    clip-path: polygon(20px 0, 70px 0, 50px 50px, 0 50px);
    line-height: 50px;
    color: #fff;
    background-color: #CB3834;

}

.process-list-item .value {
    margin-left: -20px;
}

.join-condition .title {
    font-size: 18px;
    color: #333;
}

.join-condition .value {
    font-size: 14px;
    color: #666;
}

.store-show .img-item {
    height: 200px;
    margin-bottom: 10px;
    background-color: #ccc;
}

.table .tr-border {
    border-right: 1px solid #ccc;
}


.show-store-area {
    display: none;
}

.join-evaluate-box {
    display: none;
}



/*** Case Study ***/

.case-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: .5s;
}

.case-item:hover img {
    transform: scale(1.2);
}

.case-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    /* background: linear-gradient(rgba(20, 24, 62, 0), var(--dark)); */
    z-index: 1;
}

.case-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: #FFFFFF;
    background: rgba(20, 24, 62, .7);
    border-radius: 25px;
    margin-bottom: 15px;
}

.case-overlay span.btn:hover {
    color: var(--primary);
    background: #FFFFFF;
    border-color: #FFFFFF;
}

.lh-base:hover {
    color: var(--primary);
}


/*** Contact-form ***/
/* contact */
.contact {
    background-color: #F8F9FA;
}

.contact .map {
    min-height: 680px;
    height: 100%;
    margin-right: 20px;
    background-color: #CB3834;
}

.contact-form .form-control-lg {
    border: none;
    border-radius: 0 !important;
    background-color: #F5F5F5;
    font-size: 1rem;
}

.contact-form textarea.form-control-lg {
    height: 150px !important;
    resize: none !important;
}

.contact-form .form-item {
    text-align: left;
}

/*** Team ***/
.team .row {
    justify-content: center;
}

.team-item {
    width: 300px;
}

.team-item img {
    /* width: 270px; */
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: .5s;
}

.team-item-info p {
    margin: 0;
}

.team-item-info .label {
    font-size: 10px;
}

.team-item-info .value {
    font-size: 14px;
}




/*** Footer ***/
.footer {
    background-color: #171717 !important;

}

.footer .name {
    font-size: 12px;
}

.modal-body {
    flex-direction: column;
}

.modal-body .search-results {
    min-width: 600px;
    max-width: 600px;
    max-height: 400px;
    overflow: hidden;
    overflow-y: auto;
}

/* 推荐 */

.float-btn {
    position: fixed;
    /* display: none; */
    width: 70px;
    height: 140px;
    right: 0;
    bottom: 50%;
    text-align: center;
    z-index: 99;
    cursor: pointer;
}

.float-btn p:hover {
    opacity: 0.8;
}