
@charset "utf-8";

html {
	height			: 100%;
	font-size		: 20px;
	font-family	: "Microsoft JhengHei","微軟正黑體","Microsoft JhengHei","Tahoma","Verdana","Arial","sans-serif";
}
body {
	font-size		: 1rem;
	max-width		: 980px;
	margin			: 0 auto;
}
ol {
	margin			: 0px;
}
.button_custom:hover {
	opacity: 0.7;
}
.button_custom_grad {
	display		: inline-block;
	min-height		: 30px;
	min-width		: 30px;
	width			: 180px;
	border-radius	: 10px;
	padding		: 5px;
	line-height	: 30px;
	text-align		: center;
	text-decoration: none;

	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	border:1px solid #ffaa22;
	background:-moz-linear-gradient( center top, #ffec64 5%, #ffab23 100% );
	background:-ms-linear-gradient( top, #ffec64 5%, #ffab23 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffec64', endColorstr='#ffab23');
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #ffec64), color-stop(100%, #ffab23) );
	background-color:#ffec64;
	color:#333333;
	text-shadow:1px 1px 0px #ffee66;
 	-webkit-box-shadow:inset 1px 1px 0px 0px #fff6af;
 	-moz-box-shadow:inset 1px 1px 0px 0px #fff6af;
 	box-shadow:inset 1px 1px 0px 0px #fff6af;
}
.button_custom_grad:hover {
	background:-moz-linear-gradient( center top, #ffab23 5%, #ffec64 100% );
	background:-ms-linear-gradient( top, #ffab23 5%, #ffec64 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffab23', endColorstr='#ffec64');
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #ffab23), color-stop(100%, #ffec64) );
	background-color:#ffab23;
}
.button {
	display			: inline-block;
	height			: 46px;
	box-sizing		: border-box;
	text-align		: left;
	text-decoration	: none;
	background-image: url(image/button.png);
	background-repeat: no-repeat;
	color			: white;
	cursor			: pointer;
	/*z-index			: 1;*/
	padding: 8px 5px 5px 50px;
	width: 125px;
}
.button:hover {
	background-image: url(image/button_h.png);
}
.button_text {
}
.button.button_br {
	position		: absolute;
	top				: 580px;
	right			: 0px;
}
.button.button_start {
	position		: absolute;
	top				: 460px;
	left			: 410px;
	background-image: url(image/button01.png);
	width			: 155px;
	height			: 58px;
	padding-top		: 10px;
}
.button.button_start:hover {
	background-image: url(image/button01_h.png);
}
.close.button {
	width: 50px;
	height: 55px;
	background-image: url(image_new/btn_close.png);
	display: inline-block;
	right: -20px;
	top: 80px;
	z-index: 999999;
	/* background-color: #ff0; */
	position: absolute;
	background-size: 100%;
}
.block {
	display			: inline-block;
}
.row {
	display		: table-row;
}
.cell {
	display		: table-cell;
	min-width	: 100px;
	padding		: 1px;
}
.tac {
	text-align		: center;
}
.tal {
	text-align		: left;
}
.tar {
	text-align		: right;
}
.fs200 {
	font-size		: 200%;
}
.greenr {
	display				: inline-block;
	min-width			: 100px;
	background-color	: lightgreen;
	border-radius		: 10px;
    padding-left		: 10px;
}
.double_size .jaqp_header_timer_digit {
	width			: 44px;
	height			: 68px;
	margin-right	: 10px;
	background-size	: contain;
}
.mypage {
	display			: none;
	width			: 100%;
	position		: relative;
}
#hkectopbar_div {
	display		: none;
}
#content_centered {
	position			: relative;
	/*height				: 100%;*/
	/*min-height			: 731px;*/
	max-width			: 1000px;
	margin-left			: auto;
	margin-right		: auto;
	background-color	: #f00;
	background-repeat	: no-repeat;
	background-position	: center 30px;
	background-image	: none;
}
#content_overlay {
	position	: absolute;
	top			: 0px;
	left		: 0px;
	width	: 100%;
	height	: 100%;
	z-index: 99990;
	opacity	: 0.7;
	background-color: white;
	display	: none;
}
#myname {
	padding: 3px;
	text-align: right;
	font-size: smaller;
}
#myname a {
	color: brown;
	text-decoration: none;
}
#mypages {
	position	: relative;
	top			: auto;
	left		: auto;
	min-height	: 400px;
	margin-top	: 150px;
}
#page_loading {
	padding-top		: 280px;
	background-color: transparent;
}
#loading_gif {
	display: inline-block;
	width: 32px;
	height: 32px;
	background-size: contain;
	background-image: url(image/loading.gif);
}
#loading_msg {
	font-size: 10px;
	margin-left: 5px;
}
#page_intro {
	display				: block;
	background-color: #0f0;
	overflow: auto;
}
#mycontent_container {
	position		: absolute;
	display			: none;
	height			: 440px;
	margin			: 10px;
	z-index			: 1;
    background-color: white;
	overflow		: auto;
}
.control_btns {
	min-height: 50px;
	position: relative;
	padding: 20px;
}
#toggle_section_content {
	position		: absolute;
	left			: 350px;
}
#toggle_sec_content.button {
	background-image: url(image_new/button_blue.png);
	padding-left: 20px;
	width: 125px;
	background-position: 0 0;
	position: absolute;
	left: 3px;
}
#nextq.button, #submit.button {
	right: auto;
	top: auto;
	position: relative;
}
.page_intro_text {
	border-radius	: 15px;
	border			: 2px solid grey;
	margin			: 20px;
	padding			: 15px;
	text-align		: left;
}
#title_rule {
	display: inline-block;
	width: 177px;
	height: 37px;
	background-size: contain;
	background-image: url(image/title_rule.png);
}
#title_notice {
	display: inline-block;
	width: 177px;
	height: 37px;
	background-size: contain;
	background-image: url(image/title_notice.png);
}
#title_notice_online {
	display: inline-block;
	width: 220px;
	height: 37px;
	background-size: contain;
	background-image: url(image/title_notice_online.png);
}
#title_login {
	display: inline-block;
	width: 177px;
	height: 37px;
	background-size: contain;
	background-image: url(image/title_login.png);
}
#title_system {
	display: inline-block;
	width: 177px;
	height: 37px;
	background-size: contain;
	background-image: url(image/title_system.png);
}
#page_result {
	background-color: #cecece;
}
#page_result_text {
	position			: absolute;
	top					: 100px;
	left				: 250px;
	display				: inline-block;
	width				: 550px;
	height				: 60px;
	text-align			: center;
}
#score_total {
	position			: absolute;
	top					: 90px;
	left				: 300px;
	display				: inline-block;
	width				: 280px;
	height				: 80px;
	text-align			: right;
}
#mygamestore {
	position	:absolute;
	top			: -99999px; /* some paper really long */
	left		: -9999px;
	opacity		: 0;
	background-color: #3F5B63;
	overflow: visible;
    margin: 0px 30px;
}
#mygamestore, .mypage {
}
#mygame {
	height			: 100%;
	position		: relative;
	text-align		: center;
	font-size		: smaller;
}
#myheader {
	margin			: 0px 30px;
}
#mygamedesc {
    display: none;
    font-size: 1.35rem;
    color: rgba(255,255,255,1);
    text-shadow: 2px 2px 4px #000;
    margin-right: 65px;
}
#mygame  .jaqp_item_container {
	width				: 100%;
	height				: 100%;
	/*background-image	: url(image/bkg_puzzle.png);*/
	background-color: transparent;
	background-repeat	: no-repeat;
	overflow			: auto;
	min-height: 360px;
}
#mygame  .jaqp_section_container {
	height		: 100%;
	overflow	: auto;
	border-top: 1px dotted grey;
    border-bottom: 1px dotted grey;
}
.mycontent_container {
	display		: none;
}
.jaqp_section.jaqp_section_container.sec_content_shown .jaqp_item_container  {
	display: none !important;
}
.jaqp_section.jaqp_section_container.sec_content_shown .mycontent_container{
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 99999;
	background-color: #fff;
	width: 100%;
	height: 460px;
    overflow-y: auto;
}
#myreview {
	display	: none;
}
#mytimer_label {
	display				: inline-block;
	float				: right;
}
#mytimer_label::before {
	/*content: '倒數時間：';*/
}
.bilingual #mytimer_label::before {
	/*content: '倒數時間 Time left: ';*/
}
#mytimer {
	display				: inline-block;
	float				: right;
	width				: 60px;
	height				: 30px;
	color				: white;
	background-color	: brown;
	background-repeat	: no-repeat;
	background-image	: none;
	text-align			: right;
	padding				: 0px 10px;
}
#startq {
	background-image: url(image/button01.png);
	width			: 155px;
	height			: 58px;
}
#startq:hover {
	background-image: url(image/button01_h.png);
}
.godown {
	position	: fixed;
	right		: 10px;
	bottom		: 10px;
	display		: inline-block;
	width		: 32px;
	height		: 50px;
	background-image	: url(image/btn_godown.png);
}
.godown:hover {
	background-image	: url(image/btn_godown_o.png);
}
#go_start, #startg, #prevq, #nextq, #submit, #quit {
	display: inline-block;
	width: 96px;
	height: 24px;
	background-size: contain;
}
#go_start {
	background-image: url(image/btn_go.png);
}
#go_start:hover {
	background-image: url(image/btn_go_dim.png);
}
#startg {
	background-image: url(image/btn_start.png);
}
#prevq {
	background-image: url(image/btn_previous.png);
}
#nextq {
	background-image: url(image/btn_next.png);
}
#submit {
	background-image: url(image/btn_submit.png);
	float: right;
}
#quit {
	background-image: url(image/btn_logout.png);
}
.bilingual #startg, .bilingual #prevq, .bilingual #nextq, .bilingual #submit, .bilingual #quit {
	width: unset;
	padding: 0 5px;
	background-image: none;
	background: -webkit-gradient( linear, left top, left bottom, color-stop(5%, #ffec64), color-stop(100%, #ffab23) );
	border-radius: 5px;
	font-size: smaller;
	font-weight: bold;
	color: black;
	text-decoration: none;
}
.bilingual #startg::before {
	content: '現在開始 Start Now';
}
.bilingual.lang_zh #startg::before {
	content: '現在開始';
}
.bilingual.lang_en #startg::before {
	content: 'Start Now';
}
.bilingual #prevq::before {
	content: '上一題 Prev';
}
.bilingual.lang_zh #prevq::before {
	content: '上一題';
}
.bilingual.lang_en #prevq::before {
	content: 'Prev';
}
.bilingual #nextq::before {
	content: '下一題 Next';
}
.bilingual.lang_zh #nextq::before {
	content: '下一題';
}
.bilingual.lang_en #nextq::before {
	content: 'Next';
}
.bilingual #submit::before {
	content: '提交 Submit';
}
.bilingual.lang_zh #submit::before {
	content: '提交';
}
.bilingual.lang_en #submit::before {
	content: 'Submit';
}
.bilingual #quit::before {
	content: '登出 Logout';
}
.bilingual.lang_zh #quit::before {
	content: '登出';
}
.bilingual.lang_en #quit::before {
	content: 'Logout';
}

/**************************************************************************
 * From Sysdev Inline Style
 *
 **************************************************************************/


/* overrides */

#dp-toasts {
	position: fixed;
	display: inline-block;
	z-index: 9999;
	left: 0px;
	width: 100vw;
	text-align: center;
	margin: 0 auto;
	bottom: auto !important;
	top: 200px;
}
.dp-toast {
	display: inline-block;
	padding: 10px 30px;
	border-radius: 10px;
	margin: 5px auto;
	min-height: 70px;
	min-width: 300px;
	padding-top: 45px !important;
	color: #000 !important;
	font-weight: bolder;
	font-size: 28px;
	background-color: rgba(253,233,215,0.8) !important;
	border: 4px solid #007b8a !important;
}	
body  .dp-toast-close {
	width: 40px;
	height: 40px;
	border-radius: 20px;
	font-size: 28px;
}
.jaqp_prompt, .jaqp_choice_content {
	user-select: none;
}

/**************************************************************************
 * Generic Style reseter
 *
 **************************************************************************/
body, 
 #content_centered, 
 #myheader, 
 #page_intro, 
 #mygamestore, 
 #page_result, 
 #myscore, 
 .control_btns,
 .jaqp_section.jaqp_section_container.sec_content_shown .mycontent_container {
	background-color: transparent;
}

 .control_btns {
	text-align: center;
}

/**************************
 * Essentials
 **************************/

.jaqp_section.jaqp_section_container.sec_content_shown > .mycontent_container{
	background-color: transparent /*#f00*/;
	box-sizing	: border-box;
	padding-left	: 30px;
	padding-right	: 30px;
}

.jaqp_item_container .jaqp_qti_itemBody {
	padding: 20px;
}

#myquestionno_label::before {
	content: '題目：';
}
.bilingual #myquestionno_label::before {
	content: '題目 Question: ';
}
.bilingual.lang_zh #myquestionno_label::before {
	content: '題目: ';
}
.bilingual.lang_en #myquestionno_label::before {
	content: 'Question: ';
}
#myquestionno {
	color: brown; /*rgb(153,0,2);*/
}
#myquestionno:before {
	/*content: "題目：";*/
}
.thankyou {
	display	:none;
	font-weight: bold;
    color: purple;
	font-size: 1.5rem;
    margin-bottom: 10px;
}
.thankyou::before {
	content: '謝謝';
}
.bilingual .thankyou::before {
	content: '謝謝 Thank you';
}
.bilingual.lang_zh .thankyou::before {
	content: '謝謝';
}
.bilingual.lang_en .thankyou::before {
	content: 'Thank you';
}
.table_instruction {
	width			: 100%;
	border-spacing	: 0px;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
.clearfix.hkecl-clearfix {display: block;}
/* End hide from IE-mac */ 

.ui-dialog {
	top: 115px;
}
.ui-widget-overlay {
	top: 0;
}
#gotoq {
	display: none;
}
.vetting #gotoq {
	display: inline;
}
#mypager {
	display: inline-block;
    max-width: 500px;
    /*overflow-x: scroll;
    white-space: nowrap;*/
}
.vetting #mypager {
	display: none;
}
#mypager button {
	cursor: pointer;
	margin: 0 2px;
	background: lightyellow;
}
#mypager button.qselected {
	padding: 5px;
}
#mypager button.qanswered {
	background: lightblue;
}

