 html, body {
      height: 100%;
      margin: 0;
    }

    body {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    main {
      flex: 1; /* wypycha footer na dół */
    }

.cw {color: #fff;}
.cb {color: #000;}
.fb {font-weight: bold;}

.dropzone {
    cursor: pointer;
    background: #010e1b;
    border: 5px dashed #033683;
    color: #317beb
}
.dropzone.dragover {
    background: #161616;
    border: 5px dashed #0d6efd;
    color: #0d6efd
}
.dropzone.disabled {
    pointer-events: none;
    opacity: .6;
}

.preview img {
    max-width: 220px;
    border-radius: 6px;
}

.bg-blueviolet {background: blueviolet;}
.bg-orange  {background: orange;}
.bg-brown {background: brown;}
.bg-yellow {background: yellow;}
.bg-blue {background: blue;}
.bg-darkblue {background: darkblue;}
.bg-green {background: rgb(97, 216, 200);}

.w-10 {width: 10% !important;}
.w-20 {width: 20% !important;}
.w-30 {width: 30% !important;}
.w-40 {width: 40% !important;}
.w-60 {width: 60% !important;}
.w-70 {width: 70% !important;}
.w-80 {width: 80% !important;}
.w-90 {width: 90% !important;}

.x-100 {width: 98%;}

     .ff {
            /* font-family: 'Montserrat', Arial, sans-serif; */
            font-family: 'Oswald', sans-serif;
            font-weight: 700;
            font-stretch: condensed;
            letter-spacing: 0px;
            transform: scaleY(1.18);
            display: inline-block;
        
        }



.text-uppercase {
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}

@media (min-width: 1200px) {
  .logo {
    width: 280px;
  }
}

.logo img {
  max-height: 26px;
  margin-right: 6px;
}

.logo span {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  font-family: "Nunito", sans-serif;
  text-decoration: none;
}

.header {
  transition: all 0.5s;
  z-index: 997;
  height: 60px;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);

  padding-left: 20px;
  /* Toggle Sidebar Button */
  /* Search Bar */
}

.header .toggle-sidebar-btn {
  font-size: 32px;

  cursor: pointer;
  color: #ffffff;
}

.header .search-bar {
  min-width: 360px;
  padding: 0 20px;
}

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
    background: white;
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
}

.header .search-form input {
  border: 0;
  font-size: 14px;
  color: #012970;
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
  border: 1px solid rgba(159, 160, 160, 0.3);
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

.header .search-form button i {
  color: #012970;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.navbar-toggler:focus {
  box-shadow: none; 
  outline: none;  
}
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 20px;
  color: #fdfdfd;
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: #ffffff;
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .notifications .notification-item:hover {
  background-color: #f6f9ff;
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .messages .message-item:hover {
  background-color: #f6f9ff;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: #f6f9ff;
}





/* 
   Style dla rozwiniętego menu na małych ekranach (poniżej 768px)
*/
@media (max-width: 767.98px) {
  .header .navbar-collapse.collapse.show,
  .header .navbar-collapse.collapsing {
    position: fixed;   
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0px 5px 15px rgba(1, 41, 112, 0.1);
    border-top: 1px solid #eee;
  }

  .header .navbar-collapse .navbar-nav {
    width: 100%;
  }
}




/* DataTables fix */
.dataTables_wrapper {
    width: 100%;
    box-sizing: border-box;
}

.dataTables_wrapper .dataTables_filter {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}




.option-box {
  cursor: pointer;
  transition: all 0.2s;
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}

.btn-check:checked + .option-box {
  background-color: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}

.option-box:hover {
  background-color: var(--bs-secondary-bg);
}
/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 10px;
}

.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 600;
  color: #012970;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #4154f1;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6776f4;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* Quill – auto height, normal flow */
#editor {
    position: relative;

}

#editor .ql-editor {
    min-height: 120px; 
    height: auto;
    overflow-y: visible; 
}

.ql-divider::before {
    content: "—";
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
}

/*  ART  */

.news-card-bg, .art-card-bg {
    position: relative;
    background-size: cover;      
    background-position: center; 
    background-repeat: no-repeat; 
    border-radius: .5rem;
    overflow: hidden;
}

.news-card-bg {
    aspect-ratio: 3 / 2;
}
.art-card-bg {
    aspect-ratio: 3 / 2;
}

@media (max-width: 768px) {
    .news-card-bg {
        aspect-ratio: 3 / 2;
    }
    .art-card-bg {
        aspect-ratio: 3 / 2;
    }
}


.news-card-overlay, .art-card-overlay {
    position: absolute;
    inset: 0;
    padding: 1.25rem;   
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.75) 0%,
        rgba(0,0,0,.35) 45%,
        rgba(0,0,0,0) 100%
    );
}

.news-content blockquote {
    margin: 1 rem 0;
    padding: 0.75rem 1.25rem;
    border-left: 4px solid #088d04;
    background-color: rgba(13, 253, 105, 0.05);
    font-style: italic;
    color: #495057;
}

.hero-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}