﻿*
{
    margin: 0;
    padding: 0;
}
body
{
    padding: 0;
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px !important;/*定义基础的字体大小，为em单位作为参考系*/
}

/*以下为head部分样式*/
.header
{
    width:100%;
    margin: 0 auto;
    font-size: 1em;
}
.header-content
{
    background: -webkit-linear-gradient(to bottom,rgba(211,211,211,1) 0%,rgba(187,187,187,0.8) 3%,rgba(161,161,161,0.8) 5%,rgba(221,221,221,0.6) 60%,rgba(211,211,211,0.6)100%); /* Safari 5.1 - 6 */
    background: -o-linear-gradient(top,rgba(211,211,211,1) 0%,rgba(187,187,187,0.8) 3%,rgba(161,161,161,0.8) 5%,rgba(221,221,221,0.6) 60%,rgba(211,211,211,0.6)100%); /* Opera 11.1 - 12*/
    background: -moz-linear-gradient(top,rgba(211,211,211,1) 0%,rgba(187,187,187,0.8) 3%,rgba(161,161,161,0.8) 5%,rgba(221,221,221,0.6) 60%,rgba(211,211,211,0.6)100%); /* Firefox 3.6 - 15*/
    background: linear-gradient(to top,rgba(211,211,211,1) 0%,rgba(187,187,187,0.8) 3%,rgba(161,161,161,0.8) 5%,rgba(221,221,221,0.6) 60%, rgba(211,211,211,0.6)100%); /* 标准的语法 */
    line-height: 2em;
    padding: 0;
    height: 2em;
    position: relative;
    margin: 0 auto;
    background-size: 100% 100%;
    width: 100%;

}
.header-content>div
{
    margin: 0 auto;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    box-sizing: border-box;
}
.header-content a
{
    text-decoration: none;
    margin: 0 1em;
    color: red;
}
.header-content a:visited
{
    color: black;
}
.header-content a:hover
{
    color: red;
    text-decoration: underline;
}
.header-content-left
{
    width: 50%;
    display: flex;
    display: -webkit-flex;
    justify-content: flex-start;
}
.header-content-right
{
    width: 50%;
    display: flex;
    display: -webkit-flex;
    justify-content: flex-end;
}

.header-banner
{
    position: relative;
    z-index: -100;
    padding: 0;
    width: 100%;
    margin: 0 auto;
    background-image: url("/images/banner_bg3.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position:center;
    animation: gradientBG 300s linear infinite;
    -moz-animation: gradientBG 300s linear infinite;
    -webkit-animation: gradientBG 300s linear infinite;
}
.header-banner>div
{
    margin: 0 auto;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    flex-wrap: nowrap;
}


@keyframes gradientBG{
    0% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 500% 50%;
    }
}
@-webkit-keyframes gradientBG{
    0% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 500% 50%;
    }
}
@-moz-keyframes gradientBG{
    0% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 500% 50%;
    }
}
.header-banner-title
{
    padding: 0;
    width: 50%;
    height: 15em;
    margin: 0;
    background-size: 95% auto;
    background-position: center right;
    background-repeat: no-repeat;
    background-image: url("/images/cl_hb.png");
}

.header-banner-img
{
    z-index: -10;
    padding: 0;
    width: 50%;
    margin: 0;
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-image: url("/images/kwbg.png");
}
.header-banner-ticktock
{
    position: relative;
    z-index: -9;
    height: 15%;
    width: 15%;
    margin: 0;
    left: 80%;
    top: 20%;
    background-size:auto 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("/images/haiou1.png");
}
.header-banner-ticktock2
{
    position: relative;
    z-index: 2;
    padding: 0;
    left: 10%;
    top: 50%;
    height: 40%;
    width: 15%;
    margin: 0;
    background-size: auto 100%;
    background-position: top left;
    background-repeat: no-repeat;
    background-image: url("/images/haiou2.png");
}
/*以上为head样式*/

.main-container {
    width:100%;
    margin: 0 auto;
    padding: 0;
    font-size: 1em;
}
.nav
{
    background: -webkit-linear-gradient(to bottom,rgba(30,0,174,0.8) 1%,rgba(28,63,157,1) 5%,rgba(28,63,157,1) 88%, rgba(28,63,157,0.95)96%,rgba(38,38,38,0.8)100%); /* Safari 5.1 - 6 */
    background: -o-linear-gradient(top,rgba(30,0,174,0.8) 1%,rgba(28,63,157,1) 5%,rgba(28,63,157,1) 88%, rgba(28,63,157,0.95)96%,rgba(38,38,38,0.8)100%); /* Opera 11.1 - 12*/
    background: -moz-linear-gradient(top,rgba(30,0,174,0.8) 1%,rgba(28,63,157,1) 5%,rgba(28,63,157,1) 88%, rgba(28,63,157,0.95)96%,rgba(38,38,38,0.8)100%); /* Firefox 3.6 - 15*/
    background: linear-gradient(to top,rgba(30,0,174,0.8) 1%,rgba(28,63,157,1) 5%,rgba(28,63,157,1) 88%, rgba(28,63,157,0.95)96%,rgba(38,38,28,0.8)100%); /* 标准的语法 */
    width:100%;
    padding: 0;
    margin: 0 auto;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
}
.nav>ul
{
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}


.nav>ul>li
{
    height: 4em;
    line-height: 4em;
    font-size: 1.2em;
    width: 100%;
    text-align: center;
    position: relative; /*设置这个位置参数是因为下级标签需要一个父定位*/
    padding: 0;
    margin: 0;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav>ul>li>a
{
    text-decoration: none;
    display: inline-block;
    width: 99%; /*这里空间%99是为了留给下一个span分隔用1%的空间*/
    font-weight: bold;
    height: 100%;
    line-height: 4em;
    text-align: center;
    color: white;
    padding: 0;
    margin: 0;
    cursor: pointer;
}
.nav>ul>li:hover
{
    background-color: #004f9f;
}

.nav>ul>li>a:hover
{
    background: linear-gradient(to right,rgba(0,231,0,0.8) 0%,rgba(91,191,191,0.6) 50%, rgba(0,231,0,0.8)100%) no-repeat bottom center/100% 5%;
}

.nav-item-span
{
    display:inline-block;
    width:1%;/*这里主菜单项分隔用1%的空间*/
    height: 100%;
    float: right;
    background-image: url("/images/nav-topic-bg1.png");
    background-repeat: no-repeat;
    background-position: center;
}

.nav-item-content
{
    list-style-type: none;
    width: 100%;
    position: relative;    /*绝对定位使其相对于上层的li的实现自动定位在li下*/
    display: none;
    justify-content: center;
    flex-flow: row wrap;
    margin: 0;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);
    z-index: 10;/*使下拉列表显示在界面最上层*/
}
.nav>ul>li:hover .nav-item-content/*这是样式的级联，hover即可子元素的状态*/
{
    display: flex;
    display: -webkit-flex;
}
.nav-item-content:hover
{
    /*这是为了实现下级hover的时候上标签显示下边沿*/
    border-top: 3px solid rgb(91,191,191);
    top:-3px;
}
.nav-item-content>li
{
    padding: 0;
    margin: 0;
    width: 100%;
    line-height: 2em;
    height: 2em;
    display: inline-block;
}

.nav-item-content>li>a
{
    display: inline-block;
    width: 100%;
    line-height: 2em;
    height: 2em;
    text-decoration: none;
    background-color: lavender;
    color: #004f9f;
    padding: 0;
    margin: 0;
    cursor: pointer;
}
.nav-item-content>li>a:hover
{
    color: white;
    background-color: #004f9f;
}

.welcome
{
    width: 100%;
    margin: 0 auto;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0.2em 0.5em;
    height: 2.5em;
    line-height: 2.5em;
    box-sizing: border-box;
    position: relative;
}
.welcome-title
{
    padding: 0;
    margin: 0;
    height: 100%;
    width: 70%;
}
.welcome-content
{

    height: 100%;
    width: 30%;
    display: flex;
    display: -webkit-flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
}
.search-box
{
    height: 100%;
    display: flex;
    display: -webkit-flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    border: none;
    border-radius: 0.2em;
    background-color: rgb(46, 154, 208);
}
.search-input
{
    height: 100%;
    border: 0;
    background: 0 0;
    text-align: left;
    min-width: 15em;
    text-indent: 2em;
    color: white;
    flex-grow: 1;
}
.search-button
{
    width: 15% !important;
    cursor: pointer;
    height: 100% !important;
    padding: 0 0.5em!important;
    margin: 0!important;
    background-color: #2e9ad0!important;
    border: none!important;
    color: white!important;
}
.search-button>i
{
    /*padding: 0.2em 1em;*/
    display: block!important;
    cursor: pointer;
    height: 100%!important;
    width: 100%!important;
}
.search-button:hover
{
    background-color: chocolate!important;
}
.hr
{
    width: 100%;
    height: 1px;
    margin: 0 auto;
    background-color: #2e9ad0;
}
.footer
{
    width: 100%;
    margin: 0 auto;
}

/*以下是页尾样式*/
.footer
{
    width: 100%;
    margin: 0 auto;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
}
.footer>div
{
    width: 100%;
}
.footer-link
{
    margin: 0.1em 0;
    font-size: 0.85em;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
    height: auto;
}
.footer-link-img
{
    min-width: 20%;
    height: 2em;
    flex-shrink: 0;
    background-image: url("/images/yq_link.jpg");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.footer-link-option
{
    flex-grow: 1;
    height: 2em;
}
.footer-link-option>label>select
{
    width: 100%;
    text-align: center;
    height: 2em;
    line-height: 100%;
    border: 1px solid silver;
    border-radius: 1px;
    box-sizing: border-box;
}
.footer-link-option>label>select>option
{
    text-align: center;
}
.footer-hr
{
    height: 0.5em;
    width: 100%;
    background: linear-gradient(to right,rgba(0,0,211,0.8) 0%,rgba(91,191,191,0.6) 50%, rgba(0,231,0,0.8)100%); /* 标准的语法 */
}
.footer-bg
{
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    flex-wrap: nowrap;
    background-color: #c7ddef;
    width: 100%;
    box-sizing: border-box;
    padding: 1em;
}
.footer-biaozhi
{
    width: 30%;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    flex-wrap: nowrap;
}
.footer-contact
{
    width: 70%;
    display: flex;
    display: -webkit-flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 0.85em;
    padding-left: 2em;
    border-left: 1px solid silver;
}
.footer-contact>p
{
    width: 100%;
    margin: 0 1em 0.5em 0;
}
.footer-contact>p>span
{
    margin-right: 2em;
}
.top-notice
{
    width: 100%;
    margin: 0.2em auto 0 auto;
    display: flex;
    display: -ms-flex;
    display:-moz-flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    -webkit-align-items: center;
    flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
}
.top-notice>div
{
    margin: 0 auto!important;
    padding: 0;
    height: 2em!important;
    line-height: 2em!important;
}
.top-notice-title
{
    width: 15%;
    background-color: #2e9ad0;
    text-align: center;
    color: white;
    padding:0.4em 0 ;
    box-sizing: border-box;
}
.top-notice-item
{
    width: 75%;
    padding: 0 1em!important;
    box-sizing: border-box;
}
.top-notice-item>ul>li>span
{
    float: right;
}
.top-notice-item>ul>li>a:hover
{
    text-decoration: underline!important;
}

@media only screen and (min-width: 1200px) {/*大于1200的分辨率就把分辨率控制在1200px*/
    .header-banner>div,.header-content>div,.nav>ul,.main-content,.footer,.hr
    {
        width: 1200px;
    }
    .header,.main-container
    {
        font-size: 1em;
    }
    .welcome
    {
        width: 1200px;
        height: 2.5em;
        line-height: 2.5em;
    }
}

@media only screen and (max-width: 1100px) {
    .header-banner-title
    {
        height: 13em;
    }
    .header,.main-container
    {
        font-size: 1em;
    }
    .welcome
    {
        height: 2.2em;
        line-height: 2.2em;
    }
}
@media only screen and (max-width: 1000px) {
    .header-banner-title
    {
        height: 11em;
    }
    .header,.main-container
    {
        font-size: 0.9em;
    }
    .nav>ul>li
    {
        height: 3.8em;
        line-height: 3.8em;
        font-size: 1.2em;
    }
    .nav>ul>li>a {
        line-height: 3.8em;
    }
    .welcome
    {
        height: 2.1em;
        line-height: 2.1em;
    }
}
@media only screen and (max-width: 900px) {
    .header-banner-title
    {
        height: 10em;
    }
    .header,.main-container
    {
        font-size: 0.9em;
    }
    .welcome
    {
        height: 2em;
        line-height: 2em;
    }
}
@media only screen and (max-width: 800px) {
    .header-banner-title
    {
        height: 9em;
    }
    .header,.main-container
    {
        font-size: 0.8em;
    }
    .nav>ul>li
    {
        height: 3.5em;
        line-height: 3.5em;
        font-size: 1em;
    }
    .nav>ul>li>a {
        line-height: 3.5em;
    }
    .welcome
    {
        height: 2em;
        line-height: 2em;
    }
}
@media only screen and (max-width: 700px) {
    .header-banner-title
    {
        height: 8em;
    }
    .header,.main-container
    {
        font-size: 0.8em;
    }
    .nav-item-content>li
    {
        width: 50%;
    }
}
@media only screen and (max-width: 600px) {
    .header-banner-title
    {
        height: 7em;
    }
    .header,.main-container
    {
        font-size: 0.7em;
    }
    .nav>ul
    {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .nav>ul>li
    {
        width: 50%;
        border-bottom: 1px solid white;
    }
    .nav>ul>li
    {
        height: 2.5em;
        line-height: 2.5em;
        font-size: 1em;
    }
    .nav>ul>li>a {
        line-height: 2.5em;
    }
    .footer-link
    {
        flex-wrap: wrap;
    }
    .footer-link-img
    {
        width: 50%;
    }
}
@media only screen and (max-width: 500px) {
    .header-banner-title
    {
        height: 6em;
    }
    .header,.main-container
    {
        font-size: 0.7em;
    }
    .welcome-title
    {
        height: 2em;
    }
    .welcome-content
    {
        height: 2em;
        justify-content: center;
    }
    .welcome
    {
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
    }
}
@media only screen and (max-width: 400px) {
    .header-banner-title
    {
        height: 6em;
    }
    .header,.main-container
    {
        font-size: 0.6em;
    }
    .nav>ul>li
    {
        width: 100%;
    }

}

