﻿body {
    margin: 0;
    padding: 0;
    color: #4a4e55;
    font-size: 14px;
    font-family: 'Microsoft YaHei';
    max-width: 1920px;
    margin: auto;
    position:relative;
    background: #fff;
}
a {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

i{ font-style: normal; }
.clear{ clear: both; }

img{  border:0 none;/*去掉 IE10中 在a标签里的图片会显示的边框*/ }

/*
    初始化新标签的CSS  因为HTML5在默认情况下表现为内联元素，
    对这些元素进行布局我们需要利用CSS手工把它们转为块状元素方便布局
*/
.ie8 footer,.ie8 header,.ie8 nav{display:block}



.wrapper {
    width: 1200px;
    margin: auto;
}

/****** 页眉 ******/
header {
    height: 88px;
    line-height: 88px;
}

    header .logo {
        font-size: 24px;
        float: left;
    }

        header .logo img {
            vertical-align: middle;
        }

        header .logo span {
            margin-left: 18px;
            border-left: 1px solid #cacaca;
            padding-left: 18px;
        }

    header nav {
        float: right;
        height: 88px;
    }

        header nav a {
            font-size: 16px;
            color: #545a5e;
            padding: 0 4px;
            margin: 0 20px;
            display: inline-block;
            height: 84px;
        }

            header nav a.on, header nav a:hover {
                border-bottom: 4px solid #0d7377;
                color: #0d7377;
            }

header .menu {
    display: none;
    width: 105px;
    height: 88px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;

}
header .menu_ul {
    display: none;
    width: 188px;
    border-radius: 10px;
    font-size: 26px;
    line-height: 70px;
    background: #fff;
    -moz-box-shadow: 1px 1px 15px rgba(0,0,0,.5);
    -webkit-box-shadow: 1px 1px 15px rgba(0,0,0,.5);
    box-shadow: 1px 1px 15px rgba(0,0,0,.5);
    position: absolute;
    right: 20px;
    top: 73px;
    z-index: 2;
}
header .menu_ul li {
    border-bottom: 1px solid #eee;
    position: relative;
}
header .menu_ul li:last-child{ border-bottom: none; }
header .menu_ul .active a {
    color: #0d7377;
}
header .menu_ul li a {
    color: #44444c;
    display: inline-block;
    width: 100%;
    text-indent: 22px;
}



/****** 页脚 ******/
footer {
    color: #9fa0a0;
    background: #1b1b1b;
    height: 160px;
    margin-top: 70px;
}

    footer nav {
        height: 79px;
        line-height: 100px;
        padding: 0 4px;
    }

        footer nav a {
            color: #9fa0a0;
            font-size: 16px;
            margin-right: 30px;
        }

    footer .copyright {
        color: #9fa0a0;
        height: 80px;
        border-top: 1px solid #b5b5b5;
        line-height: 46px;
        padding: 0 4px;
        display: inline-block;
        font-size: 12px;
    }

        footer .copyright a {
            color: #9fa0a0;
            margin-left: 5px;
        }

    footer .logo {
        float: right;
        margin: 51px 58px 0 0;
    }

footer .copyright i{ display: none; }


/****** 正文 ******/
/*.banner { height: 520px; }*/
.banner img {
    width: 100%;
    /*height: 100%;*/
}
.banner img:first-child+img{ display: none; }


h1 {
    color: #0d7377;
    font-size: 30px;
    font-weight: lighter;
    text-align: center;
    padding: 60px 0 50px;
}

h5 {
    font-size: 18px;
    color: #34363a;
}

/****** 1600分辨率以下 ******/
@media screen and (max-width: 1500px) {
    .wrapper {
        width:1200px;
    }
    header nav a {
            margin: 0 10px;
        }
}

header .logo img:first-child+img{ display: none; }
footer .smallfoot{ display: none; }

/*945分辨率以下*/
@media (max-width: 945px){
    body{ font-size: 24px; }
    *{ -webkit-text-size-adjust: none; /*移动端字体大小异常*/ }
    a { -webkit-tap-highlight-color: rgba(0,0,0,0); }
    .wrapper {
        width: 640px; 
        /*padding: 0 40px;*/
    }
    h1 { padding: 55px 0 50px; font-size: 30px; }
    h5 { font-size: 28px; }


    /*header*/
    header{ 
        width: 100%; position: fixed; top: 0; left: 0; 
        background: #0d7377;  z-index: 3;
        /*background: rgba(22,23,43,.5); */
    }
    header .wrapper{ width: 640px; padding: 0; position: relative; }
    header .logo span,header nav,header .logo img:first-child{ display: none; }
    header .logo{ margin-left: 35px; }
    header .logo img:first-child+img{ display: block; margin: 16px 0;}
    header .menu{ display: block; }
    header .menu img {
        width: 36px;
        height: 28px;
        margin: 35px 0 0 39px;
    }

    /*footer*/
    footer .wrapper{ display: none; }
    footer .smallfoot{ display: block; text-align: center; background: #eee;}
    footer .smallfoot  .logo{  
        font-size: 26px; 
        line-height: 85px;  
        border-bottom: 1px solid #dcdcdc; 
        color: #2a303d; 
        float: none;
        /*background: #eee;*/
        margin: 0;
    }
    footer .smallfoot  .logo a{ color: #000; }
    footer .smallfoot  .xinxi{ 
        color: #78818a; font-size: 22px; 
        line-height: 1;  margin: 25px 0;
    }
    footer .smallfoot  .xinxi p{ margin-top: 15px; margin-bottom: 0;}
    footer .smallfoot  .cop{ 
        background: #2a303d; color: #565b67; 
        font-size: 18px; overflow: hidden;  
    }
    footer .smallfoot  .cop p{ margin: 35px 0; line-height: 1.6; color: #565b67;}
    footer .smallfoot  .cop a{ color: #565b67;}
    /*footer{ height: auto; }
    footer .logo{ display: none; }
    footer nav,footer .copyright{ margin: 0 15px; }
    footer nav{ margin-bottom: 23px; }
    footer nav a{ font-size: 26px; }
    footer nav a:last-child{ margin-right: 0; }
    footer .copyright{ 
        height: auto; font-size: 20px; line-height: 1.7; padding: 35px 0; text-align: center; 
    }
    footer .copyright i{ display: block; height: 0; }*/

    /*banner*/
    .banner{ margin: 88px auto 0; width: 640px; height: 400px; }
    .banner img:first-child{ display: none; }
    .banner img:first-child+img{ display: block; height: 100%; }
}