html {
  position: relative;
  min-height: 100%;
}

body {
   margin: 0 0 0px;
}

footer {
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 0;
  overflow: hidden;
  height: 60px;
  z-index: 100;
}

/* footer */
.footer-margin {
  min-height: 60px;
}


.btn-back {
  position: relative;
  border: 0;
  font-size: 1.1rem;
  transform: translateX(-7px);
}
/* Page header ({% page_header %}, core/layouts/page_header.html): the same title row on every page. */
.page-header-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.page-header-row > .btn-back {
  /* centred on the first line of the title (font-size 2rem, line-height 1.2) */
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  margin-right: -0.25rem;
}
.page-header-titles {
  flex: 1 1 auto;
  min-width: 0;
}
.page-header .page-title {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}
.page-header .page-subtitle {
  font-size: 1.25rem;
  margin-top: 0.25rem;
}
.page-header-actions {
  margin-left: auto;
  min-height: 2.4rem; /* the first line of the title: buttons centred on it */
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.25rem;
}
/* One size for header buttons, whatever the template wrote (btn-sm or not). */
.page-header-actions .btn {
  margin: 0;
  --bs-btn-padding-y: 0.25rem;
  --bs-btn-padding-x: 0.5rem;
  --bs-btn-font-size: 0.875rem;
  --bs-btn-border-radius: var(--bs-border-radius-sm);
}
.page-header-rule {
  margin: 1rem 0;
}

/* page styling */
.message-border {
  border: 1px solid #dddddd;
  border-radius: 20px;
}

.detail-label {
  font-weight: 600;
  color: #444444;
}



/* other - unsorted */

.bold {
  font-weight: 700;
}

.medium-bold {
  font-weight: 500;
}

.min-100vh {
  min-height: 100vh;
}

.plain-link:link, .plain-link:visited {
  text-decoration: none;
  color: black;
}
.plain-link:hover, .plain-link:active {
  text-decoration: none;
  color: gray;
}
.img-50per {
  max-width: 50%;
  height: auto;
}
.img-20per {
  max-width: 20%;
  height: auto;
}
.h-15 {
  min-height: 15px;
}
.h-10 {
  min-height: 10px;
}
.w-10 {
  min-width: 10px;
}
.w-15 {
  min-width: 15px;
}
.max-w-15 {
  max-width: 15px;
}
.display-block {
  display: block;
}
.display-inline-block {
  display: inline-block;
}
.space {
  height: 15px;
  display: block;
  width: 100%;
}
.color-gray {
  color: #999c9f;
}

/* Header colours come from the panel variables (.panel-* at the end of this file). */
.panel-nav {
  background-color: var(--panel-nav-bg);
}
.panel-nav .navbar-nav .nav-link {
  color: var(--panel-nav-link);
}
.panel-nav .navbar-nav .dropdown-menu .dropdown-item:hover {
  background-color: #424242;
  color: white;
}

.navbar-brand img {
  height: 50px;
}
/* Header (core/layouts/navbar.html): menu entries on one line next to the logo and "Drabina Jakubowa". */
#mainNav .nav-link {
  white-space: nowrap;
}
/* The menu collapses below 1200px (navbar-expand-xl): the longest menu (volunteer and coordinator) needs the width. */
@media (min-width: 1200px) {
  #mainNav .navbar-nav .nav-link {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    font-size: 0.95rem;
  }
}

.panel-nav .dropdown-menu {
  font-size: 1em;
}
.decoration-none {
  text-decoration: none;
}
.link-decoration-none, .link-decoration-none:link, .link-decoration-none:hover {
  text-decoration: none;
}
.dark-red {
  color: #dc2300;
}

.red {
  color: red;
}

.light-red {
  color: rgb(255, 68, 68);
}

.green {
  color: green;
}

.light-green {
  color: rgb(43, 250, 43);
}

.white-blue {
  color: rgb(131, 185, 255);
}

.blue {
  color: blue;
}
.dark-blue {
  color: #000080;
}
.gray {
  color: #666666;
}
.light-blue {
  background-color: #e6e6ff;
}
.pink-background {
  background-color: #ffcccc;
}
.blue-background {
  background-color: #cce6ff;
}
.gray-background {
  background-color: #b3b3b3;
}
.yellow-background {
  background-color: #ffffcc;
}
.green-background {
  background-color: #b3ffb3;
}
.content-center {
  text-align: center;
}
.hidden {
  display: none;
}
.small-nr-input {
  width: 65px;
  height: 35px;
}
.right {
  position: absolute;
  text-align: right;
}
.left {
  position: absolute;
  text-align: left;
}
.center {
  position: absolute;
  text-align: center;
}
.line-through {
  text-decoration: line-through;
}
.justify {
  text-align: justify;
}
.underline {
  text-decoration: underline;
}
.text-indent {
  text-indent: 30px;
}
.calendar {
  padding: 0;
}
.square {
  min-height: 80px;
  padding: 5px;
  font-size: 11px;
  border: 1px solid white;
}
.light-gray-background {
  background-color: #eeeeee;
}
.purple {
  color: purple;
}

.f-10 {
  font-size: 10px;
}
.f-12 {
  font-size: 12px;
}
.f-14 {
  font-size: 14px;
}
.f-16 {
  font-size: 16px;
}
.f-24{
  font-size: 24px;
}
.bg-container {
  background-color: #55c4c0 !important;
}
.flex {
  display: flex;
}
.white-container {
  background-color: #f7f7f7 !important;
  padding: 20px;
  padding-bottom: 30px;
  border-radius: 6px;
  border: 1px solid #aaaaaa;
}
@font-face {
  font-family: Cuprum;
  src: url("/static/fonts/Cuprum-Regular.cfdc821707fc.ttf");
}
@font-face {
  font-family: CuprumBold;
  src: url("/static/fonts/Cuprum-Bold.7d555ec46277.ttf");
}
.cuprum {
  font-family: Cuprum, sans-serif;
}
.cuprum-bold {
  font-family: CuprumBold, sans-serif;
}
.dark-gray {
  color: #212529;
}
.border-radius-3 {
  border-radius: 3px;
}
.max-height {
  height: 100vh;
}

.badge.larger-badge {
  font-size: 1.0em;
}


/* margins */
.m-0 {
  margin: 0;
}
.p-0 {
  padding: 0;
}
.p-b-0 {
  padding-bottom: 0;
}
.p-t-0 {
  padding-top: 0;
}
.p-r-0 {
  padding-right: 0;
}
.p-t-2 {
  padding-top: 2px;
}
.p-t-3 {
  padding-top: 3px;
}
.p-b-3 {
  padding-bottom: 3px;
}
.p-t-5 {
  padding-top: 5px;
}
.p-t-10 {
  padding-top: 10px;
}
.p-t-30 {
  padding-top: 30px;
}
.p-t-100 {
  padding-top: 100px;
}
.p-b-10 {
  padding-bottom: 10px;
}
.m-b-250- {
  margin-bottom: -250px;
}

.p-l-0 {
  padding-left: 0;
}
.p-l-5 {
  padding-left: 5px;
}
.p-l-10 {
  padding-left: 10px;
}
.p-l-15 {
  padding-left: 15px;
}
.p-l-20 {
  padding-left: 20px;
}
.p-l-30 {
  padding-left: 30px;
}
.m-l-25 {
  margin-left: 25px;
}
.m-l-15 {
  margin-left: 15px;
}
.m-l-0 {
  margin-left: 0;
}
.m-l-5 {
  margin-left: 5px;
}
.m-l-10 {
  margin-left: 10px;
}
.m-r-10 {
  margin-right: 10px;
}
.m-r-20 {
  margin-right: 20px;
}
.m-b-5 {
  margin-bottom: 5px;
}
.m-b-10 {
  margin-bottom: 10px;
}
.m-b-15 {
  margin-bottom: 15px;
}
.m-b-25 {
  margin-bottom: 25px;
}
.m-t-5 {
  margin-top: 5px;
}
.m-t-10 {
  margin-top: 10px;
}
.m-t-15 {
  margin-top: 15px;
}
.m-t-20 {
  margin-top: 20px;
}


/* Older forms render every field with .form-control (Bootstrap 5 has .form-check-input and .form-select for these). */
/* Checkboxes and radios keep their own size instead of a full-width text box. */
input[type="checkbox"].form-control,
input[type="radio"].form-control {
  display: inline-block;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  appearance: auto;
  -webkit-appearance: auto;
}
/* A select with .form-control gets the arrow of .form-select. */
select.form-control:not([multiple]):not([size]) {
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}
/* Search box (core/includes/search_input.html): wide enough for the hint text. */
.input-group > .search-input {
  min-width: 28rem;
}
/* Filter selects next to the search box: room for a long name (e.g. project), longer ones are cut. */
.filter-select {
  max-width: 22rem;
}
@media (max-width: 575.98px) {
  .input-group > .search-input {
    min-width: 0;
  }
  .filter-select {
    max-width: calc(100vw - 3rem); /* page gutters and the gap next to the select */
  }
}

/* Panels: core components use these variables; each panel base sets body.panel-<name> (core/layouts/base.html).
   A panel looks different only through this block. */
.panel-default,
.panel-public {
  --panel-nav-bg: #212529;
  --panel-nav-link: rgba(255, 255, 255, 0.55);
}
.panel-coordinator {
  --panel-nav-bg: #ffdf2f;
  --panel-nav-link: rgba(0, 0, 0, 0.65);
}
.panel-home {
  --panel-nav-bg: midnightblue;
  --panel-nav-link: rgba(255, 255, 255, 0.877);
}

/* Page frame (core/layouts/base.html): header, main column, optional side column. */
.page {
  padding: 10px 0 20px;
}
.page-narrow > .container {
  max-width: 760px;
}
.page-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
.page-aside:empty {
  display: none;
}
@media (min-width: 992px) {
  .page-body:has(> .page-aside:not(:empty)) {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}
/* Details page (docs/ui.md "Szczegóły obiektu"): photo in the side column, buttons to related lists under the rows. */
.detail-photo-box {
  margin: 0;
}
.detail-photo {
  max-width: 100%;
  max-height: 40vh;
  border-radius: 10px;
}
.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
/* Part of a page under the page header (core/layouts/section_header.html). */
.section-header {
  margin-top: 2rem;
}
.section-header .section-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
}
.section-header .section-rule {
  margin: 0.75rem 0 1rem;
}
