body {
        /* background: #FAFAD2; */
        color: black;
        /* line-height: 1.5em; */
        font-family: sans-serif;
        font-size: 14px;
}

.yellow {
	background-color: yellow;
}

#tx_phrmenu, #tx_textmenu {
	z-index: 10 ! important;
}

td.sense:empty:before {
	content: "click to enter sense";
	color: grey;
	font-size: 60%;
}

.sense1 .ui-selected {
	background-color: rgb(102, 102, 255);
}

.sense1 .ui-selecting {
	background-color: rgba(102, 102, 255, 0.5);
}

.sense2 .ui-selected {
	background-color: rgb(102, 255, 102);
}

.sense2 .ui-selecting {
	background-color: rgba(102, 255, 102, 0.5);
}

.sense3 .ui-selected {
	background-color: rgb(255, 102, 102);
}

.sense3 .ui-selecting {
	background-color: rgba(255, 102, 102, 0.5);
}

.skip {
}

.hidden {
	display: none;
}

.hiding_table {
	display: inline-block;
	font-size: 80%;
	font-weight: normal;
}

.hiding_table span {
	padding: 3px;
	border: 1px solid black;
	color: white; /* rgb(164, 211, 238); */
	background-color: grey;
	cursor: pointer;
	border-radius: 4px;
/*	width: 5em;
	height: 1.5em;
	text-align: center;
	align-items: center;
	display: -webkit-inline-box; */
}

.hiding_table span.toggled {
	background-color: rgba(200, 200, 200, 255);
}

/* Phrase related */
.phrase.link:hover, .phrase.linkEmpty:hover {
	text-decoration: none;
	background-color: rgba(210, 210, 210, 255);
}

.tc-ti {
	width: 100%;
}

#editor {
	/* height: 550px; */
}

#tc-text {
	padding: 0.2em;
	background-color: white;
	border: 1px solid black;
	/* width: 700px; */
	/* height: 500px; */
	height: 90%;
	overflow: auto;
	color: black;
	font-size: 120%;
}

#phrase_module .bd {
	overflow: auto;
	/*height: 85%;*/
	/* width: 100%; */
}

#phrase_module .ft {
	/*height: 5%;*/
	/*vertical-align: middle;*/
}

#phraseeditor {
    display:none;
    position: fixed;
    width: 600px;
    height: 400px;
    top: 200px;
    left: 200px;
    z-index: 100;
    background-color: rgb(255, 255, 180);
    overflow: scroll;
    border: 1px solid blue;
}

.aloha-editable-active .aloha-block.phrase,.aloha-block.aloha-block-highlighted.phrase
	{
	cursor: pointer;
	box-shadow: none;
}

.aloha-block-active.phrase, .aloha-block-active.phrase:hover {
	box-shadow: none;
	background-color: #FAE089; /*#FF9900;*/
}

#editor::after {
	display: block;
	content: "";
	clear: both;
}

#editor-left {
	float: left;
	width: 70%;
	height: 550px;
	position: relative;
}

#editor-right {
	/* float: right; */
	/* width: 30%; */
	padding: 0.5em;
	padding-bottom: 0px;
	height: 550px;
	overflow: scroll;
	/* width: 100%; */
}

.tdata {
    padding-bottom: 0.8em;
}

.thead {
	/* font-size: 80%; */
	font-weight: bold;
}

#alohaContainer {
	/* margin-bottom: 10px;
	height: 80px; */
	/* height: 55px; */
	top: 0;
	left: 0;
	right: 0;
	height: auto;
}

.aloha-ui-pin {
	display: none !important;
}

.aloha-ui-toolbar {
	position: static !important;
	width: 100% !important;
}

.aloha-ui-toolbar .ui-tabs-nav {
	display: none;
}

.aloha-editable-highlight {
	outline: none !important;
}

.aloha-editable-active,.aloha-editable-active[contenteditable=true]:focus
	{
	outline: none !important;
}

#tc-phrase-panel {
    /* background-color: #edf5ff; */
    padding: 0;
}

#tc-phrase-panel > ul {
    cursor: move;
}

/* phrase editor dialog */
.phrase-editor .close-button {
	float: right;
}

.phrase-editor .close-button > .ui-icon {
	margin: .3em;
}

.annotation_container {
	width: inherit;
	/* max-width: inherit; */
	height: 100%;
	overflow: scroll;
}

#tc-phrase-editor .bd {
	overflow: auto;
}

table.aheading {
	width: 8em;
}

td.aheading, td.hlatinised, td.hpos {
	/* font-size: 12px; */
	text-align: right;
	padding: 0;
	padding-right: 4px;
}

.tc-button {
	color: black;
	background-color: #EFD000;
	border: 1px solid #DFC000;
	border-radius: 4px;
	padding: 4px;
	display: inline;
	cursor: pointer;
	font-weight: normal;
	/* font-size: 14px; */
}

.tc-button:active {
	background-color: yellow;
	border: 1px solid #E0E000;
}

.tc-toolbar > span:not(:last-child) {
	padding-right: 10px;
}

.tc-disable-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* .tdata label {
	padding-left: 5px;
	padding-right: 5px;
}*/

.fit {
	width: 10em;
	/* font-size: 12px; */
}

.maxwtbl {
	width: 100%;
}

/* .phrase_toolbar {
	border: 1px solid #CCCCCC;
	padding: 5px;
	background-color: #EEEEEE;
	border-radius: 5px;
}

.phrase_toolbar>span {
	margin: 0 10px;
}

.phrase_toolbar>span:first-of-type {
	margin-left: 0;
}

.phrase_toolbar>span:last-of-type {
	margin-right: 0;
}*/

/* .tc-toolbar>span {
	margin: 0 10px;
}

.tc-toolbar>span:first-of-type {
	margin-left: 0;
}

.tc-toolbar>span:last-of-type {
	margin-right: 0;
}*/

#promptdialog .bd, #newtagsdialog .bd {
	/* font-size: 12px; */
}

.ui-dialog {
	/* font-size: 12px !important; */
	box-shadow: 0px 0px 8px black;
}

.no-close .ui-dialog-titlebar-close {
	display: none;
}

.no-title .ui-dialog-titlebar {
	display: none;
}

#loading {
	background-image: url(images/spinner.gif);
	background-repeat: no-repeat;
	background-position: center;
}

div.hd:not(.phrase_toolbar) {
	/* destroys multiline hd's */
	/* height: 1.5em; */
}

#prompt_input {
	width: 100%;
	font-size: 130%;
}

.phr_note_label {
	/* font-size: 90%; */
}
.phr_note {
	width: 100% !important;
}

#tceditor {
	/* font-size: 12px; */
	/* margin-top: 1em; */
}

.phrase-editor li .ui-icon-close {
	float: left; margin: 0.4em 0.2em 0 0; cursor: pointer;
}

.ui-menu {
    overflow: hidden;
    z-index: 10000;
    /* font-size: 14px !important; */
}

#menubar.ui-menu .ui-menu {
    overflow: visible !important;
}
#menubar.ui-menu > li {
    float: left;
    display: block;
    width: auto !important;
    padding: 0 0 !important;
}
#menubar.ui-menu ul li {
    display:block;
    float:none;
}
#menubar.ui-menu ul li ul {
    left:120px !important;
    width:300px;
}
#menubar.ui-menu > li > a {
    float: left;
    display: block;
    clear: both;
    overflow: hidden;
}
#menubar.ui-menu .ui-menu-icon {
    margin-top: 0.25em !important;
}


#word_ctx_menu, #morph_ctx_menu, #sense_ctx_menu {
	width: 200px;
}

#phrase_editor {
	display: none;
}

.edit_div {
	height: 100% !important;
	/* display: inline-block; */
	/* white-space: nowrap; */
	width: inherit;
	background-color: #FFFFCC;
	padding-right: 16px;
	line-height: 28px;
}

.ctx_menu {
/*    vertical-align: text-bottom;
    display: block !important;
    float: right; */
	background-image:url("images/ctxmenuimg3.png");
	background-repeat:no-repeat;
	background-position:right;
}

.value_div {
	height: 100% !important;
	/* display: inherit;*/
	white-space: nowrap;
	width: inherit;
    padding-right: 16px;
    line-height: 28px;
}

.annotation input {
	display: inline-block;
    font-size: 1em !important;
    height: 100% !important;
    border: none;
    padding: 0;
    margin: 0;
    outline: 0;
    color: inherit !important;
    background-color: inherit !important;
}

.testc {
	float: right;
	display: inline-block;
	/* width: 16px;
	height: 16px; */
	border: 1px solid red;
}

.annotation {
	background-color: #EEEEEE;
}

.ui-button {
	/* font-size: 14px !important; */
}

#txtPublish + label .ui-icon, #txtTemplate + label .ui-icon {
	border: 1px solid black;
}

#txtGroup {
	margin: 0;
	padding: 0;
}

#currentmetaset {
	font-weight: bold;
}

.tc-aloha-multisplit {
	width: inherit !important;
}

.tc-aloha-multisplit-content {
	width: auto !important;
	overflow: hidden !important;
}

.tc-aloha-multisplit-content > button:last-child {
	display: inline-block !important;
	width: 90px !important;
	height: 50px;
	padding-left: 15px !important;
	vertical-align: top !important;
}

.tc-stem input, .tc-head input {
	font-weight: bold;
}

#text_senses {
	font-size: 1.1em;
}

#sense_module {
	overflow: hidden;
}

.sense_tags {
	height: 2.5em;
}

.sense_tag {
	display: inline-block;
	margin-right: 0.5em;
	position: relative !important;
}

.sense_text {
	overflow: auto;
}

.autophrase, .autophrase_h {
	background-color: #CCFFCC;
	border-right: 1px solid blue;
	border-left: 1px solid blue;
	border-radius: 5px;
}

.autoNOphrase, .autoNOphrase_h {
	background-color: #E6E6E6;
	border-right: 1px solid black;
	border-left: 1px solid black;
	border-radius: 5px;
}

.phrase-confirm .ui-dialog-buttonset {
	float: left !important;
}

.highlight-search {
	background-color: yellow;
}

#enterpaste {
	display: none;
	position: absolute;
	font-size: 5em;
	color: #CCCCCC;
}

.audio {
	display: none;
}
