/*
 * @Description: 子页通用样式
 * @Autor: qianyuitng
 * @Date: 2021-09-13
 */

.mt45 {
    margin-top: 45px !important;
}

/* header */
#header {
    height: 250px;
    background: #fff;
}

.top {
    color: #4c6176;
    background-color: #edf4fd;
}

.top a {
    color: #4c6176;
}

.register-login {
    background-color: #fff;
}

.register-login > a {
    color: #2868dd;
}


.query-wrap {
    float: right;
    margin-top: 50px;
}

.query-input {
    line-height: 52px;
    color: #888;
    border: 1px solid #d7e8fd;
}

.query-input::-webkit-input-placeholder {
    color: #888;
}

.query-input::-moz-placeholder {
    color: #888;
}

.query-input:-moz-placeholder {
    color: #888;
}

.query-input:-ms-input-placeholder {
    color: #888;
}

.hot-query {
    display: none;
}

@media (max-width: 1200px) {
    .query-wrap {
        width: 360px;
    }
}

@media (max-width: 980px) {
    .subpage-logo {
        width: 350px;
        margin-top: 36px;
    }

    .query-wrap {
        width: 300px;
    }
}

@media (max-width: 767px) {
    #header {
        height: auto;
    }
    
    .subpage-logo {
        float: none !important;
        margin-top: 40px;
    }

    .query-wrap {
        float: none;
        margin-top: 20px;
    }
}

/* 当前位置 */

.location {
    line-height: 30px;
    padding: 15px 0 15px 30px;
    background: url(https:/www.shz.gov.cn/images/subpage/location_ico.png) left center no-repeat;
}

.location a {
    color: #666;
}

.location a.current {
    color: #1e74b5;
}

/* title */

.title {
    line-height: 30px;
    font-size: 30px;
    font-weight: bold;
    color: #0d7acd;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.title-txt {
    position: relative;
    padding: 0 30px;
}

.title-txt:before,
.title-txt:after {
    position: absolute;
    top: 50%;
    content: "";
    width: 350px;
    height: 19px;
    margin-top: -9.5px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.title-txt:before {
    right: 100%;
    background-image: url(https:/www.shz.gov.cn/images/subpage/title_l.png);
}

.title-txt:after {
    left: 100%;
    background-image: url(https:/www.shz.gov.cn/images/subpage/title_r.png);
}

/* subview */

.subview {
    position: relative;
}

.subpage-tit {
    height: 58px;
    line-height: 57px;
    border-bottom: 1px solid #d2e6fb;
    box-sizing: border-box;
}

.subpage-tit-txt {
    display: inline-block;
    max-width: 100%;
    height: 58px;
    line-height: 54px;
    font-size: 20px;
    color: #1e74b5;
    font-weight: 600;
    border-bottom: 4px solid #1e74b5;
    vertical-align: top;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 左侧垂直菜单导航 */

.leftnav {
    width: 260px;
    background-color: #fff;
    border-radius: 6px;
    box-sizing: border-box;
}

.leftnav:after {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    content: "";
    width: 260px;
    background-color: #fff;
    box-shadow: 0 0 9px #e1e3e8;
    border-radius: 6px;
    z-index: -1;
}

.leftnav-hd {
    height: 64px;
    line-height: 64px;
    padding: 0 10px;
    border-radius: 6px 6px 0 0;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    background: #1e74b5 url(https:/www.shz.gov.cn/images/subpage/leftnav_hd_bg.png) center center no-repeat;
    background-size: 100% 100%;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wb-tree {
    margin: 24px 10px;
}

.wb-tree-items {
    margin-bottom: 20px;
}

.wb-tree-items:last-child {
    margin-bottom: 0;
}

.wb-tree-node {
    position: relative;
    height: 50px;
    line-height: 50px;
    padding: 0 20px 0 80px;
    border-radius: 6px;
    background: #edf4fd url(https:/www.shz.gov.cn/images/subpage/zhyw_ico.png) 30px center no-repeat;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
}

.wb-tree-node:after {
    display: none;
    position: absolute;
    top: 50%;
    right: 10px;
    content: "";
    width: 13px;
    height: 8px;
    margin-top: -4px;
    background: url(https:/www.shz.gov.cn/images/subpage/wblistr.png) center center no-repeat;
    background-size: 100% 100%;
}

.wb-tree-tt {
    color: #404742;
    font-size: 18px;
}

.wb-tree-subs {
    display: none;
    padding: 0 10px;
    background-color: #edf4fd;
    border-radius: 6px;
}


.wb-tree-item {
    border-bottom: 1px solid #e7e8eb;
}

.wb-tree-item a {
    position: relative;
    display: block;
    line-height: 50px;
    color: #6c727f;
    font-size: 16px;
    padding: 0 30px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wb-tree-item a:hover,
.wb-tree-item.active>a,
.wb-tree-third-item.active>a {
    color: #3c92ea;
    font-weight: 600;
}

.wb-tree-item:last-child {
    border-bottom: 0;
}

.wb-tree-item>a:after {
    display: none;
    position: absolute;
    top: 50%;
    right: 0;
    content: "";
    width: 13px;
    height: 8px;
    margin-top: -4px;
    background: url(https:/www.shz.gov.cn/images/subpage/wblistr.png) center center no-repeat;
    background-size: 100% 100%;
}

.wb-tree-third {
    display: none;
    padding-bottom: 10px;
}

.wb-tree-third-item a {
    line-height: 40px;
    font-size: 14px;
    padding: 0 30px 0 38px;
}

.wb-tree-items.current .wb-tree-node,
.wb-tree-node:hover {
    background-color: #3c92ea;
    background-image: url(https:/www.shz.gov.cn/images/subpage/zhyw_icoh.png);
}

.wb-tree-node:hover:after {
    background-image: url(https:/www.shz.gov.cn/images/subpage/wblistrh.png);
}

.wb-tree-items.current .wb-tree-node:after {
    background-image: url(https:/www.shz.gov.cn/images/subpage/wblistrh_up.png);
}

.wb-tree-items.current .wb-tree-node,
.wb-tree-node:hover,
.wb-tree-items.current .wb-tree-node .wb-tree-tt,
.wb-tree-node:hover .wb-tree-tt {
    color: #fff;
}

.wb-tree-items.current .wb-tree-subs,
.wb-tree-item.current .wb-tree-third  {
    display: block;
}

.wb-tree-item.current>a:after {
    background-image: url(https:/www.shz.gov.cn/images/subpage/wblistr_up.png);
}

.wb-tree-item.current>a {
    color: #015293;
    font-weight: 600;
}

.hasChild .wb-tree-node {
    padding-right: 30px;
}

.hasChild .wb-tree-node:after,
.hasChild.wb-tree-item>a:after {
    display: block;
}

/* 右侧数据 */

.right-wrap {
    width: calc(100% - 280px);
    padding: 5px 25px 45px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 0 9px #e1e3e8;
    box-sizing: border-box;
	min-height: 369px;
}

@media (max-width: 767px) {

    .title {
        font-size: 18px;
    }

    .title-txt {
        position: relative;
        padding: 0 10px;
    }

    .title-txt:before,
    .title-txt:after {
        height: 10px;
        margin-top: -5px;
        background-size: auto 100%;
    }

    .title-txt:before {
        background-position: right center;
    }

    .leftnav {
        width: 100%;
        box-shadow: 0 0 9px #e1e3e8;
    }

    .leftnav:after {
        display: none;
    }
    
    .right-wrap {
        width: 100%;
        margin-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* 用户中心头部 */

#user-center-header {
    height: 130px;
}

.user-center-header {
    height: 100%;
    background-color: #fff;
    border-bottom: 1px solid #1e74b5;
}

.user-center-logo {
    margin-top: 16px;
}

.user-center-welcome {
    max-width: 400px;
    margin-top: 55px;
    line-height: 26px;
    font-size: 16px;
    color: #4c6176;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.user-header-name {
    color: #4896e5;
}

@media (max-width: 1199px) {
    .user-center-logo {
        width: 50%;
        margin-top: 32px;
    }

    .user-center-welcome {
        max-width: 45%;
    }
}

@media (max-width: 979px) {
    .user-center-logo {
        margin-top: 41px;
    }
}

@media (max-width: 767px) {
    #user-center-header {
        height: auto;
    }

    .user-center-header {
        padding: 10px 0;
    }

    .user-center-logo {
        width: 100%;
        margin-top: 0;
    }

    .user-center-welcome {
        max-width: 100%;
        margin-top: 10px;
    }
}