@font-face {
  font-family: 'mufi';
  src: url('http://archive.ling.ed.ac.uk/ihd/elalme_scripts/lib/fonts/AndronScriptorWeb.ttf');
  src: local('Andron Scriptor Web, Regular'), url('http://archive.ling.ed.ac.uk/ihd/elalme_scripts/lib/fonts/AndronScriptorWeb.ttf') format("truetype"); 
}


span.mufi{
  font-family: "mufi";
  font-size:14pt;
}

span.overscript{
  font-size:8pt;
  position:relative;	
  left:-0.7em;
  top:-1em;
}

span.mufibig{
  font-family: "mufi";
  font-size: 14pt;
}

span.tiny{
  font-size: 0.6em;
}

#location_GroupDiv{
  max-width:300px;
  border-radius:25px;
}
#location_contentDiv{
  max-width:250px;
  overflow: auto;
}




#search{padding-bottom: 20px; }
.ui-autocomplete {
	max-height: 150px;
	overflow-y: auto;
	/* prevent horizontal scrollbar */
	overflow-x: hidden;
	/* add padding to account for vertical scrollbar */
	padding-right: 20px; z-index:10000 !important;
}
#searchparameters{float:left}

#key{position:absolute; background-color:#CFCFCF; top:3; right:3; font-size: 0.7em; display: none;}
#keybutton{position:absolute; top:10; right:10;}
.keycell{max-width:300px;}

#lpitems {float: left; padding: 15px;}

#forms {float:left;  padding: 15px;}

.placeholder{height:1.34em;border:1px solid;
		border-color:#CCC;
		border-color:rgba(0,0,0,0.3);
		border-bottom-color:rgba(0,0,0,0.5);
		border-radius:3px;box-shadow:0px 0px 1px #3366FF;}

#formplaceholder{
  width:330px;
}
#itemplaceholder{
  width:330px;
}

.container{max-height:300px;background-color:rgb(255,255,229);display:none;
		overflow-y:auto; border: 2px solid #CCC;}

#formcontainer{
  clear:left;width:330px;position:absolute;z-index:10000;
}
#itemcontainer{
  width:330px;position:absolute;z-index:10000;
}

#clear {background-color:#91BD09; border: 3px outset;border-radius:8px;cursor:pointer;padding-left:3px;padding-right:3px;}

.formSpan{margin:5px; float:left; border: 1px solid #CFCFCF; padding:2px; cursor:pointer; line-height: 2em;
	  background-color:#EDEDED; border-radius:3px;}
.highlightedFormSpan{margin:5px; float:left; border: 1px solid #CFCFCF; padding:2px; cursor:pointer; line-height: 2em;
	  background-color:#8FC9FF; border-radius:3px;}


#coordinates{clear:both; padding-top: 10px;}
#northing{margin-left: 10px;}
#displayoptions{clear:both;padding-top: 10px;}

body{width:98%; height:100%;}

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

#mapdiv {float:left; 
	 height:720px; 
	 width:680px;}

#fittingmap {
float:left ; 
	 height:720px; 
background-color:white;
	 width:55%;
}

#itemlist{
clear:left;
  font-size: 10pt;
  height:720px; 
  width:25%;
  float: left;
  overflow-y:auto;
  border: solid 1px #CCCCCC;
  background-color:#E5F2FF;
}

#itemcell{
  width:25%;
  text-align:center;
  font-weight: bold;
}

#gapcell{
  width: 1%;
}

#title{
  width:100%;
}

#formcell{
  width:15%;
  text-align:center;
  font-weight: bold;
}

#restcell{
  width: 59%;
}

#gap{
  float: left;
  width: 1%;
  height:3%;
}

#gap2{
  float: left;
  width: 3%;
  height:3%;
}

#formlist{
  font-size: 10pt;
  height:720px; 
  width:15%;
  float: left;
  overflow-y:auto;
  border: solid 1px #CCCCCC;
  background-color:#E5F2FF;
}

.hiddenformdiv{
  display: none;
}

#clearmapbutton{
  position:relative;
  float:right;
  top: 25px;
  right:30px;
  z-index: 750 !important;
}

#pressfit{
  position: relative;
  top: 2.5em;
}

#thebuttons{
clear:both;
}

#fitbutton{
  float:left;
  text-align:right;
  width:41.3%;
}

#reset{
  float:left;
  text-align:right;
  width:43%;
}

#pressclear{
  position: relative;
  top: 2.5em;
  right: -30.5%;
}


#instructions{
  display: none;
  background-color: #F8FBEF;
  -moz-border-radius: 5px ;
  border-radius:  5px;
  border: 1px solid #F8FBEF;
  padding: 5px;
  margin: 10px;
}

#instructionsbuttondiv{
  margin-bottom: 10px;
}

#mapinfocontainer {width:100%; height:720px; overflow:hidden;}

#markerinfocontainer { height:100%; float:left;}

#formswithlabel{width:100%; height:44%;background-color:#F2F2F2;overflow-y:auto;}
.allforms {background-color:#F2F2F2; width:100%; overflow-y:auto;
border-bottom-right-radius:6px;
border-bottom-left-radius:6px; }

.lpItem {background-color:#D9D9D9; width:100%; 
border-top-left-radius:6px;
border-top-right-radius:6px;}

#space {height:3%;}

#individualMarkerTop{background-color:#D9D9D9; width:100%; height:4%;
border-top-left-radius:6px;
border-top-right-radius:6px;}

#individualMarkers {background-color:#F2F2F2; width:100%; height:49%; overflow-y:auto;position:relative;
border-bottom-right-radius:6px;
border-bottom-left-radius:6px;}

.questionmark {height: 1em; width: 1em; margin-left:1em; margin-top:2px;}

#searchbuttondiv {clear:both; padding-top:20px; }


.popupInfo{margin:3px;padding:4px; border-radius:4px; cursor:move;}
.popupfitting{margin:3px;padding:4px; border-radius:4px;}
.close{margin-left:5px; float:right; cursor:pointer; position:relative; top:-4px;left:4px;}


.ol-popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 280px;
}
#popup-content{
    max-height: 350px;
    overflow: auto;
}
.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}
.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}
.ol-popup-closer:after {
    content: "✖";
}         

.smcap {font-size: 0.8em;}

.invisibleline {visibility: hidden;}


.righticon{float:right;cursor:pointer;}

.searchbutton {color:#FFF; 
		text-shadow:0 -1px rgba(0,0,0,0.15);
		font-size:14px;
		padding:10px 20px 11px; 
		cursor:pointer;
		text-decoration:none;
		border:1px solid;
		border-color:#CCC;
		border-color:rgba(0,0,0,0.3);
		border-bottom-color:rgba(0,0,0,0.5);
		border-radius:3px;
		background-color:#91BD09;
		background-image:-webkit-linear-gradient(rgba(255,255,255,0.2), rgba(0,0,0,0.2));
		background-image:   -moz-linear-gradient(rgba(255,255,255,0.2), rgba(0,0,0,0.2));
		background-image:     -o-linear-gradient(rgba(255,255,255,0.2), rgba(0,0,0,0.2));
		background-image:        linear-gradient(rgba(255,255,255,0.2), rgba(0,0,0,0.2));
		-webkit-box-shadow:inset 1px 1px rgba(255,255,255,0.8), 0 1px 2px rgba(0,0,0,0.3), inset 0 -2px 2px -2px rgba(0,0,0,0.5);
		-moz-box-shadow:inset 1px 1px rgba(255,255,255,0.8), 0 1px 2px rgba(0,0,0,0.3), inset 0 -2px 2px -2px rgba(0,0,0,0.5);
		box-shadow:inset 1px 1px rgba(255,255,255,0.8), 0 1px 2px rgba(0,0,0,0.3), inset 0 -2px 2px -2px rgba(0,0,0,0.5);
		-webkit-user-select:none;
		-moz-user-select:none;
		user-select:none; 
		}

.smallsearchbutton{
  padding: 0px 3px 0px 3px; 
  border-radius:100%;
}

.smallsquaresearchbutton{
  padding: 0px 3px 0px 3px; 
  border-radius:15%;
}

.bigsquaresearchbutton{
  padding: 0px 3px 0px 3px; 
  border-radius:4px;
}

.smallroundbutton{
  width: 1em;
  height: 1em;
  background-color: #91BD09;
  -moz-border-radius: 12px ;
  border-radius:  12px;
  display:inline-block;
  padding: 0 2px 5px 4px;
  font-size:12px;
  position:relative; top:-2px; left:1px;
}


.searchbutton:hover {
	text-decoration:none;
	background-color:#E7FBAC;
	background-image:-webkit-linear-gradient(rgba(255,255,255,0.4), rgba(0,0,0,0.3));
	background-image:   -moz-linear-gradient(rgba(255,255,255,0.4), rgba(0,0,0,0.3));
	background-image:     -o-linear-gradient(rgba(255,255,255,0.4), rgba(0,0,0,0.3));
	background-image:        linear-gradient(rgba(255,255,255,0.4), rgba(0,0,0,0.3));
}

.arrow-up {
	width: 0;
	height: 0;
	border-left: 0.8em solid transparent;
	border-right: 0.8em solid transparent;
	border-bottom: 0.8em solid #91BD09;
cursor:pointer;
float:right;
margin-top:0.2em;
}

.arrow-down {
	width: 0;
	height: 0;
	border-left: 0.8em solid transparent;
	border-right: 0.8em solid transparent;
	border-top: 0.8em solid #91BD09;
cursor:pointer;
float:right;
margin-top:0.2em;
}

.surveyPointNoStyle{
width: 4px;
height: 4px;
background-color: white;
-moz-border-radius: 4px ;
border-radius:  4px;
position:relative; top:3px; left:3px; 
display:inline-block;
margin: 3px;
}

.itemPointNoForm{
width: 8px;
height: 8px;
background-color: #33FFFF;
-moz-border-radius: 8px ;
border-radius:  8px;
position:relative; top:3px; left:3px; 
display:inline-block;
margin: 3px;
border: 1px solid #DBB8FF;
}


.formFound{
width: 8px;
height: 8px;
background-color: #3333FF;
-moz-border-radius: 8px ;
border-radius:  8px;
position:relative; top:3px; left:3px; 
display:inline-block;
margin: 3px;
border: 1px solid black;
}

.small {
width: 6px;
height: 6px;
background-color: red;
-moz-border-radius: 6px ;
border-radius:  6px;
position:relative; top:3px; left:3px; 
display:inline-block;
margin: 3px;
border: 1px solid black;
}

.medium{
width: 9px;
height: 9px;
background-color: red;
-moz-border-radius: 9px ;
border-radius:  9px;
position:relative; top:3px; left:3px;
display:inline-block;
margin: 3px;
border: 1px solid black;
}
.large {
width: 12px;
height: 12px;
background-color: red;
-moz-border-radius: 12px ;
border-radius:  12px;
display:inline-block;
margin: 3px;
position:relative; top:3px; left:3px;
border: 1px solid black;
}

.fitmarker {
width: 12px;
height: 12px;
-moz-border-radius: 12px ;
border-radius:  12px;
display:inline-block;
margin: 3px;
position:relative; top:3px; left:3px;
}

.nofrequency{
width: 8px;
height: 8px;
background-color: red;
position:relative; top:3px; left:3px;
display:inline-block;
margin: 3px;
border: 1px solid black;
}

.contr{
  font-style: italic;
}

.headcheckbox{
  background-color:#DEDEDE;
  border-bottom: 1px solid #A1A1A1;
}



.itempopup{
  display: inline-block;
  vertical-align: top;
  margin: 2px;
  border:1px dotted white;
  top:0;
}

.smallsize{
font-size:0.7em;
border-radius:3px;padding-left:2px;padding-right:2px;
}
