/*!
 * Start Bootstrap - Clean Blog v5.0.1 (https://startbootstrap.com/template-overviews/clean-blog)
 * Copyright 2013-2018 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-clean-blog/blob/master/LICENSE)
 */
body {
    font-size: 20px;
    color: #212529;
    font-family: Lora,'Times New Roman',serif
}

p {
    line-height: 1.5;
    margin: 30px 0
}

p a {
    text-decoration: underline
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 800;
    font-family: 'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif
}

a {
    color: #212529;
    -webkit-transition: all .2s;
    transition: all .2s
}

a:focus,a:hover {
    color: #0085a1
}

blockquote {
    font-style: italic;
    color: #868e96
}

.section-heading {
    font-size: 36px;
    font-weight: 700;
    margin-top: 60px
}

.caption {
    font-size: 14px;
    font-style: italic;
    display: block;
    margin: 0;
    padding: 10px;
    text-align: center;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px
}

::-moz-selection {
    color: #fff;
    background: #0085a1;
    text-shadow: none
}

::selection {
    color: #fff;
    background: #0085a1;
    text-shadow: none
}

img::-moz-selection {
    color: #fff;
    background: 0 0
}

img::selection {
    color: #fff;
    background: 0 0
}

img::-moz-selection {
    color: #fff;
    background: 0 0
}

#mainNav {
    position: absolute;
    border-bottom: 1px solid #e9ecef;
    background-color: #fff;
    font-family: 'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif
}

#mainNav .navbar-brand {
    font-weight: 800;
    color: #343a40
}

#mainNav .navbar-toggler {
    font-size: 12px;
    font-weight: 800;
    padding: 13px;
    text-transform: uppercase;
    color: #343a40
}

#mainNav .navbar-nav>li.nav-item>a {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase
}

@media only screen and (min-width: 992px) {
    #mainNav {
        border-bottom:1px solid transparent;
        background: 0 0
    }

    #mainNav .navbar-brand {
        padding: 10px 20px;
        color: #fff
    }

    #mainNav .navbar-brand:focus,#mainNav .navbar-brand:hover {
        color: rgba(255,255,255,.8)
    }

    #mainNav .navbar-nav>li.nav-item>a {
        padding: 10px 20px;
        color: #fff
    }

    #mainNav .navbar-nav>li.nav-item>a:focus,#mainNav .navbar-nav>li.nav-item>a:hover {
        color: rgba(255,255,255,.8)
    }
}

@media only screen and (min-width: 992px) {
    #mainNav {
        -webkit-transition:background-color .2s;
        transition: background-color .2s;
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
        -webkit-backface-visibility: hidden
    }

    #mainNav.is-fixed {
        position: fixed;
        top: -93px;
        -webkit-transition: -webkit-transform .2s;
        transition: -webkit-transform .2s;
        transition: transform .2s;
        transition: transform .2s,-webkit-transform .2s;
        border-bottom: 1px solid #fff;
        background-color: rgba(255,255,255,.9)
    }

    #mainNav.is-fixed .navbar-brand {
        color: #212529
    }

    #mainNav.is-fixed .navbar-brand:focus,#mainNav.is-fixed .navbar-brand:hover {
        color: #0085a1
    }

    #mainNav.is-fixed .navbar-nav>li.nav-item>a {
        color: #212529
    }

    #mainNav.is-fixed .navbar-nav>li.nav-item>a:focus,#mainNav.is-fixed .navbar-nav>li.nav-item>a:hover {
        color: #0085a1
    }

    #mainNav.is-visible {
        -webkit-transform: translate3d(0,100%,0);
        transform: translate3d(0,100%,0)
    }
}

header.masthead {
    background-position: 0px -420px!important;
    margin-bottom: 50px;
    background: no-repeat center center;
    background-color: #868e96;
    background-attachment: scroll;
    position: relative;
    background-size: cover
}

header.masthead .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #212529;
    opacity: .5
}

header.masthead .page-heading,header.masthead .post-heading,header.masthead .site-heading {
    padding: 200px 0 150px;
    color: #fff
}

@media only screen and (min-width: 768px) {
    header.masthead .page-heading,header.masthead .post-heading,header.masthead .site-heading {
        padding:200px 0
    }
}

header.masthead .page-heading,header.masthead .site-heading {
    text-align: center
}

header.masthead .page-heading h1,header.masthead .site-heading h1 {
    font-size: 50px;
    margin-top: 0
}

header.masthead .page-heading .subheading,header.masthead .site-heading .subheading {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.1;
    display: block;
    margin: 10px 0 0;
    font-family: 'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif
}

@media only screen and (min-width: 768px) {
    header.masthead .page-heading h1,header.masthead .site-heading h1 {
        font-size:80px
    }
}

header.masthead .post-heading h1 {
    font-size: 35px
}

header.masthead .post-heading .meta,header.masthead .post-heading .subheading {
    line-height: 1.1;
    display: block
}

header.masthead .post-heading .subheading {
    font-size: 24px;
    font-weight: 600;
    margin: 10px 0 30px;
    font-family: 'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif
}

header.masthead .post-heading .meta {
    font-size: 20px;
    font-weight: 300;
    font-style: italic;
    font-family: Lora,'Times New Roman',serif
}

header.masthead .post-heading .meta a {
    color: #fff
}

@media only screen and (min-width: 768px) {
    header.masthead .post-heading h1 {
        font-size:55px
    }

    header.masthead .post-heading .subheading {
        font-size: 30px
    }
}

.post-preview>a {
    color: #212529
}

.post-preview>a:focus,.post-preview>a:hover {
    text-decoration: none;
    color: #0085a1
}

.post-preview>a>.post-title {
    font-size: 30px;
    margin-top: 30px;
    margin-bottom: 10px
}

.post-preview>a>.post-subtitle {
    font-weight: 300;
    margin: 0 0 10px
}

.post-preview>.post-meta {
    font-size: 18px;
    font-style: italic;
    margin-top: 0;
    color: #868e96
}

.post-preview>.post-meta>a {
    text-decoration: none;
    color: #212529
}

.post-preview>.post-meta>a:focus,.post-preview>.post-meta>a:hover {
    text-decoration: underline;
    color: #0085a1
}

@media only screen and (min-width: 768px) {
    .post-preview>a>.post-title {
        font-size:36px
    }
}

.floating-label-form-group {
    font-size: 14px;
    position: relative;
    margin-bottom: 0;
    padding-bottom: .5em;
    border-bottom: 1px solid #dee2e6
}

.floating-label-form-group input,.floating-label-form-group textarea {
    font-size: 1.5em;
    position: relative;
    z-index: 1;
    padding: 0;
    resize: none;
    border: none;
    border-radius: 0;
    background: 0 0;
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
    font-family: Lora,'Times New Roman',serif
}

.floating-label-form-group input::-webkit-input-placeholder,.floating-label-form-group textarea::-webkit-input-placeholder {
    color: #868e96;
    font-family: Lora,'Times New Roman',serif
}

.floating-label-form-group label {
    font-size: .85em;
    line-height: 1.764705882em;
    position: relative;
    z-index: 0;
    top: 2em;
    display: block;
    margin: 0;
    -webkit-transition: top .3s ease,opacity .3s ease;
    transition: top .3s ease,opacity .3s ease;
    vertical-align: middle;
    vertical-align: baseline;
    opacity: 0
}

.floating-label-form-group .help-block {
    margin: 15px 0
}

.floating-label-form-group-with-value label {
    top: 0;
    opacity: 1
}

.floating-label-form-group-with-focus label {
    color: #0085a1
}

form .form-group:first-child .floating-label-form-group {
    border-top: 1px solid #dee2e6
}

footer {
    padding: 50px 0 65px
}

footer .list-inline {
    margin: 0;
    padding: 0
}

footer .copyright {
    font-size: 14px;
    margin-bottom: 0;
    text-align: center
}

.btn {
    font-size: 14px;
    font-weight: 800;
    padding: 15px 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0;
    font-family: 'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif
}

.btn-primary {
    background-color: #0085a1;
    border-color: #0085a1
}

.btn-primary:active,.btn-primary:focus,.btn-primary:hover {
    color: #fff;
    background-color: #00657b!important;
    border-color: #00657b!important
}

.btn-lg {
    font-size: 16px;
    padding: 25px 35px
}

.separator {
    max-width: 507px;
    border-bottom: #d1d1d1 solid 1px;
    margin: 30px auto 47px;
    position: relative;
}

.separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -15px 0 0 -53px;
    background: url(../img/small_bicycle.png) no-repeat center center #fff;
    width: 106px;
    height: 30px;
}

.dd {
    color: #00657b;
}

.vcolor {
    background-color: #ccc;
    padding: 20px;
    border-radius: 50px;
    box-shadow: 10px 15px 10px #000;
}

/* ==========================================================================
   Delikatne poprawki wizualne
   ========================================================================== */

:root {
    --accent: #0085a1;
    --accent-dark: #00657b;
    --ink: #212529;
    --muted: #6c757d;
    --line: #e9ecef;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Typografia ------------------------------------------------------- */

p {
    line-height: 1.7;
    margin: 24px 0;
}

.content p,
#content-area p {
    text-align: justify;
    hyphens: auto;
}

#content-area .title,
.post-preview h2 {
    font-size: 32px;
    margin-bottom: 24px;
    letter-spacing: -.5px;
}

#content-area .title::after,
.post-preview h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 14px;
    background-color: var(--accent);
    border-radius: 2px;
}

.post-preview h2 a {
    text-decoration: none;
}

#content-area h3 {
    font-size: 22px;
    margin-top: 40px;
    color: var(--accent-dark);
}

/* --- Nagłówek strony (masthead) --------------------------------------- */

header.masthead .overlay {
    background: linear-gradient(180deg, rgba(33, 37, 41, .65) 0%, rgba(33, 37, 41, .45) 45%, rgba(33, 37, 41, .75) 100%);
    background-color: transparent;
    opacity: 1;
}

header.masthead .site-heading h1,
header.masthead .page-heading h1 {
    letter-spacing: -1px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

header.masthead .site-heading .subheading,
header.masthead .page-heading .subheading {
    margin-top: 18px;
    letter-spacing: .5px;
    opacity: .92;
}

/* --- Nawigacja --------------------------------------------------------- */

#mainNav .navbar-brand img {
    max-height: 52px;
    width: auto;
    transition: transform .2s ease;
}

#mainNav .navbar-brand:hover img {
    transform: scale(1.04);
}

#mainNav .navbar-toggler {
    border-radius: 3px;
}

@media only screen and (min-width: 992px) {
    #mainNav .navbar-nav > li.nav-item > a {
        position: relative;
    }

    #mainNav .navbar-nav > li.nav-item > a::after {
        content: '';
        position: absolute;
        left: 20px;
        right: 20px;
        bottom: 2px;
        height: 2px;
        background-color: currentColor;
        transform: scaleX(0);
        transition: transform .2s ease;
    }

    #mainNav .navbar-nav > li.nav-item > a:hover::after,
    #mainNav .navbar-nav > li.nav-item > a:focus::after {
        transform: scaleX(1);
    }
}

@media only screen and (max-width: 991px) {
    #mainNav .navbar-nav > li.nav-item > a {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
    }

    #mainNav .navbar-nav > li.nav-item:last-child > a {
        border-bottom: 0;
    }
}

/* --- Kafelki z atutami (strona główna) --------------------------------- */

.page-front .row.justify > [class^="col-lg-3"] {
    margin-bottom: 30px;
}

.feature-title,
.feature-title.dd {
    font-size: 18px;
    letter-spacing: .3px;
    color: var(--ink);
    margin-bottom: 18px;
}

.vcolor {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    height: 118px;
    margin: 0 auto 18px;
    padding: 0;
    background-color: #f1f4f6;
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(33, 37, 41, .10);
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.vcolor img {
    max-width: 62px;
    height: auto;
}

.vcolor:hover {
    transform: translateY(-4px);
    background-color: #e7f2f5;
    box-shadow: 0 14px 26px rgba(0, 133, 161, .18);
}

.text-sm {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.65;
}

/* --- Obrazy w treści ---------------------------------------------------- */

.container .img-fluid {
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(33, 37, 41, .12);
}

/* --- Separator ---------------------------------------------------------- */

.separator {
    border-bottom-color: var(--line);
}

/* --- Logotypy marek ----------------------------------------------------- */

.container > .row.justify + hr,
hr {
    border-top: 1px solid var(--line);
    margin: 40px 0;
}

.row.justify > .text-center > a > img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    margin: 14px 0;
    filter: grayscale(100%);
    opacity: .65;
    transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}

.row.justify > .text-center > a:hover > img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

/* --- Mapy Google (kontakt) ---------------------------------------------- */

#content-area iframe {
    width: 100%;
    max-width: 100%;
    height: 320px;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(33, 37, 41, .12);
}

/* --- Link "Czytaj dalej" ------------------------------------------------ */

.links.inline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.node-readmore a {
    display: inline-block;
    padding: 12px 26px;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--accent-dark);
    border: 2px solid var(--accent-dark);
    border-radius: 3px;
    transition: background-color .2s ease, color .2s ease;
}

.node-readmore a:hover,
.node-readmore a:focus {
    background-color: var(--accent-dark);
    color: #fff;
}

/* --- Stopka -------------------------------------------------------------- */

footer {
    padding: 45px 0 55px;
    background-color: #f8f9fa;
    border-top: 1px solid var(--line);
    margin-top: 60px;
}

footer .fa-stack .fa-circle {
    color: var(--ink);
    transition: color .2s ease;
}

footer a:hover .fa-stack .fa-circle {
    color: var(--accent);
}

footer .list-inline-item img {
    max-height: 44px;
    width: auto;
    vertical-align: middle;
}

footer .copyright {
    margin-top: 18px;
    font-size: 13px;
    letter-spacing: .3px;
}

/* --- Drobne ------------------------------------------------------------- */

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media only screen and (max-width: 767px) {
    body {
        font-size: 18px;
    }

    #content-area .title,
    .post-preview h2 {
        font-size: 26px;
    }

    .content p,
    #content-area p {
        text-align: left;
    }
}

/* Kadrowanie zdjęcia w nagłówku - wyśrodkowane, bez pustych obszarów */
header.masthead {
    background-position: center center !important;
}

/* Ostatnia linia tuż nad stopką dubluje jej obramowanie */
body > hr:last-of-type {
    display: none;
}
