body {
    max-width: 540px;
    margin: 0 auto;
    position: relative;
}

/********* 遮罩****/
.mask{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.3);
	display: none;
	z-index: 1
}

.mask.active{
	display: block;
}

/****************顶部head**********************/
.head {
    background-color: #fff;
    width: 100%;
    height: 1.3rem;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.16);
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 20;
}

.head .menu-btn {
    width: 1.3rem;
    height: 1.3rem;
    background-image: url(../img/icon_02.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 0.62rem;
}

.head .menu-btn.active{
    background-image: url(../img/icon_10.png);
}

.head .logo {
    width: 4.47rem;
    background-image: url(../img/logo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 4.47rem;
}

.head .search-btn {
    width: 1.3rem;
    height: 1.3rem;
    background-image: url(../img/icon_01.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 0.62rem;
}

/***********搜索***********/

.search-form{
	position: absolute;
	top: 0.3rem;
	left: 0;
	width: 100%;
	height: 1rem;
	transition: all 0.3s;
}

.search-form.open{
	transform: translateY(100%);
}

.search-form form{
	display: flex;
	height: 100%;
}


.search-form input,
.search-form button{
	border:none;
	background-color: #fff;
	padding: 0;
	margin: 0;
	font-size: 0.32rem
}

.search-form input{
	width: 80%;
	height: 100%;
	padding: 0.2rem;
}

.search-form button{
	width: 20%;
	height: 100%;
	background-color: #9F1B29;
	color: #fff;
}

/*
.search-form input{
	float: left;
}
*/


/*************新闻通用列表*********************/
.card {
    padding: 0.64rem 0.32rem;
    margin: 0.32rem 0.16rem 0;
    background-color: #fff;
}

.card .card-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.32rem;
	border-bottom: 1px solid #ddd; 
	padding-bottom: 0.2rem;
}

.card .card-title h3 {
    font-size: 0.46rem;
    color: #9F1B29;
    font-weight: normal;
    line-height: 0.66rem;
}

.card .card-title a {
    width: 0.5rem;
    height: 0.5rem;
    background-image: url(../img/icon_06.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    margin-top: 0.08rem;
}


/*************新闻通用****************/
.news .card-title {
    margin-bottom: 0;
}

.news li {
	line-height: 0.24rem;
    border-top: 1px solid #ddd;
}

.news li:first-child {
    border-top: none;
}

.news li a , .news li a b {
    display: block;
    padding: 0.32rem 0;
    font-size: 0.32rem;
    color: #666;
	overflow:hidden; 
	white-space:nowrap;
	text-overflow:ellipsis;
	font-weight:normal;
}

.news li a b{
	padding: 0;
}

.dede_pages{
	margin-top: 0.1rem;
    border-top: 1px solid #ccc;
}

.dede_pages ul{
	text-align: center;
}

.dede_pages li {
    display: inline-block;
    border: 1px solid #eee;
    margin-top: 0.2rem;
}
.dede_pages li:last-child{
	display: block;
	border: none;
}

.dede_pages li a {
    display: block;
    padding: 0.2rem;
}

.dede_pages .thisclass a {
    background-color: #9F1B29;
    color: #fff;
}

/****************医院设备****************/
.device ul {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}

.device ul li {
    flex: 1;
    width: 3.2rem;
    min-width: 3.2rem;
    max-width: 3.2rem;
    margin-bottom: 0.32rem;
}

.device ul li a{
    display: block;
}

.device ul li p{
    background-color: #F4F4F4;
    line-height: 0.8rem;
    text-align: center;
    font-size: 0.32rem;
    color: #333;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}
/***************************footer*************/
.footer {
    padding: 0.62rem 0.7rem 1.97rem;
    background-color: #9F1B29;
	margin-top: 0.6rem;
}

.footer ul {
    display: flex;
    margin-bottom: 0.32rem;
}

.footer li {
    flex: 1;
    text-align: center;
    border-left: 1px solid #fff;
}

.footer li:first-child {
    border-left: none;
}

.footer li a {
    color: #fff;
    font-size: 0.28rem;
}

.footer p {
    text-align: center;
    color: #fff;
    opacity: 0.6;
    font-size: 0.28rem;
    line-height: 0.37rem;
    margin-top: 0.16rem;
}

.footer p:first-child {
    margin-top: 0;
}

/**************tabbar*****************/
.tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    height: 1.4rem;
    background-color: #fff;
    z-index: 1;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}

.tabbar a {
    flex: 1;
    text-align: center;
}

.tabbar img {
    width: 0.65rem;
    padding: 0.1rem 0;
}

.tabbar p {
    color: #9F1B29;
    font-size: 0.32rem;
}


/**************nav***************/
.nav {
    position: absolute;
    top: 1.3rem;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: #fff;
    display: none;
}

.nav.active{
    display: block;
}

.nav>ul {
    padding: 0.36rem 0.16rem;
}

.nav .top-menu>a {
    display: inline-block;
    font-size: 0.38rem;
    color: #333;
    height: 1rem;
    line-height: 1rem;
    position: relative;
    width: 100%;
    padding-left: 16px;
    border-bottom: 1px solid #ddd;
}


.nav .top-menu i{
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 1rem;
    height: 1rem;
    background-image: url(../img/icon_11.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 0.32rem;
}

.nav .drop-menu{
    padding-left: 0.48rem;
    background-color: #FCFCFC;
    display: none;
}

.nav .drop-menu.active{
    display: block;
}

.nav .drop-menu a{
    display: block;
    line-height: 0.8rem;
    border-bottom: 1px solid #ddd;
    font-size: 0.32rem;
    color: #734F52;
}

/*******二级导航******/
.sub-nav{
    padding: 0.64rem 0.16rem 0.08rem;
    display: flex;
    justify-content: center;
}

.sub-nav a{
    width: 2.1rem;
    text-align: center;
    font-size: 0.46rem;
    color: #333;
    line-height: 0.66rem;
    padding-bottom: 0.06rem;
    border-bottom: 1px solid #ddd;
}

.sub-nav a.active{
    color: #9F1B29;
    border-bottom-color: #9F1B29;
}