html {
  scroll-behavior: smooth;
}
 
/* tło */
.gray-bg {
  background-color: #f3f3f3;
}
.white-bg {
  background-color: #ffffff;
}

.warning-bg {
  background-color: #fcf8e3;
}

.danger-bg {
  background-color: #f2dede;
}

body.login {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #eee;
  background: url('/accounts/background.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* fonty */
.font-bold {
  font-weight: 600;
}

.font-normal {
  font-weight: 400;
}

/* padding */
.padding {
  padding: 15px;
}

.padding-right {
  padding-right: 15px;
}

.padding-left {
  padding-left: 15px;
}

.padding-2x {
  padding: 30px;
}

/* ramki */
.border-bottom {
  border-bottom: 1px solid #e7eaec !important;
}

.border-top {
  border-top: 4px solid #e7eaec !important
}

/* marginesy */
.margin-top {
    margin-top: 15px;
}
.margin-bottom {
  margin-bottom: 15px;
}
.margin-bottom-0 {
    margin-bottom: 0px;
}

/* szerokość 100% */
.full-width {
    width: 100% !important;
}

/* Wyrównaj do dołu */
.align-bottom {
  position: absolute;
  bottom: 0;
}

/* block */
.block {
  display: block;
}

/* po prostu ukryj element */
.hidden {
  display: none;
}

.link:hover {
  text-decoration: underline;
}

a, .link {
  cursor: pointer;
  display: inline;
  color: inherit;
}
a:hover {
  color: inherit;
  background:unset !important;
}

/* na IOS/Safari by wywołać zdarzenie "click" na polu musi być odpowiedni wskaźnik ... myszy */
.clickable {
  cursor: pointer;
}

.underline:hover {
  text-decoration: underline;
}

/* */
.sub-header {
  background-color: #ffffff;
}

/* ibox */
.ibox {
  margin-bottom: 15px;
}

.ibox-content {
  margin-top: 15px;
}

.ibox-title {
  font-weight: 600;
  padding-bottom: 15px;
}

.password-box {
  max-width: 460px;
  margin: 0px auto;
  padding: 100px 20px 20px;
}

.errorhandler-box {
  max-width: 460px;
  margin: 0px auto;
  padding: 100px 20px 20px;
}

.errorhandler-box h1 {
  font-size: 170px;
}

/* tabele *******************************************************************/
.table {
  margin-bottom: 0px;
}

.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
  background-color: #f7f7f7;
  border-bottom: 1px solid #e7eaec;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border: 1px solid #efefef;
}

/* tabele, ikonki sortowania */
.table .sortable {
  cursor: pointer;
}

.table .sortable i {
  float: right;
  margin-left: 0.7em;
}

.table .unsorted {
  color: rgba(90, 90, 90, 0.5);
}

.table .blink, .table .blink:hover {
  background-color: #FBBA00;

  -webkit-transition: all 0.1s ease;
  -moz-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all 0.1s ease;
}

/* kursory w menu ***********************************************************/
.dropdown-menu > li:not(.disabled):hover,
.list-group > li:not(.disabled):hover {
  cursor: pointer;
}

/****************************************************************************/

.login-logo {
  max-width:300px;
  height:auto";
}


.navbar-default {
  background-color: #000;
  border-color: #000;
}

@media (max-width: 887px) {
  #page-wrapper {
    padding: 0px 15px;
    margin-top: 0px
  }
  .hidden-mobile {
    display: none !important;
  }
  #wrapper {
    margin: 0px 0px 0px 0px;
  }
  .navbar-fixed-bottom, .navbar-fixed-top {
    position: relative;
  }

  .search-group-dropdown, .search-sort-dropdown {
    float: left;
    width: 100%;
  }
  .search-group-dropdown button, .search-sort-dropdown button {
    width: 100%;
  }
}

/*
.breadcrumb {
    font-size: 0.8vw;
    padding: 0.5vw 0vw 0.5vw 0vw;
}

@media only screen and (max-width : 887px) {

  .breadcrumb {
      font-size: 4.8vw;
      line-height: 7vw;
      padding: 0vw 5vw 0vw 5vw;
  }
}
*/

/****************************************************************************/

@media (min-width: 888px) {

  #page-wrapper {
    padding: 0px 15px;
    margin-top: 49px
  }

  #wrapper {
    width: 100%;
    overflow-x: hidden;
  }

  .wrapper-margin {
    margin: 0px 0px 0px 220px;
  }

  .x-nav-logo {
    min-width: 220px;
    min-height: 115px;
    background-image: url("/assets/branding/logo.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important; 
    background-size: 220px;
  }


  a.x-nav-logo {
    background-image: url("/assets/branding/logo.png")!important;
  }

  .x-nav-top > li {
    display: inline-block;
    padding: 0px 0px;
  }

  .x-nav-top > li > a {
    padding: 15px 15px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
    display: inline-block;
  }

  .x-nav-top > .dropdown-menu > li > a {
      display: block;
      padding: 3px 20px;
      clear: both;
      font-weight: 400;
      line-height: 1.42857;
      white-space: nowrap;
  }

  .x-nav-side {
    width: 220px;
    position: fixed;
    top: 0px;
    overflow-y: auto;
    height: 100vh;
  }

  .dropdown-menu > li > a i,
  .nav > li > a i {
    margin-right: 6px;
    width: 1.2em;
    text-align: center;
  }

  .x-nav-logo-asims {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 9px;
    padding: 0px 9px;
  }

  .hidden-desktop {
    display: none !important;
  }
}

/****************************************************************************/

.desktop-start {
  background-color: #f3f3f3;
  color: #484848;
}

.desktop {
  background-color: #000;
  color: #000;
  font-family: Rajdhani;
}

.progress {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
}

.x-nav-side {
  background-color: #000;
}

.x-nav-side a {
  color: #fff;
}

.x-nav-top > li > a {
  color: #fff;
}

.nav .nav-divider {
  background-color: #a7b1c2;
}

.x-nav-side .nav > li.active > a,
.x-nav-side .nav > li > a:focus {
  border-bottom:1px solid #f7951f;
  border-top:1px solid #f7951f;
  background-color: unset;
  color: white;
}

.x-nav-side .nav > li > a:hover {
  background-color: unset;
  color: #f7951f !important;
}

/* wyłączenie tabelki "disabled" */
.disabled tbody tr,
.disabled thead th
{
  pointer-events: none;
  background-color: #fafafa;
  cursor: default;
}

/* tłumaczenia **************************************************************/
.translation-missing {
  background-color: yellow;
  color:black;
}

.translation-debug {
  border: 1px solid #ffa666;
}

/* tooltipy (okrojone z http://cbracco.me/a-simple-css-tooltip) **************/

/* Base styles for the element that has a tooltip */
[data-tooltip] {
  position: relative;
  cursor: pointer;
}

/* Base styles for the entire tooltip */
[data-tooltip]:before,
[data-tooltip]:after {
  position: absolute;
  display:none;
  pointer-events: none;
}

/* Show the entire tooltip on hover and focus */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
  display: inline;
}

/* Base styles for the tooltip's directional arrow */
[data-tooltip]:before {
  z-index: 1001;
  border: 6px solid transparent;
  background: transparent;
  content: "";
}

/* Base styles for the tooltip's content area */
[data-tooltip]:after {
  z-index: 1000;
  padding: 8px;
  font-size: 12px;
  white-space: nowrap;
  background-color: #000;
  background-color: hsla(0, 0%, 20%, 0.9);
  color: #fff;
  content: attr(data-tooltip);
}

[data-tooltip]:before,
[data-tooltip]:after {
  bottom: 100%;
  left: 10px;
}

[data-tooltip]:before {
  margin-left: -6px;
  margin-bottom: -12px;
  border-top-color: #000;
  border-top-color: hsla(0, 0%, 20%, 0.9);
}

/* Horizontally align top/bottom tooltips */
[data-tooltip]:after,
.tooltip:after {
 margin-left: -20px;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
  transform:         translateY(-12px); 
}

/* Notification */
.notification {
  position: fixed;
  z-index: 1000;
  bottom: 0px;
  right: 0px;
  margin: 15px;
  min-width: 220px;
}

.notification-title {
  font-weight: bold;
}

.notification-message {
}

.notification-close {
  background: red;
}

/**/
.border-1px {
  border: 1px solid #dfdfdf !important;
}

.shadow-hover.box:hover {
	-webkit-box-shadow: 0px 0px 8px 3px rgba(0,0,0,0.06);
	-moz-box-shadow: 0px 0px 8px 3px rgba(0,0,0,0.06);
	box-shadow: 0px 0px 8px 3px rgba(0,0,0,0.06);
}

/* Podstawowy "product-box" */
.box {
  position: relative;
  cursor: pointer;
  width: 100%;

  color: #F3F3F3;
  background-color: #ffffff;
}
.box:before {
  content: "";
  display: block;
  padding-top: 100%;
}

.box-name {
  background: black !important;
  min-height: 5vw;
  color: white;
  padding: 0.1vw 0.1vw 0.1vw 1.1vw;
  position: relative;

  display: table;
}
.box-name h4 {
  font-size: 1.3vw;

  display: table-cell;
  vertical-align: middle;
}
@media only screen and (max-width : 887px) {
  .box-name {
      min-height: 12vw;
      padding: 0.1vw 3.1vw 0.1vw 3.1vw;
  }
  .box-name h4 {
    font-size: 3.1vw;
  }
}

.box > div > div.content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.box:hover h3 {
  text-decoration: underline;
}

.button-menu-toggle {
  padding: 9px 0px 0px 9px;
}

@media (min-width: 999px) {
  .modal-dialog {
    width: 900px;
    margin: 30px auto;
  }
}

input[type=checkbox] + label:before { content: "\f096"; } /* unchecked  */
input[type=checkbox] + label:before { letter-spacing: 0.7em; }

input[type=checkbox]:checked + label:before { content: "\f14a"; } /* checked  */
input[type=checkbox]:checked + label:before { letter-spacing: 0.7em; }

/* tree */
.tree i.tree-toggler {
  cursor: pointer;
}

.tree a {
  padding-right: 0.3em;
  padding-left: 0.3em;
  cursor: pointer;
}

.tree a.selected {
  background-color: #c0d2ec;
  color: #333333;
}

/* kompatybilnośc combo-box z inputami w bootstrap */
.form-group .combo-box {
  display: block;
/*  padding: 0px 12px;                /* różnica względem orygialnego ".form group" */
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: left;
  white-space: nowrap;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;      /* różnica względem orygialnego ".form group" */
  border-radius: 4px;
}

.form-group .combo-box .caret {
  position: absolute;
  right: 1em;
  top: 50%;
}

.form-group .combo-box span.placeholder {
  color: #999;
}

.form-group .combo-box .combo-box-reset {
  text-align: right;
  font-style: italic;
}

.form-link  {
  cursor: pointer;
  display: inline;
  margin-right: 15px;
}

.form-link:hover {
  text-decoration: underline;
}

.textarea-counter {
  position: absolute;
  bottom: 0px;
  color: #9b9b9b;
  right: 1em;
}

.lp-counter {
  width: 4em;
  max-width: 4em;
  text-align: right;
}

.cookiealert {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0 !important;
  z-index: 999;
  opacity: 0;
  border-radius: 0;
  transform: translateY(100%);
  transition: all 500ms ease-out;
  color: #ecf0f1;
  background-color: #323232;
}

.cookiealert.show {
  opacity: 1;
  transform: translateY(0%);
  transition-delay: 1000ms;
}

.cookiealert a {
  text-decoration: underline
}

.cookiealert .acceptcookies {
  margin-left: 10px;
  vertical-align: baseline;
}

/* obejście problemu z ujemnymi marginesami na formularzach  */
.form-horizontal .form-group {
  margin-right: 0px;
  margin-left: 0px;
}

.label {
  color:#000;
  padding: 0.4em;
  width: 1.7em;
  height: 1.7em;
}

.label-primary {
  background-color: #eee;
}

.btn-primary {
  color: #fff;
  background-color: #000;
  border-color: unset;
}

.btn-primary:hover {
  color: #f7951f;
  border-color: #000;
  background-color: #000;
}

.btn.focus,
.btn:focus,
.btn-primary.active,
.btn-primary:active,
.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary:active.focus,
.btn-primary:active:focus,
.open>.dropdown-toggle.btn-primary.focus,
.open>.dropdown-toggle.btn-primary:focus,
.open>.dropdown-toggle.btn-primary {
  background-color: #000;
  border-color: unset;
}