/* Compatibility for Talakan layout migrated from Bootstrap 3 to Bootstrap 5.3.6 */
#navigation-scroll .navbar-default { background-color:#016ba7; border:0; border-radius:0; }
#navigation-scroll .navbar { padding:5px; min-height:60px; }
#navigation-scroll .navbar .container { display:flex; flex-wrap:wrap; align-items:center; }
#navigation-scroll .navbar-brand { flex-shrink:0; }
#navigation-scroll .navbar-nav { list-style:none; margin:0; padding:0; }
#navigation-scroll .navbar-nav .nav-link { color:#e5e5e5; font-size:12px; font-weight:300; text-transform:uppercase; padding:10px; line-height:28px; }
#navigation-scroll .navbar-nav .nav-link:hover, #navigation-scroll .navbar-nav .nav-link:focus { color:#fff; }
#navigation-scroll .navbar-white .navbar-nav .nav-link { color:#39c; }
#navigation-scroll .navbar-white .navbar-nav .nav-link:hover { color:#016ba7; }
#navigation-scroll .navbar-toggler { color:white; border:0; box-shadow:none; margin-left:auto; }
#navigation-scroll .navbar-white .navbar-toggler { color:#39c; }
#navigation-scroll .navbar-toggler:focus-visible {outline:2px solid currentColor;outline-offset:2px;}
#navigation-scroll .navbar-link { text-decoration:none; flex-shrink:0; }
.text-justified { text-align:justify; }
#contacts .share-text { margin-left: auto; margin-right:auto; }
/* Bootstrap 5 normalizes heading margins and line-heights */
#navigation-scroll .navbar-brand {line-height:20px;}
@media (max-width:767.98px) { #navigation-scroll .navbar-collapse{ flex-basis:100%; width:100%; } #navigation-scroll .navbar-nav .nav-link{text-align:center;} }

/* Restore Bootstrap 3 text-left utility for the payment instructions. */
#poradok .about-us-text,
#poradok .about-us-text ul,
#poradok .about-us-text ul > li {
    text-align: left;
}


/* Compact intro section: Talakan Online description */
#news {
    min-height: 0 !important;
    height: auto !important;
    padding: 30px 0 26px !important;
}
#news > .container > .heading {
    margin-bottom: 0;
    text-align: left;
}
/* Empty legacy heading reserved unnecessary space */
#news > .container > .heading > .heading-text {
    display: none !important;
}
#news > .container > .heading > .row p {
    margin-top: 0;
    margin-bottom: 0;
    text-align: left;
}
#news > .container > .heading > .row p:empty {
    display: none;
}
@media (max-width: 767.98px) {
    #news { padding: 20px 0 !important; }
}

/* Compact footer: override legacy body > section {min-height:50vh} */
body > section#footer.main-footer {
    min-height: 0 !important;
    height: auto !important;
    padding: 20px 0 24px !important;
}
#footer p {
    margin: 0 0 14px;
}
#footer .up {
    vertical-align: middle;
}
@media (max-width: 767.98px) {
    body > section#footer.main-footer {
        padding: 16px 0 20px !important;
    }
}

/* Fix Bootstrap 5 sticky navbar: the legacy .navbar-header wrapper no longer exists.
   Keep the brand readable on the white scrolled header. */
#navigation-scroll .navbar.navbar-white .navbar-brand,
#navigation-scroll .navbar.navbar-white .navbar-brand:hover,
#navigation-scroll .navbar.navbar-white .navbar-brand:focus {
    color: #016ba7;
    background-image: url('../img/talakan-online-logo-2.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}
