body {
  margin: 0;
  min-height: 100vh;
}


.jumbotron {
  margin-bottom: 0;
  padding: 3em;
  background-image: url("img/header-backgorund.jpg");
  background-attachment: fixed;
  min-height: 200px;
}

.jumbotron h1 {
  font-size: 3.25rem;
}

.navbar {
  margin-bottom: 0;
  border-radius: 0;
  background: #202020;
  transition: all 0.4s linear;
}

.navbar.sticky {
  opacity: 0.6;
}

.navbar.sticky:hover {
  opacity: 1;
}

.carousel {
  margin-bottom: 50px;
}

.panel-image {
  width: 100%;
}

.wrapper {
  display: flex;
}

.container {
  margin-top: 20px;
}

.dropdown-menu {
  margin-top: 8px;
  max-height: 400px;
  overflow-y: scroll;
}

.dropdown-item:hover{
  background-color: rgb(184, 184, 184);
}

.main-page {
  width: 100%;
  min-height: 100vh;
  position: relative;
}

.main-content {
  margin-bottom: 100px;
}

.footer {
  background-color: rgb(184, 184, 184);
  padding: 5px;
  font-size: 15px;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  min-height: 80px;
}

.footer-social{
  font-size: 2.4rem;
}

.footer-social-icon {
  color: #202020;
  transition: 0.1s ease-in-out;
}

.footer-social-icon:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.add-btn{
  margin: 1.5rem 1rem 1.5rem 1rem;
}

.page-title {
  margin-bottom: 2rem;
}

.table th {
  text-align: center;
}

.admin-table td {
  vertical-align: middle;
}

.admin-panel-table-icon {
  transition: opacity .15s ease-in-out;
  color: #212529;
}

.admin-panel-table-icon:hover {
  cursor: pointer;
  opacity: 0.5;
}

.nav-item{
  text-align: center;
}

.nav-link:hover  {
  color: rgba(255, 255, 255, 0.9) !important;
}

.dropdown-item{
  text-align: center;
}


.custom-file{
  margin-bottom: 1rem;
}

.custom-file-input ~ .custom-file-label::after {
  content: "Przeglądaj...";
}

.link-disabled {
  cursor: not-allowed !important;
  opacity: 0.5;
}

.link-disabled > a {
  display: inline-block;  
  pointer-events: none;
}

.card-product{
  overflow: hidden;
  height: 300px;
  margin-bottom: 1.5rem;
}

.card-product:hover {
  cursor: pointer;
}

.card-img-overlay{
  background-color: rgba(54, 54, 54, 0.7);
  -webkit-transform: translateY(80%);
  -ms-transform: translateY(80%);
  transform: translateY(80%);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-product:hover .card-img-overlay{
  -webkit-transform: translateY(60%);
  -ms-transform: translateY(60%);
  transform: translateY(60%);
  background-color: rgba(54, 54, 54, 0.9);
}

.card-img-top{
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  max-width: 100%;
}

.card-title {
  white-space: nowrap;
  color: white;
}

.card-product:hover .card-img-top{
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .card-img-overlay{
    -webkit-transform: translateY(80%);
    -ms-transform: translateY(80%);
    transform: translateY(80%); 
  }
}

.section-header{
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.category-card {
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity .3s ease-in-out;
  margin-bottom: 1.5rem;
}

.category-card-title {
  font-weight: lighter;
  transition: transform .3s ease-in-out;
}

.category-card:hover {
  opacity: 0.7;
  cursor: pointer;
}

.category-card:hover .category-card-title{
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}


.filters-form-wrapper {
  padding: 1.5rem;
}

.filters-select {
  margin-left: 0.5rem;
}

.btn-outline-white {
  color: #f5f5f5;
  background-color: transparent;
  background-image: none;
  border-color: #f5f5f5;
}

.btn-outline-white:hover {
  color: #0f0f0f;
  background-color: #f5f5f5;
  border-color: #f5f5f5;
}

.btn-outline-white.focus, .btn-outline-white:focus{
  box-shadow: 0 0 0 .2rem rgba(255, 255, 255, 0.5);
}

.slide-cfg-wrapper {
  background-color: #e7e7e7;
  border-radius: 15px;
  padding: 1rem 4rem 0.5rem 4rem;
  margin-bottom: 1.25rem;
}

.img-slide-cfg{
  max-height: 55vh;
  border-radius: 30px;
}

.custom-file-label{
  overflow: hidden;
}

.alert-icon{
  font-size: 2.5rem;
  margin-right: 1rem;
  display: flex;
}

.alert-icon-danger{
  color: #dc3545;
  display: none;
}

.alert-icon-success{
  color: #28a745;
  display: none;
}

@media (max-width: 767px) {
  .form-inline {
    display: inline-block;
  }
  .filters-row {
    justify-content: center;
  }
}


/* ---------------------------------------------------
              SIDEBAR
----------------------------------------------------- */

#sidebar {
  min-width: 250px;
  max-width: 250px;
  background: #16191b;
  color: #fff;
  transition: all 0.3s;
  display: block;
  height: 100vh;
  z-index: 100;
  position: sticky;
  top: 0;

}

#sidebar.active {
  min-width: 95px;
  max-width: 95px;
  text-align: center;

}

.sidebar-header > h3 {
  display: block;

}

#sidebar.active .sidebar-header h3 {
  display: none;
}

#sidebar.active .sidebar-header strong {
  display: block;
}

#sidebar ul li a {
  text-align: left;
}

#sidebar.active ul li a {
  padding: 20px 10px;
  text-align: center;
  font-size: 0.85em;
}

#sidebar.active ul li a i {
  margin-right: 0;
  display: block;
  font-size: 1.8em;
  margin-bottom: 5px;
}

#sidebar.active ul ul a {
  padding: 10px !important;
}

#sidebar.active .dropdown-toggle::after {
  top: auto;
  bottom: 10px;
  right: 50%;
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  transform: translateX(50%);
}

#sidebar .sidebar-header {
  padding: 20px;
  background: #16191b;
}

#sidebar .sidebar-header strong {
  display: none;
  font-size: 1.8em;
}

#sidebar ul.components {
  padding: 20px 0;
}

#sidebar ul li a {
  padding: 10px;
  font-size: 1.1em;
  display: block;
  color: white;
}

#sidebar ul li a:hover {
  color: #007bff;
  background: #252525fd;
}

#sidebar ul li.active > a, a[aria-expanded="true"]{
  background-color: #252525fd;
}

#sidebar ul li a i {
  margin-right: 10px;
}

#sidebar ul li.active>a {
  color: #fff;
  background: #007bff;
}

a[data-toggle="collapse"] {
  position: relative;
}

#sidebar>.dropdown-toggle::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 20px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

a:hover {
  color: inherit;
  text-decoration: none;
  transition: all 0.4s;
}

.sidebar-button {
  position: absolute;
  left: 5%;
  top: 1%;
  text-align: center;
}

.sidebar-button-inisde {
  border-radius: 0%;
  width: 100%;
}

.sidebar-button-inisde:focus{
  box-shadow: none;
}

#sidebar.active .fa-angle-double-left {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
  transition: transform .3s linear;
}

#sidebar .fa-angle-double-left {
  transition: transform .3s linear;
}

.home-submenu li a{
  font-size: 1rem !important;
  padding-left: 2rem !important;
}

.home-submenu{
  background-color: #202427;
}

#sidebar.active .home-submenu a{
  padding-left: 0;
}



/* ---------------------------------------------------
          MEDIA QUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
  #sidebar {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
    margin-left: -80px !important;
  }

  .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
  }

  #sidebar.active {
    margin-left: 0 !important;
  }


#sidebar.active .components{
  display: block;
}

  #sidebar.active .sidebar-header h3 {
    display: none;
  }

  #sidebar .sidebar-header h3 {
    display: none;
  }

  #sidebar .sidebar-header strong {
    display: block;
  }

  #sidebar ul li a {
    padding: 20px 10px;
  }

  #sidebar ul li a span {
    font-size: 0.85em;
  }

  #sidebar ul li a i {
    margin-right: 0;
    display: block;
  }

  #sidebar ul ul a {
    padding: 10px !important;
  }

  #sidebar ul li a  {
    font-size: 0.85em;
    overflow: hidden;
  }

  #sidebar {
    margin-left: 0;
  }

  .sidebar-button-inisde {
    display: none;
  }

  #sidebarCollapse.active {
    right: 45%;
  }

  #sidebarCollapse.active span {
    display: none;
  }

  #sidebarCollapse.active .fa-angle-double-right {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
    transition: transform .3s linear;
  }

  .fa-angle-double-right {
    transition: transform .3s linear;
  }
}

@media (min-width: 768px) {
  .sidebar-button {
    display: none;
  }

}