/***
**
** Styles for the cell inside the form
**
**/


/* If you change the border width, change also Java (ZoomButton.refreshCmd and maybe more) */
.formGridCell_rtl {
	border-left-style: solid;
	border-left-width : 1px;
	border-left-color : #c9c9c9;
	overflow:hidden;
	padding:0px;
	direction : rtl;
}

.formGridCell_ltr {
	border-right-style: solid;
	border-right-width : 1px;
	border-right-color : #c9c9c9;
	overflow:hidden;
	padding:0px;
	direction : ltr;
}
/*.formGridEvenRow {
 /* min-height: 22px; */
 /*background:  #eff0f1; /* Aharon, 29/10/2014 changed from #fffffe; */
/*}
.formGridOddRow {
 /* min-height: 22px; */
 /* background: #f1f0ed; Aharon, 29/10/2014, doesn't need to have a value */
/*}*/
/*
.formGridOddRowCell {
}
.formGridEvenRowCell {
}
*/
.formExtraTextStyle {
	font-family : Verdana, Arial;
	color       : #5486A0;
	font-size   : 10px;
	position    : absolute;
	bottom      : 0px;
}

.typing-input.paintedFieldStyle {
	position: relative !important;
}

.typing-input.paintedFieldStyle .formCellStyle {
	position: unset !important;
}

.typing-input.paintedFieldStyle {
	position: relative !important;
}

.typing-input.paintedFieldStyle .formCellStyle {
	position: unset !important;
}

.formCellStyle {
	font-family: Arial; /*When changing this change calculation in FontMetrics.getTextHeight */
	font-weight: normal;
	white-space: nowrap;
	position:relative;
	top:0px;
	left:0px;
	width:100%; /* Aharon, 19/11/15 - iPad 9 patch */
}

.firstCellStyle {
	display: flex;
	height: auto !important;
	min-height: auto;
}

.formGridCell_ltr .firstCellStyle {
	justify-content: center;
}

.priFieldStyle {
	padding             : 6px; /* DO NOT CHANGE - USED IN HEIGHT CALCULATION PriTextBox.textBoxPadding*/
	white-space         : nowrap;
	font-family         : var(--main-font-family);
	text-overflow       : clip;
	border-top-width    : 0px;
	border-bottom-width : 0px;
	border-left-width   : 0px;
	border-right-width  : 0px;
	border-color        : transparent;
	margin              : 0px;
	background-color    : transparent;
    width: 0;
	position: relative;
}

tr:not(.formGridRecon) .formGridCell_rtl .priFieldStyle {
    width: calc(100% - 10px) !important;
}

tr:not(.formGridRecon) .formGridCell_ltr .priFieldStyle {
    width: calc(100% - 10px) !important;
}

.hide-expender .expanderClass {
	width: 0 !important;
}

#headercover {
	display: none;
}

.cover-ltr #headercover, .cover-rtl #headercover {
	display: block;
}

.cover-rtl {
	border-left-color: rgba(33, 37, 41, 0.05) !important;
}

.cover-rtl + td, .cover-rtl + th {
	background: linear-gradient(to left,rgba(33, 37, 41, 0.05), rgba(255,255,255,0) 15px);
}

.cover-ltr {
	border-right-color: rgba(33, 37, 41, 0.05) !important;
}

.cover-ltr + td, .cover-ltr + th {
	background: linear-gradient(to right,rgba(33, 37, 41, 0.05), rgba(255,255,255,0) 15px);
}

tr:not(.formGridRecon) .expanderClass {
	width: 25px;
    height: 25px;
}

.partialnum input {
    color: var(--validation-color-green) !important;
}

input.longpartialnuminput {
    width: 15px !important;
}

input.partialnuminput {
    width: 6px;
    height: 6px !important;
    background: linear-gradient( 45deg, var(--validation-color-green), var(--validation-color-green) 49%, white 49%, white 51%, white 51% );
    border-radius: 55%;
    border: 2px solid var(--validation-color-green);
    padding: 6px !important;
    color: var(--primary-color-700) !important;
}

.priCurrentReconRowStyle.partialnum input {
    color: white !important;
}

.priCurrentReconRowStyle.partialnum input.partialnuminput {
    color: var(--primary-color-700) !important;
}

.priCurrentRowStyle {
	background-color: var(--primary-color-200);
}
.priCurrentReconRowStyle {
	background-color: var(--primary-color-500);
	td {
		div {
			font {
				input.priReadonlyFieldStyle {
					color: var(--primary-color-200) !important;
					border-color: var(--primary-color-200) !important;
				}
			}
		}
	}
}
.paintedFieldStyle 
{
	border-bottom-style	: none; /* Aharon, 11/11/2014 solid; */
	overflow-y          : hidden;
	font-size           : inherit;
	padding             : 1px;
}

.paintedFieldDummyStyle  {
	/*padding: 2px;*/
	/* moved to code as const padding-bottom: 2px; /* Aharon, 11/11/2014 */
	border-bottom-style	: solid;
	border-bottom-width	: 1px;
	border-bottom-color	: white;
	overflow            : visible;
	font-size           : inherit;
}

.priPaintedFullWidthStyle {
    position: absolute;
    z-index: 1;
}
.priPaintedFullWidthStyle_chrome {
    position: absolute;
    z-index: 1;
}

.priCurrentFieldStyle {
	background-color: #fff; 
	border: 1px var(--primary-color-500) solid;
	margin: 0px;
	direction : inherit;
	font-family : inherit;
	padding: 4px; /* BORDER WILL ADD ANOTHER 2PX = 6PX LIKE IN priFieldStyle */
	position: relative;
}

.paintedCurrentFieldStyle {
	border-radius: 3px;
}

.paintedCurrentFieldStyle.priFieldWithRightZoom {
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
}

.paintedCurrentFieldStyle.priFieldWithLeftZoom {
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
}

.paintedTxtStyle {
	margin-top:0px;
	margin-bottom:0px;
    padding-top: 0px;
	padding-bottom: 0px;
	border: 1px;
	border-color: #bfd0d7;
	border-style:solid;
	font-size: inherit;
	border-radius: 3px;
}

.formGridHeader_rtl div:not([style*="display:none"]) + .form-filter-icon {
    margin-left: 9px;
}

.formGridHeader_ltr div:not([style*="display:none"]) + .form-filter-icon {
    margin-right: 9px;
}

.formGridCell_rtl .priCurrentReadonlyFieldStyle,.formGridCell_ltr .priCurrentReadonlyFieldStyle {
	background-color: #e2e2e2;
}

.paintedFieldStyle .priCurrentReadonlyFieldStyle {
	background-color: #f4f6f8;
}

.paintedFieldStyle .priReadonlyFieldStyle {
	border-color: rgba(191,208,215,0.6);
	background-color: #f4f6f8;
}
/* priQueryFieldStyle {
} */

/* If you change padding, change also FormColumn.DefaultMinCellWidth in Java */
/*
.priFieldCharStyle {
	text-align: left;
}
.priFieldStrStyle {
	text-align: left;
}
.priFieldDate8Style {
	text-align: left;
}
.priFieldDate10Style {
	text-align: left;
}
.priFieldDate14Style {
	text-align: left;
}
.priFieldTime5Style {
	text-align: left;
}
.priFieldTime6Style {
	text-align: left;
}
.priFieldDayStyle {
	text-align: left;
}
.priFieldOperatorStyle {
	text-align: left;
}
.priFieldUnsignedStyle {
	text-align: right;
}
.priFieldRstrStyle {
	text-align: right;
}
.priFieldRealStyle {
	text-align: right;
}
.priFieldIntStyle {
	text-align: right;
}
*/
.priFieldLeftAlignStyle {
	text-align: left;
}
.priFieldRightAlignStyle {
	text-align: left;
}
/** BOOL FIELD STYLES 
	Grey/Yellow/Lime Backgounds comes from general field styles 
	like priCurrentFieldStyle, priReadonlyFieldStyle, priCurrentReadonlyFieldStyle etc) 
****/
.priInvisibleCheckBoxStyle {
	display: none;
}
.priFieldBoolStyle { /* general  bool style */
	color:#004300;
	border-radius: 0px; /* Aharon, 12/11/2014 - changed from 2px; */
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	border:1px #c5cdd3 solid; /* Aharon, 12/11/2014 - changed from #8E8F8F */
	border-radius: 3px;
	/* Aharon, 12/11/2014 vvv - commented 
	border-top-color:#6C706F;
	border-left-color:#6C706F;
	/* Aharon, 12/11/2014 ^^^ */
	text-align: center;
	vertical-align: middle;
	margin:2px 0 2px 0px; /* effect cell height */
	/* Aharon, 12/11/2014 vvv - commented 
	-webkit-box-shadow: inset 1px 1px 0px 0px #333;
	box-shadow: inset 1px 1px 0px 0px #333;
	*/
	box-shadow: none;
	/* Aharon, 12/11/2014 ^^^ */
	padding: 0px;
	cursor: pointer;
	/*
	width:7px;
	height:7px;
	max-width:7px;
	max-height:7px;
	margin:2px 0 5px 0px;
	padding: 0px 2px 5px 2px;
	font-size:9px;
	*/
/* Aharon, 12/11/2014 - commented
background: #e1e1e1; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' * /
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2UxZTFlMSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlZWVlZWUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  #e1e1e1 0%, #eeeeee 100%); /* FF3.6+ * /
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e1e1e1), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ * /
background: -webkit-linear-gradient(top,  #e1e1e1 0%,#eeeeee 100%); /* Chrome10+,Safari5.1+ * /
background: -o-linear-gradient(top,  #e1e1e1 0%,#eeeeee 100%); /* Opera 11.10+ * /
background: -ms-linear-gradient(top,  #e1e1e1 0%,#eeeeee 100%); /* IE10+ * /
background: linear-gradient(to bottom,  #e1e1e1 0%, #eeeeee 100%); /* W3C * /
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e1e1e1', endColorstr='#eeeeee',GradientType=0 ); /* IE6-8 * /
*/
/* background: #f7fbfd; */
/* Aharon, 12/11/2014 ^^^ */
}
.priFieldBoolStyle:hover{
	color:blue;
-}
.priCurrentBoolFieldStyle 
{
	border-color : var(--primary-color-500); 
	background: #f7fbfd; 
}
.priCurrentReadonlyBoolFieldStyle 
{
/* Aharon, 4/12/2014 - all backgrounds removed
	background: #eeeeee; /* Old browsers * /
	/* IE9 SVG, needs conditional override of 'filter' to 'none' * /
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNiN2I3YjciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #eeeeee 0%, #b7b7b7 100%); /* FF3.6+ * /
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#b7b7b7)); /* Chrome,Safari4+ * /
	background: -webkit-linear-gradient(top,  #eeeeee 0%,#b7b7b7 100%); /* Chrome10+,Safari5.1+ * /
	background: -o-linear-gradient(top,  #eeeeee 0%,#b7b7b7 100%); /* Opera 11.10+ * /
	background: -ms-linear-gradient(top,  #eeeeee 0%,#b7b7b7 100%); /* IE10+ * /
	background: linear-gradient(to bottom,  #eeeeee 0%,#b7b7b7 100%); /* W3C * /
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#b7b7b7',GradientType=0 ); /* IE6-8 * /
Aharon, 4/12/2014 */
	background-color:#E8E8E8;
	/*
	min-height: 10px;
	max-height: 10px;
	height : 10px;
	padding : 1px 1px 1px 1px;
	max-width : 10px;
	width: 10px;
	*/
}
.priReadonlyBoolFieldStyle 
{
	border-color : #dde3e6; /* Aharon, 11/12/2014. Changed from gray */
}
.paintedFieldBorder_ltr 
{
	border-bottom-right-radius	: 0px; /* Aharon, 10/11/2014 4px; */
	border-top-right-radius	    : 0px; /* Aharon, 10/11/2014 4px; */
	border-bottom-left-radius	: 0px;
	border-top-left-radius	    : 0px;
	/* margin-left                 : 1px; */
}
.paintedFieldBorder_rtl
{
    border-bottom-left-radius: 0px; /* Aharon, 10/11/2014 4px; */
    border-top-left-radius	: 0px; /* Aharon, 10/11/2014 4px; */
    border-top-right-radius	: 0px;
    border-bottom-right-radius	: 0px;
    /* margin-right            : 1px; */
}
.priQueryCurrentFieldStyle 
{
    border-color: #60c5bb; /* Aharon, 13/11/2014 changed from #9BB857; */
    background-image: none;
	/* background-color: #bcebff; */
	background :#c9efac; /* Aharon, 11/12/2014 */
	direction : inherit;
	filter: none;
}

/* Aharon, 11/11/2014 vvv */
.frameLeftBorder
{
	border-left: solid 1px #afbfc5;
}
.frameRightBorder
{
	border-right: solid 1px #afbfc5;
}
.frameBottomBorder
{
	border-bottom: solid 1px #afbfc5;
}
/* Aharon, 11/11/2014 ^^^ */
.form-search-wrapper {
	position: absolute;
}
