:root {
    --one-level-font: 20px;
    --two-level-font: 18px;
    --three-level-font: 16px;
    --green: #1e5530;
    --light-green: #5c9833;
    --swiper-navigation-size: 20px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: inherit;
}
li {
    list-style: none;
}
img {
    max-width: 100%;
    vertical-align: middle;
}
#editContent *{
    margin: revert;
    padding: revert;
}
#editContent a{
    text-decoration: initial;
    color: initial;
}
#editContent li{
    list-style: initial;
}
.border {
    border: 1px solid;
}
.none {
    display: none;
}
.ellipsis-1 {
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
    white-space: nowrap;
}
.ellipsis-2 {
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.ellipsis-3 {
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.swiper{
    --swiper-theme-color: var(--green);
    --swiper-pagination-bullet-width: 15px;
    --swiper-pagination-bullet-height: 15px;
}
html{
    width: 100%;
    height: 100%;
}
body {
    width: 100%;
    height: 100%;
}
.content {
    max-width: 1300px;
    margin: auto;
}
.header .logo {
    max-width: 346px;
    flex: 100px;
}
.header .nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 10;
    color: #ffffff;
    font-size: var(--two-level-font);
}
.header .nav>a:not(:first-child) {
    padding: 20px 10px;
}
.header .nav>div {
    position: relative;
    cursor: pointer;
}
.header .nav>div>div {
    position: absolute;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    padding: 10px;
    right: 0;
}
.header .nav>div>div>a {
    display: block;
    margin-top: 10px;
    line-height: 20px;
}
.header .nav>div>div>a:hover {
    color: var(--green);
}
.header .nav>div:hover >div{
    display: block;
}
.banner img {
    width: 100%;
}

.main {
    min-height: calc(100% - 120px);
}

.card {

}

.card>div:nth-child(1) {
    border-bottom: 2px solid var(--green);
    color: var(--green);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px 0;
}

.card>div:nth-child(2) {
    padding-top: 20px;
}

.category>h1 {
    position: relative;
    background-color: var(--green);
    color: #fff;
    text-align: center;
    margin-top: 40px;
    padding: 50px 5px;
    font-size: 30px;
}
.category>h1:before {
    display: block;
    content: "";
    width: 20px;
    height: 70px;
    background-color: #5c9834;
    position: absolute;
    left: 10%;
    top: -40px;
}

.category>ul {
    color: var(--green);
    margin-top: 50px;
    font-size: 18px;
    border-top: 1px solid var(--green);
}
.category>ul>li {
    border-bottom: 1px solid var(--green);
    line-height: 50px;
    text-indent: 10%;
}
.category>ul>li a {
    display: block;
    cursor: pointer;
}
.category>ul>li>ul {
    font-size: 16px;
}
.category>ul>.category-tree>a:after {
    content: '>';
    float: right;
    margin-right: 20px;
}
.category .checked-category {
    background-color: var(--light-green);
    color: #fff;
}

.category>ul>.category-tree-show>a:after {
    rotate: 90deg;
}

.category>ul>.category-tree-show ul{
    display: block!important;
}

.breadcrumb>a:not(:last-child):after {
    content: '>';
    color: var(--green);
    padding: 0 10px;
    font-weight: bold;
}

.list {
    margin-top: 50px;
}

.list>table {
    width: 100%;
    text-align: center;
    line-height: 40px;
    border-bottom: 1px solid var(--green);
}

.list>table th {
    border-top: 1px solid var(--green);
    border-bottom: 1px solid var(--green);
    color: var(--green);
}

.list>table td {
    border-bottom: 1px solid #e6e6e6;
}

.list>table td:nth-child(1) {
    width: 50px;
}
.list>table td:nth-child(2) {
}
.list>table td:nth-child(3) {
    width: 150px;
}
.list>table td:nth-child(4) {
    width: 100px;
}

.list2 {}

.list2>div:nth-child(1) {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.list2>div:nth-child(1)>a {
    flex-basis: 50%;
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.list2>div:nth-child(1)>a>img {
    width: 200px;
    height: 274px;
    object-fit: cover;
}

.list2>div:nth-child(1)>a>div {
    flex-basis: 50%;
}

.list2>div:nth-child(1)>a>div {
    text-align: center;
    color: gray;
}

.list2>div:nth-child(1)>a>div>h2 {
    text-align: center;
    font-size: var(--two-level-font);
    line-height: 30px;
    color: var(--green);
}
.detail>h1 {
    font-size: var(--two-level-font);
}

/* footer start */
.footer>div:nth-child(1) {
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
}
.footer>div:nth-child(1)>div {
    flex-basis: 30%;
}
.footer>div:nth-child(1)>div>h2 {
    color: var(--green);
    font-size: var(--one-level-font);
}
.footer>div:nth-child(1)>div>h2:after {
    margin-top: 10px;
    margin-bottom: 20px;
    display: block;
    content: "";
    height: 2px;
    border-left: 3vw solid var(--green);
    border-right: 15vw solid var(--green);
    background-color: #afafaf;
}

.footer>div:nth-child(1)>div:nth-child(1)>div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer>div:nth-child(1)>div:nth-child(1)>div>a {
    flex-basis: 30%;
}

.footer>div:nth-child(1)>div>div {
    line-height: 50px;
}

.footer>div:nth-child(2){
    background-color: var(--green);
    text-align: center;
    color: #cccccc;
    font-size: 14px;
    padding: 20px 0;
    line-height: 40px;
}

.footer>div:nth-child(1)>div:nth-child(3) img {
    max-height: 140px;
    margin-bottom: 40px;
    margin-left: -10px;
}
/* footer end */

.page {
    margin: 50px 0 100px;
}
.pagination {
    display: flex;
    justify-content: center;
}
.pagination>li {
    border: 1px solid #999999;
    border-radius: 50%;
    color: #999999;
    width: 36px;
    height: 36px;
    line-height: 35px;
    text-align: center;
    margin: 4px;
}

.pagination>.active {
    border: none;
    background-color: var(--green);
    color: #fff;
}

#move-top {
    display: none;
    border: none;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 10px;
    bottom: 140px;
    right: 1%;
    position: fixed;
    color: #fff;
    font-size: 16px;
    background-color: var(--green);
    text-align: center;
    z-index: 9999;
    cursor: pointer;
}
