﻿@charset "utf-8";
/*---------------------------------------------------------
header styles
---------------------------------------------------------*/

#header {
    font-size: 18px;
    background: url(weic_header_bg.png) no-repeat;
    background-size: cover;
}

#header h1 {
    display: none;
}

.header_content {
    width: 1200px;
    margin: auto;
    position: relative;
}

/* 头部信息内容 */
.header_message {
    padding-top: 24px;
}

.header_message li,
.header_message li a {
    color: #333;
}

.header_message li a:hover {
    color: #015293;
}

.header_message .message_link li {
    padding-right: 10px;
}

.header_message .message_info li {
    padding-right: 30px;
}

.header_message .message_link li:last-of-type,
.header_message .message_info li:last-of-type {
    padding: 0;
}

/* 头部主体 */
.header_body {
    padding: 130px 0 119px 65px;
}

/* logo */
.header_body .logo img {
    width: 505px;
    display: block;
}

/* 搜索 */
.header_body .search {
    padding: 23px 0 0 202px;
}

.header_body .search input,
.header_body .search button {
    height: 40px;
    line-height: 40px;
}

.header_body .search input {
    width: 225px;
    background: #FFFFFF;
    border: 1px solid #044998;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
    padding: 0 15px;
    color: #6D6D6D;
}

.header_body .search button {
    width: 75px;
    border-radius: 0 5px 5px 0;
    border: none;
    background: #044998 url(weic_header_search.png) center center no-repeat;
    background-size: 24px;
    cursor: pointer;
}

/*导航 */
#nav {
    background: #044998;
}

.navigation {
    width: 1200px;
    margin: auto;
}

.navigation ul {
    width: 100%;
    height: 65px;
    line-height: 65px;
    text-align: center;
}

.navigation li {
    width: 15%;
    font-size: 20px;
}

.navigation li a {
    width: 100%;
    height: 100%;
    display: block;
    color: #fff;
}

.navigation .nav_title,
.navigation li:hover {
    background: linear-gradient(0, transparent, #0F5FBC);
    margin-top: -2px;
}

/* 手机端 */
@media (max-width: 480px) {

    .header_content {
        width: 100%;
        padding: 15px;
    }

    .header_message {
        flex-direction: column;
        padding: 0;
        font-size: 16px;
        line-height: 45px;
    }

    .header_message .message_link {
        display: none;
    }

    .header_message .message_info {
        flex-wrap: wrap;
    }

    .header_message .message_info li {
        padding: 0 15px;
    }

    .header_body {
        padding: 25px 10px;
    }

    .header_body .logo img {
        width: 100%;
    }

    .header_body .search {
        padding: 30px 0 0;
    }

    .header_body .search input {
        flex: 1 1 0;
    }

    .navigation {
        width: 100%;
        padding: 0 5px;
        border: 1px solid #044998;
    }

    .navigation ul {
        height: auto;
        flex-wrap: wrap;
    }

    .navigation li {
        width: 33.333%;
        border-top: 1px solid #0f5fbc;
        border-right: 1px solid #0f5fbc;
        font-size: 16px;
    }

    .navigation li:first-of-type,
    .navigation li:nth-of-type(2),
    .navigation li:nth-of-type(3) {
        border-top: none;
    }

    .navigation li:nth-of-type(3n) {
        border-right: none;
    }

    .navigation .nav_title,
    .navigation li:hover {
        background: #0F5FBC;
        margin: 0;
    }
}