/* Blok */

.blok>h2:first-of-type {
    padding: 20px 0;
    font-size: 30px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
    background: #6dd0f6;
    color: white;
    margin-bottom: 1em;
}

.blok {
    padding-bottom: 50px;
}

/* Blok guzik */

.blok .wp-block-button {
    cursor: pointer;
    border: 3px solid #02b7fa;
    background: transparent;
    position: relative;
    padding: 5px 14px 8px;
    padding-right: 14px;
    padding-right: 30px;
    color: #02b7fa;
    font-weight: 700;
    line-height: 30px;
    display: inline;
    font-size: 18px;
}

.blok .wp-block-button a {
    color: #02b7fa;
    white-space: nowrap;
}

.blok .wp-block-button:hover {
    text-decoration: none;
    background-color: #f0f0f0;
    color: #02b7fa;
}

.blok .wp-block-button::after {
    border-color: transparent #fff transparent transparent;
    z-index: 2;
    content: '';
    position: absolute;
    top: -3.5155px;
    right: -3px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 20px 0;
}

.blok .wp-block-button::before {
    border-color: transparent #02b7fa transparent transparent;
    z-index: 1;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 18px 18px 0;
}

.blok .wp-block-button i {
    font-style: normal;
    font-size: 0px;
}

.blok .wp-block-button i::before {
    font-family: "Font Awesome 5 Free";
    content: "\f019";
    font-size: 18px;
    color: #02b7fa;
    margin-left: 0.5em;
}

/* Dwie kolumny z broszurą */

.blok.bloktyp2 {
    padding: 30px 15%;
    width: 100%;
    margin: auto;
    font-size: 18px;
}

.blok.bloktyp2 h2 {
    font-size: 22px;
}

.blok.bloktyp2 p {
    margin-bottom: 1em;
}

.blok.bloktyp2 .wp-block-columns {
    display: flex;
}

.blok.bloktyp2>.wp-block-columns>* {
    flex-basis: 50%;
}

.blok.bloktyp2>.wp-block-columns>.wp-block-column:nth-child(2)>.wp-block-columns {
    background-color: #f0f0f0;
    border: 1px solid #bfbebe;
    padding: 3px;
    padding-right: 3px;
    padding-right: 26px;
    margin-left: 20px;
}

.blok.bloktyp2>.wp-block-columns>.wp-block-column:nth-child(2) h2 {
    color: rgb(41, 43, 44);
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
}

.blok.bloktyp2>.wp-block-columns>.wp-block-column:nth-child(2) .wp-block-column:nth-child(2) {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-evenly;
    padding-left: 30px;
}

.blok.bloktyp2 img {
    height: 190px;
}

.blok.bloktyp2 .wp-block-button {
    background-color: #fff;
}

.blok .wp-block-button::after {
    border-right-color: #f0f0f0;
}

/* Dwie kolumny z wideo */

.blok.bloktyp1 {
    padding: 0 15%;
}

.blok.bloktyp1>.wp-block-columns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: auto;
    padding: 35px 0 24px;
}

.blok.bloktyp1>.wp-block-columns .wp-block-columns {
    display: flex;
}

.blok.bloktyp1 .wp-block-columns>.wp-block-column {
    flex-basis: 50%;
    width: 50%;
    flex: 1;
}

.blok.bloktyp1 p {
    margin-bottom: 1em;
}

.blok.bloktyp1 h2 {
    font-size: 22px;
}

.blok.bloktyp1 .wp-block-embed-youtube iframe:first-of-type {
    border: 3px solid #1bb7f1;
    margin: auto;
    display: block;
}

.blok.bloktyp1 .wp-block-embed-youtube figcaption:first-of-type {
    color: rgb(41, 43, 44);
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
    text-align: center;
}

.blok.bloktyp1 figure {
    width: 100%;
    margin: auto;
    margin-left: 10%;
}

.blok.bloktyp1 img {
    width: 100%;
    border: 3px solid #aaa;
}

.blok.bloktyp1 .gform_fields {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.blok.bloktyp1 .gform_fields li {
    flex-basis: 14%;
    display: flex;
    flex-direction: column;
    margin:2px;
}

.blok.bloktyp1 .gform_fields li>div {
    height: 100%;
}

.blok.bloktyp1 .gform_fields li:last-child {
    flex-basis: 100%;
    padding: 5px 0;
    font-size: 18px;
    color: white;
    flex-direction: row;
}

.blok.bloktyp1 .gform_fields li:last-child a {
    color: white;
    text-decoration: underline;
}

.blok.bloktyp1 .gform_fields li select {
    height: 100%;
}

.blok.bloktyp1 .gform_footer .gform_button {
    background-color: rgb(2, 183, 250);
    border-bottom-color: rgb(255, 255, 255);
    border-bottom-style: solid;
    border-bottom-width: 1.6px;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-left-color: rgb(255, 255, 255);
    border-left-style: solid;
    border-left-width: 1.6px;
    border-right-color: rgb(255, 255, 255);
    border-right-style: solid;
    border-right-width: 1.6px;
    border-top-color: rgb(255, 255, 255);
    border-top-style: solid;
    border-top-width: 1.6px;
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: inline-block;
    font-family: sans-serif;
    font-size: 20px;
    font-weight: 700;
    height: 43px;
    line-height: 40px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    top: 2px;
    touch-action: manipulation;
    width: 140px;
    -moz-appearance: button;
}

.blok.bloktyp1 .gform_title {
    font-size: 22px;
    padding-top: 1em;
    font-weight: 600;
    line-height: 30.8px;
    text-align: center;
    margin: 1em auto;
    color: white;
}

.blok.bloktyp1 .gform_wrapper {
    padding-bottom: 2em;
}

.blok.bloktyp1 .gform_fields input, .blok.bloktyp1 .gform_fields select {
    background-color: rgb(240, 240, 240);
    border: none;
    color: rgb(119, 118, 118);
    font-size: 18px;
    font-weight: 400;
    height: 40px;
    line-height: 25px;
    padding-bottom: 5px;
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 5px;
}

.blok.bloktyp1 .gform_footer {
    display: flex;
    justify-content: end;
}

.blok.bloktyp1 .gform_fields .gfield_required {
    display: none;
}

.blok.bloktyp1 .gform_fields input[type="checkbox"] {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    width: 1.5em;
    height: 1.5em;
    display: block;
    border: 2px solid #02b7fa;
    background: rgb(240, 240, 240);
    top: 0;
    margin-right: 1em;
}

.blok.bloktyp1 .gform_fields input[type="checkbox"]:checked {
    background: #02b7fa;
    border: 2px solid rgb(240, 240, 240);
}

/* Dwie kolumny ze slajderem */

.blok.bloktyp9>.wp-block-columns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 70%;
    margin: auto;
    padding: 35px 0 24px;
}

.blok.bloktyp9>.wp-block-columns .wp-block-columns {
    display: flex;
}

.blok.bloktyp9 .wp-block-columns>.wp-block-column {
    width: 50%;
}

.blok.bloktyp9 .wp-block-columns>.wp-block-column:nth-child(2) img {
    width: 60%;
    display: block;
    margin: auto;
}

.blok.bloktyp9 p {
    margin-bottom: 1em;
}

/* Slajder zwykły */

.blok.bloktyp12 {
    /* padding: 30px 10% 50px 10%; */
    margin: auto;
    margin-top: 50px;
}

.blok.bloktyp12 .wp-block-group {
    width: 70%;
    margin: auto;
}

.blok.bloktyp12 .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    width: 80%;
    margin: auto;
}

.blok.bloktyp12 .wp-block-embed__wrapper iframe, .blok.bloktyp12 .wp-block-embed__wrapper object, .blok.bloktyp12 .wp-block-embed__wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    margin: auto;
}

.blok.bloktyp12 .slick-prev {
    transform: rotate(180deg);
}

.blok.bloktyp12 .slick-prev::before {
    content: url("../graphics/btn_next_slider.png");
}

.blok.bloktyp12 .slick-next::before {
    content: url("../graphics/btn_next_slider.png");
}

.blok.bloktyp12 figcaption {
    text-align: center;
}

/* Slajder pełnoekranowy */

.blok.bloktyp8 {
    /* padding: 30px 10% 50px 10%; */
    margin: auto;
    margin-top: 50px;
}

.blok.bloktyp8 .wp-block-group {
    margin: auto;
}

.blok.bloktyp8 .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    width: 80%;
    margin: auto;
}

.blok.bloktyp8 .wp-block-embed__wrapper iframe, .blok.bloktyp8 .wp-block-embed__wrapper object, .blok.bloktyp8 .wp-block-embed__wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    margin: auto;
}

.blok.bloktyp8 figcaption {
    text-align: center;
}

/* Lista obrazków */

.blok.bloktyp3 {
    text-align: center;
    margin-bottom: 20px;
    margin: auto;
}

.blok.bloktyp3 figure {
    flex: 1;
}

.blok.bloktyp3 .wp-block-group__inner-container {
    width: 70%;
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 40px;
    margin: auto;
}

.blok.bloktyp3 .wp-block-group__inner-container a {
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
}

.blok.bloktyp3 .wp-block-group__inner-container img {
    border: 3px solid white;
    width: 100%;
    object-fit: contain;
}

/* Pytania i odpowiedzi */

.blok.bloktyp11 .wp-block-table {
    width: 70%;
    margin: auto;
}

.blok.bloktyp11 tr {
    display: flex;
    flex-direction: column;
}

.blok.bloktyp11 td {
    width: 100%;
}

.blok.bloktyp11 td:nth-child(1) {
    cursor: pointer;
    border-bottom-color: rgb(191, 189, 189);
    border-bottom-style: solid;
    border-bottom-width: 0.8px;
    color: rgb(41, 40, 40);
    font-size: 18px;
    font-weight: 700;
    height: 43px;
    line-height: 22px;
    margin-bottom: 9px;
    /* margin-left: 35px; */
    margin-top: 0px;
    padding-top: 4px;
    position: relative;
}

.blok.bloktyp11 td:nth-child(1)::after {
    border-bottom-color: rgba(0, 0, 0, 0);
    border-bottom-style: solid;
    border-bottom-width: 12.8px;
    border-left-color: rgb(2, 183, 250);
    border-left-style: solid;
    border-left-width: 14.4px;
    border-right-color: rgba(0, 0, 0, 0);
    border-right-style: solid;
    border-right-width: 0px;
    border-top-color: rgba(0, 0, 0, 0);
    border-top-style: solid;
    border-top-width: 12.8px;
    content: " ";
    cursor: pointer;
    left: -35px;
    position: absolute;
}

.blok.bloktyp11 td:nth-child(2) {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s;
    margin-bottom: 30px;
    /* display:none; */
}

.blok.bloktyp11 td.visible {
    max-height: 10000px;
    transition: max-height 1s;
    /* display:block; */
}

.blok.bloktyp11 td.open {
    border: none;
}

.blok.bloktyp11 td.open::after {
    border-bottom-color: rgba(0, 0, 0, 0);
    border-bottom-style: solid;
    border-bottom-width: 0px;
    border-left-color: rgba(0, 0, 0, 0);
    border-left-style: solid;
    border-left-width: 12.8px;
    border-right-color: rgba(0, 0, 0, 0);
    border-right-style: solid;
    border-right-width: 12.8px;
    border-top-color: rgb(4, 116, 175);
    border-top-style: solid;
    border-top-width: 14.4px;
}

/* Lista obrazków z opisami */

.blok.bloktyp4 {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    margin: auto;
}

.blok.bloktyp4 .wp-block-group {
    margin: auto;
    width: 70%;
}

.blok.bloktyp4 .wp-block-group__inner-container {
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 40px;
}

.blok.bloktyp4 .wp-block-group__inner-container a {
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
}

.blok.bloktyp4 .wp-block-group__inner-container img {
    border: 3px solid white;
}

.blok.bloktyp4 figure {
    flex: 1;
    font-size: 18px;
}

.blok.bloktyp4 figure strong {
    font-weight: 700;
}

.blok.bloktyp4 img {
    width: 100%;
}

.blok.bloktyp4 figure+figure {
    margin: 0 0 0 1em;
}

/* Baner */

.blok.bloktyp7 img {
    width: 100%;
    height: auto;
}

.blok.bloktyp10 .wp-block-button {
    background-color: rgb(2, 183, 250);
    border-bottom-color: rgb(255, 255, 255);
    border-bottom-style: solid;
    border-bottom-width: 2.4px;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-left-color: rgb(255, 255, 255);
    border-left-style: solid;
    border-left-width: 2.4px;
    border-right-color: rgb(255, 255, 255);
    border-right-style: solid;
    border-right-width: 2.4px;
    border-top-color: rgb(255, 255, 255);
    border-top-style: solid;
    border-top-width: 2.4px;
    box-sizing: border-box;
    color: rgb(2, 183, 250);
    cursor: pointer;
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    max-width: 50%;
    margin: 1em auto;
    padding-bottom: 8px;
    padding-left: 14px;
    padding-right: 30px;
    padding-top: 5px;
    position: relative;
    text-align: center;
    text-decoration: rgb(2, 183, 250);
    text-decoration-color: rgb(2, 183, 250);
    text-decoration-line: none;
    text-decoration-style: solid;
}

.blok.bloktyp10 .wp-block-button::after {
    border-right-color: inherit;
}

.blok.bloktyp10 .wp-block-button a {
    color: white;
}