/*
#################################################################
 DO NOT MODIFY THIS FILE UNDER ANY CIRCUMSTANCES
#################################################################

  CSS for HTML Widgets for finPOWER Connect Desktop styling

  Version Date: 20-Oct-2021

  NOTE
  ====
  LESS-style variables are replaced for each entry in the iseUiColour Enum:

  Background

  ButtonBackgroundChecked
  ButtonBackgroundHot
  ButtonBackgroundPressed
  ButtonBorder
  ButtonBorderChecked
  ButtonBorderHot
  ButtonBorderPressed

  ControlBackground
  ControlBackgroundRequired
  ControlBackgroundDisabled
  ControlBackgroundFocused
  ControlBackgroundFocusedRequired
  ControlBackgroundReadOnly
  ControlBackgroundReadOnlyFocused
  ControlBorder
  ControlCaption
  ControlCaptionDisabled
  ControlCaptionHeading
  ControlCaptionRequired
  ControlText
  ControlTextBlankTip
  ControlTextDisabled
  ControlTextNegativeNumber

  GridRow
  GridRowAlt
  GridTextNonCurrent

  LabelError
  LabelHyperlink
  LabelWarning

  MenuBackground
  MenuCaption

  MetroControlBackground
  MetroControlBackgroundDisabled
  MetroControlBorder
  MetroTileDark
  MetroTileLight
  MetroText
  MetroTextDisabled

  OutcomeFail
  OutcomePass
  OutcomeRefer

  PanelBackground
  PanelBackgroundBusy
  PanelBackgroundText
  PanelBackgroundTextHeading
  PanelBorder
  PanelButtonChecked
  PanelButtonCheckedBusy
  PanelButtonText
  PanelHot
  PanelHotDown
  PanelNormal
  PanelSelected
  PanelSeparator
  PanelTextNormal
  PanelTextSelected

#################################################################
*/


/*
====
Form
====
*/
body {
  background-color:@BACKGROUND !important;
}

/* Header */
.is-widget-form header {
  background-color:@CONTROLBACKGROUND !important;
  color:@CONTROLTEXT !important;
  box-shadow:none !important;
  border-bottom:1px solid @CONTROLBORDER !important;
}

.is-widget-form header div.header {
  font-weight:bold;
}

/* Footer */
.is-widget-form footer {
  border-top:1px solid @CONTROLBORDER !important;
  padding:4px !important;
}

/* Section Heading */
label.is-label-heading {
  font-size:13px !important;
  margin-bottom:-2px !important;
}

/* Mandatory Label */
label.is-mandatory {
  color:@CONTROLCAPTIONREQUIRED !important;
}


/*
=======
Buttons
=======
*/
/* Normal */
button.is-button:not(.small) {
  border-radius:0 !important;
  font-size:12px !important;
  height:24px !important;
  line-height:normal !important;
  min-width:80px !important; /* Prevent responsive shrinking of buttons */  
  padding-top:0 !important;
  padding-bottom:0 !important;
}

button.is-button:not(.small):not(:disabled) {
  background-color:@BACKGROUND !important;
  border-color:@BUTTONBORDER;
  color:@CONTROLTEXT !important;
}

button.is-button:not(.small):not(:disabled):hover {
  background-color:@BUTTONBACKGROUNDHOT !important;
  border-color:Highlight !important;
  color:@CONTROLTEXT !important;
}

/* Small */
button.is-button.small {
  border-radius:0 !important;
  font-size:12px;
}

/* Grid buttons */
div.is-grid-buttons button.is-button {
  border:inherit !important;
  border-radius:4px !important;
  min-width:0 !important;
  height:inherit !important;
}


/*
========
Controls
========
*/
/* Checkbox */
label.is-checkbox:before {
  border-radius:0 !important;
}

label.is-checkbox:not(:disabled):before {
  border:1px solid @CONTROLBORDER !important;
  background-color:@CONTROLBACKGROUND !important;
}

span.is-checkbox input:disabled + label:before,
span.is-checkbox input:hover:disabled + label:before {
  background-color: @CONTROLBACKGROUNDREADONLY !important;
  border-color: #d0d0d0 !important;
  color: silver !important;
}

/* TextBox */
input.is-textbox,
textarea.is-textbox,
input.is-datebox,
input.is-combobox {
  border-radius:0 !important;
}

input.is-textbox,
input.is-datebox,
input.is-combobox {
}

input.is-textbox:focus,
textarea.is-textbox:focus,
input.is-datebox:focus,
input.is-combobox:focus {
  border-bottom:1px solid @CONTROLBORDER !important;
  box-shadow:none !important;
}

input:not(:disabled).is-textbox,
textarea:not(:disabled).is-textbox,
input:not(:disabled).is-datebox,
input:not(:disabled).is-combobox {
  border-color:@CONTROLBORDER !important;
}

/* ComboBox */
button.is-combobox-button {
  border:1px solid ButtonShadow !important;
  line-height:18px !important;
}
button.is-combobox-button:before {
  font-size:9px !important;
}
button:not(:disabled).is-combobox-button {
  background-color:ButtonFace !important;
  color:black;
}

button:not(:disabled).is-combobox-button:hover {
  background-color:@BUTTONBACKGROUNDHOT !important;
  border:1px solid Highlight !important;
  color:black;
}

/* Button Strip */
div.is-button-strip > ul > li > a {
  border-radius:0 !important;
}

/* Document Manager ComboBox */
div.is-dm-combobox {
  border-color:rgba(0,0,0,0.2) !important;
}


/*
=====
Modal
=====
*/
div.is-modal {
  border-radius:0 !important;
  box-shadow:2px 2px 2px rgba(0,0,0,0.1);
}

div.is-modal > .is-modal-title {
  background-color:ActiveCaption !important;
  color:InactiveCaptionText !important;
  font-size:14px !important;
  line-height:32px !important;
  height:32px !important;
  overflow:hidden;
  min-height:32px !important;
}

div.is-modal > .is-modal-title-buttons,
div.is-modal > .is-modal-title-icon,
div.is-modal > .is-modal-title-buttons div.is-modal-close {
  line-height:32px !important;
  height:32px !important;
  overflow:hidden;
  min-height:32px !important;
  font-size:14px !important;
}

div.is-modal > .is-modal-body {
  background-color:@BACKGROUND !important;
}

div.is-modal > .is-modal-footer {
  background-color:@BACKGROUND !important;
}