
/* ============================================================================================================ */
/* KMS - UKLAD STRONY                                                                                           */
/* Systemowy assets/css/main.css ustawia #wrapper jako flex. W naszym ukladzie header/main/footer sa             */
/* jeden pod drugim, wiec nadpisujemy to tylko w kms.css.                                                        */
/* ============================================================================================================ */
#wrapper {
    display: block;
    width: 100%;
}

/* KMS - korekty dla layoutu HTML5 UP Editorial */

#header .kms-icons {
    display: flex;
    align-items: center;
    gap: 0.75em;
    margin: 0;
}

#header .kms-icons a {
    border-bottom: 0;
    color: #7f888f;
    font-size: 1.15em;
}

#header .kms-icons a:hover {
    color: #f56a6a;
}

#header .kms-user {
    color: #7f888f;
    font-size: 0.9em;
    margin-right: 0.75em;
}

.kms-mainmenu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5em;
}

.kms-mainmenu-card {
    display: block;
    border: solid 1px rgba(160, 190, 220, 0.95);
    background: #DDEEFF;
    padding: 1.5em;
    min-height: 10em;
    color: inherit;
    text-decoration: none;
    border-bottom-width: 1px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.kms-mainmenu-card:hover {
    background: #CFE4F8;
    border-color: rgba(120, 165, 205, 1);
}

.kms-mainmenu-card:focus {
    outline: 2px solid #5b9bd5;
    outline-offset: 2px;
}

.kms-mainmenu-card h3 {
    margin-bottom: 0.6em;
}

.kms-mainmenu-card h3,
.kms-mainmenu-card p {
    color: inherit;
}


.kms-access-denied {
    border: solid 1px #f56a6a;
    padding: 1em 1.25em;
    margin-bottom: 2em;
}

@media screen and (max-width: 980px) {
    .kms-mainmenu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 736px) {
    #header {
        align-items: flex-start;
    }

    #header .kms-icons {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    #header .kms-user {
        width: 100%;
        margin-right: 0;
        text-align: right;
    }

    .kms-mainmenu-grid {
        grid-template-columns: 1fr;
    }
}


/* KMS - kompaktowe skróty jak w v1.88 */
.skroty-section {
    margin: 0 0 0.75em 0;
}

.skroty-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.skroty-head h2 {
    margin: 0;
    font-size: 1.35em;
}

.skroty-szukaj {
    width: 180px;
    max-width: 42vw;
    height: 30px;
    padding: 3px 8px;
    box-sizing: border-box;
    font-size: 12px;
}

.skroty-grupa {
    display: block;
    width: 100%;
    margin: 12px 0 0;
    clear: both;
}

.skroty-grupa[hidden],
.skrot-kafelek[hidden] {
    display: none !important;
}

.skroty-grupa-tytul {
    margin: 0;
    text-align: center;
    padding: 6px 8px;
    color: #fff;
    font: bold 12px Verdana, Geneva, Arial, Helvetica, sans-serif;
    background: #4a4a4a;
    border: 1px solid #777;
    border-bottom: 0;
}

.skroty-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    border-top: 1px solid #777;
    border-left: 1px solid #999;
}

.skrot-kafelek {
    min-width: 0;
    background: #fff;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
}

.skrot-tytul {
    min-height: 33px;
    padding: 7px 6px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.25;
    font-weight: bold;
    background: #d9d9d9;
}

.skrot-logo {
    height: 98px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.skrot-logo a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 0;
}

.skrot-logo img {
    display: block;
    width: 68% !important;
    height: 68% !important;
    max-width: 68%;
    max-height: 68%;
    object-fit: contain;
}

@media screen and (max-width: 980px) {
    .skroty-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 736px) {
    .skroty-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .skroty-szukaj {
        width: 100%;
        max-width: none;
    }

    .skroty-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 480px) {
    .skroty-grid {
        grid-template-columns: 1fr;
    }

    .skrot-logo {
        height: 84px;
    }

}

/* ============================================================================================================ */
/* KMS - HEADER SOCHOCKI.EU                                                                                     */
/* Nadpisania tylko dla layoutu KMS. Systemowego assets/css/main.css nie zmieniamy.                             */
/* ============================================================================================================ */

#header.kms-header {
    display: block;
    width: 100%;
    margin: 6px 0 1.25em 0;
    padding: 0;
    border: 0;
}

#header.kms-header #logo_napis {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 10px;
    border: 1px solid #D87136;
    background: #FFFFFF;
    color: #004000;
    text-align: center;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: normal;
    letter-spacing: 1px;
    line-height: 22px;
}

#header.kms-header .kms-header-version {
    color: #5f8f73;
    white-space: nowrap;
}

#header.kms-header #logo_flash {
    box-sizing: border-box;
    width: 100%;
    height: 102px;
    margin-top: 2px;
    border: 1px solid #D87136;
    background: #D87136 url('/stale/glowa.jpg') repeat-x center center;
    text-align: center;
}

#header.kms-header #logo_menu {
    box-sizing: border-box;
    width: 100%;
    min-height: 52px;
    margin-top: 2px;
    padding: 0 16px;
    border-bottom: 1px solid #D87136;
    background: #3f3f3f;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#header.kms-header #logo_menu .kms-icons {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin: 0;
}

#header.kms-header #logo_menu .kms-icons a {
    border: 0;
    color: #FFFFFF;
    font-size: 19px;
    line-height: 1;
    text-decoration: none;
}

#header.kms-header #logo_menu .kms-icons a:hover {
    color: #D87136;
}

#header.kms-header #logo_menu .kms-user {
    margin-right: auto;
    color: #FFFFFF;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 11px;
}

@media screen and (max-width: 736px) {
    #header.kms-header #logo_flash {
        height: 80px;
    }

    #header.kms-header #logo_menu,
    #header.kms-header #logo_menu .kms-icons {
        min-height: 46px;
    }

    #header.kms-header #logo_menu {
        padding: 0 12px;
    }

    #header.kms-header #logo_menu .kms-user {
        display: none;
    }
}
\n\n/* ============================================================================================================ */\n/* KMS v3.15 - korekta ukladu glownego, bez zmian w systemowym main.css                                        */\n/* ============================================================================================================ */\n\n#header.kms-header {\n    margin-bottom: 0;\n}\n\n#main > .inner > .skroty-section {\n    padding-top: 2em !important;\n    padding-bottom: 1em !important;\n    border-top: 0 !important;\n}\n\n#footer {\n    width: 100%;\n    margin: 0;\n    padding: 0;\n    background: #FFFFFF;\n}\n\n#footer > .inner {\n    width: 100%;\n    max-width: 110em;\n    margin: 0 auto;\n    padding: 0 6em 1em 6em;\n    box-sizing: border-box;\n}\n\n#footer #stopka {\n    width: 100%;\n    box-sizing: border-box;\n    margin: 0;\n    padding: 10px 5px;\n    border-top: 1px solid #D87136;\n    color: #7f888f;\n    text-align: center;\n    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;\n    font-size: 11px;\n}\n\n#footer #stopka a {\n    color: #004000;\n    border-bottom: 0;\n    text-decoration: none;\n}\n\n@media screen and (max-width: 1680px) {\n    #footer > .inner {\n        padding-left: 5em;\n        padding-right: 5em;\n    }\n}\n\n@media screen and (max-width: 1280px) {\n    #footer > .inner {\n        padding-left: 4em;\n        padding-right: 4em;\n    }\n}\n\n@media screen and (max-width: 736px) {\n    #main > .inner > .skroty-section {\n        padding-top: 1.25em !important;\n    }\n\n    #footer > .inner {\n        padding-left: 2em;\n        padding-right: 2em;\n    }\n}\n

/* ============================================================================================================ */
/* KMS v3.17 - menu otwierane wylacznie z ikony w ciemnym pasku headera                                         */
/* ============================================================================================================ */
body > .kms-sidebar-toggle {
    display: none !important;
}

#header.kms-header #kms-menuopen {
    display: inline-block;
}

#sidebar {
    z-index: 10000;
}


/* ============================================================================================================ */
/* KMS v3.18 - naprawa headera i otwierania menu                                                               */
/* ============================================================================================================ */

#header.kms-header {
    margin: 6px 0 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

#header.kms-header > .inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#header.kms-header #logo_napis {
    height: 44px !important;
    padding: 10px !important;
    line-height: 22px !important;
}

#header.kms-header #logo_flash {
    margin-top: 2px !important;
    height: 80px !important;
    background: url('/stale/glowa.jpg') repeat-x !important;
    border: 1px solid #D87136 !important;
    text-align: center !important;
}

#header.kms-header #logo_menu,
#header.kms-header #logo_menu .kms-icons {
    height: 52px !important;
    min-height: 52px !important;
}

#header.kms-header #logo_menu {
    margin-top: 2px !important;
    padding: 0 16px !important;
}

#header.kms-header .kms-user {
    display: none !important;
}

body > .kms-sidebar-toggle {
    display: none !important;
}

#header.kms-header #kms-menuopen {
    display: inline-block !important;
    cursor: pointer;
}


/* ============================================================================================================ */
/* KMS v3.20 - przywrocenie duzego systemowego hamburgera menu                                                  */
/* Ten sam przycisk otwiera i zamyka #sidebar.                                                                  */
/* ============================================================================================================ */

#sidebar > .toggle {
    display: block !important;
    z-index: 20001 !important;
}



/* ============================================================================================================ */
/* KMS v3.21 - szerokosc headera taka sama jak body                                                             */
/* ============================================================================================================ */

#header.kms-header > .inner {
    width: 100% !important;
    max-width: 110em !important;
    margin: 0 auto !important;
    padding: 0 6em !important;
    box-sizing: border-box !important;
}

@media screen and (max-width: 1680px) {
    #header.kms-header > .inner {
        padding-left: 5em !important;
        padding-right: 5em !important;
    }
}

@media screen and (max-width: 1280px) {
    #header.kms-header > .inner {
        padding-left: 4em !important;
        padding-right: 4em !important;
    }
}

@media screen and (max-width: 736px) {
    #header.kms-header > .inner {
        padding-left: 2em !important;
        padding-right: 2em !important;
    }
}
\n\n/* ============================================================================================================ */
/* KMS v3.23 - wizytowka z seo_wizytowka.json w inc_header.php                                                */
/* ============================================================================================================ */

#header .seo-wizytowka {
    width: 100%;
    box-sizing: border-box;
    margin: 18px 0 0;
    padding: 26px 28px;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-top: 5px solid #ff6a61;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    color: #222;
}

#header .seo-wizytowka > .row {
    align-items: stretch;
}

#header .seo-main {
    padding-right: 24px;
}

#header .seo-kicker {
    margin: 0 0 7px;
    color: #666;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: .08em;
    text-transform: uppercase;
}

#header .seo-wizytowka h1 {
    margin: 0 0 12px;
    color: #252525;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.15;
}

#header .seo-lead {
    margin: 0;
    color: #4a4a4a;
    font-size: 16px;
    line-height: 1.65;
}

#header .seo-uslugi {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

#header .seo-uslugi span {
    display: inline-block;
    padding: 7px 10px;
    border: 1px solid #dedede;
    border-radius: 4px;
    background: #f6f6f6;
    color: #333;
    font-size: 12px;
    font-weight: bold;
}

#header .seo-kontakt {
    padding: 18px;
    background: #f6f6f6;
    border-left: 4px solid #555;
    line-height: 1.55;
}

#header .seo-kontakt h2 {
    margin: 0 0 10px;
    color: #222;
    font-size: 18px;
}

#header .seo-kontakt address {
    margin: 0;
    font-style: normal;
}

#header .seo-kontakt p {
    margin: 0;
}

#header .seo-kontakt a {
    color: #1b4f8a;
}

@media (max-width: 980px) {
    #header .seo-wizytowka {
        padding: 20px;
    }

    #header .seo-main {
        padding-right: 0;
        margin-bottom: 18px;
    }

    #header .seo-kontakt {
        border-left: 0;
        border-top: 4px solid #555;
    }
}


/* ============================================================================================================ */
/* KMS v3.29 - kompaktowy odstep nad sekcja skrotow                                                            */
/* main.css daje #main > .inner > section duzy padding-top; tutaj nadpisujemy tylko skroty.                    */
/* ============================================================================================================ */

#main > .inner > section.skroty-section {
    padding-top: 1.25em !important;
    padding-bottom: 1em !important;
    border-top: 0 !important;
}

@media screen and (max-width: 736px) {
    #main > .inner > section.skroty-section {
        padding-top: 0.75em !important;
    }
}

/* ============================================================================================================ */
/* KMS v3.30 - stopka: admin z diagnostyka, pozostali tylko pasek copyright                                   */
/* ============================================================================================================ */

#footer .kms-footer {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ef6b57;
    background: #fff;
    color: #111;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

#footer .kms-footer-copy {
    padding: 8px 10px 7px;
    line-height: 1.35;
}

#footer .kms-footer-copy a {
    color: #111;
    text-decoration: none;
}

#footer .kms-footer-adminbox {
    margin: 0 8px;
    padding: 9px 0 8px;
    border-top: 1px solid #777;
}

#footer .kms-footer-device {
    margin-bottom: 6px;
    line-height: 1.35;
}

#footer .kms-footer-tests {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.2;
}

#footer .kms-footer-tests button.kms-test-viewport {
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 3px 10px;
    border: 1px solid #999;
    border-radius: 2px;
    background: #f5f5f5;
    box-shadow: none;
    color: #111 !important;
    font: 13px/1.2 Arial, Helvetica, sans-serif;
    letter-spacing: normal;
    text-transform: none;
}

#footer .kms-footer-tests button.kms-test-viewport:hover {
    background: #e9e9e9;
}

/* ============================================================================================================ */
/* KMS v3.45 - zachowany ciemny styl przycisku                                                                 */
/* ============================================================================================================ */
.kms-button-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #333;
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.kms-button-dark:hover {
    background: #555;
    color: #fff !important;
}

/* ============================================================================================================ */
/* KMS v3.50 - footer: szerokosc zgodna z headerem i body                                                       */
/* ============================================================================================================ */
#footer {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
}

#footer > .inner {
    width: 100%;
    max-width: 110em;
    margin: 0 auto;
    padding: 0 6em 1em 6em;
    box-sizing: border-box;
}

@media screen and (max-width: 1680px) {
    #footer > .inner {
        padding-left: 5em;
        padding-right: 5em;
    }
}

@media screen and (max-width: 1280px) {
    #footer > .inner {
        padding-left: 4em;
        padding-right: 4em;
    }
}

@media screen and (max-width: 736px) {
    #footer > .inner {
        padding-left: 2em;
        padding-right: 2em;
    }
}

/* ============================================================================================================ */
/* KMS v3.51 - popup bieżącej sesji w panelu administratora                                                    */
/* ============================================================================================================ */
.kms-session-popup {
    display: none;
    position: fixed;
    z-index: 30000;
    inset: 0;
    padding: 4em 2em;
    background: rgba(0, 0, 0, 0.55);
    overflow: auto;
}

.kms-session-popup.active {
    display: block;
}

.kms-session-popup-box {
    width: min(1100px, 100%);
    max-height: calc(100vh - 8em);
    margin: 0 auto;
    background: #fff;
    border: 1px solid #cfcfcf;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.kms-session-popup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    padding: 0.9em 1em;
    border-bottom: 1px solid #ddd;
    background: #f7f7f7;
}

.kms-session-popup-body {
    max-height: calc(100vh - 14em);
    padding: 1em;
    overflow: auto;
}

.kms-session-popup-body pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font: 13px/1.5 Consolas, Monaco, monospace;
    color: #222;
}

@media screen and (max-width: 736px) {
    .kms-session-popup {
        padding: 1em;
    }

    .kms-session-popup-box {
        max-height: calc(100vh - 2em);
    }

    .kms-session-popup-body {
        max-height: calc(100vh - 8em);
    }
}



/* ============================================================================================================ */
/* KMS v3.78 - boczne menu: 25% przezroczystosci                                                               */
/* ============================================================================================================ */

#sidebar {
    background-color: rgba(245, 246, 247, 0.75) !important;
}


/* ============================================================================================================ */
/* KMS v3.79 - ciemniejsze napisy w bocznym menu                                                               */
/* ============================================================================================================ */

#sidebar,
#sidebar a,
#sidebar .opener,
#sidebar #menu ul a,
#sidebar #menu ul span {
    color: #2f3438 !important;
}

#sidebar #menu ul a:hover,
#sidebar #menu ul span.opener:hover {
    color: #111 !important;
}


/* ============================================================================================================ */
/* KMS v3.80 - boczne menu: 10% przezroczystosci, mocniejsze odciecie od tresci                                */
/* ============================================================================================================ */

#sidebar {
    background-color: rgba(245, 246, 247, 0.90) !important;
    z-index: 20000 !important;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.16);
}

#sidebar,
#sidebar a,
#sidebar .opener,
#sidebar #menu ul a,
#sidebar #menu ul span {
    color: #23272b !important;
}

#sidebar #menu ul a:hover,
#sidebar #menu ul span.opener:hover {
    color: #000 !important;
}


/* ============================================================================================================ */
/* KMS v3.94 - tekstowa nawigacja awaryjna, gdy Font Awesome 5 nie jest zainstalowany                           */
/* ============================================================================================================ */

.kms-icons.kms-icons-no-fa .icon:before {
    display: none !important;
}

.kms-icons.kms-icons-no-fa .icon > .label {
    display: inline-block !important;
}

.kms-icons.kms-icons-no-fa .icon {
    width: auto !important;
    min-width: 0 !important;
    padding: 0 0.55em !important;
    font-family: inherit !important;
    font-size: 0.82em !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    white-space: nowrap;
}




/* ============================================================================================================ */
/* KMS v4.04 - wygląd ikony wynika wyłącznie z CSS aktywnego zestawu                                          */
/* ============================================================================================================ */

.kms-icons .kms-icon-link-text > .label {
    display: inline-block !important;
}

.kms-icons .kms-icon-link-text {
    width: auto !important;
    min-width: 0 !important;
    padding: 0 0.55em !important;
    font-family: inherit !important;
    font-size: 0.82em !important;
    font-weight: 600 !important;
    white-space: nowrap;
}


/* ============================================================================================================ */
/* KMS v4.21 - ikony systemowe renderowane przez <i>, bez pseudo-elementu .icon:before                         */
/* ============================================================================================================ */

#header.kms-header #logo_menu .kms-icons a.kms-link-ikona > i {
    display: inline-block;
    font-size: 1em;
    line-height: 1;
}

#header.kms-header #logo_menu .kms-icons a.kms-link-ikona > .label {
    display: none;
}

/* ============================================================================================================ */
/* KMS v4.30 - globalne wyrownanie standardowych malych przyciskow systemowych                                 */
/* ============================================================================================================ */

input[type="submit"].small,
input[type="reset"].small,
input[type="button"].small,
button.small,
.button.small {
    box-sizing: border-box;
    height: 40px;
    min-height: 40px;
    line-height: 40px;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    vertical-align: middle;
}

/* ============================================================================================================ */
/* KMS v4.38 - boczne menu: ciemne tlo i jasne napisy                                                         */
/* ============================================================================================================ */

#sidebar {
    background-color: rgba(31, 35, 39, 0.98) !important;
    color: #f1f3f5 !important;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.28);
}

#sidebar,
#sidebar a,
#sidebar .opener,
#sidebar #menu ul a,
#sidebar #menu ul span,
#sidebar #menu > ul > li > a,
#sidebar #menu > ul > li > span {
    color: #f1f3f5 !important;
}

#sidebar #menu ul a:hover,
#sidebar #menu ul span.opener:hover,
#sidebar #menu > ul > li > a:hover,
#sidebar #menu > ul > li > span:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

#sidebar #menu ul,
#sidebar #menu > ul > li {
    border-color: rgba(255, 255, 255, 0.14) !important;
}

#sidebar .opener:before,
#sidebar #menu .opener:before {
    color: #dfe3e6 !important;
}

/* ============================================================================================================ */
/* KMS v4.39 - hamburger: jasne tlo, ciemna ikona                                                             */
/* ============================================================================================================ */

#sidebar > .toggle {
    background-color: rgba(255, 255, 255, 0.90) !important;
    color: #202428 !important;
}

#sidebar > .toggle:before {
    color: #202428 !important;
}

#sidebar > .toggle:hover {
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: #111111 !important;
}

#sidebar > .toggle:hover:before {
    color: #111111 !important;
}


/* ============================================================================================================ */
/* KMS v4.57 - kompaktowy pasek ikon                                                                           */
/* ============================================================================================================ */

#header.kms-header #logo_menu,
#header.kms-header #logo_menu .kms-icons {
    height: 44px !important;
    min-height: 44px !important;
}

#header.kms-header #logo_menu {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

#header.kms-header #logo_menu .kms-icons {
    gap: 10px !important;
}

#header.kms-header #logo_menu .kms-icons a.kms-link-ikona {
    padding: 2px 3px !important;
}


/*============================================================================================================*/
/* v5.40 - Deszyfrator w Fancybox / iframe */
/*============================================================================================================*/
.kms-deszyfrator-popup{
    width:min(1200px,94vw);
    height:min(860px,92vh);
    padding:0;
    overflow:hidden;
}
.kms-deszyfrator-frame{
    display:block;
    width:100%;
    height:100%;
    min-height:70vh;
    border:0;
    background:#fff;
}
html.kms-in-iframe #logo_napis,
html.kms-in-iframe #logo_flash,
html.kms-in-iframe .seo-wizytowka,
html.kms-in-iframe #footer,
html.kms-in-iframe #sidebar,
html.kms-in-iframe body > .kms-sidebar-toggle{
    display:none !important;
}


/* ============================================================================================================ */
/* KMS v5.51 - kompatybilnosc layoutu legacy dla $menuObj->menu_print()                                        */
/* Stare moduly moga pozostawic samo <nav id="menu">. main.js opakowuje je w standardowy #sidebar.            */
/* ============================================================================================================ */
#sidebar.kms-legacy-sidebar > .inner {
    box-sizing: border-box;
}

#sidebar.kms-legacy-sidebar #menu {
    margin: 0;
    width: 100%;
}


/* ============================================================================================================ */
/* KMS v5.56l - Deszyfrator w iframe: pasek ikon na pelna szerokosc, bez szarego marginesu                     */
/* ============================================================================================================ */
html.kms-in-iframe body {
    background: #FFFFFF !important;
}

html.kms-in-iframe #header.kms-header {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #FFFFFF !important;
}

html.kms-in-iframe #header.kms-header > .inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html.kms-in-iframe #header.kms-header #logo_menu {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

html.kms-in-iframe #main > .inner {
    max-width: none !important;
}

/* ============================================================================================================ */
/* KMS v5.56m - Deszyfrator w iframe: pasek ikon 10px nizej                                                       */
/* ============================================================================================================ */
html.kms-in-iframe body.kms-deszyfrator-page #header.kms-header {
    margin-top: 10px !important;
}
