

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}


/* General Blazor Layout adjustments (if not already present or conflicting) */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%; /* Ensure body takes full height for proper layout positioning */
    margin: 0;
    padding: 0;
    overflow: hidden; /* Hide scrollbars unless content forces them */
}



.pageNasz {
    background-color: #F8F9FA;
    display: flex; /* Use flexbox for the main layout */
    flex-direction: row ;
    height: 100vh; /* Make the page take full viewport height */
    min-height: 100vh;
    width: 100vw; /* Make the page take full viewport width */
}

/* Sidebar Styling */
.sidebarNasz {
    width: 60px; /* Set fixed width to 100px */
    background-color: #284978; /* Set background color to #0B5ED7 */
    color: white; /* Default text color in sidebar */
    padding: 0;
    display: flex;
    flex-direction: column;    /*justify-content: center;  Center horizontally */
    align-items: center; /* Center vertically */
    justify-content: flex-start;
    flex-shrink: 0; /* Prevent sidebar from shrinking */
    /*position: relative;  Needed for absolute positioning of text if using that method, or for flex centering */
    overflow: hidden; /* auto Hide overflowing content */
}
    /* Logo styling */
    .sidebarNasz .logo {
        /*margin-bottom: 0px;  Space below the logo */
        /*display: flex;  Use flex to center the image if needed */
        justify-content: center; /* Center the image horizontally */
        width: 100%; /* Ensure logo div takes full width of sidebarNasz */
    }

        .sidebarNasz .logo img {
            max-width: 100%; /* Adjust logo size if 100px is too wide for 100px sidebar */
            height: auto;
            display: block; /* Remove extra space below image */
        }

        /*backgroun menu*/
.bg-dark {
    background-color: #284978 !important;
}

/* Styling for the vertical "INNOWACJE" text */
.innovations-text {
    font-weight: bold; /* Make text bold */
    color: white; /* Set text color to white */
    font-size: 1.7rem; /* Adjust font size as needed for individual letters */
    margin: 0; /* Remove default paragraph margins to make letters closer */
    padding: 0; /* Remove default padding */
    line-height: 2; /* Adjust line height to control spacing between letters */
    text-align: center; /* Ensures text is centered if it were wider than its container */
    width: 100%; /* Ensure each letter takes full width of its parent for centering */
    display: block; /* Ensure i Ensure it behaves as a block element */
}

/* Container for the individual letters */
.sidebar-text {
    display: flex;
    flex-direction: column; /* Stack individual letters vertically */
    align-items: center; /* Center each letter horizontally within sidebar-text */
    /*justify-content: center;  Center the block of letters vertically within the remaining sidebar space */
    height: 100%; /* Make it take available height to help vertical centering */
    width: 100%; /* Ensure it takes full width to allow centering */
}

/* Main content area */
main {
    padding: 0;
    flex-grow: 1; /* Allow main content to take remaining space */
    display: flex;
    flex-direction: column; /* Stack top-row and article vertically */
    overflow-y: auto; /* Allow scrolling for main content if it overflows */
    height: 100%; /* Ensure main takes full height available within .pageNasz */
}


/* Top Container Styling */
.top-rowNasz {
    height: 60px;
    /*height: 97px;  h Set fixed height to 100px */
    background-color: #284978; /*#f8f9fa Example background color for the top bar */
    border-bottom: 1px solid black; /*#dee2e6 Optional border */
    display: flex;
    justify-content: space-between; /* Space out items (NavMenu and About link) */
    align-items: center; /* Vertically align items in the center */
    padding: 0.5rem 1.5rem; /* Add some horizontal padding */
    flex-shrink: 0; /* Prevent top-row from shrinking */
    box-sizing: border-box; /* Include padding in the element's total height and width */
    /*position: sticky;  Optional: Make it sticky if you want it fixed at the top of the *scrollable area* */
    /*top: 0;  Required for sticky positioning */
    z-index: 100;
}

    /* Ensure NavMenu within top-row adapts */
    .top-rowNasz .navbar { /* Target the navbar inside top-row */
        margin-left: auto; /* Push NavMenu to the right */
        padding-right: 15px; /* Adjust if needed */
    }

.top-baner-row {
    min-height: 300px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url('/images/katalog-grupa-baner-top.webp');
    /*background-size: cover;*/
    background-size: 100% 100%;
    background-position: right center;
    background-repeat: no-repeat;
    /*padding-top: 2vh;
    padding-left: 3vh;
    padding-bottom: 1vh;
    background-color: #efefef; #284978  #3e3e3e*/
    border-bottom: 1px solid #c6c6c6;
}

.top-baner-col {
   /* color: white;*/
    font-size: 2rem;
    font-weight: 700;
    font-variant: small-caps;
    
}

.text-outline-shadow {
    color: white; /* Kolor wypełnienia liter */
    /* Nakładamy czarny cień (0 0 0) o promieniu rozmycia 0 
       i przesunięciu 1px w czterech kierunkach (góra, dół, lewo, prawo) */
    text-shadow: -1px -1px 0 #000, /* Góra-Lewo */
    1px -1px 0 #000, /* Góra-Prawo */
    -1px 1px 0 #000, /* Dół-Lewo */
    1px 1px 0 #000; /* Dół-Prawo */
}

@media (max-width: 767.98px) {
    .top-baner-row {
        /* Wymuś, by obrazek był widoczny w całości, bez obcinania i nadmiernego rozciągania */
        background-size: cover;
        /* Zmień pozycję na lewą krawędź, aby tekst na środku był bardziej widoczny */
        background-position: right center;
        /* Opcjonalnie: Zwiększ minimalną wysokość, aby obrazek 'contain' miał więcej miejsca */
        /*min-height: 250px;*/
    }
}

.bg-body-tertiary {
    height: 60px;
    --bs-bg-opacity: 1;
    background-color: #284978 !important;
}

/* Content area for @Body */
.contentNasz {
    /*height: 100vh;*/
    padding-bottom: 5vh;
    flex-grow: 1; /* Allow content to take remaining vertical space */
    padding: 1rem; /* Add some padding at the top */
    /*overflow-y: auto;  Enable scrolling for the main content */
}

.stopka {
    display: flex;
    flex-direction: row;
    height: 60px;
    justify-content: center;
    align-items: center;
    color: #c6c6c6;
    font-size: 1.2rem;
    margin-left: 0px;
    padding: 0;
    background-color: #284978;
    border-top: 1px solid #686868;
    flex-shrink: 0;
    position: relative;
}
    .stopka p.mb-0 {
        margin-bottom: 0 !important;
    }

.text-subtitle {
    font-size: 0.9rem;
    font-style: italic;
}

.marker-label {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px;
    font-weight: bold;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.marker-link {
    color: #2c3e50 !important;
    text-decoration: none !important;
    font-size: 10px;
    /*font-weight: normal;*/
    line-height: 1.2;
}

    .marker-link:hover {
        color: #3498db !important;
        text-decoration: underline !important;
    }

.logo-firm-padding {
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 10px;
    padding-left: 10px;
}

a {
    text-decoration: none;
}

a:hover {
    color: #3498db;
}

.stopka-link {
    color: #c6c6c6;
    text-decoration:none;
} 
.stopka-link:hover {
    color: #fff;
}

.image-shadow {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3), 0 12px 40px 0 rgba(0, 0, 0, 0.25);
    /* Opcjonalnie: Zaokrąglenie rogów dla lepszego efektu */
    border-radius: 5px;
}

.regulamin-link {
    color: #fff;
    text-decoration: none;
}

.regulamin-link:hover {
    color: #c6c6c6;
}

/* cookies compnent */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 15px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .cookie-bar p {
        margin-bottom: 0;
        margin-right: 20px;
    }