
#scuba {
	font-size: 0;
	position: relative;
}
#scuba .title_wrap {
	text-align: center;
	background: url(/img/scuba/scuba_bg.jpg) 0 0 no-repeat;
	background-size: cover;
	background-position: center;
	padding-top: 10%;
}
#scuba .title_wrap .title {
	transform: translate(0,20px);
	-webkit-transform: translate(0,20px);
	opacity: 0;
	transition: all 1s;
	-webkit-transition: all 1s;
}
#scuba .title_wrap .title.active {
	transform: translate(0,0);
	-webkit-transform: translate(0,0);
	opacity: 1;
}
#scuba .title_wrap .title1 {
	margin-bottom: 1%;
}
#scuba .title_wrap .title1 img {
	width: 18.2%;
}
#scuba .title_wrap .title2 {
	transition-delay: 0.2s;
}
#scuba .title_wrap .title2 img {
	width: 22.2%;
}
#scuba .container3 {
	margin-top: 6%;
	position: relative;
}
#scuba .list {
	overflow: hidden;
}
#scuba .list li {
	position: relative;
	text-align: center;
	float: left;
	margin: 0 1%;
	width: 31.15%;
}
#scuba .list li .over {
	position: absolute;
	display: inline-block;
	color: #fff;
	font-size: 26px;
	top: 0;
	left: 0;
	width: 100%;
	height: 45%;
	background-color: rgba(0,0,0,0.5);
	padding-top: 45%;
	opacity: 0;
	transition: all 0.4s;
	-webkit-transition: all 0.4s;
}
#scuba .list li .over:hover {
	opacity: 1;
	padding-top: 40%;
	height: 50%;
}
#scuba .list li .img {
	width: 100%;
}
#scuba .list li .text {
	font-size: 16px;
	color: #333333;
	font-weight: bold;
	margin-top: 3%;
}






#room_detail {
	position: relative;
}
#room_detail .owl-carousel li {
	width: 100%;
	height: 100%;
}
#room_detail .owl-carousel li div {
	width: 100%;
	height: 100%;
	background-position: center center;
	background-size: cover;
}
#room_detail .owl-nav {
	display: none;
}
#room_detail h3,
#room_detail .text {
	text-align: right;
	margin-right: 3%;
}
#room_detail .text {
	font-size: 20px;
	color: #222222;
}
#room_detail h3 {
	margin-top: 2%;
}
#room_detail h3 img {
	width: 28.9%;
}

#room_detail .leaf img {
	position: absolute;
	z-index: 10;
}
#room_detail .leaf .leaf1 {
	opacity: 1;
	bottom: 0;
	left: 0;
	transition: all 1.5s;
}
#room_detail .leaf .leaf2 {
	bottom: 40%;
	left: 2%;
	opacity: 0;
	animation: motion1 5s ease 0s infinite normal;
}
#room_detail .leaf .leaf3 {
	bottom: 35%;
	left: 13%;
	opacity: 0;
	animation: motion2 5s ease 1s infinite normal;
}
#room_detail .leaf .leaf4 {
	bottom: 30%;
	left: 10%;
	opacity: 0;
	animation: motion3 5s ease 0.5s infinite normal;
}

.content iframe{
    width: 100%;
}



@keyframes motion1 {
	20%{
		-webkit-transform:rotate(-20deg);transform:rotate(-20deg);
		opacity: 1; 
		left: 2%; bottom: 40%;
	}
	60%{
		-webkit-transform:rotate(20deg);transform:rotate(20deg);
		opacity: 1; 
		left: 5%; bottom: 35%;
	}
	100%{
		-webkit-transform:rotate(0deg);transform:rotate(0deg);
		opacity: 0; 
		left: 0; bottom: 32%;
	}
}
@keyframes motion2 {
	20%{
		-webkit-transform:rotate(-20deg);transform:rotate(-20deg);
		opacity: 1; 
		left: 10%; bottom: 30%;
	}
	60%{
		-webkit-transform:rotate(20deg);transform:rotate(20deg);
		opacity: 1; 
		left: 13%; bottom: 25%;
	}
	100%{
		-webkit-transform:rotate(0deg);transform:rotate(0deg);
		opacity: 0; 
		left: 10%; bottom: 20%;
	}
}
@keyframes motion3 {
	20%{
		-webkit-transform:rotate(-20deg);transform:rotate(-20deg);
		opacity: 1; 
		left: 15%; bottom: 25%;
	}
	60%{
		-webkit-transform:rotate(20deg);transform:rotate(20deg);
		opacity: 1; 
		left: 10%; bottom: 20%;
	}
	100%{
		-webkit-transform:rotate(0deg);transform:rotate(0deg);
		opacity: 0; 
		left: 15%; bottom: 15%;
	}
}









@media (max-width: 1600px) {
	#room_detail .text {
		font-size: 18px;
	}
}
@media (max-width: 768px) {
	#room_detail {
		display: none;
	}
	#scuba {
		padding-top: 68px;	
	}
	#scuba .list li .text {
		font-size: 14px;
	}
	#scuba .list, #scuba .title_wrap .title {
		opacity: 1;
		transform: translate(0,0);
	}
	#scuba .list li .over {
		font-size: 14px;
	}
	#scuba .title_wrap .title1 img {
		width: 150px;
	}
	#scuba .title_wrap .title2 img {
		width: 180px;
	}
}
@media (max-width: 479px) {
	#scuba .list li .text {
		font-size: 12px;
	}

}