@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: #4B5156;
	padding: 16px 5px;
	font-size: 18px;
	text-align: center;
	font-weight: bold;
}

ul.rear-better-children li {
	width: 30%;
}

.header-nav-seacher {
	border: none!important;
}

.seacher-lt .zhuti,.seacher-lt .secher-chaxun {
	border: 1px solid #2B98E5!important;
}
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: 18px;
	text-align: center;
	padding: 7px 0;
	display: block;
}

.elderly-care-service li:nth-child(1) span {
	background: #743161;
}

.elderly-care-service li:nth-child(2) span {
	background: #67BEFB;
}

.elderly-care-service li:nth-child(3) span {
	background: #589BCA;
}

.elderly-care-service li:nth-child(4) span {
	background: #A9413A;
	font-size: 15px;
	padding: 9px 0;
}

.elderly-care-service li:nth-child(5) span {
	background: #B49339;
}

.elderly-care-service li:nth-child(6) span {
	background: #299CB1;
}

.elderly-care-service li:nth-child(7) span {
	background: #C6795B;
}

.elderly-care-service li:nth-child(8) span {
	background: #FFCB5C;
	font-size: 15px;
	padding: 9px 0;
}

.seacher-rt a {
	background-image: linear-gradient(to right, #2B98E5 , #42B1FF)!important;
}

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 {
	background-color: transparent;
	color: #fff;
	background-image: linear-gradient(#2B98E5, #56C9F4);
	border-radius: 20px;
}

ul.rear-better-children {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
	position: relative;
}

ul.rear-better-children:before {
	content: '';
	width: 100%;
	height: 46px;
	border-radius: 20px;
	background: #F3F5F7;
	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: 20px;
}

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: #2B98E5;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.rear-better-children-content ul.nowrapli li a:hover {
	color: #2B98E5;
}
.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;
	}

	.header-nav-seacher {
		box-shadow: 0 0 20px rgba(0,0,0,.08);
	}
	.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) {
	.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (max-width: 480px) {
	.seacher-lt .zhuti,.seacher-lt .secher-chaxun,.seacher-lt .wd-time,.sousuo-k, .xia-select {
		font-size: 14px!important;
		margin-bottom: 10px;
	}
	.elderly-care-service {
	    margin-bottom: 35px;
	}
	.elderly-care-service li {
		width: 50%;
	}

	ul.rear-better-children li a,.comme-content-rt ul li a,.interests-protection-right li a {
		font-size: 15px;
	}

	.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,.seacher-lt .zhuti,.seacher-lt .secher-chaxun {
		padding: 6px 6px!important;
	}
}