body {
  font-family: "Bebas Neue";
  font-style: normal;
  background-image: url(/mpsis-bg.svg);
  background-color: #f4f1f1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-attachment: fixed;
}

#main {
  margin-bottom: 10px;
}

#footer {
  background-color: #000;
  color: #fff;
}

#footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

/* BOX o stałych wymiarach */
.footer-logo-box {
  width: 220px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Link obejmuje cały box (łatwiejsze klikanie) */
.footer-logo-link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

/* Obrazek dopasowany do boxa */
.footer-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain; /* całe logo widoczne w boxie */
}

/* (Opcjonalnie) ramka dla boxów, pomocna przy testach */
.footer-logo-box.debug {
  outline: 1px dashed #ddd;
}

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
}

a.asc:after {
  border-bottom: solid 7px #212529;
  border-top-width: 0;
}

a.desc:after {
  border-top: solid 7px #212529;
  border-bottom-width: 0;
}

.grid-view th {
  white-space: nowrap;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

.form-group {
  margin-bottom: 1rem;
}

.bg-dark {
  background-color: #000 !important;
}

.bg-white {
  background-color: #fff !important;
}

#header .nav > li.nav-item {
  padding: 7px;
}

#header .nav > li > a.nav-link {
  color: #fff;
  text-transform: uppercase;
  font-size: 1.3em;
  font-weight: 500;
}

#header .nav > li > a.nav-link:focus,
#header .nav > li > a.nav-link:hover,
#header .navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: #ed1c24;
}

.footer-nav .nav-item {
  display: inline-flex;
}

.footer-nav > li > a.nav-link {
  color: #fff;
}

.full-width {
  background: #ede6de;
  margin-top: 106px;
  height: 92px;
  padding: 3px 0px;
}

.full-width-submenu {
  background: #fff;
  padding: 0px 0px;
  position: sticky;
  top: 106px;
  z-index: 1020;
}

ul#team-submenu li a {
  color: #000;
}

ul#team-submenu li.active {
  background: #ede6de;
}

/* Usuń podświetlenie tła na hover/focus */
ul#team-submenu > .nav-item > .nav-link:hover,
ul#team-submenu > .nav-item > .nav-link:focus {
  border-color: #ede6de !important;
  background: #ede6de;
  border-radius: unset;
}

h4 {
  font-size: 0.8rem;
}

h5,
.h5 {
  font-size: 1rem;
}

h1.page-title,
h1.page-title {
  font-size: 1.5rem; /* domyślnie jak teraz */
  color: #1a1400;
  text-transform: uppercase;
  margin: 0;
  line-height: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 480px) {
  h1.page-title,
  h1.page-title {
    font-size: 1.6rem;
  }
  h5,
  .h5 {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  h1.page-title,
  h1.page-title {
    font-size: 1.75rem;
  }
  h5,
  .h5 {
    font-size: 1.2rem;
  }
}

@media (min-width: 1200px) {
  h1.page-title,
  h1.page-title {
    font-size: 1.9rem;
  }
  h5,
  .h5 {
    font-size: 1.45rem;
  }
}

h2.team-title,
h2.page-title {
  color: #1a1400;
  text-transform: uppercase;
  margin: 0;
}

h2.page-title {
  line-height: 92px;
}

@media (min-width: 992px) {
  h2.page-title {
    line-height: 92px;
  }
}

.sm-links {
  line-height: 92px;
}
a {
  text-decoration: none;
  color: #33312b;
}

.btn-plb {
  --bs-btn-color: #000;
  --bs-btn-bg: #ed1c24;
  --bs-btn-border-color: #000;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #ed1c24;
  --bs-btn-hover-border-color: #000;
  --bs-btn-focus-shadow-rgb: 60, 153, 110;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #146c43;
  --bs-btn-active-border-color: #13653f;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #198754;
  --bs-btn-disabled-border-color: #198754;
}

.broadcast-logo {
  width: 80px;
  padding: 2px;
}

.equal-flex .flex-fill {
  flex-basis: 0 !important;
}

.round-header {
  scroll-margin-top: 12rem;
}

.nav-text {
  display: block;
  padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
  font-size: var(--bs-nav-link-font-size);
  font-weight: var(--bs-nav-link-font-weight);
  text-decoration: none;
}

.page-link {
  color: #000;
  background-color: var(--bs-pagination-bg);
  border: var(--bs-pagination-border-width) solid
    var(--bs-pagination-border-color);
}

.page-link.active,
.active > .page-link,
.page-link:hover {
  z-index: 3;
  color: #000;
  background-color: #ed1c24;
  border-color: #ed1c24;
}

.page-link {
  color: #000;
  background-color: var(--bs-pagination-bg);
  border: var(--bs-pagination-border-width) solid
    var(--bs-pagination-border-color);
}

.team-logo-overlay {
  background: white;
  border-radius: 50%;
  padding: 9px;
}
