﻿.logo {color:yellow;font-size:150%;font-family:DFKai-SB}
.grid {background-color:grey}
.codepoint {font-family:courier}
.topmenu { width:100%;}
.grid-control1 { background-color:silver;  float: left;  width: 5%;}
.grid-c1 { float: left;  width: 50%; min-height: 100%}
.grid-control2 { background-color:silver; float: left;  width: 5%; }
.grid-c2 {  background-color:silver;float: left;  width: 50%;}
button { font-size:125%}
input { font-size:125%}
input:focus { background-color:lightblue}

body {
    margin: 0px;
    height:100%;
	background-color:black;
}
input {
	border-radius: 5px;
}
.ui-widget-content{
	background:url(paper.jpg);
}
.mainview {
    position:absolute;
    background-color: Maroon;
	#background: url(cloth.jpg);
    width:99.5%;
    height:99%;
    border: solid black 2px;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}

.tabs-nohdr {
	padding: 0px;
	background: none;
	border-width: 0px;
}

.tabs-nohdr  .ui-state-active {
	no-repeat bottom center;
	border: none;
	#background: LightSeaGreen;
	background: IndianRed;
}

.tabs-nohdr  .ui-state-active a {
	color:yellow;
}
.tabs-nohdr .ui-widget-header {
	background:DarkKhaki;
}
.tabs-nohdr .ui-tabs-nav {
	border-width: 0px 0px 0px 0px;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	margin-top: 0em;
	#background:Gainsboro;
}
.tabs-nohdr .ui-tabs-nav li a {
	padding: 0px 3px 0px 6px; //otherwise small white bar on side
}
.tabs-nohdr .ui-tabs-panel {
	border-width: 0px 0px 0px 0px;
	background-color:transparent;
}
.hl {background:pink}
ti {font-size:125%; color:brown}
.tocnode {color:brown;text-decoration:none}
.tocnode:hover {color:red}


.btn {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);	
}

item {
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
					
  padding: 2px 4px;
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
	cursor: pointer;
	font-size:80%
}

.item:hover {
	text-decoration: underline;
}
.item:active {
	color:red
}
.btn {
  display: inline-block;
  *display: inline;
  padding: 4px 10px 4px;
  margin-bottom: 0;
  *margin-left: .3em;
  *font-size: 13px;
  *line-height: 18px;
  *line-height: 20px;
  color: #333333;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  vertical-align: middle;
  cursor: pointer;
  background-color: #f5f5f5;
  *background-color: #e6e6e6;
  background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border: 1px solid #cccccc;
  *border: 0;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-bottom-color: #b3b3b3;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
  filter: progid:dximagetransform.microsoft.gradient(enabled=false);
  *zoom: 1;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn:hover {
  color: #333333;
  text-decoration: none;
  background-color: #e6e6e6;
  *background-color: #d9d9d9;
  /* Buttons in IE7 don't get borders, so darken on hover */

  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
     -moz-transition: background-position 0.1s linear;
      -ms-transition: background-position 0.1s linear;
       -o-transition: background-position 0.1s linear;
          transition: background-position 0.1s linear;
}

.btn:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.btn:active {
  background-color: #e6e6e6;
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.term {font-size:150%;color:brown}

.selected {color:gray}
#content>img , o>img {height:2em}

o {
   border: 2px solid silver;
   border-radius:20%;
   border-top-style:none;
   border-bottom-style:none;
}
o:hover {
   cursor:pointer;
   border: 2px solid red;
   border-top-style:none;
   border-bottom-style:none;	   
}

r {
   #border: 2px solid silver;
   #border-radius:20%;
   #border-top-style:none;
   #border-bottom-style:none;
}
r:before {
	content:"〔";
}
r:after {
	content:"〕";
}
r:hover {
   #color:blue;
   border-radius:20%;
   cursor:pointer;
   border: 3px solid blue;
   border-top-style:none;
   border-left-style:none;
   border-right-style:none;
   border-bottom-style:solid;
}

wordhead {
	font-size:300%;color:Crimson;
	font-family:說文標篆體;

	}
explanation {
	color:Sienna;
	font-size:150%;
	display:block;
}

duan_note {
	color:DimGray;
}

.excerpt {
	font-family: DFKai-SB;
	font-size:125%;
	color:brown;
}

.origin:before {
	content:"《";
}
.origin:after {
	content:"》";
}