/* 遮罩层 */
#iMask {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 51;
	justify-content: center;
	align-items: center;
	display: none;
}

#iMask>div {
	margin: 0 auto;
	max-height: 100%;
	overflow-y: auto;
}

#iMask>#iAjaxNotice {

	padding: 0 1.6rem;
	font-size: 1.3rem;
	line-height: 3;
	text-align: center;

}

.cHidden {

	display: none;

}

.logostamp {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background-repeat: repeat;
}

/*公共部分*/
.tn-header {
	width: 800px;
	margin: 0 auto;
	position: relative;
	overflow: auto;
}

#iButtonMsg {
	position: fixed;
	cursor: pointer;
	z-index: 1;
	right: 0;
	bottom: 0.4rem;
	font-size: 1rem;
	padding: 1rem;
}

#iButtonMsg div {
	font-size: 2em;
}

/* 主导航栏 begin */
#top-nav {
	height: 4.17rem;
	width: 100%;
	font-size: 1.3rem;
	line-height: 4.17rem;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 50;
	display: block;
	border-bottom-style: solid;
	border-width: 0.1rem;
}

#top-nav .tn-user {
	display: inline-block;
	white-space: nowrap;
	height: 100%;
	margin: 0 1%;
}

#top-nav .tn-user div {
	display: inline-block;
	margin-left: 0.25em;
}

#top-nav a {
	text-decoration: none;

}

#top-nav #open_menu {
	display: none;
}

#top-nav #iImgTopLogo {
	height: 1.6rem;
	vertical-align: middle;
}

/* 主导航栏 end */

/* 语言栏 */
.tn-lang {
	height: 100%;
	position: relative;
	float: right;
	padding: 0 10px;
	cursor: pointer;
}

.cFrameLangSelect {
	position: absolute;
	top: 100%;
	right: 0;
	font-size: 0;
	line-height: 0;
	width: 10rem;
	display: none;
}

.tn-lang:hover .cFrameLangSelect {
	display: block;
}

.cFrameLangOption {
	font-size: 1.3rem;
	line-height: 4.17rem;
	white-space: nowrap;
	text-align: center;
	cursor: pointer;
	display: inline-block;
	width: 100%;
}

#top-container {
	display: block;
	position: relative;
	background-color: transparent;
	font-size: 0;
	padding-top: 4.17rem;
}

/* 主菜单 */
#top-menu {
	display: inline-block;
	width: 16.6rem;
	position: relative;
	z-index: 40;
}

#top-menu * {
	user-select: none;
	-webkit-user-select: none;
}

#top-menu {
	transition: all .5s ease;
}

/* 登入框 */
#C_login {
	width: 100%;
	text-align: center;
}

img.login_img {
	width: 2.5rem;
	height: 2.5rem;
}

#C_login>a {
	display: inline-flex;
	font-size: 2rem;
	line-height: 4rem;
	vertical-align: middle;
}

#menu_text_logout {
	float: right;
	position: absolute;
	right: 0.4rem;
	font-size: 1.3rem;
}

#C_login>#menu_text_username,
#C_login>#menu_text_usertype {
	text-decoration: none;
	text-align: center;
	display: inline-block;
	cursor: default;
	font-size: 1.1rem;
	height: 2.5rem;
	line-height: 2.5rem;
	margin-bottom: 1.2rem;
}

#C_login>#menu_text_username {
	width: 10rem;
}

#C_login>#menu_text_usertype {
	width: 2.5rem;
	font-size: 1.7rem;
}

#top-menu-portrait {
	width: 10rem;
	height: 10rem;
	text-align: center;
	position: relative;
	margin: 1.3rem auto;
}

#top-menu-portrait img {
	width: 100%;
}

#top-menu #tn-ad1 {
	margin: 45px auto;
}

.tn-saligia-pot,
.tn-saligia-banner {
	cursor: pointer;
}

.tn-saligia-pot {
	width: 98%;
}

.tn-saligia-banner {
	height: 15rem;
	margin-bottom: 1.2rem;
}

.C_nobg {
	margin: 5px 0;
	overflow: hidden;
}

#iNoticeTW {
	width: 100%;
	padding: 1rem;
	font-size: 1rem;
	line-height: 1.5;
}

/* 主菜单表格 */
#menu-table {
	width: 100%;
	-webkit-padding-start: 0;
}

#menu-table li {
	width: 100%;
	white-space: nowrap;
	text-align: left;
	position: relative;
}

#menu-table a {
	text-transform: uppercase;
	font-size: 1.2rem;
	line-height: 3rem;
	text-decoration: none;
	display: block;
	padding-left: 0.8rem;
}

#menu-table ul {
	margin: 0 0 0 300%;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 0;
	left: 100%;
	z-index: 1;
	list-style: none;
	padding: 0;
}

@media (orientation: landscape) {
	#menu-table ul {
		transition: all .2s ease-in-out;
	}
}

#menu-table .C_click>ul {
	opacity: 1;
	visibility: visible;
	margin: 0;
}

#menu-table ul a {
	min-width: 11rem;
	display: block;
	white-space: nowrap;
	float: none;
	text-transform: none;
	padding: 0 1rem;
}

#menu-table .menu_more {
	display: inline-block;
	width: 3.5rem;
	height: 3rem;
	position: absolute;
	right: 0;
	background-position: center;
	background-size: cover;
}

@media (orientation: landscape) {
	#menu-table .menu_more {
		background-image: url('../images/tips/menu_more_right.png');
	}
}

#menu_mask {
	position: fixed;
	width: 0;
	height: 100%;
	left: 0;
	top: 0;
	background: #f5f8fa;
	z-index: 39;
	cursor: pointer;
}

#menu_mask {
	transition: width .5s ease;
}

/* 主菜单 end */

/* 主菜单赛程列表 */
#iMenuDraw {
	display: none;
	width: 55rem;
	font-size: 1.25rem;
	line-height: 2;
	border-bottom-right-radius: 1rem;
	border-top-right-radius: 1rem;
	overflow: hidden;
}

.C_click #iMenuDraw {
	display: block;
}

.cMenuDrawLevel {
	padding-left: 1rem;
	font-weight: 700;
}

.cMenuDrawLine {
	padding: 0.2rem;
	white-space: initial;
}

#menu-table a.cMenuDrawTour {
	display: initial;
	padding: 0.6rem;
	border-radius: 1rem;
	line-height: 2;
	transition: background-color .5s;
}

.cMenuTourLogo {
	vertical-align: middle;
	height: 2.4rem;
	margin: 0;
	margin-right: 0.2rem;
}

/* 主菜单赛程列表 end  */

/* 页面标题 */
.pageTitle {
	font-size: 2rem;
	line-height: 2.5;
	font-weight: 700;
	padding: 3rem;
	text-align: left;
}

/* 右侧内容 */
#top-right {
	display: inline-block;
	width: calc(100% - 16.6rem);
	min-height: 1000px;
	position: relative;
	vertical-align: top;
	transition: all .5s ease;
}

/* 右侧内容 end */

/* 页面尾幅 begin */
#top-footer {
	min-height: 4.17rem;
	padding: 1rem;
	text-align: center;
	font-size: 1.2rem;
	line-height: 1.3;
	position: relative;
}

#iFooterRules {
	margin-bottom: 1.2rem;
}

#iFooterRules table {
	width: 100%;
	font-size: 1.3rem;
	line-height: 2;
	table-layout: fixed;
}

#iFooterRules table td {
	text-align: left;
	padding-left: 5%;
	vertical-align: top;
}

#iFooterRules table td div:not(:first-child) {
	font-size: 1rem;
}

/* 页面尾幅 end */


/* 广告 */
#tn-ad2 {
	width: 100%;
	overflow: hidden;
}

#tn-ad3 {
	width: 100%;
	height: 90px;
	overflow: hidden;
	margin: 1.2rem auto;
}

.tn-ad2,
.tn-ad3,
.tn-ad4,
.tn-ad5,
.tn-ad6 {
	margin: 0 auto;
}

.tn-ad4,
.tn-ad5 {
	margin: 15px auto;
}

#tn-ad4,
#tn-ad5,
#tn-ad6 {
	width: calc(100% / 2 - 364px);
	position: absolute;
	bottom: 5%;
	left: 0;
	height: 90px;
	box-shadow: 0 0 20px #222;
	overflow: hidden;
}

#tn-ad5 {
	left: auto;
	right: 0;
}

#tn-ad6 {
	cursor: pointer;
	width: 728px;
	left: 50%;
	margin-left: -364px;
	background-image: url('/media/images/bettingresource_big.gif');
}

.tn-rebo {
	margin: 1rem 1%;
	width: 98%;
	cursor: pointer;
}

.pv_counter {
	display: inline-block;
}

.pv_counter::before {
	content: '　';
	left: 5px;
	top: 77px;
	width: 24px;
	height: 18px;
	position: absolute;
	z-index: 1;
}

@media(max-width: 319px) {

	.tn-ad2,
	.tn-ad3 {
		width: 234px;
		height: 60px;
	}
}

@media(min-width: 320px) and (max-width: 499px) {

	.tn-ad2,
	.tn-ad3 {
		width: 320px;
		height: 50px;
	}
}

@media(min-width: 500px) and (max-width: 799px) {

	.tn-ad2,
	.tn-ad3 {
		width: 468px;
		height: 60px;
	}
}

@media(min-width: 800px) and (max-width: 1199px) {

	.tn-ad2,
	.tn-ad3 {
		width: 728px;
		height: 90px;
	}
}

@media(min-width: 1200px) {

	.tn-ad2,
	.tn-ad3 {
		width: 970px;
		height: 90px;
	}
}

@media(max-width: 799px) and (min-width: 321px) {

	#tn-ad4,
	#tn-ad5,
	#tn-ad6 {
		width: calc(100% / 2 - 160px);
		height: 50px;
	}

	#tn-ad6 {
		width: 320px;
		margin-left: -160px;
		background-image: url('/media/images/bettingresource_small.gif');
	}
}

@media(max-width: 320px) {

	#tn-ad4,
	#tn-ad5 {
		display: none;
	}

	#tn-ad6 {
		width: 320px;
		margin-left: -160px;
		background-image: url('/media/images/bettingresource_small.gif');
	}
}

@media all and (orientation : portrait) {
	#iMask>div {
		max-height: 100%;
		border-radius: 0;
	}

	#iButtonMsg {
		font-size: 0.9rem;
		line-height: 1.5;
		bottom: 0;
		padding: 0.3rem;
	}

	#top-nav #open_menu {
		display: inline;
	}

	#top-nav .tn-user div {
		display: none;
	}

	.tn-lang {
		height: 4.17rem;
		margin-right: 0;
	}

	.cFrameLangSelect {
		width: 9rem;
	}

	.cFrameLangImg {
		height: 1.2rem;
		margin-right: 0.4rem;
	}

	.cFrameLangImg#iFrameLangSelected {
		height: 16px;
		margin: 17px 10px;
	}

	.cFrameLangOption {
		font-size: 1.2rem;
		line-height: 1.5rem;
		padding: 1rem;
		width: 100%;
	}

	#top-menu {
		position: fixed;
		left: -100%;
		top: 4.17rem;
		height: calc(100% - 4.17rem);
		overflow-x: hidden;
		cursor: pointer;
	}

	#top-menu.C_display {
		left: 0;
		width: 100%;
	}

	#menu-table {
		width: 96%;
		margin: 2% 2%;
	}

	#menu-table ul {
		left: 0;
	}

	#menu-table li.C_click>ul {
		position: relative;
	}

	#menu-table ul ul {
		left: 0;
	}

	#menu-table ul a {
		padding-left: 2rem;
	}

	#menu-table ul ul a {
		padding-left: 3rem;
	}

	#menu-table .menu_more {
		background-image: url('../images/tips/menu_more_down.png');
	}

	#iMenuDraw {
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
	}

	#top-right {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}