/* claro/form/Common.css */
/*========================= common css =========================*/
/*@minor-selected-color: spin(saturate(darken(@primary-color, 6), 19), 0);						// Color for various arrows and buttons*/
/*@minor-selected-color: spin(saturate(darken(@primary-color, 6), 19), 0);						// Color for various arrows and buttons*/
/*@base-border-color: spin(desaturate(darken(@primary-color, 29), 44), -1);		// Augmented and used directly by variables to create border colors for various widgets*/
/*@unfocused-clickable-color: spin(saturate(lighten(@primary-color, 5), 10), 0);				// Background color for enabled buttons, text inputs */
/*@border-color: spin(desaturate(darken(@primary-color, 15), 67), 8);						// Border color for (enabled, unhovered) TextBox, Slider, Accordion, BorderContainer, TabContainer*/
/*@hovered-background-color: @minor-selected-color;	// Background color for hover of Button, MenuBar, Accordion pane, Calendar... anything that has a (non-white) color to start with and gets darker on hover*/
/*@selected-border-color: @base-border-color;  							// Selected AccordionPane, tab of nested TabContainer (but plain TabContainer is special)*/
/*@bar-background-color: @secondary-color;								// MenuBar, Toolbar, action bar at bottom of dialog*/
/*@textbox-hovered-background-color: @unfocused-clickable-color;			// Background color when hovering a unfocused TextBox, Select, Editor, or other input widget*/
/*@textbox-focused-background-color: @textbox-background-color;*/
/*@toolbar-button-checked-background-color: @container-background-color;								// a toggled-on button in the toolbar*/
/*@image-form-checkbox-and-radios: "form/images/checkboxRadioButtonStates.png";*/
/*@image-form-checkbox-and-radios-ie6: "form/images/checkboxAndRadioButtons_IE6.png";*/
/*@image-form-common-arrows: "form/images/commonFormArrows.png";*/
/* 'dijitTextBox' refers to 'dijit(TextBox|DateTextBox|CurrencyTextBox|...)' */
.claronb .dijitTextBox,
.claronb .dijitInputInner {
  color: #000000;
}
.claronb .dijitValidationTextBoxError .dijitValidationContainer {
  background-color: #d46464;
  background-image: url("../form/images/error.png");
  background-position: top center;
  border: solid #d46464 0;
  width: 9px;
}
.claronb .dijitTextBoxError .dijitValidationContainer {
  border-left-width: 1px;
}
.claronb .dijitValidationTextBoxError .dijitValidationIcon {
  width: 0;
  background-color: transparent;
  /* so the INPUT doesn't obscure the border in rtl+a11y */

}
/* Padding for the input area of TextBox based widgets, and corresponding padding for the
 * down arrow button and the placeholder.   placeholder is explicitly listed  because
 * dijitPlaceHolder is absolutely positioned, so padding set on dijitInputField
 * won't affect it
 */
.claronb .dijitTextArea,
.claronb .dijitInputField .dijitPlaceHolder {
  padding: 3px;
}
.claronb .dijitSelect .dijitInputField,
.claronb .dijitTextBox .dijitInputField {
  /*padding: @textbox-padding - 1px  @textbox-padding;*/

  padding: 3px 3px;
}
.dj_gecko .claronb .dijitTextBox .dijitInputInner,
.dj_webkit .claronb .dijitTextBox .dijitInputInner {
  padding: 2px;
}
.claronb .dijitSelect,
.claronb .dijitSelect .dijitButtonContents,
.claronb .dijitTextBox,
.claronb .dijitTextBox .dijitButtonNode {
  /* color for (outer) border on *TextBox widgets, and border between input and buttons on ComboBox and Spinner */

  border-color: #b5bcc7;
  -webkit-transition-property: background-color, border;
  -moz-transition-property: background-color, border;
  transition-property: background-color, border;
  -webkit-transition-duration: 0.35s;
  -moz-transition-duration: 0.35s;
  transition-duration: 0.35s;
}
.claronb .dijitSelect,
.claronb .dijitTextBox {
  background-color: #ffffff;
}
/* hover */
.claronb .dijitSelectHover,
.claronb .dijitSelectHover .dijitButtonContents,
.claronb .dijitTextBoxHover,
.claronb .dijitTextBoxHover .dijitButtonNode {
  border-color: #e2b0b8;
  -webkit-transition-duration: 0.25s;
  -moz-transition-duration: 0.25s;
  transition-duration: 0.25s;
}
.claronb .dijitTextBoxHover {
  background-color: #ffffff;
  background-image: -moz-linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
  background-image: -webkit-linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
  background-image: -o-linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
  background-image: linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
}
/* error state */
.claronb .dijitSelectError,
.claronb .dijitSelectError .dijitButtonContents,
.claronb .dijitTextBoxError,
.claronb .dijitTextBoxError .dijitButtonNode {
  border-color: #d46464;
}
/* focused state */
.claronb .dijitSelectFocused,
.claronb .dijitSelectFocused .dijitButtonContents,
.claronb .dijitTextBoxFocused,
.claronb .dijitTextBoxFocused .dijitButtonNode {
  border-color: #e2b0b8;
  -webkit-transition-duration: 0.1s;
  -moz-transition-duration: 0.1s;
  transition-duration: 0.1s;
}
.claronb .dijitTextBoxFocused {
  background-color: #ffffff;
  background-image: -moz-linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
  background-image: -webkit-linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
  background-image: -o-linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
  background-image: linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
}
.claronb .dijitTextBoxFocused .dijitInputContainer {
  background: #ffffff;
}
.claronb .dijitSelectErrorFocused,
.claronb .dijitSelectErrorFocused .dijitButtonContents,
.claronb .dijitTextBoxErrorFocused,
.claronb .dijitTextBoxErrorFocused .dijitButtonNode {
  border-color: #ce5050;
}
/* disabled state */
.claronb .dijitSelectDisabled,
.claronb .dijitSelectDisabled .dijitButtonContents,
.claronb .dijitTextBoxDisabled,
.claronb .dijitTextBoxDisabled .dijitButtonNode {
  border-color: #d3d3d3;
}
.claronb .dijitSelectDisabled,
.claronb .dijitTextBoxDisabled,
.claronb .dijitTextBoxDisabled .dijitInputContainer {
  background-color: #efefef;
  background-image: none;
}
.claronb .dijitSelectDisabled,
.claronb .dijitTextBoxDisabled,
.claronb .dijitTextBoxDisabled .dijitInputInner {
  color: #818181;
}
.dj_webkit .claronb .dijitDisabled input {
  /* because WebKit lightens disabled input/textarea no matter what color you specify */

  color: #757575;
}
.dj_webkit .claronb textarea.dijitTextAreaDisabled {
  /* because WebKit lightens disabled input/textarea no matter what color you specify */

  color: #1b1b1b;
}
/*========================= for special widgets =========================*/
/* Input boxes with an arrow (for a drop down) */
.claronb .dijitSelect .dijitArrowButtonInner,
.claronb .dijitComboBox .dijitArrowButtonInner {
  background-image: url("../form/images/pil_dropdownmeny.png");
  /*background-position:-35px 53%;*/

  background-position: 0px;
  background-repeat: no-repeat;
  margin: 0;
  /*width:16px;*/

  width: 25px;
}
.claronb .dijitComboBox .dijitArrowButtonInner {
  border: 1px solid #ffffff;
}
.claronb .dijitToolbar .dijitComboBox .dijitArrowButtonInner {
  border: none;
}
.claronb .dijitToolbar .dijitComboBox .dijitArrowButtonInner {
  border: none;
}
/* Add 1px vertical padding to the <input> where user types and the validation icon,
   to match the 1px border on arrow button */
.claronb .dijitSelectLabel,
.claronb .dijitTextBox .dijitInputInner,
.claronb .dijitValidationTextBox .dijitValidationContainer {
  padding: 1px 0;
}
.claronb .dijitComboBox .dijitButtonNode {
  background-color: #efefef;
  background-image: url("../images/standardGradient.png");
  background-repeat: repeat-x;
  background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
  background-image: -o-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
  background-image: linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
  _background-image: none;
}
/* Arrow "hover" effect:
 * The arrow button should change color whenever the mouse is in a position such that clicking it
 * will toggle the drop down.   That's either (1) anywhere over the ComboBox or (2) over the arrow
 * button, depending on the openOnClick setting for the widget.
 */
.claronb .dijitComboBoxOpenOnClickHover .dijitButtonNode,
.claronb .dijitComboBox .dijitDownArrowButtonHover,
.claronb .dijitComboBoxFocused .dijitArrowButton {
  background-color: #c10a26;
}
.claronb .dijitComboBoxOpenOnClickHover .dijitArrowButtonInner,
.claronb .dijitComboBox .dijitDownArrowButtonHover .dijitArrowButtonInner {
  /*	background-position:-70px 53%;*/

  background-position: 0px;
}
/* Arrow Button change when drop down is open */
.claronb .dijitComboBox .dijitHasDropDownOpen {
  background-color: #790013;
  background-image: url("../images/activeGradient.png");
  background-repeat: repeat-x;
  background-image: -moz-linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
  background-image: -webkit-linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
  background-image: -o-linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
  background-image: linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
  _background-image: none;
  padding: 1px;
}
.dj_iequirks .claronb .dijitComboBox .dijitHasDropDownOpen {
  padding: 1px 0;
}
.claronb .dijitComboBox .dijitHasDropDownOpen .dijitArrowButtonInner {
  background-position: -70px 53%;
  border: 0 none;
}
/* disabled state */
.claronb div.dijitComboBoxDisabled .dijitArrowButtonInner {
  /* specific selector set to override background-position setting from Button.js
	 * (.claronb .dijitComboBoxDisabled .dijitArrowButtonInner) */

  background-position: 0 50%;
  background-color: #efefef;
}
/*========================= hacks for browsers =========================*/
/* it seems the input[type="hidden"] has a height (16px) too... this may cause the widget's height calculate error */
.dj_ff3 .claronb .dijitInputField input[type="hidden"] {
  display: none;
  height: 0;
  width: 0;
}
.dj_borderbox .claronb .dijitComboBox .dijitHasDropDownOpen .dijitArrowButtonInner {
  width: 18px;
}
.dj_borderbox .claronb .dijitComboBoxFocused .dijitHasDropDownOpen .dijitArrowButtonInner {
  width: 16px;
}
