﻿:root {
    --wpPaddingNum: 8vw;
    --wpPadding: 0 var(--wpPaddingNum);
    --wpContPaddingNum: 0;
    --wpContPadding: 0 var(--wpContPaddingNum);
    --themeColor: #1f6ebf;
    --themeColor2: #ef9c00;
    --themeActColor: #3d91d6;
    margin: 0;
    padding: 0;
    /* 默认字体大小 */
    font-size: 1vw;
    /* 导航高度 */
    --headerHeight: 4.9rem;
    /* 手机导航高度 */
    --headerMbHeight: 4rem;
    /* 灰色字体颜色 */
    --gary: #9b9b9b;
    /* 未选择按钮渐变色 */
    --noBtnBgColor: linear-gradient(to right, #e8e8e8, #cbcbcb);
    /* 选中按钮渐变色 */
    --btnBgColor: linear-gradient(to right, #ec2c34, #c80a14);
    /* 图片反白 */
    --imgWhite: brightness(0) invert(1);
    /* 图片变黑 */
    --imgBlack: brightness(0);
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    outline: none;
}

input {
    outline: none;
    border: none;
}

html {
    overflow-x: hidden;
}

body {
    color: #313131;
    /* 字体 */
    font-family: "PingFang SC", "Arial", "Microsoft YaHei", "微软雅黑", "Microsoft YaHei UI", "sans-serif";
    line-height: 1.5;
    font-size: var(--f16);
    font-weight: normal;
    font-style: normal;
}

article {
    padding: 1px;
}

.layui-form-select dl dd.layui-this {
    color: var(--themeColor);
}

.layui-input-suffix {
    padding: 0;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: bold;
}

em {
    font-style: normal;
}


/* div,
li {
	font-size: 0;
} */

li {
    list-style: none;
}

a {
    text-decoration: none;
    cursor: pointer;
    transition: color .3s;
    color: inherit;
}

a * {
    /* transition: color .5s; */
}

a:hover {
    color: var(--themeActColor);
}

::after,
::before {
    transition: all .3s;
}

i::after,
i::before {
    transition: none;
}

button {
    border: none;
    cursor: pointer;
}


/* 鼠标拖尾动画 */

.beneath {
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
}


/* 轮播 */

.wp .swiper-button-white {
    background: #fff;
    box-shadow: 0px 0px 35px rgba(186, 186, 186, 0.26);
    width: 0.2875rem;
    height: 0.2875rem;
}

.swiper-button-white i {
    color: #747474;
    font-size: var(--f16);
}

.swiper {
    width: 100%;
    height: 100%;
    transition: none !important;
}


/* 图片 */

img {
    /* width: 100%;
	height: 100%; */
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.img-db {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.img-db-hover:hover .img-db img,
.img-db:hover img {
    transform: scale(1.1);
}

.img-db::after {
    display: block;
    content: '';
}

.img-db img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s;
}


/* 滚动条 */

::-webkit-scrollbar {
    width: 3px;
    height: 3px;
    background-color: #F5F5F5
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #E2E2E2
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--themeColor)
}


/* 主体部分 */

.wp {
    width: 100%;
    padding: var(--wpPadding);
}

.wp-cont {
    width: 100%;
    padding: var(--wpContPadding);
}


/* 文字选中 */

::selection {
    color: #fff;
    background-color: var(--themeColor);
}


/* 定位 */

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}


/* 弹性布局 */

.flex {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-start {
    align-items: start;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: flex-end;
}

.just-center {
    justify-content: center;
}

.just-end {
    justify-content: end;
}

.just-between {
    justify-content: space-between;
}

.just-around {
    justify-content: space-around;
}

.just-item-center {
    justify-items: center;
}

.ver-center {
    display: flex;
    align-items: center;
}

.num-font {}

.nav-font {}

.en-font {}

.counter {}


/* 文字大小 */

.f14 {
    font-size: var(--f14) !important;
}

.f16 {
    font-size: var(--f16) !important;
}

.f18 {
    font-size: var(--f18) !important;
}

.f20 {
    font-size: var(--f20) !important;
}

.f22 {
    font-size: var(--f22) !important;
}

.f23 {
    font-size: var(--f23) !important;
}

.f26 {
    font-size: var(--f26) !important;
}

.f30 {
    font-size: var(--f30) !important;
}

.f55 {
    font-size: var(--f55) !important;
}

.f70 {
    font-size: var(--f70) !important;
}

.f120 {
    font-size: var(--f120) !important;
}

.f-bold {
    font-weight: bold;
}


/* 文字颜色 */

.color-white {
    color: #fff !important;
}

.color-black {
    color: #000 !important;
}

.color-subtitle {
    color: #828282 !important;
}

.color-subtitle-light {
    color: #b9b9b9 !important;
}

.color-subtitle-dark {
    color: #73747c !important;
}

.color-title {
    color: #343333 !important;
}

.color-theme {
    color: var(--themeColor) !important;
}


/* 背景相关 */


/* 通用背景自适应 */

.bgimg-cover {
    background-size: cover;
    background-repeat: no-repeat;
}


/* 宫格布局 */

.grid {
    display: grid;
}

.grid-column-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-column-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-column-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-column-5 {
    grid-template-columns: repeat(5, 1fr);
}

.grid-rows-2 {
    grid-template-rows: repeat(2, 1fr);
}

.grid-rows-3 {
    grid-template-rows: repeat(3, 1fr);
}


/* 其他 */

.mobile {
    display: none;
}

.pc {
    display: inherit;
}

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

.d-block {
    display: block;
}

.over-hidden {
    overflow: hidden;
}

.ep1 {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

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


/* 宽高 */

.full-100 {
    width: 100%;
    height: 100%;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.p-top {
    padding-top: 2rem;
}

.p-bot {
    padding-bottom: 2rem;
}

.p-top2 {
    padding-top: 4rem;
}

.p-bot2 {
    padding-bottom: 4rem;
}

.p-top3 {
    padding-top: 6rem;
}

.p-bot3 {
    padding-bottom: 6rem;
}

.p-top-nav {
    padding-top: var(--headerHeight);
}

.mt-1 {
    margin-top: 2rem;
}

.mt-2 {
    margin-top: 4rem;
}

.mt-3 {
    margin-top: 6rem;
}