﻿:root {
    --main-color: #000000;
    --hover-color: #3469ff;
    --border-color: #f8f8f8;
    --text-color: #666666;
    --white-color: #ffffff;
    --weight-color: #f8f9fa;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
} 

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--main-color);
    cursor: pointer;
}

a:hover,
a:focus {
    color: var(--hover-color);
    outline: none;
}

ul,
ol {
    list-style: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Ubuntu",
        "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans CN", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--border-color);
    background-position: center;
    background-size: cover;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font-size: 2em;
    font-weight: normal;
}

h2 {
    font-size: 1.5em;
    font-weight: normal;
}

h3 {
    font-size: 1.17em;
    font-weight: normal;
}

h4,
h5,
h6 {
    font-weight: normal;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

th,
td {
    border: 1px solid var(--border-color);
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}

th {
    background-color: var(--hover-color);
    color: var(--white-color);
    font-weight: normal;
}

label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: var(--main-color);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea {
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s ease;
    background-color: #fff;
    color: var(--main-color);
    resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: var(--hover-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(49, 134, 224, 0.3);
}

input[type="submit"],
button {
    font-family: inherit;
    background-color: var(--main-color);
    color: var(--white-color);
    padding: 12px 30px;
    font-size: 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: capitalize;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover,
button:hover,
input[type="submit"]:focus,
button:focus {
    background-color: var(--hover-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(49, 134, 224, 0.5);
}

input:disabled,
button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

blockquote {
    margin: 1em 0;
    padding-left: 1em;
    border-left: 4px solid var(--hover-color);
    color: var(--weight-color);
    font-style: italic;
}

code,
pre {
    font-family: monospace, monospace;
    background-color: #f5f5f5;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 90%;
}

hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2em 0;
}

/* reset */
.imgitem {
    position: relative;
    height: 0;
    padding-bottom: 50%;
}

.imgitem img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn {
    display: inline-block;
    background: linear-gradient(180deg, #ff4f5b 0%, #fb7a5f 100%);
    border: none;
    color: var(--white-color);
    padding: 10px 30px;
    text-transform: uppercase;
    text-align: center;
    overflow: hidden;
    font-size: 12px;
    border-radius: 5px;
}

.btn:hover {
    background: var(--hover-color);
    opacity: 0.9;
    color: var(--white-color);
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, .06);
}

.item-text-title {
    font-size: 15px;
    line-height: 20px;
    color: var(--main-color);
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-text-des {
    color: var(--des-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hovermove {
    transition: all 0.3s ease;
}

.hovermove:hover {
    transform: translateY(-10px);
}

.bgcolor {
    background: var(--white-color);
    padding: 15px;
}

.box {
    /* box-shadow: 0 0 15px 5px rgba(0, 0, 0, .05); */
    padding: 15px;
    border-radius: 10px;
}

.grid {
    display: grid;
    gap: 15px;
}

.grid2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid3 {
    grid-template-columns: repeat(3, 1fr);
}

.m30 {
    margin: 30px 0;
}

.p30 {
    padding: 30px 0;
}
.ps15{
    padding: 15px;
}
.btnlist {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.btnlist a:nth-child(2) {
    background: var(--hover-color);
    color: var(--weight-color);
}

.flex {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* swiper */
/* header */
#header{
    position: relative;
    z-index: 999999;
    background: var(--white-color);
    box-shadow: 0 0 16px rgba(0,0,0,.06);
}
.header {
    position: relative;
}

.logo {
    box-sizing: border-box;
    padding: 20px 0;
}

.logo a {
    display: flex;
}

.logo img {
    display: inline-block;
    max-height: 45px;
    margin: 0;
}

/* header */
/* layout */
/* main-title */
.main-title h2 {
    position: relative;
    font-size: 18px;
    font-weight: bold;
    color: var(--main-color);
}
/* main-title */
.index-content{
    border-radius: 10px;
}
.index-content-ul{
    display: flex;
    flex-direction: column;
    gap: 15px;
    counter-reset: item;
}
.index-content-ul>li{
    position: relative;
    border-radius: 10px;
}
.index-content-ul>li::before{
    counter-increment: item;
    content: counter(item);
    font-weight: bold;
    margin-right: 5px;
    color: #333;
    position: absolute;
    left: 0;
    top: 0;
    display: inline-block;
    padding: 3px 10px;
    background: #e8e8e8;
    border-radius: 10px 0 10px 0;
}
.index-content-ul>li:nth-child(1)::before{
    background: linear-gradient(126deg, rgba(221, 184, 146, 1) 0%, #bd9d5e 100%);
}
.index-content-ul>li:nth-child(2)::before{
    background: linear-gradient(126deg, rgba(211, 211, 211, 1) 0%, #aeaeae 100%);
}
.index-content-ul>li:nth-child(3)::before{
    background:linear-gradient(126deg, rgba(229, 203, 190, 1) 0%, #966f4c 100%);
}
.index-content-ul>li{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.index-item{
    width: 50%;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}
.index-img{
    width: 20%;
    flex-shrink: 0;
}
.index-text{
    flex: 1;
}
.index-text h3{
    font-size: 18px;
    color: var(--main-color);
}
.index-fen{
    text-align: center;
    border: 2px solid var(--border-color);
    background: var(--border-color);
    border-radius: 10px;
}
.index-fen span{
    font-size: 32px;
    font-weight: bold;
    color: #f60;
}
.star>i{
    color: #fcb213;
}
/* layout */
.hide {
    display: none;
}

/* flink */
.flink {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
/* flink */
/* footer */
#backToTop {
    position: fixed;
    bottom: 15px;
    right: 30px;
    display: none;
    background-color: var(--hover-color);
    border: 1px solid var(--white-color);
    color: var(--white-color);
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

.footer {
    background: #28282a;
    border-top: 3px solid #fcb213;
    padding: 15px 0;
    text-align: center;
}
.footer p{
    margin: 15px 0;
}
.footer a{
    color: var(--text-color);
}
.footer a:hover{
    color: var(--hover-color);
}
.footer-link{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
/* footer */
.yxlist>li{
    justify-content: center;
    align-items: center;
    text-align: center;
}
.yxlist>li>.yw-img img{
    max-width: 100px;
}
.zxlist>li>a:hover{
    color: inherit;
}
.zxlist .yw-img{
    flex-shrink: 0;
}
.zxlist .yw-text h3{
    font-size: 16px;
}
.topmain-text h1{
    font-size: 24px;
    font-weight: bold;
    color: var(--main-color);
}
.topmain-fen{
    text-align: center;
}
.topmain-fen>span{
    font-size: 30px;
    font-weight: bold;
    color: #f60;
}
/* crumb */
.crumb {
    background: var(--white-color);
    padding: 15px;
    border-radius: 5px;
}

.crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.crumb a {
    display: inline-block;
    text-transform: capitalize;
}

.crumb a:hover {
    color: var(--hover-color);
}

/* crumb */
/* pagnavi */
.pagnavi {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagnavi a {
    display: inline-block;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    margin: 5px 0;
    background: var(--white-color);
    color: var(--text-color);
    text-transform: capitalize;
}

.pagnavi a:hover {
    background: var(--main-color);
    color: var(--white-color);
}

.pagnavi .current {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px 0;
    background: var(--hover-color);
    color: var(--white-color);
}

/* pagnavi */
/* single products */
.single-title {
    background: var(--white-color);
    padding: 15px;
    border-radius: 5px;
}

.single-title h1 {
    font-weight: 700;
    font-size: 30px;
    line-height: 45px;
    color: var(--main-color);
    margin-bottom: 15px;
}

.single-title .info {
    display: flex;
    align-items: center;
    padding: 0;
}

.single-title .info>li {
    box-sizing: border-box;
    margin: 0 20px 0 0;
    list-style: none;
}

.single-title .info span {
    font-weight: bold;
    margin-right: 5px;
}

.single-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.single-arc {
    background: var(--white-color);
    border-radius: 5px;
}

.single-arc h2 {
    color: var(--main-color);
    font-weight: 700;
    font-size: 18px;
}

.single-arc h3 {
    color: var(--main-color);
    font-weight: 700;
    font-size: 16px;
}

.single-arc h4 {
    color: var(--main-color);
    font-weight: 700;
    font-size: 14px;
}

.single-arc img {
    display: block;
    width: inherit;
    margin: 0 auto;
}

.single-arc p img {
    margin: 0 auto;
}

.single-arc table p {
    margin: 0;
}

.single-arc iframe {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.single-arc ul,
.single-arc ol {
    padding-left: 25px;
}

.single-arc li {
    margin: 15px 0;
    list-style-type: disc;
}

.single-arc a {
    color: var(--hover-color);
}

.single-arc a:hover {
    color: var(--main-color);
}
.dm{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.dm a{
    color: var(--white-color);
}
/* single products */
/* single blog */
.single-table {
    overflow-x: auto;
    width: 100%;
}

/* single blog */
/* rel */
.rel-ul .wy-text {
    padding: 0 10px;
    text-align: center;
}

.rel-ul .wy-text h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* rel */
/* 404 */
.page404 {
    text-align: center;
}

.page404 h1 {
    font-size: 100px;
    font-weight: 700;
    color: var(--hover-color);
    margin-bottom: 30px;
}

.page404 p {
    margin-bottom: 30px;
}

.footlinks {display:none;}
/* 404 */