@import url('//fonts.googleapis.com/css?family=Lora:400,700|Open+Sans:300,400,700,800&subset=latin-ext');
body {
    font-family: 'Lora', 'Times New Roman', serif;
    font-size: 20px;
    color: #404040;
    background-color: #fff;
}
p {
    line-height: 1.5;
    margin: 30px 0;
}
p a {
    text-decoration: underline
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 800;
}
a {
    color: #404040
}
a:hover,
a:focus {
    color: #f8be12
}
a img:hover,
a img:focus {
    cursor: zoom-in
}
blockquote {
    color: #808080;
    font-style: italic;
}
hr.small {
    max-width: 100px;
    margin: 15px auto;
    border-width: 4px;
    border-color: white;
}
.navbar-custom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.navbar-custom .navbar-brand {
    font-weight: 800
}
.navbar-custom .nav > li > a {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}
.navbar-custom .nav > li.active > a {
    color: #fff;
}
.navbar-custom .nav > li.active > a:hover {
    color: rgba(255, 255, 255, 0.8);
}
.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
    background-color: transparent
}
@media only screen and (min-width: 768px) {
    .navbar-custom {
        background: transparent;
        border-bottom: 1px solid transparent;
    }
    .navbar-custom .navbar-brand {
        color: white;
        padding: 20px;
    }
    .navbar-custom .navbar-brand:hover,
    .navbar-custom .navbar-brand:focus {
        color: rgba(255, 255, 255, 0.8)
    }
    .navbar-custom .nav > li > a {
        color: white;
        padding: 20px;
    }
    .navbar-custom .nav > li > form {
        padding: 12px;
    }
    .navbar-custom .nav > li > form > select {
        background:transparent;
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' height='10px' width='15px'%3E%3Ctext x='0' y='10' fill='white'%3E%E2%96%BE%3C/text%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center right;
        padding:6px 22px 6px 12px;
        border:1px solid #FFF;
        color:#FFF;
        border-radius: 0;
        -moz-appearance: none;
        -webkit-appearance: none;
    }
    .navbar-custom .nav > li > form > select:focus {
        box-shadow: none;
    }
    .navbar-custom .nav > li > form > select > option {
        color: initial;    
    }
    .navbar-custom .nav > li > a:hover,
    .navbar-custom .nav > li > a:focus {
        color: rgba(255, 255, 255, 0.8);
        background-color: transparent;
    }
}
@media only screen and (min-width: 1170px) {
    .navbar-custom {
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
    }
    .navbar-custom.is-fixed {
        position: fixed;
        background-color: rgba(255, 255, 255, 0.9);
        border-bottom: 1px solid #f2f2f2;
    }
    .navbar-custom.is-fixed .navbar-brand {
        color: #404040
    }
    .navbar-custom.is-fixed .navbar-brand:hover,
    .navbar-custom.is-fixed .navbar-brand:focus {
        color: #f8be12
    }
    .navbar-custom.is-fixed .nav > li > a {
        color: #404040
    }
    .navbar-custom.is-fixed .nav > li > a:hover,
    .navbar-custom.is-fixed .nav > li > a:focus,
    .navbar-custom.is-fixed .nav > li.active > a {
        color: #f8be12
    }
    .navbar-custom.is-fixed .nav > li > form > select {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' height='10px' width='15px'%3E%3Ctext x='0' y='10' fill='#404040'%3E%E2%96%BE%3C/text%3E%3C/svg%3E");
        border:1px solid #404040;
        color:#404040;
    }
}
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:hover {
    background-color: transparent
}
.intro-header {
    background-color: #808080;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 50px;
}
.intro-header .site-heading,
.intro-header .post-heading,
.intro-header .page-heading {
    padding: 100px 0 50px;
    color: white;
}
@media only screen and (min-width: 768px) {
    .intro-header .site-heading,
    .intro-header .post-heading,
    .intro-header .page-heading {
        padding: 150px 0
    }
}
.intro-header .site-heading,
.intro-header .page-heading {
    text-align: center
}
.intro-header .site-heading h1,
.intro-header .page-heading h1 {
    margin-top: 0;
    font-size: 50px;
}
.intro-header .site-heading .subheading,
.intro-header .page-heading .subheading {
    font-size: 24px;
    line-height: 1.1;
    display: block;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    margin: 10px 0 0;
}
@media only screen and (min-width: 768px) {
    .intro-header .site-heading h1,
    .intro-header .page-heading h1 {
        font-size: 80px
    }
}
.intro-header .post-heading h1 {
    font-size: 35px
}
.intro-header .post-heading .subheading,
.intro-header .post-heading .meta {
    line-height: 1.1;
    display: block;
}
.intro-header .post-heading .subheading {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 24px;
    margin: 10px 0 30px;
    font-weight: 600;
}
.intro-header .post-heading .meta {
    font-family: 'Lora', 'Times New Roman', serif;
    font-style: italic;
    font-weight: 300;
    font-size: 20px;
}
.intro-header .post-heading .meta a {
    color: white
}
@media only screen and (min-width: 768px) {
    .intro-header .post-heading h1 {
        font-size: 55px
    }
    .intro-header .post-heading .subheading {
        font-size: 30px
    }
}
.post-preview > a {
    color: #404040
}
.post-preview > a:hover,
.post-preview > a:focus {
    text-decoration: none;
    color: #f8be12;
}
.post-preview > a > .post-cover {
    max-width: 100%
}
.post-preview > a > .post-title {
    font-size: 30px;
    margin-top: 30px;
    margin-bottom: 10px;
}
.post-preview > a > .post-subtitle {
    margin: 0;
    font-weight: 300;
    margin-bottom: 10px;
}
.post-preview > .post-meta {
    color: #808080;
    font-size: 18px;
    font-style: italic;
    margin-top: 0;
}
.post-preview > .post-meta > a {
    text-decoration: none;
    color: #404040;
}
.post-preview > .post-meta > a:hover,
.post-preview > .post-meta > a:focus {
    color: #f8be12;
    text-decoration: underline;
}
@media only screen and (min-width: 768px) {
    .post-preview > a > .post-title {
        font-size: 36px
    }
}
.section-heading {
    font-size: 36px;
    margin-top: 60px;
    font-weight: 700;
}
.caption {
    text-align: center;
    font-size: 14px;
    padding: 10px;
    font-style: italic;
    margin: 0;
    display: block;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
.thumbnail .caption h3 {
    margin-top: 0;
    margin-bottom: 0;
}
.thumbnail .caption p {
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 1.2;
}
footer {
    padding: 50px 0 65px
}
footer .list-inline {
    margin: 0;
    padding: 0;
}
footer .copyright {
    font-size: 14px;
    text-align: center;
    margin-bottom: 0;
}
.form-control {
    border-radius: 0;
    box-shadow: none;
}
.form-control:focus {
    border-color: #f8be12;
    box-shadow: 0 0 8px rgba(249, 190, 18, .6);
}
.form-group {
    font-size: 14px;
    position: relative;
    margin-bottom: 0;
    padding-bottom: 1.5em;
    padding-right: 15px;
    padding-left: 15px;
    border-bottom: 1px solid #eeeeee;
}
form .form-group:last-of-type {
    margin-bottom: 25px
}
form .btn {
    margin-left: 15px
}
.form-group input,
.form-group textarea {
    z-index: 1;
    position: relative;
    padding-right: 0;
    padding-left: 0;
    border: none;
    font-size: 1.5em;
    background: none;
    box-shadow: none !important;
    resize: none;
}
.form-group label {
    display: block;
    z-index: 0;
    position: relative;
    top: 2em;
    margin: 0;
    font-size: 0.85em;
    line-height: 1.764705882em;
    opacity: 0;
    -webkit-transition: top 0.3s ease, opacity 0.3s ease;
    transition: top 0.3s ease, opacity 0.3s ease;
}
.form-group::not(:first-child) {
    padding-left: 14px;
    border-left: 1px solid #eeeeee;
}
.form-group-with-value label {
    top: 0;
    opacity: 1;
}
.form-group-with-focus label {
    color: #f8be12
}
form .row:first-child .form-group {
    border-top: 1px solid #eeeeee
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #AAB2BD !important
}
input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #AAB2BD !important
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #AAB2BD !important
}
form .checkbox {
    padding-left: 15px;
}
form .checkbox small {
    font-size: 12px;
}
.btn {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 0;
    padding: 15px 25px;
}
.btn-lg {
    font-size: 16px;
    padding: 25px 35px;
}
.btn-default {
    background-color: #fff
}
.btn-default:hover,
.btn-default:focus {
    background-color: #f8be12;
    border: 1px solid #f8be12;
    color: white;
}
.input-group .btn {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
}
.pager {
    margin: 20px 0 0
}
.pager li > a,
.pager li > span {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 15px 25px;
    background-color: white;
    border-radius: 0;
}
.pager li > a:hover,
.pager li > a:focus {
    color: white;
    background-color: #f8be12;
    border: 1px solid #f8be12;
}
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
    color: #808080;
    background-color: #404040;
    cursor: not-allowed;
}
.pagination > li > a,
.pagination > li > span {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: inherit;
}
.pagination > li > a:hover,
.pagination > li > span:hover {
    color: inherit;
}
.pagination > li:first-child > a,
.pagination > li:last-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > span {
    border-radius: 0;
}
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    border-color: #f8be12;
    background: #f8be12;
}
::-moz-selection {
    color: white;
    text-shadow: none;
    background: #f8be12;
}
::selection {
    color: white;
    text-shadow: none;
    background: #f8be12;
}
img::selection {
    color: white;
    background: transparent;
}
img::-moz-selection {
    color: white;
    background: transparent;
}
/* Motyw pracowni Jana Gałka */
.atelier {
    --paper: #f6f4ee;
    --panel: #fffdf8;
    --ink: #222922;
    --forest: #182720;
    --muted: #525c52;
    --brass: #d5b780;
    --accent: #725126;
    --rule: #d8d3c6;
    --display: 'Lora', Georgia, serif;
    --sans: 'Open Sans', system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font: 17px/1.7 var(--sans);
}

.atelier :is(h1, h2, h3, h4) {
    font-family: var(--display);
    line-height: 1.18;
}

.atelier :is(a, button, input, textarea, select):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.atelier a { color: var(--accent); }
.atelier a:hover, .atelier a:focus { color: #4f371a; }
.atelier p { margin: 0 0 1.3em; line-height: inherit; }

.atelier-wrap {
    width: min(100% - 40px, 1240px);
    margin-inline: auto;
}

.atelier-skip {
    position: absolute;
    z-index: 10;
    top: 8px;
    left: 8px;
    padding: 8px 12px;
    background: var(--panel);
    transform: translateY(calc(-100% - 12px));
}
.atelier-skip:focus { transform: none; }

.atelier-nav {
    position: sticky;
    top: 0;
    z-index: 5;
    margin: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #465347;
    background: var(--forest);
    font: 600 13px/1.4 var(--sans);
}

.atelier-nav .navbar-header {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.atelier-nav .atelier-brand {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 12px;
    color: var(--panel);
    font: 700 22px/1.15 var(--display);
    text-decoration: none;
}

.atelier-brand small {
    display: block;
    margin-top: 5px;
    color: var(--brass);
    font: 600 10px/1.4 var(--sans);
    letter-spacing: .11em;
    text-transform: uppercase;
}

.atelier-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--brass);
    color: var(--brass);
    font: 400 18px var(--display);
}

.atelier-nav .navbar-toggle {
    float: none;
    margin: 0;
    border-color: #6a776a;
    color: var(--panel);
}
.atelier-nav .navbar-toggle span { margin-left: 5px; }
.atelier-nav .navbar-toggle:hover,
.atelier-nav .navbar-toggle:focus { background: #35483d; }
.atelier-nav .navbar-collapse { border-color: #465347; box-shadow: none; }

.atelier-nav .navbar-nav > li > a {
    padding: 11px 9px;
    color: #f2eee3;
    white-space: nowrap;
}

.atelier-nav .navbar-nav > li > a:hover,
.atelier-nav .navbar-nav > li > a:focus,
.atelier-nav .navbar-nav > .active > a,
.atelier-nav .navbar-nav > .active > a:hover,
.atelier-nav .navbar-nav > .active > a:focus,
.atelier-nav .navbar-nav > .open > a,
.atelier-nav .navbar-nav > .open > a:hover,
.atelier-nav .navbar-nav > .open > a:focus {
    background: transparent;
    color: var(--brass);
    text-decoration: underline;
    text-underline-offset: .4em;
}

@media (min-width: 768px) {
    .atelier-nav > .atelier-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
    .atelier-nav .navbar-collapse { min-width: 0; padding: 0; }
    .atelier-nav .navbar-collapse::before,
    .atelier-nav .navbar-collapse::after,
    .atelier-nav .navbar-nav::before,
    .atelier-nav .navbar-nav::after { display: none; }
    .atelier-nav .navbar-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 767px) {
    .atelier-nav .navbar-collapse.in {
        max-height: calc(100vh - 77px);
        max-height: calc(100dvh - 77px);
        overflow-y: auto;
    }
    .atelier-nav .navbar-nav { margin: 8px -9px; }
    .atelier-nav .navbar-nav .open .dropdown-menu > li > a { color: var(--panel); }
}

.atelier-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: clamp(280px, 37vw, 520px);
    color: #fffaf0;
    background-color: var(--forest);
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid #b39662;
}

.atelier-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(95deg, rgba(15, 25, 19, .96) 0%, rgba(15, 25, 19, .82) 38%, rgba(15, 25, 19, .19) 100%);
    content: "";
}

.atelier-hero-inner { padding-block: clamp(44px, 7vw, 104px); }
.atelier .atelier-kicker {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
    color: #f0d6a5;
    font: 700 11px/1.4 var(--sans);
    letter-spacing: .18em;
    text-transform: uppercase;
}
.atelier-kicker::before { width: 30px; height: 1px; background: currentColor; content: ""; }

.atelier-hero h1 {
    max-width: 15ch;
    margin: 0;
    font-size: clamp(44px, 7vw, 100px);
    font-weight: 400;
    overflow-wrap: anywhere;
}

.atelier .atelier-subtitle {
    max-width: 46ch;
    margin: 20px 0 0;
    color: #f4ebdb;
    font: 400 clamp(16px, 2vw, 22px)/1.5 var(--display);
}

.atelier-content { padding-block: clamp(32px, 6vw, 76px); }
.atelier-content :is(img, iframe, video) { max-width: 100%; }
.atelier-content :is(img, video) { height: auto; }
.atelier-content a { overflow-wrap: anywhere; text-underline-offset: .2em; }
.atelier-content hr { border-color: var(--rule); }
.atelier-content blockquote { border-color: #b39662; color: var(--muted); }

.atelier-content .gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 2vw, 22px);
    margin-block: 22px;
}
.atelier-content .gallery::before, .atelier-content .gallery::after { display: none; }
.atelier-content .gallery > [class*="col-"] { width: auto; padding: 0; min-width: 0; }
.atelier-content .gallery .thumbnail {
    height: 100%;
    margin: 0;
    padding: 5px;
    border: 1px solid var(--rule);
    border-radius: 0;
    background: var(--panel);
}
.atelier-content .gallery .thumbnail img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #eeece4;
}

.atelier .post-preview { padding: clamp(16px, 3vw, 32px); border: 1px solid var(--rule); background: var(--panel); }
.atelier .post-preview .post-cover { display: block; margin-bottom: 20px; }
.atelier .post-preview .post-meta { margin-bottom: 0; color: var(--muted); }

.atelier-content .form-control:focus { border-color: var(--accent); box-shadow: none; }
.atelier-content .form-group label { position: static; opacity: 1; color: var(--ink); font-size: inherit; }
.atelier-content .form-group input::placeholder,
.atelier-content .form-group textarea::placeholder { color: var(--muted) !important; }
.atelier-content .btn-default { color: var(--panel); background: var(--forest); border-color: var(--forest); }
.atelier-content .btn-default:hover,
.atelier-content .btn-default:focus { color: var(--panel); background: #35483d; border-color: #35483d; }

.atelier-footer {
    padding: 36px 0 20px;
    color: #f4ebdb;
    background: var(--forest);
    border-top: 1px solid #465347;
    font-size: 14px;
}
.atelier-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px 32px;
}
.atelier-footer a { color: #f0d6a5; }
.atelier-footer a:hover, .atelier-footer a:focus { color: #fff; }
.atelier-footer .atelier-footer-brand { font: 400 27px var(--display); color: var(--panel); }
.atelier-footer p { margin: 6px 0 0; }
.atelier-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.atelier-footer-credit { border-top: 1px solid #465347; margin-top: 24px; padding-top: 14px; font-size: 12px; }

@media (max-width: 600px) {
    .atelier-wrap { width: calc(100% - 32px); }
    .atelier-content { padding-inline: 20px; }
    .atelier-content .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .atelier-hero::before { background: linear-gradient(95deg, rgba(15, 25, 19, .92), rgba(15, 25, 19, .48)); }
}

@media (max-width: 350px) {
    .atelier-brand small { font-size: 9px; }
    .atelier-nav .atelier-brand { font-size: 18px; gap: 8px; }
}

@media (min-width: 992px) {
    .atelier-content > .row > :has(> .gallery) {
        width: 100%;
        margin-left: 0;
    }
}
