/*測試範圍用*/
table,tr,td{
	/*border:2px blue solid ;*/
}

/*泛用選項設定*/
button.edit-end-btns {
	width: 20%;
	background-color: salmon;
	height: 50px;
	border-width: 5px;
	border-style: outset;
	border-color: wheat;
	font-size: 30px;
	color: palegoldenrod;
	font-weight: bold;
	font-family: "華康少女體","微軟正黑體";
}

button.disabled-btn{
	background-color: lightgrey;
    cursor: no-drop;
    border-color: darkgray;
    color: white;
}
td#questions-edit{
	height:100% ;
	overflow:hidden;
}
td#paper-edit , td.select-options {
	width : 350px ;
	vertical-align : top ;
	overflow:hidden;
}

td#chapter-choose-mode, td#theme-choose-mode, td.mode-return {
    width: 50px;
    color: papayawhip;
    background-color: #f29232;
    font-size: 45px;
    text-align: center;
    font-weight: bold;
    /* border-width: 4px 7px; */
    border-style: ridge;
    border-color: #f29232;
}

tr#edit-end{
	height : 50px ;
}

/*預設之選項位置*/
table#chapter-mode , table#theme-mode {
	position : absolute ;
	top : 0px ;
	z-index : 5 ;
	transition : all 0.5s ;
	background-color : pink ; /*測試用 可刪*/
}

/*選題區域之按鈕設定*/
tr.degree-selecter{
	height : 30px ;
}
tr.edit-options{
	height : 50px ;
}
tr>td{
	max-height : 100% ;
}
td>button.degree-btn{
	height : 100% ;
}

/*預設之選題面板位置*/
table#chapter-mode{
	right : 100% ;
}

table#theme-mode{
	left  : 100% ;
}


/*泛用*/
.dp-ib{
	display : inline-block ;
}
.height-0{
	height : 0px ;
}


/*單元主題選單相關*/
/*主目錄*/
div.select-box {
	text-align: center;
    font-size: xx-large;
    border-width: 3px;
    border-style: outset;
    border-color: beige;
    box-shadow: 3px 3px 3px brown;
    border-radius: 5px;
    /*margin-bottom: 5px;*/
    background-color: #b8de70;
    color: brown;
    font-weight: bold;
	height : 50px ;
}
/*尚未選取*/
div.none-choose {
	border-color: red;
	box-shadow: 3px 3px 3px yellow;
	background-color: #ff9797;
	color: red;
}
/*難度條設定*/
button.degree-btn {
	width: 20%;
}
/*單元、主題之選項  之陳列區域*/
.select_option_ch , .select_option_th {
	overflow : 0px ;
	padding : 10px ;
	background-color : aqua ;
	transition : all 1s ;
}
/*選題之協助選項 已選多少 清空 回復至原本 綜合題型顯示 */
div.info-opt-div {
	height: 50px;
	width: 25%;
	text-align: center;
	background-color: #f1e189;
	font-size: 18px;
	font-weight: bold;
	border-style: outset;
	border-width: 5px;
	border-color: orange;
	box-sizing: border-box;
	/* box-shadow: 0px 0px 20px aqua; */
	padding-top: 8px;
}
@media( max-width : 900px ){
	
	div.info-opt-div > span.output-rec{
		display : none ;
	}
	
}
@media( min-width : 1250px ){
	div.info-opt-div {
		font-size: 30px;
		padding-top: 2px;
	}
}
/*單元主題選單之選項相關*/
div.select_option_ch , div.select_option_th {
	overflow :hidden ;
}

div.ch-opt , div.th-opt{
	height: 50px;
	text-align: center;
	font-size: 25px;
	padding: 6px;
	background-color: bisque;
	border-width: 5px;
	border-style: solid;
	box-shadow: 3px 3px 3px red;
	margin-bottom: 5px;
	color: chocolate;
	border-color: darkgoldenrod;
	border-radius: 5px;
}
div.opt-chosen {
	color: bisque;
	background: chocolate;
	font-weight: bold;
}

div.select_option_ch , div.select_option_th {
	overflow: hidden;
	width: 348px;
}
	
div.chp-ch-opts , div.thm-th-opts{
	height: 50px;
	width: 100%;
	border-style: double;
	border-width: 5px;
	border-color: darkgoldenrod;
	background-color: bisque;
	font-size: 25px;
	color: crimson;
	margin-bottom: 2px;
	border-radius: 5px;
}

div.chapter-no-block {
	width: 40px;
	text-align: center;
	padding-top: 5px;
	background-color: crimson;
	border-style: outset;
	height: 40px;
	border-width: 2px;
	border-color: chocolate;
	box-shadow: 2px 2px 3px gray;
	font-size: 20px;
	color: antiquewhite;
	margin-right: 6px;
}

div.thm-th-title {
	background-image: url("../../../theme/images/title_bg.jpg");
	height: 50px;
	font-size: 35px;
	font-weight: bold;
	text-align: center;
	margin-top: 5px;
	margin-bottom: 2px;
	padding-top: 2px;
	border-radius: 10px;
	border-style: groove;
	border-width: 3px;
	border-color: brown;
	box-shadow: 2px 2px 10px pink;
}

div.thm-th-opts{
	text-align : center ;
}

div.chapter-chosen, div.theme-chosen {
	color: bisque;
	background: crimson;
	font-weight: bold;
}

div#hidden-div-for-question-list {
	/* height: 100%; */
	/* overflow-y: scroll; */
	/* overflow-x: hidden; */
	background-color: lavender;
	padding: 10px;
}
/*
div.question-unit{
	height : 250px ;
    background-color: white;
	border-width : 10px  ;
	border-color : green ;
	border-style : solid ;
	margin-bottom : 10px ;
	transition : all 0.5s ;
}
div.question-unit:hover{
	z-index : 10 ;
	height : auto ;
}
div.question-unit > table{
	height : 100% ;
}

tr.question-information-simple {
	height : 30px ;
} 
td.question-number{
	width : 30px ;
}

tr.question-information-image{
	height : 150px ;
}
tr.question-information-image > td {
	overflow : hidden ;
}
tr.question-information-image > td > div {
	height: 150px;
    width: calc( 100% + 19px );
    overflow-y: scroll;
    background-color: white;
    overflow-x: hidden;
}
tr.question-information-image:hover > td > div {
	height: auto;
	min-height : 150px ;
}
tr.question-information-detail{
	height : 70px ;
	display : none ;
}

img.Qimage{
	max-width : 100% ;
}

.of-hn{
	overflow : hidden ;
}
*/
td.select-questions {
	overflow: hidden;
	height: 100%;
	transition: all 0s;
	position: relative;
}

div.question-unit {
	position: relative;
	height: 250px;
	width: calc( 100% - 5px );
	border-width: 5px;
	border-style: solid;
	border-color: red;
	padding: 0px;
	display: inline-block;
	margin-right: 10px;
	margin-bottom: 10px;
	background-color: wheat;
}

@media( min-width : 1100px ){
	div.question-unit {
		position: relative;
		height: 250px;
		width: calc( 50% - 10px );
		border-width: 5px;
		border-style: solid;
		border-color: red;
		padding: 0px;
		display: inline-block;
		margin-right: 10px;
		margin-bottom: 10px;
		background-color: wheat;
	}
}

@media( min-width : 1500px ){
	div.question-unit {
		position: relative;
		height: 250px;
		width: calc( 33.3% - 5px );
		border-width: 5px;
		border-style: solid;
		border-color: red;
		padding: 0px;
		display: inline-block;
		margin-right: 5px;
		margin-bottom: 10px;
		background-color: wheat;
	}
}

.q-contain {
	position: absolute;
	width: calc( 100% - 40px );
	height: calc( 100% - -1px );
	border-width: 1px;
	border-style: dashed;
	border-color: blue;
	display: inline-block;
	padding: 3px;
}
@media( min-width : 1500px ){
	div.q-contain{
		font-size : 18px ; 
	}
}
.Qno {
	height: 48px;
	width: 48px;
	background-color: green;
	display: inline-block;
	border-style: dashed;
	border-style: solid;
	border-width: 3px;
	border-color: cornflowerblue;
	border-radius: 5px;
	box-shadow: 2px 2px 10px cadetblue;
	text-align: center;
	font-size: 35px;
	color: brown;
}

.Qname {
	width: calc( 100% - 64px );
	/* background-color: grey; */
	/* border-width: 1px; */
	/* border-style: dashed; */
	/* border-color: purple; */
	display: inline-block;
	height: 50px;
	position: absolute;
	top: 4px;
	right: 5px;
}

.Qimage-div {
	height: 174px;
	width: calc( 100% - 5px );
	/* border: blueviolet 2px dotted; */
	margin-left: 1px;
	overflow: hidden;
	margin-top: 6px;
	transition: all 0.5s;
}

.q-contain:hover >.Qimage-div {
	height: 74px;
}

.hidden-scroll{
	height: 100% ;
    width: calc( 100% + 17px );
    overflow-y: scroll;
    overflow-x: hidden;
	padding : 0px ;
	background-color : white ;
}

.Qimage{
	max-width : 100% ;
}

.Qhint {
	height: 0px;
	/* border: paleturquoise 2px solid; */
	/* border: blanchedalmond 3px dashed; */
	margin-top: 3px;
	transition: all 0.5s;
	overflow: hidden;
}
.q-contain:hover >.Qhint {
    height: 100px;
}
.q-option {
	position: absolute;
	width: 40px;
	/* border-width: 1px; */
	/* border-style: dashed; */
	/* border-color: brown; */
	display: inline-block;
	right: 0px;
}

.q-options {
	width: 100%;
	height: 40px;
	/* border-width: 1px; */
	/* border-style: dashed; */
	/* border-color: chocolate; */
	text-align: center;
	padding-top: 6px;
	padding-left: 2px;
}

.page-row-space {
	height: 35px;
	width: 100%;
	/*background-color: yellow;*/
}

.page-row {
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 35px;
    width: 100%;
    background-color: #f1e189;
}

.page-first , .page-block , .page-end {
    display: inline-block;
    height: 100%;
    width: 35px;
    text-align: center;
    font-size: 25px;
    padding-top: 0px;
    margin: 0px 0px 0px 1px;
    border-width: 3px;
    border-style: outset;
    border-color: #b8de70;
    background-color: #b8de70;
    overflow: hidden;
    border-radius: 3px;
}

.page-list {

    height: 35px;
    max-width: calc( 100% - 150px );
    background-color: green;
    display: inline-block;
    overflow: hidden;

}

.hidden-scroll-x {

    width: 100%;
    height: calc( 100% + 16px );
    overflow-x: scroll;
    overflow-y: hidden;

}
/*
.page-block {

    display: inline-block;
    height: 100%;
    width: 35px;
    text-align: center;
    font-size: 25px;
    padding-top: 0px;
    margin: 0px 0px 0px 1px;
    border-width: 3px;
    border-style: outset;
    border-color: aqua;
    background-color: darkseagreen;
    border-radius: 3px;
	overflow  : hidden ;
}

.page-end {
    display: inline-block;
    height: 100%;
    width: 35px;
    text-align: center;
    font-size: 25px;
    padding-top: 0px;
    margin: 0px 0px 0px 1px;
    border-width: 3px;
    border-style: outset;
    border-color: #b8de70;
    background-color: #b8de70;
    overflow: hidden;
    border-radius: 3px;
}*/
.page-selected {
    background-color: #f29232;
    border-width: 3px;
    border-style: inset;
    border-color: #f29232;
    font-weight: bold;
    color: crimson;
}
div.degree-1-border{
	border-color :  #92ED50 ;
}
div.degree-2-border{
	border-color : #F4D96F ;
}
div.degree-3-border{
	border-color : #FD9965 ;
}
div.degree-4-border{
	border-color : #FF7484 ;
}
div.degree-5-border{
	border-color :  #92ED50 ;
}
div.degree-6-border{
	border-color : #F4D96F ;
}
div.degree-7-border{
	border-color : #FD9965 ;
}
div.degree-8-border{
	border-color : #FF7484 ;
}
.degree-0{
	background-color : #86EDFF ;
}
.degree-1{
	background-color : #92ED50 ;
	border-color : #62BD20 ;
}
.degree-2{
	background-color : #F4D96F ;
	border-color : #C4A93F ;
}
.degree-3{
	background-color: #FD9965 ;
	border-color : #CD6935 ;
}
.degree-4{
	background-color: #FF7484 ;
	border-color : #CF4454 ;
}

div.degree-5{
	background-color : #92ED50 ;
}
div.degree-6{
	background-color : #F4D96F ;
}
div.degree-7{
	background-color: #FD9965 ;
}
div.degree-8{
	background-color: #FF7484 ;
}
.num-questions {
	margin-left: 5px;
	font-family: kitty;
	background-color: rgba(256,256,256,0.5);
	border-radius: 50%;
}
@media( min-width : 900px ){
	.num-questions {
		padding: 0px 5px;
	}
}

.degree-9{
	background: -webkit-linear-gradient(left top,Cyan,SpringGreen,Khaki,LightSalmon,Tomato,LightCoral ); /* Safari 5.1-6.0 */
    background: -o-linear-gradient(left top,Cyan,SpringGreen,Khaki,LightSalmon,Tomato,LightCoral ); /* Opera 11.1-12.0 */ 
    background: -moz-linear-gradient(left top,Cyan,SpringGreen,Khaki,LightSalmon,Tomato,LightCoral ); /* Firefox 3.6-15 */
    background: linear-gradient(left top,Cyan,SpringGreen,Khaki,LightSalmon,Tomato,LightCoral ); /* Standard syntax */
}
@media( max-width : 960px ){
	.degree-0 > span.output-rec,.degree-1 > span.output-rec,
	.degree-2 > span.output-rec,.degree-3 > span.output-rec,
	.degree-4 > span.output-rec,.degree-9 > span.output-rec{
		display : none ;
	}
}

div.question-selected {
    background-color: rgba(255,00,00,0.7);
}

.question {
    background-color: lightgoldenrodyellow;
    border-radius: 10px;
    border-width: 5px;
    border-color: blueviolet;
    border-style: solid;
    margin: 10px;
    color: brown;
}
.descript-select {
    display: inline-block;
    width: 100px;
    text-align: center;
    height: 30px;
    font-size: 25px;
    margin-top: 5px;
}
select.question-selected-num, select.question-selected-type {
	width: calc( 50% - 125px );
	height: 30px;
	border-radius: 5px;
	color: brown;
}
button.select-cancel {
    border: 0;
    background-color: unset;
    font-size: 30px;
    height: 30px;
    vertical-align: text-bottom;
    /*margin-right: calc( 50% - 47px );*/
    margin-left: 10px;
}
select.question-selected-sery {
    width: calc( 50% - 10px );
    height: 30px;
    border-radius: 5px;
    color: brown;
    margin-left: 10px;
    border: 0;
    background-color: unset;
}
.quesstion-selected-no {
	display: inline-block;
	width: 50px;
	height: 50px;
	text-align: center;
	/* background-color: white; */
	border-style: solid;
	font-size: 35px;
	border-radius: 10px;
	margin: 0px 5px;
	border-width: 3px;
}
.quesstion-selected-topic {
    display: inline-block;
    height: 50px;
    width: calc( 100% - 65px );
    border-style: solid;
    border-color: lightgreen;
    border-width: 1px;
    background-color: white;
    text-align: center;
    vertical-align: top;
}
.quesstion-selected-img {
    margin: 5px;
    background-color: white;
    border-radius: 2px;
    border: 3px solid wheat;
}
.quesstion-selected-description {
    margin: 5px;
}

#img-full-sreen {
	width: 100%;
	height: 0px;
	position: fixed;
	top: 0px;
	left: 0px;
	background-color: rgba( 0 , 0 , 0 , 0.5 );
	z-index: 1001;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-content: center;
	align-content: center;
	overflow: hidden;
	transition: all 0.5s;
}

#img-full-sreen > img {
	max-height : 100% ;
	max-width : 50% ;
	margin : auto ;
}

div#alert-div {
    position: fixed;
    background-image: url(../../../page_content/images/background.png);
    top: 0px;
    left: 0px;
    width: 100%;
    height: 0px;
    z-index: 10000;
    text-align: center;
    vertical-align: middle;
    font-size: 72px;
    font-family: "微軟正黑體";
    transition: height 0.5s;
    overflow: hidden;
	color: #fe537a;
    font-weight: bold;
}

