/*

<selector> { <attribute>:<value>; }

selector can be an html tag, a tag id or a class name respectively:

p { height:10px; }
#myid { height:10px; }
.myclass { height:10px; }


*/
:not(table, th, td) {
	font-family:"Arial";
	/*font-size:1em;*/
}

#screenlabel { height:10%; text-align:left; white-space: nowrap; }
#contentpane { height:70%; }
#statusbar { height:10%; }

html { height: 100%; box-sizing: border-box; /*position: fixed; overflow-y:auto;*/ overscroll-behavior: none; }

*, *:before, *:after {
  box-sizing: inherit;
}

body { overscroll-behavior: none; /*position: fixed; overflow-y:auto;/*overflow-y:hidden;*/ border:0; margin:0; padding:0; margin:0; height:100%; width:100%; display:flex; display:-ms-flexbox; flex-direction:column; }
td { vertical-align:top; }
textarea {
    resize: none;
}

div, button {
	touch-action:manipulation;
}

textarea {
    resize: none;
}

#logintitleimage {
	width:320px;margin-top:40px;margin-bottom:20px;
}

.horizontalrule {
    border-top: 1px solid #555;
    border-bottom: 1px solid #808080;
    margin-top: 8px;
    margin-bottom: 8px;
}

.contentdiv,.flexitem { flex:1 1 0;-webkit-flex:1 1 0; text-align: center; }

.parentdiv, .flexitemempty { flex:0 1 auto;-webkit-flex:0 1 auto; }

.parentdiv { /*width: 100%; position: fixed; */ 
	border:0; 
	/* border-width:1; border-top:1px solid black;border-left:1px solid black;border-right:1px solid black; */ 
	background:#D0D0D0; 
	z-index:10;
}
.apptitlebar { /*border: 1px solid #778;*/ color:black; /* background: #7abcff; /* Old browsers */
background: #abd0f0; 
margin-top:0; margin-bottom:0; }
.screencaption { color:black; background:#D0D0D0; margin-top:0; }
.contentdiv { padding-top:8px; color:black; background:white; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling:touch; }
/* Tab Bar Class */

#fielddiv {
	margin:0;display:block;overflow:auto;-webkit-overflow-scrolling:touch;
	/*height:300px;width:99%;*/
}

.fullwidthdiv
{
	width:100%;
	margin:0;
	overflow-x:auto;
	overflow-y:hidden;
	white-space:nowrap;
}

.tabbar
{
padding: 3px 0;
padding-right: 3px;
margin-left: 0;
margin-bottom: 0;
border-bottom: 1px solid black;
font: bold 12px;

}

.tabbar ul
{
margin: 0;
display: inline-block;
white-space: nowrap;
border: 1px solid red;
}

.tabbar li
{
list-style: none;
margin: 0;
display: inline;
}

.tabbar li a
{
padding: 8px 0.5em;
/*margin-left: 3px;
margin-right: 3px;*/
border: 1px solid black;
background: #E0E0E0;
text-decoration: none;
cursor:pointer;
white-space: nowrap; 
}


.tabbar li a:link { color: black; }
.tabbar li a:visited { color: black; }

.tabbar li /*a*/ a:hover
{
color: #000;
background: #A3B8CC;
border-color: #227;
}

.tabbar li.current_tab
{
background: white;
border-bottom: 1px solid white;
}

.tabbar li a.current_tab
{
background: white;
border-bottom: 1px solid white;
/*font-size: 115%;*/
}

.tabbar li a.invisibletab
{
border:0;
background: none;
border-bottom: 1px solid black;
cursor: default;
}

/* Button Strip */
.buttonstrip ul
{
	display: inline-block;
	white-space: nowrap;
}

.buttonstrip li
{
	list-style: none;
	margin: 0;
	display: inline;
}

/* MENU Class */
/* Put ul inside div. Apply class to div. */
.menuicon { vertical-align: middle; padding-left: 5px }
.menuseparator { border-top:1px solid darkgray; margin-top:1px; margin-bottom:1px; }
#facademenubar { height:48px;box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);background: #abd0f0;z-index: 4000; overflow:hidden;}
#facaderootmenu { display:table-cell;vertical-align: middle;height:48px; font-size: 16px; }
#facaderootmenulabel {
	position: absolute;
    padding-left: 5px;
    height: 48px;
    margin-top: 5px;    
}

#facadesubmenu_level1, .facadesubmenu_level2 {
	background:#E0E0E0;
	border-right:1px solid grey;
	border-top:1px solid grey;
	width:150px;
	position:absolute;
	top:48px;
	bottom:0px;
	text-align:center;
	display:none;
	overflow-y:auto;
	z-index:5000;
	-webkit-overflow-scrolling:touch;
}

.facadesubmenu_level2 {
	border:1px solid grey;
	left:149px;
}

.facademenuitem {
	display:inline-block;
	width:100%;
	text-decoration:none;
	color:black;
	padding-top:10px;
	padding-bottom:10px;
	font-size:20px;
	cursor: pointer;
}

.facademenuitem:hover { 
	background:#A3B8CC; 
	color:black; 
}


.facaderesultstablenoresultmessage { font-size:20px; margin-top:32px; }
.facaderesultstablefocusedrow { background:#A3B8CC; }
.facaderesultstableoddrow { background:White; }
.facaderesultstableevenrow { background:LightGray; }
.facaderesultstable tr:hover { border:1px solid LightBlue; background-color:LightBlue; color:black; }
.facaderesultstable { 
	border:1px; 
	margin-left:auto;
	margin-right:auto;
	border-collapse:collapse;
	padding:1px;
	-webkit-overflow-scrolling:touch;
}

.facaderesultstable th { white-space: nowrap; vertical-align:top; padding-right:10px }

.facaderesultstable tr
{
	-webkit-transition: all 0.2s ease 0s;
	   -moz-transition: all 0.2s ease 0s;
		 -o-transition: all 0.2s ease 0s;
			transition: all 0.2s ease 0s;

}

.facaderesultstable td 
{ 
	border: 1px solid DimGray; 
	white-space: nowrap; 
	vertical-align:top; 
	padding-right:10px;
	font-family:Menlo,Lucida Console, Monaco, Liberation Mono, DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier,Courier New,Consolas,monospace; 
	padding-top:6px;
	padding-bottom:6px;
	
}

.facaderesultstablecolumnheader { width:100%; border:outset 1px #f7f5e8; background-color:#e2ddcc; }

.facaderesultstablecolumnheaderunsorted { border-style: solid; border-color: White; background:DimGray; color: White;}
.facaderesultstablecolumnheadersortedasc { border-style: solid; border-color: White; background: LightGreen;  color: Black; }
.facaderesultstablecolumnheadersorteddesc { border-style: solid; border-color: White; background: LightCoral;  color: Black;}
.facaderesultstablefooter { border-style: solid; border-color: White; background:White; color: White;}

.facaderesultstablerowheader { background-color:#e2ddcc; }

.facaderesultstablesortedcolumnheader { width:100%; border:outset 1px #f7f5e8; background-color:#c0bbaa; }

.facaderesultstablegroup {
	background:#004C70;
	color:White;
	border: 1px solid #004C70;
}

.facaderesultstablegroup2 {
	background:#364d59;
	color:White;
	border: 1px solid #364d59;
}

.facaderesultstablegroup3 {
	background:#496978;
	color:White;
	border: 1px solid #496978;
}

.facaderesultstablegroup4 {
	background:#006EA2;
	color:White;
	border: 1px solid #006EA2;
}

.facaderesultstablegroup th, .facaderesultstablegroup td {
	border-left: 0px;
	border-right: 0px;
}

.facadelabel {
	text-align: right;
	font-weight:bold;
	font-size:1.3em;
}

.fieldcell {
    vertical-align: middle;
    /*max-width: 320px;*/
}
.facadetoplabel {
	font-weight:bold;
	font-size:1.3em;
}

.facadetextarealabel {
	font-weight:bold;
	font-size:1.3em;
}

.facadetext, .facadeselect, .facadedate, .facadecolor, .facadetime {
	height:40px;
	font-size:1.3em;
	min-width: 360px;
}


.facadetextarea {
	font-size:1.3em;
	min-width:300px;
}

.facadewebimage { 
	border:1px solid black;
	display:block; 
}

.facadeselectboxmultiselect  {
	margin-left:auto;
	margin-right:auto;
}

.facadeselectboxmultiselect div div span {
	border-radius: 2px;
	background: #dfdfde;
	margin-right: 6px;
	margin-bottom: 6px;
	padding: 3px;
	padding-left: 8px;
	display:inline-block;
	cursor:pointer;
}

.facadeselectboxmultiselect div div span span {
	margin:0px;
	margin-left:4px;
	font-family:fontello;
	padding-left: 3px;
}

.facadeattachment {
	font-weight:bold;
	padding:8px;
	border-radius:8px;
	background-color:lightgray;
	margin:8px;
	display:flex;
}

.facadeattachment :first-child {
	flex-grow: 1;
}

.facadecodeeditordiv {
	width:100%;
	height:600px;
	min-width:800px;
}

@media screen and (max-width: 599px) {
  .facaderesultstable {
    border: 0;
    width:100%;
  }
  
  .facaderesultstable thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  #resultbody {
	width: 100vw;
	-webkit-overflow-scrolling:touch;
  }
  
  .facaderesultstable tr {
    border-bottom: 1px solid black;
    display: block;
    /*margin-bottom: .625em;*/    
  }
  
  .facaderesultstable td {
    /* border-bottom: 1px solid #ddd; */
    border:0px;
    display: block;
    font-size: 1.0em;
    text-align: right;
    font-family:"Arial";
    padding:2px;
    text-overflow: ellipsis;
	overflow-x: hidden;
  }
  
  .facaderesultstable td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    /*content: attr(data-label);*/
    float: left;
    font-weight: bold;
    margin-right:6px;
    /*text-transform: uppercase;*/
  }
  
  .facaderesultstable td:last-child {
    border-bottom: 0;
  }

	.facadelabel {
		text-align: left;
		font-size:0.75em;	
	}
	
	.fieldcell {
		display:block;		
		width:360px;
		font-size:1.0em;
	}
	
	.facadetext, .facadeselect, .facadedate, .facadecolor, .facadetime {
		width:100%;
		height:40px;
		font-size:1.3em;
		min-width:unset;
	}
	
	.facadecheckbox {
		transform: scale(1.5);
		margin-left:5px;
	}
	
	.facadetextarea {
		font-size: 1.3em;
	}

	.facadetoplabel {
		font-size:1.0em;
	}
	
	.facadetextarealabel {
		font-size:1.0em;
	}

	.facadecodeeditordiv {
		min-width:512px;
	}
}

@media screen and (max-width: 399px) {
	.fieldcell {
		width:320px;
	}

	.facadecodeeditordiv {
		min-width:320px;
	}
}
	
.fieldlistfooterspacer {
	height:150px;
}
.centeredMaxWidth320 {
	max-width:320px;
	text-align:center;
	margin:auto;
}

div.overlaydiv { height:100%;width:100%;position:fixed;background:gray;left:0px;top:0px;z-index:1000000;margin:0;border:0;padding:0;visibility:hidden;filter:alpha(opacity=60);-moz-opacity: 0.6;opacity: 0.6; }
div.popupmessagediv { min-height:320px;width:300px;min-width:300px;left: calc(50% - 150px); top:calc(50% - 150px); position:fixed;background:#D0D0D0;z-index:1000200;visibility:hidden; border: 1px solid black; }
.messageboxtitle { color:black;border-bottom:1px solid black;background:#abd0f0;font-size:120%;padding:2px 4px 2px 4px; }
.messageboxbody {color:black;font-size:120%;padding:2px 4px 2px 4px;overflow:auto;height:244px;overflow-wrap:break-word;}

@media screen and (min-width:460px) {
	div.popupmessagediv {
		min-width: 400px;
		width: 400px;
		left: calc(50% - 200px);		
	}
}

input:not([type]), input[type=""], input[type=text], input[type=password] { border: 1px #ccc solid; }
input[type='text'], input[type='number'], textarea { border: 1px #ccc solid; }
input[type=submit], button {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf));
	background:-moz-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-webkit-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-o-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-ms-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf',GradientType=0);
	background-color:#ededed;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #dcdcdc;
	display:inline-block;
	cursor:pointer;
	color:#444444;
	font-size:28px;
	/*font-weight:bold;*/
	padding:3px 6px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
	margin: 0px 3px 0px 3px;
	min-width: 32px;
}

/* For Firefox */
input[type='number'] {
    -moz-appearance:textfield;
}

/* Webkit browsers like Safari and Chrome */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number]:focus {
    border: 1px #ccc solid; 
}


#crudsave, #crudcancel, #cruddelete, #crudinsert, 
#navgotofirst, #navgotoprevious, #navgotonext, #navgotolast {
	min-width: 40px;
	margin: 0px;
	font-family:'fontello';
}

input[type=submit]:hover:enabled, button:hover:enabled {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed));
	background:-moz-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-webkit-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-o-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-ms-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:linear-gradient(to bottom, #dfdfdf 5%, #ededed 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed',GradientType=0);
	background-color:#dfdfdf;
}

input[type=submit]:disabled, button:disabled {
    color:#999999;
}

input[type=submit]:active:enabled, button:active:enabled {
	position:relative;
	top:1px;
}


.pika-prev, .pika-next {
    font-size:0px;
}
/*
.pika-prev:hover,
.pika-next:hover {
    opacity: 0.5;  
    color: red;
    background: green;
}
*/

.googlemapmarkerlabel {
  color: black;
  font-family: "Arial";
  font-size: 10px;
  text-align: center;
  width: 30px;
  white-space: nowrap;
}

img {
	/*Settings To Disable Drag*/
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.ace_editor * {
	font-family: monospace !important;
}