/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2016/10/10, 下午 02:17:29
    Author     : yatfu
*/

body {
	font-family: Arial, "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "新細明體", PMingLiU, sans-serif;
	color: #000000; 
	font-size: 14px;
}
* {
	outline: none;
	border: 0;
}
input:-webkit-autofill, 
textarea:-webkit-autofill, 
select:-webkit-autofill {
	background-color: inherit;
    background-image: none;
    color: rgb(0, 0, 0);
}
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background-color: #FFF;
    border-left: 0px solid #FFF;
}
::-webkit-scrollbar-thumb {
    background-color: #93e3ff;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #93e3ff;
}

/** override bootstrap css **/
.close,
.close:hover {
	opacity: 1;
}



/** common css **/

.logo {
	width: 200px;
	height: 85px;
	position: absolute;
	background: url('../images/common/logo_ic.png') no-repeat;
	z-index: 5000;
}


/** the flollowings should be placed at the begining of this file **/
/** 頁面縮放值設置 **/

.zoom {
	zoom: 1; /* Old IE only */
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
}

.zoom1280 {
	zoom: 0.90;
    -moz-transform: scale(0.90);
    -webkit-transform: scale(0.90);
    transform: scale(0.90);
}

.zoom1024 {
	zoom: 0.80;
    -moz-transform: scale(0.80);
    -webkit-transform: scale(0.80);
    transform: scale(0.80);
}
.cuszoom {
	zoom: 1;
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
}

.modal.zoom.zoom1280 {
	zoom: 0.90;
    -moz-transform: scale(0.90);
    -webkit-transform: scale(0.90);
    transform: scale(0.90);
}
/*.modal.zoom.ranking.zoom1280 {
	zoom: 0.94;
    -moz-transform: scale(0.94);
    -webkit-transform: scale(0.94);
    transform: scale(0.94);
}*/

/*.player_toolbar.zoom1024,
.npc_box.zoom1024,
.modal.zoom.zoom1024*/
/*.player_toolbar.zoom1024 {
	zoom: 0.80;
    -moz-transform: scale(0.80);
    -webkit-transform: scale(0.80);
    transform: scale(0.80);
}*/

.modal.zoom.zoom1024 {
	zoom: 0.80;
    -moz-transform: scale(0.80);
    -webkit-transform: scale(0.80);
    transform: scale(0.80);
}


/** 機器人及工具箱 **/

.npc_box {
	width: 240px;
	height: 216px;
	position: absolute;
	z-index: 5000;
}
.npc_box .robot {
	width: 190px;
	height: 220px;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 101;
}
.robot.idle {
	background: url('../images/common/bg_boyrobot_idle_m.png') no-repeat;
}
.robot.shine {
	background: url('../images/common/bg_boyrobot_shine_m.png') no-repeat;
}

.npc_box .bubble {
	width: 80px;
	height: 40px;
	position: absolute;
	left: 160px;
	top: -20px;
	background: url('../images/common/bg_bubble.png') no-repeat;
	text-align: center;
	line-height: 30px;
	z-index: 103;
	display: none;
}
.bubble .counter {
	display: inline-block;
	line-height: 24px;
	padding: 3px 6px;
	font-size: 24px;
	font-weight: bold;
	border-radius: 50%;
	background-color: #ff0000;
	color: #ffffff;
}

.npc_box .toolcase {
	width: 100px;
	height: 90px;
	position: absolute;
	right: 0;
	bottom: 0;
	background: url('../images/common/btn_tool.png') no-repeat;
	z-index: 102;
}
.toolcase:hover {
	background-position: bottom;
}
.npc_box > div {
	cursor: pointer;
}


/** 個人資料及選單 **/

/*.player_toolbar {
	width: 600px;
	height: 220px;
	position: absolute;
	overflow: hidden;
	left: 45px;
	top: 15px;
    transform-origin: top left;
	z-index: 5000;
}*/
/*.player_toolbar .toolbar {*/
.toolbar_container {
	width: 400px;
	/*width: auto;*/
	height: 40px;
	position: absolute;
	left: 175px;
	top: 25px;
	overflow: hidden;
	z-index: 4999;
	/*
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	-moz-border-top-right-radius: 8px;
	-moz-border-radius-bottomright: 8px;
	-webkit-border-top-right-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
	
	transform-origin: top left;
	-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
	*/
}
.toolbar {
	width: 340px;
	height: 40px;
	padding-right: 15px;
	position: absolute;
	left: 0;
	top: 0;
	background: url('../images/common/top_nav_bg.png') left center no-repeat;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	-moz-border-top-right-radius: 8px;
	-moz-border-radius-bottomright: 8px;
	-webkit-border-top-right-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;

	-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.toolbar.close {
	left: -300px;
}
.toolbar_container.zoom1280,
.player_info.zoom1280 {
	zoom: 1;
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
}
.toolbar_container.zoom1024,
.player_info.zoom1024 {
	zoom: 0.90;
    -moz-transform: scale(0.90);
    -webkit-transform: scale(0.90);
    transform: scale(0.90);
}
.toolbar_container.zoom1024 {
	left: 140px;
}

.toolbar .btns {
	width: auto;
	height: 25px;
	position: absolute;
	left: 30px;
	top: 8px;
}
.toolbar .btns .item {
	width: 80px;
	height: 25px;
	display: inline-block;
	margin: 0 3px;
	cursor: pointer;
}
.toolbar .btns .item:hover {
	background-position: bottom;
}
.toolbar .btn_practice_records {
	background: url('../images/common/top_nav_btn_01.png') no-repeat;
}
.toolbar .btn_score_reports {
	background: url('../images/common/top_nav_btn_02.png') no-repeat;
}
.toolbar .btn_ranking {
	background: url('../images/common/top_nav_btn_03.png') no-repeat;
}
.toolbar .btn_toolbox {
	background: url('../images/common/top_nav_btn_04.png') no-repeat;
}
.toolbar .btn_logout {
	background: url('../images/common/top_nav_btn_05.png') no-repeat;
}

#btn_toolbar_toggle {
	width: 40px;
	height: 40px;
	position: absolute;
	cursor: pointer;
	top: 0;
	right: 0;
}
#btn_toolbar_toggle.open {
	background: url('../images/common/top_nav_btn_open.png') right center no-repeat;
}
#btn_toolbar_toggle.close {
	background: url('../images/common/top_nav_btn_close.png') right center no-repeat;
}

/*.player_toolbar .player_info {*/
.player_info {
	width: 130px;
	height: 220px;
	position: absolute;
	left: 45px;
	top: 15px;
	background: url('../images/common/top_nav_info.png') no-repeat;
	z-index: 5000;
    transform-origin: top left;
}
/*.player_toolbar .player_info .avatar {*/
.player_info .avatar {
	width: 90px;
	height: 90px;
	position: absolute;
	left: 18px;
	top: 15px;
	background-color: #FFF;
	background-size: cover;
	cursor: pointer;
}
.player_info .myinfo {
	width: 90px;
	height: auto;
	position: absolute;
	left: 18px;
	top: 120px;
	color: #FFF;
}
.player_info .myinfo div {
	/*text-align: center;*/
	white-space: nowrap;
}
.player_info .myinfo .user_stars {
	height: 20px;
	background: url('../images/common/top_nav_star.png') 10px center no-repeat;
	padding-left: 42px;
	text-align: left;
}


/** Side menu **/

#sidemenu {
	width: 350px;
	height: 580px;
	position: absolute;
	top: 50%;
	margin-top: -290px;
	background: url('../images/sidemenu/bg_sidebar_content.png') no-repeat;
    transform-origin: left center;
	z-index: 5000;
	
	zoom: 0.90;
    -moz-transform: scale(0.90);
    -webkit-transform: scale(0.90);
    transform: scale(0.90);
	
	-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
	
	left: -280px;
}
/*#sidemenu.zoom1280 {}*/
#sidemenu.zoom1024 {
	zoom: 0.85;
    -moz-transform: scale(0.85);
    -webkit-transform: scale(0.85);
    transform: scale(0.85);
	left: -260px;
}
#sidemenu.open {
	left: 0;
}

#sidemenu .btns {
	width: 280px;
	height: 530px;
	position: absolute;
	left: 25px;
	top: 25px;
}
#sidemenu .btns .single {
	width: 270px;
	height: 50px;
	margin: 10px 0;
	cursor: pointer;
}
#sidemenu .btns .double {
	width: 270px;
	height: 50px;
	margin: 10px 0;
	white-space: nowrap;
}
#sidemenu .btns .double .item {
	width: 130px;
	height: 50px;
	margin: 0;
	display: inline-block;
	cursor: pointer;
}
#sidemenu .btns .double .item:first-child {
	margin-right: 6px;
}
#sidemenu .btns .main {
	background: url('../images/sidemenu/btn_01index.png') no-repeat;
}
#sidemenu .btns .challenge {
	background: url('../images/sidemenu/btn_02challenge.png') no-repeat;
}
#sidemenu .btns .cinema {
	background: url('../images/sidemenu/btn_03cinema.png') no-repeat;
}
#sidemenu .btns .handicraft {
	background: url('../images/sidemenu/btn_04handicraft.2018.png') no-repeat;
}
#sidemenu .btns .strengthen {
	background: url('../images/sidemenu/btn_05strengthen.png') no-repeat;
}
#sidemenu .btns .cyberhero {
	background: url('../images/sidemenu/btn_06cyberhero.2018.png') no-repeat;
}
#sidemenu .btns .revision {
	background: url('../images/sidemenu/btn_06revision.png') no-repeat;
}
#sidemenu .btns .rcmd01 {
	background: url('../images/sidemenu/btn_07recommend.png?v=2020') no-repeat;
}
#sidemenu .btns .rcmd02 {
	background: url('../images/sidemenu/btn_08recommend.png') no-repeat;
}
#sidemenu .btns .rcmd03 {
	background: url('../images/sidemenu/btn_12recommend.png') no-repeat;
}
#sidemenu .btns .rcmd04 {
	background: url('../images/sidemenu/btn_09recommend.png') no-repeat;
}
#sidemenu .btns .rcmd05 {
	background: url('../images/sidemenu/btn_11recommend.png') no-repeat;
}
#sidemenu .btns > div:hover,
#sidemenu .btns > div > div:hover {
	background-position: bottom;
}
#sidemenu .btns .rcmd_title {
	width: 270px;
	height: 20px;
	margin: 8px auto;
	background: url('../images/sidemenu/title_recommend.png') no-repeat;
}

#sidemenu .toggle {
	width: 40px;
	height: 80px;
	position: absolute;
	right: 0;
	top: 50%;
	margin-top: -40px;
	opacity: 1;
	
	-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#sidemenu .toggle.open {
	background: url('../images/sidemenu/btn_open.png') no-repeat;
}
#sidemenu .toggle.close {
	background: url('../images/sidemenu/btn_close.png') no-repeat;
}


.modal {
	z-index: 10000;
}
.modal-backdrop {
	z-index: 9000;
}


/** 小助手 **/

#modal_help,
#modal_game_instruction {
	width: 1184px;
	height: 904px;
	position: absolute;
	left: 50%;
	margin-left: -592px;
	top: 50%;
	margin-top: -452px;
	background: url('../images/modal_help/bg_helppopup.png') center center no-repeat;
	transform-origin: center center;
}
#modal_game_instruction {
	background: url('../images/modal_help/bg_gamehelp_popup.png') center center no-repeat;
}
.modal.help .btn_close,
.modal.game_instruction .btn_close {
	width: 44px;
	height: 44px;
	position: absolute;
	top: 0;
	right: 0;
	background: url('../images/modal_help/btn_close_help.png') no-repeat;
}

.modal.help .contents,
.modal.game_instruction .contents {
	width: 1020px;
	height: 570px;
	position: absolute;
	left: 90px;
	top: 202px;
	background: transparent;
}

.modal.help .contents .toolbar,
.modal.game_instruction .contents .toolbar {
	width: 1014px;
	height: 35px;
	position: absolute;
	left: 6px;
	top: 0;
	background: none;
}
.modal.help .contents .toolbar .item,
.modal.game_instruction .contents .toolbar .item {
	display: inline-block;
	cursor: pointer;
}
.modal.game_instruction .contents .toolbar .item {
	min-width: 110px;
	height: 35px;
	line-height: 35px;
	font-size: 20px;
	font-weight: bold;
}
.modal.game_instruction .contents .toolbar .item:first-child {
	margin-left: 25px;
}
.modal.help .toolbar .site_introduction {
	width: 110px;
	height: 35px;
	background: url('../images/modal_help/btn_help01.png') no-repeat;
}
.modal.help .toolbar .site_contents {
	width: 110px;
	height: 35px;
	background: url('../images/modal_help/btn_help02.png') no-repeat;
}
.modal.help .toolbar .chi100_introduction {
	width: 132px;
	height: 35px;
	background: url('../images/modal_help/btn_help03.png') no-repeat;
}
.modal.help .toolbar .admission {
	width: 111px;
	height: 35px;
	background: url('../images/modal_help/btn_help04.png') no-repeat;
}
.modal.help .toolbar .terms {
	width: 110px;
	height: 35px;
	background: url('../images/modal_help/btn_help05.png') no-repeat;
}
.modal.help .toolbar .privacy {
	width: 110px;
	height: 35px;
	background: url('../images/modal_help/btn_help06.png') no-repeat;
}
.modal.help .toolbar .copyright {
	width: 110px;
	height: 35px;
	background: url('../images/modal_help/btn_help07.png') no-repeat;
}
.modal.help .toolbar .disclaimer {
	width: 110px;
	height: 35px;
	background: url('../images/modal_help/btn_help08.png') no-repeat;
}
.modal.help .toolbar .faq {
	width: 68px;
	height: 35px;
	background: url('../images/modal_help/btn_help09.png') no-repeat;
}
.modal.help .toolbar .item.active, 
.modal.help .toolbar .item:hover {
	background-position: bottom;
}
.modal.game_instruction .toolbar .item.active, 
.modal.game_instruction .toolbar .item:hover {
	color: #FFF;
}
.modal.help .contents .content,
.modal.game_instruction .contents .content {
	width: 965px;
	height: 470px;
	padding: 15px;
	position: absolute;
	left: 10px;
	top: 60px;
	overflow: hidden;
	overflow-y: auto;
}
.btn_application_form {
	width: 110px;
	height: 35px;
	position: absolute;
	top: 20px;
	right: 20px;
	background-image: url('../images/modal_help/btn_application_form.png');
}


/** 排行榜 **/

#modal_ranking {
	width: 1140px;
	height: 880px;
	position: absolute;
	left: 50%;
	margin-left: -570px;
	top: 50%;
	margin-top: -440px;
	background: url('../images/modal_ranking/bg_rankpopup.png') center center no-repeat;
	transform-origin: center center;
	
	-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.modal.ranking .btn_close {
	width: 65px;
	height: 65px;
	position: absolute;
	right: 14px;
	top: 13px;
	background: url('../images/modal_ranking/btn_close_rank.png') no-repeat;
}
.modal.ranking .tabs {
	width: 1025px;
	height: 100px;
	position: absolute;
	left: 57px;
	top: 80px;
}
.modal.ranking .tabs .btn_weekly {
	width: 210px;
	height: 100px;
	position: absolute;
	/*left: 450px;*/
	left: 700px;
	top: 0;
	background: url('../images/modal_ranking/btn_weekrank.png') no-repeat;
}
.modal.ranking .tabs .btn_hero {
	width: 210px;
	height: 100px;
	position: absolute;
	left: 700px;
	top: 0;
	background: url('../images/modal_ranking/btn_herorank.png') no-repeat;
}
.modal.ranking .tabs > div {
	cursor: pointer;
}
.modal.ranking .tabs > div.active,
.modal.ranking .tabs > div:hover {
	background-position: bottom;
}

#modal_ranking .contents {
	width: 1025px;
	height: 678px;
	position: absolute;
	left: 57px;
	top: 180px;
}
#modal_ranking .contents.weekly {
	background: url('../images/modal_ranking/bg_weekrank.png') no-repeat;
}
#modal_ranking .contents.hero {
	background: url('../images/modal_ranking/bg_herorank.png') no-repeat;
}
.modal.ranking .contents .myinfo,
.modal.ranking .contents .ranking_header {
	width: 940px;
	height: 60px;
	position: absolute;
	left: 40px;
	top: 40px;
}
.modal.ranking .contents .myinfo .introduction,
.modal.ranking .contents .ranking_header .introduction {
	width: 550px;
	height: 30px;
	position: absolute;
	left: 370px;
	top: 0;
	line-height: 30px;
	font-size: 1.2em;
    text-align: center;
}
.modal.ranking .contents .ranking_header .introduction {
	width: 580px;
	left: 350px;
}
.modal.ranking .contents .ranking_header select {
    width: 120px;
    height: 30px;
    margin-left: 15px;
}
.modal.ranking .contents .myinfo .points {
	width: 100px;
	height: 40px;
	position: absolute;
	left: 420px;
	top: 10px;
	padding-left: 150px;
	line-height: 50px;
	font-size: 2em;
	color: #FFF;
}
.modal.ranking .contents.weekly .myinfo .points {
	background: url('../images/modal_ranking/my_score.png') left center no-repeat;
}
.modal.ranking .contents.hero .myinfo .points {
	background: url('../images/modal_ranking/my_point.png') left center no-repeat;
}
.modal.ranking .contents .myinfo .rank {
	width: 100px;
	height: 40px;
	position: absolute;
	left: 720px;
	top: 10px;
	padding-left: 150px;
	line-height: 50px;
	font-size: 2em;
	color: #FFF;
	background: url('../images/modal_ranking/my_rank.png') left center no-repeat;
}

.modal.ranking .contents.weekly .top3 {
	width: 520px;
	height: 510px;
	position: absolute;
	left: 45px;
	top: 125px;
}
.modal.ranking .contents.weekly .top3 .item {
	width: 170px;
	height: 550px;
	position: absolute;
	top: -40px;
}
.modal.ranking .contents.weekly .top3 .item.first {
	left: 0;
	background: url('../images/modal_ranking/anim.weekly.1st.png') no-repeat;
}
.modal.ranking .contents.weekly .top3 .item.second {
	left: 170px;
	background: url('../images/modal_ranking/anim.weekly.2nd.png') no-repeat;
}
.modal.ranking .contents.weekly .top3 .item.third {
	left: 340px;
	background: url('../images/modal_ranking/anim.weekly.3rd.png') no-repeat;
}
.modal.ranking .contents.weekly .top3 .item .info {
	width: 148px;
	height: 55px;
	text-align: center;
	padding: 10px 0;
	position: absolute;
	left: 50%;
	margin-left: -74px;
	display: none;
	color: #FFF;
}
.modal.ranking .contents.weekly .top3 .item.first .info {
	top: 208px;
}
.modal.ranking .contents.weekly .top3 .item.second .info {
	top: 270px;
}
.modal.ranking .contents.weekly .top3 .item.third .info {
	top: 338px;
}

.modal.ranking .contents.weekly .others {
	width: 360px;
	height: 500px;
	position: absolute;
	left: 630px;
	top: 125px;
}
.modal.ranking .contents.weekly .others .title {
	width: 340px;
	height: 40px;
	background: url('../images/modal_ranking/title_weekrank.png') center top no-repeat;
}
.modal.ranking .contents.weekly .others .item-rows {
	width: 360px;
	height: 460px;
	overflow: hidden;
	overflow-y: auto;
}
.modal.ranking .contents.weekly .others .item-rows .item-row {
	width: 340px;
	height: 40px;
	background: url('../images/modal_ranking/line_weekrank.png') center bottom no-repeat;
	line-height: 40px;
	font-size: 1.1em;
}
.modal.ranking .contents.weekly .others .item-rows .item-row .item-col {
	/*display: table-cell;
	max-height: 40px;*/
	display: inline-block;
	height: 40px;
	text-align: center;
	overflow: hidden;
}
.modal.ranking .contents.weekly .others .item-rows .item-row .item-col:first-child {
	width: 70px;
}
.modal.ranking .contents.weekly .others .item-rows .item-row .item-col:nth-child(2) {
	width: 100px;
}
.modal.ranking .contents.weekly .others .item-rows .item-row .item-col:nth-child(3) {
	width: 70px;
}
.modal.ranking .contents.weekly .others .item-rows .item-row .item-col:last-child {
	width: 100px;
}

.modal.ranking .contents.hero .top3 {
	width: 920px;
	height: 300px;
	position: absolute;
	left: 50px;
	top: 100px;
}
.modal.ranking .contents.hero .top3 .item {
	width: 250px;
	height: 300px;
	position: absolute;
	top: 0;
}
.modal.ranking .contents.hero .top3 .item.first {
	left: 325px;
	background: url('../images/modal_ranking/anim.hero.1st.m1.png') no-repeat;
}
.modal.ranking .contents.hero .top3 .item.second {
	left: 25px;
	background: url('../images/modal_ranking/anim.hero.2nd.m1.png') no-repeat;
}
.modal.ranking .contents.hero .top3 .item.third {
	left: 625px;
	background: url('../images/modal_ranking/anim.hero.3rd.m1.png') no-repeat;
}
.modal.ranking .contents.hero .top3 .item .info {
	width: 148px;
	height: 50px;
	text-align: center;
	padding: 10px 0;
	position: absolute;
	left: 50%;
	margin-left: -74px;
	top: 210px;
	display: none;
	color: #FFF;
}
.modal.ranking .contents.hero .others {
	width: 920px;
	height: 220px;
	position: absolute;
	left: 50px;
	top: 420px;
}
.modal.ranking .contents.hero .others .title {
	width: 900px;
	height: 40px;
	background: url('../images/modal_ranking/title_herorank.png') center top no-repeat;
}
.modal.ranking .contents.hero .others .item-rows {
	width: 920px;
	height: 180px;
	overflow: hidden;
	overflow-y: auto;
}
.modal.ranking .contents.hero .others .item-rows .item-row {
	width: 900px;
	height: 40px;
	position: relative;
	background: url('../images/modal_ranking/line_herorank.png') center bottom no-repeat;
	line-height: 40px;
	font-size: 1.1em;
}
.modal.ranking .contents.hero .others .item-rows .item-row .item-col {
	height: 40px;
	position: absolute;
	top: 0;
	text-align: center;
	overflow: hidden;
}
.modal.ranking .contents.hero .others .item-rows .item-row .item-col:first-child {
	width: 80px;
	left: 70px;
}
.modal.ranking .contents.hero .others .item-rows .item-row .item-col:nth-child(2) {
	width: 370px;
	left: 150px;
}
.modal.ranking .contents.hero .others .item-rows .item-row .item-col:nth-child(3) {
	width: 90px;
	left: 520px;
}
.modal.ranking .contents.hero .others .item-rows .item-row .item-col:last-child {
	width: 140px;
	left: 720px;
}


/** 練習紀錄 **/
#modal_practice_records {
	width: 1140px;
	height: 840px;
	position: absolute;
	left: 50%;
	margin-left: -570px;
	top: 50%;
	margin-top: -420px;
	background: url('../images/modal_practice_records/bg_practice_record.png') center center no-repeat;
	transform-origin: center center;
}
.modal.practice_records .btn_close {
	width: 65px;
	height: 65px;
	position: absolute;
	right: 15px;
	top: 15px;
	background: url('../images/modal_practice_records/btn_close_toolrecord.png') no-repeat;
}
.modal.practice_records .description {
	width: 550px;
	height: 75px;
	position: absolute;
	left: 415px;
	top: 60px;
	font-size: 1.6em;
	line-height: 150%;
	color: #FFF;
}
.modal.practice_records .options {
	width: 150px;
	height: 40px;
	position: absolute;
	top: 220px;
	background-color: #FFFFDC;
	border: none;
	font-size: 1.4em;
}
.modal.practice_records #practice_section {
	left: 288px;
}
.modal.practice_records #practice_topic {
	left: 530px;
}
.modal.practice_records select option:focus {
    background-color: #FFFF78;
}
.modal.practice_records .title-row {
	width: 960px;
	height: 70px;
	position: absolute;
	left: 85px;
	top: 310px;
	display: table;
    border-spacing: 6px;
    border-collapse: separate;
}
.modal.practice_records .title-row .item-col {
	width: 176px;
	height: 70px;
	border: 2px solid #FFF;
	display: table-cell;
	margin: 0 3px;
}
.modal.practice_records .title-row .item-col.topic {
	width: 116px;
	background: #d669ff url('../images/modal_practice_records/col_title_topic.png') center center no-repeat;
}
.modal.practice_records .title-row .item-col.task {
	background: #29b473 url('../images/modal_practice_records/col_title_task.png') center center no-repeat;
}
.modal.practice_records .title-row .item-col.ex {
	width: 216px;
	background: #29b4e3 url('../images/modal_practice_records/col_title_ex.png') center center no-repeat;
}
.modal.practice_records .title-row .item-col.date {
	background: #ff82d1 url('../images/modal_practice_records/col_title_date.png') center center no-repeat;
}
.modal.practice_records .title-row .item-col.score {
	width: 116px;
	background: #ffb454 url('../images/modal_practice_records/col_title_score.png') center center no-repeat;
}
.modal.practice_records .contents {
	width: 980px;
	height: 320px;
	position: absolute;
	left: 85px;
	top: 430px;
	overflow: hidden;
	overflow-y: auto;
}
.modal.practice_records .contents::-webkit-scrollbar-thumb {
    background-color: #94d9b9;
}
.modal.practice_records .contents::-webkit-scrollbar-thumb:hover {
	background-color: #94d9b9;
}
.modal.practice_records .contents .item-row {
	width: 960px;
	height: 100px;
	/*margin: 6px 0;*/
	display: table;
    border-spacing: 6px;
    border-collapse: separate;
}
.modal.practice_records .contents .item-row .item-col {
	width: 176px;
	height: 92px;
    padding: 8px;
    /*border-left: 6px solid #FFF;*/
	border: 2px solid #FFF;
	display: table-cell;
	font-size: 1.2em;
	text-align: center;
	vertical-align: middle;
}
.modal.practice_records .contents .item-row .item-col.topic {
    width: 116px;
	background-color: #ccdeff;
}
.modal.practice_records .contents .item-row .item-col.task {
	background-color: #ccffd6;
}
.modal.practice_records .contents .item-row .item-col.ex {
    width: 216px;
	background-color: #ccffff;
}
/*.modal.practice_records .contents .item-row .item-col:nth-child(4) {
	background-color: #ccdeff;
}*/
.modal.practice_records .contents .item-row .item-col.date {
	background-color: #ffd9ff;
}
.modal.practice_records .contents .item-row .item-col.score {
    width: 116px;
	background-color: #fff28a;
}
.modal.practice_records #btn-download-record {
	width: 180px;
	height: 60px;
	position: absolute;
	right: 120px;
	top: 210px;
	background: url('../images/modal_practice_records/btn_takestudentrecord.png') center no-repeat;
	cursor: pointer;
}

.modal p {
	font-size: 1.2em;
	line-height: 150%;
	margin: 0;
	margin-bottom: 0.5em;
}
.modal p.title {
	font-size: 2em;
	font-weight: bold;
	line-height: 125%;
	margin-bottom: 1em;
}
.modal p.section_title {
	font-size: 1.6em;
	font-weight: bold;
	line-height: 125%;
	margin-top: 1.2em;
}
.modal ul li,
.modal ol li {
	font-size: 1.2em;
	line-height: 150%;
	margin-left: -0.25em;
	margin-bottom: 0.5em;
	padding-left: 0.75em;
}


/** 練習紀錄 **/

#modal_score_reports {
	width: 800px;
	height: 780px;
	position: absolute;
	left: 50%;
	margin-left: -400px;
	top: 50%;
	margin-top: -390px;
	transform-origin: center center;
}
.modal.score_reports .btn_close {
	width: 40px;
	height: 40px;
	position: absolute;
	right: 0;
	top: 0;
	background: url('../images/modal_score_reports/btn_close.png') no-repeat;
}
.modal.score_reports .info_box {
	width: 250px;
	height: 420px;
	position: absolute;
	left: 0;
	top: 20px;
	background: url('../images/modal_score_reports/bg_personalinfo.png') no-repeat;
}
.modal.score_reports .info_box .btn_print {
	width: 135px;
	height: 35px;
	position: absolute;
	left: 57px;
	bottom: 25px;
	background: url('../images/modal_score_reports/btn_print.png') no-repeat;
}
.modal.score_reports .info_box .btn_description {
	width: 135px;
	height: 35px;
	position: absolute;
	left: 57px;
	bottom: 45px;
	background: url('../images/modal_score_reports/btn_explain.png') no-repeat;
}
.modal.score_reports .light_tube {
	width: 160px;
	height: 570px;
	position: absolute;
	left: 100px;
	bottom: 25px;
	background: url('../images/modal_score_reports/bg_light_160x570.png') no-repeat;
}
.modal.score_reports .contents {
	width: 600px;
	height: 780px;
	position: absolute;
	top: 0;
	right: 0;
	background: url('../images/modal_score_reports/bg_info.png') no-repeat;
}
.modal.score_reports .contents .title {
	width: 200px;
	height: 45px;
	position: absolute;
	left: 200px;
	top: 12px;
	line-height: 45px;
	font-size: 1.6em;
	text-align: center;
}
.modal.score_reports .contents .content {
	width: 460px;
	height: 610px;
	position: absolute;
	top: 85px;
	left: 70px;
}
.modal.score_reports .contents .content .summary {
	width: 460px;
	height: 160px;
	background: url('../images/modal_score_reports/bg_mark_part1.png') no-repeat;
}
.modal.score_reports .contents .content .summary .avatar {
	width: 150px;
	height: 150px;
	position: absolute;
	left: 5px;
	top: 5px;
	background-size: contain;
}
.modal.score_reports .contents .content .summary .user_name {
	width: 200px;
	height: 24px;
	line-height: 24px;
	font-size: 1.2em;
	text-align: left;
	position: absolute;
	left: 180px;
	top: 0px;
}
.modal.score_reports .contents .content .summary .school_name {
	width: 200px;
	height: 48px;
	line-height: 24px;
	font-size: 1.2em;
	text-align: left;
	position: absolute;
	left: 180px;
	top: 30px;
}
.modal.score_reports .contents .content .summary .user_class {
	width: 160px;
	height: 24px;
	line-height: 24px;
	font-size: 1.2em;
	text-align: center;
	position: absolute;
	left: 180px;
	top: 75px;
}
.modal.score_reports .contents .content .summary .avatar img {
	width: 100%;
	height: 100%;
}
.modal.score_reports .nav-pagination {
	width: 600px;
	height: 40px;
	position: absolute;
	right: 0;
	bottom: 10px;
	text-align: center;
}
.modal.score_reports .nav-pagination .item {
	display: inline-block;
	width: 100px;
	height: 40px;
}
.modal.score_reports .nav-pagination .item.prev {
	background-image: url('../images/modal_score_reports/btn_previous.png');
}
.modal.score_reports .nav-pagination .item.next {
	background-image: url('../images/modal_score_reports/btn_next.png');
}
.modal.score_reports .summary .monthly_score {
	width: 130px;
	height: 20px;
	position: absolute;
	left: 295px;
	top: 90px;
	line-height: 20px;
	font-size: 18px;
}
.modal.score_reports .summary .monthly_rank {
	width: 130px;
	height: 20px;
	position: absolute;
	left: 295px;
	top: 130px;
	line-height: 20px;
	font-size: 18px;
}
.modal.score_reports .info_box .badge {
	width: 100px;
	height: 100px;
	position: absolute;
	left: 75px;
	top: 60px;
}
.modal.score_reports .info_box .badge-shine {
	width: 100px;
	height: 100px;
	position: absolute;
	left: 0;
	top: 0;
	background: url('../images/modal_score_reports/badge_shine_100x100.png') no-repeat;
}
.modal.score_reports .info_box .badge.lv0 {
    display: none;
}
.modal.score_reports .info_box .badge.lv1 {
	background: url('../images/modal_score_reports/badge_lv1.png') no-repeat;
}
.modal.score_reports .info_box .badge.lv2 {
	background: url('../images/modal_score_reports/badge_lv2.png') no-repeat;
}
.modal.score_reports .info_box .badge.lv3 {
	background: url('../images/modal_score_reports/badge_lv3.png') no-repeat;
}
.modal.score_reports .info_box .badge.lv4 {
	background: url('../images/modal_score_reports/badge_lv4.png') no-repeat;
}
.modal.score_reports .info_box .badge.lv5 {
	background: url('../images/modal_score_reports/badge_lv5.png') no-repeat;
}
.modal.score_reports .info_box .badge.lv6 {
	background: url('../images/modal_score_reports/badge_lv6.png') no-repeat;
}
.modal.score_reports .info_box .ranking {
    width: 170px;
    height: auto;
    position: absolute;
    left: 40px;
    top: 180px;
    text-align: center;
}
.modal.score_reports .info_box .ranking p {
    margin: 0;
    line-height: 125%;
}

.modal.score_reports .contents .content .scores {
	width: 460px;
	height: 270px;
	background: url('../images/modal_score_reports/bg_mark_part2.png') center bottom no-repeat;
}
.modal.score_reports .scores .title-row {
	width: 100%;
	height: 50px;
}
.modal.score_reports .scores .item-row {
	width: 100%;
	height: 55px;
}
.modal.score_reports .scores .item-col {
	line-height: 52px;
	text-align: center;
	display: inline-block;
	margin: 0;
	margin-bottom: 3px;
}
.modal.score_reports .title-row .item-col {
	font-size: 1.4em;
	background: none;
}
.modal.score_reports .item-row .item-col {
	font-size: 1.2em;
}
.modal.score_reports .scores .item-col:first-child {
	text-align: left;
	margin-left: 15px;
}
.modal.score_reports .scores .item-col:first-child,
.modal.score_reports .scores .item-col:last-child {
	width: 19%;
}
.modal.score_reports .scores .item-col:nth-child(2) {
	width: 32%;
}
.modal.score_reports .scores .item-col:nth-child(3) {
	width: 24%;
}
.modal.score_reports .scores .item-row .item-col:last-child {
	display: inline-block;
	background: url('../images/modal_score_reports/chamcup.png') center top no-repeat;
}
.modal.score_reports .scores .item-row .item-col.cup {
	background-position: center bottom;
}
.modal.score_reports .contents .content .comments {
	width: 460px;
	height: 190px;
	background: url('../images/modal_score_reports/bg_mark_part3.png') center bottom no-repeat;
}
.modal.score_reports .comments .title-row {
	width: 100%;
	height: 50px;
}
.modal.score_reports .comments .title-row .item-col {
	line-height: 50px;
	padding-left: 15px;
}
.modal.score_reports .comments .item-row {
	width: 100%;
	height: 35px;
}
.modal.score_reports .comments .item-row .item-col {
	line-height: 35px;
	display: inline-block;
	margin: 0;
}
.modal.score_reports .comments .item-row .item-col:first-child {
	width: 19%;
	padding-left: 15px;
}
.modal.score_reports .comments .item-row .item-col:last-child {
	width: 78%;
}


/** 成績表>說明 **/

#modal_score_description {
	width: 940px;
	height: 740px;
	position: absolute;
	left: 50%;
	margin-left: -470px;
	top: 50%;
	margin-top: -370px;
	background: url('../images/modal_score_reports/bg_explain.png') no-repeat;
	transform-origin: center center;
	z-index: 10001;
}
.modal.score_description .btn_close {
	width: 65px;
	height: 65px;
	position: absolute;
	top: 30px;
	right: 30px;
	background: url('../images/modal_score_reports/btn_close_explain.png') no-repeat;
}
.modal.score_description .contents {
	width: 850px;
	height: 650px;
	position: absolute;
	left: 45px;
	top: 45px;
}


/** 個人資料 **/

#modal_user_info {
	width: 940px;
	height: 730px;
	position: absolute;
	left: 50%;
	margin-left: -470px;
	top: 50%;
	margin-top: -365px;
	background: url('../images/modal_user_info/bg_data.png') no-repeat;
	transform-origin: center center;
}
.modal.user_info .btn_close {
	width: 40px;
	height: 40px;
	position: absolute;
	right: 0;
	top: 0;
	background: url('../images/modal_user_info/btn_close40.png') no-repeat;
}
.modal.user_info .avatar_container {
	width: 200px;
	height: 200px;
	position: absolute;
	left: 62px;
	top: 85px;
	background-color: #FAAF40;
}
.modal.user_info .avatar_container .avatar {
	width: 180px;
	height: 180px;
	margin: 10px;
	background-color: #FFF;
	background-size: cover;
}
.modal.user_info .btn_select {
	width: 135px;
	height: 35px;
	position: absolute;
	left: 92px;
	top: 308px;
	background: url('../images/modal_user_info/btn_picselect.png') no-repeat;
}
.modal.user_info .btn_confirm {
	width: 180px;
	height: 65px;
	position: absolute;
	left: 70px;
	top: 420px;
	background: url('../images/modal_user_info/btn_dataconfirm.png') no-repeat;
}
.modal.user_info .btn_cancel {
	width: 180px;
	height: 65px;
	position: absolute;
	left: 70px;
	top: 500px;
	background: url('../images/modal_user_info/btn_datacancel.png') no-repeat;
}
.modal.user_info .contents {
	width: 510px;
	height: 500px;
	position: absolute;
	left: 330px;
	top: 110px;
	overflow: hidden;
	overflow-y: auto;
}
.modal.user_info .contents .item-row {
	width: 100%;
	height: 50px;
}
.modal.user_info .contents .item-row .item-label {
	display: inline-block;
	width: 30%;
	height: 40px;
	line-height: 40px;
	margin: 5px 0;
	text-align: right;
	font-size: 1.6em;
	color: #003FB6;
}
.modal.user_info .contents .item-row .item-value {
	display: inline-block;
	width: 65%;
	height: 40px;
	line-height: 40px;
	margin: 5px 0;
	text-align: left;
	font-size: 1.4em;
	color: #111;
}
.modal.user_info .contents .item-row .item-value label {
    font-size: 1em;
    display: inline-block;
    font-weight: normal;
    margin-right: 15px;
}
.modal.user_info .contents .item-row .item-value input {
	width: 100%;
	height: 40px;
	padding-left: 10px;
	border: 0;
	background-color: #6FF;
}
.modal.user_info .contents .item-row .item-value input[type="radio"] {
    font-size: 1em;
    width: 1em;
    height: 1em;
    display: inline-block;
}

#modal_avatar_selection {
	width: 1088px;
	height: 274px;
	position: absolute;
	left: 50%;
	margin-left: -544px;
	top: 50%;
	background: url('../images/modal_user_info/bg_popup.png') no-repeat;
	transform-origin: center top;
}
.modal.avatar_selection .btn_close {
	width: 50px;
	height: 50px;
	position: absolute;
	right: 0;
	top: 0;
	background: url('../images/modal_user_info/btn_close50.png') no-repeat;
}
.modal.avatar_selection .btn_previous {
	width: 25px;
	height: 60px;
	position: absolute;
	left: 15px;
	top: 50%;
	margin-top: -30px;
	background: url('../images/modal_user_info/btn_popup_l.png') no-repeat;
}
.modal.avatar_selection .btn_next {
	width: 25px;
	height: 60px;
	position: absolute;
	right: 15px;
	top: 50%;
	margin-top: -30px;
	background: url('../images/modal_user_info/btn_popup_r.png') no-repeat;
}
.modal.avatar_selection .avatars_container {
	width: 980px;
	height: 240px;
	position: absolute;
	left: 50%;
	margin-left: -490px;
	top: 50%;
	margin-top: -120px;
	white-space: nowrap;
}
.modal.avatar_selection .avatars_container .avatar {
	width: 220px;
	height: 220px;
	margin: 10px;
	display: inline-block;
	background: none;
	cursor: pointer;
}
.modal.avatar_selection .avatars_container .avatar:hover,
.modal.avatar_selection .avatars_container .avatar.selected {
	background-color: #FAAF40;
}
.modal.avatar_selection .avatars_container .avatar img {
	width: 200px;
	height: 200px;
	margin: 10px;
}



/** 工具箱 **/

#modal_toolbox {
	width: 1200px;
	height: 800px;
	position: absolute;
	left: 50%;
	margin-left: -600px;
	top: 50%;
	margin-top: -400px;
	background: url('../images/modal_toolbox/bg_toolbox_back.png') center top no-repeat;
	transform-origin: center center;
	z-index: 10000;
}
.modal.toolbox .btn_close {
	width: 44px;
	height: 44px;
	position: absolute;
	right: 35px;
	top: 12px;
	background: url('../images/modal_toolbox/btn_close.png') no-repeat;
}
.modal.toolbox .backlight {
	width: 1020px;
	height: 600px;
	position: absolute;
	left: 50%;
	margin-left: -510px;
	top: 122px;
	background: url('../images/modal_toolbox/bg_toolbox_backlight_1020x600.png') no-repeat;
}
.modal.toolbox .bottom_frame {
	width: 1200px;
	height: 70px;
	position: absolute;
	left: 0;
	bottom: 0;
	background: url('../images/modal_toolbox/bg_toolbox_front.png') no-repeat;
}
.modal.toolbox .tabs {
	width: 1000px;
	height: 50px;
	position: absolute;
	left: 50%;
	margin-left: -500px;
	top: 97px;
	text-align: center;
}
.modal.toolbox .tabs .item {
	width: 160px;
	height: 50px;
	display: inline-block;
	margin: 0 20px;
}
.modal.toolbox .tabs .mytools {
	background: url('../images/modal_toolbox/btn_topnav01.png') no-repeat;
}
.modal.toolbox .tabs .shop {
	background: url('../images/modal_toolbox/btn_topnav02.png') no-repeat;
}
.modal.toolbox .tabs .trade {
	background: url('../images/modal_toolbox/btn_topnav03.png') no-repeat;
}
.modal.toolbox .tabs .friends {
	background: url('../images/modal_toolbox/btn_topnav04.png') no-repeat;
}
.modal.toolbox .tabs .item.active {
	background-position: bottom;
}
.modal.toolbox .contents {
	width: 1000px;
	height: 600px;
	position: absolute;
	left: 50%;
	margin-left: -500px;
	top: 145px;
}
.modal.toolbox .contents.mytools {
	background: url('../images/modal_toolbox/bg_page1.png') no-repeat;
}
.modal.toolbox .contents.shop {
	background: url('../images/modal_toolbox/bg_page2.png') no-repeat;
}
.modal.toolbox .contents.trade {
	background: url('../images/modal_toolbox/bg_page3.png') no-repeat;
	overflow: hidden;
	overflow-y: auto;
}
.modal.toolbox .contents.friends {
	background: url('../images/modal_toolbox/bg_page4.png') no-repeat;
}

.modal.toolbox .contents.mytools .item-row {
	position: relative;
	width: 930px;
	height: 120px;
	margin: 5px auto;
	background: url('../images/modal_toolbox/bg_item_lv.png') no-repeat;
}
.modal.toolbox .contents.mytools .item-row:first-child {
	margin-top: 45px;
}
.modal.toolbox .contents.mytools .item-row .item-type {
	width: 100px;
	height: 30px;
	position: absolute;
	left: 30px;
	top: 45px;
}
.modal.toolbox .contents.mytools .item-row .item-type.lv0 {
	background: url('../images/modal_toolbox/name_item_lv1.png') no-repeat;
}
.modal.toolbox .contents.mytools .item-row .item-type.lv1 {
	background: url('../images/modal_toolbox/name_item_lv2.png') no-repeat;
}
.modal.toolbox .contents.mytools .item-row .item-type.lv2 {
	background: url('../images/modal_toolbox/name_item_lv3.png') no-repeat;
}
.modal.toolbox .contents.mytools .item-row .item-type.lv3 {
	background: url('../images/modal_toolbox/name_item_lv4.png') no-repeat;
}
.modal.toolbox .contents.mytools .item-row .items {
	width: 690px;
	height: 90px;
	position: absolute;
	left: 200px;
	top: 15px;
}
.modal.toolbox .contents.mytools .item-row .items .item {
	position: relative;
	width: 165px;
	height: 90px;
	display: inline-block;
	margin: 0;
	margin-right: 5px;
	background: url('../images/modal_toolbox/bg_item_holding.png') no-repeat;
}
.modal.toolbox .contents.mytools .item-row .items .item:last-child {
	margin-right: 0;
}
.modal.toolbox .contents.mytools .item-row .item .icon {
	width: 78px;
	height: 60px;
	position: absolute;
	left: 15px;
	top: 15px;
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
}
.modal.toolbox .contents.mytools .item-row .item .title {
	width: 55px;
	height: 45px;
	position: absolute;
	left: 107px;
	top: 7px;
	font-size: 1.2em;
	line-height: 1em;
	color: #FFF;
}
.modal.toolbox .contents.mytools .item-row .item .quantity {
	width: 30px;
	height: 30px;
	position: absolute;
	right: 3px;
	bottom: 3px;
	text-align: center;
	font-size: 1.4em;
	line-height: 30px;
	color: #111;
}

.modal.toolbox .contents.shop .item-row {
	width: 900px;
	height: 165px;
	background: url('../images/modal_toolbox/bg_shop_shelf.png') center bottom no-repeat;
	margin: 5px auto;
	text-align: center;
}
.modal.toolbox .contents.shop .item-row:first-child {
	margin-top: 45px;
}
.modal.toolbox .contents.shop .item-row .item {
	position: relative;
	width: 250px;
	height: 140px;
	display: inline-block;
	margin: 0;
	background: url('../images/modal_toolbox/btn_shop_stand.png') no-repeat;
	cursor: pointer;
}
.modal.toolbox .contents.shop .item-row .item:hover {
	background-position: bottom;
}
.modal.toolbox .contents.shop .item-row .item .icon {
	width: 60px;
	height: 50px;
	position: absolute;
	left: 40px;
	top: 40px;
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
}
.modal.toolbox .contents.shop .item-row .item .info {
	width: 110px;
	height: 75px;
	position: absolute;
	left: 130px;
	top: 50px;
	font-size: 1.2em;
	line-height: 1.2em;
	color: #FFF;
}

.modal.toolbox .contents.trade p {
	width: 600px;
	margin: 5px auto;
	color: #FFF;
}
.modal.toolbox .contents.trade .item-row {
	position: relative;
	width: 800px;
	height: 100px;
	background: url('../images/modal_toolbox/bg_trade.png') no-repeat;
	margin: 2px auto;
}
.modal.toolbox .contents.trade .item-row .avatar {
	width: 80px;
	height: 80px;
	position: absolute;
	left: 42px;
	top: 10px;
	background-size: cover;
}
.modal.toolbox .contents.trade .item-row .user_name {
	width: 100px;
	height: 48px;
	position: absolute;
	left: 130px;
	top: 12px;
	font-size: 1.2em;
	line-height: 1em;
	color: #FFF;
}
.modal.toolbox .contents.trade .item-row .user_class {
	width: 100px;
	height: 32px;
	position: absolute;
	left: 130px;
	top: 60px;
	font-size: 1.6em;
	color: #FFF;
}
.modal.toolbox .contents.trade .item-row .btn_request {
	width: 160px;
	height: 80px;
	position: absolute;
	left: 280px;
	top: 10px;
	background: url('../images/modal_toolbox/btn_request.png') no-repeat;
}
.modal.toolbox .contents.trade .item-row .btn_gift {
	width: 160px;
	height: 80px;
	position: absolute;
	left: 470px;
	top: 10px;
	background: url('../images/modal_toolbox/btn_gift.png') no-repeat;
}
.modal.toolbox .contents.trade .item-row .btn_extraheart {
	width: 55px;
	height: 45px;
	position: absolute;
	left: 660px;
	top: 27px;
	background: url('../images/modal_toolbox/btn_extraheart.png') no-repeat;
}
.modal.toolbox .contents.trade .item-row .btn_extraheart.disabled {
	background: url('../images/modal_toolbox/btn_extraheart_g.png') no-repeat;
	cursor: default;
}

#modal_tools_exchange {
	width: 500px;
	height: 460px;
	position: absolute;
	left: 50%;
	margin-left: -250px;
	top: 50%;
	margin-top: -230px;
	background: url('../images/modal_toolbox/bg_request_gift.png') no-repeat;
	transform-origin: center center;
	z-index: 10002;
}
.modal.tools_exchange .title {
	width: 100px;
	height: 30px;
	position: absolute;
	left: 50%;
	margin-left: -50px;
	top: 0;
}
.modal.tools_exchange .title.request {
	background: url('../images/modal_toolbox/name_request.png') no-repeat;
}
.modal.tools_exchange .title.gift {
	background: url('../images/modal_toolbox/name_gift.png') no-repeat;
}
.modal.tools_exchange .btn_confirm {
	width: 135px;
	height: 35px;
	position: absolute;
	bottom: 25px;
	left: 105px;
	background: url('../images/modal_toolbox/btn_confirm.png') no-repeat;
}
.modal.tools_exchange .btn_cancel {
	width: 135px;
	height: 35px;
	position: absolute;
	bottom: 25px;
	right: 105px;
	background: url('../images/modal_toolbox/btn_cancel.png') no-repeat;
}
.modal.tools_exchange .contents {
	width: 480px;
	height: 350px;
	position: absolute;
	left: 10px;
	top: 40px;
	text-align: center;
}
.modal.tools_exchange .contents .item {
	position: relative;
	width: 110px;
	height: 110px;
	display: inline-block;
	margin: 2px;
	background: url('../images/modal_toolbox/bg_item_amount.png') no-repeat;
}
.modal.tools_exchange .contents .item .icon {
	width: 90px;
	height: 70px;
	position: absolute;
	left: 10px;
	top: 10px;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}
.modal.tools_exchange .contents .item .btn_plus {
	width: 28px;
	height: 18px;
	position: absolute;
	left: 4px;
	bottom: 4px;
	background: url('../images/modal_toolbox/btn_plus.png') no-repeat;
}
.modal.tools_exchange .contents .item .btn_minus {
	width: 28px;
	height: 18px;
	position: absolute;
	right: 4px;
	bottom: 4px;
	background: url('../images/modal_toolbox/btn_minus.png') no-repeat;
}
.modal.tools_exchange .contents .item .quantity {
	width: 42px;
	height: 18px;
	position: absolute;
	left: 50%;
	margin-left: -21px;
	bottom: 4px;
	font-size: 16px;
	line-height: 18px;
	text-align: center;
	color: #FFF;
}

.modal.toolbox .contents.friends .search_bar {
	width: 900px;
	height: 60px;
	position: absolute;
	left: 50%;
	margin-left: -450px;
	top: 20px;
	background: url('../images/modal_toolbox/bg_searchinput.png') no-repeat;
}
.modal.toolbox .contents.friends .search_bar .search_input {
	width: 750px;
	height: 30px;
	position: absolute;
	left: 10px;
	top: 15px;
}
.modal.toolbox .contents.friends .search_bar input {
	height: 30px;
	text-align: center;
}
.modal.toolbox .contents.friends .search_bar .lbl {
	font-size: 1.2em;
	color: #FFF;
}
.modal.toolbox .contents.friends .search_bar #user_name {
	width: 140px;
}
.modal.toolbox .contents.friends .search_bar #school_name {
	width: 240px;
}
.modal.toolbox .contents.friends .search_bar #user_class {
	width: 60px;
}
.modal.toolbox .contents.friends .search_bar #user_no {
	width: 60px;
}
.modal.toolbox .contents.friends .search_bar .btn_search {
	width: 130px;
	height: 50px;
	position: absolute;
	top: 5px;
	right: 10px;
	background: url('../images/modal_toolbox/btn_search.png') no-repeat;
}
.modal.toolbox .contents.friends .search_result {
	width: 800px;
	height: 450px;
	position: absolute;
	left: 50%;
	margin-left: -400px;
	top: 100px;
	background: url('../images/modal_toolbox/bg_searchlist.png') no-repeat;
	padding: 20px;
}
.modal.toolbox .contents.friends .search_result .item-row {
	width: 760px;
	margin: 5px auto 0;
	padding-bottom: 6px;
	border-bottom: 2px solid #FFF;
}
.col-1 {
	width: 10%;
}
.col-2 {
	width: 20%;
}
.col-3 {
	width: 30%;
}
.col-4 {
	width: 40%;
}
.col-1, .col-2, .col-3, .col-4 {
	float: left;
}
.modal.toolbox .contents.friends .search_result .item-row:last-child {
	border-bottom: 0;
}
.modal.toolbox .contents.friends .search_result .item-row .avatar {
	width: 56px;
	height: 56px;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}
.modal.toolbox .contents.friends .search_result .item-row .text_col {
	font-size: 1.2em;
	line-height: 1.25em;
	padding-top: 0.5em;
}
.modal.toolbox .contents.friends .search_result .item-row .btn_col {
	text-align: right;
}
.modal.toolbox .contents.friends .search_result .item-row .btn_addfriend {
	display: inline-block;
	width: 135px;
	height: 35px;
	margin-top: 12px;
	background: url('../images/modal_toolbox/btn_addfriend.png') no-repeat;
}
.modal .search_result .row > div {
	padding-left: 0;
	padding-right: 0;
}

#modal_forgetpassword {
	width: 500px;
	height: 400px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -250px;
	margin-top: -200px;
	background: #FFF;
	border: 12px solid #93e3ff;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}
.modal.forgetpassword .contents {
	padding: 15px;
	font-size: 1.2em;
	line-height: 130%;
}
.modal.forgetpassword .btn_close {
	width: 135px;
	height: 35px;
	position: absolute;
	bottom: 20px;
	left: 50%;
	margin-left: -67px;
	background-image: url('../images/index/btn_modal_yes.png');
	background-repeat: no-repeat;
}

#modal_news {
	width: 1180px;
	height: 950px;
	position: absolute;
	left: 50%;
	margin-left: -580px;
	top: 50%;
	margin-top: -455px;
	background: url('../images/modal_news/bg_newspopup.png') center center no-repeat;
	transform-origin: center center;
	z-index: 10000;
}
.modal.news .btn_close {
	width: 68px;
	height: 68px;
	position: absolute;
	right: 0;
	top: 0;
	background-image: url('../images/modal_news/btn_close_news.png');
	background-repeat: no-repeat;
}
.modal.news .contents {
	width: 1072px;
	height: 725px;
	position: absolute;
	top: 145px;
	left: 44px;
}
.modal.news .contents .system {
	width: 1072px;
	height: 725px;
	background: url('../images/modal_news/bg_news_system2.png') no-repeat;
}
.modal.news .contents .system.col2 {
	width: 522px;
	height: 725px;
	position: absolute;
	left: 4px;
	top: 0;
	background: url('../images/modal_news/bg_news_system1.png') no-repeat;
}
.modal.news .contents .requests {
	width: 1072px;
	height: 725px;
	background: url('../images/modal_news/bg_news_friend2.png') no-repeat;
}
.modal.news .contents .requests.col2 {
	width: 522px;
	height: 725px;
	position: absolute;
	right: 4px;
	top: 0;
	background: url('../images/modal_news/bg_news_friend1.png') no-repeat;
}
.modal.news .contents .system .more {
	width: 89px;
	height: 41px;
	position: absolute;
	right: 55px;
	bottom: 30px;
	background-image: url('../images/modal_news/btn_systemnews_more.png');
}
.modal.news .contents .requests .more {
	width: 89px;
	height: 41px;
	position: absolute;
	right: 55px;
	bottom: 30px;
	background-image: url('../images/modal_news/btn_friendnews_more.png');
}
.modal.news .contents .system .btns {
	width: 280px;
	height: 36px;
	position: absolute;
	left: 185px;
	top: 36px;
	text-align: center;
}
.modal.news .contents .system .btns .item {
	width: 78px;
	height: 36px;
	display: inline-block;
	margin: 0 4px;
}
.modal.news .contents .system .btns .all {
	background-image: url('../images/modal_news/btn_systemnews1.png');
}
.modal.news .contents .system .btns .global {
	background-image: url('../images/modal_news/btn_systemnews2.png');
}
.modal.news .contents .system .btns .game {
	background-image: url('../images/modal_news/btn_systemnews3.png');
}
.modal.news .contents .system .items,
.modal.news .contents .requests .items {
	width: 986px;
	height: 530px;
	position: absolute;
	left: 32px;
	top: 90px;
	overflow: hidden;
	overflow-y: auto;
}
.modal.news .contents .system.col2 .items,
.modal.news .contents .requests.col2 .items {
	width: 470px;
}
.modal.news .contents .system .items .item,
.modal.news .contents .requests .items .item {
	clear: both;
	margin-bottom: 15px;
	padding-bottom: 25px;
}
.modal.news .contents .items .item p {
	margin: 15px;
}
.modal.news .contents .system .items .item {
	background: url('../images/modal_news/line_news_system2.png') left bottom no-repeat;
}
.modal.news .contents .system.col2 .items .item {
	background: url('../images/modal_news/line_news_system1.png') left bottom no-repeat;
}
.modal.news .contents .requests .items .item {
	background: url('../images/modal_news/line_news_system2.png') left bottom no-repeat;
}
.modal.news .contents .requests.col2 .items .item {
	background: url('../images/modal_news/line_news_system1.png') left bottom no-repeat;
}
.modal.news .contents .system .items .item .title,
.modal.news .contents .requests .items .item .title {
	width: 965px;
	height: 30px;
	line-height: 30px;
	padding-left: 15px;
	font-size: 1.2em;
	font-weight: bold;
}
.modal.news .contents .system .items .item .title {
	background: url('../images/modal_news/bg_newstitle_system2.png') no-repeat;
}
.modal.news .contents .requests .items .item .title {
	background: url('../images/modal_news/bg_newstitle_friend2.png') no-repeat;
}
.modal.news .contents .system.col2 .items .item .title,
.modal.news .contents .requests.col2 .items .item .title {
	width: 450px;
}
.modal.news .contents .system.col2 .items .item .title {
	background: url('../images/modal_news/bg_newstitle_system1.png') no-repeat;
}
.modal.news .contents .requests.col2 .items .item .title {
	background: url('../images/modal_news/bg_newstitle_friend1.png') no-repeat;
}
.modal.news .contents .system .items .item .content {
	padding: 15px;
	font-size: 1.2em;
}
.modal.news .contents .requests .items .item .content {
	margin: 15px;
	font-size: 1.2em;
}

.modal.news .contents .requests .items .item .btns {
	line-height: 38px;
	margin: 12px 15px 0;
}
.modal.news .contents .requests .items .item .btns .btn-item {
	display: inline-block;
	width: 97px;
	height: 38px;
	margin: 0;
	margin-right: 10px;
	background-repeat: no-repeat;
	cursor: pointer;
}
.modal.news .contents .requests .items .item .btns .accept {
	background-image: url('../images/modal_news/btn_systemnews_accept.png');
}
.modal.news .contents .requests .items .item .btns .confirm {
	background-image: url('../images/modal_news/btn_systemnews_confirm.png');
}
.modal.news .contents .requests .items .item .btns .decline {
	background-image: url('../images/modal_news/btn_systemnews_reject.png');
}
.modal.news .contents .requests .items .item .btns .decline.hide {
	visibility: hidden;
}
.modal.news .contents .requests .items .item .btns .gift {
	background-image: url('../images/modal_news/btn_systemnews_send.png');
}
.btn-item:hover {
	background-position: bottom;
}


.modal .contents .btn_previous {
	width: 50px;
	height: 50px;
	position: absolute;
	left: 15px;
	top: 50%;
	margin-top: -25px;
	background: url('../images/modal_toolbox/btn_left.png') no-repeat;
}
.modal .contents .btn_previous.disabled {
	background: url('../images/modal_toolbox/btn_left_g.png') no-repeat;
}
.modal .contents .btn_next {
	width: 50px;
	height: 50px;
	position: absolute;
	right: 15px;
	top: 50%;
	margin-top: -25px;
	background: url('../images/modal_toolbox/btn_right.png') no-repeat;
}
.modal .contents .btn_next.disabled {
	background: url('../images/modal_toolbox/btn_right_g.png') no-repeat;
}


/** global css for common used element **/

.modal .btn_close {
	background-repeat: no-repeat;
	cursor: pointer;
}
.modal .btn_close:hover {
	background-position: bottom;
}

.modal.exercise .btn_close {
    width: 100px;
    height: 40px;
    font-size: 20px;
    color: #000;
    text-align: center;
    line-height: 40px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    margin-left: -50px;
    background-image: url('../images/modal_exercise/btn_common.png');
}



.modal .cus_btn,
#casual_zone .cus_btn,
.cus_btn {
	background-repeat: no-repeat;
	cursor: pointer;
}
.modal .info_box .cus_btn:hover,
.modal .tabs .cus_btn:hover,
.modal .contents.trade .item-row .cus_btn:hover,
.modal .contents.friends .search_bar .cus_btn:hover,
.modal .contents.friends .search_result .item-row .cus_btn:hover,
.modal .contents .item .cus_btn:hover,
.modal .cus_btn:hover,
#casual_zone .cus_btn:hover,
.cus_btn:hover {
	background-position: bottom;
}

.modal-backdrop.in {
    filter: alpha(opacity=70);
    opacity: .7;
}


/** jquery-confirm **/
/*.jconfirm.jconfirm-orange .jconfirm-bg{}*/
.jconfirm.jconfirm-orange .jconfirm-box{
	box-shadow: none;
    background: #F87C00;
	border: 1px solid #111;
    border-radius: 5px;
    color: #111;
}
/*.jconfirm.jconfirm-orange .jconfirm-box.loading{
}
.jconfirm.jconfirm-orange .jconfirm-box.loading:before{
}
.jconfirm.jconfirm-orange .jconfirm-box.loading:after{
}
.jconfirm.jconfirm-orange .jconfirm-box .jconfirm-closeIcon{
}
.jconfirm.jconfirm-orange .jconfirm-box .jconfirm-title-c{
}
.jconfirm.jconfirm-orange .jconfirm-box .jconfirm-content-pane{
}*/
.jconfirm.jconfirm-orange .jconfirm-box .jconfirm-content{
	text-align: center;
}
.jconfirm.jconfirm-orange .jconfirm-box .jconfirm-buttons{
	text-align: center;
}
.jconfirm.jconfirm-orange .jconfirm-box .jconfirm-buttons button{
	margin: 0 10px;
	background: #FCD86C;
}
.jconfirm.jconfirm-orange .jconfirm-box .jconfirm-buttons button:hover{
	background: #FFF;
}

.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-content{
	text-align: center;
}
.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons{
	float: none;
	text-align: center;
}
.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons button.btn-default{
	margin: 0 10px;
	background: #CDCDCD;
	color: #111;
}
.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons button.btn-default:hover{
	background: #666;
	color: #FFF;
}

/* 「選擇作答模式」等 $.dialog 彈窗寬度收攏：
   jquery-confirm2 以 columnClass 套在 .jconfirm-box-container 上控制寬度，
   空字串會使 box 撐滿 .container。此類讓寬度貼合內容（按鈕）並水平置中。 */
.jconfirm .jconfirm-box-container.dialog-fit{
	display: table;
	width: auto;
	max-width: 90%;
	margin: 0 auto;
	float: none;
}
