.invalid-feedback, .errorlist > li {
  color: #FF0000;
}

button > * {
  pointer-events: none;
}


a > * {
  pointer-events: none;
}

li > ul > li > a {
  padding-left: 40px !important;
}

.modal-body #ui-datepicker-div {
  position: absolute !important;
  top: auto !important;
  left: auto !important;
}

.loader {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  position: relative;
  margin: 0 auto;
}

#loader-2 span {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  background-color: #5cb85c;
  margin: 35px 5px;
}

#loader-2 span:nth-child(1) {
  animation: bounce 1s ease-in-out infinite;
}

#loader-2 span:nth-child(2) {
  animation: bounce 1s ease-in-out 0.33s infinite;
}

#loader-2 span:nth-child(3) {
  animation: bounce 1s ease-in-out 0.66s infinite;
}

@keyframes bounce {
  0%, 75%, 100% {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }

  25% {
    -webkit-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    -o-transform: translateY(-20px);
    transform: translateY(-20px);
  }
}

.sewageplant .online {
  color: green;
}

.sewageplant .offline {
  color: red;
}

.color-gray {
  color: gray;
}

.paragraph-line {
  position: relative;
}

.paragraph-line:after {
  content: "";
  display: block;
  border-top: solid 1px black;
  width: 100%;
  height: 1px;
  position: absolute;
  top: 50%;
  z-index: 1;
}

.paragraph-line span {
  background: #fff;
  padding: 0 20px;
  position: relative;
  z-index: 5;
  display: inline-block;
}

.b5-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding-top: 63px;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.b5-sidebar .nav-link {
  font-weight: 500;
  color: #333;
  border-bottom: 1px solid #e7e7e7;
  width: 100%;
  padding-left: 10px;
}

.b5-sidebar .nav-link.active {
  color: #2D9724;
}

.nav-item.disabled .nav-link {
  color: #6c757d;
}

.corner-triangle {
  position: relative;
}

.corner-triangle:after {
  content: "";
  position: absolute;
  bottom: 0%;
  right: 0%;
  width: 0px;
  height: 0px;
  border-bottom: 60px solid #2d9724;
  border-left: 50px solid transparent;
}

.ui-autocomplete {
  max-height: 400px;
  overflow-y: auto;
  /* prevent horizontal scrollbar */
  overflow-x: hidden;
  /* add padding to account for vertical scrollbar */
  padding-right: 20px;
}

.white_text > tbody > tr.even > td{
  color: inherit; !important;
}

.white_text > tbody > tr > td > a{
  color: black;
  font-weight: bold;
}

.table-striped > thead > tr > th > a{
  color: black;
}

@media (min-width: 1200px){
  .inner-card {
    margin: 0 20%;
  }
}

.select2-container {
  width: auto !important;
}

label[for="id_agglomeration"] {
  font-size: .95em;
}

.select2-container {
  width: auto !important;
}

.table .orderable > a {
  text-decoration: none;
  color: black;
}


@media screen and (max-width: 770px) {
  .b5-sidebar {
    position: unset;
    padding: 0;
  }

  #side-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding-top: 100px;
    width: 100%;
    background-color: white;
  }
}

.modal-md {
  max-width: 650px;
}

.small-triangle {
  position: relative;
  bottom: -15px;
  left: 2px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid white;
  z-index: 9;
}

.icon-wrapper {
  width:28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.custom-border {
  border: 2px solid #dee2e6;
  border-radius: 2px;
  padding: 10px;
  position: relative;
  margin-top: 20px;
}

.custom-border::before {
  content: "Komentarz mieszkańca";
  position: absolute;
  top: -15px;
  left: 10px;
  background-color: white;
  padding: 0 5px;
  font-weight: bold;
}

.banner {
  display: none;
}

@media screen and (max-width: 770px) {
  .banner {
    background-color: rgb(70, 69, 67);
    height: 100px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-content: center;
    flex-direction: row;
    z-index: 999;
    transition: height 0.2s ease-in-out;
  }

  .banner.hide-banner {
    height: 0;
  }

  .banner p {
    font-weight: bold;
    font-size: 12px;
    padding: 10px;
    color: white;
  }

  .banner .left-side img:first-child {
    margin: 10px 0 0 10px;
  }

  .banner .right-side a {
    position: absolute;
    top: 30px;
    right: 15px;
  }
}
