﻿@charset "utf-8";

/* 头部、底部、全局 */

body {
    overflow-x: hidden;
    font-size: 16px;
    color: #333;
}

.inner,
.nav ul,
.links,
.copyright {
    position: relative;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.header {
    position: relative;
    background: #fff url(http://fgj.gyrtz.com/material/images/head.jpg) 50% 0 no-repeat;
}

.header h1 {
    width: 60%;
    height: 150px;
    background: url(http://fgj.gyrtz.com/material/images/logo.png) 0 50% no-repeat;
}

.header h1 a {
    display: block;
    height: 150px;
}

.nav {
    height: 60px;
    background-color: #224b7f;
}

.nav li {
    position: relative;
    float: left;
    width: 20%;
}

.nav li a {
    display: block;
    line-height: 60px;
    text-align: center;
    font-size: 22px;
    color: #fff;
}

.nav li a:hover {
    background-color: rgba(0, 0, 0, .2);
}

.nav li a i {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-left:-8px;
    margin-right: 10px;
    vertical-align: middle;
    background-image: url(http://fgj.gyrtz.com/material/images/icons_03.png);
    background-image: url(http://fgj.gyrtz.com/material/images/icons_03_ie8.png)\9;
    background-size: 320px auto;
    transition: all .3s;
}

.nav .s1 {
    background-position: 0 0;
}

.nav .s2 {
    background-position: -40px 0;
}

.nav .s3 {
    background-position: -80px 0;
}

.nav .s4 {
    background-position: -120px 0;
}

.nav .s5 {
    background-position: -160px 0;
}

.ht {
    height: 40px;
    line-height: 40px;
    background-color: #eee;
}

.ht a {
    position: relative;
    z-index: 99;
    margin: 0 10px;
}

@media (max-width: 480px) {
    .ht a {
        margin: 0px 4px;
    }
}

.ht .qr {
    position: absolute;
    top: 30px;
    right: 0;
    display: none\0;
    width: 120px;
    border: 5px solid #fff;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
    transform: translate(0, -6px);
    transition: all .3s;
}

.ht .qr:before {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 10px;
    border: 6px solid transparent;
    border-bottom: 6px solid #fff;
    margin-bottom: 4px;
}

.ht .qr img {
    display: block;
    width: 100%;
}

.ht a:hover .qr {
    display: block\0;
    visibility: visible;
    opacity: 1;
    transform: translate(0, 0);
}

.ht i {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 4px;
    font-size: 20px;
    vertical-align: -2px;
}

.footer {
    padding: 20px 0;
    line-height: 22px;
    font-size: 14px;
    background-color: #333;
    color: #fff;
}

.footer.fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

.links>ul>li {
    position: relative;
    margin-bottom: 20px;
    line-height: 40px;
    font-size: 16px;
    text-align: center;
}

.links>ul>li>a {
    display: block;
    margin: 0 -5px;
    padding: 0 20px;
    background: #fff url(http://fgj.gyrtz.com/material/images/links_arr.png) 96% 50% no-repeat;
}

.links li ul {
    display: none\9;
    z-index: -1;
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 40px;
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #ddd;
    background-color: #fff;
    opacity: 0;
    transform: translate(0, 3px);
    transition: opacity, transform .3s;
}

.links li:hover ul {
    display: block\9;
    z-index: 9;
    opacity: 1;
    transform: translate(0, 0);
}

.links li li {
    border-top: 1px solid #ddd;
    line-height: 39px;
    text-align: center;
    transition: all .3s;
}

.links li li:hover {
    background-color: #f8f8f8;
}

.links li li a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    word-break: keep-all;
    text-overflow: ellipsis;
    font-size: 14px;
}

.copyright p a,
.copyright p span {
    margin: 0 10px;
    color: #fff;
}

.footer-map {
    margin-left: 120px;
}

.gov {
    position: absolute;
    top: 50%;
    left: 0;
    width: 80px;
    height: 80px;
    margin-top: -40px;
}

.jc {
    position: absolute;
    top: 50%;
    right: 0;
    width: 110px;
    height: 55px;
    margin-top: -22px;
}

/* 搜索 */

.search-btn {
    position: absolute;
    top: 15px;
    right: 10px;
    z-index: 99;
    display: none;
    width: 50px;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cdefs%3E%3Cstyle/%3E%3C/defs%3E%3Cpath d='M146.286 475.429h14.628c0 168.228 138.972 307.2 307.2 307.2s307.2-138.972 307.2-307.2-138.971-307.2-307.2-307.2-307.2 138.971-307.2 307.2h-14.628zm804.571 402.285c21.943 21.943 21.943 58.515 0 80.457-21.943 21.943-58.514 21.943-80.457 0L724.114 811.886c-73.143 58.514-160.914 87.771-256 87.771-234.057 0-424.228-190.171-424.228-424.228S234.057 51.2 468.114 51.2s424.229 190.171 424.229 424.229c0 95.085-29.257 182.857-87.772 256l146.286 146.285z' fill='%23048'/%3E%3C/svg%3E") 50% 50% no-repeat;
    cursor: pointer;
}

.search-box {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 9;
    margin-top: -10px;
    line-height: 0;
    text-align: center;
    font-size: 0;
}

.search-box:before {
    display: none;
    content: '';
    position: absolute;
    top: 73px;
    right: 30px;
    border: 6px solid transparent;
    border-bottom: 6px solid #f8f8f8;
}

.search input,
.search button,
.search .go {
    display: inline-block;
}

.search input {
    /*width: 220px;*/
    height: 40px;
    line-height: 20px;
    font-size: 16px;
    padding: 10px;
    border: none;
    background: #fff;
    margin-top: -20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
    outline: none;
    border-radius: 4px 0 0 4px;
}

.search button {
    width: 40px;
    height: 40px;
    border: none;
    background: #ffa735;
    color: #fff;
    cursor: pointer;
    text-align: center;
    line-height: 0;
    font-size: 0;
    color: transparent;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
}

.search button .iconfont {
    font-size: 24px;
    color: #fff;
    margin: 0px auto;
    line-height: 40px;
}

.search .go {
    height: 40px;
    padding: 0 20px;
    line-height: 40px;
    font-size: 14px;
    text-align: center;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: bold;
    background-color: #fff;
    color: #048;
    margin-top: -20px;
    border-radius: 100px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
}

.robot {
    font-size: 24px;
    color: #224b7f;
    margin: 0px auto;
    margin-right: 10px;
}

.lang {
    position: absolute;
    top: 15px;
    right: 0;
}

.lang a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 14px;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: bold;
    background-color: #fff;
    color: #048;
    border-radius: 100px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
}

@media (max-width: 1200px) {

    .ht .fl,
    .lang,
    .search-box,
    .topic h2,
    .topic-prev,
    .topic-next {
        display: none;
    }

    .ht .fr {
        text-align: center;
        font-size: 12px;
    }

    .ht .fr,
    .header h1,
    .nav ul,
    .search,
    .inner,
    .content,
    .links,
    .copyright {
        width: 100%;
    }

    .header {
        background-position: 40% 40px;
        background-size: auto 80px;
    }

    .header h1 {
        height: 100px;
        background-position: 20px 50%;
        background-size: auto 60%;
    }

    .header h1 a {
        height: 100px;
    }

    .robot {
        margin: 0;
    }

    .search-btn {
        display: block;
    }

    .search-box {
        position: static;
        top: 0;
        margin: -15px 0 0;
        padding: 15px 0;
        background-color: #f8f8f8;
    }

    .search-box:before {
        display: block;
    }

    .nav {
        padding: 10px 0;
    }

    .nav li a {
        position: relative;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
        color: #fff;
    }

    .nav li+li:before {
        content: '';
        position: absolute;
        top: 10px;
        bottom: 10px;
        left: 0;
        border-left: 1px solid rgba(255, 255, 255, .2);
    }

    .footer {
        padding: 20px;
    }

}

@media (max-width: 768px) {

    .copyright {
        text-align: center;
    }

    .copyright p span {
        display: block;
    }

    .copyright>.p20 {
        margin: 0;
        width: 100%;
    }

    .footer .gov,
    .footer .jc {
        position: relative;
        display: inline-block;
        top: 0;
        margin-top: 20px;
        vertical-align: middle;
    }
}

@media (max-width: 480px) {
    .nav li a {
        font-size: 14px;
    }

    .nav li a i {
        display: none;
    }

}