@use '../../../styles/variables.scss';

app-sos-gas-transfers {
  position: relative;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 11001;
}

app-sos-gas-transfers .staticData>div {
  max-width: 250px;
  justify-content: center;
  margin-top: 10px;
}

app-sos-gas-transfers .transferGrid .row.headers {
  min-height: 5em;
}

app-sos-gas-transfers .linesSection .pathTitle {
  display: flex;
  align-items: center;
  margin-left: 5px;
  position: absolute;
  z-index: 1;
  padding: 0 20px 0 20px;
  border: solid black;
  border-width: 1px 1px 0 1px;
  min-height: 36px;
  max-height: 36px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  justify-content: flex-start;
  max-width: calc(100% - 250px);
  white-space: nowrap;
}

app-sos-gas-transfers .transferValuesPathItemsContainer {
  display: flex;
}

app-sos-gas-transfers .transferValuesPathContainer {
  display: flex;
  flex-direction: column;
}

app-sos-gas-transfers .transferValuesPathContainer .pathSpacer {
  min-height: 56px;
  max-height: 56px;
}

app-sos-gas-transfers .normalCols .transferValuesPathContainer .pathSpacer {
  border-right: 1px solid black;
}

app-sos-gas-transfers .transferValuesPathItemsContainer.isPathStart {
  border-top: 1px solid black;
}

app-sos-gas-transfers .transferValuesPathItemsContainer.isPathEnd {
  border-bottom: 1px solid black;
}

app-sos-gas-transfers .mainSection .linesSection .transferValuesPathItemsContainer .cellMain {
  height: 3em;
}

app-sos-gas-transfers .mainSection .bottomFiller.linesSection .transferValuesPathItemsContainer .cellMain {
  height: 100%;
}

app-sos-gas-transfers .staticData .arrow:first-child {
  margin-right: 5px;
}

app-sos-gas-transfers .staticData .arrow:last-child {
  margin-left: 5px;
}

app-sos-gas-transfers .dayLabel {
  margin-right: 15px;
}

app-sos-gas-transfers .mainSection .linesSection .cellMain .k-input {
  height: initial;
  align-self: stretch;
}

/*
BEGIN COPIED CODE BLOCK
copied from sos.component.scss to enable standalone loading
*/

app-sos-gas-transfers .mainSection * {
  display: flex;
}

app-sos-gas-transfers .mainSection {
  display: flex;
  flex-grow: 1;
  flex-direction: row;
  align-items: stretch;
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
  margin-top: 5px;
}

app-sos-gas-transfers .groupHeaders {
  display: flex;
  font-weight: bold;
}

app-sos-gas-transfers .groupHeaders .rowItem-n,
app-sos-gas-transfers .groupHeaders .rowItem-nr,
app-sos-gas-transfers .groupHeaders .rowItem-g,
app-sos-gas-transfers .groupHeaders .rowItem-gr {
  display: flex;
  border-width: 1px 1px 0 0;
  border-color: transparent;
  border-style: solid;
  padding-left: 3px;
  margin: 0;
  order: 99;
}

app-sos-gas-transfers .groupHeaders .rowItem-gr {
  padding-left: 0;
  padding-right: 3px;
}

app-sos-gas-transfers .groupHeaders .rowItem-nr {
  border-right-color: black;
}

app-sos-gas-transfers .groupHeaders .rowItem-g,
app-sos-gas-transfers .groupHeaders .rowItem-gr,
app-sos-gas-transfers .groupHeaders .rowItem-x {
  display: flex;
  margin: 0;
  align-items: center;
}

app-sos-gas-transfers .groupHeaders .swingHeader,
app-sos-gas-transfers .groupHeaders .baseloadHeader,
app-sos-gas-transfers .groupHeaders .transferHeader {
  padding-left: 3px;
  position: relative;
  border-top-color: black;
}

app-sos-gas-transfers .groupHeaders .swingHeader span,
app-sos-gas-transfers .groupHeaders .baseloadHeader span,
app-sos-gas-transfers .groupHeaders .transferHeader span {
  position: absolute;
  white-space: nowrap;
  z-index: 1;
}

app-sos-gas-transfers .headers {
  border-bottom-style: solid;
  border-bottom-width: 3px;
  z-index: 2;
}

app-sos-gas-transfers .mainSection .normalCols .linesSection {
  display: flex;
  margin-right: 3px; //should match other K1s
  width: calc(100% - 3px);
  min-width: max-content;
}

app-sos-gas-transfers .normalColsTopSection .farRightColumnFillerCell {
  margin-right: 3px; //should match other K1s
}

app-sos-gas-transfers .headers .rowItem-g,
app-sos-gas-transfers .headers .rowItem-gr,
app-sos-gas-transfers .headers .rowItem-x {
  display: flex;
  margin: 0;
  justify-content: flex-end;
  order: 99;
  padding-bottom: 2px;
  border-style: solid;
  border-width: 1px 1px 0 0;
}

app-sos-gas-transfers .frozenCols .headers .rowItem-g.last,
app-sos-gas-transfers .frozenCols .headers .rowItem-gr.last,
app-sos-gas-transfers .frozenCols .headers .rowItem-x.last {
  border-right-style: none;
  border-right-width: 0;
}

app-sos-gas-transfers .mainSection .normalCols .headers .rowItem-g,
app-sos-gas-transfers .mainSection .frozenCols .headers .rowItem-g {
  border-top-color: black;
}

app-sos-gas-transfers .mainSection .normalCols .headers .rowItem-g:not(.last),
app-sos-gas-transfers .mainSection .frozenCols .headers .rowItem-g:not(.last) {
  border-right-color: black;
}

app-sos-gas-transfers .headers .rowItem-g {
  padding-left: 3px;
  border-top-color: black;
  border-right-color: black;
}

app-sos-gas-transfers .headers .rowItem-x {
  padding-left: 0;
}

app-sos-gas-transfers .frozenCols,
app-sos-gas-transfers .normalCols {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

app-sos-gas-transfers .frozenCols {
  min-width: max-content;
}

app-sos-gas-transfers .frozenCols .headers {
  border-right-style: solid;
  border-right-width: 3px;
}

app-sos-gas-transfers .normalColsTopSection {
  display: flex;
  flex-direction: row;
  overflow-x: hidden;
  overflow-y: scroll;
  align-items: flex-start;
}

app-sos-gas-transfers .normalColsTopSection .normalColsTopSectionInner {
  display: flex;
  flex-direction: column;
}

app-sos-gas-transfers .values {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-basis: 30%;
}

app-sos-gas-transfers .frozenCols .values {
  overflow-x: scroll;
  overflow-y: hidden;
  width: 100%;
}

app-sos-gas-transfers .normalCols .values {
  overflow-x: scroll;
  overflow-y: scroll;
  width: 100%;
}

app-sos-gas-transfers .linesSection .rowItem-g,
app-sos-gas-transfers .linesSection .rowItem-gr,
app-sos-gas-transfers .linesSection .rowItem-x {
  display: flex;
  margin: 0;
  height: 1.8em;
  justify-content: center;
  overflow: hidden;
}

app-sos-gas-transfers .linesSection .rowItem-g,
app-sos-gas-transfers .linesSection .rowItem-gr,
app-sos-gas-transfers .linesSection .rowItem-x {
  padding-left: 0;
  align-items: center;
}

app-sos-gas-transfers .linesSection .rowItem-x .k-combobox,
app-sos-gas-transfers .linesSection .rowItem-x .k-numerictextbox,
app-sos-gas-transfers .linesSection .rowItem-x .k-numerictextbox .k-input-inner,
app-sos-gas-transfers .linesSection .rowItem-x .k-textbox.k-input {
  border-style: none;
  border-radius: 0;
  padding: 0;
  text-overflow: clip;
}

app-sos-gas-transfers .linesSection .rowItem-x .k-textbox.k-input {
  transition: none !important;
}

app-sos-gas-transfers .linesSection .k-combobox,
app-sos-gas-transfers .linesSection .k-combobox input,
app-sos-gas-transfers .linesSection .k-numerictextbox,
app-sos-gas-transfers .linesSection .k-numerictextbox input,
app-sos-gas-transfers .linesSection .k-textbox.k-input {
  background-color: transparent !important;
  font-weight: normal;
  padding: 0;
}

app-sos-gas-transfers .frozenCols .linesSection .rowItem-g,
app-sos-gas-transfers .frozenCols .linesSection .rowItem-gr,
app-sos-gas-transfers .frozenCols .linesSection .rowItem-x {
  border-right-style: solid;
  border-right-width: 1px;
  white-space: nowrap;
}

app-sos-gas-transfers .frozenCols .linesSection .rowItem-g:not(.last),
app-sos-gas-transfers .frozenCols .linesSection .rowItem-gr:not(.last),
app-sos-gas-transfers .frozenCols .linesSection .rowItem-x:not(.last) {
  border-right: 1px solid black;
}

app-sos-gas-transfers .frozenCols .linesSection .rowItem-g.last,
app-sos-gas-transfers .frozenCols .linesSection .rowItem-gr.last,
app-sos-gas-transfers .frozenCols .linesSection .rowItem-x.last {
  border-right-width: 3px;
}

app-sos-gas-transfers .normalCols .linesSection .rowItem-g,
app-sos-gas-transfers .normalCols .linesSection .rowItem-gr,
app-sos-gas-transfers .normalCols .linesSection .rowItem-x {
  border-right: 1px solid black;
  white-space: nowrap;
}

app-sos-gas-transfers #header {
  margin-bottom: 0;
}

app-sos-gas-transfers #header .headerItem-g {
  min-width: 250px;
  max-width: 400px;
}

app-sos-gas-transfers #header .headerItem-g2 {
  display: flex;
  flex-grow: 1;
}

app-sos-gas-transfers #header .headerItem-rc {
  display: flex;
  align-items: center;
}

app-sos-gas-transfers #header .headerItem-l.arrow {
  align-items: center;
  justify-content: center;
  margin: 0;
}

app-sos-gas-transfers #header .headerItem-l.arrow button {
  margin: 0;
}

app-sos-gas-transfers #header .headerItem-l.save,
app-sos-gas-transfers #header .headerItem-l.add {
  margin-left: 20px;
}

app-sos-gas-transfers #header .headerItem-l.date {
  margin: 0 3px 0 3px;
}

app-sos-gas-transfers .bottomFiller {
  display: flex;
  flex-grow: 1;
  width: 100%;
  margin-bottom: 3px;
}

app-sos-gas-transfers .bottomFiller.linesSection .cellMain {
  height: auto;
}

app-sos-gas-transfers .normalCols .bottomFiller.linesSection .cellMain,
app-sos-gas-transfers .frozenCols .bottomFiller.linesSection .cellMain:not(.last) {
  border-right-color: transparent;
}

app-sos-gas-transfers #header h1 {
  display: flex;
  align-items: center;
}

app-sos-gas-transfers #header .newTab {
  box-shadow: 0 0 2px 3px variables.$highlight-color;
  cursor: pointer;
}

app-sos-gas-transfers #header .newTab:active h1 {
  color: variables.$highlight-color;
}

app-sos-gas-transfers .normalCols {
  position: relative;
  flex-grow: 1;
}

app-sos-gas-transfers .linesSection span {
  justify-content: flex-end;
}

app-sos-gas-transfers .linesSection .k-numerictextbox input {
  text-align: right;
  padding: 0;
}

app-sos-gas-transfers .linesSection .nomVol .k-numerictextbox input {
  font-weight: bold;
}

app-sos-gas-transfers .linesSection .transferSumVol .cellOverlay {
  justify-content: flex-end;
}

app-sos-gas-transfers .linesSection .transferSumVol span {
  padding: 0;
  font-weight: bold;
}

app-sos-gas-transfers .linesSection.blackText,
app-sos-gas-transfers .linesSection.blackText .k-numerictextbox input,
app-sos-gas-transfers .linesSection.blackText .k-combobox input,
app-sos-gas-transfers .linesSection.blackText .k-textbox.k-input {
  color: black !important;
}

app-sos-gas-transfers .headers .deliveryVol {
  padding-right: 10px;
  padding-left: 8px;
  flex-direction: column;
  cursor: text;
}

app-sos-gas-transfers .headers .deliveryVol>div:nth-child(1) {
  display: flex;
  justify-content: center;
  white-space: nowrap;
}

app-sos-gas-transfers .headers .deliveryVol>div:nth-child(2) {
  display: flex;
  flex-basis: 50%;
  justify-content: flex-end;
  border-style: solid;
  border-width: 1px;
  padding-right: 3px;
}

.app-sos.list-wide.k-popup.k-list-container {
  min-width: 400px;
}

.app-sos.list-medium.k-popup.k-list-container {
  min-width: 250px;
}

.app-sos.list-narrow.k-popup.k-list-container {
  min-width: 150px;
}

app-sos-gas-transfers .cellMain {
  position: relative;
  overflow: hidden;
  padding: 0;
}

app-sos-gas-transfers .cellOverlay {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

app-sos-gas-transfers .cellMain .cellOverlay:has(.isLoading) {
  justify-content: center;
}

app-sos-gas-transfers .rowItem-g .cellOverlay {
  justify-content: flex-start;
}

app-sos-gas-transfers .rowItem-gr .cellOverlay {
  justify-content: flex-end;
}

app-sos-gas-transfers .cellOverlay span {
  display: flex;
  justify-content: flex-start;
}

app-sos-gas-transfers .cellMain .cellOverlay .cellOverlayInner {
  background-color: transparent !important;
  overflow: hidden;
  margin: 0 3px 0 3px;
}

app-sos-gas-transfers .cellMain .cellOverlay .cellOverlayInner.k-input:focus-within {
  box-shadow: none;
}

app-sos-gas-transfers .cellMain .cellOverlay .cellOverlayInner .k-input,
app-sos-gas-transfers .cellMain .cellOverlay .cellOverlayInner .k-input-inner {
  font-weight: normal;
}

app-sos-gas-transfers .cellMain .cellOverlay.activeOverlay,
app-sos-gas-transfers .cellMain .cellOverlay .cellOverlayInner.k-input:focus,
app-sos-gas-transfers .cellMain .cellOverlay .cellOverlayInner .k-input-inner:focus {
  font-weight: bold;
}

app-sos-gas-transfers .cellMain .cellOverlay.activeOverlay,
app-sos-gas-transfers .cellMain .cellOverlay:focus-within,
app-sos-gas-transfers .cellMain .cellOverlay:focus-within .k-numerictextbox,
app-sos-gas-transfers .cellMain .cellOverlay:focus-within input {
  color: black !important;
  background-color: variables.$highlight-color !important;
  box-shadow: none;
}

app-sos-gas-transfers .cellMain .cellOverlay.transferSourceOverlay:not(:focus-within) {
  background-color: rgba(255, 255, 0, 0.2) !important; //transparent yellow
}

app-sos-gas-transfers .cellMain .cellOverlay.transferVolOverlay:not(:focus-within) {
  background-color: rgba(128, 128, 128, 0.5) !important; //transparent gray
}

app-sos-gas-transfers .cellMain .cellOverlay.changedOverlay span,
app-sos-gas-transfers .cellMain .cellOverlay.changedOverlay:not(:focus-within) .k-input,
app-sos-gas-transfers .cellMain .cellOverlay.changedOverlay:not(:focus-within) .k-input-inner {
  font-weight: bold;
  color: white !important;
}

app-sos-gas-transfers .cellMain .cellOverlay .isKeepWhole,
app-sos-gas-transfers .cellMain .cellOverlay .hasNomNote {
  font-weight: bold;
}

app-sos-gas-transfers .fastKeyRow.isSelected .cellMain .cellOverlay .isKeepWhole,
app-sos-gas-transfers .fastKeyRow.isHovered .cellMain .cellOverlay .isKeepWhole,
app-sos-gas-transfers .cellMain .cellOverlay.changedOverlay .isKeepWhole,
app-sos-gas-transfers .fastKeyRow.isSelected .cellMain .cellOverlay .hasNomNote,
app-sos-gas-transfers .fastKeyRow.isHovered .cellMain .cellOverlay .hasNomNote,
app-sos-gas-transfers .cellMain .cellOverlay.changedOverlay .hasNomNote {
  color: black;
}

app-sos-gas-transfers .cellMain .cellOverlay.changedOverlay:not(:focus-within) .isKeepWhole,
app-sos-gas-transfers .cellMain .cellOverlay.changedOverlay:not(:focus-within) .hasNomNote {
  color: yellow;
}

app-sos-gas-transfers .cellMain .cellOverlay.changedOverlay:not(:focus-within) {
  background-color: rgba(0, 0, 255, 0.8) !important; //transparent blue
}

app-sos-gas-transfers .cellMain .cellOverlay.supplyCloneOverlay:not(:focus-within) {
  background-color: rgba(255, 0, 255, 0.3) !important; //transparent purple/pink
}

app-sos-gas-transfers .cellMain .cellOverlay.missingRequiredOverlay:not(:focus-within) {
  background-color: rgba(255, 0, 0, 0.3) !important; //transparent red
}

app-sos-gas-transfers .cellMain .cellOverlay.manualPtrOverlay:not(:focus-within) {
  background-color: rgba(0, 255, 0, 0.3) !important; //transparent green
}

app-sos-gas-transfers .cellMain .cellOverlay.enteredFromSosOverlay:not(:focus-within) {
  background-color: rgba(255, 165, 0, 0.7) !important; //transparent orange
}

app-sos-gas-transfers .cellMain .cellOverlay.negativeUnscheduledVolOverlay:not(:focus-within) {
  background-color: rgba(255, 105, 180, 0.4) !important; //transparent hotpink
}

app-sos-gas-transfers .cellMain .cellOverlay.hiddenOverlay:not(:focus-within) {
  background-color: rgba(100, 100, 100, 0.9); //transparent gray
  color: rgb(22, 25, 29) !important;
}

app-sos-gas-transfers .cellMain .cellOverlay.hiddenOverlay:not(:focus-within) .cellOverlayInner,
app-sos-gas-transfers .cellMain .cellOverlay.hiddenOverlay:not(:focus-within) .cellOverlayInner .k-input-inner {
  color: rgb(22, 25, 29) !important;
}

app-sos-gas-transfers .linesSection.isSelected .cellMain .cellOverlay.hiddenOverlay:not(:focus-within),
app-sos-gas-transfers .linesSection.isHovered .cellMain .cellOverlay.hiddenOverlay:not(:focus-within) {
  color: lightgray;
}

app-sos-gas-transfers .cellMain .cellOverlay.hiddenOverlay.highlighted:not(:focus-within) {
  color: lightgray;
}

app-sos-gas-transfers .farRightColumnFillerCell {
  display: flex;
  order: 99;
  flex-grow: 1;
  align-self: stretch;
}

app-sos-gas-transfers .date .k-datepicker .k-dateinput .k-input-inner {
  text-align: center;
}

.app-sosTip-8 .k-tooltip-content {
  font-size: 8px;
}

.app-sosTip-9 .k-tooltip-content {
  font-size: 9px;
}

.app-sosTip-10 .k-tooltip-content {
  font-size: 10px;
}

.app-sosTip-11 .k-tooltip-content {
  font-size: 11px;
}

.app-sosTip-12 .k-tooltip-content {
  font-size: 12px;
}

.app-sosTip-13 .k-tooltip-content {
  font-size: 13px;
}

.app-sosTip-14 .k-tooltip-content {
  font-size: 14px;
}

.app-sosTip-15 .k-tooltip-content {
  font-size: 15px;
}

.app-sosTip-16 .k-tooltip-content {
  font-size: 16px;
}

.app-sosTip-17 .k-tooltip-content {
  font-size: 17px;
}

.app-sosTip-18 .k-tooltip-content {
  font-size: 18px;
}

.app-sosTip-19 .k-tooltip-content {
  font-size: 19px;
}

.app-sosTip-20 .k-tooltip-content {
  font-size: 20px;
}

/*
END COPIED CODE BLOCK
copied from sos.component.scss to enable standalone loading
*/