@media (min-width: 1200px) {
  .flex-columns-lg-2,
  .flex-columns-lg-3,
  .flex-columns-lg-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .flex-columns-lg-2 > * {
    margin-right: 5px;
    margin-bottom: 5px;
    width: calc(50% - 5px) !important;
  }
  .flex-columns-lg-3 > * {
    margin-right: 5px;
    margin-bottom: 5px;
    width: calc(33.333333% - 5px) !important;
  }
  .flex-columns-lg-4 > * {
    margin-right: 5px;
    margin-bottom: 5px;
    width: calc(25% - 5px) !important;
  }
}
/* END: Checkbox */
.gantt .fl-scrolls {
  z-index: 2147483647;
  /* max z-index value is 2^31 - 1 (2147483647) */
}
.gantt .popover-in-gantt {
  opacity: 0;
}
.gantt .gantt-side {
  box-shadow: #aaaaaa 7px 0px 5px -3px;
  z-index: 1;
}
.gantt .gantt-scrollable {
  background-color: #efefef;
}
.gantt-row-odd > .gantt-row-background {
  background-color: #ffffff;
}
.gantt .gantt-header-row .gantt-column-header {
  z-index: 1;
  background-color: #ffffff;
}
.gantt .gantt-side .gantt-resizer-enabled,
.gantt .gantt-side .gantt-resizer-enabled {
  transition: opacity 436ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
  opacity: 0;
}
.gantt .gantt-side:hover .gantt-resizer-enabled,
.gantt .gantt-side:focus .gantt-resizer-enabled {
  opacity: 1;
}
.gantt .gantt-side .gantt-resizer-enabled .gantt-resizer-display {
  background-color: #4285f4;
  width: 2px;
  background-image: none;
  pointer-events: none;
}
.gantt .gantt-side .side-element {
  width: 100%;
}
.gantt .gantt-side .side-element .gantt-table-column {
  width: 100%;
}
.gantt .gantt-side .side-element .gantt-table-row {
  width: 100%;
}
.gantt .gantt-side .side-element .gantt-table-row span.gantt-label-text {
  max-width: 100%;
  display: block;
}
/* zrób trzy kropki na końcu każdej oferty */
.gantt .gantt-side .side-element .gantt-table-row span.gantt-label-text > span {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .gantt .gantt-side {
    max-width: 25vh;
  }
  .gantt .gantt-side .side-element .gantt-row-label span.gantt-label-text {
    padding-left: 3px;
    padding-right: 3px;
  }
}
/* END: Lewa strona (lista maszyn) */
/* BEGIN: Prawa strona (zadania) */
.gantt .gantt-task {
  border-radius: 2px !important;
  transition: box-shadow, left, filter, opacity 0.2s linear;
  /*cursor: pointer;*/
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12), -5px 0 5px 0 rgba(0, 0, 0, 0.16);
}
.gantt .gantt-task:hover,
.gantt .gantt-task:focus {
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
/* new idea: */
/* If we do a hover on the task, extend it to the whole content. Leave slightly visible tasks that are under the content (background in rbga). */
.gantt .gantt-task:hover,
.gantt .gantt-task:focus {
  z-index: 1038 !important;
  /* one z-index smaller than z-index of popovers */
}
/* CSS reset: don't hide any content */
.gantt .gantt-task:not(.gantt-task-resizing):hover .gantt-task-content > span,
.gantt .gantt-task:not(.gantt-task-resizing):focus .gantt-task-content > span {
  overflow: visible;
}
/* Fit whole task to thier content. Thanks to this, tooltip with more information follows the mouse (pointer device) */
/* Need testing and fixing, not working */
/*.gantt .gantt-task:hover,
.gantt .gantt-task:focus {
}*/
/* Add background-color with opacity, to make visible content under this task */
.gantt .gantt-task:not(.gantt-task-resizing):hover .gantt-task-content .anchor-task,
.gantt .gantt-task:not(.gantt-task-resizing):focus .gantt-task-content .anchor-task {
  min-width: fit-content;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  color: #000F4D;
}
.gantt .gantt-task-resizing {
  z-index: 1200 !important;
}
/* ".gantt-task-background" has the same with as ".gantt-task". So if we extend width of ".gantt-task" we loose all opacity from above code.*/
/*.gantt .gantt-task:hover .gantt-task-background,
.gantt .gantt-task:focus .gantt-task-background {
  width: initial;
}*/
/* target all IE (and Edge) higher than 7 and all Firefox browsers */
/* This browsers doesn't support "fit-content" prop */
_::selection,
.gantt .gantt-task .gantt-task-content .anchor-task:hover:not([attr*='']),
_::selection,
.gantt .gantt-task .gantt-task-content .anchor-task:focus:not([attr*='']) {
  display: table;
}
.gantt .gantt-task .gantt-task-background {
  border-radius: 2px !important;
}
.gantt .gantt-task .gantt-task-background.search-by-input {
  border: 1px solid #f3565d;
}
.gantt .gantt-task .gantt-task-background.search-by-hover {
  border: 1px solid #310ce8;
}
.gantt .gantt-task .gantt-task-content {
  border-radius: 2px !important;
  /* font-size: 1.15rem; */
  overflow: visible;
}
/* tutaj mozna zrobic tez tak: [gantt-bind-compile-html~="getTaskContent"] */
.gantt .gantt-task .gantt-task-content > span {
  display: block;
  overflow: hidden;
  margin-left: 1px;
  margin-right: 1px;
  height: 100%;
}
.gantt .gantt-task .gantt-task-content .anchor-task {
  display: block;
  color: #ffffff;
  height: 100%;
}
.gantt .label-warning.gantt-task .gantt-task-content .anchor-task {
  color: #000000;
}
/* zielone zadanie */
.gantt .label-success .gantt-task-background {
  /*background-color: rgba(57, 178, 0, 1);*/
  background-color: #b3ecd5;
}
.gantt .label-success:hover .gantt-task-background {
  /*background-color: rgba(57, 178, 0, 0.7);*/
  background-color: rgba(179, 236, 213, 0.9);
}
.gantt .label-success:hover .gantt-task-content > span,
.gantt .label-success:hover .gantt-task-content .anchor-task {
  color: #000F4D;
}
.gantt .label-success .gantt-task-content > span,
.gantt .label-success .gantt-task-content .anchor-task {
  /*color: #ffffff;*/
  color: #000F4D;
}
/* zolte zadanie */
.gantt .label-warning .gantt-task-background {
  background-color: #f1c232;
}
.gantt .label-warning:hover .gantt-task-background {
  background-color: rgba(241, 194, 50, 0.7);
}
/* czerwone zadanie */
.gantt .label-danger .gantt-task-background {
  background-color: #ef6f1e;
}
.gantt .label-danger:hover .gantt-task-background {
  background-color: rgba(239, 111, 30, 0.7);
}

/* BEGIN: Range slider */
.range-slider {
  width: 100%;
}
.range-slider input[type="range"] {
  -webkit-appearance: none;
  width: calc(100% - (73px));
  display: inline-block;
  height: 10px;
  border-radius: 5px;
  background: rgba(34, 31, 31, 0.26);
  outline: none;
  padding: 0;
  margin: 0;
}
.range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2c3e50;
  cursor: pointer;
  -webkit-transition: background 0.25s ease-in-out;
  transition: background 0.25s ease-in-out;
}
.range-slider input[type="range"]::-webkit-slider-thumb:hover {
  background: #1abc9c;
}
.range-slider input[type="range"]:active::-webkit-slider-thumb {
  background: #1abc9c;
}
.range-slider input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #2c3e50;
  cursor: pointer;
  -webkit-transition: background 0.25s ease-in-out;
  transition: background 0.25s ease-in-out;
}
.range-slider input[type="range"]::-moz-range-thumb:hover {
  background: #1abc9c;
}
.range-slider input[type="range"]:active::-moz-range-thumb {
  background: #1abc9c;
}
.range-slider-value {
  display: inline-block;
  position: relative;
  width: 61px;
  color: #ffffff;
  line-height: 20px;
  text-align: center;
  border-radius: 3px;
  background: #2c3e50;
  padding: 6px 10px;
  margin-left: 8px;
}
.range-slider-value:after {
  position: absolute;
  top: 8px;
  left: -7px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-right: 7px solid #2c3e50;
  border-bottom: 7px solid transparent;
  content: '';
}
::-moz-range-track {
  background: rgba(34, 31, 31, 0.26);
  border: 0;
}
input::-moz-focus-inner,
input::-moz-focus-outer {
  border: 0;
}
/* END: Range slider */

/* BEGIN: Checkbox */
.material-switch {
  width: 40px;
  height: 24px;
  margin: 0;
  position: relative;
  cursor: pointer;
}
/* przesunac kolko w druga strone, podswietlic */
.material-switch input[type="checkbox"]:checked ~ .guide {
  background: #2c3e50;
  opacity: 0.5;
}
.material-switch input[type="checkbox"]:checked ~ .toggler {
  background: #2c3e50;
  transform: translateX(20px);
}
/* przy nacisnieciu kolko sie podswietla */
.material-switch:active .toggler {
  background: #f6f6f6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.36), 0 0 1px rgba(0, 0, 0, 0.12);
}
.material-switch input[type="checkbox"][disabled] ~ .toggler,
.material-switch input[type="checkbox"].disabled ~ .toggler {
  cursor: not-allowed;
}
.material-switch .guide {
  position: absolute;
  width: 34px;
  height: 14px;
  top: 5px;
  left: 2px;
  background: rgba(34, 31, 31, 0.26);
  border-radius: 7px;
  transition: background, opacity 0.250s ease;
  will-change: background, opacity;
}
.material-switch .toggler {
  position: absolute;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  top: 2px;
  left: 0;
  background: #F1F1F1;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.24), 0 0 1px rgba(0, 0, 0, 0.12);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  will-change: background, box-shadow, transform;
}
/* END: Checkbox */
.gantt .fl-scrolls {
  z-index: 2147483647;
  /* max z-index value is 2^31 - 1 (2147483647) */
}
.gantt [data-ng-if*="pluginScoped.enabled"] {
  /*z-index: 2100290124;*/
}
.gantt .popover-in-gantt {
  opacity: 0;
}
.gantt .gantt-side {
  box-shadow: #aaaaaa 7px 0px 5px -3px;
  z-index: 1;
}
.gantt .gantt-scrollable {
  background-color: #efefef;
}
.gantt .gantt-scrollable .gantt-body-rows {
  /*overflow-x: visible;*/
  /*overflow-y: visible;*/
}
/* in default Gantt has delarated class for .gant-row-even, but not for .gant-row-odd: */
.gantt-row-odd > .gantt-row-background {
  background-color: #ffffff;
}
.gantt .gantt-header-row .gantt-column-header {
  z-index: 1;
  background-color: #ffffff;
}
.gantt .gantt-side .gantt-resizer-enabled,
.gantt .gantt-side .gantt-resizer-enabled {
  transition: opacity 436ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
  opacity: 0;
}
.gantt .gantt-side:hover .gantt-resizer-enabled,
.gantt .gantt-side:focus .gantt-resizer-enabled {
  opacity: 1;
}
.gantt .gantt-side .gantt-resizer-enabled .gantt-resizer-display {
  background-color: #4285f4;
  width: 2px;
  background-image: none;
  pointer-events: none;
}
.gantt .gantt-side .side-element {
  width: 100%;
}
.gantt .gantt-side .side-element .gantt-table-column {
  width: 100%;
}
.gantt .gantt-side .side-element .gantt-table-row {
  width: 100%;
}
.gantt .gantt-side .side-element .gantt-table-row span.gantt-label-text {
  max-width: 100%;
  display: block;
}
/* zrób trzy kropki na końcu każdej oferty */
.gantt .gantt-side .side-element .gantt-table-row span.gantt-label-text > span {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .gantt .gantt-side {
    max-width: 25vh;
  }
  .gantt .gantt-side .side-element .gantt-row-label span.gantt-label-text {
    padding-left: 3px;
    padding-right: 3px;
  }
}
/* END: Lewa strona (lista maszyn) */
/* BEGIN: Prawa strona (zadania) */
.gantt .gantt-task {
  border-radius: 2px !important;
  transition: box-shadow, left, filter, opacity 0.2s linear;
  /*cursor: pointer;*/
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12), -5px 0 5px 0 rgba(0, 0, 0, 0.16);
}
.gantt .gantt-task:hover,
.gantt .gantt-task:focus {
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
/* new idea: */
/* If we do a hover on the task, extend it to the whole content. Leave slightly visible tasks that are under the content (background in rbga). */
.gantt .gantt-task:hover,
.gantt .gantt-task:focus {
  z-index: 1038 !important;
  /* one z-index smaller than z-index of popovers */
}
/* CSS reset: don't hide any content */
.gantt .gantt-task:not(.gantt-task-resizing):hover .gantt-task-content > span,
.gantt .gantt-task:not(.gantt-task-resizing):focus .gantt-task-content > span {
  overflow: visible;
}
/* Fit whole task to thier content. Thanks to this, tooltip with more information follows the mouse (pointer device) */
/* Need testing and fixing, not working */
/*.gantt .gantt-task:hover,
.gantt .gantt-task:focus {
}*/
/* Add background-color with opacity, to make visible content under this task */
.gantt .gantt-task:not(.gantt-task-resizing):hover .gantt-task-content .anchor-task,
.gantt .gantt-task:not(.gantt-task-resizing):focus .gantt-task-content .anchor-task {
  min-width: fit-content;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  color: #000F4D;
}
.gantt .gantt-task-resizing {
  z-index: 1200 !important;
}
/* ".gantt-task-background" has the same with as ".gantt-task". So if we extend width of ".gantt-task" we loose all opacity from above code.*/
/*.gantt .gantt-task:hover .gantt-task-background,
.gantt .gantt-task:focus .gantt-task-background {
  width: initial;
}*/
/* target all IE (and Edge) higher than 7 and all Firefox browsers */
/* This browsers doesn't support "fit-content" prop */
_::selection,
.gantt .gantt-task .gantt-task-content .anchor-task:hover:not([attr*='']),
_::selection,
.gantt .gantt-task .gantt-task-content .anchor-task:focus:not([attr*='']) {
  display: table;
}
.gantt .gantt-task .gantt-task-background {
  border-radius: 2px !important;
}
.gantt .gantt-task .gantt-task-background.search-by-input {
  border: 1px solid #f3565d;
}
.gantt .gantt-task .gantt-task-background.search-by-hover {
  border: 1px solid #310ce8;
}
.gantt .gantt-task .gantt-task-content {
  border-radius: 2px !important;
  /* font-size: 1.15rem; */
  overflow: visible;
}
/* tutaj mozna zrobic tez tak: [gantt-bind-compile-html~="getTaskContent"] */
.gantt .gantt-task .gantt-task-content > span {
  display: block;
  overflow: hidden;
  margin-left: 1px;
  margin-right: 1px;
  height: 100%;
}
.gantt .gantt-task .gantt-task-content .anchor-task {
  display: block;
  color: #ffffff;
  height: 100%;
}
.gantt .label-warning.gantt-task .gantt-task-content .anchor-task {
  color: #000000;
}
/* zielone zadanie */
.gantt .label-success .gantt-task-background {
  /*background-color: rgba(57, 178, 0, 1);*/
  background-color: #b3ecd5;
}
.gantt .label-success:hover .gantt-task-background {
  /*background-color: rgba(57, 178, 0, 0.7);*/
  background-color: rgba(179, 236, 213, 0.9);
}
.gantt .label-success:hover .gantt-task-content > span,
.gantt .label-success:hover .gantt-task-content .anchor-task {
  color: #000F4D;
}
.gantt .label-success .gantt-task-content > span,
.gantt .label-success .gantt-task-content .anchor-task {
  /*color: #ffffff;*/
  color: #000F4D;
}
/* zolte zadanie */
.gantt .label-warning .gantt-task-background {
  background-color: #f1c232;
}
.gantt .label-warning:hover .gantt-task-background {
  background-color: rgba(241, 194, 50, 0.7);
}
/* czerwone zadanie */
.gantt .label-danger .gantt-task-background {
  background-color: #ef6f1e;
}
.gantt .label-danger:hover .gantt-task-background {
  background-color: rgba(239, 111, 30, 0.7);
}
/* END: Prawa strona (zadania) */
/*.modal-file-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
  grid-auto-rows: minmax(100px, auto);
  width: 100%;
}*/
.prevent-bugging-sublime {
  color: initial;
}
/* Lista adresów w modalu (prawdopodobnie tylko w miejscu, w którym jest lista użytkowników) */
/* Lepsze to niż Bootstrapowe col'e, bo się samo clearfixuje */
/* Ale czy dobre - raczej średnio */
.row-addresses-list {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
/* rozszerzamy */
.row-addresses-list .collapsed {
  grid-column: 1 / 4;
}
/* edytor tekstow na stronie*/
.danger-info-bar {
  top: 56px;
  background-color: #ffffff;
  color: red;
  padding: 10px;
  border: 1px solid;
  display: flex;
  justify-content: space-between;
}
custom-data-edit-component details {
  padding-left: 2rem;
  position: relative;
}
custom-data-edit-component details summary {
  cursor: pointer;
  display: list-item;
}
custom-data-edit-component form label {
  font-weight: bold !important;
}
custom-data-edit-component form textarea {
  width: 100%;
}
custom-data-edit-component form label + div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
custom-data-edit-component form label + div.current-text > * {
  align-self: flex-end;
  margin-bottom: 0;
}
custom-data-edit-component form label::after {
  content: ' :';
  right: 0;
}
custom-data-edit-component details > span,
custom-data-edit-component details > div {
  margin: 1rem 0;
}
custom-data-edit-component details form button.btn.btn-success {
  align-self: flex-end;
  margin-top: 1rem;
  margin-left: 1rem;
}
custom-data-edit-component details details::before {
  position: absolute;
  content: '';
  border-left: 1px solid #999999;
  bottom: 80px;
  height: 100%;
  top: 0;
  width: 1px;
  left: 0.4rem;
}
custom-data-edit-component details details:after {
  content: '';
  border-top: 1px solid #999999;
  position: absolute;
  top: 8px;
  width: 12px;
  left: 5px;
}
custom-data-edit-component details details:last-child::before {
  height: 9px;
}
progress.paper-storage {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}
progress.paper-storage::-webkit-progress-bar {
  background-color: #eee;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}
progress.paper-storage::-webkit-progress-value {
  border-radius: 2px;
  background-size: 35px 20px, 100% 100%, 100% 100%;
}
progress.paper-storage::after {
  content: attr(value);
  position: absolute;
  right: 4px;
  top: -3px;
  font-weight: 600;
}
.orderAddressNo {
  display: block;
  top: 3px;
  left: 0;
  padding-left: 15px;
  font-weight: 600;
}
@media (min-width: 992px) {
  .orderAddressNo {
    position: absolute;
  }
}
.saving-update > .card-body {
  pointer-events: none;
  filter: grayscale(0.4) blur(1px);
}
.saving-update::after {
  content: 'zapisywanie...';
  position: absolute;
  top: 3px;
  right: 35px;
  font-weight: 600;
  color: #334d5d;
  font-size: 11px;
}
.saving-circle > i.fa-spin {
  display: block;
  position: absolute;
  top: 3px;
  right: 15px;
  font-size: 15px;
  animation: none;
  transform: rotate(-45deg);
  z-index: 1;
  color: #334d5d;
  opacity: .3;
}
.saving-circle.saving-update > i.fa-spin {
  opacity: 1;
  animation: 1s linear 0s infinite normal none running rotation;
}
@keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
.file-acceptation-check-file {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 1;
}
.file-acceptation-check-file > input[type="checkbox"] {
  height: 20px;
  width: 20px;
}
.columns-rule {
  column-rule: 1px solid #dddddd;
}
.with-bell {
  position: relative;
}
i.glyphicon-bell.crossed {
  color: #000000;
  position: absolute;
  bottom: 0;
  right: 0;
}
i.glyphicon-bell.crossed::before {
  opacity: .5;
}
i.glyphicon-bell.crossed::after {
  content: '';
  background: #da3f3f;
  width: 17px;
  height: 2px;
  position: absolute;
  left: -2px;
  transform: rotate(45deg);
  top: 6px;
}