html {
	height: 100%;
}

body {
	height: 100%;
	margin:0; 
	padding:0;
	overflow:hidden;
	text-align: center;
}

* {
	font-family: sans-serif;
	font-size: 15px;
}

canvas.rbi_canvas {
	margin: 0;
	padding: 0;
	overflow: hidden;
	z-index: 1;
}

.noselect {
  -webkit-touch-callout: none;
	-webkit-user-select: none;
	 -khtml-user-select: none;
	   -moz-user-select: none;
			user-select: none; 
}

#dlg_container {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background: #f2f2f2;
	
	z-index: 10;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0;
	position: absolute;
	background: rgba(0,0,0,0.8);
}

#dlg_container div.ui {
	text-align: center;
	display:table;
	margin-left: auto;
	margin-right: auto;
	margin-top: 200px;
	padding: 0;
}

#rbi_paste_text {
	border: black 1px solid;
	padding: 2px;
	text-align: left;
	margin: 0 auto;
	width: 90%;
	height: 120px;
	resize: vertical;
}

#dlg_container table {
	width: 100%;
	margin: 2px auto;
}
#dlg_container table.right-buttons {
	margin-right: 0px;
	margin-left: auto;
	width: auto;
}
#dlg_container table.left-buttons {
	margin-right: auto;
	margin-left: 0px;
	width: auto;
}

#dlg_container td.login-labels {
	width:34%;
	text-align: right;
}
#dlg_container td.login-inputs {
	width:66%;
	text-align: left;
}
#dlg_container td {
	padding: 3px;
	text-align: center;
}

label.floating {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;

	position: absolute;
	white-space:nowrap;
	margin: 0px;
	padding: 0px 5px;
	font-size: 12px;
	background: snow;
	color: dimgrey;
	border: 1px groove;
}

#statustext {
	bottom: 0;
	left: 0;
}

#tooltiptext {
	top: 0;
	left: 0;
	display: none;
}

hr {
	border-top: solid 1px lightgray;
	border-bottom: 0px;
}

.menu {
	width: 250px;
	box-shadow: 0 4px 5px 3px rgba(0, 0, 0, 0.2);
	position: fixed;
	display: none;
	border: solid 1px lightgray;
	text-align: left;
}

.menu-options {
	margin: 0px;
	list-style: none;
	padding-left: 25px;
	background-color: #f2f2f2;
}

.menu-options.sub {
	padding-left: 0px;
}

.menu-option {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 14px;
	padding: 5px 10px 5px 10px;
	cursor: pointer;
	list-style-position: outside;
}

.menu-option:hover {
	color: #000;
	background-color: #00ace6;
}

.menu-option.disabled {
	color: darkgrey;
}
.menu-option.disabled:hover {
	color: darkgrey;
	background-color: initial;
}

.menu-option.toggle-on {
	list-style-image: url('/images/checkmark-12.png');
	list-style-type:square;
}

.shadow-dialog {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 100px; /* 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 */
}

.shadow-dialog-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
}

.alert-button {
	min-width: 120px;
}

fieldset {
	max-width: 600px;
}

.dlg-text {
	text-align: left; 
	overflow-wrap: break-word; 
	max-height: 100px; 
	max-width: 500px;
	overflow: hidden;
}

#alert-content {
	width:50%; 
	border-radius: 3px;
}

#alert-text {
	padding: 20px;
}

.divider{
    width:5px;
    height:auto;
    display:inline-block;
}

.finddlg{
	margin-top: 0px; 
	position: absolute; 
	top: 0px; 
	right: 74px; 
	background-color: #fff; 
	border: 1px solid #d9d9d9; 
	box-shadow: 1px 2px 4px #888888;
	display: none;
}

.findtext {
	border: 0px; 
	font: 14px Arial; 
	height: 38px; 
	width: 234px; 
	padding-left: 8px;
	background: transparent;
}
.findbutton{
	background: #fff;
	cursor: pointer;
	border: 0px;
	padding: 4px 4px;
	border-radius: 50%;
}
.findbutton:hover{
	background: #eee;
}
img.findicon {
	height: 16px;
	width: 16px;
}
.findtext:focus {
	outline:none;
}

@media all and (max-width: 768px) {
	#dlg_container div.ui {
		text-align: center;
		display:table;
		margin-left: auto;
		margin-right: auto;
		margin-top: 60px;
		padding: 0;
		white-space: normal;
	}

	#main_buttons {
		white-space: normal;
		min-width: 100px;
	}
	#dlg_container input.small-button {
		width: 100px;
		height: 30px;
		font-size:12px;
		white-space: normal;
  }
}
.findprevicon{
	width: 32px;
	height: 32px;
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAAkUlEQVRYhe2USwqAMAwF5wCutXhRl15SrJ5GF1aQ4q82UYQMBEoJnZcsCoZh5FGG+gQH9KHc2/IK6IAp1AjUb8kd4IPYR2f1TWwnH1imLjd3qpvYk6+ohziTq4e4I1cLkSIXD/FELhYiR54dQkL+OISkPDlEgd6vFv+exVFjg9zkMesm2qvGw3QCaL5tGIbxU2aiCUdzRyJz1wAAAABJRU5ErkJggg==");
}
.findnexticon{
	width: 32px;
	height: 32px;
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAAkElEQVRYhe2UPQqAMAxG3wE6a/G0jh5Q/DlNXVKQSkVrWpc8CF1K3pcMAcMwDOOK+7P3COzAUEHeAzMw5T44YAWCvF5R7pPe2U10kjKgt4k4eQC2Jz01Q7yWa4YolmuE+Cz/EkJNXhJCXf4mRDX5kxDV5Xchmskj6VWrdT1vOW+i2eQpHlikmk2e0kkZhlHMAbgwR4XJY367AAAAAElFTkSuQmCC");
}
.findcloseicon{
	width: 32px;
	height: 32px;
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAAsklEQVRYhe2WMQ7CMAxFX5k7l4qLMtKRAyIBpwkDREJVBbV/3HTIW6oOyX9xayvQaOycvuYeE/AETkL4EbgBV+vCHrgD6fMcHeHjbA9zJQbe9gl7JfLJE/AwrpUlioV7JIqHWyTCwtdIhIf/ktgsPDNvL7VdXXxXQjr5wSnQ/XkPpeonWPrhlIkph2fCJda0WpiEpc+LS3iGTDEJZcLJEru4kJzRZ3uuxMW7QdVLaaOxCS83S2S/AHDc6AAAAABJRU5ErkJggg==");
}

/* copied from the skyhigh_isolation.css file for the viewer.html*/
body {
	font-family: Open Sans, Arial;
	color: rgb(81,87,92);
}
.modal-backdrop {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	/*Could put these back in to make the ui get covered up
	background-color: #D8D8D8;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;*/
	width: 100%;
	height: 100%;
	z-index: 2010;
}

.modal {
	position: relative;
	background: #fff;
	box-shadow: 0 5px 40px rgba(38, 41, 43, 0.1);
	padding: 20px;
	max-width: 550px;
	flex-grow: 1;
}
.header {
	display: flex;
	justify-content: space-between;
}
h1 {
	margin: 0;
	padding: 0;			
	color: #26292B;
	font-family: Open Sans, Arial;
	font-size: 24px;
	font-weight: 300;
	letter-spacing: 0;
	line-height: 33px;
}		
.cross-button[_ngcontent-pyh-c8] {
	cursor: pointer;
	padding-top: 5px;
}
.modal-drawer {
	text-align: right;
	border-top: 1px solid #B3B8BC;
	padding: 20px;
	/*margin: -20px;*/
}

.button {
	transition: none !important;
	background-color: #E4E6E7;
	border: 1px solid #c9cdcf;
	box-shadow: none;
	color: #51575C;
	margin: auto 0;
	/*min-width: 6.42857143rem;*/
	line-height: 1;
	padding: 1px 20px 0;
	height: 2.5rem;
	font-family: Open Sans, Arial;
	font-weight: 600;
	font-size: 14px;
	color: #fff;
	background-color: #005FAE;
	border-color: #00437b;

	min-width: 100px;
}

.cancel {
	color: #222;
	background-color: #eee;
}

#progress-container {
	width: 400px;
}

.progress-spin {
	display: block;
	margin: auto;
}

.content {
	margin-top: 20px;
	margin-bottom: 20px;
	color: #51575C;
	font-family: Open Sans, Arial;
	font-size: 14px;
	letter-spacing: 0;
	line-height: 21px;
	text-align: left;
}

#main_buttons, progress {
	min-width: 500px;
}

#dlg_container input.big-button {
	width: 100%;
	height: 40px;
	font-size:14px;
}

#dlg_container input.small-button {
	min-width: 200px;
	width: 200px;
	height: 30px;
	font-size:12px;
}

@media (prefers-color-scheme: dark) {

	label.floating {
		background: #212121;
		color: #eee;
	}

	#alert-content {
		background-color: #212121;
		color: #eee;
	}

	#dlg_container {
		background: #212121;
		color: #eee;
	}

	#dlg_container div.ui {
		background-color: #333333;
		color: #eee;
	}

	.modal-backdrop {
		background-color: #333333;
		color: #eee;
	}

	.menu {
		width: 250px;
		box-shadow: 0 4px 5px 3px rgba(0, 0, 0, 0.2);
		position: fixed;
		display: none;
		border: solid 1px lightgray;
		text-align: left;
	}

	.menu-options {
		background-color: #212121;
	}

	.menu-option {
		color:#eee;
	}

	.menu-option:hover {
		color: #eee;
		background-color: #333333;
	}

	.menu-option.toggle-on {
		list-style-image: url('/images/checkmark-12-white.png');
	}

	.shadow-dialog {
		background-color: rgb(0,0,0); /* Fallback color */
		background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	}

	.shadow-dialog-content {
		background-color: #212121;
		border: 1px solid #121212;
	}

	.finddlg {
		background-color: #212121;
		border: 1px solid #121212; 
		box-shadow: 1px 2px 4px #111;
	}
	.findtext {
		color:#eee;
	}
	.findbutton{
		background: #212121;
	}
	.findbutton:hover{
		background: #333333;
	}
	.findprevicon{
		width: 32px;
		height: 32px;
		background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5AcYFS8elHI0wQAAAHtJREFUWMPtlTsOwCAMQ/EVcv8z5gp0qtSFKh+nS/02hOJnGGAtIUQDd9/uvjsZ6MifazPDZwVOp66UAEteLQGmvFICHfktetujFIgIqiXAkHdKgCWvzoApr8yCLc9mYEKeycKUPJqJSXkk+3gDLHk6u/u9Mp5yIYT4FxdFGm8zzDdVQQAAAABJRU5ErkJggg==');
	}
	.findnexticon{
		width: 32px;
		height: 32px;
		background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5AcbEBcusUrVkwAAAIFJREFUWMPtlcEVwCAIQ80K7j8jK7TXPlt9CMFL888QogK2JoQQYsDMrpPamAX03lFV/KmNlTuWiZU2vIEVxV8G2CY8WogmMopPDWRN7OSCJRTNAfM0EcO0K40+GRhNlemXdGd/sTMxYMx2ZlxpCya6sMJrdjTB/rzcJiq/byH+wQ274m8zWUNKaAAAAABJRU5ErkJggg==');
	}
	.findcloseicon{
		width: 32px;
		height: 32px;
		background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5AcbEBcOiiT1WwAAAIBJREFUWMPtlt0NACEIg+2NwP4zssLdBJfwU1NN6DsVBT5ZazQ6We7+7vZAJNDM0D38zwPRrLNJRD3QNejGgmVUjQHzNpWEaU9aLRkYTdXpF+zgQmZiwAZLdlzBpFsFWI8a93eVQNqE0jGUgkiKYulnJP2Oj1tIdq5k8qV0NJLrAyqkkzqPOBkvAAAAAElFTkSuQmCC');
	}
}
