﻿@charset "utf-8";

/*---------------------------------------------------------
header styles
---------------------------------------------------------*/
#header {
    position: relative;
    width: 100%;
    font-size: 18px;
    background: linear-gradient(0deg, #FFFFFF 0%, #76B2EC 100%);
}

#header h1 {
    display: none;
}

.header_content {
    width: 1200px;
    height: 298px;
    margin: auto;
    position: relative;
    background: url(xy_jyj_jyjsy.png) center no-repeat;
    background-size: 1200px 298px;
}

/* 头部信息内容 */
.header_message {
    justify-content: space-between;
    color: #303947;
    padding: 10px 36px 0 24px;
}

.header_message li a {
    color: #303947;
    display: block;
    width: 100%;
    height: 100%;
}

/* 头部左侧链接 */
.message_link {
    justify-content: space-around;
}

.message_link li {
    padding: 5px;
}

/* 头部右侧信息 */
.message_info {
    justify-content: space-around;
}

.message_info li {
    padding-left: 43px;
}

.header_body {
    justify-content: flex-end;
}

/* 搜索 */
#header .search {
    position: relative;
    top: 172px;
    right: 26px;
}

#header .search input {
    width: 304px;
    height: 37px;
    line-height: 38px;
    outline: none;
    padding-left: 71px;
    font-size: 16px;
    border-radius: 18px;
    border: #799BB7;
    color: #9B9B9B;
    box-shadow: 1px 1px 7px 0px rgba(121, 155, 183, 0.3);
}

#header .search button {
    outline: none;
    width: 21px;
    height: 21px;
    position: absolute;
    left: 36px;
    top: 8px;
    vertical-align: middle;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    background: url(xy_jyj_search.png) no-repeat transparent;
}

/*导航 */
#nav a {
    font-size: 20px;
    color: #fff;
}

.navigation {
    width: 1200px;
    margin: auto;
    background: #0F7BD2;
    border-radius: 33px;
}

.navigation ul {
    width: 100%;
    height: 65px;
    justify-content: space-between;
    overflow: hidden;
}

.navigation li {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navigation .nav_title,
.navigation li:hover {
    background: #1253A9;
    border-radius: 33px;
}

.navigation .nav_title a,
.navigation li:hover a {
    font-weight: bolder;
}

/* 手机端 */
@media (max-width: 480px) {

    .header_content,
    .navigation {
        width: 100%;
    }

    .header_message,
    .header_body {
        flex-direction: column;
        padding: 0;
    }

    .header_content {
        height: auto;
        font-size: 16px;
        background-color: #77b2ea;
        background-position: left 20px;
        background-size: 280%;
        padding: 0 15px;
    }

    .header_content li {
        line-height: 25px;
    }

    .message_info li {
        padding: 0;
    }

    #header .search {
        top: auto;
        right: auto;
        margin-top: 80px;
        margin: 100px auto 30px;
    }

    #nav a {
        font-size: 17px;
    }

    .navigation {
        border-radius: 0;
        padding: 10px 15px;
    }

    .navigation ul {
        height: auto;
        flex-wrap: wrap;
    }

    .navigation li {
        width: 33.3%;
        line-height: 30px;
        padding: 5px 0;
    }
}