@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-size: 1vw;
    line-height: 1.2vw;
    height: 100%;
}


html{
  height: 100%;
}

html.wait, html.wait * { cursor: wait !important; }


.invisible{
  display: none;
}

.bp0{
  border-bottom: 1px solid #708090 !important;
  border-top: none !important;
}


.searchFormLegend{
  color: #708090 !important;
}


.centerText{
  text-align: center;
  white-space:nowrap;
}

.nowrap{
  white-space:nowrap;
}

.hidden{
  visibility:hidden;
}

.searchInput{
  width: 7em;
}

.contextInput{
  width: 4em;
}


.searchTable, .searchTable th, .searchTable td {
    padding-top: 0.4em;
}


::placeholder {
   font-size: .7em!important;}

:-ms-input-placeholder { 
      font-size: .7em!important;
}
::-ms-input-placeholder { 
      font-size: .7em!important;
}

.small{
  font-size:0.5em;
}

.removeButton{
  border-radius:.25rem;
  
}



.inlineblockDiv {
  display: inline-block;
}

.noTopPadding{
  padding-top: 0px !important;
}

.likeLabelLink{
  cursor:default;
}

.likeLabelLink, .labelLink:link{
  color: #4980b7;
}
.labelLink:visited{
  color: #4980b7;
}
.labelLink:hover{
  color: black;
  text-decoration: none;
}
.labelLink:active{
  color: black;
}

.otherLink{
  cursor: pointer;
}
.otherLink:visited{
  color:#b74949;
}


.floatDiv{
  text-align:center;
  display:inline-block;
  visibility:hidden;
  position:absolute;
  padding-left: 0.2em;
  padding-right: 0.2em;
  padding-bottom: 1em;
  background-color: white;
  box-shadow:  0 0 .6em .4em #d0d7f9 ;
  width: 12em;
}

svg line{
 stroke:  #708090;
}

.colouredbutton{
  background:#d0d7f9 !important;
}


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

.greyLink:link{
  color: #708090;
  font-size: 1.5em;
}
.greyLink:visited{
  color: #708090;
}
.greyLink:hover{
  color: black;
  text-decoration: none;
}
.greyLink:active{
  color: black;
}

.btn-grey{
  background-color: #708090;
  color: white;
}

.btn-responsive-sm{
  height: 0.8vw;
  padding:0.1vw;
  font-size: 0.8vw;  
}



.btn-responsive{
  height: 1.5vw;
  width: 1.5vw;
  padding:0;
  font-size: 1vw;  
}

.btn-grey:hover{
  background-color: black;
}

.btn-outline-grey{
  background-color: white;
  border: 1px solid #708090 !important;
  color: #708090;
}

.btn-long{
  width: 4vw;
}

.btn-square{
  width: 1.5vw;
  height: 1.5vw;
}

.wider{
    max-width: 90% !important;
}

#results, #mapInfoTable{
  font-size: 0.9vw;
  line-height: 1vw;
  table-layout:fixed;
  border-collapse: collapse;
}

#results tr, #mapInfoTable tr{
  border-bottom: 1px solid #d0d7f9;
}


#results th, #mapInfoTable th{
  border-top: 1px solid black;
  background-color: #9a9a9a;
}

.fixedHeader-floating{
  font-size: 0.9vw;
  line-height: 1vw;
  background-color: #9a9a9a !important;
}



.small-title{
  font-size: 0.7vw;
}


.shift-up{
  top: -10% !important;
}

.rightAligned{
  text-align:right;
}


.leftheader{
  text-align:left;
}

#map{
  border: 1px solid black; 
  float:left;
}

#mapInfo{
  float: left;
}














.junicode{
  font-family: Junicode;
}

.withScroll{
  overflow:auto;
}

.title{
  font-weight:bold;
}


.inlineform{
  display: inline;
}

.mapbutton{
  background: url(http://www.amc-resources.lel.ed.ac.uk/fits/lib/images/scotlandmap-thumb.png);
  width:38px;
  height:38px;
  border-style:none;
  cursor:pointer;
}



.searchinput{
    width: 100%;
}

.yearInput{
  width: 35%;
}

.smallinput{
  width: 2em;
}

.metadatainput{
  width: 4em;
}


table.searchbox{
  width:95%;
}

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

td.searchbox{
  text-align:left;
  vertical-align:top;
  padding-top: 0.2em;
  padding-bottom:0.2em;
position:relative;
}

.pageButton{
  padding: 0.25em 0.5em !important;
}



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;
}

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

.commentArea{
  width: 11em;
}

#instructions{
  display:none;
  position:absolute;
  background-color:#F0CE8C;
  box-shadow: 0px 0px 10px 7px #D0D7F9;
  max-width: 800px;
  padding: 1em;
}

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

.fits-buttonSpan{
  background-color: #f9f2d0 !important;
}

.whitediv{
  background-color: white;
}

td.verticalBottom{
  vertical-align:bottom;
}

.mapimage{
  vertical-align:middle;
  width:40px;
  height:38px;
}

td.searchbutton{
  text-align:right;
  padding-top:1em;
}

.bottompadding{
  padding-bottom: 1em;  
}

.pad{
  width:1%;
  height:100%;
  float:left;
}


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

.fits-searchbox{
  background: #f0ce8c !important;
}

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

#fitsdatabox{
  vertical-align: top;
  overflow:auto;
  
    table-layout: fixed; 
width: 100%;
border-bottom: none;
  
}

#fitsdatabox td{
  word-wrap:break-word; 
}

#fitsdatabox th{
  word-wrap:break-word; 
}

.headercelldiv{
  padding-right:1px;
}

#tagheader{  
  position:fixed;
  overflow:hidden;
  opacity:1;
  background-color:white;
}


#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;
}

td.tokens, td.texts, td.dates, td.displayData, th.tokens{
  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;
}


.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-color: #DFE3B5 !important;}
.clicked{background-color: #DFE3B5 !important;}

.fixtags {
  background-color: #FFF;
}

nothyphenated{
  white-space: nowrap !important;
}

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



.segmentTable, .segmentTable tr, .segmentTable th, .segmentTable td { 
    border: 0px !important;
    padding: 0 !important;
    background-color: inherit !important;
}




.invisible{
  display: none !important;
}


.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.7em;
  line-height: 1.6em;
}

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

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


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

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

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

.dataheaderthin{
  color: #5b3729;
}


.inlinediv{
  display: inline;
}



.tablecelldiv{
  display:table-cell;
}


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

.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;
}



.fixed{
  position:fixed;
}




.blueline{
  background-color:#f9f2d0;
  border: 0 none;
box-shadow:  0 0 1px 1px #f9f2d0;
}

.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:13.5em;
}

.vertical_gap{
  height:.5em;
}

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;
}

.highlight{
  color: red;
}

.list{
  font-size:0.7em;
}

.numbering{
  background: #f9f2d0;
}

.aThird{
  padding-left:20em;
}

.half{
  width:50%;
}



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%;
}
*/



.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;
}


.bluebutton{
  width:1.5em;
  height:1.5em;
  font-size:1.2em;
  border-radius: 50%;
  text-decoration: none;
  display: inline-block;
}

.iconButton{
  background-color: #D0D7F9;
  cursor:pointer;
}

.smallerbutton{
  font-size: 0.8em;
}

.relativeRight1{
  right:1px;
}

.addSyllablePart{
  text-align:left;
  display:none;
  position:absolute;
  padding-left: 0.2em;
  padding-right: 0.2em;
  padding-bottom: 1em;
  background-color:#F0CE8C;
  box-shadow:  0 0 5px 5px #d0d7f9;
  font-size:0.7em;
  line-height:1.5em;
  z-index:2;
}

.relativeSetToTheRight{
  left:100%;
}

.relativeSetToTheLeft{
  right:100%;
}

.spanAsLink{
  cursor:pointer;
  font-weight:600;
  white-space: nowrap;
}

.relativepos{
  position:relative;
}

.noleftpadding{
  padding-left:0;
}

#errorMessage{
  color: red;	
  font-size: 0.8em;
  visibility: collapse;
}

.middleVertical{
  vertical-align: middle !important;
}

.exportButton{
  color: black;
}

.tablecellDiv{
  display: inline-block;
  min-width: 30em;
  color: #5e2f0d;
}

.opaque{
  opacity: 0.3;
}