@font-face { font-family: Junicode; src: url('http://www.amc-resources.lel.ed.ac.uk/fits/lib/fonts/Junicode.ttf'); } 
@font-face { font-family: "Doulos SIL"; src: url('http://www.amc-resources.lel.ed.ac.uk/fits/lib/fonts/DoulosSIL-R.ttf'); } 
body{
  font-family: Verdana, sans, "Doulos SIL", Junicode;	
  height:98%;
  overflow:hidden;
}



.junicode{
  font-family: Junicode;
}

.withScroll{
  overflow:auto;
}

.title{
  font-weight:bold;
}

html{
  font-family: Junicode;
  height:100%;
}

.searchinput{
    width: 100%;
}



table.searchbox{
  width:95%;
}

[contenteditable="true"]{
  line-height:1.2em;
}

td.searchbox{
  text-align:left;
  vertical-align:top;
}

div.searchbox{
  text-align:left;
  vertical-align:top;
}

textarea {
  resize: none;
  overflow-y: auto;
  border: 1px solid #808080;
  border-radius: 0.3em;
  font-family: Verdana, sans;
  font-size: 0.9em;
}

#text_data{
  overflow-x:auto !important;
}

.ui-autocomplete { max-height: 200px; overflow-y: auto; overflow-x: hidden;}

.commentArea{
  width: 11em;
}

#instructions{
  display:none;  
  max-width: 900px;
    border-style: solid;
    border-width: 3px;  
    border-color:#d0d7f9;
 
  padding: 3px 6px 3px 6px;   
  border-radius:2em;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
}

.buttonSpan{
  padding: 0.2em;
  background-color: #c7ce7e;
  border-style: none;	
  border-radius: 0.5em;
  cursor: pointer;
}

td.verticalBottom{
  vertical-align:bottom;
}

td.searchbutton{
  text-align:center;
}

.bottompadding{
  padding-bottom: 1em;  
}


#searchboxes {
  width: 25%;
  height: 100%;
  background: #DFE3B5;
  float:left;
  overflow-y:auto;
}

#databox{    
  position:relative;
  width: 71%;
  height: 100%;
  margin-left:1em;
  vertical-align: top;
  float: left;
  overflow:auto;
}

#tagheader{  
  position:fixed;
  overflow:hidden;
  opacity:1;
}


#formheader{  
  position:fixed;
  overflow:hidden;
  opacity:1;
}



#empty{
  position: fixed;
  margin-left:1em;
  opacity:1;
  z-index: 15;
  background-color:white;
  text-align: left;
}


#merge{
  width: 80%;
  position: relative;
  top: 20%;
  background-color: #DFE3B5;
  border-style: none;	
  border-radius: 10px;
  box-shadow: 10px 10px 7px #888888;
}

.closeicon{
  height:1em;
  width:1em;
}

.bold{
  font-weight:bold;
}

td[contenteditable="true"]{
  border: 3px solid #DD0031;
}

.bolditalic{
  font-style:italic;
  font-weight:bold;
}

.italic{
  font-style:italic;
}


#allchanges{
  background-color:#f7edbe;
}

.boldline{
  border-top: 3px solid #BFBFBF;
  border-bottom: 3px solid #BFBFBF;
  border-collapse:collapse;
}

.toppadded{
  padding-top: 0.5em;
}

.datatable{
  border: 1px solid #BFBFBF;
  border-collapse:collapse;
}

input[type=text]{
  border: 1px solid #808080;
  border-radius: 0.3em;
  line-height:1.3em;
}

.totalstag{
  background-color: #FFF
}

th, td{
  padding-left:2px;
  padding-right:2px;
}

.morepadding{
  padding-left:1em;
  padding-right:1em;
}

.leftmargin{
  margin-left:1em;
}

td.tokens, td.texts, td.dates{
  text-align:center;
}

/*minimum height*/
td[data-class="content"]{
  height: 1em;
}


.nobottomborder{
  border-bottom: none;
  padding-top:0;
  padding-right:1px;
}

.notopborder{
  border-top: none;
}

div.iconDiv{
  width:0.8em;
  height:0.8em;
  float:right;
  cursor: pointer;
}

.rightfloated{
  float:right;
}

.leftfloated{
  float:left;
}

.withbigleftpadding{
  padding-left:14em;
}

.withbiggerleftpadding{
  padding-left:41.6em;
}



.gray {background-color: #cbcbcb !important;}

.halfgray {
background: -moz-linear-gradient(left, #cbcbcb 0%, #e1e1e1 44%, #f6f6f6 66%, #ffffff 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#cbcbcb), color-stop(44%,#e1e1e1), color-stop(56%,#f6f6f6), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, #cbcbcb 0%,#e1e1e1 44%,#f6f6f6 56%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, #cbcbcb 0%,#e1e1e1 44%,#f6f6f6 56%,#ffffff 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, #cbcbcb 0%,#e1e1e1 44%,#f6f6f6 56%,#ffffff 100%); /* IE10+ */
background: linear-gradient(to right, #cbcbcb 0%,#e1e1e1 44%,#f6f6f6 56%,#ffffff 100%); /* W3C */
}

.numbers.normal:nth-child(even) {background-color: #FFF}
.numbers.normal:nth-child(odd) {background-color: #F2F4E1}

.frozenColumn.normal:nth-child(even) {background-color: #F2F4E1}
.frozenColumn.normal:nth-child(odd) {background-color: #FFF}

.highlighted{background: #DFE3B5 !important;}
.clicked{background: #DFE3B5 !important;}

.fixtags {background-color: #FFF}

span.nothyphenated{
  white-space: nowrap;
}

.textnumber{
  padding-left:1em;
  padding-right:1em;
}

.invisible{
  display: none;
}


.tooltipContainer{
  position:absolute;
  z-index : 10;
  width: 9em;
}

.tooltip{
  border: 1px solid #BFBFBF;
  border-radius:5px;
  background:#DFE3B5;
  padding:5px 5px;
  z-index : 20;
  font-size:0.8em;
  max-height:10em;
  overflow-y: auto;
}

[id^=new_][id$=_delete]{
  display:none;
}


/*
creates a small (emtpy) box in the middle just above the tooltip. 
Of that box we only see one of the borders as the tooltip's tip. 
It has no content, and three border sides are transparent
*/
.tooltip::after {
  content:'';
  display:block;
  position:absolute;
  top: -1.6em; /*should be set to -border-width x 2. 1.6em is the top offset of the box forming the little tip; 1.4 brings the tip a little bit closer to the triggerElement*/
  left: 50%;
  width:0;
  height:0;
  border-color: transparent transparent #DFE3B5  transparent; /*border color should be same as div div background color*/
  border-style: solid;
  border-width: 0.8em;
  margin-left: -0.8em;
}



/*
FITS DATA ENTRY SPECIFIC
*/
.fitsdata_div{
  padding:0.5em;
  border-radius: 0.3em;
  line-height: 1.6em;
}

#morpheme_div{
/*
  background-color: #c2c2c2;
*/
  background-color:#f0ce8c;
}

#analyst{
  background-color:#f9f2d0;
  border: 1px solid #808080;
  border-radius: 0.3em;
}


#form_div{
/*
  background-color: #f9f2d0;#f3d8a3
*/
  background-color:#f3d8a3;
}

#syllable_div{
/*
  background-color: #f3d8a3;
*/
  background-color:#f9f2d0;
}

.dataheader{
  font-weight:bold;
  color: #5b3729;
}

.dataheaderthin{
  color: #5b3729;
}


.inlinediv{
  display: inline;
}

.inlineblockdiv{
  display: inline-block;
}


.leftheader{
  text-align:left;
}

.tablecelldiv{
  display:table-cell;
}


.gray{
  color: #7d7d7d;
}

.zerowidth{
  width: 0;
}

#fitsdataentry{
  height:98%;
  overflow:auto;
}


.round{
  height:1.5em;
  width:1.5em;
  border-radius:1.5em;
  cursor: pointer;
  background:#f9f2d0;
  border-style: ridge;
}

.small{
  font-size:0.5em;
}


.colouredbutton{
  background:#d0d7f9 !important;
}

.keyboardbutton{
  border-radius:0.3em !important;
  font-weight: 500;
  font-size: 1em !important;
  width: 1.5em;
  height: 1.5em;
  margin: 0.1em;
}

.larger{
  font-size: 1em;
}

.addnew{
  font-size:0.7em;
  border-radius:2em;
  background:#f9f2d0;
  cursor: pointer;
   border-style:none;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  padding: 3px 6px 3px 6px;
  text-decoration: none;
}

.flatbutton{
  border-radius:2em;
  cursor: pointer;
  border-style:none;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  padding: 0px 0.8em 0px 0.8em;
  text-decoration: none;
}

.roundbutton{
  font-size:0.7em;
  border-radius:2em;
  background:#f9f2d0;
  cursor: pointer;
   border-style:none;
  -webkit-border-radius: 1em;
  -moz-border-radius: 1em;
  padding: 2px 2px 2px 2px;
  text-decoration: none;
}

.gap{
  padding-left:19.5em;
}

.smallergap{
  padding-left:5em;
}

.vertical_gap{
  clear:both;
  height:.5em;
}

.vertical_gap2{
  clear:both;
  height:2em;
}

.fatreturn{
  clear:both;
  height:1em;
}

select{
  background: white;
  cursor: pointer;
  border-radius: 0.4em;
    border:1px solid gray;
}

.shift{
  position:relative;
  top: -0.1em;
}

.error{
  color: red;
  font-size:0.8em;
}

.list{
  font-size:0.7em;
}

.numbering{
  background: #f3d8a3;
}

.aThird{
  padding-left:20em;
}

.half{
  width:50%;
}

.floatDiv{
  text-align:center;
  display:inline-block;
  visibility:hidden;
  position:absolute;
  padding-left: 0.2em;
  padding-right: 0.2em;
  padding-bottom: 1em;
  background-color:#f3d8a3;
  box-shadow:  0 0 10px 7px #d0d7f9;
}

.sizeFloatBox{
  width: 12em;
}


div.iconDivFits{
  width:0.8em;
  height:0.8em;
  position:absolute;
  top:-0.2em;
  right:0.1em;
  cursor: pointer;
}

.centerbutton{
  margin:0 auto;
}
/*
#newdev_name, #newdev_abbreviation, #newdev_domain, #newdev_description{
  width: 97%;
}

#newdev_type{
  width: 100%;
}
*/

#fits_form{
  color: black;
}



.bottomborder{
  border-bottom: thick solid #cbae1a;
  width: 60%;
  padding-top:1em;
  padding-bottom:1em;
}

.norightborder{
  border-right:none;
}

.noleftborder{
  border-left:none;
}

.paddingTB{
  padding-top: 0.2em;
  padding-bottom:0.22em;
}

.flagError{
  border: 2px solid red !important;
}
