*,
*:after,
*::before {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html,
body{
	height: 100%;
	letter-spacing: 1px;
	background-color:#cc0000;
}

nav {
	right: auto;
	-webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.50);
	box-shadow: 0px 0px 8px rgba(0,0,0,0.50);
	padding-top: 10px;
	padding-bottom: 10px;
	position: relative;
	z-index: 1;
	-webkit-transition: all 400ms ease;
	transition: all 400ms ease;	
	border-top:1px solid #CCCCCC;
	border-bottom:1px solid #CCCCCC;
	background-color:#fff;
}

nav .wrapper {
    position: relative;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}	
main {
	/*background-image: url('../img/mainbg.png');*/
	padding-top: 30px;
	padding-bottom: 20px;
	background-color:#666;
}
main .wrapper {
	margin-top:60px;
    position: relative;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.item{
	z-index:2;
}

main section, main article {
	margin-bottom: 0px;
}

	.right_img{
	display: block;
	margin: 0;
	height: 50px;
	line-height: 50px;
	color: #666666;
	text-align: center;
	margin: 0 0 10 0;
	background-color: #EFEFEF;
	font-size: 16pt;
	text-decoration:underline;
	}

main section h2.type2, main article h2.type2 {
	margin-bottom: 0;
}
main section>a, main section>div {
	position: relative;
	height: 120px;
	display: block;
	background-color: #FFF;
	-webkit-transition: all 400ms ease;
	transition: all 400ms ease;	
}
main section>div {
	height: 170px;
}
main section>div .trip small {
	display: block;
	font-family: PMingLiU, "SongTi TC", serif;
	color: #555555;
	line-height: 200%;
}
main section>div .trip a {
	display: inline-block;
	margin-right: 10px;
	width: 128px;
	height: 32px;
	line-height: 32px;
	border: 1px solid #152A8C;
	text-align: center;
	color: #152A8C;
	-webkit-transition: all 400ms ease;
	transition: all 400ms ease;		
}
main section>div .trip a:hover {
	display: inline-block;
	margin-right: 10px;
	width: 128px;
	height: 32px;	
	line-height: 32px;	
	text-align: center;	
	color: #FFF;
	background-color: #152A8C;
	text-decoration: none;
}

footer {
	background-color: #FFF;
	-webkit-box-shadow: 0px 0px 8px hsla(0,0%,0%,0.50);
	box-shadow: 0px 0px 8px hsla(0,0%,0%,0.50);
	text-align: center;
	font-size: 14pt;
	padding-top: 30px;
	padding-bottom: 30px;
}
.lt-ie9 main section>a, .lt-ie9 main section>div {
	margin-bottom: 1px;
}
main section>a:hover, main section>div:hover {
	z-index: 1;
	-webkit-box-shadow: 0px 0px 8px hsla(0,0%,0%,0.50);
	box-shadow: 0px 0px 8px hsla(0,0%,0%,0.50);
}
.trim {
	display: block;
	width: 100%;
	height: 4px;
	position: absolute;
	bottom: 0px;
	left: 0px;
	background-color: hsla(0,0%,0%,0.05);
}
.chufari, .price {
	position: absolute;
	top: 0;
	width: 160px;
	height: 100%;
	font-size: 12px;
	line-height: 140%;
	padding-left: 15px;
	padding-right: 15px;
}
.trip {
	float: left;
	margin-right: 320px;
	height: 100%;
	color: #333;
	font-family: "Meiryo UI", Meiryo, "Microsoft JhengHei UI", "Microsoft JhengHei", "HeiTi TC", sans-serif;
	padding-left: 1em;
	padding-right: 1em;
	position: relative;
	font-size:12pt;
}
main section>div .trip {
	margin-right: 160px;
}
.lt-ie9 .trip {
	width: 600px;
	padding-left: 20px;
	padding-right: 20px;
}
.trip:before, .chufari:before, .price:before {
	content: '';
	width: 0;
	height: 100%;
	display: inline-block;
	vertical-align: middle;
}
.trip strong {
	color: #F13838;
	font-weight: normal;
	display: block;
}
.trip div, .chufari div, .price div {
	display: inline-block;
	vertical-align: middle;
	margin-top: 1em;
	margin-bottom: 1em;
	line-height: 150%;
}
.chufari {
	right: 160px;
	background-color: #F4F4F4;
	color: #333;
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}
.price {
	right: 0;
	background-color: #FE4365;
	color: #FFF;
}
.chufari span, .price span {
	font-family: PMingLiU, "SongTi TC", serif;
	display: block;
}
.price *, .ticketPrice * {
	display: inline-block;
	vertical-align: middle;
}
.chufari div {
	width: 100%;
}
.chufari strong {
	font-family: Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", monospace;
	font-size: 13.5px;
	font-weight: normal;
	margin-left: 0.1em;
	margin-right: 0.1em;
	vertical-align: text-top;
}
.price strong {
	font-family: Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", monospace;
	font-size: 20px;
	font-weight: normal;
	margin-left: 0.2em;
	margin-right: 0.2em;
	vertical-align: text-top;
}
.head_logo_bg{
	height:50px;
	/*background: url(http://www.tourking.com.tw/SidebarTransitions/img/th_head_bg_long.png) no-repeat;*/
	background-color:#990000;
}

.head_logo_bg img{
	margin-top:5px;
	height:40px;
	
}
/*輸入圖片*/
#intro{	
	height: 500px;
	background-image: url(../img/2016newyear.jpg);
	background-repeat: no-repeat;
	background-position: center top;
}

/* Media queries */
a.home{
	width: 60px;
	height: 50px;
	display: inline-block;
	font-size: 12px;
	background-color: #e0e0e0;
	line-height: 60px;
	vertical-align: top;
	text-align: center;
	margin-right:100px;
	float:right;
	text-decoration:none;
}
a.gohome{
	background-image: url(../images/topa.png);
	width: 48px;
	height: 49px;
	display:none;
	position: fixed;
	right: 20px;
	bottom: 20px;
	cursor: pointer;
	/*z-index: 101;*/
}
a.gohome:hover{
	background-image: url(../images/toph.png);
	width: 48px;
	height: 49px;
	cursor: pointer;
}
@media(min-width:767px) {
	.head_logo_bg img{
		margin-left:100px;
	}
	.column{
		display:none;
	}
	.line960{
		width:100%;
		overflow: hidden;
		text-align:center;
		display:inline-block;
	}
	.line350{
		display:none;
	}		
	.slogan{/*修改FBicon的位置*/
		padding-top: 380px;
		padding-left: 55%;
	}
	.header{
		display:none;
	}
	
	nav .wrapper>a {
		display: inline-block;
		width: 120px;
		height: 30px;
		line-height: 32px;
		background-color: #54B86C;
		margin-left: 5px;
		margin-right: 5px;
		margin-bottom: 5px;
		color: #FFF;
		text-align: center;
		font-size: 13px;
		border-radius: 5px;
		font-family: PMingLiU, "SongTi TC", serif;
		vertical-align: top;
		text-shadow: 1px 1px hsla(0,0%,0%,0.30);
		font-weight: bold;
	}
	nav .wrapper>a:hover {
		background: url('../images/btn-g.gif') repeat;
		text-decoration: none;
	}
	nav .wrapper>a.active {
		background-image: none;
		background-color: #FF8F14!important;
	}
	nav .wrapper h3 {
		display: none;
	}
	#sidebar{

	    max-width: 960px;
	    margin-left: auto;
	    margin-right: auto;
	    text-align: center;
	}
	#cart{
		z-index:50;
		position: absolute;
		top: 630px;
		margin: 0px;
	}
}
@media (max-width:768px) and (min-width:481px) {
		.head_logo_bg img{
		margin-left:100px;
	}

	.column{
		display:none;
	}
	.line960{
		width:100%;
		overflow:hidden;
		text-align:center;
		display:inline-block;
	}
	.line350{
		display:none;
	}	
	.slogan{/*修改FBicon的位置*/
		padding-top: 380px;
		padding-left: 55%;
	}
	.header{
		display:none;
	}
	
	nav .wrapper>a {
		display: inline-block;
		width: 120px;
		height: 30px;
		line-height: 32px;
		background-color: #54B86C;
		margin-left: 5px;
		margin-right: 5px;
		margin-bottom: 5px;
		color: #FFF;
		text-align: center;
		font-size: 13px;
		border-radius: 5px;
		font-family: PMingLiU, "SongTi TC", serif;
		vertical-align: top;
		text-shadow: 1px 1px hsla(0,0%,0%,0.30);
		font-weight: bold;
	}
	nav .wrapper>a:hover {
		background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAeCAIAAABi9+OQAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAsSAAALEgHS3X78AAAAFnRFWHRDcmVhdGlvbiBUaW1lADEwLzA2LzE1nm197AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAzSURBVAiZbYuxDQAgDMOi3MgZHMh1MQO0YmCzLVljTQMWMmCCBYdve10pfp52TD5Pcdo30zRIaI5mm5YAAAAASUVORK5CYII=);
		text-decoration: none;
	}
	nav .wrapper>a.active {
		background-image: none;
		background-color: #FF8F14!important;
	}

	nav .wrapper h3 {
		display: none;
	}

	#sidebar{
	    max-width: 960px;
	    margin-left: auto;
	    margin-right: auto;
	    text-align: center;
	}
	#cart{
		z-index:50;
		position: absolute;
		top: 630px;
		margin: 0px;

	}
}
@media (max-width:480px) {
	
	#sidebar{
		display:none;
	}
	.trim, .chufadi:after, .mudidi:after {
		display: none;
	}
	main .wrapper {
		width: 100%;
		margin-top: 0px;
	}
	main section>a, main section > div, .BIG {
		height: auto;
		margin-bottom: 10px;
	}
	
	.slogan{/*修改FBicon的位置*/
		padding-top: 150px;
		padding-left: 35%;
	}
	
	.trip, .chufari, .price {
		display: block;
		height: auto;
		width: auto;
		text-align: center;
	}
	.trip, main section > div .trip {
		float: none;
		margin: 0;
		height:120px;
	}
	.chufari, .price {
		position: relative;
		right: auto;
		height:80px;		
	}
	.chufari span {
		display: inline-block;
		margin-right: 5px;
	}
	main section {
		margin-bottom: 0;
	}
	.chufari strong {
		font-family: Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", monospace;
		font-size: 18px;
		font-weight: normal;
		margin-left: 0.1em;
		margin-right: 0.1em;
		vertical-align: text-top;
	}
	#social {
		right: 60px;
		top: 265px;
	}
	main {
		padding-top: 0px;
		padding-bottom: 0px;
	}	
	footer {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	.st-content {
		overflow-y: scroll;
		background: #f3efe0;
		position: relative;
		overflow: hidden;
	}


	

	

	
	header {
	    position: fixed;
	    top: 0px;
	    left: 0px;
	    width: 100%;
	    z-index: 99;
	}

	.head_logo_bg{
		margin-left: 60px;
		width:100%;
		padding: 0 auto;
	}
	.head_logo_bg img{
		background-color: #900;
		margin: 5 0 0 30;
	}
	



	/* Fallback example for browsers that don't support 3D transforms (and no JS fallback) */

	#intro {
			-webkit-background-size: 768px 200px;
			background-size: 768px 200px;
			height: 200px;
	        max-height: 200px;
	        margin-top:50px;
	}
	.menu{
		/*頁面最上面藍邊*/
		background: url(http://www.tourking.com.tw/SidebarTransitions/img/th_head_bg_long.png) no-repeat;
		/*手機左邊目錄按鈕上的三條線*/
		background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAOElEQVR42u3VMQEAAAjDsPk3DSr2QOKgBywBAAAAAH6YMsGCBQNuWLBgswRmydMSLBgAAAAAuGIBjM17vT6eOa8AAAAASUVORK5CYII=);
		/*z-index: 1;*/
		/*陰影*/
		-webkit-box-shadow: 0px 0px 8px hsla(0,0%,0%,0.20);
		box-shadow: 0px 0px 8px hsla(0,0%,0%,0.20);
	}
	.menu:hover{
		/*滑鼠移動至此時的顏色與圖案(三條橫線)*/
		background-color:#C00;
		background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAOElEQVR42u3VMQEAAAjDsPk3DSr2QOKgBywBAAAAAH6YMsGCBQNuWLBgswRmydMSLBgAAAAAuGIBjM17vT6eOa8AAAAASUVORK5CYII=);
	}
	/*
	.right_img img{
		width:100%;
		height:30px;
	}
	*/	
	a.home{
		margin-right:0px;
		float:left;
	}
	a.gohome{
		visibility: hidden;
	}
	.line960{
		display:none;
		text-align:center;
	}
	.line350{
		display:block;
		overflow:hidden;
	}
	.right_more{
		margin-bottom: 10px;
	}
	.nav-tabs li{
		margin: 0 1 0 1;
		font-size:12pt;
	}
	.nav-tabs li a{
		width:100px;
		height: 80px;
		padding: 25 5;
	}
	.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus{
		background-color: #7D0000;
		color: #FFF;
		border-color: #FF4D4D #FF4D4D transparent;
	}

	.nav-tabs > li > a {
	    background-color: #C00;
		color: #FFF;
	    border-color: #F81717 #F81717 #C00;
	}

	.nav-tabs > li > a:hover , .nav-tabs > li > a:focus{
		background-color: #7D0000;
		border-color: #FF4D4D #FF4D4D transparent;
	}
}

.right{
width:100%;

}
.right_more{
margin:10 0 ;
text-align:right;
color:#FFFFFF;
font-weight:bold;
}
.right_more a{
color:#FFFFFF;
}
.right_more a:hover{
color:#000000;
}
#UpgradeBrowser,#please-enable-js{background:#F00;color:#FFF;padding-top:10px;padding-bottom:10px;position:fixed;left:0px;top:0px;width:100%;text-align:center;z-index:2147483647;line-height:160%;font-weight:bold;font-size:13px;font-family:PMingLiU,"SongTi TC",serif;}#UpgradeBrowser a,#please-enable-js a{color:#FFF;text-decoration:underline;}
