/* This file holds all CSS which is common to all skins or used as a default. */

body {
	line-height: normal;
}

h1, h2, h3, h4, h5, h6 {
	line-height: normal;
}

.ui-dialog {
	background: #fff !important;
	z-index: 101 !important;
}

/* overrides for jquery ui defaults */
.ui-state-default label {
	line-height: 25px;
	line-height: 28px \0/; /* hack for IE8-9*/
}
.ui-datepicker { z-index: 999; }

.ui-datepicker-title span {
	display: inline;
}

.hasDatepicker {
	z-index: 100;
}

.transformation-datepicker {
    display: inline-block !important;
    line-height: 0 !important;
	min-height: 0 !important;
}

.transformation-datepicker input.hasDatepicker {
	width: 100%;
	height: 100%;
	/* the following allows relative size to include borders and paddings into consideration */
	/* http://stackoverflow.com/questions/5219175/width-100-padding */
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;	
    float: left;
}

.transformation-datepicker img {
	margin-top: 2px;
	margin-left: 5px;
}

.vertical-inputs > input {
	display: block;
	float: left;
	clear: left;
	padding: 0;
	margin: 0;
	height: 17px;
}

.vertical-inputs > label {
	display: block;
	line-height: 17px;
	margin: 0;
	margin-left: 15px;
}

#m * { z-index: 0; }
#m .layer_-10 { z-index: -100; }
#m .layer_-9 { z-index: -90; }
#m .layer_-8 { z-index: -80; }
#m .layer_-7 { z-index: -70; }
#m .layer_-6 { z-index: -60; }
#m .layer_-5 { z-index: -50; }
#m .layer_-4 { z-index: -40; }
#m .layer_-3 { z-index: -30; }
#m .layer_-2 { z-index: -20; }
#m .layer_-1 { z-index: -10; }
#m .layer_0 { z-index: 0; }
#m .layer_1 { z-index: 10; }
#m .layer_2 { z-index: 20; }
#m .layer_3 { z-index: 30; }
#m .layer_4 { z-index: 40; }
#m .layer_5 { z-index: 50; }
#m .layer_6 { z-index: 60; }
#m .layer_7 { z-index: 70; }
#m .layer_8 { z-index: 80; }
#m .layer_9 { z-index: 90; }
#m .layer_10 { z-index: 100; }

.transformation-export, input[type=button] {
	cursor: pointer;
}

.heading1 {
	font-size: 150%;
	font-weight: bold;
}

.heading2 {
	font-size: 125%;
	font-weight: bold;
}

.heading3 {
	font-size: 105%;
	font-weight: bold;
}

.heading4 {
	font-size: 100%;
	font-weight: bold;
}

.container-title {
	height: 30px !important;
	width: 150px;
	line-height: 30px;
	font-weight: bold;
	color: #ffffff;
	background: #858585;
	padding-left: 10px;
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}

.container-1, .container-2 {
	height: 70px;
	width: 150px;
	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 */
}

.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;
}

.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
}

.hide {
	display: none;
}

body.EditMode .hide {
	display: none !important;
}

.AutoTable td > * {
	position: relative !important;
	left: 0 !important;
	top: 0 !important;
	display: inline;
}

.ui-helper-hidden-accessible {
	display: none !important;
}

.transformation-icon {
	*width: 200px;
}

.ui-icon {
	min-height: 0;
}

.transformation-icon .ui-icon {
	width: 16px !important; 
	height: 16px !important;     
	line-height: 0;
    min-height: 0;
	margin: 4px;
	float: left;
}
.transformation-icon label {
	margin-right: 28px;
	*margin-right: 0;
}

label, span {
	color: inherit;
}

span.transformation-spinner {
	display: inline-block;
}

span.ui-spinner {
	padding: 0;
}

span.ui-spinner input.ui-spinner-input {
	border: none;
	box-shadow: none;
	margin: 0;
}

span.transform-size-changed, a.transform-size-changed, label.transform-size-changed {
	display: inline-block;
}

.hide,
.hide *,
span.transform-size-changed.hide, 
a.transform-size-changed.hide, 
label.transform-size-changed.hide
{
	display: none;
}

.transformation-menulinks.hide_value a {
	background: url("images/bullet-arrow-blue.png") no-repeat 0 5px;
	margin-left: -20px;
	padding-left: 20px;
}

span.transformation-radios, span.transformation-checkboxes {
	text-decoration: none !important;
	white-space: normal;
}

span.transformation-radios label, span.transformation-checkboxes label {
	display: inline-block;
	height: 25px;
	width: auto;
	margin-left: 5px;
}

/* OA Grid formatting */
#gbox_grid {margin: 0 auto; top: 50px;}

/* OA Grid DataTables Formatting */
table.dataTable {
	border-collapse: collapse;
	margin: 0px;
}

.dataTables_filter {
	margin-right: 15px;
}

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: normal;
	text-align: center;
	box-sizing: border-box;
}

table.dataTable thead th, table.dataTable thead td,
table.dataTable tbody th, table.dataTable tbody td {
	padding: 0px 2px 0px 2px;
	border: 1px solid #aaaaaa;
}

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;
}

.splf_list td {
	cursor: pointer;
}


.ui-pg-table span
{
	display: inline;
	line-height: 16px;
	min-height: 0;
}

.FunctionKeysLeft #Content
{
	padding-left: 200px;
}

.FunctionKeysRight #Content
{
	padding-right: 200px;
}

.FunctionKeysLeft #fnckeys, .FunctionKeysRight #fnckeys
{
	position: absolute;
	width: 200px;
	z-index: -1;
}

.FunctionKeysLeft #fnckeys
{
	border-right: 1px solid #CED6E3;
}

.FunctionKeysRight #fnckeys
{
	border-left: 1px solid #CED6E3;
}

.FunctionKeysLeft #fnckeys input, .FunctionKeysLeft #fnckeys a,
.FunctionKeysRight #fnckeys input, .FunctionKeysRight  #fnckeys a
{
	position: static !important;
	width: 100% !important;
	float: left;
	overflow: hidden;
	text-align: left;
	font-size: 15px;
	padding: 15px 0;
	text-indent: 10px;
	line-height: 20px;
	text-decoration: none;
	border: 0;
	border-bottom: 1px solid;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
}

.FunctionKeysLeft #fnckeys input, .FunctionKeysRight #fnckeys input
{
	padding-right: 0;
}

.FunctionKeysLeft #fnckeys input:hover, .FunctionKeysLeft #fnckeys a:hover
{
	background-image: url(images/left-select-arrow-brdr.png); 
	background-position: 100% 50%;
	background-repeat: no-repeat;
}

.FunctionKeysRight #fnckeys input:hover, .FunctionKeysRight #fnckeys a:hover
{
	background-image: url(images/right-select-arrow-brdr.png); 
	background-position: 0 50%;
	background-repeat: no-repeat;
}

.clickable
{
	cursor:pointer;
}

span 
{
	display: inline-block;
}

span.transformation-spinner
{
	display: inline-block;
}

.ui-autocomplete {
	max-height: 210px;
	overflow-y: auto;
	/* prevent horizontal scrollbar */
	overflow-x: hidden;
}

/******************** Subfile options menu ***************************/
input.flyout {background-color: #ccc; cursor: pointer;}
input.flyoutRemoveBackground {background-color: ''; cursor: default;}
#flyout {
	display: none;
	position: absolute;
	z-index: 999;
	margin-top: 13px; 
	margin-left: 3px;
	min-height: 150px;
}
#flyout ul {
	overflow: auto;
	list-style-type: none; 
	padding: 0;
	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; 
	min-width:220px;
	border: 1px solid #d1d0ce;
	margin-top: 1em;
	margin-bottom: 1em;
	line-height: normal;
}
#flyout ul li {padding: 3px 5px 3px 15px; color: #000;  font-size: 14px;}
#flyout ul li:hover{background-color: #097aba; color: #fff; cursor: pointer;}
#flyout ul li:first-child:hover{border-radius: 4px 4px 0 0;}
#flyout ul li:last-child:hover{border-radius: 0 0 4px 4px;}

/* Disabled Menulinks */
.transformation-menulinks a.disabled {
	cursor: default;
	text-decoration: none;
}

/* Hide the file upload form */
#upform
{
	position: absolute;
	zoom: 1;
	filter: alpha(opacity=0);
	opacity: 0;
}

/* CSS used by LegacyHandler.js functions */
#LegacyNotificationBar
{
	position: fixed;
	bottom: 0px;
	left: 0px;
	right: 0px;
	text-align: center;
	line-height: 12px;
}

#LegacyNotificationIcon
{
	float: left;
	margin-top: 4px;
}

/* CSS used by DisplayFileChangeHandler.js functions */
#DFNotificationBar
{
	position: fixed;
	bottom: 0px;
	left: 0px;
	right: 0px;
	text-align: center;
	line-height: 12px;
}

#DFNotificationBar > .ui-icon
{
	float: left;
	margin-top: 4px;
}

.ui-th-column {
	line-height: 20px;
}

/* styles for function key emulation */
#keypanel {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: auto;
	z-index: 1000;
}


#keypanel { height: 22px; }
#keypanel.expanded { height: 270px; }

#keyhandle{
	width: 100%;
	height: 22px;
	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;
	z-index: 20;
}

#keypanel.expanded #keyhandle{
	background-image: url('images/down_arrow.png');
	opacity: 0.9;
}

#keypanel #keyhandle:hover{
	z-index: 20;
	background-color: darkgrey;
}

#keypanel #panel{
	width: 100%;
	height: 250px;
	padding-top: 10px;
	display: none;
	z-index: 21;
	opacity: 0.9;
	border-top: 2px dotted black;
	background-color: lightgrey;
}

#keypanel.expanded #panel{
	display: block;
}

.keybutton{
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	margin: 5px;
	margin-top: 3px;
	float: left;
	text-align: center;
	font-size: 2em;
	background-color: darkgrey;
	border: 1px solid black;
	padding: 10px 5px;
	border-radius: 5px;
}

/* NOTE: Changes of these styles may affect device specific style, please consider writing device specific style instead */
@media only screen and (orientation:portrait)
{
	#keypanel #panel {
		padding-top: 0;
		height: 281px;
	}

	#keypanel.expanded {
		height: 281px;
	}

	.keybutton
	{
		min-width: 35.4px;
		height: 25px;
		margin-left: 2px;
		margin-top: 2px;
		margin-bottom: 2px;
		margin-right: 0;
		float: left;
		text-align: center;
		font-size: 18px;
		background-color: darkgrey;
		border: 1px solid black;
		padding: 10px 3px;
		border-radius: 5px;
	}
}

/* NOTE: Changes of these styles may affect device specific style, please consider writing device specific style instead */
@media only screen and (orientation:landscape)
{
	#keypanel #panel {
		padding-top: 0;
		height: 300px;
	}

	#keypanel.expanded {
		height: 300px;
	}
	
	.keybutton
	{
		min-width: 50px;
		height: 40px;
		line-height: 45px;
		margin-left: 3px;
		margin-top: 3px;
		margin-bottom: 3px;
		margin-right: 0;		
	}
}


.keybutton.touched
{
	background-color: #D6D5BD;
}

/* iPhone 6 (portrait) ----------- */
@media only screen and (min-width: 375px) and (max-width: 375px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2) {
	#keypanel.expanded {
		height: 283px;
	}
	
	.keybutton {
		min-width: 43.3px;
		font-size: 24px;
		line-height:25px;
	}	
}

/* iPhone 6 (landscape) ----------- */
@media only screen and (min-width: 667px) and (max-width: 667px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2) {
	#keypanel.expanded {
		height: 215px;
	}
	
	.keybutton {
		min-width: 45.3px;
		height: 35px;
		font-size:25px;
		line-height: 35px
	}
}

/* iPhone 6+ (portrait) ----------- */
@media only screen and (min-width: 414px) and (max-width: 414px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
	#keypanel.expanded {
		height: 305px;
	}
	
	.keybutton {
		min-width: 48.8px;
		font-size: 20px;
		line-height: 30px;
		height: 30px;
	}
}

/* iPhone 6+ (landscape) ----------- */
@media only screen and (min-width: 736px) and (max-width: 736px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
	#keypanel.expanded {
		height: 205px;
	}
	
	.keybutton {
		min-width: 51.5px;
		height: 32px;
		line-height: 32px;
		font-size: 25px;
	}
}

/* iPads (portrait) ----------- */
@media only screen and (min-width : 768px) and (max-width : 768px) and (max-width : 768px) and (orientation : portrait) {
	#keypanel.expanded {
		height: 212px;
	}
	
	.keybutton {
		min-width: 59.5px;
		height: 36px;
		line-height: 36px;
		font-size: 28px;
	}
}

/* iPads (landscape) ----------- */
@media only screen and (min-width : 1024px) and (max-width : 1024px) and (orientation : landscape) {
	#keypanel.expanded {
		height: 270px;
	}
	
	.keybutton {
		min-width: 75.4px;
		height: 50px;
		font-size:35px;
		line-height: 45px;
		margin-left: 5px;
		margin-top: 5px;
		margin-bottom: 4px;
		margin-right: 0;
	}	
}

/* iPhone 5 (landscape) ----------- */
@media only screen and (min-width: 568px) and (max-width: 568px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2) {
	#keypanel.expanded {
		height: 185px;
	}
	
	.keybutton {
		font-size: 20px;
		min-width: 36.3px;
		height: 25px;
		line-height: 25px;
	}	
}

/* iPhone 4 (landscape) ----------- */
@media only screen and (min-width : 480px) and (max-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
	#keypanel.expanded {
		height: 165px;
	}
	
	.keybutton {
		min-width: 28.3px;
		height: 18px;
		line-height: 18px;
		font-size: 15px;
	}
}


/* Google Nexus 5 (portrait) ----------- */
@media only screen and (min-width : 360px) and (max-width : 360px) and (orientation : portrait) {
	#keypanel.expanded {
		height: 281px;
	}
	
	.keybutton {
		min-width: 41.2px;
		height: 25px;
		font-size: 20px;
	}
}

/* Google Nexus 5 (landscape) ----------- */
@media only screen and (min-width : 640px) and (max-width : 640px) and (orientation : landscape) {
	#keypanel.expanded {
		height: 193px;
	}
	
	.keybutton {
		min-width: 43px;
		height: 28px;
		line-height: 28px;
		font-size: 22px;
	}
}

/* Google Nexus 7 (portrait) ----------- */
@media only screen and (min-width : 604px) and (max-width : 604px) and (orientation : portrait) {
	#keypanel.expanded {
		height: 193px;
	}
	
	.keybutton {
		min-width: 44.5px;
		height: 30px;
		line-height: 30px;
		font-size: 24px;
	}
}

/* Google Nexus 7 (landscape) ----------- */
@media only screen and (min-width : 966px) and (max-width : 966px) and (orientation : landscape) {
	#keypanel.expanded {
		height: 245px;
	}
	
	.keybutton {
		min-width: 70.3px;
		height: 45px;
		line-height: 45px;
		font-size: 30px;
	}
}

/* Google Nexus 7 2 (portrait) ----------- */
@media only screen and (min-width : 600px) and (max-width : 600px) and (orientation : portrait) {
	#keypanel.expanded {
		height: 193px;
	}
	
	.keybutton {
		min-width: 44.3px;
		height: 30px;
		line-height: 30px;
		font-size: 24px;
	}
}

/* Google Nexus 7 2 (landscape) ----------- */
@media only screen and (min-width : 960px) and (max-width : 960px) and (orientation : landscape) {
	#keypanel.expanded {
		height: 245px;
	}
	
	.keybutton {
		min-width: 72px;
		height: 45px;
		line-height: 45px;
		font-size: 30px;
	}
}

/* Google Nexus S (landscape) ----------- */
@media only screen and (min-width : 533px) and (max-width : 533px) and (orientation : landscape) {
	#keypanel.expanded {
		height: 166px;
	}
	
	.keybutton {
		min-width: 33.2px;
		height: 19px;
		line-height: 19px;
		font-size: 18px;
	}
}

/* Google Nexus 4 (portrait) ----------- */
@media only screen and (min-width : 384px) and (max-width : 384px) and (orientation : portrait) {
	#keypanel.expanded {
		height: 290px;
	}
	
	.keybutton {
		min-width: 44.5px;
		height: 27px;
		line-height: 27px;
		font-size: 20px;
	}
}

/* Google Nexus 4 (landscape) ----------- */
@media only screen and (min-width : 640px) and (max-width : 640px) and (orientation : landscape) {
	#keypanel.expanded {
		height: 200px;
	}
	
	.keybutton {
		min-width: 43px;
		height: 30px;
		font-size: 20px;
		line-height: 30px;
	}
}


/* Google Nexus 10 (portrait) ----------- */
@media only screen and (min-width : 800px) and (max-width : 800px) and (orientation : portrait) {
	#keypanel.expanded {
		height: 370px;
	}
	
	.keybutton {
		min-width: 88px;
		height: 60px;
		line-height: 60px;
		font-size: 40px;
		margin: 2px;
	}
}

/* Google Nexus 10 (landscape) ----------- */
@media only screen and (min-width : 1280px) and (max-width : 1280px) and (orientation : landscape) {
	#keypanel.expanded {
		height: 290px;
	}
	
	.keybutton {
		min-width: 101.1px;
		height: 60px;
		font-size: 40px;
		line-height: 60px;
	}
}

/* Bootstrap style overrides */
/*
* {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}*/

input.field {
	-webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;	
}

pre {
  padding: 0;
  margin: 15px 0;
  word-break: normal;
  word-wrap: normal;
  background-color: transparent;
  border: 0px solid black;
  overflow: visible;
  font-family: inherit;
  font-size: inherit;
}

a {
	text-decoration: underline;
}

input,
button,
select,
textarea,
span,
label {
  line-height: normal;
  min-height: 0;
}

img {
	vertical-align: baseline;
}

.fusioncharts-container * {
	font-size: 11px;
}

/* maintain spacing between rows in bootstrap */
div.row {
	min-height: 25px;
}

/* Toggle function keys */

body.ToggleFunctionKeys #fnckeys {
	/* Make sure it doesn't draw over the header */
	top: 115px;
	bottom: 0px;
}

body.FunctionKeysLeft.ToggleFunctionKeys #fnckeys {
	left: 0px;
	margin: 0px;
	z-index: 900;
}

body.FunctionKeysRight.ToggleFunctionKeys #fnckeys {
	right: 0px;
	z-index: 900;

	/* Because we need to change the width to hide this side, set its width in the base class */
	width: 232px;
}

body.ToggleFunctionKeys #Content {
	padding-left: 0px;
	margin-left: 20px;
}

body.ToggleFunctionKeys #ReturnedContent {
	margin: 0px;
}

.FunctionKeyToggleIcon {
	display: block;
	background-position: center center;
	background-size: 20px 50px;
	background-repeat: no-repeat;

	width: 30px;
	height: 65px;
	background-color: #F2F5F8;
	border: 1px solid #CED6E3;

	/* Allow moving up/down the function key div */
	position: absolute;
	top: 100px;
}

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;

	/* Make sure it's on the right side of the div */
	right: -31px;
}

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;

	/* Make sure it's on the left side of the div */
	left: -31px;
}

/* Hide function key toggle icon when above 992px */
@media (min-width: 992px) {
	.FunctionKeyToggleIcon {
		display: none;
	}
}

@media (max-width: 991px)
{
	body.FunctionKeysLeft.ToggleFunctionKeys #fnckeys {
		left: 0;
	}
	
	body.FunctionKeysLeft.ToggleFunctionKeys #fnckeys.Hide {
		left: -200px;
	}
	
	body.FunctionKeysRight.ToggleFunctionKeys #fnckeys.Hide {
		width: 0px;
	}
	
	#fnckeys .FunctionKeyToggleIcon {
		display: block;
	}
} 
