/* This file holds all CSS which is common to all skins or used as a default. */

/* 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 {
    margin: 1px 0 !important;
}

.transformation-datepicker input {
	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;	
}

.transformation-datepicker img {
	position: absolute;
	right: -20px;
	top: 50%;
	margin-top: -8px;
}

.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;
}
	
.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 {
	color: #4D4D4D;
}

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;
}

/* jQ Grid Customisations */
.ui-jqgrid tr.jqgrow td { cursor: pointer; }
#gridlist td {text-align:left;border-left-width: 1px; border-left-color: inherit; border-left-style: solid; border-right: none;}
#gridlist td:first-child { border-left: none; }
.ui-jqgrid .ui-jqgrid-htable th div {/*overflow: hidden;*/ position:relative; height:22px;}
.ui-jqgrid .ui-paging-info {font-weight: normal;height:19px; margin-bottom:3px;margin-left:-4px;}
.ui-jqgrid .ui-pg-input
{ 
	font-size: 15px;
	height: auto;
	line-height: 18px;
	margin-top: -3px;
	padding: 0;
	text-align: center;
}
#gridpager_left {width: 0;}

/* Make sure jqGrid sort icons look correct and are shown inline */
.ui-jqgrid-sortable .s-ico
{
	display: inline;
	line-height: 0.7em;
}

/* OA Grid formatting */
#gbox_grid {margin: 0 auto; top: 50px;}

.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;
	background: #E9ECF2;
	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;
	background: #F2F5F8;
	color: #5C5858;
	font-size: 15px;
	padding: 15px 0;
	text-indent: 10px;
	line-height: 20px;
	text-decoration: none;
	border: 0;
	border-bottom: 1px solid #CED6E3;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
}

.FunctionKeysLeft #fnckeys input, .FunctionKeysRight #fnckeys input
{
	padding-right: 13px;
}

.FunctionKeysLeft #fnckeys input:hover, .FunctionKeysLeft #fnckeys a:hover
{
	background-color: #ffffff;
	background-image: url(images/left-select-arrow-brdr.png); 
	background-position: 100% 50%;
	background-repeat: no-repeat;
	color: #5C5858;
}

.FunctionKeysRight #fnckeys input:hover, .FunctionKeysRight #fnckeys a:hover
{
	background-color: #ffffff;
	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;
}
#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 */
a.MenuLinksEvent.Disabled {
	color: #888888;
	cursor: default;
}

.ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column {
	line-height: 20px;
}
