html, body {
/* height: 100%;*/
}
body {
	background-color: #ffe7ea;
}
.navbars-box.sub {
    height: 92px;
}
.navbars-box-top {
    padding-top: 46px;
}
ul,li{
	margin:0; padding:0; list-style:none
}
/*選單與標題*/
.top-menu-btn-box>div, .top-menu-btn-box>a {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
    height: 46px;
    background-color: #3E3A39;
    color: #fff;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, opacity .15s ease-in-out;
}
.top-menu-btn-box>div, .top-menu-btn-box>a {
    border-right: 1px solid #595757;
}
.top-menu-btn-box>div:last-child, .top-menu-btn-box>a:last-child {
    border-right: 0px;
}
.top-menu-btn-box>div:hover, .top-menu-btn-box>a:hover {
}
.top-menu-btn-box>div.active , .top-menu-btn-box>a.active {
}
.nav-pills .nav-link {
    border-radius: 0px;
    padding: 0px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: inherit;
    background-color: whitesmoke;
}



/*上方封面*/

.carousel-item {
    width: 100%;
    height: 760px;
}
.carousel-item .petPage-main-bg {
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
    width: 100%;
    height: 760px;
	image-rendering: -webkit-optimize-contrast;
}
.carousel-item .petPage-main-bg {
	background-image: url(../../images/mother2022/1920x760.jpg);
	background-position: center;
	background-size: cover;
}
.w1180{
	width: 95%;
	max-width: 1180px;
	margin: 0 auto;
}
@media (max-width: 1180px) {

	.carousel-item .petPage-main-bg {
		background-image: url(../../images/mother2022/1920x760.jpg);
	}
}
@media (max-width: 680px) {
	.btn-go {	
		top: 580px;
		left: 0;
		width: 292px;
	}
	.share-box {
		top: 33px;
		left: 100px;
		width: 92px;
	}
	.share-box .round {
		width: 46px;
		height: 46px;
	}
	.share-box .round:last-child {
		left: 6px;
	}
	.carousel-item .petPage-main-bg {
		background-image: url(../../images/mother2022/768x760.png);
		height: 600px;
	}
	.carousel-item {
		height: 600px;
	}
}

@media (max-width: 480px){
	.carousel-item {
		height: 560px;
	}
	.carousel-item .petPage-main-bg {
		height: 560px;
	}
} 

/*上方封面*/

/*主要*/
.bg-box {
	background-color: #ffe7ea;
	position: relative;
	overflow: hidden;
}
.bg-box::after,
.bg-box::before
{
	content: "";
	position: absolute;
	width: 260px;
	height: 240px;
	background-image:  url(../../images/mother2022/flower.png);
	background-size: cover;
	background-position: center;
}
.bg-box::before{
	right: -100px;
	top: -50px;
}
.bg-box::after{
	bottom: -50px;
	left: -100px;
	transform:rotate(3.14159rad);
}
.footer-img {
	position: relative;
	margin: 0 auto;
	max-width: 952px;
	padding: 0 16px;
	margin-bottom: 36px;

	display: block;
	text-align: center;
}
.footer-img>img:nth-child(2) {
	display: none;
}
.footer-img-c-box {
	margin: auto;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
    right: 0;
	padding: 0px 44px;
	display: flex;
	align-items: center;
}
.footer-img-c-box>a, .footer-img-c-box>div {
	padding: 0px 8px;
}


.pet-round-box iframe {
	width: 400px;
	height: 563px;
}
.pet-round-box {
	position: relative;
	background-color: rgba(255, 255, 255, 0.8);
	border: 2px solid #febfc8;
	border-radius: 8px;
	width: 90%;
	max-width: 920px;
	text-align: center;
	box-shadow: 0 0 4px rgba(0,0,0, .3);
}
.pet-round-box.content1 {
	padding: 80px 24px 24px 24px;
	margin: 104px auto 0px auto;
}
.pet-round-box.content2 {
	padding: 24px 24px 24px 24px;
	margin: 20px auto 0 auto;
}
/* 僅 IE11 */
@media all and (-ms-high-contrast:none) {
.footer-img-c-box>a, .footer-img-c-box>div {	
	width: 100%;
}
}
.etwarm-southchina-pet-box {	
	display: block;
}
.etwarm-southchina-pet-box img {
	border-radius: 8px;
}
.etwarm-southchina-pet-box img:nth-child(2) {
	display: none;
}
@media (max-width: 1036px) {

}
@media (max-width: 850px) {

}
@media (max-width: 768px) {
	.pet-round-box.content1 {
		margin: 104px auto 0px auto;
	}
}
@media (max-width: 680px) {
	
	.round-box-c1 {
		max-width: 300px;
		top: -52px;
		left: 0;
		right: 0;
		margin: 0 auto;
	}
	.round-box-c2 {
		display: none;
	}
	
	.footer-img>img:nth-child(1) {
		display: none;
	}
	.footer-img>img:nth-child(2) {
		display: inline-block;
	}
	.pet-round-box.content1 {
		padding: 40px 0px 16px 0px;
		margin: 60px auto 0px auto;
	}
	.footer-img-c-box {
		flex-direction: column;
		justify-content: center;
		top: 48px;
	}
	.footer-img-c-box>a, .footer-img-c-box>div {
		padding: 0px 46px;
		margin-bottom: 10px;
	}
	.footer-img-c-box .logo-1 {
		padding: 0px 28px;
	}
	.pet-round-box iframe {
		width: 292px;
		height: 455px;
	}
	.pet-round-box.content2 {
		padding: 16px;
	}
}
@media (max-width: 320px) {
	.pet-round-box.content1 {
		padding: 28px 0px 16px 0px;
	}

	.pet-round-box iframe {
		width: 260px;
		height: 458px;
	}
	.footer-img-c-box>a, .footer-img-c-box>div {
		padding: 0px 34px;
		margin-bottom: 10px;
	}
}

.logo{
	display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}
.logo img{
	width:160px;
}

.main_pic{
	width: 80%;
	height: auto;
	margin-bottom: 1rem;
	max-width: 560px;
	margin-left: 8%;
}
.main_pic img{
	width: 100%;
	height: auto;
}
/* 影片輪播 */
.main_video{
	width: 80%;
	height:40vh;
	max-width: 560px;
    max-height: 330px;
	display: block;
	background-color: black;
	margin-left: 8%;

}


.main_video .owl-page.active::before,
.main_video .owl-pagination::after{
	display: none;
}


.owl-theme .owl-controls .owl-pagination{
	bottom: -1rem;
}

.main_video .item-video{
	width: 90%;
	margin: 0 auto;
	height:40vh;
	max-width: 560px;
    max-height: 330px;
}
.main_video .owl-item iframe{
    right: 0;
    width: 100% !important;
    height: 100% !important;
}



.owl-theme .owl-controls .owl-page span {
	background-color: #3E3A39;
	opacity: 0.4;
}
.owl_arrow_left,.owl_arrow_right{
	width: 40px;
	height: 315px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-size: 30px;
	background-image: url(../../images/mother2022/arrow.png);
}
.owl_arrow_left{
	-moz-transform:scaleX(-1);
	-webkit-transform:scaleX(-1);
	-o-transform:scaleX(-1);
	transform:scaleX(-1);

}
.owl-controls .owl-buttons .owl-prev{
	left: -40px;

}
.owl-controls .owl-buttons .owl-next{
	right: -40px;
}
.title{
	width: 80%;
	max-width: 750px;
	margin: 2rem auto;
	margin-top: 5rem;
	overflow: hidden;
}
.title picture, .title img{
	width: 100%;
	height: auto;
}
.other_video ul {
	margin: 3rem auto;
	display: flex;
	justify-content: space-around;
	list-style: none;
}
.other_video ul li{
	width: 28%;
	margin:  0 auto;
}

.other_video ul li iframe{
	width: 100%;
	height: 180px;
}

@media (max-width: 1180px){
	.logo{
		justify-content: center;
	}
	.main_pic{
		margin: 1rem auto;

	}	
	.bg-box::after,
	.bg-box::before
	{
		width: 200px;
		height: 200px;

	}	
	.bg-box::before{
		display: none;
	}
	.bg-box::after{
		bottom: -50px;
		left: -100px;
	}
	/* 影片輪播 */
	.main_video{
		margin: 0 auto;
	
	}


	.title{
		width: 70%;
	}
}
@media (max-width: 768px) {
	.main_video .item-video{
		width: 88%;
		max-height: 300px;
	}
	.owl_arrow_left,.owl_arrow_right{
		height: 300px;
	}

	.other_video ul li{
		width: 70%;
		margin:  1rem 10%;
	}
	.other_video ul li iframe{
		height: 250px;
	}
}
@media (max-width: 680px) {
	.other_video ul {
		flex-wrap: wrap;
		margin: 1rem auto;

	}
}
@media (max-width: 400px) {
	
	/* 影片輪播 */
	.main_video{
		max-height: 200px;
	}

	.main_video .item-video{
		max-height: 200px;
	}
	.owl_arrow_left,.owl_arrow_right{
		height: 200px;
	}
	.bg-box::after,
	.bg-box::before
	{
		width: 130px;
		height: 130px;

	}
	.bg-box::before{
		right: -40px;
		top: -30px;
	}
	.bg-box::after{
		bottom: -30px;
		left: -40px;
	}

	
	.other_video ul li iframe{
		height: 180px;
	}
}
