/* css初始化 */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    position: relative;
    font-family: "microsoft yahei", "PingFangSC Regular", "sans-serif";
	background-color: #f7f7f7;
	color: #333;
}

img {
    vertical-align: bottom;
}

ul,
li {
    list-style: none
}

h1,
h2,
h3,
h4,
h5,
h6,
b {
    font-weight: inherit;
}

button {
    cursor: pointer;
    /* 定义鼠标形状 */
}

input,textarea,button,a {
    border: none;
    outline: none;
}

input::-webkit-input-placeholder{color: #ccc;}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-user-select: none;
    -moz-user-focus: none;
    -moz-user-select: none;
	color: #333;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix::after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}
/* 公共样式 */
.d-box{
	width: 100%;
	position: relative;
	background-repeat: no-repeat;
	background-position: center;
}
.lm-box{
	margin: 60px 0;
}

.box{
	width: 100%;
	max-width: 1200px;
	position: relative;
	margin: 0 auto;
}
.img img{max-width: 100%;}
input::-webkit-input-placeholder{color: #ccc;}
.shadow{box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.2);}
li>a{display: block;}


/* 文本限制行数 */
.text1{
	word-break: keep-all;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.textn{
	text-align: justify;
	text-overflow: -o-ellipsis-lastline;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}


/*滚动条整体样式*/
body::-webkit-scrollbar {
	width: 6px;
	height: 1px;
}
/*滚动条滑块*/
body::-webkit-scrollbar-thumb {
	border-radius: 6px;
	-webkit-box-shadow: inset 0 0 5px rgba(0,140,129,0.2);
	background: linear-gradient(to right, #aaa,#999);
}
/*滚动条轨道*/
body::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0);
	border-radius: 6px;
	background: #fff;
}



/* header */
.header{
	background-image: url(../images/bg-top.png);
}
.header .box{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 40px 0;
}

/* banner */
.banner{
	border-top: solid 6px #000;
}
.banner .banner-bg{
	background: url(../images/bg-img2.gif) repeat-x top;
	height: 30px;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 2;
}
.banner .swiper-pagination-bullet{
	width: 12px;
	height: 12px;
	opacity: .3;
}
.banner .swiper-pagination-bullet-active{
	opacity: 1;
	background-color: #8d4400;
}

/* nav */
.nav-bg{
	background: url(../images/bg-img1.jpg) repeat-x top;
	height: 19px;
	width: 100%;
}
.nav{
	background: url(../images/bg-img3.jpg) repeat-x top;
}
.nav .box{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.nav-box{
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 42px;
}
.nav-box li{
	padding: 0 12px;
	background: url(../images/nav-fg.png) no-repeat left center;
	font-size: 14px;
}
.nav-box li:nth-child(1){
	background: none;
	padding-left: 0;
}
.nav-box a{
	color: #ebebeb;
}
.nav-box a:hover{
	color: #ffcc99;
}
.search form{
	display: flex;
}
.search input{
	padding-left: 12px;
}

/* 简介 */
.sy-jianjie{
	background: #fcfaf7 url(../images/bg1.png) no-repeat center;
}
.sy-jianjie .box>div{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.jianjie-neirong{
	text-indent: 2em;
	line-height: 1.7;
	text-align: justify;
}

.jianjie-zhuzhi .jianjie-bt{
	margin-right: 40px;
}
.jianjie-chengguo .jianjie-bt{
	margin-left: 20px;
}

/* 名医 */
.sy-mingyi{
	background: #fbf5ea url(../images/bg-img4.jpg) repeat-x top;
}
.sy-mingyi .box{
	max-width: 1020px;
}
.lm-bt{
	text-align: center;
	padding: 40px 0 60px;
}

.sy-mingyi-touxiang{
	width: 70%;
	background: #dfd4c2 url(../images/myg.png) no-repeat 40px center;
	padding: 12px 0 12px 180px;
	z-index: 2;
	position: relative;
}


.gallery-thumbs .swiper-slide{
	padding: 10px;
	width: auto;
}
.gallery-thumbs .swiper-slide img{
	max-width: 100%;
}
.gallery-thumbs .swiper-slide-thumb-active {
	background: url(../images/my-kuang.png) no-repeat center;
}
.sy-mingyi .gallery-top{
	margin-top: 30px;
	width: 100%;
	height: 400px;
	box-sizing: content-box;
	padding-top: 100px;
	transform: translateY(-100px);
	transition: all .3s;
}
.gallery-top .swiper-slide{
	padding: 40px 340px 40px 40px;
	background-color: #fff;
	height: 100%;
}
.mingyi-mingzi span{
	font-size: 20px;
	color: #333;
	margin-left: 10px;
}
.gallery-top .swiper-slide p{
	margin-top: 20px;
	padding-top: 38px;
	text-align: justify;
	background-position: left top;
	background-repeat: no-repeat;
}
.gallery-top .swiper-slide .mingyi-jianjie{
	background-image: url(../images/myjj.png);
}
.gallery-top .swiper-slide .mingyi-shanchang{
	background-image: url(../images/sczl.png);
}
.gallery-top .swiper-slide .anniu{
	display: flex;
	justify-content: center;
	margin-top: 20px;
}
.gallery-top .swiper-slide .anniu a{
	display: block;
	color: #fff;
	font-size: 14px;
	line-height: 34px;
	background-image: url(../images/my-an.jpg);
	background-position: center;
	background-repeat: no-repeat;
	text-align: center;
	width: 100px;
	height: 34px;
	margin: 0 10px;
	transition: all .3s;
}
.gallery-top .swiper-slide .anniu a:hover{
	background-image: url(../images/my-an-1.jpg);
}
.gallery-top .mingyi-zhaopian{
	position: absolute;
	right: 0;
	bottom: 0;
}

/* 新闻中心 */
.sy-xinwen{
	background: url(../images/bg2.jpg) no-repeat center;
	padding-bottom: 80px;
}

.sy-xinwen-list{
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}

.sy-xinwen-list li{
	width: calc(50% - 10px);
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: dotted 1px #999999;
}
.sy-xinwen-list li a{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
}
.sy-xinwen-list a .riqi{
	width: 80px;
	height: 80px;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	font-size: 20px;
	color: #999;
	border: solid 1px #999;
	margin-right: 20px;
	line-height: 1.7;
	transition: all 0.3s;
}
.sy-xinwen-list a .riqi span:nth-child(1){
	border-bottom: solid 1px #999999;
}

.sy-xinwen-list a .title{
	flex: 1;
	color: #666;
	line-height: 1.7;
	width: 0;
}
.sy-xinwen-list a .title h3{
	font-size: 24px;
	color: #333;
	font-weight: 700;
	transition: all 0.3s;
}
.sy-xinwen-list a:hover .riqi{
	background-color: rgba(255,255,255,0.8);
}
.sy-xinwen-list a:hover .title h3{
	color: #593612;
}


/* 患者反馈 */
.sy-fankui{
	padding-bottom: 100px;
}
.fankui-box{
	position: relative;
}
.fankui-box .swiper-container2{
	width: 86%;
	margin: 0 auto;
}
/* css实现等比显示 */
.fankui-box .img{
    position: relative;
	display: block;
    height: 0; 
    width: 100%; 
	overflow: hidden;
}
.fankui-box .img[data-ratio="4:3"] {
    padding-top: 75%;
}
.fankui-box .img img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
	object-fit: cover;
	transition: all 0.3s;
}
/* -------- */
.fankui-box .swiper-button-next2::after, .fankui-box .swiper-button-prev2::after {
    content: "";
    display: none;
}
.fankui-box .swiper-button-next2{
	transform: rotate(180deg);
}
.fankui-box .swiper-button-prev2, .fankui-box .swiper-container-rtl .swiper-button-next2{
	left: 20px;
	right: auto;
}
.fankui-box .swiper-button-next2, .fankui-box .swiper-container-rtl .swiper-button-prev2{
    right: 20px;
    left: auto;
}
.fankui-box .img:hover img{
	transform: scale(1.1);
}

/* footer */
.footer{
	background:#333 url(../images/footer-bg.jpg) no-repeat top;
	padding-top: 10px;
}
.footer a{
	color: #ebebeb;
}
.footer-img{
	text-align: center;
	margin: 20px 0 30px;
}
.footer-title{
	font-size: 14px;
	text-align: center;
	color: #ebebeb;
	padding: 20px 0;
	line-height: 1.5;
	background-color: #333;
}

/* 内容 */
.ny-box{
	background-color: #fbf5ea;
	padding-bottom: 40px;
}
.ny-lujing{
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 12px 0 6px 0;
	font-size: 14px;
	border-bottom: solid 1px #ccc;
	color: #999;
	margin-bottom: 20px;
}
.ny-lujing h3{
	font-size: 16px;
}
.ny-lujing a{
	color: #999;
	margin: 0 6px;
}
.ny-bt{
	text-align: center;
	font-size: 24px;
	margin: 20px 0;
}



/* 图片列表 */
.tu-list li{
	float: left;
	width: calc((100% - 60px) / 4);
	margin-right: 20px;
	margin-bottom: 20px;
}
.tu-list li:nth-child(4n){
	margin-right: 0;
}
.tu-list li h4{
	text-align: center;
	line-height: 2;
}

/* css实现等比显示 */
.tu-list .img{
    position: relative;
	display: block;
    height: 0; 
    width: 100%; 
	overflow: hidden;
}
.tu-list .img[data-ratio="4:3"] {
    padding-top: 75%;
}
.tu-list .img img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
	object-fit: cover;
	transition: all 0.3s;
}
/* -------- */
.tu-list li a:hover .img img{
	transform: scale(1.1);
}

/* 文章列表 */
.wen-list li{
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: dotted 1px #999999;
}
.wen-list li a{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
}
.wen-list a .riqi{
	width: 80px;
	height: 80px;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	font-size: 20px;
	color: #999;
	border: solid 1px #999;
	margin-right: 20px;
	line-height: 1.7;
	transition: all 0.3s;
}
.wen-list a .riqi span:nth-child(1){
	border-bottom: solid 1px #999999;
}
.wen-list a .title{
	flex: 1;
	color: #666;
	line-height: 1.7;
	width: 0;
	transition: all 0.3s;
}
.wen-list a .title h3{
	font-size: 24px;
	color: #333;
	font-weight: 700;
	transition: all 0.3s;
}
.wen-list a:hover .title{
	transform: translateX(-8px);
}
.wen-list a:hover .riqi{
	color: #593612;
	border: solid 1px #593612;
}
.wen-list a:hover .riqi span:nth-child(1){
	border-bottom: solid 1px #593612;
}

/* 详情页 */
.wz-bt{
	margin-bottom: 32px;
}
.wz-bt h1{
	font-size: 24px;
}
.wz-bt p{
	text-align: center;
	font-size: 14px;
	margin: 10px 0;
	color: #999;
}
.ny-xiangqing{
	min-height: 300px;
}
.ny-xiangqing img{
	max-width: 100%;
}
.xiangguan-tuijian{
	margin-top: 40px;
	background-color: #fff;
	padding: 20px;
}
.xiangguan-tuijian h3{
	color: #593612;
	margin-bottom: 4px;
}
.xiangguan-tuijian p{
	margin-top: 4px;
	font-size: 14px;
	float: left;
}
.xiangguan-tuijian p:nth-child(3){
	float: right;
}
.xiangguan-tuijian p a:hover{
	color: #593612;
}
.zhuzhi-list{
	margin: 30px 0;
}
.zhuzhi-list li{
	float: left;
	width: 160px;
	height: 37px;
	line-height: 36px;
	border: 1px solid #999999;
	border-radius: 4px;
	margin-right: 20px;
	margin-bottom: 30px;
	overflow: hidden;
}
.zhuzhi-list li a{
	transition: all .3s ease-out 0s;
}
.zhuzhi-list li i{
	font-size: 12px;
	color: #999999;
	border-right: 1px solid #999999;
	display: inline-block;
	width: 13px;
	line-height: 35px;
	overflow: hidden;
	text-align: center;
	float: left;
	margin-right: 10px;
	transition: all .3s ease-out 0s;
}

.zhuzhi-list li:hover{
	border: 1px solid #593612;
	background-color: #593612;
}
.zhuzhi-list li:hover a{
	color: #fff;
}
.zhuzhi-list li:hover a i{
	color: #593612;
	background-color: #fff;
	border-right: 1px solid #593612;
}

/*分页*/
#pages {
    text-align: center;
}

#pages li {
    margin: 0 2px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: #e6e6e6;
    color: #333;
    display: inline-block;
}
#pages li a{
    font-size: 14px;
    display: block;
    padding: 0 12px;
}
#pages li span{
    font-size: 14px;
    display: block;
    padding: 0 12px;
}
#pages li.active {
    text-align: center;
    background: #f90712;
    color: #fff;
    display: inline-block;
}

#pages li:hover {
    background: #f90712;
}

#pages li:hover a {
    color: #fff;
}

