html, body {overflow-x: hidden;} /* Prevent scroll on narrow devices */
body {padding-top: 70px;}
img {width: 100%;}
ol, ul ,li {list-style:none; text-align: left; padding: 0;}
a:hover {text-decoration: none;}

/* 间距 */
.space-10 {height: 10px; clear: both;}
.space-20 {height: 20px; clear: both;}
.space-30 {height: 30px; clear: both;}
.space-40 {height: 40px; clear: both;}
.space-50 {height: 50px; clear: both;}
.space-60 {height: 60px; clear: both;}


/* 底部 */
.footer {
    background: #ddd;
    padding: 20px 0;
    text-align: center;
}


/* 轮播图 */
.banner {
    margin-top: -20px;
    background-repeat: none;
    background-size: cover;
    background-position: center center;
    height: 560px;
}
.banner .block {
    margin-left: 5%;
    margin-top: 15%;
}
.banner .block .title {
    font-size: 48px;
}
.banner .block .memo {
    font-size: 24px;
}


/* 首页模块 */
.index-block-item {
    text-align: center;
    padding: 40px 10px;
}
.index-block-item:nth-child(even) {
    background: #f2f2f2;
}
.index-block-item .title {
    font-size: 36px;
    color: #666;
}
.index-block-item .desc {
    font-size: 18px;
    color: #888;
}
.index-block-item .memo {
    font-size: 16px;
    color: #666;
}


.index-block-item .icon .icon-item {
    text-align: center;
}
.index-block-item .icon .icon-item .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 82px;
    height: 82px;
    border: 2px solid #31b0d5;
    border-radius: 10px;
    margin: 0 auto;
}
.index-block-item .icon .icon-item .icon .fas {
    line-height: 72px;
    font-size: 48px;
    color: #31b0d5;
}
.index-block-item .icon .icon-item .text {
    padding: 10px 0 20px;
    font-size: 18px;
    font-weight: bold;
    margin: 0 auto;
}

.index-block-item .about {
    padding: 0;
    position: relative;
    z-index: 1;
    text-align: center;
    overflow: hidden;
}
.index-block-item .about img {
    width: 33%;
}
.index-block-item .about img:first-child {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
}
.index-block-item .about img:nth-child(2) {
    width: 40%;
    position: relative;
    z-index: 2;
}
.index-block-item .about img:last-child {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
}


.index-block-item .goods-1 i {
    font-size: 36px;
    color: #31b0d5;
    margin-top: 20px;
    margin-bottom: 5px;
}

.index-block-item .goods-2 i {
    font-size: 36px;
    color: #31b0d5;
    margin-top: 20px;
    margin-bottom: 5px;
}



/* 陪诊服务 */

.service-block-item {
    padding: 0;
}
.service-block-item .service-item {
    margin-bottom: 20px;
    padding: 0 5px;
}
.service-block-item .service-item .title {
    color: #333;
    height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.service-block-item .service-item .summary {
    color: #999;
    height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-block-detail .title {
    text-align: center;
    padding: 0;
    margin: 0;
}
.service-block-detail .summary {
    background: #eee;
    border-radius: 5px;
    padding: 10px;
    color: #666;
}
.service-block-detail .content img {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
}

/* 文章列表 */

.article-block-list {
    margin-bottom: 30px;
}
.article-block-list .block-title {
    margin-top: 0;
    background: #31b0d5;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}
.article-block-list .item {
    margin-bottom: 20px;
    text-align: left;
}
.article-block-list .item .title {
    color: #333;
    height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-block-list .item .summary {
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-block-list .item .memo {
    color: #aaa;
    height: 20px;
    margin-top: 10px;
}
.article-block-list .item .memo .time {
    margin-right: 20px;
}
.article-block-list .block-btn {
    text-align: center;
}
@media screen and (max-width: 768px) {
    .article-block-list .item .title,.article-block-list .item .summary { height: auto; }
}

/* 关于我们 */
.about-block-item {
    padding: 30px 0;
}

/* 图文排版模块 */

.service-block-list-text-side .block-title {
    margin-top: 0;
    background: #f78500;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
}
.service-block-list-text-side .list {
    padding: 20px 10px;
    background: #ccc;
    text-align: left;
}
.service-block-list-text-side .item {
    padding-left: 30px;
    position: relative;
    height: 20px;
    line-height: 20px;
    margin-bottom: 15px;
    overflow: hidden;
}
.service-block-list-text-side .item:last-child {
    margin-bottom: 0;
}
.service-block-list-text-side .item .icon {
    position: absolute;
    color: #f78500;
    font-size: 18px;
    left: 0;
}
.service-block-list-text-side .item .title {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.article-block-list-text .block-title {
    margin-top: 0;
    background: #31b0d5;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
}
.article-block-list-text .item {
    text-align: left;
}
.article-block-list-text .item .title {
    text-align: left;
    font-size: 16px;
    color: #666;
    margin: 0;
}

.article-block-list-img .item {
    margin-bottom: 10px;
    text-align: left;
    padding: 0 2px;
}
.article-block-list-img .item img {
    border-radius: 5px;
}
.article-block-list-img .item .title {
    font-size: 16px;
    color: #666;
    padding: 5px;
    margin: 0;
    height: 26px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-block-list-img .item .summary {
    font-size: 12px;
    color: #888;
    padding: 5px;
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-block-list-img-side .block-title {
    margin-top: 0;
    background: #31b0d5;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
}
.article-block-list-img-side .item {
    margin-bottom: 10px;
    text-align: left;
}
.article-block-list-img-side .item img {
    border-radius: 5px;
}
.article-block-list-img-side .item .title {
    font-size: 16px;
    color: #666;
    padding: 5px;
    margin: 0;
}

/* 评论模块 */

.comment-block .block-title {
    background: #31b0d5;
    border-radius: 5px;
    font-size: 24px;
    text-indent: 10px;
    color: #fff;
    padding: 5px 0;
}
.comment-block .block-form {
    margin-top: 10px;
}
.comment-block .block-form .ajax-form textarea, 
.comment-block .block-form .ajax-form input,
.comment-block .block-form .ajax-form button {
    width: 100%;
    padding: 10px 5px;
    border-radius: 5px;
    border: 1px solid #bbb;
    margin-bottom: 5px;
}
.comment-block .block-list li {
    margin-top: 20px;
    padding-left: 72px;
    position: relative;
    font-size: 14px;
}
.comment-block .block-list li .avatar {
    position: absolute;
    left: 10px;
    top: 0;
}
.comment-block .block-list li .avatar img {
    width: 48px;
    height: 48px;
}
.comment-block .block-list li .user {
    color: #333;
}
.comment-block .block-list li .time {
    color: #999;
}
.comment-block .block-list li .content {
    color: #666;
    margin-top: 5px;
}
.comment-block .block-list li .child {
    margin-left: -72px;
    margin-top: 20px;
    padding-left: 72px;
    position: relative;
    font-size: 14px;
}
@media screen and (min-width: 768px) {
    .comment-block .block-form .ajax-form input { width: 33.3%; }
    .comment-block .block-form .ajax-form button { width: 66.6%; }
    .comment-block .block-list li .child { margin-left: 0; }
}

/* PC端在线客服 */

.jrpb-customer .customer {
    position: fixed;
    z-index: 99;
    top: 50%;
    margin-top: -136px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 15px 5px;
}
.jrpb-customer .customer .item {
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
}
.jrpb-customer .customer .item:last-child {
    margin-bottom: 0;
}
.jrpb-customer .customer .item img.icon {
    width: 60px;
}
.jrpb-customer .customer .item .name {
    color: #ccc;
    font-size: 10px;
}
.jrpb-customer .customer .item .image {
    display: none;
    position: fixed;
    width: 200px;
    z-index: 99;
    top: 50%;
    right: 100px;
    margin-top: -100px;
    border-radius: 5px;
    border: 1px solid #eee;
    background: #fff;
}
.jrpb-customer .customer .item .image img {
    margin: 10px;
    width: 180px;
}

/* 手机端在线客服 */

.jrpb-customer .customer-mobile {
    position: fixed;
    z-index: 99;
    bottom: 60px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 15px 5px;
}
.jrpb-customer .customer-mobile .item {
    display: block;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
}
.jrpb-customer .customer-mobile .item:last-child {
    margin-bottom: 0;
}
.jrpb-customer .customer-mobile .item img {
    width: 30px;
}

.jrpb-customer .customer-header .phone {
    position: fixed;
    z-index: 99;
    top: 50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.jrpb-customer .customer-header .phone .tel {
    position: absolute;
    height: 50px;
    top: 0;
    left: 10px;
    font-size: 24px;
    color: #666;
    display: flex;
    align-items: center;
}
.jrpb-customer .customer-header .phone .tel .icon {
    font-size: 24px;
    color: #666;
    margin-right: 5px;
}
.jrpb-customer .customer-header .phone .btn {
    position: absolute;
    padding: 0;
    top: 5px;
    height: 40px;
    padding: 0 30px;
    border-radius: 20px;
    right: 10px;
    background: #ff5c5c;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.jrpb-customer .customer-footer {
    position: fixed;
    z-index: 99;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: #fff;
    border-top: 1px solid #eee;
    padding-top: 5px;
}
.jrpb-customer .customer-footer .item {
    display: inline-block;
    width: 42.5%;
    margin-left: 5%;
    height: 40px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #666;
    color: #666;
    font-size: 16px;
    text-align: center;
}
.jrpb-customer .customer-footer .item:last-child {
    background: #ff5c5c;
    border: 1px solid #ff5c5c;
    color: #fff;
}
.jrpb-customer .customer-footer .item img.logo {
    position: relative;
    top: 8px;
    display: inline;
    width: 32px;
    height: 24px;
}
.jrpb-customer .customer-footer .item .name {
    position: relative;
    top: 8px;
    display: inline;
}

.jrpb-customer .customer-footer .block {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
}
.jrpb-customer .customer-footer .block .mask {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.jrpb-customer .customer-footer .block .box {
    padding: 30px 0;
    position: relative;
    z-index: 101;
    top: 60px;
    width: 320px;
    border-radius: 20px;
    margin: 0 auto;
    background: #fff;
}
.jrpb-customer .customer-footer .block .box .title {
    position: relative;
    left: 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
.jrpb-customer .customer-footer .block .box div.logo {
    font-size: 14px;
    color: #666;
    background: url('../images/logo.png') no-repeat top left;
    background-size: 48px 48px;
    height: 48px;
    line-height: 48px;
    width: 160px;
    margin: 0 auto;
    margin-top: 20px;
    padding-left: 56px;
    text-align: left;
}
.jrpb-customer .customer-footer .block .box .image img {
    width: 160px;
    margin: 0 auto;
}
.jrpb-customer .customer-footer .block .box .memo {
    margin-top: 10px;
    font-size: 20px;
    color: #666;
}
.jrpb-customer .customer-footer .block .box .btn {
    width: 160px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ff5c5c;
    font-size: 24px;
    color: #fff;
    border-radius: 10px;
    margin: 0 auto;
    margin-top: 20px;
}
.jrpb-customer .customer-footer .block .box .step {
    margin-top: 20px;
    background: url('../images/step.png') no-repeat center top;
    background-size: 100% auto;
    padding-top: 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #666;
}
.jrpb-customer .customer-footer .block .box .cancel {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 0;
    right: 10px;
    font-size: 40px;
    color: #999;
}

/* 分页 */
#page{
	margin:20px 5%; 
	overflow:hidden; 
	text-align:center; 
	font-size:12px; 
	clear:both;
}
#page .scott{ 
	display:inline-block; 
	margin:0 auto;
	overflow:hidden;
}
#page .scott span,#page .scott a:hover{ 
	background:#4ab344; 
	border:1px solid #6cc01d; 
	color:#fff; 
	display:inline; 
	float:left; 
	margin:5px 4px; 
	padding:0 14px; 
	height:34px; 
	line-height:34px; 
	text-decoration:none; 
	border-radius:4px;
}
#page .scott a {
	padding:0 14px; 
	height:34px; 
	line-height:34px; 
	background-color:#fff; 
	border:1px solid #ddd; 
	margin:5px 4px; 
	display:inline; 
	float:left; 
	color:#555; 
	border-radius:4px;
}
#page .scott .not-allowed {
	display:none;
}

@media screen and (min-width: 768px) {
    .index-block-item .desc {
        padding: 0 10%;
    }
    .index-block-item .memo {
        padding: 0 5%;
    }
}