/********
* Fonts *
*********/
body {
	margin: 0;
	padding: 0;
}

*,
body {
	font-family: Verdana,Arial,sans-serif;
	font-size: 12px;
}

sup {
    vertical-align: super;
    font-size: 10px;
}

.rgl-default-font {
	font-size: 12px !important;
}

input::-ms-clear {
    display: none;
}

div#rgl-page-footer,
div#rgl-page-footer *,
.rgl-prompt,
.rgl-table > thead *,
.rgl-widget-header.rgl-secondary *,
li.rgl-header-menu-spacer-with-text,
div.rgl-page-results-count,
.ui-autocomplete.ui-menu,
.ui-autocomplete.ui-menu *,
*.rgl-small,
.rgl-small *,
.rgl-small {
	font-size: 9px;
}

*.rgl-big,
.rgl-big * {
	font-size: 14px;
}

.rgl-font-red {
	color: #ff0000;
}

/*********************
* Misc Global Styles *
**********************/
body {
	background-color: #cccccc;
	color: black;
}

form {
	display: inline;
}

button,
input,
select,
textarea {
	border: 1px solid #999999;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;

	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;

	vertical-align: top;
	margin: 0;
	padding: 0.083em 0.25em;
	min-height: 16px;
	*min-height: 0;
}

input:focus,
select:focus,
textarea:focus {
	border-color: #3388cc;
	box-shadow: 0 0 4px #38c inset;
	outline-width: 0;
}

input:focus[readonly],
select:focus[readonly],
textarea:focus[readonly] {
	box-shadow: none;
	border-color: inherit;
}

textarea {
	resize: vertical;
}

input[type=text],
input[type=password] {
	height: 1.667em;
	*height: 1.333em;
}

button,
select {
	height: 1.667em;
}

.rgl-small select,
select.rgl-small {
	padding: 0;
	height: 1.777em;
}

select[multiple],
select[multiple].rgl-small {
	height: auto;
}

label,
input[type="radio"],
input[type="checkbox"] {
	border: none;
	margin-right: .4em;
}

img {
	border: none;
}

.rgl-read-only {
	background-color: transparent !important;
	border-color: transparent !important;
	padding-top: 0;
	margin-top: -2px;
}

select.rgl-read-only {
	-webkit-appearance: none;
}

textarea.rgl-read-only {
	border-color: #d3d3d3 !important;
}
.rgl-address .rgl-read-only{
	background-color: white;
	margin-top: 0;
	border-color: #d3d3d3 !important;
}

.rgl-line-column {
	min-width: 50px;
}

a:visited {
	color: #0000ff;
	text-decoration: none;
	fill: #0000ff;
}

a:link {
	color: #0000ff;
	text-decoration: none;
	fill: #0000ff;
}

a:hover {
	color: #0000ff;
	text-decoration: underline;
	fill: #0000ff;
}

table {
	empty-cells: show;
}

table td,
table th {
	padding: 2px 4px;
}

tbody > tr > td {
	vertical-align: top;
}

.rgl-sample-html {
	display: none;
}

.rgl-zero-padding {
	padding: 0;
}

/*********
* States *
**********/

[disabled],
.rgl-state-disabled {
	cursor: not-allowed !important;
	opacity: .8;
	filter: Alpha(Opacity=80);
	background-image: none;
	background: #f5f5f5;
}

.rgl-state-active {
	background-color: #ffffff;
	color: #000000;
}

.rgl-state-notice,
.rgl-state-error {
	text-align: left;
}

.rgl-state-notice.rgl-small,
.rgl-state-error.rgl-small {
	font-weight: bold;
}

.rgl-small.rgl-state-notice,
.rgl-small.rgl-state-error {
	font-weight: bold;
}

.rgl-state-notice {
	color: #FF8C00;
}

.rgl-state-error {
	color: #FF0000;
}

.rgl-white {
	background: white !important;
}

.rgl-yellow {
	background: yellow !important;
}

.rgl-highlight {
	background-color: #fdd017;
	color: #000000;
}


/***********
* Messages *
************/
div#rgl-status-message,
div#rgl-warning-message,
div#rgl-error-message,
div#rgl-information-message {
	display: none;
	position: fixed;
	padding: 10px 15px;
	margin: 20px;
	z-index: 2000;
	border-width: 6px;
	max-width: 900px;
	max-height: 450px;
	overflow: auto;

	border-style: solid;
	border-radius: 6px;
	box-shadow: 0 0 20px #666666; /* severely slows down IE */
}

div#rgl-status-message > span,
div#rgl-warning-message > span,
div#rgl-error-message > span,
div#rgl-information-message > span {
	display: inline-block;
	max-width: 850px;
}

div#rgl-status-message {
	border-color: #00ff00;
}

div#rgl-warning-message {
	border-color: #ffff00;
}

div#rgl-error-message {
	border-color: #ff0000;
}

div#rgl-error-message {
	display:none;
}

iframe {
	border: solid;
	width: 75em;
	height: 33em;
}
/* Document Imaging */
.rgl-document-imaging iframe {
	width: 75em;
	height: 33em;
}
.rgl-document-imaging table {
	margin-top: 5px;
	min-width: 40em;
}

/* Tri-state Checkbox */
.rgl-tristate-checkbox a.rgl-tristate-checkbox-link {
	background: url("images/ui-icons_000000_256x240.png") no-repeat scroll 0 0 #ffffff;
	background-position: -240px -146px;
	border: 1px solid black;
	display: inline-block;
	height: 11px;
	width: 11px;
	margin: 1px .4em 0 .4em;
	overflow: hidden;
	text-decoration: none;
}
.rgl-tristate-checkbox a.rgl-tristate-checkbox-link.rgl-tristate-checkbox-checked {
	background-position: -66px -147px;
}
.rgl-tristate-checkbox a.rgl-tristate-checkbox-link.rgl-tristate-checkbox-partial {
	background-position: -82px -147px;
}

.rgl-tristate-checkbox input[type=checkbox] {
	position: absolute;
	opacity: 0;
	filter: alpha(opacity=0);
}

/* Split pages */
.splitpage-container .splitpage-left-page {
	overflow-y: scroll;
	position: relative;
	float: left;
	min-height: 300px;
	margin: 0 25px 0 0;
	border: 3px solid #3c3c3c;
	text-align: left;
}

.splitpage-container .splitpage-right-page {
	float: left;
	margin: 20px 0;
}

/* Graphs */
.rgl-graph-tooltip {
	font-size: 12px;
	position: absolute;
	display: none;
	border: 2px solid;
	padding: 2px;
	background-color: #FFF;
	opacity: 0.8;
	border-radius: 5px;
	text-align: center;
}

rect.background {
	fill: none;
}

.rgl-batch-table-div {
	height: 500px;
	overflow: auto;
}

/* Text  Editor */
.ck-editor__editable {
	min-height: 150px;
}

.ck-editor p {
	margin: 0em;
}

.rgl-move {
	cursor: move;
}
