﻿body {
    background-color: #fbf5e9;
    font-size: 15px;
}

a.text-white:link {
    text-decoration: none;
    color: #fff;
}

a.text-white:visited {
    text-decoration: none;
    color: #fff;
}

a.text-white:hover {
    color: #f00;
}
a{
	color:#333;
}
a:hover{
	color:#f00;
	 text-decoration: underline;
}
.clear-both {
    font: 0px/0px sans-serif;
    clear: both;
    display: block;
}

.yx-form {
    background-color: #fff;
    margin-top: -18px;
}

header {
    height: 247px;
    background: url(/hsjy/tpl/images/top.jpg) no-repeat center top;
}

    header .tip {
        margin-top: 15px;
        margin-right: 20px;
    }

@media (max-width: 414px) {
    /******iphone 7 8 plus******/

    header {
        height: 216px;
        background: url(/hsjy/tpl/images/top1.jpg) no-repeat center top;
    }

        header .tip {
            font-weight: bold;
        }
}

nav {
    min-height: 55px;
    margin: 0;
    padding: 0;
    background: url(/hsjy/tpl/images/nav.jpg);
    overflow: hidden;
}

    nav li {
        border-left: 1px solid #fac568;
        font-size: 15px;
		padding-left:15px;
		padding-right:15px;
    }

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
    color: #ffd971;
    background-color: #d11119;
}

.navbar-default .navbar-nav > li > a {
    color: #c41118;
}

    .navbar-default .navbar-nav > li > a:hover {
        color: #f00;
    }

@media (max-width: 414px) {
    /******iphone 7 8 plus******/
    nav {
        background-repeat: no-repeat;
    }

        nav li {
            border-left: none;
            text-align: center;
            font-size: 18px;
            margin: 0;
            padding: 0;
			
            border-bottom: 1px solid #e3d0ab;
        }

    .navbar-default .navbar-nav > li > a {
        line-height: 40px;
        height: 40px;
        margin: 0;
        padding: 0;
    }
}

/*********幻灯片*********/
.news {
    margin-top: 30px;
}

.slidebg2 {
    height: 300px;
}
/*********新闻*********/
.wxzc {
    padding-left: 0px;
}

    .wxzc dl,
    .wxzc dt,
    .wxzc dd,
    .wxzc ul,
    .newtop dl,
    .newtop dt,
    .newtop dd,
    .newtop ul,
    .newtop li,
    .newsbottom dl,
    .newsbottom dt,
    .newsbottom dd,
    .newsbottom ul,
    .newsbottom li {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .wxzc a,
    .newtop a,
    .newsbottom a {
        color: #333;
    }

    .wxzc dt,
    .newtop dt,
    .newsbottom dt {
        height: 38px;
        line-height: 38px;
        padding-left: 48px;
        font-size: 16px;
    }

        .wxzc dt a,
        .newtop dt a,
        .newsbottom dt a {
            color: #fff;
        }

    .wxzc dt {
        background: url(/hsjy/tpl/images/tip1.jpg) no-repeat;
        background-size: 100% 38px;
    }

        .wxzc dt .pull-right,
        .newtop dt .pull-right,
        .newsbottom dt .pull-right {
            margin-right: 15px;
            font-weight: normal;
        }

    .wxzc dd,
    .newtop dd,
    .newsbottom dd {
        padding: 20px 15px;
        border: 1px solid #efca8d;
    }

        .wxzc dd li,
        .newtop dd li,
        .newsbottom dd li {
            height: 32px;
            line-height: 32px;
            background: url(/hsjy/tpl/images/dot.jpg) left no-repeat;
            padding-left: 8px;
            border-bottom: 1px dashed #ccc;
        }

            .wxzc dd li span {
                float: right;
                color: #666;
            }

.newtop dt,
.newsbottom dt {
    background: url(/hsjy/tpl/images/tip2.jpg) no-repeat;
    background-size: 100% 38px;
}

.newtop,
.newsbottom {
    margin-top: 35px;
}

    .newtop .col-md-4:nth-child(2),
    .newsbottom .col-md-4:nth-child(2) {
        padding: 0px;
    }


    .newtop dl.d3 dt,
    .newsbottom dl.d7 dt {
        background-size: 100% 38px;
    }

    .newtop dd li,
    .newsbottom dd li {
        /* width: 335px; */
        overflow: hidden;
    }

    .newtop dl.d3 li,
    .newsbottom dl.d7 li {
        /* width: 360px; */
        overflow: hidden;
    }

footer {
    padding-top: 25px;
    text-align: center;
    line-height: 24px;
    padding-bottom: 25px;
}

@media (max-width: 414px) {
    /******iphone 7 8 plus******/
    .wxzc {
        margin-top: 20px;
    }

        .wxzc dd li a {
            float: left;
            width: 320px;
            overflow: hidden;
            height: 32px;
            line-height: 32px;
        }

    dl.d2,
    dl.d6 {
        margin-top: -15px;
    }

    .newtop .col-md-4,
    .newsbottom .col-md-4 {
        padding: 0px;
    }

    dl.d3,
    dl.d4,
    dl.d7,
    dl.d8 {
        margin-top: 20px;
    }

    footer {
        text-align: left;
        background-color: #c71312;
        color: #fff;
    }
}

@media (max-width: 375px) {
    /******iphone X 7 8******/
    .wxzc dd li a {
        width: 280px;
    }

    .newtop dl.d3 li,
    .newsbottom dl.d7 li {
        /* width: 330px; */
    }
}

@media (max-width: 320px) {
    /******iphone 5/SE******/
    .wxzc dd li a {
        width: 230px;
    }

    .newtop dl.d3 li,
    .newtop dl.d2 li,
    .newtop dl.d5 li,
    .newsbottom dl.d6 li,
    .newsbottom dl.d7 li,
    .newsbottom dl.d8 li {
        width: 290px;
    }
}

/******滚动图片******/
.tupian {
    border: 1px solid #fd633f;
    height: 208px;
    background-color: #fef7f7;
    margin-top: 15px;
}

    .tupian ul, .tupian li {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .tupian li {
        float: left;
        margin-top: 30px;
        margin-left: 25px;
        width: 190px;
    }

        .tupian li span {
            display: block;
            height: 25px;
            line-height: 25px;
            text-align: center;
        }
