﻿#main   {
    position: relative;
    width: 1200px;
	margin: 0 auto;
}
#header	.logo	{
	display: none;
}

#footer	{
	position: absolute;
    margin-top: 70px;
}

#leftpanel	{
	float: left;
	width: 300px;
}

#main .logo	{
	height: 70px;
}
#search	{
	height: 240px;
}
#search #search-abs	{
	position: absolute;
	z-index: 100;
}
#searchform	{
	margin-top: 20px;
}
#recommend	{
	overflow: hidden;
	padding: 0 15px;
	height: 100px;
	width: 270px;
	margin-top: 2em;
}

#stay-home {
    padding-top: 30px;
}
#recommend div	{
	margin: 1em 0;
}
#recommend div img	{
	vertical-align: middle;
}
#recommend h2 {
	margin-left: 5px;	
}
#recommend h2 .hint	{
	font-size: 12px;
	font-weight: normal;
	color: #005099;
}
.panel h2 {
	margin-bottom: 14px;	
}
#recommend .recommend-header	{
	padding-left: 5px;	
}
#legacy-link	{
	width: 270px;
	padding-left: 15px;
	padding-top: 15px;
	color: #005099;
}
#legacy-link img	{
	vertical-align: middle;
}

#mappanel	{
	position: absolute;
	left: 345px;
}
#map	{	
	float: left;
	width: 560px;
	height: 373px;
	background-image: url('../images/map1280.png');
	position: relative;
	margin: 15px auto;	
}
#tabcontrol	{
	clear: left;
	margin-right: 345px;
	width: 560px;	
}
#add	{
	float: right;
	width: 300px;
/*	height: 250px; */
	margin-left: 20px;
	margin-top: 20px;
}

#rightpanel	{
	margin-top: 315px;
	display:none;
}
#recent	{
	float: right;
	width: 260px;
	height: 180px;
	padding: 20px;
	overflow: hidden;
	font-size: 13px;
	position: relative;
}

#rightpanel
	{
		display:block;
	}
	#recent	{
/*		margin-top: 0; */
		float: none;
		clear: left;
		height: auto;	
	}

#recent	div	{
	margin-top: 14px;	
}
.text-link {
	font-size: 13px;
}
.text-link-small {
	font-size: 11px;
}
/* inside controls */
#map a.button	{
	position: absolute;
}

#tabcontrol h2	{
	font-size: 140%;
	font-weight: 900;
}
#tabcontrol ul.tabs	{
	list-style: none none outside;
	margin-left: 0;	
}
#tabcontrol ul.tabs li	{
	display: block;
	float: left;
	font-size: 10px;
}
#tabcontrol ul.tabs li.nl	{
	clear: left;	
}
#tabcontrol ul.tabs li.b	{
	padding: 0 0 7px 0;
	font-size: 11px;
}
#tabcontrol ul.tabs li a	{
	display: inline-block;
	padding: 3px 4px 3px 4px;
}
#tabcontrol ul.tabs li.selected a	{
	color: white;
	background-color: #005099;
	text-decoration: none;
}
#tabcontrol div.tab-content-holder	{
	clear: left;
	padding-top: 0.5em;	
}

#tabcontrol a.n	{
	color: Gray;
}
#tabcontrol a.clear-left {
	clear: left;
}

#tabcontrol div.content	{
	font-size: 11px;	
}
#tabcontrol div.content a	{
	margin-top: 2px;
	display: block;	
	float: left;
	width: 111px;
	padding: 1px 0;
	white-space: nowrap;
}

#tabcontrol div.content .small a	{
	width: 11em;	
}
#tabcontrol div.content#resorts a	{
	width: 21em;
}

#tabcontrol div.content div	{
	display: block;
}

#tabcontrol div.content div.s	{
	display: none;
}


@media all and (max-width: 1250px)	{
	
	#main	{
		width: 910px;
	}
	/*
	#main	{
		width: 910px;
		background-color: White;
		height: 1000px;
	}
	*/
	#header { position: relative; } /*remove after add compain*/
	#add	{
		margin-top: 0;
		margin-left: 0;
		margin-right: 25px;
	}
	
	#rightpanel
	{
		display:block;
	}
	#recent	{
/*		margin-top: 0; */
		float: none;
		clear: left;
		height: auto;	
	}
	#map	{
		background-image: url('../images/map1024.png');
		width: 485px;
		height: 320px;
		margin: 20px auto 20px auto;
		float: none;
	}
	#map a.button	{
		font-size: 90%;
	}
	#footer 
	{
		position:static;
	}
/*	#recommend	{
		height: 200px;
	}
*/	
	#tabcontrol	{
		width: 260px;
	}
	
	#tabcontrol div.content div	{
		display: none;
	}
	#tabcontrol div.content div.s	{
		display: block;
	}
}
/* background add compain */
#back-ad {	
	position: fixed;
	top: 0;
	left: 0;
	margin: 0px auto;
	width: 100%;
	/*z-index: -1;*/
}
#back-ad .centered-content {
	position:relative;
	right:50%;
	text-align:center;	
}
#back-ad .centered-content a {
	/*width: 1920px;*/
	/*height: 1200px;*/
	/*display: inline-block;*/
	margin-right:-100%;
}
/*! background add compain */

/*bgmaps game link */
#bgmaps_game_link 
{
	display: block;
	width: 180px;
	height: 57px;
	background: transparent url("../images/game_bgmaps_sprite.png") no-repeat scroll 0 0;
}
#bgmaps_game_link:hover {
	background: transparent url("../images/game_bgmaps_sprite.png") no-repeat scroll 0 -57px;
}
#bgmaps_game_link:active {
	background: transparent url("../images/game_bgmaps_sprite.png") no-repeat scroll 0 -114px;
}
/*! bgmaps game link */