body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, sans-serif;
}

.notice {
    background-color: #364370;
    color: white;
    padding: 1em;
}

.bg {
    background: url("pics/pigeons2.jpg") -500px;
    padding: 6rem 1.5em !important;
}

.is-centered{
    margin-left:auto; 
    margin-right:auto;
}

.koniec {
    font-weight: 700;    
}

.notice-body {
    align-items: center;
    display: flex;
    justify-content: left;
}

.notice-body p {
    margin-right: 1em;
}

.notice-body p strong {
    color: white;    
}


.top-info {    
    font-size: 0.8em;
    font-family: Lato, sans-serif;
    font-weight: 400;
}

.top-banner {    
    border-radius: 20px;
    height: 300px;       
    
}

.loty-wyniki, .loty {
    margin-top: 2rem;
    border-radius: 5px;
    box-shadow: 1px 5px 18px 2px #eee;   
}

.control {
    float: right;
}

.tag a {
    color: white;
}

.loty-wyniki {
    background-color: rgb(132, 253, 217);    
}

.news_fullcontainer {      
    border-radius: 10px;
    margin: 15px 0;    
    box-shadow: 1px 5px 18px 2px #e2ecee;    
    background-color: white;
}

.card {
    margin-bottom: 20px;
}

.p-title {    
    font-size: 30px;    
    font-weight: 300;
}

.p-title strong {
    font-weight: 700;
}



.news_number {   
    font-weight: 700;
    font-size: 1.4rem;    
    text-align: right;
}

.news_title {    
    font-weight: 700;
    font-size: 1.4rem;    
}

.news_back {
    margin-top: 50px;
}

.news_title_full {    
    font-weight: 700;    
    padding: 20px 0 0 0;
}

.news_date {
    font-weight: 400;
    font-size: 0.9rem;    
}

.news_more {            
    text-decoration: none;    
    color: #363636;
}

.loty-wyniki:hover {
    background-color: #00b89c;
}

.loty-wyniki:focus {
    box-shadow: 0 0 0 0.125em rgba(0,209,178,.25)
}

.news_not_more {    
    border-radius: 10px;
    background-color: lightcoral;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news_more a {
    display: flex;
    text-decoration: none;
    color: white;
    background-color: lightgreen;
    justify-content: center;
    align-items: center;
    font-size: 2rem;        
    border-radius: 10px;
}


.news_shortcut a {
    text-decoration: none;    
    color: black;
}

.news_shortcut, .news_content {    
    font-weight: 400;
    font-size: 0.9rem;
    padding: 0 0 20px 0;
}

.news_content {
    padding: 20px 0;
    font-size: 1.2rem;
}

.news_date_full {
    padding: 0;
}

.div-komunikaty {
    margin-top: -6rem;

}

.read-more {
    margin-top: 10px;
    text-align: right;
}
/* .div-komunikaty .news_more {    
    background-color: white;
    border-radius: 10px;    
    display: flex;
    justify-content: center;
    align-items: center;
}

.div-komunikaty .news_fullcontainer {   
    border-radius: 10px;
    margin: 25px 0;    
    box-shadow: 1px 28px 55px -8px #bbb;    
    background-color: white;
} */

#topButton {
    display: inline-block;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 14px;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    transition: background-color .3s, 
    opacity .5s, visibility .5s;
    visibility: hidden;
    opacity: 0;
  }
  
  #topButton:hover {
    background-color: #555;
  }

  #topButton.show {
    opacity: 1;
    visibility: visible;
  }

/* Flight list pagination */
.flight-list-anchor { position: relative; top: -18px; }
.flight-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .45rem;
    margin: 1.5rem 0 .5rem;
}
.flight-pagination a {
    display: inline-grid;
    min-width: 2.45rem;
    min-height: 2.45rem;
    place-items: center;
    padding: .45rem .7rem;
    border: 1px solid #d9e0ea;
    border-radius: .7rem;
    background: #fff;
    color: #334155;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(15,23,42,.06);
    transition: border-color .15s ease, background-color .15s ease, color .15s ease, transform .15s ease;
}
.flight-pagination a:hover {
    border-color: #00a88d;
    background: #effcf8;
    color: #007b68;
    transform: translateY(-1px);
}
.flight-pagination a.is-current {
    border-color: #00b89c;
    background: #00b89c;
    color: #fff;
}
.flight-pagination a.is-disabled { opacity: .38; pointer-events: none; }
.flight-pagination__ellipsis { color: #94a3b8; }
.flight-pagination__status {
    flex-basis: 100%;
    color: #64748b;
    font-size: .75rem;
    text-align: center;
}

/* Modern flight result tables */
.flight-results-page { background: #f4f7fb; }
.flight-results-page > .section:not(.bg) > .container { max-width: 1480px; }
.flight-results-page .results-table-wrap {
    width: 100%;
    margin: 1rem 0 2.2rem;
    overflow-x: auto;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15,23,42,.08);
    scrollbar-color: #94a3b8 #edf2f7;
    scrollbar-width: thin;
}
.flight-results-page .results-table-wrap:focus {
    outline: 3px solid rgba(0,184,156,.28);
    outline-offset: 2px;
}
.flight-results-page .results-table {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    font-size: .88rem;
}
.flight-results-page .results-table.is-wide { min-width: 820px; }
.flight-results-page .results-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: .85rem .75rem;
    border-color: #31415f;
    background: #18243d;
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .02em;
    vertical-align: middle;
}
.flight-results-page .results-table thead th abbr { color: inherit; text-decoration: none; }
.flight-results-page .results-table tbody td,
.flight-results-page .results-table tfoot th {
    padding: .68rem .75rem;
    border-color: #e5eaf1;
    color: #26344d;
    vertical-align: middle;
}
.flight-results-page .results-table tbody tr:nth-child(even) td { background: #f7f9fc; }
.flight-results-page .results-table tbody tr:hover td { background: #eafbf7; }
.flight-results-page .results-table tbody tr { transition: background-color .14s ease; }
.flight-results-page .results-table td a {
    color: #007f6d;
    font-weight: 750;
    text-decoration: none;
}
.flight-results-page .results-table td a:hover { color: #005f52; text-decoration: underline; }
.flight-results-page .results-table tfoot th {
    background: #eef3f8;
    color: #18243d;
    font-weight: 800;
}
.flight-results-page .results-table .koniec {
    background: #fff7df !important;
    color: #7a4d00;
}
.flight-results-page .results-table .koniec .title { margin: 0; color: inherit; }
.flight-results-page .title:not(.is-size-2) { color: #18243d; }
.flight-results-page #myInput {
    min-width: min(100%, 320px);
    border-color: #cbd5e1;
    border-radius: 11px;
    box-shadow: 0 3px 12px rgba(15,23,42,.05);
}
.flight-results-page .control { float: none; }

@media (max-width: 768px) {
    .flight-results-page .section { padding: 1.5rem .75rem; }
    .flight-results-page .results-table.is-wide { min-width: 720px; }
    .flight-results-page .results-table { font-size: .79rem; }
    .flight-results-page .results-table thead th,
    .flight-results-page .results-table tbody td,
    .flight-results-page .results-table tfoot th { padding: .58rem .55rem; }
    .flight-pagination { gap: .35rem; }
    .flight-pagination a { min-width: 2.25rem; min-height: 2.25rem; padding: .35rem .55rem; }
}

/* Consistent results view. */
.flight-results-page > .section:not(.bg) { padding-top: 1.75rem; padding-bottom: 1rem; }
.flight-results-page .buttons { gap: .6rem; }
.flight-results-page .buttons .button { border-radius: 9px; font-size: .85rem; font-weight: 600; }
.flight-results-page .results-table-wrap { margin: .8rem 0 2rem; border-radius: 11px; box-shadow: 0 4px 18px rgba(15,23,42,.04); }
.flight-results-page .results-table-wrap.is-compact { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
.flight-results-page .results-table-wrap.is-compact:not(.is-sections) { width: min(100%, 680px); }
.flight-results-page .results-table-wrap.is-sections { max-width: min(100%, 920px); }
.flight-results-page .results-table { font-size: .82rem; font-variant-numeric: tabular-nums; }
.flight-results-page .results-table thead th { padding: .85rem; font-size: .69rem; line-height: 1.6; border-width: 0 0 1px; }
.flight-results-page .results-table tbody td,
.flight-results-page .results-table tfoot th { padding: .85rem; border-width: 0 0 1px; line-height: 1.65; }
.flight-results-page .results-table .results-name { min-width: 11rem; text-align: left !important; }
.flight-results-page .results-table td.has-text-right { white-space: nowrap; }
.flight-results-page .results-table tr[hidden] { display: none !important; }
.flight-results-page .flight-details td:first-child { color: #64748b; }
.flight-results-page .flight-details td:last-child { font-weight: 600; }
.flight-results-page .flight-details td.has-text-right { white-space: normal; }
.flight-results-page .flight-sections { width: auto; }
.flight-results-page .results-table .koniec .title { font-size: .95rem; }
.flight-results-page .results-filter-status { color: #64748b; font-size: .8rem; margin-bottom: .4rem; }
.flight-results-page .breeder-flight { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #dbe3ee; }
.flight-results-page .breeder-flight > h2 { font-size: 1.5rem; }
.flight-results-page .breeder-flight > h3 { font-size: .95rem; margin-bottom: .75rem; color: #64748b; }
.flight-results-page #hodowcy, .flight-results-page #lotniki { scroll-margin-top: 1.5rem; font-size: 1.5rem; }
@media (max-width: 768px) {
    .flight-results-page .buttons .button { white-space: normal; height: auto; min-height: 2.6rem; }
    .flight-results-page .results-table thead th,
    .flight-results-page .results-table tbody td,
    .flight-results-page .results-table tfoot th { padding: .75rem .65rem; }
    .flight-results-page .results-table .results-name { min-width: 9rem; }
    .flight-results-page .flight-details { table-layout: fixed; }
    .flight-results-page .flight-details td { overflow-wrap: anywhere; }
}

/* Keep summary widths independent of JavaScript wrapper classes. */
.flight-results-page table.flight-details {
    width: min(100%, 680px);
    min-width: 0;
    max-width: 680px;
    margin-inline: auto;
}
.flight-results-page table.flight-sections {
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin-inline: auto;
}
.flight-results-page .results-table-wrap:has(> .flight-details) {
    width: min(100%, 680px);
    max-width: 100%;
    margin-inline: auto;
}
.flight-results-page .results-table-wrap:has(> .flight-sections) {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}
.flight-results-page table.flight-sections th,
.flight-results-page table.flight-sections td {
    text-align: right;
}
.flight-results-page table.flight-sections th:first-child,
.flight-results-page table.flight-sections td:first-child {
    text-align: left;
}
.flight-results-page table.flight-details.is-wide,
.flight-results-page table.flight-sections.is-wide { min-width: 0; }

/* Clearer letterforms and stronger season totals. */
body.flight-results-page,
.flight-results-page .input,
.flight-results-page .button {
    font-family: "Trebuchet MS", Arial, sans-serif;
}
.flight-results-page .results-table {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: .875rem;
    font-variant-numeric: tabular-nums;
}
.flight-results-page .results-table thead th {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 0;
}
.flight-results-page .results-table tbody .results-total,
.flight-results-page .results-table tfoot .results-total {
    font-weight: 700;
    color: #18243d;
}
.flight-results-page .results-table thead .results-total {
    color: #fff;
    font-weight: 800;
}
@media (max-width: 768px) {
    .flight-results-page .results-table { font-size: .8125rem; }
    .flight-results-page .results-table thead th { font-size: .72rem; }
}

/* Column headings follow the page, with horizontal alignment on mobile. */
.flight-results-page .results-table-wrap { max-height: none; }
.flight-results-page .results-table thead,
.flight-results-page .results-table thead th { position: static; }
.flight-results-page .results-floating-header {
    position: fixed;
    z-index: 20;
    overflow: hidden;
    pointer-events: none;
    box-shadow: 0 3px 8px rgba(15,23,42,.12);
}
.flight-results-page .results-floating-header[hidden] { display: none; }
.flight-results-page .results-floating-header .results-table { min-width: 0; margin: 0; }
.flight-results-page .results-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
    margin: 1.5rem 0 .85rem;
}
.flight-results-page .results-control {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    font-size: .85rem;
    font-weight: 700;
    color: #26344d;
}
.flight-results-page .results-section-select {
    min-height: 2.5rem;
    padding: .5rem 2rem .5rem .75rem;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #fff;
    color: #26344d;
    font: inherit;
}
.flight-results-page .results-selection {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem;
    margin: .5rem 0 .85rem;
    color: #52627a;
    font-size: .85rem;
}
.flight-results-page .results-highlight {
    display: inline-grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    margin: -.3rem .4rem -.3rem 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #7a899d;
    font-size: 1.2rem;
    vertical-align: middle;
    cursor: pointer;
}
.flight-results-page .results-table tbody tr.is-highlighted td { background: #fff8e5; }
.flight-results-page .results-table tbody tr.is-highlighted td:first-child { box-shadow: inset 2px 0 #d5a542; }
.flight-results-page .results-highlight[aria-pressed="true"] { background: transparent; color: #ad7618; }
.flight-results-page .results-highlight:focus-visible,
.flight-results-page .results-section-select:focus-visible { outline: 3px solid #009982; outline-offset: 2px; }
.flight-results-page .results-selection [hidden] { display: none; }
@media (max-width: 768px) {
    .flight-results-page .results-controls { gap: .75rem; }
    .flight-results-page .results-control { flex: 1 1 100%; min-width: 0; }
    .flight-results-page .results-control #myInput { width: 100%; min-width: 0; }
    .flight-results-page .results-highlight { width: 2.25rem; height: 2.25rem; }
}

.flight-results-page .results-highlight svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.flight-results-page .results-highlight[aria-pressed="true"] svg { fill: currentColor; }
.flight-results-page .results-highlight:hover { background: rgba(173,118,24,.1); color: #ad7618; }

/* A compact, readable introduction to each flight. */
.flight-results-page .flight-intro {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    width: min(100%, 680px);
    margin: .25rem auto 1.5rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid #dbe3ee;
    border-top: 3px solid #008b78;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}
.flight-results-page .flight-intro p,
.flight-results-page .flight-intro h1 { margin: 0; }
.flight-results-page .flight-intro__label {
    order: 0;
    color: #087967;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.5;
}
.flight-results-page .flight-intro__place {
    order: 2;
    padding-bottom: .65rem;
    color: #18243d;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.flight-results-page .flight-intro__description {
    order: 1;
    padding-top: .3rem;
    color: #52627a;
    font-size: .85rem;
    line-height: 1.5;
}
.flight-results-page .flight-intro__meta {
    order: 3;
    color: #64748b;
    font-size: .75rem;
    line-height: 1.5;
}
.flight-results-page .flight-intro__note {
    order: 4;
    padding-top: .5rem;
    color: #52627a;
    font-size: .8rem;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .flight-results-page .flight-intro { padding: 1.2rem 1rem; }
}
