﻿:root {
    --ndk-shell-max-width: none;
    --ndk-banner-max-width: none;
    --ndk-content-max-width: 940px;
    --ndk-content-padding-x: 24px;
    --ndk-content-padding-y: 0;
    --ndk-content-bg: var(--background-white);
    --ndk-top-strip-bg: var(--background-neutral-subtle);
    --ndk-top-separator-bg: var(--background-primary);
    --ndk-footer-strip-bg: var(--background-neutral-subtle);
}

.ndk-page {
    color-scheme: only light;
    margin: 0;
    padding: 0;
    background-color: var(--background-page);
    color: var(--text-primary);
}

html,
body.ndk-page {
    color-scheme: only light !important;
    background-color: var(--background-page) !important;
    color: var(--text-primary) !important;
}

.ndk-shell {
    width: 100%;
}

.ndk-shell__page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    max-width: var(--ndk-shell-max-width);
    margin: 0;
    background-color: transparent !important;
    box-shadow: none;
}

.ndk-shell__header {
    width: 100%;
    background-color: var(--ndk-top-strip-bg);
    text-align: center;
    padding: 0;
}

.ndk-shell__header #MainBanner {
    display: flex;
    align-items: center;
    width: min(100%, var(--ndk-content-max-width));
    margin: 0 auto;
    height: 100px;
    background-color: var(--background-neutral-subtle);
    color: var(--text-primary-color);
    box-sizing: border-box;
    overflow: hidden;
}

.ndk-main-banner__logo {
    display: block;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    height: 170px;
    margin-left: -40px;
}

.ndk-shell__nav {
    width: 100%;
    margin-top: 0;
}

.ndk-page .ndk-shell__nav nav.primary-navigation {
    border: none !important;
    box-shadow: none !important;
}

.ndk-page .ndk-shell__nav nav.primary-navigation > ul > li > a:hover {
    box-shadow: none !important;
}

.ndk-shell__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 0 auto;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: var(--ndk-content-padding-y) 0;
    color: var(--text-primary);
    text-align: left;
    overflow: visible;
    z-index: 5;
}

.ndk-shell__content-inner {
    flex: 1 1 auto;
    box-sizing: border-box;
    width: min(100%, var(--ndk-content-max-width));
    margin: 0 auto;
    padding: 25px var(--ndk-content-padding-x) 25px var(--ndk-content-padding-x);
    background-color: var(--ndk-content-bg);
    color: var(--text-primary);
    text-align: left;
}

.ndk-shell__content-inner > :last-child {
    margin-bottom: 0;
}

.ndk-shell__content-inner > :first-child {
    margin-top: 0;
}

.ndk-page #copy.copy {
    flex: 0 0 auto;
    width: 100%;
    min-height: 32px;
    box-sizing: border-box;
    background-color: var(--ndk-footer-strip-bg);
    color: var(--text-secondary);
    border: none;
}

@media (max-width: 1024px) {
    :root {
        --ndk-content-padding-x: 18px;
        --ndk-content-padding-y: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --ndk-content-padding-x: 12px;
        --ndk-content-padding-y: 0;
    }

    .ndk-shell__header #MainBanner {
        height: 84px;
    }

    .ndk-main-banner__logo {
        height: 143px;
        margin-left: -34px;
    }
}

/* E-mailove odkazy skladane JavaScriptem (js/functions.js) */
.czepos-mail--strong {
    font-weight: 700;
}
