/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is the Takahashi-Method-based Presentation Tool
 * in XUL/Returns.
 *
 * The Initial Developer of the Original Code is SHIMODA Hiroshi.
 * Portions created by the Initial Developer are Copyright (C) 2005-2006
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s): SHIMODA Hiroshi <piro@p.club.ne.jp>
 *
 * ***** END LICENSE BLOCK ***** */

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
@namespace html url(http:/www.w3.org/1999/xhtml);

#canvas {
	background: white !important;
	color: black !important;
	font-family:
		"華康新特黑體",
		"華康超黑體",
		"華康粗黑體",
		"微軟正黑體",
		"MS Gothic",
		"ゴシックMB101U",
		"ニューセザンヌ-EB",
		"セザンヌ-EB",
		"ＤＨＰ極太ゴシック体",
		"ＤＦＰ極太ゴシック体",
		"DHPGothic UB",
		"DFPGothic UB",
		"ＤＨＰ特太ゴシック体",
		"ＤＦＰ特太ゴシック体",
		"DHPGothic EB",
		"DFPGothic EB",
		"セイビイサラゴUB-P",
		"AR Pゴシック体 S",
		"Arphic PGothic SuperBold JIS",
		"Arial Black",
		"ＤＦ特太ゴシック体",
		"DFGothic EB",
		"セイビイサラゴUB",
		"AR ゴシック体 S",
		"Arphic Gothic SuperBold JIS",
		"HGP創英角ｺﾞｼｯｸUB",
		"HGPSoeiKakugothicUB",
		"HGS創英角ｺﾞｼｯｸUB",
		"HG創英角ｺﾞｼｯｸUB",
		"HGSoeiKakugothicUB",
		"小塚ゴシック Std H",
		"モトヤゴシック 6",
                "ヒラギノ角ゴ Std W8",
		sans-serif !important;
	/*font-weight: bold !important;*/
}

.em-text {
	color: red !important;
	font-size: 120%;
}

.link-text {
	color: blue !important;
	text-decoration: underline !important;
}
.link-text:hover {
	color: #3366FF !important;
}
.link-text:active {
	color: red !important;
}

.preformatted-text.block {
	border: 1px dashed gray;
	padding: 0.3em;
	margin: 0.3em;
	font-size: 80%;
}

.monta-label {
	background-color: white;
	background-repeat: no-repeat;
/*	background-image: url("../image/monta-label.png");*/
}



#canvas column,
#canvas row {
        border: 1px solid gray;
}

#canvas grid .special {
        background: #CFCFCF;
}





#header,
#footer {
	color: #666;
}


#indicatorBar {
	color: #BFBFBF;
	background: black;
}

progressmeter {
	margin: 0;
	padding: 0;
}
progressmeter,
progressmeter .progress-bar,
progressmeter .progress-remainder {
	-moz-appearance: none;
	background: transparent;
	border: none;
	outline: none;
	min-height: 0;
}
#remainingTimeIndicator .progress-bar {
	background: #333333;
}
#remainingPageIndicator .progress-bar {
	background: #444444;
}


#plainTextBox {
	background: url("../image/plainTextBox.png");
}

#plainTextField {
	font-family: monospace;
	font-size: medium;
	color: black;
	background: url("../image/plainTextField.png");
	border: 2px solid gray;
	border-color: black white white black;
	-moz-appearance: none;
}


/* Eva Mode */

#canvas[eva="true"] {
	background: black !important;
	color: white !important;
	font-family:
		"華康新特明體",
		"華康超明體",
		"華康粗明體",
		"MS Mincho",
		"リュウミンU-KL",
		"リュウミンH-KL",
		"マティス-EB",
		"RFファイン-ME",
		"ＤＨＰ極太明朝体",
		"ＤＦＰ極太明朝体",
		"DHPMincho UB",
		"DFPMincho UB",
		"AR P明朝体U",
		"Arphic PMincho Ultra JIS",
		"AR明朝体U",
		"Arphic Mincho Ultra JIS",
		"HGP平成明朝体W9",
		"HGPHeiseiMinchotaiW9",
		"HGS平成明朝体W9",
		"HGSHeiseiMinchotaiW9",
		"HG平成明朝体W9",
		"HGHeiseiMinchotaiW9",
                "ヒラギノ明朝 Pro W6",
		serif !important;
	/*font-weight: bold !important;*/
}
#canvas[eva="true"] .em-text {
	color: yellow !important;
}
#canvas[eva="true"] .link-text {
	color: aqua !important;
	text-decoration: none !important;
}
#canvas[eva="true"] .link-text:hover {
	color: pink !important;
}
#canvas[eva="true"] .link-text:active {
	color: orange !important;
}

#canvas[eva="true"] grid .special {
        background: #333366;
}

#canvas[eva="true"] #header,
#canvas[eva="true"] #footer {
	color: #AAA;
}


#canvas[eva="true"] .monta-label {
	background-color: black;
}





.stroke-dot {
	background: red;
	width: 3px;
	height: 3px;
}








/* System:: DO NOT CHANGE FOLLOWING LINES!! */


#canvas * {
	cursor: pointer !important;
}

#canvas image {
	width: auto;
	height: auto;
}
#canvas[rendering="true"] image {
	display: none;
}

#canvas[rendering="true"] *,
#canvas[rendering="true"] .text-link {
	color: inherit !important;
}

#canvas[rendering="true"] #contentBox {
	visibility: hidden;
}






.preformatted-text {
	font-family: -moz-fixed !important;
	white-space: pre !important;
}



.raw {
        font-family: sans-serif !important;
        font-size: medium !important;
}
#canvas .raw * {
        cursor: default !important;
}





tabbox, tabpanels, tabpanel {
	margin: 0;
	padding: 0;
}


.dropmarker-button > image {
	display: none !important;
}
.dropmarker-button > label {
	width: 0 !important;
	overflow: hidden !important;
}

#pages-list-button {
        min-width: 0;
}

#pages-list-button > label {
        display: none;
}

#pages-list-button menupopup {
	max-width: 20em;
}

#pages-list-button menuitem image {
	max-width: 32px;
	max-height: 32px;
}




#headerBox,
#footerBox {
	margin: 1em;
}


#indicatorBar,
#indicatorBar hbox,
#nextPage {
	-moz-box-align: center;
	-moz-box-pack: center;
}



.monta-label {
	padding: 0.05em;
	margin: -0.05em;
}
.monta-label[monta-hidden="true"],
.monta-label[monta-hidden="progress"] {
	background-position: -100px 0;
}
.monta-label[monta-hidden="progress"] {
	background-color: transparent;
}
.monta-label[monta-hidden="false"] {
	background: transparent !important;
}



#canvas row description {
        border: 1px solid transparent;
        white-space: pre;
}



#canvasToolbar {
	position: relative;
	z-index: 1000;
}

#sourceEditField,
#pageEditFields textbox {
	font-family: -moz-fixed !important;
	font-size: medium;
}

#pageEditFields {
	overflow: auto;
}
#pageEditFields textbox {
	height: 6em;
}




#stroke-canvas-box {
	position: relative;
	display: block;
}
#stroke-canvas-box,
#stroke-canvas-box *|canvas {
	line-height: 1;
}

.stroke-dot {
	position: absolute;
	display: block;
	z-index: 100;
}



.monta-label {
	background-image: url("../image/monta-label.png");
}


