/* add a gray border to the cells of ExtJS grids */
.thinCellBorder .x-grid-cell {
	border-bottom: 1px solid #BFBFBF;
	border-right: 1px solid #BFBFBF;
}

.waveCol {
	border-left: 1px solid;
}

.modeCol:not(.waveCol) {
	border-left: 1px dashed;
}

.allocGrid .x-grid-cell-inner {
	padding: 0px;
	font-size: 12px;
}

.setupGrid .x-grid-with-row-lines {
	border: 0px;
}

.allocGrid .x-grid-with-row-lines {
	border: 0px;
}

.allocEditor {
	width: 53px;
}

.allocEditor * {
	font-size: 12px;
}

.allocEditor INPUT {
	background-image: none;
	height: 19px;
	margin-left: 1px;
}

.allocEditor:not(.percent) INPUT {
	width: 57px !important;
}

.allocEditor.percent INPUT {
	width: 40px !important;
}

.percentSign {
	background-color: white;
	width: 17px;
}

/* prevent ExtJS from changing the background color when hovering a row */
.allocGrid .x-grid-row-over TD {
	background-color: inherit;
}

.normalPadding .x-grid-cell-inner {
	padding: 4px 6px 5px 0px;
}

.rightAlign .x-grid-cell-inner {
	text-align: right !important;
}

.allocError .x-grid-cell-inner {
	color: red;
}

.nmfsRow TD.readOnlyCell {
	background-image: none;
	background-color: #F8CBAD;
}

.stateRow TD.readOnlyCell {
	background-image: none;
	background-color: #FFE699;
}

/* style the "Group_Total" rows */
.groupTotal > TD {
	border-bottom: 2px solid gray !important;
}

/* style the "Screen_Total" row */
.screenTotal TD,
.screenTotal.x-grid-row-over TD {
	background-image: none;
	background-color: lightgray;
}

TR.hiddenRow {
	display: none;
}

.titleCol {
	padding: 4px 0.5em 5px 0.5em;
}

.titleCol .x-grid-cell-inner {
	font-size: 11px;
}

.indent1 .titleCol {
	padding-left: 1.5em;
}

.indent2 .titleCol {
	padding-left: 2.5em;
}

.grayHeader .x-grid-header-ct-docked-top {
	background: none;
	background-color: #EEEEEE;
}

.topGrid TD.readOnlyCell {
	background-image: none;
	background-color: lightgray;
}

.setupGrid TD.readOnlyCell {
	background-image: none;
	background-color: lightgray;
}

.setupGrid INPUT {
	background-image: none;
}

.detailsGrid TABLE {
	border-spacing: 0px;
	table-layout: fixed;
}

.detailsGrid TD {
	font-size: 11px;
	font-family: tahoma, arial, verdana, sans-serif;
	text-align: center;
	padding: 5px;
	background-color: lightgray;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
}

.detailsGrid .header {
	background-color: #EEEEEE;
}

.detailsGrid .stateNameCol {
	vertical-align: top;
}

.detailsGrid.horizontalStateNames .stateNameCol DIV {
	word-wrap: break-word;
}

.detailsGrid.verticalStateNames .stateNameCol DIV {
	writing-mode: vertical-lr;
	text-orientation: upright;
	letter-spacing: 20px;
	font-variant: small-caps;
	font-size: 15px;
	text-transform: uppercase;
	line-height: 50px;
	position: -webkit-sticky;
	position: sticky;
	top: 0;
}

.detailsGrid TD:not(.stateNameCol):not(.header) {
	vertical-align: bottom;
}

.detailsGrid .noResult {
	text-align: left;
	border-spacing: 6px;
}

.detailsGrid .stateCol {
	background-color: #FFE699;
}

.detailsGrid .nmfsCol {
	background-color: #F8CBAD;
}

.detailsGrid .totalRow {
	font-weight: bold;
}

.detailsGrid .numCell {
	text-align: right;
}

.detailsGrid .error {
	color: red;
}

.detailsGrid .noResult TD {
	background-color: white;
	text-align: left;
	border: none;
}
