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

html,
body{
	height: 100%;
	letter-spacing: 1px;
}

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;
}
main .wrapper {
	margin-top:50px;
    position: relative;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
main section, main article {
	margin-bottom: 0px;
}
main section h2, main article h2 {
	display: block;
	margin: 0;
	height: 50px;
	line-height: 50px;
	color: #142A8C;
	text-align: center;
	margin-bottom: 10px;
	background-color: #FFF;
	font-size: 20px;
}
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 {
	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: 12px;
	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;
}
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;
}
.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:#6198cf;
}

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


/* Media queries */

@media(min-width:767px) {
	.head_logo_bg img{
		margin-left:100px;
	}
	#st-container ul li{
		display:inline;
	}
	.column{
		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;
	}
#sidebar{
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
#cart{
	z-index:50;
}	

}
@media (max-width:768px) and (min-width:481px) {
	.head_logo_bg img{
		margin-left:20px;
	}
	
	#st-container ul li{
		display:inline;
	}
	.column{
		display:none;
	}
	
	#intro {
        -webkit-background-size: 1267px 330px;
        background-size: 1267px 330px;
        height: 330px;
        max-height: 330px;
    }
	
	nav .wrapper>a {
		display: inline-block;
		width: 110px;
		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;
	}
	
}
@media (max-width:480px) {
.trim, .chufadi:after, .mudidi:after {
		display: none;
	}
	main .wrapper {
		width: 100%;
	}
	main section>a, main section > div, .BIG {
		height: auto;
		margin-bottom: 10px;
	}
	.trip, .chufari, .price {
	display: block;
	height: auto;
	width: auto;
	text-align: center;
	}
	.trip, main section > div .trip {
		float: none;
		margin: 0;
		height:80px;
	}
	.chufari, .price {
		position: relative;
		right: auto;
		height:80px;		
	}
	.chufari span {
		display: inline-block;
		margin-right: 5px;
	}
	main section {
		margin-bottom: 0;
	}

	#social {
		right: 60px;
		top: 265px;
	}
	main {
		padding-top: 11px;
		padding-bottom: 0px;
	}	
	footer {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	.st-container,
	.st-pusher,
	.st-content {
		
	}
	
	.st-content {
		overflow-y: scroll;
		background: #f3efe0;

	}

	.st-content,
	 {
		position: relative;
	}

	.st-container {
		position: relative;
		overflow: hidden;
	}

	.st-pusher {
		position: relative;
		left: 0;
		z-index: 99;
		-webkit-transition: -webkit-transform 0.5s;
		transition: transform 0.5s;
	}

	.st-pusher::after {
		position: absolute;
		top: 0;
		right: 0;
		width: 0;
		height: 0;
		background: rgba(0,0,0,0.2);
		content: '';
		opacity: 0;
		-webkit-transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
		transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
	}

	.st-menu-open .st-pusher::after {
		width: 100%;
		height: 100%;
		opacity: 1;
		-webkit-transition: opacity 0.5s;
		transition: opacity 0.5s;
	}

	.st-menu {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 100;
		visibility: hidden;
		width: 300px;
		height: 100%;
		background: #6198cf;
		-webkit-transition: all 0.5s;
		transition: all 0.5s;
	}
	

	.st-menu::after {
		position: absolute;
		top: 0;
		right: 0;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0.2);
		content: '';
		opacity: 1;
		-webkit-transition: opacity 0.5s;
		transition: opacity 0.5s;
	}

	.st-menu-open .st-menu::after {
		width: 0;
		height: 0;
		opacity: 0;
		-webkit-transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
		transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
	}

	/* content style */

	.st-menu .wrapper {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.st-content{
		text-align: center;
	}

	.st-menu .wrapper a {
		display: block;
		padding: 1em 1em 1em 1.2em;
		outline: none;
		box-shadow: inset 0 -1px rgba(0,0,0,0.2);
		color: #f3efe0;
		text-transform: uppercase;
		text-shadow: 0 0 1px rgba(255,255,255,0.1);
		letter-spacing: 1px;
		font-weight: 400;
		-webkit-transition: background 0.3s, box-shadow 0.3s;
		transition: background 0.3s, box-shadow 0.3s;
	}

	.st-menu .wrapper:first-child a {
		box-shadow: inset 0 -1px rgba(0,0,0,0.2), inset 0 1px rgba(0,0,0,0.2);
	}

	.st-menu .wrapper a:hover {
		background: rgba(0,0,0,0.2);
		box-shadow: inset 0 -1px rgba(0,0,0,0);
		color: #fff;
	}

	/* Individual effects Effect 2: Reveal */
	.st-effect-2.st-menu-open .st-pusher {
		-webkit-transform: translate3d(300px, 0, 0);
		transform: translate3d(300px, 0, 0);
		background-color: #6198cf;
		color: #6198cf;
	}

	.st-effect-2.st-menu {
		z-index: 1;
		overflow: auto;
		background-color: #6198cf;
		color: #6198cf;
	}
	
	.st-effect-2.st-menu-open .st-effect-2.st-menu {
		visibility: visible;
		-webkit-transition: -webkit-transform 0.5s;
		transition: transform 0.5s;
		background-color: #6198cf;
		color: #6198cf;
	}

	.st-effect-2.st-menu::after {
		display: none;
		background-color: #6198cf;
		color: #6198cf;
	}


	/* Fallback example for browsers that don't support 3D transforms (and no JS fallback) */
	.no-csstransforms3d .st-pusher,
	.no-js .st-pusher {
		padding-left: 300px;
	}
	#intro {
			-webkit-background-size: 768px 200px;
			background-size: 768px 200px;
			height: 200px;
	        max-height: 200px;
	}
	.menu{/*手機左邊目錄按鈕上的三條線*/
		background: url(http://www.tourking.com.tw/SidebarTransitions/img/th_head_bg_long.png) no-repeat;
		background-image:url(data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8AQMAAAAAMksxAAAAA3NCSVQICAjb4U/gAAAABlBMVEVVVVX////1urmyAAAAAnRSTlP/AOW3MEoAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAWdEVYdENyZWF0aW9uIFRpbWUAMTAvMDYvMTWebX3sAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABtJREFUKJFj+A8BHxiGJuMAA4M9Icag1T7IGQDxDrbQ+c74hAAAAABJRU5ErkJggg==);
		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:#337BB7;
		background-image:url(data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8AQMAAAAAMksxAAAAA3NCSVQICAjb4U/gAAAABlBMVEVVVVX////1urmyAAAAAnRSTlP/AOW3MEoAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAWdEVYdENyZWF0aW9uIFRpbWUAMTAvMDYvMTWebX3sAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABtJREFUKJFj+A8BHxiGJuMAA4M9Icag1T7IGQDxDrbQ+c74hAAAAABJRU5ErkJggg==);
	}
}

.right{
width:100%;
background-color:#FFFFFF;
}
.core {
width:960px;
	line-height: 1.5em;
	padding: 8px 0 8px;
	margin: 0 0 20px;
	font-size:10pt;
	color:#222222;
	background-color:#EFEFEF;
	height:120px;
}
.core h5 {
	color: #f40;
	font-size: 1em;
	color: #f40;
	margin: 0 0 .5em;
	/*width: 750px;*/
}


.core h5 a:link, .core h5 a:visited {
	font-size: 12pt;
	font-weight: bold;
	color: #f40;
	text-decoration: none;	
}
.core h5 a:hover {
	text-decoration: underline;
}

.core img{
float:left;

margin:0 1em;
}	
.core_img{
background-image: url(../images/frame.jpg);
width:200px;
height:140px;
float:left;
margin:0 1em;
padding-top:12px;
padding-left:12px;
