/*
Theme Name: bystrzan
Theme URI: https://bystrzan.me
Author: Paul Bystrzan
Author URI: https://bystrzan.pl
Description: Gutenberg theme framework made for https://www.henicz.com/ by Paul Bystrzan (bystrzan.me).
Version: 9.9.9
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bystrzan
Tags: translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Bystrzan is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
    scroll-behavior: smooth;
}

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
}

article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
    display: block;
}

audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden], template {
    display: none;
}

a {
    background-color: transparent;
}

a:active, a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b, strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code, kbd, pre, samp {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 0.875rem;
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button, select {
    text-transform: none;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled], html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"], input[type="radio"] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td, th {
    padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body, button, input, select, optgroup, textarea {
    color: #191e23;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'IBM Plex Sans', sans-serif;
    color: #191e23;
    clear: both;
}

.entry-header .entry-title {
    font-size: 2.44em;
    line-height: 1.4;
    margin: 1em 0 1rem;
}

dfn, cite, em, i {
    font-style: italic;
    position: relative;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transform: translate(0px,0px);
    -ms-transform: translate(0px,0px);
    transform: translate(0px,0px);
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 0.8em 1em;
}

code, kbd, tt, var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 0.875rem;
}

@media screen and (min-width: 600px) {
    code, kbd, tt, var {
        font-size: 0.8125rem;
    }
}

p > code {
    padding: 2px;
    border-radius: 2px;
    background: #f3f4f5;
    font-size: inherit;
}

abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark, ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

.archive .site-header {
    margin-bottom: 3.5em;
}

.site-title {
    margin: .4375em 0 0;
    font-size: 38px;
    font-weight: bold;
    line-height: 1.2;
    color: #333332;
}

.site-title a {
    text-decoration: none;
    color: inherit;
}

.site-branding {
    margin-bottom: 1.75em;
}

.site-branding img {
    width: auto;
    height: 50px;
    max-width: 9999px;
}

.site-description {
    margin: .4375em 0 0;
    font-size: 17px;
    font-weight: inherit;
    line-height: 1.4;
    word-wrap: break-word;
    color: #6c7781;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

*, *:before, *:after {
    /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

body {
    background: #fff;
    /* Fallback for when there is no custom background color defined. */
}

blockquote, q {
    quotes: "" "";
}

blockquote:before, blockquote:after, q:before, q:after {
    content: "";
}

hr {
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul, ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul, li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto;
    /* Make sure images are scaled correctly. */
    max-width: 100%;
    /* Adhere to container width. */
}

figure {
    margin: 1em 0;
    /* Extra wide images within figure tags don't overflow the content area. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button, input[type="button"], input[type="reset"], input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 1;
    padding: .6em 1em .4em;
}

button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active, button:focus, input[type="button"]:active, input[type="button"]:focus, input[type="reset"]:active, input[type="reset"]:focus, input[type="submit"]:active, input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: #0073aa;
    text-decoration: none;
}

a:hover, a:focus, a:active {
    color: #00a0d2;
}

a:focus {
    outline: thin dotted;
}

a:hover, a:active {
    outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
    clear: both;
    display: block;
    margin: 0 auto;
    text-align: center;
}

.main-navigation ul {
    /* display: none; */
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
    text-align: left;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
    left: 100%;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul {
    display: block;
    left: auto;
}

.main-navigation li {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(28, 33, 31, 0.9);
    position: relative;
}

.menu-toggle {
    padding: 1em;
    margin-right: 0!important;
    padding: 10px 0px;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border-width: 0 !important;
    border-radius: 4px;
    position: absolute;
    top: 12px;
    right: -5px;
    left: auto;
    outline: none;
}

@media screen and (max-width: 1039px) {
    /* Small menu. */ .main-navigation.toggled ul {
        /* display: block; */ /* margin: 0 auto; */ color: #fff;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: 100%;
    }

    .main-navigation a {
        color: #fff !important;
        text-align: center;
        display: block;
        font-size: 7vw;
    }

    .main-navigation ul.cta-menu {
        display: none;
    }
}

@media screen and (min-width: 1040px) {
    .menu-toggle {
        display: none;
    }

    .main-navigation >div>ul,.main-navigation ul.cta-menu {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .main-navigation a {
        padding: 0 0;
        margin: 0 .5em;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        font-weight: 500;
        line-height: 1.5;
        color: rgba(28, 33, 31, 0.9);
        position: relative;
    }
}

.site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation {
    border-bottom: 1px solid #e2e4e7;
    margin: 0 auto 60px;
    max-width: 580px;
    overflow: hidden;
    padding-bottom: 60px;
}

.nav-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous {
    width: 50%;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 50%;
    flex: 1 0 50%;
}

.comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next {
    text-align: end;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 50%;
    flex: 1 0 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

.made_footer {
    padding-top: 0;
    padding-bottom: calc(2.75rem - 20px);
    background-color: var(--ccp-secondary-color, #005450);
    padding-top: 2.75rem;
}

@media (max-width: 1200px) {
    .made_footer {
        padding-top: calc(6.25rem + 5vw);
        padding-bottom: calc(3.75rem + 5vw);
    }
}

.made_footer .row>div {
    margin-bottom: 20px;
}

.made_footer .custom-logo-link {
    /*   margin-bottom: 44px; */
}

.made_footer .custom-logo-link img {
    width: auto;
    max-height: 60px;
}

.made_footer h3 {
    font-size: 1rem;
    color: #1c211f;
}

.made_footer p {
    color: #1c211f;
    line-height: 1.5;
    font-weight: 500;
    max-width: 360px;
}

.made_footer .made_footer--links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.made_footer .made_footer--links li:not(:last-child) {
    margin-bottom: 15px;
}

.made_footer li a, .main-navigation a {
    font-weight: bold;
    line-height: 1.5;
    color: rgb(27 27 27 / 90%);
    position: relative;
}

.made_footer a:before, .main-navigation a:not(.nav-link):before {
    content: "";
    display: block;
    height: 1px;
    background-color: rgba(28, 33, 31, 0.9);
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: -2px;
    -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0s;
    transition: -webkit-transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0s;
    -o-transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0s;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0s;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0s, -webkit-transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0s;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
}

.made_footer a:hover, .main-navigation a:hover, .main-navigation a:focus {
    color: #000;
}

.made_footer a:hover:before, .main-navigation a:hover:before, .main-navigation a:focus:before {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
}

.made_footer .made_footer--infos {
    list-style: none;
    padding: 0;
    margin: 0;
}

.made_footer .made_footer--infos li {
    font-weight: 500;
    line-height: 1.5;
    color: rgba(28, 33, 31, 0.9);
}

.made_footer .made_footer--infos li:not(:last-child) {
    margin-bottom: 15px;
}

.site-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 5px 0;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    top: 0;
    position: sticky;
    position: -webkit-sticky;
    z-index: 999999;
    background: #fff;
    border-bottom: 1px solid #e7e8e8;
}

.site-header>div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

.main-navigation {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    width: 100%;
    max-width: calc(100% - 100px);
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: relative;
}

.main-navigation>div {
    padding-left: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
}

.main-navigation>div:before {
    content: "";
    display: block;
    width: 1px;
    height: 40px;
    background-color: rgba(28, 33, 31, 0.1);
    position: absolute;
    margin: auto;
    left: 0;
    top: 0;
    bottom: 0;
}

.editorskit-title-hidden .site-main>.hentry .entry-header {
    display: none;
}

a.nav-link {
    padding: 13px 25px;
    min-width: 120px;
    font-size: 1rem;
    border-radius: 100px;
    border: none;
    display: inline-block;
    background: var(--ccp-secondary-color, #005450);
}

a.nav-link:hover, a.nav-link:focus {
    background: var(--ccp-primary-color, #a3cc61);
    color: #fff
}

@media (max-width: 1039px) {
    .navbar-toggler-bar {
        display: block;
        width: 26px;
        height: 2px;
        background: #000;
        -webkit-transition: all 0.3s ease-in-out 0s;
        -o-transition: all 0.3s ease-in-out 0s;
        transition: all 0.3s ease-in-out 0s;
        border-radius: 4px;
        margin-bottom: 5px;
    }

    .toggled .menu-toggle>span:nth-child(1) {
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        position: relative;
        top: 7px;
    }

    .toggled .menu-toggle>span:nth-child(2) {
        opacity: 0;
    }

    .toggled .menu-toggle>span:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        position: relative;
        bottom: 7px;
    }

    .main-navigation>div {
        position: fixed;
        opacity: 0;
        top: 68px;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        pointer-events: none;
        background-color: var(--ccp-primary-dark-color, #005450);
        padding: 0;
    }
    .menu-toggle {

    }

    .site-header {
        /* height: 68px; */
    }

    .main-navigation.toggled ul.cta-menu {
        display: none;
    }

    .main-navigation.toggled>div {
        z-index: 999999;
        opacity: 1;
        pointer-events: initial;
    }
}
@media (max-width: 1039px) and (min-width: 500px) {
    .site-header{
      padding: 10px 0;
    }
    .main-navigation>div {
        top: 80px;
    }
}

@media (min-width: 1040px) {
    .site-branding img {
        height: 48px;
        margin-right: 30px;
    }
    .site-header {
        padding: 15px 0px
    }
}
@media (max-width: 1210px) {
    .main-navigation ul.cta-menu {
        display: none !important;
    }
}
