﻿@charset "UTF-8";

:root{
    --varColor: #166A1F;
}

body,p,h1,h2,h3,h4,h5,h6,ul,li,dl,dt,dd,pre{
    margin:0;
    padding:0;
    border:none;
    list-style:none;
    box-sizing: border-box;
}
body{
    font-family: "microsoft yahei","Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    min-width: 1200px;
}
a{
    color: #333;
    text-decoration:none;
    transition: .3s;
}
a:hover{
    color: var(--varColor);
    text-decoration:none;
}
input,button{
    outline:0;
}
img{
    vertical-align: middle;
    border: 0;
    max-width: 100%;
    transition: .3s;
}
.img{
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}
.img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img:hover img{
    transform: scale(1.1);
}
table{
    max-width: 100%;
    border-collapse: collapse;
}
table tr th, table tr td{
    padding: 5px 10px;
    border: 1px solid gray;
}
.lf{
    float: left;
}
.rt{
    float: right;
}
.container{
    width: 1400px;
    margin: 0 auto;
    position: relative;
}
.container:before,
.container:after{
    content: '';
    display: table;
    clear: both;
}
.ellipsis{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.ellipsis2{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.flexCenter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.w1400 {
    width: 1400px;
}

/*头部*/
header {
    width: 100%;
    height: 200px;
    background: url('../img/bg.png');
}

.top-content {
    height: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right-home {
    display: flex;
    justify-content: right;
    align-items: center;
}

.right-search input[type="text"] {
    width: 360px;
    height: 44px;
    background: #fff;
    border-radius: 22px;
    border: 1px solid #fff;
    box-sizing: border-box;
    outline: 0;
    padding: 0 70px 0 10px;
}

.search-btn {
    width: 61px;
    height: 44px;
    background-color: #CB9C40;
    position: absolute;
    right: 0;
    top: 0;
    border-top-right-radius: 22px;
    border-bottom-right-radius: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

nav {
    border-top: 6px solid #E2D5A4;
    border-bottom: 2px solid var(--varColor);
    width: 100%;
    height: 60px;
}

/*导航栏*/
.nav{
    height: 60px;
}
.menu{
    display: flex;
}
.menu>li{
    position: relative;
    flex-grow: 1;
    font-size: 20px;
}
.menu>li>a{
    display: block;
    height: 60px;
    line-height: 60px;
    text-align: center;
}
.menu .second-menu{
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: rgba(18, 156, 79, .8);
    display: none;
    z-index: 999;
}
.menu .second-menu a{
    display: block;
    line-height: 50px;
    color: #fff;
    font-size: 18px;
    text-align: center;
}
.menu .second-menu a:hover{
    background: rgba(45, 99, 72,.8);
}
/*轮播图*/
#slide .swiper-slide img{
    width: 100%;
}
#slide .swiper-pagination{
    bottom: 5%;
}
#slide .swiper-pagination-bullet{
    width: 30px;
    height: 5px;
    background: #E6E6E6;
    border-radius: 0;
    opacity: 1;
}
#slide .swiper-pagination-bullet-active{
    background: orange;
}

/*尾部*/
footer {
    width: 100%;
    height: 200px;
    background: url('../img/copyright.png');
}

.footer-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 36px;
}

/*返回顶部*/
.toTop{
    position: fixed;
    right: 15px;
    bottom: -100px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    font-size: 24px;
    font-weight: bolder;
    font-family: '黑体';
    background: rgba(0,0,0,.6);
    border-radius: 5px;
    transform: rotate(90deg);
    cursor: pointer;
    transition: .3s;
    z-index: 99;
}
