@charset "utf-8";

/* 链接 */

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #224b7f;
    text-decoration: none;
}

a:active {
    outline: none;
}

/* 头部、底部、全局 */

.inner,
.content{
    position: relative;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {

    .inner,
    .content {
        width: 100%;
    }

    .content{
        padding:20px;
    }
}

/* 公用 */

.content .row {
    margin-right: -10px;
    margin-left: -10px;
}

.content .row>.col,
.content .row>[class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
}.tab-pane {
    position: relative;
    overflow: hidden;
}

.tab-pane .pane>ul,
.tab-pane .pane>div {
    animation-duration: .3s;
}

.tab a {
    position: relative;
    display: inline-block;
    padding: 0 20px;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}

.tab .current {
    color: #005aa8;
}

.tab {
    height: 60px;
    margin-bottom: 10px;
    line-height: 60px;
    border-bottom: 1px solid #ddd;
}

.tab a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scale(0, 1);
    transition: transform .3s;
}

.tab a.current:after {
    background-color: #005aa8;
    transform: scale(1, 1);
}

@media (max-width: 1200px) {
    .tab {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        -webkit-box-align: center;
        -webkit-align-items: center;
        align-items: center;
        margin-left: -2px;
        margin-right: -2px;
    }

    .tab a {
        width: 0%;
        min-width: inherit;
        position: relative;
        overflow: hidden;
        display: block;
        margin: 0 2px;
        padding: 0;
        font-size: 16px;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        flex: 1;
        overflow: hidden;
        white-space: nowrap;
        word-break: keep-all;
        text-overflow: ellipsis;
    }
}

.grid h2{
    font-size: 20px;
    background:  url(//mpa.hubei.gov.cn/material/images/bsfw/tb.png) right 50% no-repeat;
}

.grid h2 b{
    display: inline-block;
    padding:0px 20px;
    color: #fff;
    line-height: 42px;
    background: #1a65e7;
    background: -webkit-linear-gradient(60deg, #1a65e7, #26b4f6);
    background: linear-gradient(60deg, #1a65e7, #26b4f6);
}

/* part1  开始*/

.a1{
    border-radius: 10px;
    padding: 40px 0px 40px 620px;
    background: url(//mpa.hubei.gov.cn/material/images/bsfw/bsfw.png) 0px 50% no-repeat;
}

.a1 li a{
    line-height: 1.5em;
    font-size: 18px;
    border-radius: 6px;
    padding:12px 44px;
    margin:0px 10px;
    color: #fff;
    text-align: center;
    background-color:rgb(27,80,144,.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, .2);
}

.a1 li i{
    display: block;
    width: 40px;
    height: 40px;
    margin: 5px auto;
    animation-duration: .6s;
    background-image: url(//mpa.hubei.gov.cn/material/images/bsfw/icons.png);
    background-size: 280px auto;
    background-repeat: no-repeat;
}

.a1 li a:hover i {
     transform: rotateY(360deg);
}

.a1 li i.s1{
    background-position: 0px 0px;
}

.a1 li i.s2{
    background-position: -40px 0px;
}

.a1 li i.s3{
    background-position: -80px 0px;
}

.a1 li i.s4{
    background-position: -120px 0px;
}

@media (max-width: 1024px) {
    .a1{
        padding: 20px 0px 20px 750px;
        background-size: cover;
    }

    .a1 li{
        float: left;
    }

    .a1 li a{
        font-size: 20px;
        line-height: 40px;
        padding: 5px 20px;
        margin:5px 10px;
    }

    .a1 li a i{
        margin: 0px auto;
    }

    .a1 li i{
        display: inline-block;
    }

}

@media (max-width: 768px) {
    .a1 {
        padding: 200px 20px 20px 20px;
        background: #3e7fe3 url(//mpa.hubei.gov.cn/material/images/bsfw/bsfw.png) 5% 0% no-repeat;
    }
    .a1 li a{
        padding: 10px 35px;
        margin:5px 10px;
    }
}

@media (max-width: 480px) {

    .a1 li{
        width: 100%;
    }
    .a1 li a{
        padding: 10px 40px;
        margin:5px 10px;
    }
}

/* part1  结束*/

/* part2  开始*/
.bmcx{
    padding:0px 30px 30px 30px;
    background: url(//mpa.hubei.gov.cn/material/images/bsfw/xcfw.jpg) 0 bottom no-repeat;
    box-shadow: 0 3px 5px rgba(25, 109, 213, .2);
}

.bmcx li{
    width: 33.33%;
}

@media (max-width: 480px) {

    .bmcx li{
        width: 100%;
    }
}
/* part2  结束*/

/* part3  开始*/

.a2 li {
    padding-top: 10px;
    padding-bottom: 10px;
}

.a2 li a {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 160px;
    padding: 0 10px;
    line-height: 1.2;
    font-size: 20px;
    background: #eef6fe;
    background: -webkit-linear-gradient(180deg, #eef6fe, #fff);
    background: linear-gradient(180deg, #eef6fe, #fff);
    border-radius: 5px;
    border: 1px solid #fff;
    transition: background-position .3s;
    box-shadow: 0 0 8px rgba(0, 0, 0, .1);
}

.a2 li a:hover {
    color: #fff;
    font-weight: bold;
    background: url(//mpa.hubei.gov.cn/material/images/bsfw/h.jpg) 50% no-repeat;
}

.a2 li i {
    display: block;
    width: 60px;
    height: 60px;
    margin: 25px auto;
    animation-duration: .6s;
    background-image: url(//mpa.hubei.gov.cn/material/images/bsfw/icons.png);
    background-size: 400px auto;
    background-repeat: no-repeat;
}

.a2 li i.s1{
    background-position: 0px -50px;
}

.a2 li i.s2{
    background-position: -60px -50px;
}

.a2 li i.s3{
    background-position: -60px -50px;
}

.a2 li i.s4{
    background-position: -120px -50px;
}

.a2 li a:hover i.s1{
    background-position: 0px -110px;
}

.a2 li a:hover i.s2{
    background-position: -60px -110px;
}

.a2 li a:hover i.s3{
    background-position: -60px -110px;
}

.a2 li a:hover i.s4{
    background-position: -120px -110px;
}


@media (max-width: 480px) {
    .a2 li{
        width: 50%
    }
    .a2 li a {
        font-size: 16px;
    }
}

/* part3  结束*/

