/*Indywidualne style do aplikacji*/

/*
Spis treści

1.Style ogólne.
*/

/*Ustawienie określonej wysokości w mieścach gdzie tego brakuje*/
.h-30 {
  height: 30px;
}
/*Dodanie kursora typu pointer w odpowiednich miejscach*/
.cursor-pointer {
  cursor: pointer;
}
/*Style dotyczące scroll'a w osi OX*/
.fl-scrolls {
  z-index: 1;
}
.overflowContainer {
  overflow-x: auto !important;
}
/*Dodanie szarego tała w co drugiej tabeli (np. orders) podczas scrollowania*/
.grey-background-in-table-cell {
  background-color: #fbfcfd;
}
/*Style ukrywające chexbox w miescach gdzie występuje input type="checkbox" w stylu switch*/
.checker > input {
  visibility: hidden;
}
/*Poprawienie wyglądu slideraBar w diagramie gantta*/
.slider-wrapper-height {
  height: auto;
}
/*Ukrycie scoll OY kiedy jakiś modal jest otwarty*/
.modal-open {
  overflow-y: hidden !important;
}
/*Ustawienie flex na wrapperze do logo*/
.page-logo {
  width: auto !important;
  display: flex !important;
  padding: 0 !important;
}
/*Ustawienie paddingu dla logo MasterApps*/
.masterApps-logo {
  padding: 0 15px 0 15px;
}
/*Stylowanie dla ikony i nazwy domeny w navbar*/
#domain-change-navbar-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 15px !important;
  padding-bottom: 0 !important;
}
.domain-name-under-icon {
  width: 95%;
  font-size: 11px;
  color: white;
  padding: 0 2px;
}
/*Stylowanie PRELOADER (trzeba było zmienić style klasy .hide aby kropki się wyświetlały i nadać im top aby były u góry a nie na top:40%)*/
.page-spinner-bar {
  top: 15px;
}
/*Edycja page-content i page-bar żeby nie było marginesu niepotrzebnego między sidebar a page-content*/

/* Narazie to zostaje zakomentowane bo używanie overflow wpływa na to, że część rzeczy nie działą, głównie chodzi o position sticky */

/* .page-container {
  overflow-x: hidden;
}
.page-content-wrapper .page-content {
  padding-left: 0px;
  padding-right: 0px;
} */

.page-container-bg-solid .page-bar,
.page-content-white .page-bar {
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 0px;
  padding-right: 0px;
}
.page-container-bg-solid .page-bar .page-breadcrumb,
.page-content-white .page-bar .page-breadcrumb,
.page-content-white .page-title {
  padding-left: 10px;
}

/*Zmiana font-weight na klasie badge dla lepszej czytelności*/

.badge {
  font-weight: 500;
}

.badge-products {
  background-color: white;
  color: #337ab7;
  height: 100%;
  margin: auto;
}

.text-name {
  width: 80%;
}

.button-order-group {
  margin-bottom: 10px;
  width: calc(33% - 20px);
  gap: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin: 10px;
  background-color: #337ab7;
  border: none;
  color: white;
}
.span-order-group {
  width: 100%;
  display: flex;
  flex: 1;
}

.portlet-body-products {
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .portlet-body-products {
    flex-direction: column;
  }

  .button-order-group {
    width: 100%;
  }
}

@media (max-width: 900px) and (min-width: 701px) {
  .button-order-group {
    width: calc(50% - 20px);
  }
}

/*Zmiana fontWeight w side bar menu*/
.page-sidebar .page-sidebar-menu > li > a,
.page-sidebar-closed.page-sidebar-fixed
  .page-sidebar:hover
  .page-sidebar-menu
  > li
  > a {
  font-weight: 500;
}
.page-sidebar .page-sidebar-menu .sub-menu li > a,
.page-sidebar-closed.page-sidebar-fixed
  .page-sidebar:hover
  .page-sidebar-menu
  .sub-menu
  li
  > a {
  font-weight: 500;
}

/*Wyświetlanie checkbox i napisu w jendej lini obok siebie*/
.checker {
  display: inline-block;
  margin-right: 4px;
}

/*Change position of copyright text in footer*/
.page-footer-inner {
  text-align: center;
}

/* BEGIN: modal-pdf */
.modal-dialog.modal-pdf {
  margin: 20px auto !important;
}
@media (min-width: 768px) {
  .modal-dialog.modal-pdf {
    width: -webkit-calc(100vw - 60px);
    width: calc(100vw - 60px);
    height: -webkit-calc(100vh - 60px);
    height: calc(100vh - 60px);
    max-width: -webkit-calc(100vw - 60px);
    max-width: calc(100vw - 60px);
    max-height: -webkit-calc(100vh - 60px);
    max-height: calc(100vh - 60px);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  .modal-dialog.modal-pdf > .modal-content {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
  .modal-dialog.modal-pdf > .modal-content > show-pdf-modal-component {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-flow: column;
    -ms-flex-flow: column;
    flex-flow: column;
    height: 100%;
  }
  .modal-dialog.modal-pdf > .modal-content .modal-body {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
  }
  .modal-dialog.modal-pdf > .modal-content .modal-body > div {
    height: 100%;
  }
  .modal-dialog.modal-pdf > .modal-content .modal-body > div object {
    /*min-height: 78vh;*/
  }
}
.modal-dialog.modal-pdf .modal-header {
  max-height: 77px;
}
.modal-dialog.modal-pdf .modal-body .preloader-ring {
  margin: auto;
  display: none;
  z-index: 10;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  height: initial;
}
.modal-dialog.modal-pdf .modal-body {
  position: relative;
}
.modal-dialog.modal-pdf .modal-body > div {
  z-index: 11;
  position: relative;
}
@media (min-width: 768px) {
  .modal-dialog.modal-pdf .modal-body {
    height: -webkit-calc(100vh - 192px);
    height: calc(100vh - 192px);
    /*
        cała wysokość okna
        odjąć górny margines na modal (bootstrap.css) (nie na mobile 30px)
        odjąć wysokość .modal-header
        odjąć wysokość .modal-footer
      */
  }
}
@media (max-width: 767px) {
  .modal-dialog.modal-pdf .modal-body {
    height: -webkit-calc(100vh - 172px);
    height: calc(100vh - 172px);
    /*
        cała wysokość okna
        odjąć górny margines na modal (bootstrap.css) (na mobile 10px)
        odjąć wysokość .modal-header
        odjąć wysokość .modal-footer
      */
  }
}
.modal-dialog.modal-pdf .modal-body > div {
  height: 100%;
}
.modal-dialog.modal-pdf .modal-footer {
  max-height: 61px;
  /*dodatkowo bootstrapowe cssy, które są takie:*/
  /*padding-top: 15px;*/
  /*padding-bottom: 15px;*/
}
/* END: modal-pdf */

/*Wrap text*/
.wrap-js-breaklines {
  white-space: pre-wrap;
}
.wrapall {
  word-wrap: break-word;
  word-break: break-all;
  white-space: normal;
}
.nice-wrapall {
  -ms-word-break: break-all;
  word-break: break-all;
  /* webkit: */
  word-break: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}

.table thead tr th {
  font-size: 12px;
}
/*Historia kalkulacji - style*/
.grid-container.min-200.max-350.fill {
  grid-template-columns: repeat(auto-fill, minmax(200px, 350px));
}
.grid-container,
.grid-container.card {
  display: grid;
  row-gap: 15px;
  column-gap: 15px;
}
.info-divider-xs {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #dddddd;
}
.info-divider:last-of-type,
.info-divider-xs:last-of-type {
  border-bottom: none;
}
/*Seller field - wrapper*/
.seller-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.seller-field > a {
  width: auto;
  display: inline-block;
  margin-right: 2px;
}
/*Drop down files input*/
.files-drop-zone,
.files-drop-zone > input-upload-file-component,
.files-drop-zone > input-upload-product-special-file-component {
  display: flex;
  position: relative;
  grid-column-start: -2;
  margin: 0;
  width: 100%;
}
.files-drop-zone .product-repeat-buttons {
  width: 100%;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
}
.files-drop-zone
  .product-repeat-buttons
  > label:not(.btn-add-file):not(.progress),
.files-drop-zone .product-repeat-buttons > form {
  display: none;
}
.files-drop-zone .product-repeat-buttons > .btn-add-file {
  margin: 0;
  padding: 0;
  background-color: initial;
  flex: 1;
  min-height: 60px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24) !important;
}
.files-drop-zone .product-repeat-buttons > .progress {
  margin: 0;
}
.files-drop-zone .product-repeat-buttons > .btn-add-file > *:not(input) {
  display: none;
}
.files-drop-zone .btn-add-file::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 20px;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23000%22%20fill-opacity%3D%220.3%22%20d%3D%22M452%20432c0%2011-9%2020-20%2020s-20-9-20-20%209-20%2020-20%2020%209%2020%2020zm-84-20c-11%200-20%209-20%2020s9%2020%2020%2020%2020-9%2020-20-9-20-20-20zm144-48v104c0%2024-20%2044-44%2044H44c-24%200-44-20-44-44V364c0-24%2020-44%2044-44h99l-56-56c-25-26-7-69%2028-69h53V40c0-22%2018-40%2040-40h96c22%200%2040%2018%2040%2040v155h53c35%200%2053%2043%2028%2069l-56%2056h99c24%200%2044%2020%2044%2044zm-262%2018c3%203%209%203%2012%200l140-141c5-5%202-14-5-14h-85V40c0-4-4-8-8-8h-96c-4%200-8%204-8%208v187h-85c-7%200-10%209-5%2014l140%20141zm230-18c0-7-5-12-12-12H337l-53%2052a40%2040%200%2001-56%200l-53-52H44c-7%200-12%205-12%2012v104c0%207%205%2012%2012%2012h424c7%200%2012-5%2012-12V364z%22%2F%3E%3C%2Fsvg%3E");
  background-size: 100% 100%;
  pointer-events: none;
}
.files-drop-zone .btn-add-file {
  position: relative;
}
.files-drop-zone .btn-add-file::after {
  content: "Wybierz pliki lub przeciągnij tutaj";
  position: absolute;
  top: 50%;
  left: 90px;
  width: calc(100% - 110px);
  transform: translateY(-50%);
  text-align: left;
  white-space: normal;
  color: #000;
  pointer-events: none;
}
@supports (-webkit-app-region: drag) {
  .files-drop-zone input[type="file"] {
    width: 100%;
    height: 100%;
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(enabled=false)";
    overflow: visible;
    position: static;
    z-index: 0;
  }
  .files-drop-zone input[type="file"]::-webkit-file-upload-button {
    width: 100%;
    height: 100%;
    padding: 2rem 1.5rem;
    color: transparent;
    transition: all 0.2s ease;
    -webkit-appearance: button;
  }
  .files-drop-zone:hover input[type="file"]::-webkit-file-upload-button {
    cursor: pointer;
  }
}
@supports not (-webkit-app-region: drag) {
  .files-drop-zone {
    min-height: 50px;
  }
  .files-drop-zone .product-repeat-buttons > .btn-add-file {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px outset #a5a5a5;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f8f8f8+0,dddddd+100 */
    background: #f8f8f8;
    /* Old browsers */
    background: -moz-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
    background: -webkit-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
    background: linear-gradient(to bottom, #f8f8f8 0%, #dddddd 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#dddddd', GradientType=0);
  }
  .files-drop-zone .product-repeat-buttons > .btn-add-file input {
    position: absolute;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    outline: none;
    opacity: 0;
    z-index: 1;
    cursor: pointer;
  }
}
_:-ms-lang(x),
.files-drop-zone .btn-add-file::after {
  content: "Wybierz pliki";
}

/* START: STARE INPUTY, robione ręcznie */
/* input.ng-invalid ~ .info:before {
  z-index: 999;
  left: 0;
  bottom: 0;
  font-size: 1em;
  color: #ffffff;
  background: #e26a6a;
  transition: opacity 0.3s ease-out;
  display: inline-block;
} */
/* START: Przygotowanie informacji */
input.ng-invalid-max ~ .info[ng-invalid-max-tooltip-text]:before,
input.ng-invalid-min ~ .info[ng-invalid-min-tooltip-text]:before,
input.ng-invalid ~ .info[ng-invalid-tooltip-text]:before {
  padding: 3px 7px;
  z-index: 999;
  left: 0;
  bottom: 0;
  font-size: 1em;
  color: #ffffff;
  background: #e26a6a;
  transition: opacity 0.3s ease-out;
  display: inline-block;
}
/* END: Przygotowanie informacji */
/* START: Dolaczenie tekstow */
input.ng-invalid ~ .info[ng-invalid-tooltip-text]:before {
  content: attr(ng-invalid-tooltip-text);
}
input.ng-invalid-max ~ .info[ng-invalid-max-tooltip-text]:before {
  content: attr(ng-invalid-max-tooltip-text);
}
input.ng-invalid-min ~ .info[ng-invalid-min-tooltip-text]:before {
  content: attr(ng-invalid-min-tooltip-text);
}
/* END: STARE INPUTY, robione ręcznie */
/* START: NOWE INPUTY, dynamiczne */
/* START: domyślnie pokazane (po animacjach) */
input ~ .validation-custom-bubble:before,
select ~ .validation-custom-bubble:before,
textarea ~ .validation-custom-bubble:before {
  content: "";
  display: block;
  z-index: 999;
  max-height: 40px;
  min-height: unset;
  padding: 3px 7px;
  font-size: 11px;
  color: #ffffff;
  background-color: #e26a6a;
  -webkit-transition: all 0.25s linear;
  transition: padding-top, padding-bottom, max-height 0.25s linear;
  will-change: max-height, padding-top, padding-bottom;
  overflow: hidden;
  -webkit-animation: 10ms setMinHeight;
  animation: 10ms setMinHeight;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
@-webkit-keyframes setMinHeight {
  1% {
    min-height: unset;
  }
  2% {
    min-height: -webkit-fit-content;
    min-height: fit-content;
  }
}
@keyframes setMinHeight {
  1% {
    min-height: unset;
  }
  2% {
    min-height: -webkit-fit-content;
    min-height: -moz-fit-content;
    min-height: fit-content;
  }
}
/* END: domyślnie pokazane (po animacjach) */
/* START: pokazywanie bubbles (animacja) */
input ~ .validation-custom-bubble.start-state:before,
select ~ .validation-custom-bubble.start-state:before,
textarea ~ .validation-custom-bubble.start-state:before {
  content: attr(invalid-input-message);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}
input ~ .validation-custom-bubble.enter-animate:before,
select ~ .validation-custom-bubble.enter-animate:before,
textarea ~ .validation-custom-bubble.enter-animate:before {
  content: attr(invalid-input-message);
  max-height: 40px;
  min-height: unset;
}
/* END: pokazywanie bubbles (animacja) */
/* START: znikanie bubbles (animacja) */
input ~ .validation-custom-bubble.leave-animate:before,
select ~ .validation-custom-bubble.leave-animate:before,
textarea ~ .validation-custom-bubble.leave-animate:before {
  content: attr(invalid-input-message);
  max-height: 0;
  min-height: unset;
  padding-top: 0;
  padding-bottom: 0;
}
/* END: znikanie bubbles (animacja) */
/* START: dodawanie informacji z atrybutu */
input ~ .validation-custom-bubble[invalid-input-message]:before,
select ~ .validation-custom-bubble[invalid-input-message]:before,
textarea ~ .validation-custom-bubble[invalid-input-message]:before {
  content: attr(invalid-input-message);
}
/* END: dodawanie informacji z atrybutu */
/* END: NOWE INPUTY, dynamiczne */
/* check also :2564 in components-rounded.css (.has-error .form-control) */
.has-error .form-control:focus,
input.ng-invalid:focus {
  border-color: #a94442 !important;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(169, 68, 66, 0.6) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(169, 68, 66, 0.6) !important;
}
/*Tworzenie zamówienia - ustawienie kolumny po prawej stronie przy scrollu (Nr.zamówienia)*/
@media (min-width: 992px) {
  .o_m_o-right-panel.sticky {
    top: 98px;
    right: 20px;
    margin-top: 12px;
  }
}

/*Wystylowanie grónej kolumny w operacje (trzeba to jeszcze dokończyć!!!)*/
/* thead.flip-content.sticky-thead-new.third{
  display: flex;
} */

/*Drukowanie raportów - STYLE*/
@media only print {
  .jumping-prevent-div {
    display: none;
  }
}

@media print {
  a[href]:after {
    content: none !important;
  }
  body,
  div {
    padding: 0 0 0 0 !important;
    margin: 0 0 0 0 !important;
    width: 100% !important;
    height: 100% !important;
    /*-webkit-print-color-adjust: exact;*/
  }
  /* tab name */
  .page-title,
  .breadcrumb,
  .page-sidebar-wrapper,
  .page-header.navbar.navbar-fixed-top,
  .portlet-title .tools,
  .pagination,
  .pagination-sm,
  .pagination-lg,
  tr.filter {
    display: none !important;
  }
  /* some of tables are using this to be respnsive */
  .overflowContainer {
    overflow: visible !important;
    overflow-x: visible !important;
  }
  .fl-scrolls {
    display: none !important;
  }
  table {
    border: 1px solid #000000 !important;
  }

  /* one line border */
  /*tr {
    border-top: 1px solid #000000 !important;
    border-bottom: 1px solid #000000 !important;
  }*/
  table {
    border: solid #000000 !important;
    border-width: 1px 0 0 1px !important;
  }
  th,
  td {
    border: solid #000000 !important;
    border-width: 0 1px 1px 0 !important;
    font-size: 9px !important;
    font-weight: 400 !important;
  }
  .table {
    width: 100%;
    min-width: auto;
    table-layout: fixed !important;
    /* make tables 100% of print paper */
    word-wrap: break-word;
    /* break world if its too big for col size */
  }

  .table td {
    padding: 2px 2px 0px 2px !important;
  }
  /* remove padding to get more space for text... */
  .table > thead > tr > th,
  .table > tbody > tr > td,
  .table button {
    /* ...at buttons */
    float: inherit !important;
    text-align: center !important;
    vertical-align: middle !important;
  }
  /* if table is small this is unwanted element */
  .text-nowrap {
    white-space: unset;
  }
  .colDate {
    width: 6% !important;
    min-width: auto !important;
    max-width: inherit !important;
  }

  /* make text like any other */
  .table p {
    margin: 0 !important;
  }
  .table button,
  .table a {
    white-space: unset;
    text-align: left;
    word-break: break-word;
    display: inline;
    border: 1px solid #000000;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* badge - added black border (instead of background) */
  .table button .badge {
    border: 1px solid #000000;
    vertical-align: middle;
    display: inline;
  }
  .table > thead > tr > th {
    word-break: break-word;
    white-space: pre-line;
  }

  /* TO DO: Make sth with input's (select's) */
  .print-hidden {
    display: none;
  }
}
@media not print {
  .print-visible {
    display: none;
  }
}
@media print {
  html {
    background-color: #ffffff !important;
  }
  div.report-wrapper .bg-font-blue-oleo {
    color: #000000 !important;
  }
  div.report-wrapper .btn {
    border: 1px solid #000000;
  }
  div.report-wrapper .text-with-icon {
    white-space: nowrap;
  }
  div.report-wrapper .font-green-sharp {
    color: #000000 !important;
  }
  div.report-wrapper .panel.panel-info {
    border: 1px solid #000000 !important;
  }
  div.report-wrapper .panel-info > .panel-heading {
    border-bottom: 1px solid #000000 !important;
  }
  div.report-wrapper .prod-report-title {
    margin-top: 0 !important;
  }
  div.report-wrapper .panel-info .panel-body {
    /*padding: 0;*/
  }
  div.report-wrapper .panel-info .panel-body > .bordered {
    border: 0 !important;
  }
  div.report-wrapper .visible.portlet.light {
    padding: 12px 20px 15px 20px !important;
  }
  div.report-wrapper .visible.portlet.light.bordered > .portlet-title {
    border-bottom: 0;
    margin-bottom: 0;
  }
  div.report-wrapper .table-legend {
    width: auto;
  }
  div.report-wrapper .table > thead > tr > th,
  div.report-wrapper .table > tbody > tr > th,
  div.report-wrapper .table > tfoot > tr > th,
  div.report-wrapper .table > thead > tr > td,
  div.report-wrapper .table > tbody > tr > td,
  div.report-wrapper .table > tfoot > tr > td {
    padding: 5px !important;
    border: 1px solid #000000 !important;
  }
  div.report-wrapper .table > thead > tr > th:not(:first-child),
  div.report-wrapper .table > tbody > tr > th:not(:first-child),
  div.report-wrapper .table > tfoot > tr > th:not(:first-child),
  div.report-wrapper .table > thead > tr > td:not(:first-child),
  div.report-wrapper .table > tbody > tr > td:not(:first-child),
  div.report-wrapper .table > tfoot > tr > td:not(:first-child) {
    border-left: 0 !important;
  }
  div.report-wrapper .table > thead > tr > th {
    white-space: normal;
  }
  div.report-wrapper {
    visibility: visible;
    height: auto;
    min-height: auto;
    background-color: #ffffff;
  }
  div.report-wrapper .report.container-fluid {
    position: absolute;
    left: 0;
    top: 0;
  }
  div.report-wrapper .badge {
    border: 1px solid #000;
  }
  div.report-wrapper .card {
    display: block;
  }
  div.report-wrapper [uib-tooltip]:not([uib-tooltip=""]),
  div.report-wrapper [uib-tooltip-html-css]:not([uib-tooltip-html-css=""]) {
    position: relative;
  }
  div.report-wrapper [uib-tooltip]:not([uib-tooltip=""]):after,
  div.report-wrapper
    [uib-tooltip-html-css]:not([uib-tooltip-html-css=""]):after {
    content: "";
    display: block;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1px;
    white-space: nowrap;
    font-size: 11px !important;
    font-weight: 300;
    font-family: "Open Sans", sans-serif;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid #000000;
  }
  /* W printapp.css jest ustawiony selektor "a[href]:after" z wlasciwoscia "content" ustawiona na "none" oraz ma dodana flage "!important". Staram sie go tutaj nadpisac */
  div.report-wrapper [uib-tooltip]:not([uib-tooltip=""]):after {
    content: attr(uib-tooltip) !important;
  }
  div.report-wrapper
    [uib-tooltip-html-css]:not([uib-tooltip-html-css=""]):after {
    content: attr(uib-tooltip-html-css) !important;
  }
  div.report-wrapper
    [uib-tooltip-html-css]:not([uib-tooltip-html-css=""]):after {
    white-space: pre;
    top: -30px;
  }
  div.report-wrapper [uib-tooltip].badge-production-id:after {
    content: attr(uib-tooltip) !important;
    left: 50px;
    /*transform: translateX(-40%);*/
  }
  /*div.report-wrapper [uib-tooltip].custom-name:after {
    content: attr(uib-tooltip) !important;
    top: -12px;
    left: -10px;
    transform: none;
  }*/
  div.report-wrapper .visible.card > .col-xs-12 {
    padding: 0;
  }
  div.report-wrapper .dd-list.schedule ~ .dd-list.job::before,
  div.report-wrapper .dd-list.schedule ~ .dd-list.job::after {
    border-color: #000000 !important;
    background-color: #000000 !important;
  }
  div.report-wrapper .dd-handle {
    padding: 3px 5px;
  }
  div.report-wrapper .dd-handle .operation-name {
    overflow: visible;
  }
  div.report-wrapper .dd-handle .operation-name .wrapall {
    display: flex;
  }
  div.report-wrapper .dd-item .date {
    width: 140px;
    max-width: 140px;
    min-width: 140px;
  }
  div.report-wrapper .dd-item .hour {
    width: 90px;
    max-width: 90px;
    min-width: 90px;
  }
  div.report-wrapper [uib-tooltip].flips:after,
  div.report-wrapper [uib-tooltip].custom-name:after,
  div.report-wrapper [uib-tooltip].material-name:after,
  div.report-wrapper [uib-tooltip].station-prod-name:after,
  div.report-wrapper [uib-tooltip].ng-svg-icon-planned:after {
    content: none !important;
    border: none !important;
  }
  div.report-wrapper [uib-tooltip].custom-name {
    display: none;
  }
  div.report-wrapper .btn-print,
  div.report-wrapper .btn-history,
  div.report-wrapper .btn-collapse {
    display: none;
  }
  div.report-wrapper.products-tile {
    background-color: #ffffff;
  }
  div.report-wrapper table.dd-table {
    border: none !important;
  }
  div.report-wrapper table.dd-table .dd-item th,
  div.report-wrapper table.dd-table .dd-item td {
    border-width: 1px !important;
  }
  div.report-wrapper table.dd-table .dd-item th:not(:first-child),
  div.report-wrapper table.dd-table .dd-item td:not(:first-child) {
    border-left: 0 !important;
  }
  /* BEGIN: Station report */
  /* Styles for form */
  div.report-wrapper.station-report select[multiple] option:checked {
    border: 1px solid #000000;
  }
  div.report-wrapper.station-report button.selected {
    position: relative;
  }
  div.report-wrapper.station-report button.selected:after {
    content: "\2714";
    /* heavy check icon in UNICODE */
    position: absolute;
    top: 1px;
    left: 1px;
    line-height: 1;
    font-size: 20px;
  }
  /* Styles for tables and other (sometimes unecessary) elements */
  div.report-wrapper.station-report .table td {
    text-align: left !important;
  }
  /* usuwam dziwne, niechciane border-top'y: */
  div.report-wrapper.station-report .table .card .table,
  div.report-wrapper.station-report .table .card .table td {
    border-top: none !important;
  }
  div.report-wrapper.station-report .table > tbody + tbody {
    border-top-color: #000000;
  }
  /* dodaje tylko tam gdzie bym chciał: */
  div.report-wrapper.station-report
    .table
    .card
    .third-group:not(:first-of-type)
    > .table
    > tbody
    > tr
    > td {
    border-top: 1px solid #000000 !important;
  }
  div.report-wrapper.station-report .btn-production-stations::after {
    top: unset;
    bottom: -20px;
    left: -60px;
    transform: none;
  }
  div.report-wrapper.station-report .operation-status::after {
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  div.report-wrapper.station-report td > abbr:first-of-type::after {
    left: 30px !important;
    top: 50% !important;
    transform: none !important;
  }
  div.report-wrapper.station-report td > abbr:last-of-type::after {
    content: none !important;
    display: none;
  }
  /* END: Station report */
}
/* END: Drukowanie raportu */

/*Usunięcie przerwy po zwinięciu filtra - BEGIN*/
.filter.collapse-row td {
  padding-top: 0.5px;
  padding-bottom: 0.5px;
}
/*Usunięcie przerwy po zwinięciu filtra - END*/

/*Side bar zwinięty - nadpisanie cutom.min*/
@media (min-width: 768px) {
  .page-sidebar-fixed {
    overflow-x: unset !important;
    overflow-y: auto !important;
    height: 100vh !important;
  }

  .page-sidebar-fixed::-webkit-scrollbar {
    display: none;
  }
}
@media (min-width: 768px) {
  .page-bar {
    z-index: 10;
  }
}

/*Style to nice lok card in edit order*/
.card {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  border-radius: 0.3rem !important;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #ffffff;
  background-clip: border-box;
  margin-bottom: 0px !important;
  margin-top: 0px !important;
}
.card .card-body {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}
/* START: dropdown z grupowaniem elementów */
.input-group .dropdown-menu:not(.uib-datepicker-popup),
.form-group .dropdown-menu:not(.uib-datepicker-popup),
.card .dropdown-menu:not(.uib-datepicker-popup) {
  margin: 0;
}
.input-group .dropdown-grouped,
.form-group .dropdown-grouped,
.card .dropdown-grouped {
  border-top: 0;
}

.input-group
  .dropdown-menu:not(.uib-datepicker-popup)
  > div
  .form-group
  .dropdown-menu:not(.uib-datepicker-popup)
  > div,
.card .dropdown-menu:not(.uib-datepicker-popup) > div {
  min-width: 800px;
}

.input-group .dropdown-grouped .group-name,
.form-group .dropdown-grouped .group-name,
.card .dropdown-grouped .group-name {
  margin: 0;
  padding: 3px 10px;
  background-color: #efefef;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
}
.input-group .dropdown-grouped .item-name,
.form-group .dropdown-grouped .item-name,
.card .dropdown-grouped .item-name {
  padding: 3px 16px;
  color: #555;
  text-decoration: none;
  display: block;
  clear: both;
  font-weight: 300;
  line-height: 1.3;
  white-space: nowrap;
  font-size: 14px;
}
.input-group .dropdown-grouped .item-name:hover,
.input-group .dropdown-grouped .item-name.active,
.input-group
  .dropdown-grouped
  .item-name.active:hover
  .form-group
  .dropdown-grouped
  .item-name:hover,
.form-group .dropdown-grouped .item-name.active,
.form-group .dropdown-grouped .item-name.active:hover,
.card .dropdown-grouped .item-name:hover,
.card .dropdown-grouped .item-name.active,
.card .dropdown-grouped .item-name.active:hover {
  text-decoration: none;
  background-image: none;
  background-color: #f6f6f6;
  color: #555;
  filter: none;
}

.input-group .dropdown-menu:not(.uib-datepicker-popup) > li > a,
.form-group .dropdown-menu:not(.uib-datepicker-popup) > li > a,
.card .dropdown-menu:not(.uib-datepicker-popup) > li > a {
  padding: 3px 16px;
  line-height: 1.3;
  font-size: 14px;
}

.input-group .short-select .dropdown-menu:not(.uib-datepicker-popup),
.form-group .short-select .dropdown-menu:not(.uib-datepicker-popup),
.card .short-select .dropdown-menu:not(.uib-datepicker-popup) {
  min-width: 200%;
}

.uib-datepicker-popup.dropdown-menu {
  z-index: 9999;
}

.input-group .dropdown-menu:not(.uib-datepicker-popup),
.form-group .dropdown-menu:not(.uib-datepicker-popup),
.card .dropdown-menu:not(.uib-datepicker-popup) {
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
}

.form-group .dropdown-menu:not(.uib-datepicker-popup) {
  max-height: 400px;
}

.input-group .dropdown-menu:not(.uib-datepicker-popup)::-webkit-scrollbar-track,
.input-group .dropdown-menu:not(.uib-datepicker-popup)::-webkit-scrollbar,
.form-group .dropdown-menu:not(.uib-datepicker-popup)::-webkit-scrollbar-track,
.form-group .dropdown-menu:not(.uib-datepicker-popup)::-webkit-scrollbar,
.card-group .dropdown-menu:not(.uib-datepicker-popup)::-webkit-scrollbar-track,
.card-group .dropdown-menu:not(.uib-datepicker-popup)::-webkit-scrollbar {
  background-color: #fff;
}

.input-group .dropdown-menu:not(.uib-datepicker-popup)::-webkit-scrollbar-thumb,
.form-group .dropdown-menu:not(.uib-datepicker-popup)::-webkit-scrollbar-thumb,
.card .dropdown-menu:not(.uib-datepicker-popup)::-webkit-scrollbar-thumb {
  background-color: #babac0;
  border-radius: 16px;
  border: 5px solid #fff;
}

.form-group .wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.form-group .wrapper > div {
  width: 100%;
}

/*Add arrow in input*/
select:not([multiple]),
select.form-control:not([multiple]),
select:not([multiple]):active,
select.form-control:not([multiple]):active,
.like-select {
  /* This removes the native down arrow: */
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: "";
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22700%22%20height%3D%221100%22%3E%3Cpath%20fill%3D%22%23efefef%22%20d%3D%22M0%200h700v1100H0z%22%2F%3E%3Cpath%20d%3D%22M582%20428L350%20651%20118%20428c-4-3-11-3-15%200-4%204-4%2011%200%2015l239%20229c2%202%205%203%208%203s5-1%207-3l240-230c4-4%204-10%200-14s-11-4-15%200z%22%2F%3E%3C%2Fsvg%3E"),
    -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#ffffff));
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22700%22%20height%3D%221100%22%3E%3Cpath%20fill%3D%22%23efefef%22%20d%3D%22M0%200h700v1100H0z%22%2F%3E%3Cpath%20d%3D%22M582%20428L350%20651%20118%20428c-4-3-11-3-15%200-4%204-4%2011%200%2015l239%20229c2%202%205%203%208%203s5-1%207-3l240-230c4-4%204-10%200-14s-11-4-15%200z%22%2F%3E%3C%2Fsvg%3E"),
    -webkit-linear-gradient(top, #ffffff 0%, #ffffff 100%);
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22700%22%20height%3D%221100%22%3E%3Cpath%20fill%3D%22%23efefef%22%20d%3D%22M0%200h700v1100H0z%22%2F%3E%3Cpath%20d%3D%22M582%20428L350%20651%20118%20428c-4-3-11-3-15%200-4%204-4%2011%200%2015l239%20229c2%202%205%203%208%203s5-1%207-3l240-230c4-4%204-10%200-14s-11-4-15%200z%22%2F%3E%3C%2Fsvg%3E"),
    linear-gradient(to bottom, #ffffff 0%, #ffffff 100%);
  background-position: right -1px center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  padding-right: 20px !important;
  transition: all ease-in-out 0.15s;
}

.input-group {
  width: 100%;
}
/* END: dropdown z grupowaniem elementów */
/*Style to nice lok card in edit order - END*/

/*Style to better display date in filter input*/
table .input-datapicker > input {
  position: relative;
  top: 100%;
  padding: 0;
  height: auto;
  display: inline;
  -webkit-box-flex: 1;
  -ms-flex: 1 100%;
  -webkit-flex: 1 100%;
  flex: 1 100%;
  width: 100%;
  font-size: 0.9em;
}

/*Zmiana koloru dla klas badge-success btn-success*/
.badge-success,
.btn-success {
  background-color: #45b6af;
  border-color: #3ea49d;
}
.badge-success:focus,
.btn-success:focus {
  background-color: #3ea49d;
  border-color: #307f7a;
}
.badge-info,
.btn-info {
  background-color: #89c4f4;
  border-color: #72b8f2;
}
.badge-info:focus,
.btn-info:focus {
  background-color: #68b4f1;
  border-color: #43a1ed;
}

/*Dodanie pasków w tabelach*/
.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
  background-color: #f1f3fa;
}
.table-hover tbody tr:hover td {
  background-color: #fef0e2 !important;
}
/*Style do listy użytkowników po kliknięciu edycji w Lista Firm*/
.users-in-company-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  border-bottom: 1px solid #67809f;
}
.users-in-company-list > p {
  width: 230px;
  margin: 0 !important;
  padding: 10px 0 !important;
}

/* Style dla tableki z kreydtem klienta */

.credit-table {
  border-collapse: separate;
  border-spacing: 0 5px;
}

.credit-table td {
  padding-bottom: 5px;
}

.credit-table tr:not(:first-child) {
  box-shadow: 0px 1px 0px 0px #d2d7da;
}

/* user modal fix*/
.modal-body .info-container {
  position: sticky;
  top: 5px;
}

/* styles to order */
/* do przebudowy po skończneiu */
.sticky-container {
  display: flex;
}

@media (max-width: 768px) {
  .sticky-container {
    display: block;
  }
}

@media (max-width: 990px) {
  .sticky-element {
    top: 10px !important;
  }

  body {
    overflow-x: visible;
  }
}

.sticky-element {
  position: sticky;
  top: 100px;
}

.table-sticky {
  position: sticky;
  top: 100px;
}

/* Fix for orders table sticky element (change it later)*/

@media (max-width: 991px) {
  .tools.sticky {
    display: flex !important;
    justify-content: end;
    top: 0px;
    background-color: white;
    width: 94vw !important;
    margin: 0 !important;
    gap: 5px;
  }
}

/* Detail Prices form */
.detail-prices-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.detail-prices-container > div:first-of-type {
  margin-left: 15px;
}

@media (max-width: 767px) {
  .detail-prices-container {
    flex-direction: column;
  }
}

/* Boxes mocup in calculator form */
#length2D,
#length3D {
  visibility: hidden;
}

#width2D,
#width3D {
  visibility: hidden;
}

#height2D,
#height3D {
  visibility: hidden;
}

.lengthActive #length2D,
.lengthActive #length3D {
  visibility: visible;
}

.widthActive #width2D,
.widthActive #width3D {
  visibility: visible;
}

.heightActive #height2D,
.heightActive #height3D {
  visibility: visible;
}

.boxes-calc {
  display: flex;
  flex-direction: column;
}

.box-preview-wrapper {
  display: none;
  max-height: 200px;
  justify-content: center;
  margin-bottom: 20px;
  gap: 40px;
}

.boxes-calc .box-preview-wrapper {
  display: flex;
}

.box-preview-wrapper svg {
  width: 200px;
  height: 200px;
}

@media (max-width: 600px) {
  .box-preview-wrapper {
    height: 150px;
    gap: 30px;
  }

  .box-preview-wrapper svg {
    width: 150px;
    height: 200px;
  }
}

@media (max-width: 440px) {
  .box-preview-wrapper {
    gap: 20px;
  }

  .box-preview-wrapper svg {
    width: 125px;
    height: 200px;
  }
}

/* menu for mobile fix */
.page-header.navbar .top-menu {
  float: right !important;
}

.calc-container-fix {
  display: inline-block;
  width: 100%;
}

.simple-data-table th {
  font-weight: 600;
  background: #4d4e4f;
  color: white;
}

.simple-data-table th,
.simple-data-table tr,
.simple-data-table td {
  border: solid 1px black;
}

job-production-panel-component {
  grid-gap: 0px;
  background: white;
}

/* menu dropdown fix */

.page-header.navbar .top-menu .navbar-nav > li.dropdown .dropdown-menu:before {
  right: auto !important;
}

.page-header.navbar .top-menu .navbar-nav > li.dropdown .dropdown-menu:after {
  right: auto !important;
}

.table.order-view {
  min-width: 1200px;
}

div.overflowContainer:has(.order-view) {
  border: 1px solid #dddddd;
}

.order-view > div {
  border-top: 2px solid #dddddd;
}

.order-view > div {
  border-top: 2px solid #dddddd;
}
/* Fixing custom.css problem with drodowns */
/* Fixing css in user dropdown --start  */

.page-header.navbar .top-menu .navbar-nav>li.dropdown-user .dropdown-menu>li a {
    font-size: 14px;
    font-weight: 300;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown .dropdown-menu>li a {
    color: #555;
}

.dropdown-menu > li a {
    padding: 8px 16px;
    color: #6f6f6f;
    text-decoration: none;
    display: block;
    clear: both;
    font-weight: 300;
    line-height: 18px;
    white-space: nowrap;
}

.dropdown-menu > li a:focus, .dropdown-menu > li a:hover {
    text-decoration: none;
    color: #262626;
    background-color: #e1e5ec;
}
/* Fixing css in user dropdown --end */

/* Making custom multiple checkbos select --start */

.multiple-checkbox-select > a{
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 0.01px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22700%22%20height%3D%221100%22%3E%3Cpath%20fill%3D%22%23efefef%22%20d%3D%22M0%200h700v1100H0z%22%2F%3E%3Cpath%20d%3D%22M582%20428L350%20651%20118%20428c-4-3-11-3-15%200-4%204-4%2011%200%2015l239%20229c2%202%205%203%208%203s5-1%207-3l240-230c4-4%204-10%200-14s-11-4-15%200z%22%2F%3E%3C%2Fsvg%3E"),
    linear-gradient(to bottom, #ffffff 0%, #ffffff 100%);
  background-position: right -1px center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  padding-right: 12px !important;
  color:#555 !important;
}

.multiple-checkbox-select > a:hover{
  text-decoration: none !important;
}

.multiple-checkbox-select > a >div{
  white-space: nowrap; 
  overflow: hidden;
}

.multiple-checkbox-select > a > div > .badge {
  position:absolute;
  right:15px;
  z-index:2;
}

.multiple-checkbox-select .dropdown-menu {
  margin:0;
  padding: 10px;
  font-size: 12px;
  z-index:4;
}

.multiple-checkbox-select.dropdown > .dropdown-menu::after,
.multiple-checkbox-select.dropdown > .dropdown-menu::before {
  display: none !important;
}


.multiple-checkbox-select ul{
  list-style: none;
  padding: 0;
}
/* Making custom multiple checkbos select --end */

/* Calc summary info operation tables */


.table th {
  font-weight: 600 !important;
}

.operation-table td{
  font-weight: 700;
}

.operation-table td span{
  font-weight: 300;
}

caption.operation-header {
  font-size: 18px;
  color:white;
  font-weight: 500;
  background-color: #307f7a;
  padding: 8px;
}

.container-fluid:has(caption.operation-header) {
padding-left: 8px;
padding-right: 8px;
}

.operation-table {
  font-size:10px !important;
}

.operation-table .table>tbody>tr>td, .operation-table .table>tbody>tr>th, .operation-table .table>tfoot>tr>td, .operation-table .table>tfoot>tr>th, .operation-table .table>thead>tr>td, .operation-table .table>thead>tr>th {
  padding: 3px !important;
}
