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;
}

:root {
    --footer-bg-color: #2461b1;
    --background: #f7f7f7;
    --theme-color: #2461b1;
    --border-color: #ececec;
    --navbar-bg-color: #2461b1;
    --navbar-item-hover-bg-color: #1d5297;
    --navbar-item-space-line-color: #286dc9;
    --text-color: #333333;
    --text-gray: #666666;
    --container-width: 1300px;
    --header-container-height: 200px;
    --navbar-height: 54px;
    --space-size: 30px;
    --article-title-font-size: 24px;
    --article-list-font-size: 16px;
}


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

/*body {*/
/*    background: var(--background);*/
/*}*/

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

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

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

.space-bisect,
.space-trisection {
    display: flex;
    gap: var(--space-size);
}

.space-bisect .space-item {
    width: calc(50% - (var(--space-size) / 2));
}

.space-trisection .space-item {
    width: calc((100% / 3) - (var(--space-size) * 2 / 3));
}

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

.header {
    background: white;
    position: relative;
}

.header-container {
    height: var(--header-container-height);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 9999;
}

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

.header-container .logo-wrapper .site-name {
    font-size: 48px;
    font-weight: bold;
    font-family: "方正小标宋简体";
}

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

.navbar {
    background: var(--navbar-bg-color);
}

.navbar-container {
    display: flex;
}

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

.navbar-container .nav-item.active {
    background: var(--navbar-item-hover-bg-color);
}

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

.navbar-container .nav-item:hover {
    background: var(--navbar-item-hover-bg-color);
}

.navbar-container .nav-item::before,
.navbar-container .nav-item:last-child::after {
    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::after {
    left: auto;
    right: 0;
}

.navbar-container .nav-item:hover .sub-navs {
    display: block;
}

.navbar-container .nav-item .sub-navs {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 3px;
    display: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

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

.navbar-container .nav-item .sub-navs .sub-nav__item:hover {
    background: var(--background);
    color: var(--navbar-bg-color);
    border-radius: 3px;
}

.footer {
    background: var(--footer-bg-color);
}

.footer .footer-container {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
    min-height: 155px;
}

.contact-info {
    flex: 1;
    margin-left: 30px;
    padding-left: 30px;
    border-left: 1px solid var(--navbar-item-space-line-color);
    padding-top: 20px;
}

.flink {
    width: 500px;
}

.flink .head {
    display: flex;
    gap: var(--space-size);
    border-bottom: 1px solid var(--navbar-item-space-line-color);
}

.flink .head .item {
    color: #e8f1f8;
    padding-bottom: 10px;
}

.flink .head .item.active {
    color: white;
    border-bottom: 1px solid white;
}

.flink .flink-list-wrapper:not(:first-child) {
    display: none;
}

.flink-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-top: 10px;
}

.flink-list li a {
    color: #e8f1f8;
    font-size: 14px;
}

.flink-list li a:hover,
.contact-info .item a:hover {
    color: white;
    text-decoration: underline;
}

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

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

.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-container .crumbs {
    color: #999999;
    display: flex;
    font-size: 15px;
}

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

.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, .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.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: '微软雅黑';
    line-height: 40px;
    font-weight: bold;
    position: relative;
    top: -10px;
}

.seal span {
    position: absolute;
    transform: rotate(-16deg);
    top: 130px;
    left: 50px;
    font-family: '微软雅黑';
    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;
}

.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;
}
