:root {
    --spedrapid-primary: #001e98;
    --spedrapid-primary-dark: #001d9a;
    --spedrapid-accent: #f4a900;
    --spedrapid-text: #333;
    --spedrapid-muted: #6d6d6d;
    --spedrapid-light: #e8eaf6;
    --spedrapid-border: #e8e8e8;
    --spedrapid-footer: #2b2e35;
    --spedrapid-footer-box: #47484d;
    --spedrapid-header-height: 100px;
    --spedrapid-header-affix-height: 70px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
    padding: 0;
    color: var(--spedrapid-text);
    font-family: "PT Sans", sans-serif;
    font-style: normal;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: var(--spedrapid-text);
    background-color: #fff;
    font-family: "PT Sans", sans-serif;
    font-style: italic;
}

main,
header,
footer,
nav,
section,
article,
aside {
    display: block;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
    border: 0;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: var(--spedrapid-primary);
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    -webkit-tap-highlight-color: rgba(0, 30, 152, 0.15);
}

a:hover {
    color: #000;
    text-decoration: none;
    background-color: var(--spedrapid-light);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--spedrapid-accent);
    outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 700;
}

b,
strong {
    font-weight: 600;
}

.content b,
.content strong,
.Content b,
.Content strong {
    color: #000;
}

.skip-link {
    position: fixed;
    top: 0;
    left: 1rem;
    z-index: 9999;
    display: block;
    padding: 0.75rem 1rem;
    color: #fff;
    background-color: var(--spedrapid-primary);
    transform: translateY(-120%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

/* =========================================================
   Logo i pasek nawigacji
   ========================================================= */

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    line-height: normal;
}

a.navbar-brand {
    transition: transform 0.5s ease;
}

a.navbar-brand:hover {
    background-color: transparent;
}

nav.navbar a.navbar-brand img {
    display: block;
    width: auto;
    height: auto;
    max-height: 100px;
    transition: transform 0.5s ease;
}

nav.navbar a.navbar-brand img:hover {
    transform: scale(1.01);
}

/* =========================================================
   Górny nagłówek
   ========================================================= */

#Naglowek {
    min-height: 36px;
    height: auto;
}

#Naglowek::after {
    display: table;
    clear: both;
    content: "";
}

#Naglowek .top-header-selects {
    display: block;
    float: none;
    width: 100%;
}

#Naglowek div.Telefon,
#Naglowek div.Mail {
    display: block;
    float: left;
    padding-top: 5px;
}

#Naglowek div.Telefon {
    max-width: 200px;
}

#Naglowek div.Mail {
    max-width: 220px;
    margin-left: 15px;
}

#Naglowek div.Telefon a,
#Naglowek div.Mail a {
    color: var(--spedrapid-primary);
    outline: 0;
    font-weight: 300;
    text-decoration: none;
}

#Naglowek div.Telefon a {
    font-size: 0.8em;
}

#Naglowek div.Mail a {
    font-size: 0.86em;
}

#Naglowek div.Telefon a:hover,
#Naglowek div.Mail a:hover {
    color: var(--spedrapid-muted);
    background-color: transparent;
}

#Naglowek .top-header-search {
    float: left;
}

#Naglowek .top-header-search input {
    float: left;
    height: 35px;
    padding: 0 15px;
    border: 0;
    color: #fff;
    background: #2c2c2c;
    font-family: "Martel Sans", sans-serif;
    font-size: 14px;
}

#Naglowek .top-header-search .btn-search {
    float: left;
    height: 35px;
    padding: 0 10px;
    border: 0;
    color: #000;
    background: #2c2c2c;
    transition: background-color 0.25s ease;
}

div#navbar-search-box {
    position: relative;
    display: block;
    float: right;
    margin-top: 4px;
    margin-bottom: 1px;
}

#Naglowek input#SearchForm_SearchForm_Search.text {
    font-size: 16px;
}

#Naglowek input.text {
    width: 100%;
    min-height: 30px;
    margin: 0;
    padding: 4px 42px 4px 12px;
    border: 1px solid #dadce8;
    border-radius: 2px;
    outline: none;
    line-height: 20px;
    transition: border-color 0.2s ease-in;
}

#SearchForm_SearchForm_action_results {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 32px;
    height: 28px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 2px;
    color: transparent;
    background-color: transparent;
    background-image: url("../img/Szukaj.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    cursor: pointer;
    text-indent: -9999px;
    transition:
        background-color 0.2s ease,
        background-size 0.2s ease;
}

#SearchForm_SearchForm_action_results:hover,
#SearchForm_SearchForm_action_results:focus {
    width: 32px;
    height: 28px;
    background-color: var(--spedrapid-light);
    background-size: 22px;
}

/* =========================================================
   Przyciski, języki i media społecznościowe
   ========================================================= */

#Naglowek div.poPrawej {
    position: relative;
    display: inline-block;
}

#Naglowek div.poPrawej ul#top-buttons {
    float: right;
}

#top-buttons {
    display: inline-flex;
    align-items: center;
    width: auto;
    height: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 30px;
}

#top-buttons li {
    display: inline-block;
    margin-left: 5px;
}

li.Language {
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: 0;
}

li.Language.lang-PL.Active,
li.Language.lang-EN.Active,
li.Language.lang-DE.Active,
li.Language.lang-CZ.Active,
li.Language.lang-PL a,
li.Language.lang-EN a,
li.Language.lang-DE a,
li.Language.lang-CZ a {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background-repeat: no-repeat;
    background-position: top center;
    text-indent: -9999px;
}

li.Language.lang-PL.Active,
li.Language.lang-PL a:hover {
    background-image: url("../img/ico_PL.png");
    background-position: bottom center;
}

li.Language.lang-EN.Active,
li.Language.lang-EN a:hover {
    background-image: url("../img/ico_EN.png");
    background-position: bottom center;
}

li.Language.lang-DE.Active,
li.Language.lang-DE a:hover {
    background-image: url("../img/ico_DE.png");
    background-position: bottom center;
}

li.Language.lang-CZ.Active,
li.Language.lang-CZ a:hover {
    background-image: url("../img/ico_CZ.png");
    background-position: bottom center;
}

li.Language.lang-PL a {
    background-image: url("../img/ico_PL.png");
}

li.Language.lang-EN a {
    background-image: url("../img/ico_EN.png");
}

li.Language.lang-DE a {
    background-image: url("../img/ico_DE.png");
}

li.Language.lang-CZ a {
    background-image: url("../img/ico_CZ.png");
}

li.Language a:hover {
    transition: none;
}

li.Language.lang-PL.Active span,
li.Language.lang-EN.Active span,
li.Language.lang-DE.Active span,
li.Language.lang-CZ.Active span,
li.Language.lang-PL a span,
li.Language.lang-EN a span,
li.Language.lang-DE a span,
li.Language.lang-CZ a span {
    display: none;
}

#Naglowek .poPrawej div.social-block {
    display: block;
    float: right;
    margin-top: 5px;
    margin-left: 20px;
    padding-right: 15px;
    border-right: 1px dotted #838d96;
}

#Naglowek .poPrawej div.social-block a {
    margin-left: 4px;
    color: var(--spedrapid-primary);
    background-color: transparent;
    font-size: 1.2em;
    text-decoration: none;
}

#Naglowek .poPrawej div.social-block a:hover {
    color: var(--spedrapid-muted);
}

/* =========================================================
   Sticky header
   ========================================================= */

.fixed-top {
    position: fixed;
    top: 35px;
    right: 0;
    left: 0;
    z-index: 2030;
    width: 100%;
    height: auto;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background-color: #fff;
    transition:
        top 0.3s ease,
        box-shadow 0.3s ease;
}

.fixed-top.affix {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: auto;
    min-height: var(--spedrapid-header-affix-height);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: normal;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 0 !important;
    transition:
        padding 0.3s ease,
        box-shadow 0.3s ease;
}

.affix {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar-expand-xl > .container,
.navbar-expand-xl > .container-fluid {
    padding-right: max(10px, env(safe-area-inset-right));
    padding-left: max(10px, env(safe-area-inset-left));
}

.affix div.container a.navbar-brand img {
    display: block;
    width: auto;
    height: auto;
    max-height: 70px;
}

/* =========================================================
   Menu główne
   ========================================================= */

div#navbarSpedrapid li.link a,
div#navbarSpedrapid li.active.current a,
div#navbarSpedrapid li.active.section a,
div#navbarSpedrapid li.navitem.dropdown.Pierwsze a.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--spedrapid-header-height);
    height: auto;
    padding: 0.75rem 1rem;
    border-right: 0;
    color: var(--spedrapid-primary);
    font-style: italic;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}

div#navbarSpedrapid.collapse.navbar-collapse ul.navbar-nav.mr-auto li.active.current a:hover,
div#navbarSpedrapid.collapse.navbar-collapse ul.navbar-nav.mr-auto li.active.current.navitem a:hover,
div#navbarSpedrapid ul.navbar-nav li.link a:hover,
div#navbarSpedrapid li.active.section.navitem.dropdown.Pierwsze a.nav-link.dropdown-toggle:hover,
div#navbarSpedrapid li.active.current.navitem.dropdown.Pierwsze a.nav-link.dropdown-toggle:hover {
    background-color: transparent;
}

div#navbarSpedrapid li.link::after,
div#navbarSpedrapid li.active.section::after,
div#navbarSpedrapid li.active.current::after {
    display: block;
    width: 0;
    height: 3px;
    background: var(--spedrapid-primary);
    content: "";
    transition: width 0.3s ease;
}

div#navbarSpedrapid li.link:hover::after,
div#navbarSpedrapid li.active.current::after,
div#navbarSpedrapid li.active.section::after {
    width: 100%;
}

div#navbarSpedrapid::after {
    display: block;
    width: 100%;
    height: 0;
    background: transparent;
    content: "";
}

div#navbarSpedrapid li.link.navitem.dropdown.Pierwsze a.nav-link.dropdown-toggle,
div#navbarSpedrapid li.active.section.navitem.dropdown.Pierwsze a.nav-link.dropdown-toggle,
div#navbarSpedrapid li.active.current.navitem.dropdown.Pierwsze a.nav-link.dropdown-toggle {
    min-height: var(--spedrapid-header-height);
    height: auto;
    margin-bottom: 0;
    line-height: 1.3;
}

.affix div#navbarSpedrapid li.link a,
.affix div#navbarSpedrapid li.active.current a,
.affix div#navbarSpedrapid li.active.section a,
.affix div#navbarSpedrapid li.navitem.dropdown.Pierwsze a.dropdown-toggle,
.affix div#navbarSpedrapid li.link.navitem.dropdown.Pierwsze a.nav-link.dropdown-toggle,
.affix div#navbarSpedrapid li.active.section.navitem.dropdown.Pierwsze a.nav-link.dropdown-toggle,
.affix div#navbarSpedrapid li.active.current.navitem.dropdown.Pierwsze a.nav-link.dropdown-toggle {
    min-height: 60px;
    height: auto;
    margin-bottom: 0;
    line-height: 1.3;
}

/* ==================================================== */

div#navbarSpedrapid li.link,
div#navbarSpedrapid li.active.section,
div#navbarSpedrapid li.active.current {
    position: relative;
}

div#navbarSpedrapid li.link::after,
div#navbarSpedrapid li.active.section::after,
div#navbarSpedrapid li.active.current::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    display: block;
    width: 0;
    height: 3px;

    background-color: var(--spedrapid-primary, #001e98);
    content: "";

    transition: width 0.3s ease;
}

div#navbarSpedrapid li.link:hover::after,
div#navbarSpedrapid li.active.current::after,
div#navbarSpedrapid li.active.section::after {
    width: 100%;
}

/* =========================================================
   Dropdown
   ========================================================= */

.dropdown-menu,
.affix .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    margin: 0;
    padding: 0.5rem 0;
    border: 0;
    border-radius: 0.15rem;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    font-size: 1rem;
    text-align: left;
    list-style: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.dropdown-menu.show {
    display: block;
}

div#navbarSpedrapid ul li div.dropdown-menu a.active.dropdown-item,
div#navbarSpedrapid ul li div.dropdown-menu.show a.active.dropdown-item {
    display: flex;
    align-items: center;
    min-height: 40px;
    height: auto;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    color: #fff;
    background-color: var(--spedrapid-primary-dark);
    font-size: 0.85em;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
    white-space: normal;
}

div#navbarSpedrapid ul li.dropdown.Pierwsze div.dropdown-menu a.dropdown-item {
    display: flex;
    align-items: center;
    min-height: 40px;
    height: auto;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    border-right: 0;
    color: var(--spedrapid-primary);
    font-size: 0.85em;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    white-space: normal;
}

div#navbarSpedrapid ul li.active.Pierwsze div.dropdown-menu a.active.dropdown-item {
    color: #dadce8;
}

div#navbarSpedrapid ul li.active.Pierwsze div.dropdown-menu a.active.dropdown-item:hover {
    color: var(--spedrapid-primary);
}

div#navbarSpedrapid .dropdown-item:focus,
div#navbarSpedrapid .Pierwsze div.dropdown-menu a.dropdown-item:hover {
    color: var(--spedrapid-primary-dark);
    text-decoration: none;
    background-color: var(--spedrapid-light);
}

/* =========================================================
   Karuzela
   ========================================================= */

.carousel {
    margin-top: 0;
    margin-bottom: 4rem;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-inner img,
.carousel-item > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
    object-position: center;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.6s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
    opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-prev {
    transform: translate3d(0, 0, 0);
}

.carousel-item {
    position: relative;
    height: clamp(280px, 42vw, 586px);
    overflow: hidden;
    background-color: #777;
}

.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

.carousel-indicators {
    bottom: 20px;
}

.Slogany {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 20;
    width: min(90%, 500px);
    max-width: 500px;
    height: auto;
    padding: 0 1rem;
    overflow: visible;
    text-align: center;
    transform: translate3d(-50%, -50%, 0);
}

.Slogany h1.Opcje.animated.slideInLeft {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: clamp(1.7rem, 5vw, 3.6rem);
    line-height: 1.05;
    text-shadow: -1px 0 2px rgba(0, 0, 0, 1);
}

.Slogany p.BoxP.animated.flipInX {
    margin: 0;
    color: #fff;
    font-size: clamp(1rem, 3vw, 2rem);
    line-height: 1.25;
    text-shadow: -1px 0 2px rgba(0, 0, 0, 0.6);
}

#Karuzela a img.d-block.w-100 {
    z-index: 1;
}

div.BanerNaStronie {
    position: relative;
    z-index: 33;
    width: 100%;
    margin-top: 110px;
    overflow: hidden;
}

div.Baner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

div#Breadcrumbs {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 30;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding: 0.55rem 0.8rem;
    border-radius: 0;
    color: #fff;
    background-color: rgba(0, 30, 154, 0.5);
    font-size: 0.8em;
    list-style: none;
}

.breadcrumb a {
    padding-right: 5px;
    padding-left: 5px;
    color: #fff;
}

.breadcrumb a:hover {
    color: var(--spedrapid-accent);
    background-color: transparent;
    text-decoration: none;
}

.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.marketing h2 {
    font-weight: 400;
}

.marketing .col-lg-4 p {
    margin-right: 0.75rem;
    margin-left: 0.75rem;
}

.featurette-divider {
    margin: 5rem 0;
}

.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.05rem;
}

/* =========================================================
   Strona startowa
   ========================================================= */

.BoxyStart .col-lg-4 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    text-align: center;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.StronaStartowa div#BoxyStartOut {
    margin-top: 50px;
    padding-top: 40px;
    padding-bottom: 40px;
    border-top: 1px solid var(--spedrapid-border);
    border-bottom: 1px solid var(--spedrapid-border);
    background-color: rgba(0, 30, 154, 0.05);
}

.StronaStartowa footer.page-footer.font-small.mt-4 {
    margin-top: 0 !important;
}

.BoxyStart div.row div.col-lg-4 a {
    display: block;
    height: 100%;
    color: #000;
    background-color: transparent;
}

.BoxyStart div.row div.col-lg-4 a:hover {
    color: var(--spedrapid-primary-dark);
}

.BoxyStart div.row div.col-lg-4:hover {
    background-color: #fff;
}

.BoxyStart img.rounded-circle {
    width: 128px;
    height: 128px;
    object-fit: cover;
}

.Dokumenty div.Tytuly.text-center h2.TytulPod {
    margin-bottom: 30px;
}

.container.BoxyStart ul {
    margin: 0;
    padding: 0 10px;
}

/* =========================================================
   Treść podstron
   ========================================================= */

.marketing {
    margin-top: 40px;
}

a.Powrot.btn,
a.Powrot button.btn.btn-default.navbar-btn.pull-left {
    display: inline-flex;
    float: right;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--spedrapid-light);
    border-radius: 0.25rem;
    color: var(--spedrapid-primary-dark);
    background-color: #e5e8f5;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    transition:
        color 0.15s ease,
        background-color 0.15s ease,
        border-color 0.15s ease;
}

a.Powrot.btn:hover,
a.Powrot button.btn.btn-default.navbar-btn.pull-left:hover {
    border-color: var(--spedrapid-light);
    color: #e5e8f5;
    background-color: var(--spedrapid-primary-dark);
}

/* =========================================================
   Potykacz
   ========================================================= */

#shaker {
    position: fixed;
    bottom: max(20px, env(safe-area-inset-bottom));
    left: max(20px, env(safe-area-inset-left));
    z-index: 250;
    width: 108px;
    height: 87px;
}

.shake {
    position: relative;
    display: block;
}

#shaker img {
    display: block;
    width: 108px;
    height: 87px;
    border: 0;
}

#shaker h2.shake,
#shaker .shake.inline {
    display: inline-block;
}

@keyframes ruch {
    0% {
        transform: translate(2px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0) rotate(1deg);
    }

    30% {
        transform: translate(0, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(2px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(2px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

.shake:hover,
.shake:focus {
    animation-name: ruch;
    animation-duration: 0.8s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    transform-origin: 50% 50%;
}

/* =========================================================
   Dokumenty
   ========================================================= */

.row.Dokumenty .card-title {
    margin-bottom: 5px;
    padding: 5px 70px 0 0;
}

.row.Dokumenty div.card a {
    position: relative;
    display: block;
    padding: 4px;
    border: 1px solid #ccc;
    border-bottom-width: 3px;
    border-radius: 0;
    color: inherit;
    background-color: transparent;
}

.row.Dokumenty div.card a:hover {
    color: #fff;
    background-color: #000;
}

.row.Dokumenty a[href$=".pdf" i]::before,
.row.Dokumenty a.pdf::before,
.row.Dokumenty a[href$=".docx" i]::before,
.row.Dokumenty a[href$=".doc" i]::before,
.row.Dokumenty a.doc::before,
.row.Dokumenty a[href$=".xlsx" i]::before,
.row.Dokumenty a[href$=".xls" i]::before,
.row.Dokumenty a.xls::before {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 0 2px 0 5px;
    font-family: "Font Awesome 5 Free";
    font-size: 3em;
    font-style: normal;
    font-weight: 400;
}

.row.Dokumenty a[href$=".pdf" i]::before,
.row.Dokumenty a.pdf::before {
    content: "\f1c1";
}

.row.Dokumenty a[href$=".docx" i]::before,
.row.Dokumenty a[href$=".doc" i]::before,
.row.Dokumenty a.doc::before {
    content: "\f1c2";
}

.row.Dokumenty a[href$=".xlsx" i]::before,
.row.Dokumenty a[href$=".xls" i]::before,
.row.Dokumenty a.xls::before {
    content: "\f1c3";
}

ul#SearchResults {
    margin-top: 30px;
    margin-left: 0;
    padding-left: 0;
}

ul#SearchResults li {
    margin-bottom: 30px;
    list-style: none;
}

/* =========================================================
   Kontakt i formularze
   ========================================================= */

div.Strona_UserDefinedForm,
.Strona_KontaktOpis {
    background-color: #fff;
}

.LewaStr {
    float: left;
    border-right: 1px solid var(--spedrapid-border);
}

.PrawaStr {
    float: left;
}

.LewaStrLewa {
    border-right: 1px solid var(--spedrapid-border);
}

.userform .left {
    margin-top: 20px;
    margin-bottom: 5px;
    font-weight: 700;
}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #bcc5dd;
    border-radius: 4px;
    color: #212529;
    background-color: #f4f6fb;
    font-size: 16px;
    line-height: 1.4;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

#UserForm_Form.userform nav.Actions {
    margin-top: 20px;
}

form#UserForm_Form.userform fieldset div.field.text {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    clear: both;
    color: #777;
    font-weight: 400;
    line-height: 1.4em;
    text-align: left;
}

form#UserForm_Form.userform fieldset div.field.text::after {
    display: table;
    clear: both;
    content: "";
}

form#UserForm_Form.userform fieldset div.field.text label {
    display: block;
    float: left;
    width: 30%;
    margin: 0;
    padding: 10px 15px 5px 0;
    color: #000;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
}

form#UserForm_Form.userform fieldset div.field.text label::after {
    color: #000;
    content: " *";
    font-size: 20px;
}

form#UserForm_Form.userform fieldset div#EditableTextField_fdd2e.field.text label.left::after {
    content: "";
}

form#UserForm_Form.userform fieldset div#EditableTextField_39984.field.text label.left,
form#UserForm_Form.userform fieldset div#EditableTextField_308c4.field.text label.left,
form#UserForm_Form.userform fieldset div#EditableTextField_5b709.field.text label.left,
form#UserForm_Form.userform fieldset div#EditableTextField_8f129.field.text label.left {
    width: 100%;
}

form#UserForm_Form.userform fieldset div#EditableTextField_2aebe.field.textarea.requiredField label.left {
    height: auto;
    margin-top: 0;
    padding-top: 0;
}

form#UserForm_Form div.field div.middleColumn {
    min-width: 0;
}

form#UserForm_Form div.field div.middleColumn input,
form#UserForm_Form div.middleColumn textarea.textarea {
    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0.75rem;
    border: 1px solid #bcc5dd;
    border-radius: 5px;
    color: #212529;
    background-color: #f4f6fb;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    outline: 0;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

form#UserForm_Form div.middleColumn textarea.textarea {
    min-height: 150px;
    resize: vertical;
}

form#UserForm_Form div.field div.middleColumn input:focus,
form#UserForm_Form div.middleColumn textarea.textarea:focus {
    border-color: var(--spedrapid-primary);
    color: #000;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 30, 154, 0.15);
}

form#UserForm_Form.userform .left {
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 400;
}

form#UserForm_Form.userform .textarea.requiredField label::after {
    color: #000;
    content: " *";
    font-size: 20px;
}

form#UserForm_Form #UserForm_Form_action_process.action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    color: #fff;
    background-color: var(--spedrapid-primary-dark);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    white-space: normal;
    vertical-align: middle;
    cursor: pointer;
    transition:
        color 0.15s ease,
        background-color 0.15s ease,
        border-color 0.15s ease;
}

form#UserForm_Form #UserForm_Form_action_process.action:hover,
form#UserForm_Form #UserForm_Form_action_process.action:focus,
form#UserForm_Form #UserForm_Form_action_process.action:active {
    border-color: #000;
    color: #fff;
    background-color: #000;
    text-decoration: none;
}

/* =========================================================
   Dane kontaktowe
   ========================================================= */

.Strona_UserDefinedForm div#Content section {
    padding: 0;
    background-color: #fff;
}

.Strona_UserDefinedForm div#Content section div.DaneKontakt {
    display: block;
    width: 100%;
    text-align: left;
}

div.Strona_UserDefinedForm div#Content section div.DaneKontakt ul.DKKontakt li {
    display: block;
    padding-left: 0;
    clear: both;
}

ul.DKKontakt {
    margin-left: 0;
    padding: 0;
}

.Strona_UserDefinedForm div#Content section div.DaneKontakt ul.DKKontakt li h2 {
    margin-bottom: 20px;
    margin-left: 40px;
    font-size: 1.125rem;
    font-weight: 500;
    text-transform: uppercase;
}

.Strona_UserDefinedForm div#Content section div.DaneKontakt ul.DKKontakt li ul {
    padding-left: 0;
}

.Strona_UserDefinedForm div#Content section div.DaneKontakt ul.DKKontakt li li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 30px;
    margin-bottom: 10px;
}

.Strona_UserDefinedForm div#Content section div.DaneKontakt ul.DKKontakt li li:last-child {
    margin-bottom: 0;
}

.Strona_UserDefinedForm div#Content section div.DaneKontakt ul.DKKontakt li a {
    text-decoration: none;
    overflow-wrap: anywhere;
}

.Strona_UserDefinedForm div#Content section div.DaneKontakt ul.DKKontakt li p {
    flex: 1 1 auto;
    float: none;
    width: auto;
    min-width: 0;
    margin-bottom: 8px;
    line-height: 1.4;
}

.Strona_UserDefinedForm div#Content section div.DaneKontakt ul.DKKontakt li .fa {
    flex: 0 0 30px;
    float: none;
    width: 30px;
    height: 30px;
    margin-right: 0;
    color: var(--spedrapid-primary-dark);
    font-size: 1.2em;
    line-height: 30px;
    text-align: center;
}

section div.DaneKontakt ul.DKKontakt li p.DKKUwaga {
    font-size: 0.8em;
}

section div.DaneKontakt.Orneta {
    border-right: 1px solid var(--spedrapid-border);
}

div.DaneKontakt h3,
div.DaneKontakt h4 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 30px;
    vertical-align: middle;
    line-height: 28px;
}

div.DaneKontakt h3 {
    margin-bottom: 0;
    font-size: 20px;
}

div.DaneKontakt h4 {
    margin-bottom: 10px;
    font-size: 22px;
}

div#Content div.DrugaLinia {
    margin-top: 20px;
    padding: 20px;
    border-top: 1px solid var(--spedrapid-border);
    background-color: rgba(0, 30, 154, 0.05);
}

.LewaStr div.DaneRej {
    margin-top: 50px;
    padding: 25px;
    background-color: rgba(0, 30, 154, 0.1);
    font-size: 0.9em;
    text-align: center;
}

.Strona_UserDefinedForm .Zawartosc {
    padding-bottom: 30px;
}

.UserDefinedForm a.LiniaLinkPonizej {
    display: block;
    width: 100%;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 20px;
    color: #0c2577;
    background: #fff;
    font-weight: 600;
    text-transform: uppercase;
}

.UserDefinedForm a.LiniaLinkPonizej:hover {
    color: #000;
}

.Przedstawiciele .PrzedstawBoxy {
    position: relative;
    z-index: 10;
    display: block;
    float: left;
    width: 100%;
    margin-bottom: 30px;
    padding-left: 0;
}

.bodyContent {
    margin: 0;
    padding: 5px 10px;
    color: var(--spedrapid-text);
    font-family: "PT Sans", sans-serif;
    font-size: 14px;
    font-style: italic;
}

.bodyContent h3.firstHeading {
    padding: 2px;
    border-bottom: 1px dotted var(--spedrapid-primary-dark);
    color: var(--spedrapid-primary-dark);
    font-size: 1.1em;
    font-weight: 700;
}

ul.DKKontakt li .fa,
ul.DKKontakt li .fab,
ul.DKKontakt li .fal,
ul.DKKontakt li .far,
ul.DKKontakt li .fas {
    flex: 0 0 30px;
    float: none;
    width: 30px;
    height: 28px;
    margin-right: 0;
    color: var(--spedrapid-primary-dark);
    font-size: 1em;
    line-height: 28px;
    text-align: center;
}

ul.DKKontakt li a {
    text-decoration: none;
    overflow-wrap: anywhere;
}

ul.DKKontakt li.Ul,
ul.DKKontakt li.Tel,
ul.DKKontakt li.Mobile,
ul.DKKontakt li.Mail {
    height: auto;
    min-height: 30px;
}

ul.DKKontakt li.Ul {
    min-height: 70px;
}

div.Strona_UserDefinedForm form#UserForm_Form.userform .literalFieldArea p {
    font-size: 0.7em;
    line-height: 16px;
}

div.Strona_UserDefinedForm input#UserForm_Form_EditableTextField_64319.checkbox.requiredField,
div.Strona_UserDefinedForm input#UserForm_Form_EditableTextField_890e5.checkbox.requiredField,
div.Strona_UserDefinedForm input#UserForm_Form_EditableTextField_8940d.checkbox.requiredField,
div.Strona_UserDefinedForm input#UserForm_Form_EditableTextField_8543f.checkbox.requiredField {
    float: left;
    width: 18px;
    min-height: 18px;
    height: 18px;
    margin-right: 7px;
    padding: 0;
    -webkit-appearance: checkbox;
    appearance: checkbox;
}

div.Strona_UserDefinedForm div#EditableTextField_64319.field.checkbox.requiredField div.middleColumn label.left,
div.Strona_UserDefinedForm div#EditableTextField_890e5.field.checkbox.requiredField div.middleColumn label.left,
div.Strona_UserDefinedForm div#EditableTextField_8940d.field.checkbox.requiredField div.middleColumn label.left,
div.Strona_UserDefinedForm div#EditableTextField_8543f.field.checkbox.requiredField div.middleColumn label.left {
    float: left;
    margin-top: -2px;
    font-size: 14px;
}

form .message {
    padding: 5px 10px;
    border: 1px solid #e8c805;
    border-radius: 3px;
    background-color: #fef4ba;
}

span.message {
    display: block;
    max-width: 360px;
    margin: 10px 0;
    clear: left;
}

div.Strona_UserDefinedForm .GwiazdkaOpis {
    display: block;
    float: left;
    width: 80%;
    margin: 0 auto;
    padding: 20px 15px 5px 0;
    color: #000;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
}

div.Strona_UserDefinedForm div.GwiazdkaOpis span::before {
    margin-right: 5px;
    color: #000;
    content: "* ";
    font-size: 20px;
}

/* =========================================================
   Przedstawiciele
   ========================================================= */

.Przedstawiciele {
    border-top: 1px solid var(--spedrapid-border);
    border-bottom: 1px solid var(--spedrapid-border);
    background-color: rgba(0, 30, 154, 0.05);
}

.Przedstawiciele div.row.PrzedstawTop {
    padding-top: 20px;
    padding-bottom: 30px;
}

section.PrzedstawicieleDol {
    padding-top: 30px;
    padding-bottom: 40px;
}

.PrzedstawTop h3.TytulDzialu,
.PrzedstawDown h3.TytulDzialu {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 60px;
    margin-bottom: 0;
    padding: 0 10px;
    border-radius: 4px;
    color: #000;
    background-color: var(--spedrapid-accent);
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    vertical-align: middle;
}

.PrzedstawTop .Czlowiek,
.PrzedstawDown .Czlowiek {
    margin-top: 0;
    padding-left: 10px;
    border-top: 1px solid var(--spedrapid-border);
    border-right: 1px solid var(--spedrapid-border);
    clear: both;
}

.PrzedstawTop div.col-sm.last .Czlowiek,
.PrzedstawDown div.col-sm.last .Czlowiek {
    border-right: 0;
}

.PrzedstawTop .Czlowiek ul.DKKontakt,
.PrzedstawDown .Czlowiek ul.DKKontakt {
    margin-bottom: 30px;
}

.PrzedstawTop .Czlowiek ul.DKKontakt li,
.PrzedstawDown .Czlowiek ul.DKKontakt li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-left: 0;
    list-style: none;
    clear: both;
}

.PrzedstawTop .Czlowiek ul.DKKontakt li p,
.PrzedstawDown .Czlowiek ul.DKKontakt li p {
    flex: 1 1 auto;
    float: none;
    width: auto;
    min-width: 0;
    margin-bottom: 8px;
    line-height: 1.4;
}

.PrzedstawTop .Czlowiek ul.DKKontakt li h2.ImieNazwisko,
.PrzedstawDown .Czlowiek ul.DKKontakt li h2.ImieNazwisko {
    margin-top: 20px;
    margin-bottom: 0;
    font-size: 1.4em;
}

.PrzedstawTop .Czlowiek ul.DKKontakt li h4.Funkcja,
.PrzedstawDown .Czlowiek ul.DKKontakt li h4.Funkcja {
    margin-top: 3px;
    margin-bottom: 10px;
    font-size: 0.8em;
}

.UserDefinedForm div.row.Zawartosc {
    margin-top: 30px;
}

.UserDefinedForm .Zawartosc form#UserForm_Form.userform {
    margin-top: 40px;
}

/* =========================================================
   Stopka
   ========================================================= */

.rgba-white-light,
.rgba-white-light::after {
    background-color: rgba(255, 255, 255, 0.3);
}

footer.page-footer {
    color: #999;
    background-color: var(--spedrapid-footer);
}

footer.page-footer a {
    color: #999;
}

footer.page-footer a:hover {
    color: var(--spedrapid-light);
    background-color: transparent;
}

footer .StopkaMenu div.row ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 174px;
    margin-bottom: 0;
    padding: 0;
    border: 0;
}

footer .StopkaMenu div.row ul li {
    display: flex;
    flex: 1 1 120px;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 174px;
    height: auto;
    background-color: transparent;
    line-height: 1.3;
    list-style: none;
    text-align: center;
}

footer .StopkaMenu div h4 {
    width: 100%;
    margin: 0;
}

footer .StopkaMenu div h4 a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 70px;
    padding: 0.5rem;
    border-right: 0;
    color: #999;
    font-size: 0.6em;
    font-style: italic;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}

footer .StopkaMenu div h4 a:hover {
    color: #f1f1f1;
    background-color: transparent;
}

footer .StopkaMenu ul li.active.current.StopkaOldStyle {
    background-color: var(--spedrapid-primary);
}

footer .StopkaMenu ul li.active.current.StopkaOldStyle h4.textStopkaMenu a {
    color: #f1f1f1;
}

footer .StopkaMenu ul li.active.current.StopkaOldStyle h4.textStopkaMenu a:hover {
    color: #fff;
}

footer .box {
    margin-left: 0;
    padding-top: 26px;
    padding-bottom: 5px;
    padding-left: 15px;
    border-left: 1px solid #666;
    color: #fff;
    background-color: var(--spedrapid-footer-box);
    font-style: italic;
}

.StopkaMenu div.row div.col-sm.box h4 {
    margin-bottom: 3px;
    font-size: 1em;
}

.StopkaMenu div.row div.col-sm.box h5 {
    font-size: 0.72em;
}

.StopkaMenu div.row div.col-sm.box p {
    margin-bottom: 5px;
    font-size: 0.8em;
}

footer .Divider p {
    margin-bottom: 5px;
}

footer div.description h4.title {
    margin-bottom: 1px;
    font-size: 1.4em;
}

footer div a.footer-social {
    margin-right: 5px;
    color: #999;
}

footer div a.footer-social:hover {
    color: #f1f1f1;
}

footer .footer-credits p.Powstanie {
    margin-bottom: 1px;
    color: var(--spedrapid-accent);
    font-size: 0.8em;
}

/* =========================================================
   Ikony typów plików
   ========================================================= */

.content a[href$=".pdf" i]::before,
.Content a[href$=".pdf" i]::before,
a.pdf::before,
.content a[href$=".docx" i]::before,
.content a[href$=".doc" i]::before,
.Content a[href$=".docx" i]::before,
.Content a[href$=".doc" i]::before,
a.doc::before,
.content a[href$=".xlsx" i]::before,
.content a[href$=".xls" i]::before,
.Content a[href$=".xlsx" i]::before,
.Content a[href$=".xls" i]::before,
a.xls::before,
.content a[href$=".rar" i]::before,
.content a[href$=".arj" i]::before,
.content a[href$=".gz" i]::before,
.content a[href$=".gzip" i]::before,
.content a[href$=".zip" i]::before,
.Content a[href$=".rar" i]::before,
.Content a[href$=".arj" i]::before,
.Content a[href$=".gz" i]::before,
.Content a[href$=".gzip" i]::before,
.Content a[href$=".zip" i]::before,
a.archive::before,
.content a[href$=".exe" i]::before,
.Content a[href$=".exe" i]::before,
a.application::before {
    display: inline-block;
    padding: 0 5px 0 2px;
    font-family: "Font Awesome 5 Free";
    font-size: 1.4em;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    vertical-align: -0.1em;
}

.content a[href$=".pdf" i]::before,
.Content a[href$=".pdf" i]::before,
a.pdf::before {
    content: "\f1c1";
}

.content a[href$=".docx" i]::before,
.content a[href$=".doc" i]::before,
.Content a[href$=".docx" i]::before,
.Content a[href$=".doc" i]::before,
a.doc::before {
    content: "\f1c2";
}

.content a[href$=".xlsx" i]::before,
.content a[href$=".xls" i]::before,
.Content a[href$=".xlsx" i]::before,
.Content a[href$=".xls" i]::before,
a.xls::before {
    content: "\f1c3";
}

.content a[href$=".rar" i]::before,
.content a[href$=".arj" i]::before,
.content a[href$=".gz" i]::before,
.content a[href$=".gzip" i]::before,
.content a[href$=".zip" i]::before,
.Content a[href$=".rar" i]::before,
.Content a[href$=".arj" i]::before,
.Content a[href$=".gz" i]::before,
.Content a[href$=".gzip" i]::before,
.Content a[href$=".zip" i]::before,
a.archive::before {
    content: "\f1c6";
}

.content a[href$=".exe" i]::before,
.Content a[href$=".exe" i]::before,
a.application::before {
    content: "\f15c";
}

/* =========================================================
   Informacja o cookies
   ========================================================= */

#cookieinfo * {
    margin: 0;
    padding: 0;
}

#cookieinfo {
    position: fixed;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 300;
    width: min(320px, calc(100vw - 20px));
    max-width: none;
    padding: 45px 20px 15px;
    color: #000;
    background-color: var(--spedrapid-light);
    font-size: 12px;
    opacity: 0.96;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
}

#cookieinfo h6 {
    margin-bottom: 7px;
    color: var(--spedrapid-primary-dark);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

#cookieinfo p {
    color: #000;
    font-size: 12px;
    line-height: 1.5em;
}

#cookieinfo p a#CookiesInfo {
    position: static;
    display: inline;
    width: auto;
    height: auto;
    color: var(--spedrapid-primary);
    background-color: transparent;
    font-size: 12px;
    line-height: inherit;
    text-align: left;
}

#cookieinfo > a {
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #000;
    background-color: #fbba06;
    font-size: 14px;
    line-height: 28px;
    text-align: center;
    text-decoration: none;
}

#cookieinfo > a:hover {
    color: #fbba06;
    background-color: #000;
}

.media-img {
    min-height: 150px;
}

/* =========================================================
   Ekrany desktopowe
   Bootstrap navbar-expand-xl: 1200 px
   ========================================================= */

@media (min-width: 1200px) {
    ul.navbar-nav {
        display: flex;
        flex: 1 1 auto;
        align-items: stretch;
        justify-content: flex-end;
        width: auto;
        margin: 0;
        padding: 0 0 0 60px;
    }

    ul.navbar-nav > li {
        display: flex;
        flex: 0 1 auto;
        align-items: stretch;
        min-width: 110px;
        height: auto;
        line-height: normal;
        text-align: center;
    }

    .affix ul.navbar-nav > li {
        height: auto;
        line-height: normal;
    }

    div#navbarSpedrapid .nav-link {
        width: 100%;
    }
}

@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
    .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* =========================================================
   Menu zwijane: telefon i tablet
   ========================================================= */

@media (max-width: 1199.98px) {
    .fixed-top,
    .fixed-top.affix {
        position: sticky;
        top: 0;
        right: auto;
        left: auto;
        width: 100%;
        min-height: 64px;
        height: auto;
        line-height: normal;
    }

    nav.navbar a.navbar-brand img,
    .affix div.container a.navbar-brand img {
        width: auto;
        height: auto;
        max-width: 210px;
        max-height: 64px;
    }

    .navbar-expand-xl > .container,
    .navbar-expand-xl > .container-fluid {
        align-items: center;
        background-color: #fff;
    }

    .navbar-toggler {
        min-width: 44px;
        min-height: 44px;
    }

    #navbarSpedrapid {
        width: 100%;
        max-height: calc(100dvh - 64px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    div#navbarSpedrapid li.link a,
    div#navbarSpedrapid li.active.current a,
    div#navbarSpedrapid li.active.section a,
    div#navbarSpedrapid li.navitem.dropdown.Pierwsze a.dropdown-toggle,
    div#navbarSpedrapid li.link.navitem.dropdown.Pierwsze a.nav-link.dropdown-toggle,
    div#navbarSpedrapid li.active.section.navitem.dropdown.Pierwsze a.nav-link.dropdown-toggle,
    div#navbarSpedrapid li.active.current.navitem.dropdown.Pierwsze a.nav-link.dropdown-toggle,
    .affix div#navbarSpedrapid li.link a,
    .affix div#navbarSpedrapid li.active.current a,
    .affix div#navbarSpedrapid li.active.section a,
    .affix div#navbarSpedrapid li.navitem.dropdown.Pierwsze a.dropdown-toggle,
    .affix div#navbarSpedrapid li.link.navitem.dropdown.Pierwsze a.nav-link.dropdown-toggle,
    .affix div#navbarSpedrapid li.active.section.navitem.dropdown.Pierwsze a.nav-link.dropdown-toggle,
    .affix div#navbarSpedrapid li.active.current.navitem.dropdown.Pierwsze a.nav-link.dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-height: 44px;
        height: auto;
        margin-bottom: 0;
        padding: 0.7rem 1rem;
        color: var(--spedrapid-primary);
        font-style: italic;
        font-weight: 700;
        line-height: 1.35;
        text-align: left;
        white-space: normal;
    }

    div#navbarSpedrapid li.link::after,
    div#navbarSpedrapid li.active.section::after,
    div#navbarSpedrapid li.active.current::after {
        display: none;
    }

    #navbarSpedrapid .dropdown-menu,
    .affix #navbarSpedrapid .dropdown-menu {
        position: static;
        top: auto;
        left: auto;
        float: none;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0.25rem 0 0.5rem 1rem;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    #navbarSpedrapid .dropdown-menu .dropdown-item {
        min-height: 44px;
        padding: 0.65rem 1rem;
    }

    div.BanerNaStronie {
        margin-top: 0;
    }

    footer .StopkaMenu div.row ul li {
        flex: 1 1 33.333%;
        min-height: 100px;
    }
}

/* =========================================================
   Tablet
   ========================================================= */

@media (min-width: 720px) {
    .UserDefinedForm div.row.Zawartosc {
        margin-top: 80px;
    }

    #navbarSpedrapid.collapse.navbar-collapse ul.navbar-nav.mr-auto li.SearchBox {
        display: none;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .carousel-item {
        height: 360px;
    }
}

@media (min-width: 40em) {
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }
}

/* =========================================================
   Telefony
   ========================================================= */

@media (max-width: 719.98px) {
    #Naglowek {
        min-height: 0;
    }

    #Naglowek div.Telefon,
    #Naglowek div.Mail {
        float: none;
        width: 100%;
        max-width: none;
        margin-left: 0;
        padding-top: 3px;
    }

    #Naglowek div.Telefon a,
    #Naglowek div.Mail a {
        font-size: 0.78em;
    }

    #Naglowek .poPrawej div.social-block {
        margin-left: 0;
        padding-right: 4px;
        border-right: 0;
    }

    #Naglowek .poPrawej.text-right div#navbar-search-box {
        display: none !important;
    }

    li.SearchBox div#navbar-search-box {
        position: relative;
        display: block;
        float: none;
        width: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    li.SearchBox div#navbar-search-box input {
        width: 100%;
        min-height: 44px;
        padding-right: 48px;
        font-size: 16px;
    }

    #SearchForm_SearchForm_action_results,
    #SearchForm_SearchForm_action_results:hover,
    #SearchForm_SearchForm_action_results:focus {
        width: 42px;
        height: 42px;
    }

    .carousel-item {
        height: 280px;
    }

    .carousel-indicators {
        bottom: 8px;
    }

    .Slogany {
        width: 94%;
        padding: 0 0.75rem;
    }

    div#Breadcrumbs {
        top: 8px;
        right: 8px;
        left: 8px;
    }

    .breadcrumb {
        width: 100%;
        margin: 0;
        padding: 0.45rem 0.6rem;
        font-size: 0.7rem;
    }

    #shaker {
        display: none;
    }

    footer .StopkaOld div.row div.col.StopkaMenu {
        display: none;
    }

    footer .StopkaMenu div.row ul li {
        flex: 1 1 50%;
        min-height: 80px;
    }

    .LewaStr,
    .PrawaStr,
    .LewaStrLewa {
        float: none;
        width: 100%;
        border-right: 0;
    }

    section div.DaneKontakt.Orneta {
        border-right: 0;
    }

    form#UserForm_Form.userform fieldset div.field.text label {
        float: none;
        width: 100%;
        padding: 0 0 0.35rem;
        font-size: 14px;
    }

    form#UserForm_Form div.field div.middleColumn {
        width: 100%;
    }

    div.Strona_UserDefinedForm .GwiazdkaOpis {
        float: none;
        width: 100%;
    }

    div#Content div.DrugaLinia {
        padding: 15px;
    }

    .PrzedstawTop .Czlowiek,
    .PrzedstawDown .Czlowiek {
        padding-left: 0;
        border-right: 0;
    }

    .row.Dokumenty .card-title {
        padding-right: 55px;
    }

    .row.Dokumenty a[href$=".pdf" i]::before,
    .row.Dokumenty a.pdf::before,
    .row.Dokumenty a[href$=".docx" i]::before,
    .row.Dokumenty a[href$=".doc" i]::before,
    .row.Dokumenty a.doc::before,
    .row.Dokumenty a[href$=".xlsx" i]::before,
    .row.Dokumenty a[href$=".xls" i]::before,
    .row.Dokumenty a.xls::before {
        top: 15px;
        right: 12px;
        font-size: 2.2em;
    }
}

@media (max-width: 575.98px) {
    #cookieinfo {
        right: max(10px, env(safe-area-inset-right));
        bottom: max(10px, env(safe-area-inset-bottom));
        left: max(10px, env(safe-area-inset-left));
        width: auto;
        padding: 42px 16px 16px;
    }

    .StronaStartowa div#BoxyStartOut {
        margin-top: 30px;
        padding-top: 30px;
        padding-bottom: 20px;
    }

    footer .StopkaMenu div.row ul li {
        flex-basis: 100%;
    }
}

@media (max-width: 520px) {
    #Naglowek .poPrawej div.social-block {
        margin-left: 0;
        padding-right: 4px;
    }
}

@media (min-width: 432px) {
    form#UserForm_Form div.field div.middleColumn input {
        width: 100%;
    }
}


@media (min-width: 1200px) {

    div#navbarSpedrapid {
        flex: 1 1 auto;
        min-width: 0;
    }

    div#navbarSpedrapid ul.navbar-nav {
        display: flex;
        flex: 1 1 auto;
        align-items: stretch;
        justify-content: space-between;

        width: 100%;
        margin: 0;
        padding: 0 0 0 60px;
    }

    div#navbarSpedrapid ul.navbar-nav > li {
        position: relative;

        display: flex;
        flex: 1 1 auto;
        align-items: stretch;
        justify-content: center;

        min-width: 0;
        height: auto;
        line-height: normal;
        text-align: center;
    }

    div#navbarSpedrapid ul.navbar-nav > li > a.nav-link,
    div#navbarSpedrapid ul.navbar-nav > li > a.dropdown-toggle,
    div#navbarSpedrapid li.link a,
    div#navbarSpedrapid li.active.current a,
    div#navbarSpedrapid li.active.section a {
        display: flex;
        flex: 1 1 auto;
        align-items: center;
        justify-content: center;

        width: 100%;
        min-width: max-content;
        min-height: var(--spedrapid-header-height, 100px);
        height: auto;

        padding: 0.75rem 1rem;

        line-height: 1.3;
        text-align: center;
        white-space: nowrap;
    }

    .affix div#navbarSpedrapid ul.navbar-nav > li > a.nav-link,
    .affix div#navbarSpedrapid ul.navbar-nav > li > a.dropdown-toggle,
    .affix div#navbarSpedrapid li.link a,
    .affix div#navbarSpedrapid li.active.current a,
    .affix div#navbarSpedrapid li.active.section a {
        min-height: 60px;
        height: auto;
        line-height: 1.3;
    }
}


ul.navbar-nav > li {
    display: flex;
    flex: 0 1 auto;
    min-width: 110px;
}

/* =========================================================
   Orientacja pozioma na telefonie
   ========================================================= */

@media (max-width: 900px) and (orientation: landscape) {
    #navbarSpedrapid {
        max-height: calc(100dvh - 56px);
    }

    .carousel-item {
        height: min(72vh, 360px);
    }
}

/* =========================================================
   Ograniczenie animacji
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .shake:hover,
    .shake:focus {
        animation: none;
    }
}
