/* set global style - monospace fonts */
* 
{
	font-family: 'Roboto Mono', monospace;
	font-size: 15px;	
	font-weight: normal;
}

body 
{ 
	margin: 0;
} 

/* Override jQuery UI styling */
.ui-widget
{
	font-family: 'Roboto Mono', monospace;
}

.ui-widget input
{
	font-family: 'Roboto Mono', monospace !important;
}

html, body
{
	margin:0;
	padding:0;
	border:none;
	-webkit-overflow-scrolling: touch !important;
	overflow: hidden;
	
}

.main {
	overflow: auto;
	position: fixed;
	left: 0;
	top: 52px;
	right: 0;
	bottom: 0;
}

a.menulink
{
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
}

.menulink_wrapper[style*="width:"]
{
	overflow: visible;
}

.menulink_wrapper[style*="width:"] > .btn
{
	position: absolute;
	right: 1px;
	margin-top: 2px;
	width: auto ! important;
}

html.firefox textarea 
{
	overflow-x: hidden;
	padding-top: 2px;
}

span 
{
	white-space: default;
	overflow: hidden;
}

span > a
{
	display: inline;
}

label
{
	margin-left: 2px;
	margin-right: 2px;
}

/** DEFAULT FORMATTING **/
h1 
{
	font-size: 22px; 
	font-weight: bold; 
	color: #000; 
	margin: 0;
}

h1#content-header-detail
{
	font-weight: normal;
	max-width: 75%;
}

table
{
	width:auto; 
	border-spacing: 0px;
}
table.table
{
	width: auto;
}
#grid_wrapper td, th {
	white-space: pre;
}
td, th {
	padding: 0px;
}
img 
{
	border: 0px; 
}
textarea, button  {text-indent: 2px;margin: 1px;}
input.disabled {border: none; }


input 
{ 
	margin: 0;
	padding: 0;
}
input[type="text"], input[type="password"]
{ 
	/* font size should be the same as main font size */
	/* font 16px */
	font-size: 15px;
	line-height: 18px; 
	
	/* font 14px */
	/*
	font-size: 14px;
	line-height: 16px;
	*/
	margin: 0;
	vertical-align: top;	
	box-sizing: content-box;
}

input.field, textarea.field, select
{
	margin: 0;
	resize: none;
	padding: 0px 12px;
	width: inherit;
}

input.upperfield
{
	margin: 0;
	padding: 0px 1px 0px 1px;
	border: 1px solid black;
}

.password 
{
	visibility: visible !important;
}

.uppercase 
{
	text-transform: uppercase;
}

input.protected
{
	border: 0;
}

span, label, a:not(.ui-button)
{
	line-height: 25px;
	min-height: 25px;
}

#Content span, #Content label, #Content a:not(.ui-button)
{
	line-height: 25px;
}

#Content .AutoTable span, #Content .AutoTable a
{
	/* line height should main font size plus two */
	/* font 16px */
	line-height: 18px; 
	
	/* font 14px */
	/*line-height: 16px;*/
	
	min-height: 0;
}

#gview_grid span, #gview_grid label
{
	font-size: 15px;
	line-height: 17px;
	min-height: 0px;
	overflow: visible;
}

input.guisel
{
	margin-top: 6px;
}

#MessageWaiting, #EOF
{
	cursor: default;
	font-weight: normal;
	text-align: center;
	font-size: 13px;
	width: 24px;
	border: 2px solid white;
	border-radius: 4px;
	color: white;
	position: relative;
	line-height: inherit;
	min-height: auto;
}

#EOF
{
	width: 30px;
}

/** END - DEFAULT FORMATTING **/

input[type="button"].scroll_up, input[type="button"].scroll_down, input[type="button"].scroll_up:hover, input[type="button"].scroll_down:hover
{
	background: #CCCCCC;
	border: #26a solid 1px;
	margin: 0px;
	height: 25px;
	text-align: center;
	padding: 0px;
	background: #CCCCCC; 

	z-index: 1 !important;
	width: 15px !important;
}

@media screen and (-webkit-min-device-pixel-ratio:0)
{
	input[type="button"].scroll_up, input[type="button"].scroll_down  
	{ 
		text-indent: 0; 
	}
	input.button   { text-indent: 0px; }
}


input[type="button"].scroll_slider, input[type="button"].scroll_slider:hover 
{
	border: #2266AA solid 1px;
	height: 25px;
	padding: 0;
	background: #CCCCCC;

	z-index: 1 !important;
	width: 15px !important;
}

input[type="button"].scroll_middle
{
	padding: 0px;
	height: 25px;
	text-indent: 0;

	z-index: 1 !important;
	width: 15px !important;
}

input[type="button"].scroll_up, 
input[type="button"].scroll_down,
input[type="button"].scroll_slider,
input[type="button"].scroll_middle
{
	height: 25px;
	border-radius: 0;
}

input[type="button"].scroll_up, input[type="button"].scroll_up:hover
{
	margin-top: 2px;
	
	/* Round corners */
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
}

input[type="button"].scroll_down
{
	/* Round corners */
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}

html.msie10 input[type="button"].scroll_up, 
html.msie10 input[type="button"].scroll_down,
html.msie10 input[type="button"].scroll_slider,
html.msie10 input[type="button"].scroll_middle
{
	height: 25px;
}

html.msie9 input[type="button"].scroll_up, 
html.msie9 input[type="button"].scroll_down,
html.msie9 input[type="button"].scroll_slider,
html.msie9 input[type="button"].scroll_middle
{
	height: 25px;
}

.AutoTable input[type="button"].scroll_up, 
.AutoTable input[type="button"].scroll_down
{
	/* Use bottom padding to account for the missing height */
	padding-bottom: 22px;

	display: block;
	position: absolute !important;
	left: 24px !important;
}

.AutoTable input[type="button"].scroll_middle,
.AutoTable input[type="button"].scroll_slider
{
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 0px;

	width: 15px !important;
	height: auto;
	text-indent: 0;

	display: block;
	position: absolute !important;
	left: 24px !important;
	top: -2px !important;
	bottom: -3px;
}

input[type="button"].scroll_middle
{
	background: #ECE9D8;
	border-right: #26a solid 1px;
	border-left: #26a solid 1px;
	border-top: #26a solid 0px;
	border-bottom: #26a solid 0px;
}

.AutoTable input[type="button"].scroll_up
{
	/* Make the up arrow slightly shorter */
	height: 25px;
	margin-top: 9px;
	margin-bottom: -9px;
	top: 7px !important;
}

.AutoTable input[type="button"].scroll_down
{
	/* Make the down arrow slightly shorter */
	height: 25px;
	top: -2px !important;
}

input[type="text"]:disabled, input[type="password"]:disabled, textarea:disabled,
input[type="text"][disabled], input[type="password"][disabled]
{
	background-image: none;
	border: 1px solid;
}

input[type="button"]:disabled, input[type="button"]:disabled:hover,
input[type="button"][disabled], input[type="button"][disabled]:hover
{
	border: 1px solid;
	cursor:default;
}

select
{
	height: 22px;
	min-width: 35px;
}

.srq_window
{
	height: 50px;
	width: 250px;
	position: absolute;
	top: 250px;
	left:250px;  
	z-index: 100;
}

.srq_body 
{
	padding-bottom: 0px; 
	border: 2px solid;
}

.srq_content
{
	padding-left: 10px;;
}

#MainPage
{
	width: 100%;
}

.OaScreen #outer-content
{
	overflow: visible;
}

#page_wrapper
{
	text-align: left;
	width: 100%;
	
	/* for Centering the content */
	/*
	margin-left: auto;
	margin-right: auto;
	*/
}

#page-title-block 
{ 
	padding: 13px 30px;
}

#content-header
{
	border-bottom: 2px solid;
	padding-top: 12px;
	padding-bottom: 12px;
	padding-left: 36px;
	min-height: 28px;
}

/*Error Messages*/
#Messages
{
	height: 45px;
}

#ReturnedContent input.ErrorMsg,
#wdwpagecontents input.ErrorMsg
{
	position: relative; 
	top: 0;
	left: 0;
	text-align: center;
}

#ReturnedContent input.ErrorMsg,
#ReturnedContent > .container-fluid input.ErrorMsg
{
	width: 750px;
	height: 24px;
	padding-left: 5px;
	padding-right: 5px;
	margin-top: 1px;
}

.ErrorState
{
	cursor: pointer;
}

#m
{
	min-height:480px; 
	text-align: left;
	margin: 0;
	margin-top: -15px;
	padding-bottom: 10px;
}

body.FunctionKeysRight #Content {
	padding-left: 10px;
	padding-right: 0;
}

body.FunctionKeysLeft #Messages, body.FunctionKeysRight #Messages
{
	width: 655px;
}

body.FunctionKeysLeft div#fnckeys,
body.FunctionKeysLeft.ToggleFunctionKeys div#fnckeys {
	top: 52px;
	left: 0px;
	margin: 0px;
	z-index: 900;
	padding-top: 0;
}

body.FunctionKeysRight div#fnckeys,
body.FunctionKeysRight.ToggleFunctionKeys div#fnckeys {
	top: 52px;
	right: 0px;
	z-index: 900;
	padding-top: 0px;
}

/* Admin mode */
table.AdminTable, table.MainPage
{
	text-align: left;
	width: 100% !important;
	margin: 0;
}

a.button
{
	text-align: center;
	font-size: 14px;
}

.FunctionKeysLeft #fnckeys_wrapper a.button,
.FunctionKeysRight #fnckeys_wrapper a.button
{
	text-decoration: none;
	cursor: pointer;
	font-style: normal; 
	font-family: 'Roboto Mono', monospace;
	margin: 0;
	z-index: 10;
}

body.FunctionKeysLeft input.submit, 
body.FunctionKeysRight input.submit
{
	margin-top: 0;
}

input[type="text"], input[type="password"], textarea, select
{
	border: 1px solid;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) inset; 
}

input.disabled:hover, .FunctionKeysLeft a.disabled:hover, .FunctionKeysRight a.disabled:hover
{
	cursor: context-menu;
}

input.hover  {
	background: #D9E1E8;
}

.page_up, .page_down
{
	border: 1px solid;
	margin: 1px;
	width: 15px !important;
	text-align: center;
	padding: 0;
	padding-bottom: 4px;
	text-indent: 0;
}

#ReturnedContent input.ErrorMsg {
	border:0px;
	font-weight: normal;
	border: 1px solid;
	border-radius: 2px 2px 2px 2px;
}

#ReturnedContent input.ErrorMsg.NoErrorMessage, 
#ReturnedContent input.ErrorMsg[value=""],
#wdwpagecontents input.ErrorMsg.NoErrorMessage,
#wdwpagecontents input.ErrorMsg[value=""]
{
	background: none;
	border: 0;
	box-shadow: none;
}


/** CONTENT FORMATTING **/
/* Generated tables */
table.AutoTable {
	border: 1px solid;
}

.WinContent table.AutoTable
{
	width: auto;
}

table.AutoTable thead tr th {
	text-align: left;
	line-height: 0;
	padding-top: 0px;
	padding-bottom: 0px;
	border: 0px;
}

table.AutoTable thead tr:last-child th {
	padding-bottom: 2px;
}

table.AutoTable > tbody > tr > td
{
	position: relative;
	padding-top: 6px;
	padding-bottom: 6px;
}

table.AutoTable input.field {
	height: 17px;
}

/* Underline */
span.ul, span.ulhover:hover, span.cu, span.yu, span.ur, span.rdu, span.rru, span.rub, span.pu, span.pub, span.bu, span.cur, span.hu 
{ 
	text-decoration: underline;
}

/* Green */
.form-control.grnr, a.grnr, span.grnr, input.grnr, textarea.grnr, select.grnr, input.grnrhover:hover, textarea.grnrhover:hover, select.grnrhover:hover
{
	color: black;
	background-color: #97C63C;
}

.form-control.grn, .grn, .grnhover:hover, .grnhover:focus 
{
	color:  #97C63C;
}

/* Green/Reverse image */
.form-control.rev, a.rev, span.rev, input.rev, textarea.rev, select.rev, input.revhover:hover, textarea.revhover:hover, select.revhover:hover
{
	background-color: #99cccc;
	color: black;
}

/* Green/Underscore */
.form-control.ur, a.ur, span.ur, input.ur, textarea.ur, select.ur, input.urhover:hover, textarea.urhover:hover, select.urhover:hover
{
	background-color: #97C63C;
	color: black;
}

/* Green window border */
.winbordergrn 
{
	border: 2px solid #4579A0 !important;
}

.winbordergrnr 
{
	border: 2px solid #4579A0 !important;
}

/* Red */
.form-control.red, .red, .redhover:hover, .redhover:focus
{
	color: #FF0000;
}

/* Red/Reverse image */
.form-control.rdr, a.rdr, span.rdr, input.rdr, textarea.rdr, select.rdr, input.rdrhover:hover, textarea.rdrhover:hover, select.rdrhover:hover
{
	color: black;
	background-color: #FF0000;
}

/* Red/Blink (most browsers do not support blinking) */
.form-control.rdb, .rdb, .rdbhover:hover, .rdbhover:focus 
{
	color: #FF0000;
}

/* Red/Reverse image/Blink (most browsers do not support blinking) */
.form-control.rrb, a.rrb, span.rrb, input.rrb, textarea.rrb, select.rrb, input.rrbhover:hover, textarea.rrbhover:hover, select.rrbhover:hover
{
	color: black;
	background-color: #FF0000;
}

/* Red/Underscore) */
.form-control.rdu, .rdu, .rduhover:hover, .rduhover:focus 
{
	color: #FF0000;
}

/* Red/Underscore/Reverse image (most browsers do not support blinking)*/ 
.form-control.rru, a.rru, span.rru, input.rru, textarea.rru, select.rru, input.rruhover:hover, textarea.rruhover:hover, select.rruhover:hover
{
	background-color: #FF0000;
	color: black;
}

/* Red/Underscore/Blink (most browsers do not support blinking)*/   
.form-control.rub, .rub, .rubhover:hover, .rubhover:focus 
{
	color: #FF0000;
}

/* red window border */
.winborderred 
{
	border: 2px solid #FF0000 !important;
}

.winborderrdr 
{
	border: 2px solid #FF0000 !important;
}

/* Pink */
.form-control.pnk, .pnk, .pnkhover:hover, .pnkhover:focus 
{
	color: #FF00FF;
}

/* Pink/Reverse image */
.form-control.pnkr, a.pnkr, span.pnkr, input.pnkr, textarea.pnkr, select.pnkr, input.pnkrhover:hover, textarea.pnkrhover:hover, select.pnkrhover:hover
{
	background-color: #FF00FF;
	color: black;
}

/* Pink/Underscore) */
.form-control.pu, .pu, .puhover:hover, .puhover:focus 
{
	color: #FF00FF;
}

/* Pink/Underscore/Reverse image*/ 
.form-control.pub, a.pub, span.pub, input.pub, textarea.pub, select.pub, input.pubhover:hover, textarea.pubhover:hover, select.pubhover:hover
{
	color: black;
	background-color: #FF00FF;
}

/* pink window border */
.winborderpnk 
{
	border: 2px solid #FF00FF !important;
}

.winborderpnkr 
{
	border: 2px solid #FF00FF !important;
}

/* Blue */
.form-control.blu, .blu, .bluhover:hover, .bluhover:focus 
{
	color: #097ABA;
}

.btn-primary.blu, .btn-primary.bluhover:hover, .btn-primary.bluhover:focus
{
	color: #ffffff;
}

/* Blue/Reverse image */
.form-control.br, a.br, span.br, input.br, textarea.br, select.br, input.brhover:hover, textarea.brhover:hover, select.brhover:hover
{
	background-color: #097ABA;
}

/* Blue/Underscore) */
.form-control.bu, .bu, .buhover:hover, .buhover:focus 
{
	color: #097ABA;
}

/* blue window border */
.winborderblu 
{
	border: 2px solid #097ABA !important;
}

.winborderbr 
{
	border: 2px solid #D1D0CE !important;
}

/* Yellow */
.form-control.ylw, .ylw, .ylwhover:hover, .ylwhover:focus 
{
	color: #ec6c11;	
}

/* Yellow/Reverse image */
.form-control.ycr, a.ycr, span.ycr, input.ycr, textarea.ycr, select.ycr, input.ycrhover:hover, textarea.ycrhover:hover, select.ycrhover:hover
{
	background-color: #FFFF00;
	color: black;
}

/* Yellow/Underscore) */
.form-control.yu, .yu, .yuhover:hover, .yuhover:focus 
{
	color: #ec6c11;
}

/* yellow window border */
.winborderylw 
{
	border: 2px solid #FFFF00 !important;
}

.winborderycr 
{
	border: 2px solid #FFFF00 !important;
}

/* Turquoise */ 
.form-control.trq, .trq, .trqhover:hover, .trqhover:focus 
{
	color: #3eb2e5;
}

/* Turquoise/Reverse image */
.form-control.tcr, a.tcr, span.tcr, input.tcr, textarea.tcr, select.tcr, input.tcrhover:hover, textarea.tcrhover:hover, select.tcrhover:hover
{
	background-color: #00FFFF;
	color: black;
}

/* Turquoise/Underscore) */
.form-control.cu, .cu, .cuhover:hover, .cuhover:focus 
{
	color: #3eb2e5;
}

/* Turquoise/Underscore/Reverse image*/ 
.form-control.cur, a.cur, span.cur, input.cur, textarea.cur, select.cur, input.curhover:hover, textarea.curhover:hover, select.curhover:hover
{
	background-color: #00FFFF;
	color: black;
}

/* Turquoise window border */
.winbordertrq 
{
	border: 2px solid #00FFFF !important;
}

.winbordertcr 
{
	border: 2px solid #00FFFF !important;
}

/* White */
.form-control.wht, .wht, .whthover:hover, .whthover:focus 
{
	font-weight: bold;
}

/* White/Reverse image */
.form-control.hr, a.hr, span.hr, input.hr, textarea.hr, select.hr, input.hrhover:hover, textarea.hrhover:hover, select.hrhover:hover
{
	background-color: gray;
}

/* White/Underscore) */
.form-control.hu, .hu, .huhover:hover, .huhover:focus 
{
	color: black;
	font-weight: bold;
}

/* White window border */
.winborderwht 
{
	border: 2px solid black !important;
}

/* Hi intensity */
.form-control.hi, .hi, .hihover:hover, .hihover:focus 
{
	font-weight: bold;
	color: #000;
}

/* Hi intensity window border */
.winborderhi 
{
	border: 2px solid black !important;
}

/* Non-Display */
span.nd 
{
	border: 0px;
	visibility:hidden;
}

/* needs to be display:none so hidden function key buttons don't take up space in left/right panels */
input.button.nd 
{
	display:none;
}
a.button.nd
{
	display:none;
}

a.nd
{
	visibility: hidden;
}

input.nd 
{
	visibility: hidden;
}

.guind 
{
	visibility: hidden;
}

/* black/Reverse image */
.form-control.hr, .hr, .hrhover:hover, .hrhover:focus 
{
	color: black;
	font-weight: bold;
}

/* Protected */
.form-control.pr, .pr 
{
	border: 0px;
}

/** END - CONTENT FORMATTING **/


/** WINDOW FORMATTING **/
/* Window css tags */

#windowbody
{
	z-index: 100;
}
.WinBorder 
{
	position: absolute;
	display: inline; 
}
.WinContent 
{
	padding-bottom: 40px; 
	border: 2px solid;
}

.WinContent .ErrorMsg 
{
	left: 5px;
}

.WinTitleTop 
{
	cursor: move;
	line-height: 18px;
}
.WinTitleTop span
{
	line-height: 18px;
	min-height: 0px;
}

.WinTitleBottom {}
.WinBody 
{
 	padding-left: 5px;
	padding-right: 5px;
}

#wdwpagecontents
{
}
/** END - WINDOW FORMATTING **/

#PrestoLog 
{
	width: 700px;
	height: 150px;
	overflow-y: scroll;
	margin-top: 10px;
	margin-left: 1px;
	border: 1px solid;
	display: none;
}

#PrestoLog p
{
	margin: 0px;
	padding: 0px;
}

/******************** jQuery UI style overrides ***************************/

/*button text element */
.ui-button-text-only .ui-button-text { padding: .2em .75em; }
.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .2em; }
.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .2em .1em .2em 2.1em; }
.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .2em 2.1em .2em 1em; }
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
.ui-widget .ui-widget{font-size:1em;margin-left: auto;margin-right: auto;}
.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em;background:0;overflow:auto}
.ui-jqgrid .ui-pg-table td {font-weight: normal;padding: 1px;vertical-align: top;}
/* no icon support for input elements, provide padding by default */
input.ui-button { padding: 0; }

.ui-datepicker
{
	z-index: 1001 !important;
}

span.active.ui-tab.horizontal
{
	border-bottom: 0px !important;
}
span.ui-tab
{
	width: 80px;
}
span.ui-tab 
{
	padding-bottom: 9px\0/;
}
@-moz-document url-prefix() { 
	span.ui-tab
	{
		padding-bottom: 9px;
	}
}

span.ui-spinner {
	border-radius: 0;
	min-height: 22px;
	line-height: 0;
}

span.ui-spinner input.ui-spinner-input {
	line-height: 21px;
}

span.transformation-spinner {
	min-height: 0;
}

#errdialog 
{
	max-width: 500px;
}
#errdialog span
{
	white-space: normal;
}

.ScrubError { 
	background-color: lightpink !important; 
	border-color: red !important;
}

/* BOOTSTRAP */
a.btn {
	text-decoration: none;
}

input.form-control, select.form-control {
	height: 21px;
}

input.form-control, select.form-control, textarea.form-control {
	padding: 0px 8px;
	width: auto;
}

input.form-control.hasDatepicker {
	width: 100%;
	min-height: 100%;
	height: 23px;
}

.nofieldpadding
{
	padding: 0px !important;	
}

.responsive-grid .row div {
	min-height: 29px;
}

.responsive-grid .row div > :not(.row)
{
	display: inline-block;
}

input.btn, a.btn {
	padding: 1px 8px;
	background-color: #337ab7;
	border-color: #2e6da4;
	color: #fff;
}

.transformation-menulinks input.btn {
	padding: .5px 8px;
}

input.btn:hover, a.btn:hover {
	background-color: #286090;
	border-color: #204d74;
	color: #fff;
}

input.pageup, input.pagedown {
	width: 105px;
}

body.responsive #Content {
	margin-left: 0px;
}

body.responsive #m {
	margin-top: 0px;
}

/* Boostrap customizations */
.navbar-fixed-top {
	margin-left: 0px;
	margin-bottom: 0px;
	z-index: -10px;
}

.navbar {
	border-radius: 0px;	
}

.navbar-header {
	white-space: nowrap;
	width: 100%;
}

.navbar-logo {
	float: left;
	height: 50px;
	padding: 15px;
	margin-left: 0px;
}

/* Hide logo on small devices, cut off page title if too long */
@media (max-width: 767px) {
	.navbar-logo {
		display: none;
	}

	.navbar-brand {
		overflow: hidden;
		text-overflow: ellipsis;
		-o-text-overflow: ellipsis;
		padding-right: 20px;
	}
}

.navbar-inverse .navbar-brand:hover {
	color: #9d9d9d;
}

.navbar >.container-fluid .navbar-brand {
	line-height: 18px;
	margin-left: 0px;
	float: none;
	display: block;
}

/* Main content */

#page-content 
{
	min-height: 650px;
	margin: 0px;
	margin-top: 15px;
}

#ReturnedContent {
	position: relative;
	width: auto;
	height: auto;
}

#pagecontents > span,
#wdwpagecontents > span {
	/* Changing this value may cause issues with elements overlapping when the screen is resized */
	white-space: pre;
}

/* This is sorta ugly, but needed to not double up 
   the padding on screens with a grid on mobile :( */
#outer-content #ReturnedContent > .container-fluid {
	padding: 0px;
}

@media (min-width: 1025px) {
	.ToggleFunctionKeys.FunctionKeysPanelOpen.FunctionKeysLeft .main {
		padding-right: 40px;
		margin-left: 200px;
	}

	.ToggleFunctionKeys.FunctionKeysPanelOpen.FunctionKeysRight .main {
		margin-right: 200px;
		overflow-x: auto;
	}

	#page-content {
		margin-left: 20px;
		margin-right: 20px;
	}
}

@media (min-width: 768px) {
	#outer-content {
		padding-left: 15px;
		padding-right: 15px;
	}

	.navbar-logo {	
		margin-left: -15px;
	}
}

.main .page-header {
	margin-top: 0;
}

.table th {
	background-color: #ffffff;
}

.table > tbody > tr > th {
	border-top: 0px;
	font-weight: bold;
}

.table > tbody > tr > td {
	position: relative;
}

div.TableCenter {
	white-space: normal;
}

.AutoTable {
	white-space: pre;
}

/* Bootstrap window modifications */
span#windowbody {
	overflow: visible;
}

#windowbody .modal-dialog {
	position: absolute;
	margin: 10px;
	width: auto;
}

.WinTitleTop.modal-header, .WinTitleTop.modal-header span {
	white-space: normal;
	font-weight: bold;
}

#windowbody .modal-content {
	padding-bottom: 40px;
	left: 5px;
}

.modal-body a.btn, .modal-body span.btn, .modal-body button.btn {
	font-size: 15px;
}

/* System request window */
#SystemRequest .form-control {
	width: 200px;
}

/* OA Tables */
#grid_wrapper {
	/* I don't like using !important, but the element has a hard-set width on it, so we have to here */
	width: 100% !important;
}

.dataTable {
	background-color: #ffffff;
}

.dataTable .dt-center {
	text-align: center;
}

.dataTable .dt-right {
	text-align: right;
}

.dataTable .dt-left {
	text-align: left;
}

/* Undo datatables formatting from Presto.css */
table.dataTable {
	border-collapse: separate;
	margin: 0px;
}

table.dataTable thead th.sorting, 
table.dataTable thead th.sorting_desc,
table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_disabled, 
table.dataTable tfoot th {
	height: 20px;
	font-weight: bold;
	box-sizing: content-box;
}

table.dataTable thead th, table.dataTable thead td,
table.dataTable tbody th, table.dataTable tbody td {
	padding: 8px 2px 8px 2px;
	border: 1px solid #aaaaaa;
}

table.dataTable thead > tr > th.sorting_asc, 
table.dataTable thead > tr > th.sorting_desc, 
table.dataTable thead > tr > th.sorting, 
table.dataTable thead > tr > td.sorting_asc, 
table.dataTable thead > tr > td.sorting_desc, 
table.dataTable thead > tr > td.sorting {
	padding-right: 20px;
}

table.dataTable thead th, table.dataTable thead td {
	padding-right: 18px;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
	border: 0px;
	border-bottom: 1px solid #aaaaaa;
}

.dataTables_wrapper span, .dataTables_wrapper label {
	font-size: 15px;
	line-height: 17px;
	min-height: 0px;
	overflow: visible;
}

/* Change datepicker formatting from presto.css */

/* Make elements in VE the correct width */
.field input.form-control, .field select.form-control, .field textarea.form-control {
	width: 100%;
}


/* Moved from Presto.css */
/* Misc CSS */
.container-title {
	font-weight: bold;
	color: #ffffff;
	background: #858585;
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}

.container-1, .container-2 {
	border: 1px solid #858585;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.gradient {
	filter: none;
}

.container-2 {
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2M0YzRjNCIgc3RvcC1vcGFjaXR5PSIwLjY1Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjQ1JSIgc3RvcC1jb2xvcj0iI2NjY2NjYyIgc3RvcC1vcGFjaXR5PSIwLjM2Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjY2NjY2MiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(196,196,196,0.65) 0%, rgba(204,204,204,0.36) 45%, rgba(204,204,204,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(196,196,196,0.65)), color-stop(45%,rgba(204,204,204,0.36)), color-stop(100%,rgba(204,204,204,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(196,196,196,0.65) 0%,rgba(204,204,204,0.36) 45%,rgba(204,204,204,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(196,196,196,0.65) 0%,rgba(204,204,204,0.36) 45%,rgba(204,204,204,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(196,196,196,0.65) 0%,rgba(204,204,204,0.36) 45%,rgba(204,204,204,0) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(196,196,196,0.65) 0%,rgba(204,204,204,0.36) 45%,rgba(204,204,204,0) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6c4c4c4', endColorstr='#00cccccc',GradientType=0 ); /* IE6-8 */
}

.transformation-icon label {
	margin-bottom: 0px;
	margin-right: 4px;
	font-weight: normal;
}

/* Subfile icons */
.ui-icon-subfile-edit {
	background-image: url(../../images/edit.png) !important;
	margin: 4px;
}

.ui-icon-subfile-view {
	background-image: url(../../images/view.png) !important;
	margin: 4px;
}

.ui-icon-subfile-details {
	background-image: url(../../images/details.png) !important;
	margin: 4px;
}

.ui-icon-subfile-delete {
	background-image: url(../../images/delete.png) !important;
	margin: 4px;
}

/* Tabs */
.ui-tab {
	padding: 8px;
	border: 1px solid #858585;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	background: url("images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6;
	color: #555555;
	font-weight: bold;
	cursor: default !important;
	
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

.ui-tab.vertical {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.ui-tab.active {
	background: #ffffff;
	color: #000000;
}

.ui-tab.hover {
	background: url("images/ui-bg_glass_75_dadada_1x400.png") repeat-x scroll 50% 50% #DADADA;
	border-color: #999999;
	color: #212121
}

/* Menulinks */
.transformation-menulinks.hide_value a {
	margin-left: -5px;
	padding-left: 0;
}

.transformation-menulinks.hide_value.arrow:before {
	background: url("images/bullet-arrow-blue.png") no-repeat 0 5px;
	content: " ";
	padding-right: 25px;
}

a.MenuLinksEvent.Disabled {
	color: #888888;
}

/* Menulinks V2 */
.menulink_value.hide_value {
	visibility: hidden;
	display: inline;
}

a.menulink_label.first.hide_value.arrow {
	background: url("images/bullet-arrow-blue.png") no-repeat 0 5px;
	padding-left: 20px;
}

a.menulink_label.hide_value.arrow:not(.first) {
	padding-left: 15px;
}


/* DataTables */
table.dataTable thead th, table.dataTable thead td,
table.dataTable tbody th, table.dataTable tbody td {
	border: 1px solid #aaaaaa;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
	border-bottom: 1px solid #aaaaaa;
}

/* Function Keys */
.FunctionKeysLeft #fnckeys,
.FunctionKeysLeft #winfnckeys
{
	border-right: 1px solid #CED6E3;
}

.FunctionKeysRight #fnckeys,
.FunctionKeysRight #winfnckeys
{
	border-left: 1px solid #CED6E3;
}

.FunctionKeysLeft #fnckeys input, .FunctionKeysLeft #fnckeys a,
.FunctionKeysRight #fnckeys input, .FunctionKeysRight  #fnckeys a,
.FunctionKeysLeft #winfnckeys input, .FunctionKeysLeft #winfnckeys a,
.FunctionKeysRight #winfnckeys input, .FunctionKeysRight  #winfnckeys a
{
	text-decoration: none;
	border: 0;
	border-bottom: 1px solid;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;

	white-space: nowrap;
	overflow: hidden;
}

.funckey-divider
{
	border-bottom: 1px solid;
}

.FunctionKeysLeft #fnckeys input.disabled, .FunctionKeysLeft #fnckeys a.disabled,
.FunctionKeysRight #fnckeys input.disabled, .FunctionKeysRight #fnckeys a.disabled,
.FunctionKeysLeft #winfnckeys input.disabled, .FunctionKeysLeft #winfnckeys a.disabled,
.FunctionKeysRight #winfnckeys input.disabled, .FunctionKeysRight #winfnckeys a.disabled
{
	background-image: none;
	cursor: default;
}

.FunctionKeysLeft #fnckeys input:disabled, .FunctionKeysLeft #fnckeys a[disabled],
.FunctionKeysRight #fnckeys input:disabled, .FunctionKeysRight #fnckeys a[disabled],
.FunctionKeysLeft #winfnckeys input:disabled, .FunctionKeysLeft #winfnckeys a[disabled],
.FunctionKeysRight #winfnckeys input:disabled, .FunctionKeysRight #winfnckeys a[disabled]
{
	opacity: 0.5;
}

.FunctionKeyToggleIcon {
	background-position: center center;
	background-size: 20px 50px;
	background-repeat: no-repeat;
	background-color: #F2F5F8;
	border: 1px solid #CED6E3;
}

body.FunctionKeysLeft #fnckeys.Hide .FunctionKeyToggleIcon {
	background-image: url('images/right_arrow.png');
}

body.FunctionKeysLeft #fnckeys .FunctionKeyToggleIcon {
	background-image: url('images/left_arrow.png');

	border-left: none;
	border-radius: 0 7px 7px 0;
}

body.FunctionKeysRight #fnckeys.Hide .FunctionKeyToggleIcon {
	background-image: url('images/left_arrow.png');
}

body.FunctionKeysRight #fnckeys .FunctionKeyToggleIcon {
	background-image: url('images/right_arrow.png');

	border-right: none;
	border-radius: 7px 0 0 7px;
}

/* Function Key Sidebar */
#fnckeys_wrapper {
	margin-bottom: 20px;
}

#fnckeys_wrapper > a {
	padding-right: 20px;
	padding-left: 20px;

	text-decoration: none;
	text-overflow: ellipsis;
	overflow-x: hidden;
	white-space: nowrap;
}

body.FunctionKeysLeft:not(.ToggleFunctionKeys) #fnckeys,
body.FunctionKeysRight:not(.ToggleFunctionKeys) #fnckeys {
	bottom: 0px;
	position: fixed;
}

/* Subfile flyout */
input.flyout {
	background-color: #ccc; 
}

input.flyoutRemoveBackground {
	background-color: ''; 
}

#flyout ul, .flyout_menu ul {
	border-radius: 4px; 
	-webkit-box-shadow: 0 0px 12px rgba(0, 0, 0, 0.4); 
	box-shadow: 0 0px 12px rgba(0, 0, 0, 0.4); 
	background-color: #FFF; 
	border: 1px solid #d1d0ce;
}

#flyout ul li, .flyout_menu ul li {
	color: #000;
}
#flyout ul li:hover, .flyout_menu ul li:hover {
	background-color: #097aba; 
	color: #fff; 
}
#flyout ul li:first-child:hover, .flyout_menu ul li:first-child:hover {
	border-radius: 4px 4px 0 0;
}
#flyout ul li:last-child:hover, .flyout_menu ul li:last-child:hover {
	border-radius: 0 0 4px 4px;
}

.flyout_menu ul {
	max-height: 250px;
	overflow-y: auto;
	overflow-x: hidden;
	position: absolute;
	white-space: nowrap;
}

/* Mobile function key container */
#keyhandle{
	background-color: silver;
	border: 1px solid black;
	border-bottom: none;
	border-radius: 15px 15px 0 0;
	border-right: none;
	background-image: url('images/up_arrow.png');
	background-position: center center;
	background-size: 60px 20px;
	background-repeat: no-repeat;
}

#keypanel.expanded #keyhandle {
	background-image: url('images/down_arrow.png');
	opacity: 0.9;
}

#keypanel #keyhandle:hover {
	background-color: darkgrey;
}

#keypanel #panel{
	opacity: 0.9;
	border-top: 2px dotted black;
	background-color: lightgrey;
}

.keybutton {
	background-color: darkgrey;
	border: 1px solid black;
	border-radius: 5px;
}

.keybutton.touched {
	background-color: #D6D5BD;
}

img.ui-datepicker-trigger {
	margin-left: 5px;
}

/* hide icon so we can use text */
.ui-datepicker-trigger {
	border:none;
	background:none;
	width: 22px;
	height: 20px;
	padding: 0;
	border-radius: 0 !important;
	background: none !important;
}

.ui-datepicker-trigger i {
	margin-left: -2px;
	margin-top: -1px;
	font-size: 18px;
}

#content-header-detail {
	float: left;
}

#content-header-buttons {
	position: absolute;
	right: 0;
	margin-right: 10px;
	padding-top: 15px;
	text-align: right;
	display: flex;
}

#content-header-buttons > *
{
	margin-left: 5px;
}

.ui-mobile #content-header-buttons {
	right: 40px;
}

#content-header-buttons .glyphicon
{
	font-size: 18px;
	color: #ffffff;
	min-height: auto;
}

.action-endsession,
.action-displaysplf {
	cursor: pointer;
}

.action-endsession {
	padding-bottom: 5px;
}

.SkipInputsAdjustment input.form-control,
.SkipInputsAdjustment select.form-control,
.SkipInputsAdjustment textarea.form-control,
.SkipInputsAdjustment input.field,
.SkipInputsAdjustment textarea.field,
.SkipInputsAdjustment .textareatest,
.SkipInputsAdjustment table.AutoTable > thead > tr > th,
.SkipInputsAdjustment table.AutoTable > tbody > tr > td
{
	padding: 0;
	border-radius: 0;
}

#theme-selector-button
{
	display: inline-block;
	background-color: transparent;
	border: 2px solid #ffffff;
	color: #ffffff;
	padding: 2px 6px;
	width: auto;
	min-height: auto;
}

#theme-selector-button.toggle
{
	border: 0;
	padding: 0;
}

#theme-selector-button .ui-selectmenu-text
{
	font-size: 13px;
	padding: 0;
	margin: 0;
	line-height: 15px;
	min-height: auto;
}

#theme-selector-button.toggle .ui-selectmenu-text
{
	display: none;
}

#theme-selector-button.ui-button .ui-icon
{
	background-image: url(../../javascript/css/images/ui-icons_ffffff_256x240.png);
}

#theme-selector-menu.toggle
{
	margin-left: -10px;
}

/* Handle adjusting the page for printing */
@media print {
	@page {
		size: landscape;
	}

	/* Zoom out the page so a 132-wide screen fits on a single sheet */
	html, body {
		zoom: 80%;
	}

	#fnckeys {
		display: none !important;
	}
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    
   
    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/Box */
.modal-content {
    background-color: #fefefe;
	top: 25%;
	text-align: center;
    margin: auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 40%;	/* Could be more or less, depending on screen size */
}

.modal-content a {
	display: none; /*hidden by default */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

table {
	height: auto !important;
}
