html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 16px;
}

ul,
ol {
    list-style: none;
}

em,
i {
    font-style: normal;
}

a {
    text-decoration: none;
    color: #333;
}

img {
    /* width: 100%;
    height: 100%; */
    object-fit: cover;
    vertical-align: middle;
}

.article img {
    max-width: 800px;
}

input {
    border: none;
    outline: none;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}

.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: #f54243;
}

/* css超出部分显示省略号 */
.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 文字会间隔开一点 */
.letter {
    letter-spacing: 2px;
}

/* wrapper */
.wrapper {
    margin: 0 auto;
    width: 1200px;
}

.header {
    width: 100%;
    height: 120px;
    border-top: 1px solid #F54243;
}

.header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
}

.logo {
    display: flex;

}

.logo a {
    width: 260px;
    height: 60px;
    background-image: url(../images/logo.png);
    font-size: 0;
}

.logo span {
    color: #c0353a;
    padding: 25px 0 0 20px;
    font-size: 16px;
    letter-spacing: 2px;
}

.search {
    display: flex;
}

.search input:first-of-type {
    width: 300px;
    height: 35px;
    border: 2px solid #F54243;
    line-height: 35px;
    font-size: 15px;
    color: #666;
    padding-left: 10px;
}

.search input:last-of-type {
    width: 70px;
    height: 35px;
    background-color: #F54243;
    line-height: 35px;
    font-size: 15px;
    color: #FFFFFF;
}

.nav {
    height: 45px;
    border-bottom: 25px #F54243 solid;
}

.nav .wrapper {
    background-color: #f75a5a;
}

.nav .wrapper ul {
    display: flex;
    justify-content: center;
}

.nav ul li:first-of-type {
    border-left: 1px solid #f38087;
}

.nav ul li {
    border-right: 1px solid #f38087;
}

/* .nav ul li:first-of-type a {
    padding-left: 20px;
} */

.nav ul li a {
    display: flex;
    height: 45px;
    line-height: 45px;
    /* padding-right: 20px; */
    padding: 0 20px;
    letter-spacing: 2px;
    color: #FFFFFF;
}

.nav ul li:hover {
    background-color: #F54243;
}


/* scroll */

.scroll .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    height: 40px;
    border-bottom: 1px solid #F54243;
}

.scroll .wrapper div:first-of-type {
    display: flex;
    align-items: center;
    width: 100px;
    height: 40px;
    font-weight: bold;
    color: #e95757;
}

.scroll .wrapper i {
    font-size: 22px;
    margin-right: 5px;
    color: #e95757;
}

.scroll_div {
    display: flex;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
}

.scroll_div ul {
    display: flex;
}

.scroll_div ul li {
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
}

.scroll_div ul li:hover a {
    color: #e95757;
    text-decoration: underline;
}

/* scroll */


/* hot */
.hots {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    height: 120px;
    margin: 30px auto;
    /* background-color: #f3f3f3; */
    background-color: azure;
    border: 1px solid #e6e6e6;
}

.hots .icon {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 74px;
    height: 74px;
    background: url(../images/topnews.png) no-repeat;
}

.hots h2 {
    max-width: 1000px;
    height: 50px;
    line-height: 50px;
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    color: #000;
}

.hots h2:hover a {
    color: #e95757;
    text-decoration: underline;
}

.hots ul {
    display: flex;
    justify-content: space-evenly;
}

.hots ul li {
    min-width: 280px;
    max-width: 380px;
    height: 30px;
    line-height: 30px;
    padding: 0 20px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hots ul li a {
    padding-left: 10px;
    background-image: url(../images/square.png);
    background-repeat: no-repeat;
    background-position: 0 center;
}

/* .hot ul li a::before {
    content: "";
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: #c0353a;
    margin-right: 10px;
} */

.hots ul li a {
    font-size: 15px;
}

.hots ul li:hover a {
    color: #e95757;
    text-decoration: underline;
}

.banner {
    display: flex;
    justify-content: space-between;
}

/* slider轮播图开始 */
.slider {
    position: relative;
    width: 600px;
    height: 400px;
    overflow: hidden;
}

.slider-wrapper li {
    width: 100%;
    height: 400px;
    display: none;
}

.slider-wrapper li.active {
    display: block;
}

.slider-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
}

.slider-footer {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px;
}

.slider-footer .toggle {
    position: absolute;
    right: 0;
    top: 5px;
    display: flex;
}

.slider-footer .toggle button {
    margin-right: 12px;
    width: 28px;
    height: 28px;
    appearance: none;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.slider-footer .toggle button:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-footer p {
    max-width: 80%;
    font-size: 18px;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 400;
}

.slider-footer p:hover {
    color: antiquewhite;
}

.slider-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-indicator li {
    width: 10px;
    height: 10px;
    margin: 4px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.4;
    cursor: pointer;
}

.slider-indicator li.active {
    width: 13px;
    height: 13px;
    opacity: 1;
}


/* slider轮播图结束 */



.banner .lists {
    width: 570px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.banner .lists li {
    height: 30px;
    line-height: 30px;
    padding-left: 20px;
    background-image: url(../images/square.png);
    background-repeat: no-repeat;
    background-position: 0 center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.banner .lists li:hover a {
    color: #e95757;
    text-decoration: underline;
}


.content {
    display: flex;
    justify-content: space-between;
    margin: 30px auto;
}

.content>div {
    width: 380px;
}

.content .top {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #eeeeee;
    height: 35px;
    line-height: 35px;
}

.content .top h3 {
    border-bottom: 2px solid #e95757;
    margin-bottom: -2px;
}

.content ul {
    margin-top: 20px;
}

.content ul li {
    line-height: 35px;
    padding-left: 20px;
    background-image: url(../images/square.png);
    background-repeat: no-repeat;
    background-position: 0 center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

}

.content ul li a {
    font-size: 15px;
}

.content li:hover a {
    color: #e95757;
    text-decoration: underline;
}


.main {
    margin-bottom: 30px;
}

.main>div:first-of-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.main h3 {
    height: 35px;
    line-height: 35px;
}

.main h3 a {
    padding-top: 5px;
    border-top: 2px solid red;
}

.main>ul {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}

.main ul li {
    width: 230px;
    height: 190px;
    overflow: hidden;
}

.main ul li h5 {
    height: 155px;
    overflow: hidden;
}

.main h5 img {
    transition: all 0.5s;
    width: 100%;
    height: 155px;
}

.main img:hover {
    transform: scale(1.1);
}

.main ul li p {
    width: 230px;
    height: 35px;
    line-height: 35px;
    /* text-align: center; */
    /* background-color: azure; */
    /* background-color: rgba(0, 0, 0, 0.3); */
    overflow: hidden;
}

.main ul li p a {
    font-size: 15px;
}


.place .title {
    display: flex;
    align-items: center;
    height: 40px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background-color: azure;
    margin-bottom: 20px;
}

.place .title h3 {
    color: #e95757;
    padding: 0 10px;
    border-left: 8px solid #e95757;
    font-weight: 700;
}

.place .title ul {
    display: flex;
}

.place .title ul li {
    padding: 0 6px;
    font-size: 15px;
}

.place p {
    margin-left: auto;
    font-size: 15px;
    color: #999
}


.place .items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.place .items li {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    width: 380px;
    height: 160px;
    margin-bottom: 30px;
}

.place .items li img {
    width: 180px;
    height: 160px;
}

.place .item {
    width: 190px;
    height: 160px;
}

.place .item h5 {
    margin-bottom: 10px;
    height: 25px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.place .item p {
    font-size: 15px;
    line-height: 25px;
}

.place .item p a {
    color: red;
}

.footer {
    border-top: 2px solid #F54243;
    margin: 20px auto;
    text-align: center;
}

.footer .items {
    display: flex;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.footer .items li {
    border-right: 1px solid #b7b7b7;
}

.footer .items li a {
    padding: 0 20px;
}

.footer .items li:last-of-type {
    border-right: 0;
}

.footer p {
    line-height: 35px;
    font-size: 15px;
}

.footer .pic {
    display: flex;
    justify-content: center;
}

.footer .pic li {
    margin: 0 10px;
}




/* contain */
.contain {
    display: flex;
    justify-content: space-between;
    margin: 30px auto;
}

.contain .list {
    display: flex;
    flex-direction: column;
    width: 830px;
}

.contain .list h3 {
    font-size: 16px;
    font-weight: bold;
    line-height: 40px;
}

.contain .list h3 a {
    padding-bottom: 8px;
    border-bottom: 2px solid #ff3538;
}

.contain .list ul.item {
    display: flex;
    flex-direction: column;
}

.contain .list ul.item li {
    display: flex;
    gap: 30px;
    overflow: hidden;
    padding: 25px 0px;
    border-bottom: 1px dotted #c4c4c4;
}

.contain .list ul.item li div:first-of-type img {
    width: 210px;
    height: 160px;
}

.contain .list ul.item li div:last-of-type {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contain .list ul.item li div:last-of-type h5 a {
    font-size: 18px;
    font-weight: bold;
    height: 35px;
    line-height: 35px;
}

.contain .list ul.item li div:last-of-type p {
    font-size: 15px;
    line-height: 25px;
}

.contain .list ul.item li div:last-of-type p a {
    color: red;
}

.contain .hot {
    width: 340px;
}

.contain .hot div:first-of-type {
    margin-bottom: 30px;
}

.contain .hot h3 {
    font-size: 16px;
    font-weight: bold;
    line-height: 40px;
}

.contain .hot h3 a {
    padding-top: 7px;
    border-top: 2px solid #ff3538;
}

.contain .hot ul {
    display: flex;
    flex-direction: column;
}

.contain .hot ul li {
    height: 45px;
    line-height: 45px;
    overflow: hidden;
    border-bottom: 1px dashed #ccc;
}

.contain .hot ul li:first-of-type a {
    font-size: 15px;
    /* font-weight: bold; */
}

.contain .hot ul li:last-of-type {
    border-bottom: 0;
}

.contain .hot ul li a {
    font-size: 15px;
    color: #222;
}

.contain .hot a:hover {
    color: #ff3538;
}

.contain .middle {
    position: relative;
    width: 340px;
    height: 230px;
    overflow: hidden;
    margin-bottom: 10px;
}

.contain .middle img {
    transition: all 0.5s;
    width: 340px;
    height: 230px;
}

.contain .middle h5:hover img {
    transform: scale(1.1);
}

.contain .middle p {
    position: absolute;
    width: 340px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 35px;
    line-height: 35px;
    text-align: center;
    /* background-color: #000; */
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0 5px;
    /* opacity: 0.3; */
    overflow: hidden;
}

.contain .middle a {
    color: #fff;
    font-size: 15px;
}

.contain .middle a:hover {
    color: #d6d6d6;
}

/* contain */
/* pages */

/* .pages ul.page {
    display: flex;
    justify-content: center;
    padding: 30px 0;
  } */

/* 
  .pages ul.page li {
    padding: 5px;
  
  }
  
  .pages ul.page li a {
    font-size: 16px;
    font-weight: 500;
    padding: 2px 5px;
    border: 1px solid #ddd;
  } */
.pages {
    margin: 25px auto;
}

.pages ul.page {
    display: flex;
    /* background: #fff; */
    align-items: center;
    padding: 8px;
    border-radius: 50px;
}

.pages ul.page li {
    /* color: #20b2aa; */
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    margin: 0 3px;
    transition: all 0.3s ease;
}

.pages ul.page li.num {
    border-radius: 50%;
    height: 40px;
    width: 40px;
    margin: 0 3px;
}

.pages ul.page li.dots {
    font-size: 22px;
    cursor: default;
}

.pages ul.page li.btn {

    padding: 0 20px;
}

.pages ul.page li.prev {
    border-radius: 25px 5px 5px 25px;
}

.pages ul.page li.next {
    border-radius: 5px 25px 25px 5px;
}

.pages ul.page li.active,
.pages ul.page li.num:hover,
.pages ul.page li.btn:hover {
    color: #fff;
    background: #ff3538;
    opacity: 0.7;
}

/* pages */

/* place */
.place {
    line-height: 40px;
    font-size: 15px;
}

/* place */
/* article */
.article .title {
    line-height: 40px;
    font-weight: 600;
    padding: 10px 0;
}

.article>p {
    font-size: 14px;
    line-height: 35px;
    color: #888;
    border-bottom: 1px dashed #ccc;
}

.article .contents {
    margin: 20px 0;
    line-height: 30px;
}

.article p {
    /* text-indent: 2em; */
    margin-bottom: 20px;
}

.contain .info {
    margin: 20px 0;
    padding: 5px;
    line-height: 35px;
    color: #888;
    border: 1px solid #ccc;
}

/* article */

/* lists */
.contain .centre h3 {
    height: 35px;
    line-height: 35px;
    border-bottom: 2px solid #eee;
}

.contain .centre h3 a {
    padding-bottom: 3px;
    border-bottom: 2px solid red;
}

.contain .lists ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-content: space-between;
    margin-top: 20px;
}

.contain .lists li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 260px;
    height: 205px;
    overflow: hidden;
}

.contain .lists li h5 {
    height: 175px;
    overflow: hidden;
}

.contain .lists li h5 img {
    transition: all 0.5s;
    width: 100%;
    height: 175px;
}

.contain .lists img:hover {
    transform: scale(1.1);
}

.contain .lists li p {
    width: 260px;
    height: 25px;
    line-height: 25px;
    font-size: 15px;
}

.contain .lists a:hover {
    color: #ff3538;
}

.content .right ul li:last-of-type,
.content .right ul li:first-of-type,
.content .right ul li:nth-last-of-type(2) {
    border-bottom: 0;
}

.content .left .lists {
    margin-top: 10px;
}

.content .right ul li.middle a {
    color: #fff;
    /* padding: 0 5px; */

}

/* lists */
.is_adv {
    margin-top: 15px;
    text-align: right;
    color: #ccc;
    /* padding: 3px; */
    font-size: 14px;
}