* {
    font-size: 14px;
    font-family: "微软雅黑";
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
}

a {
    text-decoration: none !important;
}

ul {
    list-style: none;
}

.l {
    float: left;
}

.r {
    float: right;
}

.clear::after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    font-size: 0;
    line-height: 0
}

.title {
    margin: 0 auto;
    text-align: center;
    width: 20%;
    position: relative;
}

.title::after {
    content: "";
    position: absolute;
    right: -30%;
    top: 50%;
    width: 50%;
    height: 2px;
    background-color: #0d8346;
}

.title::before {
    content: "";
    position: absolute;
    left: -30%;
    top: 50%;
    width: 50%;
    height: 2px;
    background-color: #0d8346;
}

.title>h2 {
    font-size: 2rem;
    line-height: 3rem;
    height: 3rem;
    overflow: hidden;
}


/* 通栏大图 */

.bigimg {
    width: 100%;
}

.bigimg img {
    width: 100%;
    display: block;
}


/* 选择列表 */

.chose {
    background-color: #f5f5f5;
}

.chose_list {
    margin-bottom: 3%;
}

.chose_list span {
    display: inline-block;
    cursor: pointer;
    line-height: 5rem;
    height: 5rem;
    padding: 0 10px;
}

.chose_list span a {
    color:black;
}
.chose_list span a:hover {
    color:#008641;
}

span.on {
    border-bottom: 2px solid #008610;
}
span.on a{
	 color: #008641;
}


/* 殡葬文化 */
.culture {
    width: 100%;
    padding-bottom: 3%;
}
.culture .tit {
    line-height: 2.2;
    font-size: 16px;
}
.culture .tit a{
	 color: #008641;
}
.culture .tit a:hover{
	color:black;
}
.culture .content{
	line-height: 1.8;
    font-size: 14px;
    padding-bottom: 10px;
    max-height: 80px;
    overflow: hidden;
}
.culture_box {
    margin-top: 3%;
}

.culture_box>ul>li:hover a {
    color: #008641;
}

.culture_box>ul>li>a {
    color: #000;
    display: block;
    line-height: 3rem;
    height: 3rem;
    border-bottom: 1px dashed #666;
    transition-duration: 0.5s;
}

.title_span {
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    display: inline-block;
}

.date {
    display: inline-block;
}

.page {
    width: 100%;
    text-align: center;
    margin-top: 6%;
}

.page_list {
    display: inline-block;
}

.page_list a {
    line-height: 2rem;
    display: inline-block;
    padding: 0 10px;
    border: 1px solid #0d8346;
    color: #0d8346;
    height: 2rem;
    transition-duration: .5s;
}

.page_list a:hover {
    background-color: #0d8346;
    color: #f5f5f5;
}

.case_list li {
    float: left;
    width: 23.5%;
    margin-right: 2%;
    transition-duration: 0.5s;
    margin-bottom: 3%;
    border: 1px solid #f5f5f5;
}

.case_list li:nth-child(4n) {
    margin-right: 0;
}

.case_list .img {
    overflow: hidden;
    background-color: #fff;
    height: 160px;
}

.case_list .img img {
    width: 100%;
    display: block;
    transition-duration: .5s;
}

.case_list .case_text {
    background-color: #fff;
    padding: 3% 5%;
    line-height: 1.5rem;
}

.case_text .t1 a {
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    display: inline-block;
    color: #000;
}

.case_text .t2 {
    color: #666;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    transition-duration: 0.5s;
    height: 45px;
}

.case_text .t3 {
    text-align: center;
}

.case_text .t3 a {
    display: inline-block;
    line-height: 2rem;
    height: 2rem;
    padding: 0 10px;
    background-color: #008641;
    color: #fff;
    width: 80%;
    margin-top: 5%;
    margin-bottom: 5%;
}

.case_list li:hover img {
    transform: scale(1.1);
}

.case_list li:hover {
    box-shadow: 1px 4px 15px 0 #DDDDDD;
}
