@charset "utf-8";
* {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-family: "Segoe UI", Arial, Helvetica, "Microsoft JhengHei Correct", 'Microsoft JhengHei', PMingLiU, sans-serif;
}

input {
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	border-radius: 0;
}

em {
	font-style: normal;
}

h2 {
	font-size: 30px;
	margin-bottom: 20px;
	text-align: center;
	font-weight: normal;
}

h3 {
	font-size: 1.2em;
	vertical-align: middle;
}

h3,
h3 a {
	color: #336600;
}

img {
	max-width: 100%;
	height: auto;
}

body {
	font-size: 16px;
	line-height: 1.5;
}

.fixed body {
	margin-top: 105px;
}

.anchor_hide {
	display: block;
	height: 105px;
	margin-top: -105px;
	z-index: -1;
	visibility: hidden;
}

article {
	padding: 50px 0;
	min-height: 50vh
}

.container {
	max-width: 1100px;
	width: 100%;
	margin: 0 auto;
	position: relative;
	padding: 0 .5em;
}

.intro {
	margin-bottom: 40px;
	line-height: 35px;
}


/*search*/

.search_bar {
	padding: .5em;
	margin: 0 auto;
	max-width: 1100px;
}

#rooms_search_bar input.btns {
	background: #fa0;
	color: #fff;
	transition: .4s all;
}


/*fixed_bar*/

#fixed_bar .logoicon {
	margin-top: 0;
	margin-bottom: 5px;
}


/*google adsense*/

.adsense {
	padding: 40px 0;
}


/*banner*/

.banner {
	background: -moz-linear-gradient(top, rgba(117, 202, 244, 1) 0%, rgba(117, 202, 244, 0.3) 70%, rgba(255, 255, 255, 0) 100%);
	background: -webkit-linear-gradient(top, rgba(117, 202, 244, 1) 0%, rgba(117, 202, 244, 0.3) 70%, rgba(255, 255, 255, 0) 100%);
	background: linear-gradient(to bottom, rgba(117, 202, 244, 1) 0%, rgba(117, 202, 244, 0.3) 70%, rgba(255, 255, 255, 0) 100%);
	filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#75caf4', endColorstr='#00ffffff', GradientType=0);
	height: 500px;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.banner .cloud_bg {
	background-image: url('../images/banner.png');
	width: 100%;
	height: 462px;
	background-position: center bottom;
	background-size: cover;
	position: absolute;
	left: 0;
	bottom: 0;
}

.banner .title {
	text-align: center;
	margin-bottom: 20px;
}

.banner .title a {
	display: inline-block;
}

.banner .title svg {
	width: 100%;
}


/*menu*/

ul.container li a {
	font-size: 1.2em;
	color: #333;
	display: block;
	text-align: center;
	padding: 15px 0 10px;
	border-bottom: 5px solid #fff;
	transition: .4s all;
}


/*hotels*/

.swiper-container {
	padding: 0px !important;
	background: transparent !important;
}

.swiper-button-prev,
.swiper-button-next {
	opacity: 0.7;
	width: 50px;
	height: 100%;
	top: 0;
	background-size: 70% auto;
	margin: 0;
}

.swiper-button-prev {
	left: 0;
}

.swiper-button-next {
	right: 0;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
	opacity: 0;
}

.recommend .swiper-slide {
	transition: .4s all;
	padding: 50px;
}

.recommend .swiper-slide.swiper-slide-prev::after,
.recommend .swiper-slide.swiper-slide-next::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	z-index: 3;
	background-color: rgba(255, 255, 255, 0.7)
}

.recommend .swiper-slide.swiper-slide-active {
	padding: 0;
}

.recommend .swiper-wrapper {
	margin-bottom: 20px;
}

section.grid_list {
	position: relative;
}

.grid_list .img_bg {
	padding-bottom: 75%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.grid_list .img_bg img {
	display: none;
}

a.grid_link {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
}

.grid_beroom {
	position: absolute;
	top: 5px;
	left: 0;
	padding: 5px 10px;
	background-color: rgba(000, 000, 000, 0.7);
	color: #fff;
}

.grid_pic {
	position: relative;
}

.grid_pic a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
	transition: .4s all;
}

figure.grid_pic img {
	width: 100%;
}

.grid_txt{
  padding-top: 5px
}

h3.grid_name,
.grid_address {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	display: block;
}

.grid_address {
	background-image: url(../images/mapicon.svg);
	background-repeat: no-repeat;
	background-size: 22px 22px;
	text-indent: 20px;
	font-weight: normal;
	font-size: 15px;
	color: #333;
  margin-top: 5px
}

#gridlists .grid_icon_address {
	display: none;
}

.grid_Prj {
	height: 50px;
	overflow: hidden;
	margin-top: 5px
}

.grid_Prj a {
	color: #333;
}

.grid_rate {
	overflow: hidden;
}

a.grid_booking {
	float: right;
	background: #fa0;
	color: #fff;
	padding: 3px 25px;
	transition: .4s all;
}

.grid_prices {
	float: right;
	color: red;
	padding: 5px 10px;
}


/*fb抽獎*/

.fb_adsense {
	max-width: 1100px;
	height: 150px;
	margin: 0 auto;
}

.fb_adsense .fb_link {
	width: 100%;
	height: 100%;
	display: block;
	background-image: url('../images/fb_lottery.jpg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat
}

/*featured tab*/

.featured_tab {
	margin: 20px 0;
	display: flex;
	justify-content: space-between;
	overflow-x: auto;
}

.featured_tab li {
	text-align: center;
	cursor: pointer;
	margin-right: 20px;
}

.featured_tab .active .svg_view {
	background-color: #d1edfb;
}

.featured_tab li:last-child {
	margin-right: 0;
}

.featured_tab span {
	color: #333;
	display: block;
}

.featured_tab .svg_view {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	margin-bottom: 10px;
	transition: .4s all;
}

.featured_tab .svg_view svg {
	width: 120px;
}


/*熱門景區住宿推薦*/

.travelncc .right {
	text-align: right;
}

.travelncc .more {
	background-color: #fa0;
	color: #fff;
	margin-bottom: 10px;
	padding: 3px 5px;
	transition: .4s all;
	display: inline-block
}

.travelncc ul {
	display: flex;
	margin-bottom: 20px;
}

.travelncc ul li {
	text-align: center;
	background: #ff2700;
}

.travelncc ul .active {
	background: #b51c00;
}

.travelncc ul li a {
	padding: 10px;
	color: white;
	display: block;
}

.travelncc .hotels_box {
	position: relative;
	overflow: hidden;
}

.travelncc .hotels_area {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	display: none;
}

.travelncc .show {
	position: relative;
	z-index: 1;
	display: block;
}

.travelncc .grid_flex {
	display: flex;
	flex-wrap: wrap;
}

.travelncc .grid_flex .grid_list {
	width: 24%;
	margin-bottom: 20px;
	margin-right: 1.3%;
}

.travelncc .grid_flex .grid_list:nth-of-type(4n) {
	margin-right: 0;
}


/*international*/

.international_happy {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.international_box {
	padding: 20px 10px;
}

.international_box h3, .featured h3{
	margin-bottom: 10px;
}

.international_tab {
	display: flex;
	justify-content: space-between;
	overflow-x: auto;
	background-color: #5db6e3;
}

.international_tab li {
	text-align: center;
	cursor: pointer;
	flex-grow: 1;
	padding: 10px 0;
	color: #fff;
}

.international_tab .active {
	background-color: #47a2d0;
}


/*summer vacation*/

.summer .link_box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.summer figure {
	border-radius: 50%;
	overflow: hidden;
	display: inline-block;
	position: relative;
	margin-bottom: 20px;
	border: 3px solid #d1efff;
}

.summer figure a {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	z-index: 1;
}

@media (min-width: 741px) {
	/*menu*/
	nav {
		background: #fff;
	}
	#nav .active a {
		border-bottom: 5px solid #f60;
	}
	ul.container {
		display: flex;
	}
	ul.container li {
		flex-grow: 1;
	}
	/*search*/
	.search_container {
		background: rgba(255, 255, 255, .7);
	}
}

@media (min-width: 1024px) {
	.swiper-button-prev,
	.swiper-button-next {
		transition: all 0.4s;
	}
	.swiper-button-prev:hover,
	.swiper-button-next:hover {
		opacity: 1;
		background-color: rgba(0, 0, 0, 0.3);
	}
	ul.container li a:hover {
		border-bottom: 5px solid #fa0;
	}
	.grid_pic a:hover {
		background-color: rgba(255, 255, 255, .3);
	}
	.featured_tab li:hover .svg_view {
		background-color: #d1edfb;
	}
	.travelncc .more:hover {
		background-color: #f60;
	}
	.summer figure:hover {
		animation: rubberBand;
		animation-duration: 1s;
		animation-timing-function: linear;
	}
	input.btns:hover,
	a.grid_booking:hover {
		background: #f60 !important;
	}
	/*animate*/
	@keyframes rubberBand {
		0% {
			-webkit-transform: scale3d(1, 1, 1);
			transform: scale3d(1, 1, 1)
		}
		30% {
			-webkit-transform: scale3d(1.25, .75, 1);
			transform: scale3d(1.25, .75, 1)
		}
		40% {
			-webkit-transform: scale3d(0.75, 1.25, 1);
			transform: scale3d(0.75, 1.25, 1)
		}
		50% {
			-webkit-transform: scale3d(1.15, .85, 1);
			transform: scale3d(1.15, .85, 1)
		}
		65% {
			-webkit-transform: scale3d(.95, 1.05, 1);
			transform: scale3d(.95, 1.05, 1)
		}
		75% {
			-webkit-transform: scale3d(1.05, .95, 1);
			transform: scale3d(1.05, .95, 1)
		}
		100% {
			-webkit-transform: scale3d(1, 1, 1);
			transform: scale3d(1, 1, 1)
		}
	}
}

@media (max-width: 970px) {
	body {
		margin: 60px 0 46px;
	}
	article {
		min-height: auto
	}
	.anchor_hide{
    height: 60px;
    margin-top: -60px;
  }
	/*header*/
	header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 10;
	}
	/*menu*/
	ul.container {
		display: block;
	}
	#mobile_nav li a {
		border: 0;
		padding: 10px 0;
	}
}

@media (max-width: 740px) {
	.swiper-button-prev,
	.swiper-button-next {
		display: none;
	}
	/*header*/
	.intro {
		display: none;
	}
	/*search*/
	.search_button {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 9;
		color: white;
	}
	/*banner*/
	.banner .cloud {
		height: 175px;
	}
	article {
		padding: 20px 0;
	}
	/*banner*/
	.banner {
		height: 255px;
	}
	.summer figure {
		width: 48%;
	}
	/*fb抽獎*/
	.fb_adsense {
		height: 200px;
	}
	.fb_adsense .fb_link {
		background-image: url('../images/fb_lottery_mobile.jpg');
		background-size: cover;
	}
	/*offer*/
	.offer-next,
	.offer-prev {
		display: none;
	}
	/*featured*/
	.featured_tab li {
		margin-right: 15px;
	}
	.featured_tab .svg_view {
		width: 120px;
		height: 120px;
	}
	.featured_tab .svg_view svg {
		width: 90px;
	}
	/*travelncc*/
	.travelncc .grid_flex .grid_list {
		width: 49%;
	}
	.travelncc .grid_flex .grid_list:nth-of-type(2n) {
		margin-right: 0;
	}
}