html{height:100%;font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-size:10px;-webkit-tap-highlight-color:transparent}*,
:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}

body{height:100%;margin:0;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;
		color:#333;background-color:#fff}

h3{font-weight:500;line-height:1.1;color:inherit;margin-top:0;margin-bottom:20px;font-size:24px}

hr {
	border: 0;
	height: 1px;
	background: #000;
	background-image: -webkit-linear-gradient(left, #fff, #000, #fff);
	background-image: -moz-linear-gradient(left, #fff, #000, #fff);
	background-image: -ms-linear-gradient(left, #fff, #000, #fff);
	background-image: -o-linear-gradient(left, #fff, #000, #fff);
}

input {
	font-family: Courier;
}

.header {
	display: flex;
	justify-content: flex-start;
	/*flex-wrap: wrap;*/

/*		min-height: 63px;
		margin-left: auto;
		margin-right: auto;
*/
		padding-right: 5px;
		background: #2d2d2d; /*#a8002c;*/
/*		float: left;*/
		width: 100%;

		position: fixed;
		top: 0px;
		z-index: 100000;
		border-top: 3px solid #636363;
		border-bottom: 3px solid #151515;
		box-shadow: 0 3px 1px rgba(10,10,0,0.6);
/*		white-space: nowrap;*/
}

@media (max-width: 991px) {
	.header {
		flex-wrap: wrap;
	}
}

.header-div {
	flex: 0 0 auto;
		color: #eee;
		font-family: sans-serif, verdana;
		font-size: 12px;
/*		display: block;
		float: left;*/
		/*height: 55px;*/
		padding-top: 3px;
}



#logo-img{
	padding: 5px 5px 0px 5px;
	opacity: 0.1;
	align-self: center;
}

.header fieldset {
	border-radius: 4px;
	background-color: #29432d;
}

#loaderDiv {
	display: none;
	position: fixed;
	top:45%;
	left:45%;
	width:80px;
	height:80px;
	
	background-image: url('../images/loading.png');
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 200000;
}

#loaderDivRel {
	display: none;
	position: relative;
	top:100px;
	height:80px;

	background-image: url('../images/loading.png');
	background-position: center center;
	background-repeat: no-repeat;
	z-index: 200000;
}

#autoComplDiv {
	position: fixed;
	top:376px;
	left:300px;
    z-index: 110002;
}

#autoComplDiv TABLE {
	border: 1px solid #222;
	background-color: lightgoldenrodyellow;
	border-collapse:collapse;
	box-shadow: 3px 3px 3px #444;
	font-weight: bold;
    font-size: medium;
}

#allQTable, #allATable, #allYTable {
    font-weight: bold;
    font-size: x-small;
    color: black;
    text-align: center;
	display: flex;
	gap: 2px;
	flex-wrap: wrap;
}

#allQTable div, #allATable div, #allYTable div, #mapLegend .squareBtn {
	border: 1px outset grey;
	border-radius: 3px;
    /*cursor: pointer;*/
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none;
    background-color: lightgrey;
    padding: 2px 4px 0px 4px;
}

#allYTable {
    font-weight: bold;
    font-size: x-small;
    color: black;
    text-align: center;
}

#allYTable TD{
	border: 1px outset grey;
	border-radius: 3px;
    cursor: pointer;
    background-color: lightgrey;
    padding: 2px 2px 0px 2px;
}

#citySelect {
	min-width: 90px;
}

#cemSelect {
	width: 150px;
}

#cemSelDetail {
	width: 150px;
	height: 160px;
	/*float:left;*/
	/*margin-right: 10px;*/
}

#hTableDiv td {
	white-space: nowrap!important;
}
.hTables {
	overflow: hidden;
/*	left: 0;*/
/*	right: 300px;*/
	border: 1px solid #aaa;
	text-align: left;
	font-family: verdana;
	font-size: smaller;
}

.hTable400 {
	height: 320px;
}

.hTable360 {
	height: 55%;
	/*margin-bottom: -40px; */
}

#photosDivAndCap {
	flex: 1 0 auto;
    position: relative;
	display: flex;
	flex-direction: column;
/*   	float: right;*/
	border:1px solid #a00;
/*	height: 100%;*/
/*	height: 800px;*/ 
	width: 300px;
	text-align: left;
	/*overflow: hidden;*/
	background-color: #d4e2c6;
	background-image: url('../images/no-image.png');
    background-position: center center;
    background-repeat: no-repeat;
	/*padding-left: 1px;*/
}

#photosDiv {
	width: 100%;
	height: 100%;
    overflow: auto;
    padding: 4px 2px;
/*    height: 748px;
    margin-top: 50px;*/
    padding-bottom: 500px;			/*empty space to move last photo to upper part of photodiv*/
}

.photoCaptDiv {
	text-align: left;
	/*position:  absolute;*/
	width: 100%;
	background-color: #f3f3f3;
	/*height: 30px;*/
	padding: 2px 3px;
}
.phCaptHighlight {
	background-color: yellow;
}

#grPhotosInput {
	flex: 0 0 auto;
	width: 100%;
	height: 19px;
	font-family: arial;
	font-size: 10px;
	background-color: #ddd;
	border: 1px solid;
	border-left: 0px;
	border-right: 0px;
	padding: 3px 1px;
	cursor: pointer;
	text-align: left;
}

#mapdiv {
	border:1px inset #aaa;
	/*top: 402px;*/
	width: 100%;
	height: 438px;
	visibility: visible;
}

#noImage {
	margin-top:65px;
	margin-left:50px;
	position: absolute;
}
.galPhoto {
	width: 100%;
    height: auto;
    margin: 0px;
    padding: 0px;
    line-height: 0px;
    font-size: 0px;
    display: block;
    cursor: pointer;
/*    margin-top: -20px;*/
}

.galPhotoBorder {
    background-color: #016903;
    padding: 1px;
}

.selectedPhoto {
	border: 2px solid red;
}

.red {
	color: red;
	font-size: larger;
}

.layout {

	display: flex;
/*	position: relative;
	text-align: left;
*/
	padding-top: 64px;
	min-width: 1000px;
	width: 100%; 
	height: 100%;
	white-space: nowrap;
	letter-spacing: -4px;
	
	vertical-align: top;
}

.layout DIV { 
/*	position: absolute; */
	letter-spacing: 0;
}

#filterDiv hr {
	margin: 15px 0px;
}

.currentHTRow {
	background-color: #f1f1f1!important;
	background-image: none!important;
}
.current {
	background-color: #c5c5ce!important;
	background-image: none!important;
}

.htDimmed {
	color: black!important;
	cursor: pointer;
}

.ht_master tr:nth-of-type(odd) > td {
	background-color: #f9f9f9;
}

/*.oddTdRow {
	background-color: #eee!important;
}*/

.menuItems {
	moz-border-radius: 2px;
	webkit-border-radius: 2px;
	border: 1px solid;
	height: 26px;
	border-radius: 2px;
	padding-left: 2px;
	/*margin: 0px 4px;*/
}

.disItems {
	-webkit-filter: grayscale(1); /* Webkit browsers */  
	filter: gray; /* for IE6-9 */  
	filter: grayscale(1); /* W3C */ 
	opacity: 0.5;
}

.mPointCur {
	cursor: pointer;
}

.header button, .squareButton
{
	background-position: center center;
	background-repeat: no-repeat;
	width: 24px;
}

.buttonTabOn {
	background-image: url('icons/36.png');
}
.buttonTabOff {
	background-image: url('icons/36a.png');
}

.buttonMapOn {
	background-image: url('icons/37.png');
}
.buttonMapOff {
	background-image: url('icons/37a.png');
}

.buttonPhotosOn {
	background-image: url('icons/35.png');
}
.buttonPhotosOff {
	background-image: url('icons/35a.png');
}

#buttonSettings {
	background-image: url('icons/set.png');
}

/*#fltAddCityBtn {*/
/*	background-image: url('icons/plus.png');*/
/*}*/

#buttonFilter {
	background-image: url('icons/33.png');
}

#buttonFClear {
	background-image: url('icons/33a.png');
}

/*#buttonSavePhotoPath {*/
/*	background-image: url('icons/55.png');*/
/*}*/

#buttonEnEditFen {
	background-image: url('icons/24.png');
}

#buttonEnEditQuat {
	background-image: url('icons/23.png');
}

#buttonGNumbers {
	background-image: url('icons/nums.png');
}

.buttonGNumbersOff {
	background-image: url('icons/numsoff.png') !important;
}

#buttonAddMarker {
	background-image: url('icons/51.png');
}


#buttonTAdd {
	background-image: url('icons/22.png');
	background-position:  left center;
	padding-left:18px;
	text-align: left;
	width: 110px;
}

#buttonTUsual {
	background-image: url('icons/22.png');
	background-position:  left center;
	text-align: left;
	padding-left:18px;
	width: 90px;
}

#buttonFSSubmit {
	width: 55px;
	text-align: center;
}


.buttonMapOn {
	background-image: url('icons/37.png');
}

#settingsDelCertBtn {
	margin-right: 200px;
	color:red;
}

.filterCaps {
	display: inline-block;
	min-width: 120px;
	color: black;
	padding-top: 5px;
	font-family: sans-serif, verdana;
	font-size: 13px;
}

.filterOpts {
	width: 110px;
	margin-top:3px;
	height: 20px;
}

.ui-dialog {
	/*background-color: yellow;*/
	z-index: 9000!important;
}

#filterDiv {
	font-family: sans-serif, verdana;
	font-size: 12px;
	display: none;
	background-color: oldlace;
}

#filterDiv p {
	text-align: left;
	margin: 5px;
}

#addDataDiv{
	display: none;
}

.tableControls {
	/*top: 367px;
	left: 0px;
	right: 275px;*/
	white-space: nowrap;
	height: 40px;
    display: table-cell;
    vertical-align: middle;
}
#addDataControls {
	display: none;
}

.shortFilterItem {
	width: 108px;
/*	float:left;
	display: block;
	margin-right:4px;*/
}

.hiddenInput {
	display:none;
}
.literaInput {
	width:60px;
}

.filterItems {
	width:222px;
}

.certValues {
	width:250px;
	font-size: small !important;
}

.filterCaps {
	display: inline-block;
	min-width: 120px;
	color: black;
	padding-top: 5px;
	font-family: sans-serif, verdana;
	font-size: 13px;
}

.photoEditCaps {
	display: inline-block;
	width: 50px;
	color: black;
}

.manPhInputError {
	display: none;
	margin: 0 0 2px 55px;
	font-size: small;
	color: red;
	font-style: italic;
}

input[type="text"] {
	height:17px;
}

.fileInputHidden {
	display: none;
}

#addRawPhotos {
	height:22px;
	width:22px;
	background-image: url('icons/102.png');
	background-repeat: no-repeat;
	border: 1px solid black;
    background-position: 2px 1px;
}
#clearRawPhotos {
	margin-left: 5px;
	height:22px;
	width:22px;
	background-image: url('icons/trash.png');
	background-repeat: no-repeat;
	background-position: 3px 1px;
    border: 1px solid black;
}

ul#img-list, ul#existingPhotos {
	margin: 0px;
/*	padding: 0 0 300px 0;*/
	padding: 0;
}

ul#img-list li, ul#existingPhotos li {
	list-style-type: none;
	border: 1px solid grey;
	margin-bottom:4px;
}

.phNameXContainer {
	position: relative!important;
    background-color: white;
    height:17px;
}

.phName {
	font-family: verdana;
    font-size: smaller;
    padding-left: 3px;
    position: absolute;
}

.mapControls {
	position: absolute;
	top:11px;
	left:53px;
}

#mapLegend {
	display: flex;
	opacity: 0.8;
    padding: 3px;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    bottom: -50px;
    right: 2px;
    z-index: 1103;
    font-size: medium;
    background-color: #29432d;
    border-radius: 4px;
    border: 2px solid grey;
/*    transition: all 0.2s ease-out;*/
}
/*#mapLegend._init {
	bottom: -50px;
}*/

#mapLegend > div {
	display: flex;
	gap: 4px;
}

#mapLegend .lText {
	display: flex;
    align-items: center;
    padding-top: 1px;
    color: white;
}

#polyControls {
	z-index: 1101;
	display: none;
}

#markControls {
	z-index: 1102;
}

.mapControls fieldset {
	padding-bottom: 5px;
	text-align: center;
}

#extraBtns2SavePoly {
	display: none;
}

#newFenceInformer {
	display: none;
	padding:1px 3px 1px 3px!important;
}

.closeX {
    font: normal 1em/1 Arial, sans-serif;
    font-size: 15px!important;
    display: inline-block;
    border: 1px solid gray;
    background-color: #ddd!important;
    cursor: pointer;
    position: absolute;
    right: 0px;
    width: 14px;
    padding-left: 0px!important;
}

.photoIcons {
    position: relative!important;
	border: 2px outset #888;
	background-color: #ddd;
    background-position: center center;
	background-repeat: no-repeat;
    moz-border-radius: 2px;
    webkit-border-radius: 2px;
    border-radius: 4px;
	width: 35px;
	height: 35px;
	cursor: pointer;
	display: none;
}

.tieIcon {
    background-image: url('icons/tie.png');
    top: -40px;
    left: 2px;
}

.tieIconAuto {
    background-image: url('icons/tiea.png');
	background-color: #f90!important;
}

.removeIcon {
    background-image: url('icons/68.png');
    top: -40px;
    left: 2px;
}

.gpsIcon {
	background-image: url('icons/gps.png');
	top: -115px;
	left: 2px;
}


.phProgressContainer {
	position: relative!important;
    background-color: yellow;
    height:17px;
	text-align: center;
	font-size: small;
	font-style: italic;
    /*margin-top: -70px;*/
}

.noSizeBlock {
	position: relative!important;
    width: 0px;
    height: 0px;
    opacity: 0.6;
}

.tieBtnSelected {
	background-color: yellow;
}
.qTableSelected {
	background-color: yellow!important;
	cursor: default!important;
}

.addDataRows {
	background-image: url("icons/greenbg.png");
}

.photoBlockSelected {
	border: 2px solid #cd0a0a!important;
	margin: -1px;
    margin-bottom: 3px!important;
}

.photoUrlClass {
    margin-bottom: 10px;
}

.exPhotosClass {
	-webkit-filter: sepia(1);
	filter: sepia(1);
}

#photosDivider {
	border: 0;
	height: 2px;
	background: #000;
	background-image: -webkit-linear-gradient(left, #fff, #000, #fff);
	background-image: -moz-linear-gradient(left, #fff, #000, #fff);
	background-image: -ms-linear-gradient(left, #fff, #000, #fff);
	background-image: -o-linear-gradient(left, #fff, #000, #fff);
}

.chkcontainer {
  display: block;
  position: relative;
  padding-left: 35px;
  padding-top: 3px;
  margin-bottom: 12px;
  cursor: pointer;
  user-select: none;
}

.chkcontainer input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

#settingsDiv fieldset legend {
	font-weight: bold;
}

#settingsDiv button {
	font-weight: bold;
	font-size: 0.85em;
}

#settingsDiv p {
	margin: 5px;
}



.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
	border: 1px solid darkgray;
	border-radius: 1px;
  background-color: #e5e5e5;
}

.chkcontainer:hover input ~ .checkmark {
  background-color: #aaa;
}

.chkcontainer input:checked ~ .checkmark {
  background-color: #777;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.chkcontainer input:checked ~ .checkmark:after {
  display: block;
}

.chkcontainer .checkmark:after {
  left: 8px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#importHelpInfo table {
	border: 1px solid black; 
	font-family: tahoma;
	font-size: 11px;
	font-weight: bold;
	border-spacing: 0px;
  	border-collapse: collapse;
}

#importHelpInfo td {
	border: 1px solid black;
	padding: 5px;
}

#importHelpInfo tr:first-child {
	text-align: center;
	background-color: lightgray;
}

.uiShadow {
	box-shadow: 0 0 10px rgba(0,0,0,0.7);
}

.flex {
	display: flex;
}

#langSelectWrapper {
	z-index: 8000;						/* dialog's modal is 8999*/
	position: fixed;
	top: 29px;
	left: 4px;
}

#langSelect {
	top:0px;
	width: 43px;
	position: relative;
	text-align: center;
	box-shadow: 2px 2px 2px darkgrey;
	border: 1px solid grey;
	border-radius: 5px;
	padding: 10px 2px 2px 2px;
	background-color: #777;
	color: #f3f3f3;
	/*cursor: pointer;*/
	line-height: 22px;
	transition: all 0.2s ease-out;
	cursor: pointer;
}

#langSelect._init {
	top: -50px;
}

#langSelect a {
	color: darkgrey;
	text-decoration:none;
}
#langSelect a:hover {
	color: yellow;
	text-decoration: underline;
}

#langSelect:hover {
	top:22px;
	/*transform: translateY(23px);*/
}

#version {
	position:fixed;
	color: grey;
	font-size: x-small;
}

.graveNumberPopup .leaflet-popup-content-wrapper {
	border-radius: 7px;
	text-align: center;
	font-size: medium;
	font-weight: bold;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none;
}

.graveNumberPopup .leaflet-popup-content {
	margin: 2px 18px 2px 15px;
}