@use 'variables.scss';
@use 'kendo.custom.scss';
@use 'theme1.scss';
@use 'theme2.scss';
@use 'theme3.scss';
@use 'theme4.scss';
//new themes also need to be added to app.component.html

* {
  font-family: "Helvetica Neue", "Helvetica", "Arial", "sans-serif";
  /*outline: 1px red solid;*/
}

html,
body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  font-size: 14px;
  height: 100%;
  overflow: hidden;
}

app-root {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}

router-outlet+* {
  /*select the element immediately following router-outlet*/
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
}

.pageContent {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}

form {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: auto;
}

h1,
h2 {
  font-size: 1.5em;
  font-weight: 500;
  margin: 0 5px 0 0;
  white-space: nowrap;
}

p {
  margin: 5px 0 5px 0;
}

.block {
  display: block;
}

textarea {
  resize: none;
  min-width: 100px;
}

.col {
  display: flex;
  flex-direction: column;
}

.col-g {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.col-gc {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
}

.col-gch {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
  justify-content: flex-start;
}

.col-gcv {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: flex-start;
  justify-content: center;
}

.colItem {
  display: flex;
  flex-grow: 0;
  flex-direction: column;
  flex-basis: 0%;
}

.colItem-c {
  display: flex;
  flex-grow: 0;
  justify-content: center;
}

.colItem-g {
  display: flex;
  flex-grow: 1;
  align-items: stretch;
  justify-content: flex-start;
  flex-basis: 30%;
  flex-direction: column;
}

.colItem-gc {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  flex-basis: 30%;
  flex-direction: column;
}

.colItem-gch {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: flex-start;
  flex-basis: 30%;
  flex-direction: column;
}

.colItem-gcv {
  display: flex;
  flex-grow: 1;
  align-items: flex-start;
  justify-content: center;
  flex-basis: 30%;
  flex-direction: column;
}

.row {
  display: flex;
  flex-direction: row;
}

.row-c {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.row-g {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  flex-basis: 100%;
}

.row-gc {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  flex-basis: 100%;
  align-items: center;
}

.rowItem {
  display: flex;
  flex-grow: 0;
  flex-direction: column;
}

.rowItem-g {
  display: flex;
  flex-grow: 1;
  align-items: stretch;
  justify-content: center;
  flex-basis: 30%;
  //margin on both sides
  margin: 2px 10px 8px 10px;
  flex-direction: column;
}

.rowItem-gc {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  flex-basis: 30%;
  //margin on both sides
  margin: 2px 10px 8px 10px;
  flex-direction: column;
}

.rowItem-gr {
  display: flex;
  flex-grow: 1;
  align-items: flex-end;
  justify-content: center;
  flex-basis: 30%;
  //margin on both sides
  margin: 0;
  flex-direction: column;
}

.rowItem-l {
  display: flex;
  flex-grow: 0;
  align-items: stretch;
  justify-content: flex-start;
  //no right margin on a left item
  margin: 2px 0 8px 10px;
  flex-direction: column;
}

.rowItem-lc {
  display: flex;
  flex-grow: 0;
  align-items: flex-start;
  justify-content: center;
  //no right margin on a left item
  margin: 2px 0 8px 10px;
  flex-direction: column;
}

.rowItem-le {
  display: flex;
  flex-grow: 0;
  align-items: flex-start;
  justify-content: flex-end;
  //no right margin on a left item
  margin: 2px 0 0 10px;
  flex-direction: column;
}

.rowItem-r {
  display: flex;
  flex-grow: 0;
  align-items: stretch;
  justify-content: flex-end;
  //no left margin on a right item
  margin: 2px 10px 8px 0;
  flex-direction: column;
}

.rowItem-rc {
  display: flex;
  flex-grow: 0;
  align-items: flex-end;
  justify-content: center;
  //no left margin on a right item
  margin: 2px 10px 8px 0;
  flex-direction: column;
}

.rowItem-c {
  display: flex;
  flex-grow: 0;
  align-items: center;
  justify-content: center;
  margin: 2px 10px 8px 0;
  flex-direction: column;
}

.headerItem-l {
  display: flex;
  flex-grow: 0;
  align-items: center;
  justify-content: flex-start;
  //no right margin on a left item
  margin: 1px 0 2px 10px;
  flex-direction: row;
}

.headerItem-g {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: flex-start;
  flex-basis: 30%;
  //margin on both sides
  margin: 1px 10px 2px 10px;
  flex-direction: row;
}

.headerItem-gc {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  flex-basis: 30%;
  //margin on both sides
  margin: 1px 10px 2px 10px;
  flex-direction: row;
}

.headerItem-r {
  display: flex;
  flex-grow: 0;
  align-items: center;
  justify-content: flex-end;
  //no left margin on a right item
  margin: 1px 10px 2px 0;
  flex-direction: row;
}

.topBuffer {
  margin-top: 10px !important;
}

.bottomBuffer {
  margin-bottom: 10px !important;
}

.itemBuffer {
  margin: 2px 10px 2px 10px;
}

.rightBuffer,
.k-window .k-window-titlebar .rightBuffer,
.k-window .k-window-titlebar .k-window-title.rightBuffer {
  margin-right: 10px;
}

.leftBuffer,
.k-window .k-window-titlebar .leftBuffer,
.k-window .k-window-titlebar .k-window-title.leftBuffer {
  margin-left: 10px;
}

.noLeftBuffer {
  margin-left: 0;
}

.noRightBuffer {
  margin-right: 0;
}

.noTopBuffer {
  margin-top: 0;
}

.noBottomBuffer {
  margin-bottom: 0;
}

.button-none {
  height: 30px;
}

.button-fit {
  height: 30px;
  width: fit-content;
}

.button-tinier {
  height: 28px;
  width: 30px;
}

.button-tiny {
  height: 30px;
  width: 35px;
}

.button-sm {
  height: 30px;
  width: 90px;
}

.button-md {
  height: 30px;
  width: 119px;
}

.button-lg {
  height: 30px;
  width: 150px;
}

.button-none .k-icon,
.button-tiny .k-icon,
.button-sm .k-icon,
.button-md .k-icon,
.button-lg .k-icon {
  margin-right: 0;
}

.input-two-digit {
  width: 40px;
}

hr {
  border-style: solid;
  margin: 0;
}

.container {
  display: flex;
}

.sidePadding,
.sidePadding-g {
  display: flex;
  flex-basis: 100px;
  min-width: 10px;
}

.sidePadding-g {
  flex-grow: 1;
}

.sidePadding-lg {
  display: flex;
  flex-basis: 200px;
  min-width: 200px;
}

.groupBox {
  border-width: 2px;
  border-style: solid;
  border-radius: 5px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 10px;
}

.groupBox .col-g {
  border-radius: 5px;
  ;
}

.groupBox {
  outline: 1px solid black;
}

.groupBox .row {
  margin-left: 15px;
  margin-right: 15px;
  margin-top: 5px;
  min-height: 30px;
}

.groupBox .row.topBuffer {
  margin-top: 15px;
}

.groupBox .row.sub {
  margin: 0;
}

.groupBox .rowItem {
  flex-basis: 200px;
}

.groupBox .rowItem-r {
  margin: 0 10px 0 0;
}

.groupBox .rowItem.sm {
  flex-basis: 80px;
}

#header {
  box-shadow: 0 2px 2px gray;
  padding: 2px 3px 3px 3px;
  margin-bottom: 10px;
}

.datePicker-width,
.k-datepicker.datePicker-width {
  min-width: 120px;
  width: 120px;
}

.k-datepicker.datePicker-width-lg {
  min-width: 150px;
  width: 150px;
}

.k-datepicker.monthPicker-width {
  min-width: 150px;
  width: 150px;
}

.k-datepicker.monthPicker-width-md {
  min-width: 115px;
  width: 115px;
}

.k-switch.switch-allow-deny {
  min-width: 6em;
  max-width: 6em;
}

.k-switch.switch-allow-deny .k-switch-label-off {
  left: 4px;
}

.k-switch.switch-show-hide,
.k-switch.switch-show-hide-2 {
  min-width: 5.5em;
  max-width: 5.5em;
}

.k-switch.switch-show-hide .k-switch-label-off,
.k-switch.switch-show-hide-2 .k-switch-label-off {
  left: 0;
}

.k-switch.switch-xls-pdf {
  min-width: 5em;
  max-width: 5em;
}

.k-switch.switch-xls-pdf .k-switch-label-off {
  left: 14px;
}

.k-switch.switch-combine-separate {
  min-width: 7.5em;
  max-width: 7.5em;
}

.k-switch.switch-combine-separate .k-switch-label-off {
  left: -20px;
}

.k-switch.switch-daily-monthly {
  min-width: 7em;
  max-width: 7em;
}

.k-switch.switch-daily-monthly .k-switch-label-off {
  left: -12px;
}

.k-switch.switch-standard-variable {
  min-width: 7.2em;
  max-width: 7.2em;
}

.k-switch.switch-standard-variable .k-switch-label-off {
  left: -15px;
}

.k-switch.switch-incl-excl {
  min-width: 7.8em;
  max-width: 7.8em;
}

.k-switch.switch-incl-excl .k-switch-label-off {
  left: -16px;
}

.k-switch.switch-incld-excld {
  min-width: 7.2em;
  max-width: 7.2em;
}

.k-switch.switch-incld-excld .k-switch-label-off {
  left: -10px;
}

.k-switch.switch-price-vol {
  min-width: 6.7em;
  max-width: 6.7em;
}

.k-switch.switch-price-vol .k-switch-label-off {
  left: -10px;
}

.k-switch.switch-customer-supply {
  min-width: 7.8em;
  max-width: 7.8em;
}

.k-switch.switch-customer-supply .k-switch-label-off {
  left: -8px;
}

.k-switch.switch-mmbtu-monthly {
  min-width: 7.8em;
  max-width: 7.8em;
}

.k-switch.switch-mmbtu-monthly .k-switch-label-off {
  left: -25px;
}

.bottomPadding {
  padding: 2px 10px 10px 10px;
}

.note {
  font-size: 12px;
  vertical-align: text-bottom;
  margin-left: 5px;
}

.overflow {
  overflow: auto;
}

.overflowHorizontal {
  overflow-x: auto;
  overflow-y: hidden;
}

.overflowVertical {
  overflow-x: hidden;
  overflow-y: auto;
}

.hideOverflow {
  overflow: hidden;
}

.dropZone {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  border-style: solid;
  border-width: 1px;
  border-radius: 3px;
  flex-basis: 100px;
}

a:active,
a:visited:active {
  color: red;
}

.utilError.k-dialog-wrapper .k-window.k-dialog .k-dialog-content,
.utilInfo.k-dialog-wrapper .k-window.k-dialog .k-dialog-content,
.utilPrompt.k-dialog-wrapper .k-window.k-dialog .k-dialog-content {
  padding: 24px;
}

.utilError .k-window.k-dialog .k-dialog-titlebar {
  color: black;
  background-color: darksalmon;
}

.utilError .k-window.k-dialog {
  color: black;
  background-color: darksalmon;
}

.utilError .k-window.k-dialog .k-dialog-actions.k-actions {
  padding: 0;
  border: none;
}

.utilInfo .k-dialog-titlebar .k-button,
.utilError .k-dialog-titlebar .k-button {
  margin-left: 10px;
}

.utilError .k-dialog-titlebar .k-button {
  color: black;
}

.utilInfo textarea,
.utilError textarea {
  height: 100%;
}

.noMargin {
  margin: 0 !important;
}

.noWrap {
  white-space: nowrap;
}

.noMin {
  min-width: 0 !important;
}

.editor {
  display: flex;
  //class used on editor windows for tab and enter key handling
}

[hidden] {
  display: none !important;
}

.multiSelectNoInput {
  display: flex;
  //class used to manually disable input on a multiSelect
}

.overlayLight {
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: .1;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
}

.overlayContained {
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: .1;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10001;
}

.overlay2,
.overlay3 {
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: .6;
  position: fixed;
  top: 0;
  left: 0;
}

.overlay2 {
  z-index: 11001;
}

.window2.k-window {
  z-index: 11002 !important;
}

.overlay3 {
  z-index: 11003;
}

.window3.k-window {
  z-index: 11004 !important;
}

.filterControl {
  padding: 3px 5px 3px 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.filterControl:nth-child(even) {
  box-shadow: inset 0 0 100px 100px rgba(#ffffff, 10%);
}

.filterControl:nth-child(odd) {
  box-shadow: inset 0 0 100px 100px rgba(#000000, 5%);
}

.filterHeader {
  font-weight: bold;
  display: flex;
  margin: 0;
  flex-shrink: 0;
  width: 150px;
  justify-content: center;
  align-self: stretch;
  flex-direction: column;
}

.filterValue {
  display: flex;
  flex-grow: 1;
  flex-direction: row;
}

.disabledDiv {
  pointer-events: none;
  opacity: 0.4;
}

.helpAnchor:hover,
.helpAnchor:hover *,
.keyAnchor:hover,
.keyAnchor:hover * {
  cursor: pointer;
}

.key {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.key .keyTitle {
  align-self: center;
  font-weight: bold;
}

.key .keyItem {
  display: flex;
  flex-direction: row;
  white-space: normal;
  align-items: flex-start;
}

.key .keyItem>div {
  border-style: solid;
  border-width: 1px;
  min-width: 20px;
  max-width: 20px;
  height: 15px;
  margin-right: 5px;
  margin-top: 3px;
}

.keyWrapper {
  cursor: pointer;
}

.keyWrapper>div {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.keyWrapper>div .k-svg-i-question {
  margin-top: 1px;
}

.keyWrapper>div>span {
  margin-right: 3px;
}

.bold,
.bold * {
  font-weight: bold !important;
}

.fakeLink {
  text-decoration: underline;
  cursor: pointer;
}

.fakeLink:active {
  color: red;
}

.mainSection {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  padding-bottom: 5px;
}

.bottomSection {
  padding-top: 10px;
}

.docFiles {
  overflow: auto;
  padding-bottom: 3px;
  white-space: nowrap;
}

.docName {
  align-self: flex-start;
  margin: 3px 0 0 3px;
  padding: 5px 0 5px 5px;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
}

.docName .k-svg-i-download {
  justify-content: center;
  margin-top: 1px;
  padding: 0 5px 0 5px;
}

.docName span.fileName {
  overflow: hidden;
  text-overflow: ellipsis;
}

.docRemove {
  justify-content: center;
  margin: 0;
  padding: 5px 10px 5px 0;
  cursor: pointer;
}

.buySellToggle .k-switch-thumb,
.switch-allow-deny .k-switch-thumb,
.switch-show-hide .k-switch-thumb,
.switch-xls-pdf .k-switch-thumb {
  background-color: white;
}

.k-switch.k-switch-on .k-switch-label-on {
  color: #e6e6e6;
}

iframe {
  height: 100%;
}