html {
	height: 100%;
}
body {
	height: 100%;
}
.app_row {
	position: relative;
	overflow: hidden;
}
.padding-bottom{
	padding-bottom: 8px;
}
.padding-top{
	padding-top: 8px;
}
.app_row  > div {
  /*padding: 16px!important;
  padding-top: 10px!important;
  padding-bottom: 10px!important;
  margin-top: 10px;
  margin-bottom: 5px;
  
  padding: 0px!important;*/
  text-shadow: none;
}
.app_row > div.nopadding{
	padding: 0px!important;
}

.app_editbox{
	padding: 4px;
	position: relative;
	overflow: hidden;
}
.app_calcbox {
	padding: 4px;
	position: relative;
	overflow: hidden;	
}
.newbox {
	
	border: 1px dashed #006699;
	border-radius: 4px;
}

.newbox i{
	padding: 5px;
	overflow: visible;
	margin-right: 5px!important;
	margin-bottom: 5px!important;
	margin-left: 5px!important;
}
.app_editbox  i{
	margin-right: 0px!important;
}
.newrecord{
	/*clear: left;*/
}

.textbox, .dropdown {
	padding: 8px!important;
	padding-top: 8px!important;
	margin-top: 0px;
	overflow: visible;
}
.appcol {
	min-height: 71px;
}
.appclear{
	display: block;
	position: relative;
	width: 100%!important;
	clear: both;
	float: none;
	overflow:hidden!important;
	height: 0px;
} 
.appnewline {
	clear: left;
}
div.editable ~ div.appclear{
	height: 65px;
}
.svRecord {
	height: 0px;
}
.svRecord.w3-show {
	min-height: 80px!important;
}
.appDebug{
	z-index: 10000;
    position: fixed;
	padding: 50;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	background-color: red;
	background: rgba(255, 0, 0, 0.95);
	width: 70vw;
	color: white;
} 

.appsavebox {
	overflow: visible;
	margin: 4px;
	margin-bottom: 4px;
	padding-top: 4px;
	padding-bottom: 4px;
	position: absolute;
	right: 0;
	bottom: 0;
	font-size: 20px;
}
.appeditbox {
	overflow: visible;
	margin: 4px;
	margin-bottom: 4px;
	padding-top: 4px;
	padding-bottom: 4px;
	position: absolute;
	right: 0;
	top: 0;
	font-size: 16px;
}

.clearbox {
	overflow: visible;
	margin: 2px;
	margin-bottom: 4px;
	padding-top: 2px;
	position: absolute;
	left: 0;
	bottom: 0;
}
.clearbox > div, .appeditbox > div, .appsavebox > div {
	
}

.clearbox i:hover, .appeditbox i:hover, .appsavebox i:hover{
	cursor:pointer;
	box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}

#appContent{
	overflow:hidden;
}
#appContent i.w3-btn{
	padding: 6px;
}
.app_tbl_headrow{
	position: relative;
	font-size: 24px;
	background-color: #006699;
	color: white;
	position: relative;
	padding: 8px;
	padding-left: 0px;
	padding-right: 0px;
}
.app_tbl_headrow div.recordrow > div{
  padding-left: 16px!important;
  /*padding-right: 16px!important;*/
}
.appNewBtn{
	margin: 0px!important;
	min-width: 25px;
	position: absolute;
	right: 0px;
}
.appNewBtn i{
    margin-right: 12px!important;
}
.delbtn{
	float: left;
	background-color: inherit;
	padding: 2px;
}

.appdata{
	margin-top: 0px;
	margin-bottom: 1px;
	border: 2px solid transparent;
}
.tblCol {
	float: left;
}
.selectOption{
	padding: 5px;
	width: calc(100% - 10px);
	border-radius: 5px;
	border: thin solid grey;
	margin: 5px!important;
	text-shadow: none;
}
.selectOption:hover{
	background-color: grey;
	color: white;
	cursor: pointer;
}
.selectOption.selected{
	background-color: #4CAF50;
	color: white;
}
.selectOption.selected:hover{
	cursor: auto;
}
.newFK{
	position: relative;
	overflow: hidden;
	padding: 16px;
	clear: both;
}
.editable.textbox{
	min-height: auto;
}
.inline-label{
	margin-right: -4px;
	text-align: right;
	border: 2px solid transparent;
}
.inline-label span {
	padding-left: 0px!important;
}
.minheight{
	min-height: 40px!important;
}
.recordrow {
	padding-top: 8px;
    padding-bottom: 8px;
    overflow: hidden;
}
.recordrow.delete{
	display: inline-block;
	width: calc(100%);
}
.recordrow.nodelete{
	width: 100%;
}
.deletespace{
	display: block;
	float: left;
	width: 48px;
}
.datasheet.rowcontainer {
	height: 45px;
	overflow: hidden;
}

.datasheet.rowselector {
	overflow: visible;
	width: 35px;
	float: left;
	height: 100%;
	color: red;
	margin-top: 6px;
}
.datasheet.rowselector.disabled i{
	display: none;
}
.datasheet.datarow {
	width: calc(100% - 35px);
	float: left;
}
.datasheet.rowselector i:hover{
	cursor: pointer;
	box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}
.datasheet.insertrow .field{
	color: grey;
}
.textbox.appfld{
	min-height: 42px;
}
.textbox.appfld[contenteditable=false][data-editable='1']{
	cursor: pointer;
}
.textbox.pk {
	padding-left: 0px!important;
	padding-right: 0px!important;
}
.dropdown[data-editable='1'] {
	cursor: pointer;
}
 /* Style the tab */
div.tab {
    float: left;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    width: 30%;
    height: 300px;
}

/* Style the buttons inside the tab */
div.tab button {
    display: block;
    background-color: inherit;
    color: black;
    padding: 22px 16px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
div.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current "tab button" class */
div.tab button.activetab {
    background-color: #ccc;
}

div.datasheet.field{
	height: 45px;
	overflow-y: hidden;
}
/* Style the tab content */
.tabcontent {
    float: left;
    padding: 0px 12px;
    border: 1px solid #ccc;
    width: 70%;
    border-left: none;
    height: 300px;
} 

.allowWrap{
	white-space: normal!important;
}
.app_tbl_headrow {
	text-shadow: none;
}
.appTab {
	width: 25%;
	text-shadow: none;
	float: right;
	clear: right;
	text-align: center;
	font-size: 1.25em;
	padding: 5px;
}
.appTab:hover {
	opacity: 1;
	cursor:pointer;
	box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}
.appTab:hover + div{
	background-color: white;
	box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}
.app_match_pad {
	padding-top: 14px;
	padding-bottom: 14px;
}
h3.appTabBlockHeader {
	float: left;
	clear: right;
}
.appTab + div {
	width: 100%;
	float: left;
	clear: right;
	border-top-left-radius: 4px;
	border-top-right-radius: 0px;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}
.tabOnTop {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
}
.tabOnBottom{
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}
.w3-col.s0 {
	display: none;
}
ul {
	list-style-position: outside;
}
ul li{
	line-height: 120%;
	margin-bottom: 8px;
}
hr.floatclear{
	margin-bottom: 15px;
}
/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover, .close:focus {
    text-decoration: none;
    cursor: pointer;
}
.modal-content {
	min-height: 80%;
    background-color: white;
	background: white;
	display: block;
    border-radius: 15px;
}
.modal-header {
	/* position:absolute; */
	display: block;
	top: 0px;
	left: 0px;
    padding: 15px;
	PADDING-TOP: 0PX;
    background-color: #0099cc;
    color: white>;
	width: 100%;
	height: 66px;
	border: none;
	/* border-top: 1px solid black;*/
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow: hidden;
    clear: both;
}
body.modal-open {
	position: fixed;
	width: 100%;
}
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 60px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 0px;
    width: 90%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s

}

.modal-body {
	display:block;
	width: 100%;
	padding: 27px;
	padding-top: 27px;
	
	overflow-y: auto;
	/* position:absolute; */
	-webkit-overflow-scrolling: touch;
    border-radius: 15px;
}
.modal-content.fullscreenmod {
    width: 100%;
}
.modal.fullscreenmod{
	padding-top: 0px; /* Location of the box */
}
.modal-header.fullscreenmod {
	overflow: hidden;
	height: 40px;
}
.modal-content.fullscreenmod {
	width: 100%;
	min-height: 100vh;
}
.modal-body.fullscreenmod {
	padding-top: 0px;
	top: 40px;
	bottom: 0px;
	left: 0px;
	right: 0px;
}

.modal-header h2{
	color: white;
}

@media all and (max-width: 500px) {/*phone*/
	.inline-label{
		text-align: left;
	}
	.deletespace {
		display: none;
	}
}
@media all and (max-width: 1000px) {/*tablet*/
	.appTab {
		width: 50%;
	}
	.deletespace {
		display: none;
	}
}
@media (min-width:601px){
	.w3-col.s0 {
		display: block;
	}
	.deletespace + div.w3-col {
		width: calc(8.3333% - 48px);
	}	
}
@media all and (min-width: 500px) {
	.inline-label{
		text-align: left;
	}
	.app_tbl_headrow div.deletespace + div.w3-col {
		width: calc(8.3333% - 48px);
		padding-left: 0px!important;
		padding-right: 0px!important;
	}
}

@media only screen and (min-width: 1070px) {/*desktop*/
	.inline-label{
		text-align: right;
	}	
	.app_tbl_headrow div.deletespace + div.w3-col {
		width: calc(8.3333% - 48px);
		padding-left: 0px!important;
		padding-right: 0px!important;
	}
}