/* 初始化标签代码 */
body, h1, h2, h3, ul, li, p {
    margin: 0;
    padding: 0;
}

body {
    font: 14px / 1.7 Arial,
    "\5b8b\4f53";
}

h1, h2, h3 {
    font: bold 36px / 2 "\5fae\8f6f\96c5\9ed1";
}

h1 {
    padding: 0 20px;
    background: #333;
    color: #fff;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 16px;
}

ul, li {
    list-style-type: none;
}

.container {
    width: 1380px;
    margin: 0px auto;
}

a {
    text-decoration: none;
}

.img_center {
    text-align: center;
}

/* 头部 */
.header {
    padding: 5px 0px;
    height: 70px;
}

.header .container {
    display: flex;
}

.header .logo {
    flex: 1.5;
    height: 65px;
    overflow: hidden;
}

header .logo a {
    display: block;
}

.header .logo img {
    width: 100%;
}

.header .phone {
    flex: 3;
    text-align: center;
    font-size: 24px;
    color: #8d8c8c;
    margin-left: 15px;
}

.header .contact {
    flex: 1;
    display: flex;
}

.header .contact .contact_left {
    flex: 1;
    text-align: right;
    position: relative;
    right: 15px;
    top: 10px;
}

.header .contact .contact_left img {
    width: 50px;
}

.header .contact .contact_right {
    flex: 2;
    position: relative;
    top: 5px;
    left: 0px;
}

.header .contact .contact_right h3 {
    text-indent: 5px;
    font-size: 18px;
}

.header .contact .contact_right p {
    color: #439c37;
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
}

.clear {
    clear: both;
}

/* 导航栏 */
#menu {
    /* 背景与高度 */
    height: 65px;
}

#menu ul {
    display: flex;
}

#menu ul li {
    margin-left: 20px;
}

#menu ul li a {
    /* a标签转换为块状元素，设置字体 */
    display: block;
    line-height: 65px;
    font-size: 15px;
    color: black;
    font-family: sans-serif;
    text-decoration: none;
}

#menu ul li ul {
    /* 隐藏ul，绝对定位位置 */
    display: none;
    position: absolute;
    top: 45px;
    z-index: 100;
    background: #2ecc71;
}

#menu ul li:hover ul {
    display: block;
}

#menu ul li ul li {
    width: 100%;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, .3);
    background: #41A437;
}

#menu ul li ul li a {
    font-size: 16px;
    line-height: 40px;
}

#menu ul li:hover {
    border-bottom: 3px solid green;
}

#menu ul li a:hover {
    color: green;
}


/*底部*/
footer {
    background: #333333;
    font-size: 12px;
    color: #F5F5F5;
    line-height: 2;
    padding: 10px 0;
    text-align: center;
}

footer a {
    color: #F5F5F5;
}

footer a:hover {
    color: #b7b5b5;
}

/* 悬浮图窗 */
#top {
    /* 设置元素固定定位,距离左侧和底部各位50像素 */
    position: fixed;
    z-index: 5000;
    right: 50px;
    bottom: 50px;
    /* 设置元素的块状显示,如宽高为50像素,带有透明白色背景和白色边框 */
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    background: url('../images/icon.png') no-repeat 0 0;
    border: 1px solid rgba(255, 255, 255, .6);
    /* 设置文字样式 */
    text-align: center;
    padding-top: 25px;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    /* 设置鼠标指针为手型 */
    cursor: pointer;
    /* 初始化图层隐藏 */
    /* 设置为透明 */
    opacity: 0;
    /* 渐变效果 */
    transition: all 1s;
    -webkit-transition: all 1s;
}

#top.show {
    /* 设置不透明度 */
    opacity: 1;
}