input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

select,
button,
input,
textarea {
    outline: none;
}

ul,
ol,
li {
    list-style: none;
}

@keyframes popFadeIn {
    from {
        opacity: 0;
        transform: translate3d(0, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, -50%, 0);
    }
}

:root {
    --footer-bg-color: #3e4148;
    --background: #f7f7f7;
    --theme-color: #f29838;
    --border-color: #ececec;
    --text-primary: #eb5449;
    --navbar-bg-color: #218af7;
    --navbar-item-hover-bg-color: #ffffff;
    --navbar-item-space-line-color: #cecece88;
    --text-color: #555555;
    --text-gray: #666666;
    --container-width: 1300px;
    --header-container-height: 205px;
    --navbar-height: 54px;
    --space-size: 20px;
    --article-title-font-size: 24px;
    --article-list-font-size: 16x;
}

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

body {
    background: var(--background);
    min-width: 1400px;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: var(--text-color);
}

.space-row {
    margin-bottom: var(--space-size);
}

.space-col {
    margin-bottom: var(--space-size);
}

[class$="-container"] {
    max-width: var(--container-width);
    margin: 0 auto;
}

.header {
    width: 100%;
    position: relative;
    background: #fff;
}

.header-container {
    width: 100%;
    min-width: var(--container-width);
    height: 150px;
    display: flex;
    align-items: center;
    position: relative;
}

.header-container .logo-wrapper {
    display: flex;
    align-items: center;
}

.header-container .logo-wrapper .site-name {
    font-size: 48px;
    font-weight: bold;
}

.header-container .logo-wrapper .logo {
    width: auto;
    margin-right: 30px;
}

.navbar {
    background: linear-gradient(to right, #eb5449, #f3953b, #ee7047);
}

.navbar-container {
    display: flex;
    align-items: center;
}

.navbar-container .nav-item {
    flex: 1;
    height: var(--navbar-height);
    color: white;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.navbar-container .nav-item:hover {
    background: #ffffff;
}

.navbar-container .nav-item:hover .nav-item__text {
    color: var(--theme-color);
    border-top: 1px solid var(--theme-color);
}

.navbar-container .nav-item .nav-item__text::before {
    content: "";
    width: 1px;
    height: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--navbar-item-space-line-color);
}

.navbar-container .nav-item:last-child .nav-item__text::after {
    content: "";
    width: 1px;
    height: 50%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--navbar-item-space-line-color);
}

.navbar-container .nav-item.active .nav-item__text {
    color: var(--theme-color) !important;
}

.navbar-container .nav-item.active {
    background-color: #ffffff;
    border-top: 1px solid var(--theme-color);
}

.navbar-container .nav-item .nav-item__text {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 16px;
    font-weight: bold;
    box-sizing: border-box;
}

.navbar-container .nav-item:hover .sub-navs {
    max-height: 800px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-container .nav-item .sub-navs {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    opacity: 0;
    z-index: 9999;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    border-left: 1px solid var(--theme-color);
    border-right: 1px solid var(--theme-color);
    border-bottom: 1px solid var(--theme-color);
}

.navbar-container .nav-item .sub-navs .sub-nav__item {
    padding: 10px;
    display: block;
    color: var(--theme-color);
}

.navbar-container .nav-item .sub-navs .sub-nav__item:hover {
    background: #dddddd;
}

.footer {
    padding: 40px 0 30px;
    background: #3e4148;
}

.footer .footer-container {
    display: flex;
    gap: 30px;
}

.footer-main-content {
    flex: 1;
}

.footer-nav {
    display: flex;
    gap: 20px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav a {
    color: #fff;
}
.footer-nav a:hover,
.contact-info .item a:hover {
    color: var(--theme-color);
}

.contact-info .item {
    color: #d9d9d9;
    font-size: 13px;
}

.contact-info .item a {
    color: #ffff;
    font-size: 14px;
}

.contact-info .item + .item {
    margin-top: 10px;
}

.contact-image {
    display: flex;
    gap: 10px;
}

.contact-image .item {
    width: 70px;
    height: 70px;
    background: white;
}

.contact-image .item img {
    width: 100%;
    height: 100%;
    display: block;
}

.crumbs-container {
    padding: 15px 0;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e4e4e4;
}

.crumbs-container .name {
    font-size: 24px;
    font-weight: bold;
    color: var(--theme-color);
    position: relative;
    padding-left: 30px;
}

.crumbs-container .name::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--theme-color);
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    left: 0;
    top: 50%;
}

.crumbs {
    color: #999999;
    display: flex;
    font-size: 15px;
}

.crumbs .crumb-item + .crumb-item::before {
    content: ">";
    font-family: "iconfont";
    margin: 0 8px 0 5px;
}

.crumbs-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.crumbs-wrapper .name {
    font-size: 24px;
    /* font-weight: bold; */
    font-family: microsoft yahei ui, microsoft yahei;
}

.search {
    border: 1px solid var(--theme-color);
    border-radius: 4px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
}

.search input {
    width: 300px;
}

.search select,
.search input,
.search button {
    height: 40px;
    padding: 0 20px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search select {
    padding: 0 10px;
}

.search button {
    background: var(--theme-color);
    color: white;
    padding: 0 30px;
    cursor: pointer;
}

.search .search-form {
    display: flex;
}

/*message*/

.message {
    padding: 10px 20px;
    border-radius: 5px;
    position: fixed;
    top: -100%;
    left: 50%;
    color: #ffffff;
    z-index: 999;
    transform: translate(-50%, 0);
    box-shadow: 0 6px 30px 5px rgba(0, 0, 0, 0.05),
    0 16px 24px 2px rgba(0, 0, 0, 4%), 0 8px 10px -5px rgba(0, 0, 0, 8%),
    inset 0 0.5px 0 #dcdcdc, inset 0.5px 0 0 #dcdcdc, inset 0 -0.5px 0 #dcdcdc,
    inset -0.5px 0 0 #dcdcdc;
    display: flex;
    align-items: center;
    gap: 5px;
    background: white;
}

.message-success {
    color: #67c23a;
}

.message-error {
    color: #f76c6c;
}

.message-animation-show {
    top: 5%;
    transition: top 1s ease-out;
}

.message-animation-hide {
    top: -100%;
    transition: top 1s ease-out;
}

.seal {
    width: 240px;
    height: 240px;
    pointer-events: none;
    position: absolute;
    top: 30px;
    right: 60px;
    background: url("front/images/seal-HHQrAU3.png") center center no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal div {
    height: 40px;
    width: 100%;
    text-align: center;
    font-size: 32px;
    color: #f40101;
    transform: rotate(-16deg);
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    line-height: 40px;
    font-weight: bold;
    position: relative;
    top: -10px;
}

.seal span {
    position: absolute;
    transform: rotate(-16deg);
    top: 130px;
    left: 50px;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    color: #f40101;
    font-size: 12px;
}

.result-container {
    min-height: 400px;
    height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.result-bg-img {
    width: 200px;
    color: #0052d9;
}

.result-title {
    font: 20px / calc(16px + 8px) PingFang SC, Microsoft YaHei, Arial Regular;
    font-style: normal;
    margin-top: 16px;
    color: rgba(0, 0, 0, 0.9);
}

.result-tip {
    margin: 8px 0 32px;
    font: 14px / calc(14px + 8px) PingFang SC, Microsoft YaHei, Arial Regular;
    color: rgba(0, 0, 0, 0.6);
}

.result-back-btn {
    color: white;
    font: 14px / calc(14px + 8px) PingFang SC, Microsoft YaHei, Arial Regular;
    background: #0052d9;
    height: 32px;
    line-height: 32px;
    padding: 0 15px;
    border-radius: 3px;
}

.top-links {
    position: absolute;
    right: 0;
    top: 15px;
}

.top-links .list {
    display: flex;
    gap: 15px;
}

.top-links .list a {
    font-size: 14px;
    color: #333;
    display: block;
    /* padding: 0 20px; */
    line-height: 14px;
}

.top-links .list a + a {
    border-left: 1px solid var(--border-color);
}

.top-links .list a:hover {
    /* text-decoration: underline; */
    color: #333333;
}

.fixed-qrcode {
    position: fixed;
    top: 295px;
    right: 165px;
    background: var(--theme-color);
    padding: 10px;
    /* border: 1px solid #e4e4e4; */
    z-index: 999999;
    width: 120px;
}

.fixed-qrcode .item {
    width: 100px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fixed-qrcode .item + .item {
    border-top: 1px solid var(--border-color);
    padding-top: 13px;
    margin-top: 13px;
}

.fixed-qrcode .item span {
    font-size: 12px;
    margin-top: 10px;
    color: #ffffff;
}

.fixed-qrcode .item .icon {
    width: 100px !important;
    height: auto;
    display: block;
}

.fixed-qrcode .item .popover {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -190px;
    background: #fff;
    padding: 10px;
    text-align: center;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.25);
}

.fixed-qrcode .item .popover::after {
    content: "";
    border: 8px solid transparent;
    border-left-color: #fff;
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -8px;
    right: -16px;
}

.fixed-qrcode .item .popover > img {
    width: 150px;
    height: 150px;
    display: block;
    margin-bottom: 5px;
}

.fixed-qrcode .item:hover .popover {
    display: block;
    animation: popFadeIn 0.5s;
}

.header-swiper {
    width: 100%;
    height: 200px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.header-swiper .swiper-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat no-repeat;
}

.tip-bar {
    color: white;
}

.tip-bar-container {
    background: #c7e1f8;
    padding: 10px 15px;
    color: #687683;
}

.article-warning {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    gap: 10px;
    color: #666666;
}

.banner-swiper {
    height: 450px;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    display: block;
}