/* Zmiany w headerze */

.header-bottom {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: end;
}

.header-bottom .nav-item {
  font-family: 'Matter', Poppins, sans-serif !important;
  color: #171920;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 12px;
  padding: 11px 0 10px;
  position: relative;
}

.header-bottom .nav-item.margin-left.active:after {
  content: '';
  width: 100%;
  height: 2px;
  background: #ffe700;
  border-radius: 2px;
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
}

.header-bottom .nav-item.margin-left {
  margin-left: 30px;
}

.header-bottom .nav-item #current_currency {
  font-size: 1.5rem;
}

.nav-item .btn-brand {
  padding: 9px 20px 9px 15px;
  display: flex;
  justify-content: revert;
  align-items: center;
}

.nav-item .btn-brand img {
  width: 14px;
  height: 14px;
  display: block;
  margin-right: 8px;
}

.nav-item .site-header__langs {
  border-left: none;
  position: relative;
  margin-left: 16px;
}

.nav-item .site-header__langs button {
  outline: none;
}

.nav-item .site-header__langs:before {
  content: '';
  position: absolute;
  width: 1px;
  height: 40px;
  background: #F4D13E;
  left: 0;
  top: calc(50% - 20px);
}

.site-header__bottom .nav-item .dropdown-menu {
  min-width: unset;
  width: 68px;
  margin: 0;
}

.nav-item.margin-0 {
  margin: 0;
}

.site-header__bottom .nav-item .dropdown-noicon.dropdown-toggle::after {
  display: none;
}

.nav-item .site-header__langs.currencies {
  width: unset;
  padding: 0px 8px 0 3px;
}

.nav-item a.icon-left {
  display: flex;
  align-items: center;
}

.nav-item a.icon-left img {
  display: block;
  margin-right: 10px;
}

.site-header__top-nav .dropdown-menu.dropdown-children {
  display: none;
}

.site-header__top-nav .dropdown-parent:hover .dropdown-menu.dropdown-children {
  display: block;
}

.site-header__top-nav .dropdown-children {
  padding: 10px 0 0;
}

.site-header__top-nav .dropdown-children ol {
  padding: 0 10px 10px;
  line-height: 1.4;
  font-size: 1.2rem;
}

.site-header__top-right {
  padding-right: 0;
}

.site-header__top-nav ul {
  justify-content: flex-end;
}

/* .site-header__top-nav ul li {
  margin-left: 15px;
} */


/* Główna zakładka nawigacyjna klienta */

.user-nav-tab {
  width: 100%;
  display: flex;
  background: #fff;
  margin: 0px 0 2.2rem;
}

.user-nav-tab .item {
  /* width: 25%; */
  width: calc(100% / 3);
  font-weight: 600;
  font-family: 'Matter', Poppins, sans-serif !important;
  font-size: 12px;
  line-height: 12px;
  color: #171920;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 10px 0;
  position: relative;
  border-top: 1px solid #B2B2B2;
  border-bottom: 1px solid #B2B2B2;
  border-left: 1px solid #CECECE;
}

.user-nav-tab .item:first-of-type {
  border-left: 1px solid #B2B2B2;
}

.user-nav-tab .item:last-of-type {
  border-right: 1px solid #B2B2B2;
}

.user-nav-tab .item.active,
.user-nav-tab .item:hover {
  background: #ffe700;
  border-top: 1px solid #ffe700;
  border-bottom: 1px solid #ffe700;
  border-left: 1px solid #ffe700;
}

.user-nav-tab .item.active+.item,
.user-nav-tab .item:hover+.item {
  border-left: 1px solid #ffe700;
}

.user-nav-tab .item:last-of-type.active,
.user-nav-tab .item:last-of-type:hover {
  border-right: 1px solid #ffe700;
}

.user-nav-tab .item.disabled {
  user-select: none;
  cursor: no-drop;
}

.user-nav-tab .item p {
  margin: 0;
  font-size: 10px;
  text-align: center;
  flex-grow: 1;
  text-align: center;
}

.user-nav-tab .item img {
  display: block;
}

.user-nav-tab .item span {
  color: #fff;
  background: #FF0000;
  border-radius: 2px;
  padding: 1px 6px;
  font-weight: 500;
}

.user-nav-tab .img-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  border: 1px solid #CECECE;
  position: relative;
  background: #fff;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .user-nav-tab .item {
    flex-direction: row;
  }
  .user-nav-tab .img-wrapper {
    margin: 0 10px 0 0;
  }
}
@media (min-width: 500px) {
  .user-nav-tab .item p {
    font-size: 12px;
    text-align: left;
    flex-grow: unset;
  }
}

.user-nav-tab .img-wrapper img {
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) translateY(-50%);
}

.user-nav-tab .item.active .img-wrapper,
.user-nav-tab .item:hover .img-wrapper {
  border: none;
}

.user-nav-tab .item .absolute {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.site-wrapper.orders {
  margin-top: 0;
}

.un-orders-filter {
  display: flex;
}

.required-actions {
  margin: 0 0 15px;
}

.required-actions a {
  color: #FF0000;
}

.required-actions a:hover,
.required-actions a.active {
  color: #ffe700;
}

.un-orders-filter .item {
  color: #171920;
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  padding: 18px 12px 10px 0;
  margin-bottom: 30px;
  border-bottom: 2px solid #CECECE;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.required-actions .badge {
  color: #fff;
  background: #FF0000;
  border-radius: 2px;
  padding: 2px 6px;
  font-weight: 600;
  margin-right: 5px;
}

.un-orders-filter .item .badge {
  color: #fff;
  background: #FF0000;
  border-radius: 2px;
  padding: 2px 6px;
  font-weight: 600;
  margin-left: 2px;
  display: block;
  position: absolute;
  top: 0;
  left: -2px;
  margin-top: 4px;
}

.un-orders-filter .item.active,
.un-orders-filter .item:hover {
  border-bottom: 2px solid #ffe700;
}


/* Rozbudowana paginacja */

.pagination_list ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination_list li {
  font-size: 12px;
  font-weight: 600;
  min-height: 40px;
  min-width: 40px;
  margin: 0 2px;
  position: relative;
  background: #fff;
  border: 1px solid #F1F1F1;
  border-radius: 2px;
}

.pagination_list li.page_next svg {
  transform: rotate(180deg);
}

.pagination_list li:hover,
.pagination_list li.active {
  border: 1px solid #ffe700;
}

.pagination_list li:hover svg path {
  stroke: #ffe700;
}

.pagination_list li:hover a,
.pagination_list li.active a {
  color: #171920;
}

.pagination_list li a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Lista kalkulacji */

.pdf-btn {
  background: transparent;
  border: transparent;
  padding: 0;
  cursor: pointer;
}

.pdf-btn img {
  width: 25px;
  height: 30px;
}

#my-invoices-mobile {
  display: table;
}

.profile-order-btn {
  font-size: 12px;
  padding: 6px;
  display: inline-block;
  width: inherit;
}

.remove-addres-btn {
  width: 24px;
  height: 24px;
  background: #f05050;
  color: #fff;
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.address-cell-inline {
  display: inline-block;
}

.calculation-col-50 {
  width: 50%;
  float: left;
}

@media (max-width: 776px) {
  .calculation-col-50 {
    padding: 5px;
    width: 100%;
    float: left;
  }
}

.calculations-desc-box {
  padding: 3px;
}

.calculations-desc-box a.yellow {
  color: #ffe700;
}

.calculation-row {
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background-color: #fff;
  margin-bottom: 15px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.12);
}

.row-data {
  display: none;
}

[data-opened="0"] .see-more-btn {
  display: block;
}

[data-opened="1"] .see-more-btn {
  display: none;
}

[data-opened="0"] .see-less-btn {
  display: none;
}

[data-opened="1"] .see-less-btn {
  display: block;
}

.row-button span {
  margin: 5px auto;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
}

.filter-calc-step-btn {
  background: rgba(0, 0, 0, .05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  margin-bottom: 2px;
}

.filter-calc-step-btn.active {
  background: #ffe700;
  border-color: #ffe700;
}

.calculations-steps-container {
  display: flex;
}

.calculation-step-box {
  background: rgba(0, 0, 0, .05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  margin-right: 3px;
  padding: 2px 7px;
  font-weight: 600;
  color: #000;
}

.calculation-step-box.done {
  background: #ffe700;
  border-color: #ffe700;
}

/* button img {
  filter: brightness(1) invert(1);
} */

.calculations-step-status-container button,
.calculations-step-status-container a {
  margin: 5px 5px 0 0;
  font-size: 12px;
}

.calculations-step-status-container button.btn-white,
.calculations-step-status-container a.btn-white {
  background-color: #363636;
  color: #fff;
  border: transparent;
}

#calc-actionbox-comment.error {
  border-color: rgb(240, 84, 84);
}

.calculations-desc-box-actions {
  padding-left: 100px;
  position: relative;
  text-align: right;
}

.calculations-desc-box-actions strong {
  position: absolute;
  top: 0;
  left: 4px;
}

.calculations-desc-box-actions a {
  display: inline-block;
}

.edit-calc-name {
  width: 12px;
  height: 12px;
  cursor: pointer;
  display: inline-block;
  margin-left: 3px;
}

.edit-calc-name:hover {
  opacity: 0.8;
}

.edit-calc-name img {
  max-width: 100%;
  max-height: 100%;
}

.edit-calc-name-form {
  display: none;
}

.edit-calc-name-form.active {
  display: flex;
}

.edit-calc-name-form input {
  max-width: calc(100% - 150px);
}

.save-changes-btn {
  color: #212529;
  background-color: #ffe700;
  font-size: 12px;
  padding: 6px;
  font-weight: 600;
  display: block;
  cursor: pointer;
}

.colist-top {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.colist-top .btn-brand {
  padding: 9px 20px 9px 15px;
  display: flex;
  justify-content: revert;
  align-items: center;
}

.colist-top .btn-brand img {
  width: 14px;
  height: 14px;
  display: block;
  margin-right: 8px;
}

.filter-colist {
  position: relative;
}

.filter-colist input {
  height: 40px;
  width: 290px;
  padding: 2px 5px 2px 30px;
  border: 1px solid #CECECE;
  border-radius: 2px;
}

.filter-colist img {
  position: absolute;
  top: calc(50% - 8px);
  left: 7px;
}

#toolsContainer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#exportParams {
  display: flex;
  flex-direction: row;
  justify-content: right;
}

#autoreporting {
  margin-left: 1em;
}

#autoreport_msg_container {
  height: 20px;
  margin-left: 10px;
  font-weight: bold;
}

#autoreport_msg_success {
  display: none;
  color: green;
}

#autoreport_msg_error {
  color: red;
  display: none;
}

#dateRange,
#exportBtn,
#arparam {
  height: 30px;
}

#exportBtn {
  white-space: nowrap;
}

#export_msg_error {
  height: 20px;
  font-weight: bold;
  color: red;
  display: none;
}

.sort-search {
  display: flex;
  align-items: flex-end;
}

.sort-search .custom-select {
  height: 40px;
  min-width: 200px;
}

@media (max-width: 991.98px) {
  .colist-top {
    flex-direction: column;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  #exportParams {
    margin-left: 10px;
  }
}

@media (max-width: 767.98px) {
  .un-orders-filter .item {
    width: 33.33%;
    margin-bottom: 10px;
  }
  .un-orders-filter {
    justify-content: space-between;
  }
  .un-orders-filter-container {
    flex-direction: column;
  }
  #exportParams {
    justify-content: left;
  }
}

@media (max-width:575.98px) {
  .colist-top .sort-search {
    flex-direction: column;
    align-items: unset;
    width: 100%;
  }
  .colist-top .filter-colist input {
    margin-top: 10px;
    width: 100%;
  }
}
