/* 配置全局css类名 */


a,
a:hover {
    text-decoration: none;
    color: #000;
}

img {
    display: inline-block;
}

li {
    list-style: none;
}

html {
    font-size: 16px;
}

body {
    font-size: 1rem;
    background-color: #fff;
    font-family: "Microsoft YaHei", "PingFang_Light";
    font-weight: 300;
}

/* 字体大小 */
.fs-12 {
    font-size: 0.75rem;
}

.fs-14 {
    font-size: 0.875rem;
}

.fs-16 {
    font-size: 1rem;
}

.fs-18 {
    font-size: 1.125rem;
}

.fs-20 {
    font-size: 1.25rem;
}

.fs-22 {
    font-size: 1.375rem
}

.fs-24 {
    font-size: 1.5rem;
}

.fs-30 {
    font-size: 1.875rem;
}

.fs-32 {
    font-size: 2rem;
}

.fs-34 {
    font-size: 2.125rem;
}

.fs-36 {
    font-size: 2.25rem;
}

.fs-40 {
    font-size: 2.5rem;
}

.fs-45 {
    font-size: 2.8125rem;
}

/* 页面级 */
.page {
    padding-top: 7.1875rem;
}

/* 布局满行 */
.panel-full {
    width: 100%;
}

/* 布局版心 */
.panel {
    width: calc(100% - 18rem);
    margin: 0 auto;
    box-sizing: border-box;
}

.text-ellipsis-single {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-ellipsis-5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-ellipsis-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 字体颜色 */
.primary-color {
    color: #C51030 !important;
}

.primary-bg {
    background-color: rgba(197, 16, 48, 0.05);
}


.custom-box-shadow {
    box-shadow: 0px 10px 20px 0px rgba(197, 16, 48, 0.051);
}

.custom-img-style {
    width: 2.125rem;
    height: 2.125rem;
    /* object-fit: cover; */
    margin-right: 1.25rem;
}

.custom-img-style-60 {
    width: 3.75rem;
    height: 3.75rem;
    margin-right: 1.25rem;
}


/* 首页头部 */
.header-pc-warp {
    height: 5.75rem;
    padding: 0 8.875rem;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    transition: all 0.5s;
}

.header-pc-warp.float {
    background-color: #2B2B37;
}

.header-pc-warp img {
    width: 8.875rem;
    height: auto;
    object-fit: cover;
}

.header-pc-warp ul {
    display: flex;
    align-items: center;
}

.header-pc-warp ul li {
    margin-left: 2.5rem;
    font-size: 1rem;
    height: 5.75rem;
    position: relative;
}

.header-pc-warp ul li.active a {
    color: #C51030;
}

.header-pc-warp ul li.active:after {
    content: '';
    display: block;
    width: 100%;
    height: 0.125rem;
    background-color: #C51030;
    position: absolute;
    bottom: 0;
    left: 0;
}

.header-pc-warp ul li a {
    color: #fff;
    display: flex;
    align-items: center;
    height: 100%;
}

.website-header {
    background-color: #2B2B37;
    display: flex;
    justify-content: center;
}

.website-header>img {
    position: fixed;
    left: 8.875rem;
}

/* 移动端头部 */
.header-m-warp {
    height: 5.75rem;
    padding: 0 2.5rem;
    box-sizing: border-box;
    display: none;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    transition: all 0.5s;
    box-sizing: border-box;
}

.header-m-warp.float {
    background-color: #2B2B37;
    box-shadow: 0px 10px 20px 0px rgba(197, 16, 48, 0.051);
}


.header-m-warp img {
    width: 16.5rem;
    height: auto;
    object-fit: cover;
}





.custom-footer {
    height: 44.25rem;
    background-color: #2B2B37;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    color: #fff;
}

.custom-footer .company-warp {
    display: flex;
    width: 63rem;
    padding-top: 6.5rem;
}

.custom-footer .company-info-warp {
    width: 63rem;
    padding-top: 6.5rem;
    display: grid;
    grid-template-columns: 50% 50%;
    column-gap: 10rem
}

.form-warp {
    width: 63rem;
    padding-top: 6.5rem;
}

.form-warp .form-item {
    display: flex;
    align-items: center;
    border-bottom: 0.01rem solid #FFFFFF;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.form-warp .form-item label {
    flex-shrink: 0;
    margin: 0 0.5rem 0 0;
}

.form-warp .form-item .form-control {
    background-color: transparent !important;
    border: none;
    color: #fff;
    padding: 0 0.5rem;
    border-radius: 0;
}

.form-warp .form-item .form-control:focus {
    outline: none;
    box-shadow: none;
}

.form-warp button[type='submit'] {
    width: 9rem;
    height: 2.375rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-color: #fff;
    border-radius: 0;
    margin-top: 1.2rem;
}



.panel-section {
    padding: 0 19.75rem 6.5rem;
    color: #080403;
    background-color: #F9F9F9;
}

.section-title {
    text-align: center;
    line-height: 1;
    font-size: 1.875rem;
    padding: 6.5625rem 0;
}


/* 表单返回样式调整 */
.form-alert {
    width: 100%;
    text-align: center;
    padding: 3.75rem 0;
    font-size: 1.125rem;
    border-radius: 0.625rem;
}

.form-alert-success {
    background-color: #C51030 !important;
    color: #fff !important;
}

.form-alert-failure {
    background-color: transparent !important;
    color: #fff !important;
}



/* 浮动侧边栏 */
.float-side-warp {
    width: 3.125rem;
    height: 15.625rem;
    position: fixed;
    top: 40%;
    right: 0;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: -3px 3px 9px rgba(0, 0, 0, 0.08);
}

.float-side-warp .float-item {
    width: 100%;
    height: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    background-color: #C51030;
    border: none;
}

.float-side-warp .float-item a span {
    display: none;
}

.float-side-warp .float-item:hover {
    background-color: #fff;
}

.float-side-warp .float-item:hover:not(:last-of-type) i {
    display: none;
}

.float-side-warp .float-item:hover span {
    display: inline-block;
    font-weight: bold;
}

.float-side-warp .float-item:hover a,
.float-side-warp .float-item:hover i {
    color: #C51030;
}

.float-side-warp .float-item a {
    width: 100%;
    height: 100%;
    display: flex;
    margin: 0 0.4rem;
    text-align: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    align-items: center;
    box-sizing: content-box;
}

.float-side-warp .float-item:last-of-type a {
    border: none;
}

.float-side-warp .float-item .iconfont {
    font-size: 1.5rem;
    color: #fff;
}

.float-side-warp .dropdown:hover .dropdown-panel {
    display: block;
}

/* 自定义下拉面板样式 */
.float-side-warp .dropdown-panel {
    display: none;
    position: fixed;
    z-index: 999;
    width: 11.5rem;
    height: 14rem;
    right: 3.125rem;
    background-color: #fff;
    /* box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.102); */
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.302);
    top: 60%;
    transform: translateY(-8.4rem);
}


.float-side-warp .qrcode-warp {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.float-side-warp .qrcode-warp p {
    font-size: 0.75rem;
    margin-top: 0.625rem;
    text-align: center;
}

.float-side-warp .qrcode-warp img {
    width: 7.25rem;
    height: 7.25rem;
    object-fit: contain;
}

.float-side-warp .telphone-warp {
    height: 100%;
}

.float-side-warp .telphone-warp .telphone-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 50%;
    margin: 0 1.5rem;
}

.float-side-warp .telphone-warp .telphone-item:first-of-type {
    border-bottom: 1px dashed #E3E3E3;
}


.float-side-warp .telphone-warp .content {
    width: 100%;
    font-size: 1rem;
    color: #C51030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.25rem;
    font-weight: bold;
}

.float-side-warp .telphone-warp .content i {
    display: inline-block !important;
    color: #C51030;
    font-size: 1.2rem;
}

.float-side-warp .telphone-warp .tip {
    width: 100%;
    font-size: 0.5rem;
    white-space: nowrap;
    margin-top: 0.1rem;
}

.float-side-warp .telphone-warp .telphone-item:last-of-type .tip {
    margin-left: -4px;
}



@media screen and (max-width: 680px) {

    /* 页面级 */
    .page {
        padding-top: 5rem;
    }

    .header-pc-warp {
        display: none;
    }

    .header-m-warp {
        display: flex;
    }

    .dropdown-menu {
        padding: 1rem 0;
        top: 2rem !important;
        border-radius: 0.625rem;
    }

    /* 向上三角 白色 */
    .dropdown-menu::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        transform: translate(-2.4rem, -100%);
        border-width: 0.8rem;
        border-style: solid;
        border-color: transparent transparent #fff transparent;
    }


    .dropdown-menu .dropdown-item {
        padding: 1rem 2rem;
        font-size: 1rem;

    }

    .dropdown-toggle:after {
        content: none;

    }

    /* banner部分 */
    .custom-carousel .carousel-inner .benner-content {
        padding: 0 2rem !important;
        overflow: hidden;
    }

    .custom-footer {
        padding: 0 2rem 4rem;
        height: auto;
    }

    .form-warp,
    .custom-footer .company-info-warp,
    .custom-footer .company-warp {
        width: 100%;
    }

    .custom-footer .company-warp {
        display: flex;
        flex-direction: column;
    }

    .custom-footer .company-warp .share-warp {
        margin: 2rem 0 0 !important;
    }

    .custom-footer .company-info-warp {
        grid-template-columns: 100%;

    }

    .custom-footer .company-info-warp {
        column-gap: 2rem;
        padding-top: 2rem;
    }

    .form-warp {
        padding-top: 2rem;
    }
}