html, body {
    width: 100%;
    height: 100%;
    }

body {
	background: #fffae7 url('../image/fon.jpg');
	background-repeat: repeat-x;
	background-attachment: fixed;
    margin-top: 0px;
	margin-left: 0px;
	text-align: justify;
}
	h1 {
	font-family: 'HanZi';
	font-weight: 400;
	font-size: 15px;
	background-color: #787333;
	color: #fff;
	padding-left: 20px;
	padding-top: 3px;
	margin-top: 0px;
	margin-bottom: 0px;
	line-height: 2.0em;
	}
	a {
	font-family: 'HanZi';
	font-weight: 400;
    font-size: 15px;
    color: #fff;
	padding-top: 3px;
	text-decoration: none;
    text-align: left;
    line-height: 2.0em;
    }
	a:hover {
    text-decoration: underline;
    }
    p {
    font-family: 'BonzaiRegular';
	font-size: 19px;
	line-height: 1.4em;
    }
span {
   -moz-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
   -o-user-select: none;
   user-select: none;
}
#canvasContainer div.kineticjs-content, #canvasContainer canvas, #canvas {
	position: relative;
	background: #f7f4ef url('../assets/bg_hoc.png') repeat 0 0;
	width: 450px;
	height: 450px;
}
#editorPaneA {
	position: relative;
	top: 0px;
	left: 0px;
	width: 605px;
	height: 380px;
	font-family: 'Fira Code';
	font-size: 15px;
	font-weight: 400;
	color: #000;
}
#editorPaneB {
	position: relative;
	background-color: #fdf6e3;
	top: 0px;
	left: 0px;
	width: 595px;
	height: 260px;
	font-size: 15px;
	font-weight: 400;
	color: #000;
}
#tab {
	background: #fff;
}
#lvl {
	position: absolute;
	top: 48px;
	left: 358px;
	font-family: 'Fira Code';
	font-weight: 400;
	font-size: 17px;
	line-height: 1.4em;
	color: #fff;
}
#part {
	position: absolute;
	top: 48px;
	left: 336px;
	font-family: 'Fira Code';
	font-weight: 400;
	font-size: 17px;
	line-height: 1.4em;
	color: #fff;
}
#caption {
	font-family: 'BonzaiRegular';
	font-weight: 400;
	font-size: 20px;
	padding-left: 7px;
	padding-right: 7px;
}
#caption2 {
	font-family: 'BonzaiRegular';
	font-weight: 400;
	font-size: 20px;
	padding-left: 7px;
	padding-right: 7px;
}
.opacity {
	opacity: 0.95;
}
.apiPane {
	margin-top: 0px;
	margin-bottom: 0px;
	background-color: #787333;
	color: white;
	font-family: 'Fira Sans';
	font-weight: 400;
	font-size: 16px;
	line-height: 1.1em;
	text-align: left;
	padding-left: 10px;
}
.apiPane pre {
	padding-left: 5px;
	padding-top: 10px;
	margin-top: 0px;
	font-family: 'Fira Code';
	font-weight: 400;
	font-size: 15px;
	line-height: 1.2em;
}
.hdr {
	width: 1064px;
}
.brd {
	border: 1px solid #787333;
}
.color-com {
	color: #787333;
}
#codeButton {
	/*display: none;*/
}
#linkButton {
	display: none;
}

/* Buttons */
button {
    height: 35px;
	padding: 3px;
	border-radius: 4px;
	border: 1px solid #ddd;
	font-size: large;
	background-color: #eee;
	color: #000;
}
button.primary {
    height: 35px;
	border: 1px solid #dd4b39;
	background-color: #dd4b39;
	color: #fff;
	font-family: 'HanZi';
	font-weight: 400;
	font-size: 15px;
	letter-spacing: 1px;
	margin-top: 7px;
	margin-right: 0px;
}
button.secondary {
    height: 35px;
	padding: 3px;
	border: 1px solid #4d90fe;
	background-color: #4d90fe;
	color: #fff;
	margin-left: -20px;
	margin-right: 20px;
}
.version {
	position: absolute;
	margin-top: 7px;
	left: 20px;
}
button.primary>img,
button.secondary>img {
	opacity: 1;
}
button>img {
	opacity: 0.6;
	vertical-align: text-bottom;
}
button:hover>img {
	opacity: 1;
}
button:active {
	border: 1px solid #888 !important;
}
button:hover {
	box-shadow: 2px 2px 5px #888;
}
button.disabled:hover>img {
	opacity: 0.6;
}
button.disabled {
	display: none;
}
button.notext {
	font-size: 10%;
}

/* Sprited icons. */
.icon21 {
	height: 21px;
	width: 21px;
	background-image: url(../assets/icons.png);
}
.code {
	background-position: -21px 0px;
}
.link {
	background-position: 0px 0px;
}
.run {
	background-position: 0px -21px;
}
.stop {
	background-position: -21px -21px;
}

.list {
 position: absolute;
 width: 205px;
 height: 24px;
 font-family: 'BonzaiRegular';
 font-size: 20px;
 background-color: #7f7a3c;
 color: #fff;
 border: 1px solid #fff;
 margin-top: 2px;
 margin-bottom: 0px;
 margin-left: 42px;
}
 
.option{
 font-family: 'BonzaiRegular';
 font-size: 20px;
 background-color: #fff;
 color: #000;
}
