/**
	This CSS file is used to customize GXT views and widgets in the application.
	
	It will gradually shrink as the GXT parts are rewritten in plain JavaScript.
*/

.gxtToplevel input {
	/* GXT override to remove underline for invalid fields */
	background-image: inherit!important;
}

#order-form-number-label {
	/* RD-1482: Clip order number label */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#order-form-header-status {
	padding-left: 5px;
	font-weight: bold;
	font-family: "Calibri W99", Arial, Helvetica, sans-serif!important;
}

#fax-scrollPanel {
	border: 1px solid #99bbe8;
	background-color: #dfdfdf;
	background-image: url(
		data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEXf39////8zI3BgAAAAEUlEQVQI12P4z8CAFWEX/Q8Afr8P8erzE9cAAAAASUVORK5CYII=
	);
	background-repeat: repeat;
	background-attachment: fixed;
	text-align: center;
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

#fax-emptyContainer {
	border: 1px solid #99bbe8;
	background: white;
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

#fax-emptyContainer-label {
	font-size: 24px!important;
}

.faxEditor_zeroPage #faxEditor-country {
	text-align: right;
	padding-right: 5px;
}

.image-processing-scroll-window {
	overflow: auto;
}

.image-processing-fit-to-window {
	overflow: hidden;
}

.image-processing-fit-to-window img {
	max-width: 100%;
	max-height: 100%;
}

.orderDialog-errorLabel {
	margin-left: 5px;
	cursor: pointer;
	color: #d60236;
	min-width: 275px;
}

.faxEditor-errorLabel {
	margin-left: 5px;
	cursor: pointer;
	color: #d60236;
	min-width: 190px;
}

.faxEditorLargeLabel {
	font-size: 20px!important;
}

.orderDialog-storeBlockedLabel {
	color: #d60236;
	white-space: nowrap;
	text-align: right;
}

.orderDialog-redoCount {
	white-space: nowrap;
	text-align: right;
}

.orderDialog-errorLabel.hasErrors {
	border-bottom: 1px dotted #d60236;
}

.orderNoteContainer {
	background: #f0f0f0;
	border: 1px solid #aaa;
}

.miniHistoryItem {
	cursor: pointer;
}

.miniHistoryItem, .storeNoteItem {
	border-bottom: 1px solid #aaa;
	white-space: nowrap;
	padding: 2px;
	background: white;
}

.prospectDialogStopwatch label {
	font-size: 18pt!important;
	font-weight: bold;
	font-family: "Calibri W99", Arial, Helvetica, sans-serif!important;
}

.listFieldItem {
	border: 1px solid #fff;
}

div.folderItem, div.groupedListItem {
	border: 1px solid #fff;
}

div.groupedListItem {
	padding-left: 12px;
}

div.folderItem {
	padding-left: 22px;
	background-repeat: no-repeat;
	background-position: 3px 0px;
	/* The properties below are used to avoid overlapping folder counts with small width */
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

div.folderIcon-NORMAL {
	background-image: url(../img/folder.png);
}

div.folderIcon-ARCHIVE {
	background-image: url(../img/archive-folder.png);
}

div.folderSize {
	float: right;
	color: #888;
}

.pathHeader {
	height: 15px;
}

.callInfoPanel {
	text-align: center;
	padding: 5px;
	background: #eee;
}

.uppercaseTextField input, .uppercaseTextField textarea {
	text-transform: uppercase;
}

.passwordHiddenMsg {
	font-style: italic;
	color: #888;
	font-family: CalibriItalic, Arial, Helvetica, sans-serif!important;
}

.totalRow div {
	font-weight: bold;
	font-family: "Calibri W99", Arial, Helvetica, sans-serif!important;
}

.unknownRow div {
	font-style: italic;
}

.editableCell {
	background-color: #ffffc0;
}

.editedStore {
	color: #0000ff;
}

.customerInfoText {
	/* padding-top: 5px; */
	padding-left: 3px;
}

.commentArea {
	background: white;
}

.invoicesHeader {
	font-weight: bold;
	padding-top: 5px;
	font-family: "Calibri W99", Arial, Helvetica, sans-serif!important;
}

.reportFilterPanel, .reportFilterPanel .x-panel-body {
	background: #eee;
}

.redoReason-groupName-first {
	font-weight: bold;
	padding: 3px;
	font-family: "Calibri W99", Arial, Helvetica, sans-serif!important;
}

.redoReason-groupName {
	display: none;
}

.orderDialogSubheader {
	padding: 0 6px 0 0;
}

.orderDialogSubheader span {
	padding: 0!important;
}

.orderDialogSubheader, .orderDialogSubheader span {
	line-height: 21px!important;
	text-transform: uppercase!important;
	font-weight: bold!important;
	font-size: 10pt!important;
	font-family: "Calibri W99", Arial, Helvetica, sans-serif!important;
}

.orderSourceLabel, .orderStatusLabel {
	padding-top: 3px;
}

.officeUseLabel {
	font-weight: bold;
	font-family: "Calibri W99", Arial, Helvetica, sans-serif!important;
}

.demoJSONLabel {
	height: 250px;
	overflow: auto;
}

/*tree class for skinning as statuses list*/
div.rdtree {
	background: white;
}

/* UIFactory declarations */

.uif-ButtonBar {
  padding: 5px;
}

.uif-LogEntry {
	border: 1px solid #aaa;
	margin: 4px;
	padding: 4px;
	background: #eee;
	text-align: left;
}

.uif-searchSelector {
	margin-left: 6px;
	margin-right: 6px;
}

.uif-FieldSet legend {
	margin-bottom: 3px;
}

/* End UIFactory declarations */

.x-form-textarea {
	resize: auto;	
}

div.canvasTextLine {
	white-space: nowrap;
}

.x-panel-tl .x-panel-header a {
	color: #15428B;
	text-decoration: none;
}

.x-panel-tl .x-panel-header a:visited {
	color: #15428B;
	text-decoration: none;
}

.x-panel-tl .x-panel-header a:hover {
	color: #0000AA;
	text-decoration: underline;
}

.checkLinkOff {
	color: #0000AA;
	text-decoration: underline;
}

.checkLinkOn {
	color: #000055;
	background: #AAAAFF;
	text-decoration: underline;
}

.MultiSelectListView {
	border: 1px solid #aaa;
	background: white;
}

.MultiSelectCell {
	border: 1px solid #aaa;
	background: white;
	height: 100px;
	overflow-x: hidden;
	overflow-y: scroll;
}

.MultiSelectCell div {
	white-space: nowrap;
}

.MultiSelectCell input {
	margin: 3px;
}

#lineHelpTextLabel {
	font-size: 12px!important;
	padding-top: 6px!important;
}

.tagEditor-toolbarButton {
	width: 20px!important;
	height: 22px;
	background-position: 3px 3px;
}

.tagEditor-toolbarButton:hover {
	width: 18px;
	height: 20px;
	border: 1px solid #aaa;
	background-position: 2px 2px;
}

.tagEditor-lineDescription {
	white-space: nowrap;
}

div.TagView-ToolBar .com-sencha-gxt-theme-base-client-toolbar-SeparatorToolItemDefaultAppearance-SeparatorToolItemStyle-separator {
	padding: 0;
}

.tb-uMaxHeight { background-image: url('../img/toolbar/bigger.png') }
.tb-uMaxWidth { background-image: url('../img/toolbar/expand.png') }
.tb-uMinHeight { background-image: url('../img/toolbar/smaller.png') }
.tb-uMinWidth { background-image: url('../img/toolbar/shrink.png') }
.tb-uMovDown { background-image: url('../img/toolbar/down.png') }
.tb-uMovLeft { background-image: url('../img/toolbar/left.png') }
.tb-uMovRight { background-image: url('../img/toolbar/right.png') }
.tb-uMovUp { background-image: url('../img/toolbar/up.png') }
.tb-uTxtFirst { background-image: url('../img/toolbar/reset.png') }
.tb-uZoomBack { background-image: url('../img/toolbar/zoom-reset.png') }
.tb-uZoomIn { background-image: url('../img/toolbar/zoom-in.png') }
.tb-uZoomOut { background-image: url('../img/toolbar/zoom-out.png') }
.tb-uDistribute { background-image: url('../img/toolbar/distribute.png') }
.tb-uCenter { background-image: url('../img/toolbar/center.png') }
.tb-uCenterAll { background-image: url('../img/toolbar/center-all.png') }

.TagView-edited {
	background: #d60236;
	color: white;
	padding: 0 5px;
	font-weight: bold;
	font-size: 15px!important;
	max-width: 230px;
	white-space: nowrap;
	overflow: hidden;
}

.hiddenToolBar table {
	visibility: hidden;
}

.x-btn button:focus {
	border: 2px solid #aaa;
}

.x-toolbar .x-btn button:focus {
	border: none;
}

/* Workaround for empty grid cells being too small */ 
.x-grid3-cell-inner {
	min-height: 14px;
}

.DateTimePicker-timeField {
	float: right;
}

.TagSkuWidget {
	margin: 3px;
}

.TagSkuField {
	border: 1px solid transparent;
}

.TagSkuField-invalid.TagSkuField {
	border: 1px solid #d60236;
}

.StoreDetails .uif-FieldLabel label {
	font-family: "Calibri W99", Arial, Helvetica, sans-serif!important;
	font-weight: bold!important;
	white-space: nowrap;
	padding-top: 0!important;
}

.StoreDetails-InfoTable {
	border-top: 1px solid #b5b8c8;
    border-bottom: 1px solid #b5b8c8;
}

.StoreDetails-InfoTable td {
	text-align: center;
	padding-left: 6px;
	padding-right: 6px;
}

.StoreDetails-InfoTable td.StoreDetails-InfoTable-ColumnHeader {
	font-weight: bold;
}

.blockStatusLabel {
	white-space: nowrap;
}

.blockStatusLabel-blocked {
	color: #d60236;
}

.OrderForm-FieldLabel {
	padding-bottom: 3px!important;
}

.OrderForm-FieldLabel.OrderForm-FieldLabel-hbox {
	padding-bottom: 6px!important;
}

div.OrderForm-lineField-warning input {
	border-color: #d60236;
}

#order-form-add-line {
	/* Overlap line 6 */
	color: #d60236;
	position: absolute!important;
	top: auto!important;
	left: 73px!important;
	bottom: 20px!important;
}

.order-form-receiver-country_unavailable input, .order-form-receiver-country__unavailable-item {
	color: #d60236;
	background: #fff0f0;
}

.formattedAddress textarea {
	color: black!important;
}

.removedCell {
	color: #d60236;
}

.warningCell {
	color: #d60236;
	font-style: italic;
}

.orderRangeVoided {
	color: #d60236;
	text-decoration: line-through;
}

.retailArea {
	border-top: 1px solid #aaa;
}

.retailArea label {
	font-family: "Calibri W99", Arial, Helvetica, sans-serif!important;
	font-weight: bold;
}

.retailLabel {
	padding-top: 3px;
}

.retailFieldLabel-alignRight > label {
	text-align: right;
}

.gwt-FileUpload {
	position: relative;
	top: -5px;
}

.twoLineWrappingGridColumn {
	/* GXT overrides */
	height: 34px!important;
	white-space: normal!important;
}

.orderNumber input {
	font-size: 18px!important;
	height: 26px!important;
}

.faxEditor-orderNumber input {
	font-size: 40px!important;
	height: 46px!important;
}

/* Workaround for layout overlap */
.faxEditor-existingFaxLink {
	position: relative;
	z-index: 4;
}

.storeLink {
	font-size: 18px!important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hideState label {
	color: #aaa;
}

.StockReceiptImportView-uploader input {
	width: 415px;
}

.OrderListColumns-followUpRequired-expired {
	color: #d60236;
}

.OrderListColumns-followUpRequired-today {
	color: green;
}

.uif-ButtonBar.OrderForm-buttonBar {
	background: #f0f0f0;
	padding: 2px 5px;
	border-width: 0;
}

.OrderHistoryDialog-comment-public, .OrderHistoryDialog-publicWarning, .miniHistory-public, .miniHistory-publicWarning,
.OrderNavView-unsavedChangesWarning {
	color: #d60236;
}

.OrderNavView-unsavedChangesWarning {
	text-transform: uppercase;
	padding-left: 20px;
	font-size: 16px!important;
	font-weight: bold;
	top: 4px!important; /* Alignment with folder link */
}

.OrderNavView-relatedContainer {
	position: absolute;
	top: 3px!important;
	left: 50%!important;
	margin-left: -126px!important;
}

.OrderNavView-relatedContainer .gwt-Label {
	top: 1px!important;
}

.OrderSearchFilterPanel {
	background: #f0f0f0;
	white-space: nowrap;
}

.OrderSearchFilterPanel-column {
	display: inline-block;
	vertical-align: top;
}

.StoreDetailsBody {
	background: #dfe8f6;
}

span.lastLoggedIn {
	float: right;
}

.UploadDialog .GWTUpld {
	margin-top: 10px;
}

.ActionTrackingPagingToolBar__pageText {
	border: 1px solid #aaa; /* Fix overly thick border in Chrome 83 */
}

