/* base */

body {
    background: #eee;
}

.wrapper {
    margin-left: 20px;
    margin-right: 20px;
}

.main-nav {
    height: 60px;
}

.main-tab {
    text-align: center;
}


/* 顶部导航 */

.nav-container {
    height: 60px;
}

.nav-top {
    width: 100%;
    background-image: -moz-linear-gradient(2deg, #032e60 9%, #14519c 50%, #032e60 89%);
    background-image: -webkit-linear-gradient(2deg, #032e60 9%, #14519c 50%, #032e60 89%);
    background-image: -ms-linear-gradient(2deg, #032e60 9%, #14519c 50%, #032e60 89%);
    height: 60px;
    text-align: center;
    margin: 0 auto;
    position: fixed;
    z-index: 22;
    top: 0;
}

.nav-top.nav-top-opend {
    background: #134e98;
    position: fixed;
}

.nav-top.nav-top-opend .nav-top-map span {
    opacity: 0;
}

.nav-top-logo {
    float: left;
    width: 182px;
    background: url(//www.xiongan.gov.cn/home/images/icon-logo.png) 0 0 no-repeat;
    position: relative;
    margin-top: 14px;
    margin-left: 10px;
    background-size: auto 100%;
    height: 35px;
}

.nav-top-logo.active {
    position: fixed;
    z-index: 20;
}

.nav-top-list {
    float: right;
    margin-top: 17px;
    margin-right: 42px;
}

.nav-top-list li {
    float: left;
    font-size: 14px;
    padding-top: 35px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    color: #ffffff;
    cursor: pointer;
}

.nav-top-list li a {
    color: #ffffff;
}

.nav-top-search {
    background: url("//www.xiongan.gov.cn/home/images/icon-search.png") center top no-repeat;
}

.nav-btn {
    height: 42px;
    width: 50px;
    position: absolute;
    top: -3px;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    cursor: pointer;
}

.nav-btn.active {
    position: fixed;
    z-index: 20;
    top: 10px;
}

.nav-btn-bar {
    height: 1px;
    width: 23px;
    display: block;
    margin: 7px auto;
    position: relative;
    background-color: #fff;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.nav-btn-bar:nth-of-type(1) {
    -moz-animation: rotateR 1.5s cubic-bezier(0.5, 0.2, 0.2, 1);
    -webkit-animation: rotateR 1.5s cubic-bezier(0.5, 0.2, 0.2, 1);
    animation: rotateR 1.5s cubic-bezier(0.5, 0.2, 0.2, 1);
}

.nav-btn-bar:nth-of-type(2) {
    -moz-animation: fade 1.5s cubic-bezier(0.1, 0.8, 0.1, 1);
    -webkit-animation: fade 1.5s cubic-bezier(0.1, 0.8, 0.1, 1);
    animation: fade 1.5s cubic-bezier(0.1, 0.8, 0.1, 1);
}

.nav-btn-bar:nth-of-type(3) {
    -moz-animation: rotateL 1.5s cubic-bezier(0.5, 0.2, 0.2, 1);
    -webkit-animation: rotateL 1.5s cubic-bezier(0.5, 0.2, 0.2, 1);
    animation: rotateL 1.5s cubic-bezier(0.5, 0.2, 0.2, 1);
}

.nav-btn.active .nav-btn-bar:nth-of-type(1) {
    -moz-transform: translateY(10px) rotate(45deg);
    -ms-transform: translateY(10px) rotate(45deg);
    -webkit-transform: translateY(10px) rotate(45deg);
    transform: translateY(10px) rotate(45deg);
}

.nav-btn.active .nav-btn-bar:nth-of-type(2) {
    opacity: 0;
}

.nav-btn.active .nav-btn-bar:nth-of-type(3) {
    -moz-transform: translateY(-6px) rotate(-45deg);
    -ms-transform: translateY(-6px) rotate(-45deg);
    -webkit-transform: translateY(-6px) rotate(-45deg);
    transform: translateY(-6px) rotate(-45deg);
}

.nav-top-search a {
    display: none;
}

.nav-top.nav-top-opend .nav-top-search {
    display: none;
}

.nav-top-map span {
    display: none;
}


/* 网站地图弹出层 */

.fullscreenOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    opacity: 0;
    display: none;
    transition: opacity 0.5s;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.fullscreenOverlay-bg {
    height: 0;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    overflow: hidden;
    background: transparent;
}

.fullscreenOverlay-bg.active {
    width: auto;
    height: auto;
}

.fullscreenOverlay-bg .circle {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    margin: auto;
    margin-right: 0;
    transition: all 0.5s;
    border-bottom-left-radius: 100%;
    background-color: #134e98;
    opacity: 0.3;
}

.fullscreenOverlay.active {
    opacity: 1;
}

.fullscreenOverlay .container {
    position: relative;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.block {
    display: block !important;
}

.site-nav {
    padding: 100px;
    padding-top: 160px;
    overflow: hidden;
}

.nav-list {
    width: 20%;
    float: left;
}

.nav-list ul {
    list-style: none;
}

.nav-list li:first-child a {
    font-size: 24px;
    margin: 40px 0;
    padding-bottom: 20px;
    border-bottom: 3px solid #0096ff;
}

.nav-list li a {
    font-family: "source_sans_pro_semibold", Arial, "Helvetica Neue", Helvetica, sans-serif;
    display: inline-block;
    color: #fff;
    font-size: 18px;
    line-height: 1.5;
    padding: 18px 0 10px;
    position: relative;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.nav-list li a:hover {
    border-bottom-color: #0096ff;
}

.nav-list li span {
    font-size: 16px;
    color: #a8bedc;
    display: none;
}

@media (max-width: 768px) {
    .fullscreenOverlay .container {
        width: 100%;
    }
    .site-nav {
        padding: 80px 10% 50px;
    }
    .nav-list {
        float: none;
        width: auto;
    }
    .nav-list li {
        width: 25%;
        float: left;
    }
    .nav-list li a {
        font-size: 14px;
        color: #a8bedc;
        padding-bottom: 0;
        padding-top: 0;
    }
    .nav-list li:first-child {
        width: 100%;
    }
    .nav-list li:first-child a {
        font-size: 18px;
        color: #ffffff;
        margin: 0;
        padding-top: 20px;
        padding-bottom: 10px;
        border-bottom: 0px;
    }
    .nav-list li span {
        display: inline;
        margin-left: 20px;
    }
}


/* tab */

.main-tab a {
    display: block;
    width: 33.33333%;
    float: left;
    line-height: 36px;
    height: 36px;
    border-bottom: 2px solid transparent;
}

.main-tab a.active {
    font-weight: bold;
    border-bottom-color: #0060d9;
    color: #0060d9;
}

.tags {
    margin-top: 15px;
}

.tags a {
    margin: 5px 5px 5px 0;
    line-height: 1.5em;
    padding: 0.2em 0.6em;
    display: inline-block;
    background: #fff;
    border: 1px solid #dedede;
    font-size: 14px;
}

.top-swiper img {
    width: 100%;
    display: block;
}

.top-swiper p {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    line-height: 2;
    color: #fff;
    font-size: 14px;
    padding: 0 20px;
    box-sizing: border-box;
}

.top-swiper .swiper-pagination {
    text-align: right;
    width: 96%;
    bottom: auto;
    top: 6px;
}

.top-swiper .swiper-pagination-bullet {
    background: #fff;
}

.top-swiper .swiper-pagination-bullet-active {
    background: #fff;
}


/* 新闻区块 */

.news {
    margin: 20px 0;
    background: #fff;
    padding: 20px 0 0;
}

.news-title {
    display: block;
    font-size: 20px;
    line-height: 1;
    text-indent: 0.5em;
    margin-bottom: 1em;
    border-left: 2px solid #0060d9;
    font-weight: bold;
    cursor: pointer;
}

.news-list li {
    position: relative;
    list-style-position: inside;
    padding: 0.2em 0;
    border-bottom: 1px solid #efefef;
}

.news-list li:last-child {
    border-bottom: none;
}


.news-list li a {
    display: block;
    font-size: 16px;
    line-height: 2;
    color: #666;
    overflow: hidden;
}

.news-list li a:before {
    content: '· ';
    padding-right: 0.2em;
}
.news-list-img li a:before{
    display: none;
}
.news-list-img img {
    width:100%;
}

.news-list-video li{
    position: relative;
}
.img-wrappr {
    position: relative;
}
.img-wrappr:before{
    content: ' ';
    position: absolute;
    top:50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: url(//www.xiongan.gov.cn/xazx/images/xa-zx-video-play_btn.png) no-repeat center center;
}
.news-list-img li,
.news-list-video li{
    margin-bottom: 10px;
}    

.footer {
    background: #fff;
    font-size: 12px;
    text-align: left;
    color: #ccc;
    padding: 16px 0;
}


/* 搜索框 */

.nav-search-box {
    width: 100%;
    height: 45px;
    position: absolute;
    left: 0;
    top: 0;
    transition: top 0.5s;
    z-index: 8;
    overflow: hidden;
}

.nav-search-box:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #042c5b;
    opacity: 0.75;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.nav-search-box.active {
    top: 60px;
}

.nav-search-cont {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 40px;
    margin: 0 auto;
    border-bottom: 1px solid #ffffff;
}

.nav-search-input {
    width: 80%;
    height: 38px;
    line-height: 38px;
    font-size: 14px;
    color: #ffffff;
    float: left;
    background: none;
    border: 0;
    padding-left: 10px;
}

.nav-search-input::-webkit-input-placeholder {
    /* WebKit browsers*/
    color: #fff;
}

.nav-search-input:-moz-placeholder {
    /* Mozilla Firefox 4 to 18*/
    color: #fff;
}

.nav-search-input::-moz-placeholder {
    /* Mozilla Firefox 19+*/
    color: #fff;
}

.nav-search-input::-ms-input-placeholder {
    /* Internet Explorer 10+*/
    color: #fff;
}

.nav-search-send {
    width: 20px;
    height: 20px;
    background: url("//www.xiongan.gov.cn/home/images/icon-search.png") center top no-repeat;
    float: right;
    background-size: 100%;
    margin-top: 11px;
    margin-right: 10px;
    cursor: pointer;
}


/* 信息流 */

.ptv-box>div {
    padding: 10px;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 1;
}

.ptv .ptv-pictxt-imgbox>a:first-child:hover img {
    transform: none;
}

.ptv .ptv-pic img {
    transform: none !important;
}
