@import url("https://at.alicdn.com/t/c/font_4058198_kxq60riav7.css");

.elderly-care-service li a img {
	-webkit-transition: all 0.4s linear;
	transition: all 0.4s linear;
	height: 186px;
}

.elderly-care-service li a label {
	overflow: hidden;
	display: block;
	margin-bottom: 0;
	cursor: pointer;
	border-radius: 6px 6px 0 0;
}

.elderly-care-service li a:hover img {
	-wekbit-transform: scale(1.2);
	transform: scale(1.2);
}

ul.rear-better-children li a {
	color: #AA7141;
	padding: 16px 5px;
	font-size: 18px;
	text-align: center;
	font-weight: bold;
}
ul.rear-better-children li {
	width: 30%;
}
a:focus, a:hover {
    text-decoration: none;
}
.elderly-care-service {
	margin: 0 -7px;
	margin-bottom: 110px;
}

.elderly-care-service li {
	float: left;
	width: 12.5%;
	position: relative;
	padding: 0 7px;
}

.elderly-care-service li span {
	color: #FFFFFF;
	font-size: 14px;
	text-align: center;
	padding: 7px 0;
	display: block;
	border-radius: 0 0 5px 5px;
}
.elderly-care-service li span{
	background: #D0B381;
}


ul.nav-pills {
	background-color: transparent;
}

.nav-pills>li+li {
	margin-left: 0;
	;
}

ul.rear-better-children>li.active>a,
ul.rear-better-children>li.active>a:focus,
ul.rear-better-children>li.active>a:hover {
	color: #fff;
	background: #D0B381;
	border-radius: 50px;
}

ul.rear-better-children {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
	position: relative;
	align-items: center;
	margin-top: 30px;
}

ul.rear-better-children:before {
	content: '';
	width: 100%;
	height: 72px;
	border-radius: 50px;
	background: #FCF6ED;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.yanglao-taber {
	margin-top: 10px;
	padding: 0 163px;
}

ul {
	margin: 0;
	padding: 0;
}

.rear-better-children-content {
	overflow: hidden;
	margin-bottom: 40px;
}

.rear-better-children-content ul.nowrapli li a {
	font-size: 16px;
	color: #3D4246;
	position: relative;
	padding-left: 30px;
}

ul.list-square li {
	list-style-type: none;
}

.rear-better-children-content ul.nowrapli li {
	padding: 25px 0;
}

.rear-better-children-content ul.nowrapli li a:before {
	content: '';
	width: 6px;
	height: 6px;
	background: #D0B381;
	position: absolute;
	top: 50%;
	left: 10px;
	transform: translateY(-50%);
}

.rear-better-children-content ul.nowrapli li a:hover {
	color: #D0B381;
}
.elderly-care-service li a{
	display: block;
	position: relative;
}
.elderly-care-service li:nth-child(1) .dropdown-toggle,.elderly-care-service li:nth-child(3) .dropdown-toggle{
  width: 45px;
  height: 45px;
 display: block;
 margin: 0 auto;
 margin-top: 7px;
}
.elderly-care-service li:nth-child(1) .dropdown-toggle img,
.elderly-care-service li:nth-child(3) .dropdown-toggle img{
	border-radius: 10px;
}
.elderly-care-service li i{
	height: 24px;
	display: block;
	margin:0 auto;
	margin-top: 10px;
}
.elderly-care-service li>div{
position: absolute;
    top: 0px;
    right: 15px;
    z-index: 1;
}
.elderly-care-service .dropdown-menu{
width: 130px;
    left: -77px;
    top: -45px;
    min-width: 100%;
    -webkit-box-shadow: inherit;
    box-shadow: inherit;
    border: none;
    margin-top: 0;
    padding: 0;
    z-index: 1;
    padding-bottom: 5px;
    background-color: transparent;
}
.select-content{
background-color: #c40100;
    text-align: center;
    bottom: 0;
    top: auto;
    position: relative;
    z-index: 1;
    padding: 5px;
    border-radius: 5px;
}
.select-content a{
	  color: #fff;
}
.select-content:before{
    content: '';
    width: 0;
    position: absolute;
    bottom: -8px;
    right: 23px;
    /* transform: translateX(-50%); */
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #c40100;
}

@media (max-width: 1199px) {
	.elderly-care-service li {
		width: 20%;
		margin-bottom: 20px;
	}
	.elderly-care-service .dropdown-menu {
	    width: 178px;
	    left: -124px;
	}
}

@media (max-width: 991px) {
	.Rights-interests-protection ul.nowrapli {
		float: none;
		width: 100%;
		margin: 0!important;
	}

	.yanglao-taber {
		padding: 0 50px;
	}

	.elderly-care-service .dropdown-menu {
	    width: 133px;
	    left: -80px;
	}
}

@media (max-width: 767px) {

	.rear-better-children-content ul.nowrapli li {
		padding: 15px 0;
	}

	.yanglao-taber {
		padding: 0;
	}

	.elderly-care-service li {
		width: 25%;
	}

	.elderly-care-service li:nth-child(4) span,.elderly-care-service li:nth-child(8) span {
		font-size: 16px;
		padding: 7px 0;
	}

	.elderly-care-service li span {
		font-size: 16px;
	}

	.Rights-interests-protection {
		padding: 10px;
	}

	ul.rear-better-children li {
		width: 33.3333%;
	}

	ul.rear-better-children li a {
		padding: 16px 3px;
		font-size: 16px;
	}
}

@media (max-width: 600px) {
	.elderly-care-service li {
		width: 33.33333%;
	}
}

@media (max-width: 540px) {
	ul.rear-better-children{
		flex-wrap: wrap;
	}
	ul.rear-better-children>li>a{
		white-space: nowrap;
	}
	ul.rear-better-children>li.active>a, ul.rear-better-children>li.active>a:focus, ul.rear-better-children>li.active>a:hover{
		height: auto;

	}
	ul.rear-better-children:before{
		height: 42px;
	}
}

@media (max-width: 480px) {
	.sousuo-k, .xia-select {
		font-size: 14px!important;
		margin-bottom: 10px;
	}
	.elderly-care-service {
	    margin-bottom: 0;
	}
	.elderly-care-service li {
		width: 50%;
	}
	#main-container{
		padding-bottom: 10px;
	}
	ul.rear-better-children li a,.comme-content-rt ul li a,.interests-protection-right li a {
		font-size: 13px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		display: block;
	}

	.cost-of-childbirth li a span {
		font-size: 15px;
	}

	ul.rear-better-children {
		align-items: center;
	}
.elderly-care-service .dropdown-menu{
	left: -90px;
}
.select-content:before{
	right: 16px;
}
	ul.rear-better-children li a {
		padding: 10px 4px;
	}
.elderly-care-service li:nth-child(1) .dropdown-toggle, .elderly-care-service li:nth-child(3) .dropdown-toggle {
    width: 35px;
    height: 35px;
}
	.rear-better-children-content ul.nowrapli li a {
		font-size: 14px;
	}
}

@media (max-width: 380px) {

	ul.rear-better-children li a {
		text-align: center;
	}

	.sousuo-k, .xia-select {
		padding: 6px 6px!important;
	}
}
