/**
 * @file
 * Subtheme specific CSS.
 */

@font-face {
    font-family: "Inter Regular";
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/Inter-Regular.woff") format("woff");
}

@font-face {
    font-family: "Inter Medium";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/Inter-Medium.woff") format("woff");
}

@font-face {
    font-family: "Inter SemiBold";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/Inter-SemiBold.woff") format("woff");
}

@font-face {
    font-family: "Inter Bold";
    font-style: normal;
    font-weight: bold;
    src: url("../fonts/Inter-Bold.woff") format("woff");
}

body {
    font-family: "Inter Regular";
    font-style: normal;
    font-weight: normal;
    background: unset !important;
}

body.user-logged-in {
    padding-top: 5em;
}

.navbar {
    padding: 0;
}

.primary.nav-tabs .nav-link {
    color: var(--bs-nav-tabs-link-active-color);
}

.primary.nav-tabs .nav-link.active {
    background-color: #f6f6f2;
}

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

h1 {
    font-size: 40px;
    line-height: 54px;
}

h2 {
    font-size: 32px;
    line-height: 40px;
}

h3,
h3 a {
    font-size: 24px;
    line-height: 34px;
    color: initial;
    text-decoration: unset;
}

h3 a {
    display: flex;
    justify-content: space-between;
    padding-right: 10px;
}

.text-white {
    color: #ffffff;
}

.text-blue {
    font-family: "Inter Regular";
    font-size: 20px;
    line-height: 28px;
    color: #293682;
    max-width: 745px;
    position: relative;
    z-index: 999;
}

.text-indent {
    padding-left: calc(22vw - 10px);
}

.semi-bold {
    font-family: "Inter SemiBold";
}

.text-formatted a.button-link {}

p.text-indent:last-child,
p.text-blue,
.text-formatted h2 {
    margin-bottom: 60px;
}

.text-formatted h2 {
    margin-top: 60px;
}

.node--type-story hr {
    max-width: 460px;
    color: #5178CD;
    margin-bottom: 40px;
    margin-top: 60px;
    opacity: 1;
}

#navbar-main {
    display: block;
}

.hero-image img {
    object-fit: cover;
    width: 100%;
    height: 80vh;
}

.page-node-type-skn .hero-image img {
    height: 100vh;
    object-position: top;
}

/* .path-frontpage .hero-image .field--name-field-media-image {
    position: relative;
    display: inline-block;
} */

.hero-image .field--name-field-media-image::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 366px;
    display: inline-block;
    background: -moz-linear-gradient(180deg, rgba(22, 32, 93, 50%) 0%, rgba(22, 32, 93, 0%) 100%);
    /* FF3.6+ */
    background: -webkit-linear-gradient(180deg, rgba(22, 32, 93, 50%) 0%, rgba(22, 32, 93, 0%) 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(180deg, rgba(22, 32, 93, 50%) 0%, rgba(22, 32, 93, 0%) 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(180deg, rgba(22, 32, 93, 50%) 0%, rgba(22, 32, 93, 0%) 100%);
    /* IE10+ */
    background: linear-gradient(180deg, rgba(22, 32, 93, 50%) 0%, rgba(22, 32, 93, 0%) 100%);
    opacity: 50%;
}

.hero-image .field--name-field-media-image::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: inline-block;
    background: linear-gradient(-180deg, rgba(0, 0, 0, 0%) 0%, rgba(22, 32, 93, 10%) 100%);
}

.path-frontpage .hero-image img {
    object-position: 20% 50%;
}

.main-content {
    padding: 0 !important;
}

.bg-image {
    position: relative;
}

.bg-image .title {
    font-family: "Inter Medium";
    font-size: 44px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-align: center;
    letter-spacing: -1px;
    line-height: 52px;
}

.text-center {
    text-align: center;
}

.description p {
    font-size: 20px;
    color: #293682;
}

.bg-light {
    background-color: #F2F2F7 !important;
    padding: 5em 0;
}

.field--type-image img {
    margin: 0;
}

.field--name-field-media-oembed-video .field__item {
    position: relative;
    padding-bottom: 56.25%;
}

.field--name-field-media-oembed-video .field__item .media-oembed-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ----------- Main navigation ----------- */
header {
    min-height: 160px;
    background-color: #293682;
}

#navbar-top {
    z-index: 999;
    background-color: transparent !important;
    position: absolute;
    right: 0;
    left: 0;
    margin-inline: auto;
    width: 100%;
    padding-top: 35px;
}

#navbar-top>section {
    align-items: flex-start;
}

#navbar-top .logo {
    flex-grow: 1;
    z-index: 999;
}

#block-csmbarrio-homebannerbuttons,
.block-language {
    z-index: 999;
}

#navbar-top .logo svg {
    width: 250px;
    max-width: 250px;
    fill: #fff;
}

#navbar-top svg .cls-1 {
    fill: #fff;
}

.contact-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.block-language a {
    font-family: "Inter Medium";
    color: #ffffff;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: unset;
}

.block-language .nav-link {
    padding-top: 0;
    padding-bottom: 0;
}

#navbar-top .navbar-form {
    position: absolute;
    right: 12px;
    top: 35px;
}
#superfish-main {
    opacity: 0;
}
.csm-menu {
    width: unset;
}
.user-logged-in .csm-menu {
position: unset;
}
div.sf-accordion-toggle.sf-style-blue>a:after {
    font-size: 3em;
    right: 0;
}

ul#superfish-main-accordion {
    position: absolute;
    height: 100vh;
    display: flex !important;
    flex-direction: row;
    padding-top: 10em;
    align-items: center;
    flex-wrap: wrap;
    align-content: flex-start;
    left: 0 !important;
    top: 0 !important;
    padding-left: 8em;
}

/* ul#superfish-main-accordion {
    position: unset;
    height: 100vh;
    display: flex !important;
    flex-direction: row;
    padding-top: 4em;
    align-items: center;
    flex-wrap: wrap;
    align-content: flex-start;
} */
ul#superfish-main-accordion::before {
    content: '';
    display: block;
    position: absolute;
    width: 100vw;
    background: linear-gradient(180deg, rgba(22, 32, 93, 1) 0%, rgba(48, 92, 207, 1) 100%);
    height: 100vh;
    top: 0;
    left: 0;
}

div.sf-accordion-toggle.sf-style-blue a {
    font-family: "Inter Bold";
    font-size: 16px;
    background: transparent;
    text-decoration: none;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 2.5em;
}

div.sf-accordion-toggle.sf-style-blue a.sf-expanded,
ul.sf-menu.sf-style-blue li,
ul.sf-menu.sf-style-blue.sf-navbar {
    background: transparent;
    z-index: 999;
}

ul.sf-menu.sf-style-blue li,
ul.sf-menu.sf-style-blue.sf-navbar {
    width: 33.33%;
    padding-right: 1em;
}

ul.sf-menu.sf-style-blue a,
ul.sf-menu.sf-style-blue a:visited,
ul.sf-menu.sf-style-blue span.nolink {
    font-family: "Inter SemiBold";
    font-size: 16px;
    text-decoration: unset;
    padding: 1.75em 1em;
}

ul.sf-menu.sf-style-blue li:hover,
ul.sf-menu.sf-style-blue li.sfHover,
ul.sf-menu.sf-style-blue a.is-active,
ul.sf-menu.sf-style-blue a:focus,
ul.sf-menu.sf-style-blue a:hover,
ul.sf-menu.sf-style-blue span.nolink:hover {
    background: transparent;
    color: #fff;
    text-decoration: underline;
}
.view.view-hero-image::before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #16205D;
    background: linear-gradient(0deg, rgba(22, 32, 93, 0) 0%, rgba(22, 32, 93, 1) 100%, rgba(22, 32, 93, 0) 100%);
    opacity: 0.5;
}
.view-hero-image .view-content.row {
    margin: 0;
}

.view-hero-image .view-content.row .views-row {
    padding: 0;
    display: flex;
    justify-content: center;
}

.view-hero-image .view-content.row .views-row>div {
    width: 100%;
}

.view-hero-image .page-title {
    position: absolute;
    display: flex;
    flex-direction: column;
    padding-bottom: 10%;
    color: #ffffff;
    bottom: 0;
}

.view-hero-image .page-title .title {
    max-width: 700px;
}

.path-frontpage .view-hero-image .page-title .title {
    margin-bottom: 1em;
}

/* ----------- Home ----------- */

.home-block-first h3 {
    display: flex;
    justify-content: space-between;
    margin: 1em 0 1.5em;
}

.home-block-first h3:after {
    display: inline-block;
    transform: scale(0.8);
    content: "\2192";
    background-color: #ADC9F2;
    color: #ffffff;
    font-size: 25px;
    margin-left: 20px;
    border-radius: 100%;
    padding: 0px 5px;
    transition: margin-left 0.5s ease 0s;
}

.home-block-first h3 a:hover {
    color: initial;
    text-decoration: underline;
}

.home-block-first h3:hover::after {
    background-color: #B91F2C;
    text-decoration: none !important;
}

.home-block-first>.row {
    justify-content: center;
}

.home-block-first .col .ds-1col {
    padding-bottom: 10px;
    border-bottom: 1px solid #ADC9F2;
    margin-bottom: 2em;
}

.home-block-first .col .ds-1col img {
    display: block;
    width: 100%;
    height: auto;
}

.block-page-title-block h1 {
    color: #ffffff;
    font-family: "Inter Regular";
}

.home-block-third .field__item {
    text-align: center;
    margin-bottom: 1em;
}

.home-block-third .paragraph--type--zdjecie-tekst {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 2em;
}

.home-block-third img {
    max-width: 170px;
    max-height: 130px;
    width: auto;
}

.home-block-third .field--name-field-link a {
    font-size: 19px;
    text-decoration: none;
    color: #293682;
}

.home-block-third h3 {
    max-width: 480px;
    color: #293682;
}

.home-block-third .blue-line {
    border-top: 1px solid #ADC9F2;
}

.paragraph--view-mode--bg-image-text-link .field--type-entity-reference {
    margin: 0;
}

.paragraph--view-mode--bg-image-text-link {
    position: relative;
}

.paragraph--view-mode--bg-image-text-link .text-group {
    position: absolute;
    top: 62%;
    left: 42%;
    transform: translate(-35%, -50%);
    color: #ffffff;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-block-five.row {
    margin: 0;
}

.home-block-five p {
    font-family: "Inter SemiBold";
    max-width: 460px;
    font-size: 18px;
    line-height: 24px;
}

.home-block-five a {
    font-family: "Inter SemiBold";
    color: #ffffff;
    font-size: 16px;
    padding: 15px 30px;
    border: 2px solid #ffffff;
    border-radius: 3px;
    text-decoration: none;
    display: block;
}

#block-csmbarrio-odnosnikihomepage {
    display: block;
}

#block-csmbarrio-odnosnikihomepage ul {
    position: absolute;
    display: flex;
    flex-direction: row;
    padding-bottom: 6%;
    bottom: 0;
    list-style-type: none;
    padding-left: 0;
    gap: 25px;
}

#block-csmbarrio-odnosnikihomepage ul li a {
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 3px;
    padding: 10px 30px;
    text-decoration: unset;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

#block-csmbarrio-odnosnikihomepage ul li a:hover,
.home-block-five a:hover {
    color: #fff !important;
    border: 2px solid #305CCF;
    background-color: #305CCF;
}

/* ----------- O nas ----------- */
.about-csm h2 {
    margin-bottom: 0;
}

.icon-title .field--name-field-image,
.icon-title .field--name-field-image img {
    margin-bottom: 0;
}

.about-csm .text-navy-blue p {
    color: #293682;
    font-size: 20px;
    max-width: 840px;
    line-height: 28px;
}

.about-csm .tekst-pod-zdjeciem {
    display: flex;
    flex-direction: column;
}

/* .about-csm .tekst-pod-zdjeciem img {
    max-height: 670px;
} */
.about-csm .col:nth-child(1) {
    width: 58.33333333%;
    flex: unset;
}

.about-csm .col:nth-child(2) {
    width: 41.66666667%;
    flex: unset;
}

.about-csm .col:nth-child(1) .tekst-pod-zdjeciem {
    height: 100%;
    position: relative;
}

.about-csm .col:nth-child(1) .field--name-field-tresc {
    height: 100%;
    position: relative;
    border-left: 1px solid #5178CD;
    padding-left: 20px;
}

.about-csm .col:nth-child(1) .field--name-field-tresc p {
    position: absolute;
    bottom: 0;
}

.about-csm .tekst-pod-zdjeciem img {
    height: 600px;
    object-fit: cover;
}

.about-csm .col:nth-child(1) .field--name-field-image img {
    position: absolute;
    right: 0;
    max-width: 983px;
    z-index: 999;
}

.about-csm .tekst-pod-zdjeciem p {
    max-width: 485px;
}

.about-csm .icon-title img {
    max-width: 140px;
}

.about-csm .icon-title.ws img {
    height: 125px;
    width: auto;
}

.about-csm .icon-title .d-flex {
    gap: 50px;
}

.sale-csm .field--name-field-tytul {
    font-size: 19px;
    color: #293682;
    font-family: "Inter SemiBold";
    margin: 5.5em 0 2.5em;
}

.sale-csm .field--name-field-image,
.sale-csm .field--name-field-image img {
    margin: 0;
}

.about-csm .slide--caption--bottom .slide__caption {
    position: relative;
    padding: 20px 0;
}

.about-csm .slide--caption--bottom .slide__caption::after {
    content: '';
    height: 2px;
    background-color: #5178CD;
    width: 100%;
    display: block;
}

.about-csm .slide--caption--bottom .slide__caption h2 {
    font-family: "Inter SemiBold";
    font-size: 16px;
    margin-bottom: 1em;
    margin-top: 1em;
}

.gallery-bg {
    background-color: #F2F2F7;
    border-top: 130px solid #fff;
}

.slick--optionset--galeria-o-nas {
    position: relative;
    top: -80px;
}

.slick--optionset--galeria-o-nas .slick__arrow {
    position: absolute;
    right: 32px;
    bottom: 48px;
}

.about-csm .slick-prev,
.about-csm .slick-next {
    width: 30px;
    height: 30px;
}

.about-csm .slick-next:before,
.about-csm .slick-prev:before {
    display: inline-block;
    transform: scale(0.8);
    color: #ffffff;
    font-size: 22px;
    border-radius: 100%;
    padding: 4px 5px;
    opacity: 1;
}

.about-csm .slick-next:before {
    content: "\2192";
    background-color: #B91F2C;
}

.about-csm .slick-prev {
    left: -45px;
}

.about-csm .slick-prev:before {
    content: "\2190";
    background-color: #5178CD;
}

/* ----------- Wyposażenie ----------- */
.equipment .view-filters {
    margin-top: 2em;
}

.equipment .views-exposed-form .d-flex #edit-actions {
    width: 100%;
}

.equipment .views-exposed-form .d-flex {
    justify-content: space-between;
    align-items: flex-start;
}

.equipment .form-item-keys {
    display: flex;
    gap: 20px;
}

.equipment .form-item-keys input {
    width: 380px;
    background-color: #F2F2F7;
    border: 1px solid #DADADA;
    border-radius: 3px;
}

.equipment .form-item-keys input::placeholder {
    color: #474746;
    font-family: "Inter SemiBold";
    font-size: 14px;
}

.equipment .bef-exposed-form fieldset legend,
.equipment .form-item-keys label {
    font-family: "Inter SemiBold";
    font-size: 20px;
    color: #293682;
}

.equipment .fieldset-wrapper>.checkbox {
    display: flex;
    gap: 40px;
}

.equipment .checkbox .bef-checkboxes {
    display: flex;
    margin-top: 1em;
    flex-wrap: wrap;
}

.equipment .checkbox .bef-checkboxes label {
    font-family: "Inter Regular";
    color: #808080;
}

.equipment .checkbox {
    font-family: "Inter Bold";
    font-size: 20px;
    margin-right: 1em;
}

.equipment .checkbox .form-check-input[type=checkbox] {
    border-radius: 2px;
    background-color: #F2F2F7;
    border: 1px solid #DADADA;
}

.equipment .checkbox .form-check-input:checked[type=checkbox] {
    background-color: #293682;
}

.equipment .title {
    font-family: "Inter SemiBold";
    font-size: 19px;
}

.equipment .view-content {
    padding-left: 15%;
}

.equipment .view-content .views-row img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;

}

.description p {
    font-size: 20px;
    color: #293682;
    line-height: 28px;
}

.equipment .link {
    display: flex;
    justify-content: center;
}

.equipment .link a {
    font-family: "Inter SemiBold";
    border: 2px solid #293682;
    border-radius: 3px;
    padding: 10px 80px;
    text-decoration: unset;
    color: #293682;
}

/* ----------- dla Nauczycieli/dla Studentow ----------- */

.for-teachers .description p,
.for-students .description p {
    margin-bottom: 3em;
}

.for-teachers .description::after,
.for-students .description::after {
    content: '';
    height: 1px;
    background-color: #5178CD;
    width: 170px;
    display: block;
}

.text-navy-blue .col-one {
    font-family: "Inter Medium";
    color: #293682;
}

.text-block-one .col-one p:first-child {
    max-width: 365px;
    margin-bottom: 3em;
}

.for-students .text-navy-blue .col-two {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.for-students .text-navy-blue .col-two p {
    max-width: 365px;
    width: 100%;
}

.for-teachers .text-navy-blue .col-one a,
.for-students .text-navy-blue .col-two a,
.for-students.bg-image .bg-text a {
    font-family: "Inter SemiBold";
    border-radius: 3px;
    padding: 10px 30px;
    text-decoration: unset;
    background-color: transparent;
    display: flex;
    justify-content: center;
    max-width: 365px;
    width: 100%;
}

.for-teachers .text-navy-blue .col-one a,
.for-students .text-navy-blue .col-two a {
    color: #293682;
    border: 2px solid #293682;
}

.for-students.bg-image .bg-text a {
    color: #ffffff;
    border: 2px solid #ffffff;
}

.for-teachers .text-navy-blue .col-one a::after,
.for-students .text-navy-blue .col-two a::after {
    background-image: url(../images/download.png);
    background-repeat: no-repeat;
    background-size: 100%;
    margin-left: 30px;
    width: 16px;
    height: 24px;
    content: "";
}

.for-students.bg-image .bg-text a::after {
    content: "\2192";
    display: inline-block;
    transform: scale(0.8);
    color: #ffffff;
    font-size: 25px;
    margin-left: 20px;
    padding: 0px 6px;
    line-height: 1;
}

.for-teachers.text-block-three ul,
.for-students.text-block-three ul {
    list-style-type: none;
    padding: 0;
}

.for-teachers.text-block-three ul li,
.for-students.text-block-three ul li {
    padding-bottom: 25px;
    max-width: 310px;
}

.for-teachers.text-block-three ul li a,
.for-students.text-block-three ul li a {
    color: initial;
    text-decoration: unset;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.for-teachers.text-block-three ul li a::after,
.for-students.text-block-three ul li a::after {
    display: inline-block;
    transform: scale(0.8);
    content: "\2192";
    background-color: #293682;
    color: #ffffff;
    font-size: 20px;
    margin-left: 20px;
    border-radius: 100%;
    padding: 0px 6px;
    transition: margin-left 0.5s ease 0s;
}

.for-teachers .field--name-field-img-full-width {
    margin: 0;
}

.for-students .text-block-one .row {
    padding-right: 3em;
    padding-left: 3em;
}

.for-students .text-block-one .row .col-one,
.for-students .text-block-one .row .col-two {
    padding-right: 3em;
}

.for-students .text-block-one .row ol {
    padding-left: 1.5rem;
}

.for-students .text-block-one .row ol li {
    margin-bottom: 1.5em;
    padding-left: 15px;
}

.for-students .text-block-one .row ol li::marker {
    font-family: "Inter Bold";
    color: #5178CD;
    letter-spacing: -2px;
}

.for-students.bg-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.for-students.bg-image .bg-text {
    position: absolute;
    color: #ffffff;
}

.for-students.bg-image .bg-text h2 {
    margin-bottom: 1.5em;
}

.for-students.bg-image .bg-text p {
    margin-bottom: 4em;
}

/* ----------- News ----------- */
.node--type-wydarzenie-i-aktualnosci {
    position: relative;
}

.view-news img {
    width: 100%;
    height: auto;
}

.news .field--name-node-post-date {
    font-family: "Inter Medium";
    font-size: 15px;
    color: #293682;
    margin-bottom: 5px;
}

.news .text-group {
    padding-bottom: 2em;
    padding-right: 1em;
}

.news .title {
    font-family: "Inter Bold";
    font-size: 19px;
    line-height: 26px;
    margin-bottom: 1em;
}

.news .title a,
.calendar .title a {
    color: #000;
    text-decoration: unset;
    display: block;
}

.news .title a:hover {
    text-decoration: underline;
}

.news-view .node--type-story {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.calendar {
    background: #f2f2f2;
    padding-top: 4em;
    padding-left: 3em;
}

.calendar h2 {
    margin-bottom: 2em;
}

.view-news .node--type-story {
    position: relative;
}

.news-view .node--type-story::before,
.calendar .title::before {
    content: '';
    width: calc(100% - 70px);
    height: 1px;
    background-color: #862A28;
    position: absolute;
    bottom: 0;
}

.calendar .calendar-view-arch .title::before {
    background-color: #305CCF;
}

.news-view .node--type-story::after,
.calendar .title::after {
    content: "\2192";
    background-color: #862A28;
    color: #ffffff;
    font-size: 23px;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: -12px;
    right: 20px;
}

.calendar .calendar-view-arch .title::after {
    background-color: #305CCF;
}

.calendar-view .field--name-field-data-wydarzenia {
    font-family: "Inter Medium";
    font-size: 15px;
    margin-bottom: 5px;
}

.calendar-view .view-header h3 {
    font-family: "Inter Bold";
    font-size: 16px;
    text-transform: uppercase;
}

.calendar-view-now .field--name-field-data-wydarzenia,
.calendar-view-now .view-header h3 {
    color: #862A28;
}

.calendar-view-arch .field--name-field-data-wydarzenia,
.calendar-view-arch .view-header h3 {
    color: #305CCF;
}

.calendar-view .title {
    font-family: "Inter Medium";
    font-size: 19px;
    line-height: 26px;
    margin-bottom: 2em;
    padding-bottom: 1em;
}

.calendar-view .attachment {
    margin-top: 4em;
}

.back-link a {
    font-size: 24px;
    color: #000;
    text-decoration: unset;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 50px;
    line-height: 0;
}

.back-link a::before {
    content: "\2192";
    background-color: #862A28;
    color: #ffffff;
    font-size: 23px;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    transform: rotate(180deg);
}

/* ----------- Filmy ----------- */

.node--type-films .field--name-field-tytul {
    font-family: "Inter SemiBold";
    font-size: 19px;
    line-height: 26px;
    margin-top: 15px;
}

.skn .col:nth-child(1)>div {
    height: 100%;
    position: relative;
}

.skn img {
    height: 750px;
    object-fit: cover;
}

.skn .col:nth-child(1) img {
    position: absolute;
    right: 0;
    max-width: 978px;
    z-index: 999;
}

.page-node-type-skn .field--name-body .text-indent:first-of-type,
.page-node-type-skn .field--name-body :not(.text-indent)+.text-indent,
.node--type-patient .text-formatted .text-indent:first-of-type,
.node--type-patient .text-formatted :not(.text-indent)+.text-indent,
.node--type-publication .field--name-body .text-indent:first-of-type,
.node--type-publication .field--name-body :not(.text-indent)+.text-indent {
    position: relative;
}

.page-node-type-skn .field--name-body .text-indent:first-of-type::before,
.page-node-type-skn .field--name-body :not(.text-indent)+.text-indent::before,
.node--type-patient .text-formatted .text-indent:first-of-type::before,
.node--type-patient .text-formatted :not(.text-indent)+.text-indent::before,
.node--type-publication .field--name-body .text-indent:first-of-type::before,
.node--type-publication .field--name-body :not(.text-indent)+.text-indent::before {
    content: '';
    display: block;
    width: 170px;
    height: 1px;
    background-color: #5178CD;
    position: absolute;
    left: 0;
}

.page-node-type-skn .management ul,
.node--type-publication .field--name-field-text-one ul {
    display: flex;
    justify-content: space-between;
    padding-left: calc(22vw - 10px);
    margin: 4em 0;
    gap: 50px;
}

.page-node-type-skn .management ul li::marker,
.node--type-publication .field--name-field-text-one ul li::marker {
    content: '';
}

.page-node-type-skn .management ul li,
.node--type-publication .field--name-field-text-one ul li {
    color: #293682;
    max-width: 362px;
    width: 100%;
    border-top: 1px solid #5178CD;
    padding-top: 2em;
}

.schedule {
    background: #F2F2F2;
    padding: 5em 0;
}

.schedule h2 {
    margin-bottom: 2em;
}

.schedule table {
    font-size: 16px;
}

.schedule tr {
    background: transparent;
    border: unset;
}

.schedule td {
    border: unset;
    padding: 0 45px 0 0px;
}

.node--type-patient .field-name-field-single-img {
    position: relative;
    left: calc(-1 * (100vw - 100%) / 2);
    width: calc(100vw - (100vw - 100%) / 2);
    overflow: hidden;
}

.cover .text-right {
    display: flex;
    gap: 140px;
}

.cover .text-right>div {
    width: 50%;
}

.cover .text-right img {
    box-shadow: rgba(50, 50, 93, 0.5) 0px 20px 27px -5px, rgba(0, 0, 0, 0.2) -18px 8px 16px -2px;
}

/* ----------- Kontakt ----------- */
.site-footer {
    background: #212B68 !important;
}

.site-footer__bottom {
    border: none;
}

.contact-block .container-xl {
    position: relative;
}

.contact-block,
.contact-block h2,
.contact-block p,
.contact-block a,
.site-footer .content a {
    color: #ffffff;
}

.contact-block .first-row {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
}

.contact-block .first-row .platforms {
    display: flex;
    width: auto;
    gap: 15px;
}

.contact-block .footer-logo {
    max-width: 220px;
}

.contact-block .footer-logo img {
    margin-bottom: 4em;
}

.social-media-links--platforms {
    padding: 0 !important;
}

#block-csmbarrio-glownanawigacja-2 {
    margin: 0 auto;
}

#block-csmbarrio-glownanawigacja-2 ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 2em;
}

#block-csmbarrio-glownanawigacja-2 ul li {
    width: 25.33%;
}

#block-csmbarrio-glownanawigacja-2 ul li a {
    font-family: "Inter SemiBold";
    font-size: 16px;
    text-decoration: unset;
    padding-bottom: 1.75em;
}

#block-csmbarrio-glownanawigacja-2 ul li a:hover,
#block-csmbarrio-glownanawigacja-2 ul li a.active {
    color: #fff !important;
    text-decoration: underline;
}

/* ----------- Mobile ----------- */

@media only screen and (min-width: 1500px) {
    .container-xl {
        max-width: 1460px !important;
    }
}


@media only screen and (max-width: 1400px) {
    .page-node-type-skn .hero-image img {
        height: 80vh;
        object-position: top;
    }
}

@media only screen and (max-width: 1200px) {
    .view-hero-image .page-title {
        padding-bottom: 13%;
    }

    .for-teachers .text-block-one .col-two,
    .bg-light.for-teachers .col-two,
    .for-teachers.for-teachers.text-block-three .col-two {
        padding-left: 2em;
    }

    .for-students.bg-image img {
        height: 500px;
        object-fit: cover;
    }

    .page-node-type-skn .management ul {
        padding-left: 0;
    }
}

@media only screen and (min-width: 992px) {
    .sale-csm .text-left .col-one {
        order: 2;
    }

    .sale-csm .text-left .col-two::before,
    .sale-csm .text-right .col-two::before {
        content: '';
        height: 1px;
        background-color: #5178CD;
        width: 75%;
        display: block;
        position: absolute;
        top: 50px;
    }

    .sale-csm .text-left .col-two::before {
        right: -12px;
    }

    .sale-csm .text-right .col-two::before {
        left: -12px;
    }

    .sale-csm .text-left .col-two {
        padding-right: 10%;
        position: relative;
    }

    .sale-csm .text-right .col-two {
        padding-left: 10%;
        position: relative;
    }

    .news {
        padding-right: 0;
    }

    .calendar {
        padding-bottom: 50px;
        border-left: 30px solid #FFF;
        z-index: 9999999;
    }

    .calendar::after {
        content: '';
        background: #f2f2f2;
        position: absolute;
        right: 0;
        width: 20%;
        height: 100%;
        top: 0;
        border-top: 116px solid #FFF;
        z-index: -99;
    }
}

@media only screen and (max-width: 991px) {

    .path-frontpage .hero-image img {
        object-position: unset;
    }

    .home-block-five img {
        height: 480px;
        object-fit: cover;
    }

    .about-csm .tekst-pod-zdjeciem p {
        max-width: 485px;
    }

    .sale-csm .field--name-field-tytul {
        margin: 1em 0;
    }

    .sale-csm .section-row {
        margin: 3em 0;
    }

    .sale-csm .section-row .col-two .field--name-field-tresc {
        border-bottom: 1px solid #5178CD;
        padding-bottom: 1em;
    }

    .gallery-bg {
        border-top: 80px solid #fff;
    }

    .slick--optionset--galeria-o-nas {
        top: -40px;
    }

    .equipment .view-content {
        padding-left: 0;
    }

    .equipment .link a {
        padding: 10px 40px;
    }

    .for-students .text-block-one .row {
        padding-right: 0;
        padding-left: 0;
    }

    .contact-block .second-row {
        justify-content: flex-end;
    }

    .page-node-type-skn .field--name-body .text-indent:first-of-type::before,
    .page-node-type-skn .field--name-body :not(.text-indent)+.text-indent::before,
    .node--type-patient .text-formatted .text-indent:first-of-type::before,
    .node--type-patient .text-formatted :not(.text-indent)+.text-indent::before {
        width: 140px;
    }
}

@media only screen and (max-width: 767px) {

    h1 {
        font-size: 32px;
        line-height: 40px;
    }

    h2 {
        font-size: 28px;
        line-height: 40px;
    }

    .text-indent {
        padding-left: 0;
    }

    #navbar-top>section {
        align-items: flex-start;
        justify-content: unset;
        max-width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }

    ul#superfish-main-accordion {
        max-width: unset;
        padding-left: 1em;
    }

    ul.sf-menu.sf-style-blue li,
    ul.sf-menu.sf-style-blue.sf-navbar {
        width: 50%;
    }

    #block-csmbarrio-glownanawigacja-2 ul {
        display: flex;
        flex-direction: row;
        margin-top: 0;
    }

    #block-csmbarrio-glownanawigacja-2 ul li {
        width: 50%;
        padding-left: 2em;
    }

    #block-csmbarrio-glownanawigacja-2 ul li a {
        font-family: "Inter SemiBold";
        font-size: 14px;
        text-decoration: unset;
        padding: 10px 0;
    }

    .view-hero-image .page-title {
        padding-bottom: 20%;
    }

    #block-csmbarrio-odnosnikihomepage ul {
        padding-bottom: 8%;
    }

    .home-block-third img {
        max-width: 100px;
        max-height: 90px;
    }

    .path-frontpage .bg-image .title {
        width: 80%;
    }

    .about-csm .second-row {
        flex-direction: column;
    }

    .about-csm .col {
        width: 100% !important;
    }

    .about-csm .col .field--name-field-image img {
        position: relative !important;
        width: 100%;
        height: 350px;
    }

    .about-csm .col:nth-child(1) .field--name-field-tresc {
        margin-bottom: 3em;
    }

    .about-csm .col:nth-child(1) .field--name-field-tresc p {
        position: relative;
    }

    .equipment .description {
        margin-bottom: 2em;
    }

    .equipment .description p {
        font-size: 18px;
        line-height: 26px;
    }

    .for-teachers .text-block-one .col-two,
    .bg-light.for-teachers .col-two,
    .for-teachers.for-teachers.text-block-three .col-two {
        padding-left: calc(var(--bs-gutter-x) * .5);
    }

    .for-teachers .text-block-one .col-two,
    .bg-light.for-teachers .col-two {
        margin-top: 1.5em;
    }

    .for-teachers.text-block-three ul,
    .for-students.text-block-three ul {
        margin: 0;
    }

    .for-students .text-navy-blue .col-two {
        align-items: flex-start;
        margin-top: 1em;
    }

    .contact-block .footer-logo {
        max-width: 190px;
        bottom: 55px;
    }

    .schedule tr {
        display: flex;
        flex-direction: column;
        padding-bottom: 10px;
    }

    .schedule tr.desktop {
        height: 20px;
    }

    .page-node-type-skn .field--name-body .text-indent:first-of-type::before,
    .page-node-type-skn .field--name-body :not(.text-indent)+.text-indent::before,
    .node--type-patient .text-formatted .text-indent:first-of-type::before,
    .node--type-patient .text-formatted :not(.text-indent)+.text-indent::before {
        top: -25px;
    }
}

@media only screen and (max-width: 575px) {
    #navbar-top .logo svg {
        max-width: 210px;
    }

    div.sf-accordion-toggle.sf-style-blue a span {
        display: none;
    }

    div.sf-accordion-toggle.sf-style-blue>a:after {
        font-size: 3em;
        right: 15px;
        top: -6px;
    }

    .block-language .nav-link {
        padding: 0 0 0 1em;
    }

    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        padding-right: 15px;
        padding-left: 15px;
    }

    .sale-csm .col-one,
    .sale-csm .col-two {
        padding: 0 !important;
    }

    .bg-image,
    .home-block-five.row,
    .for-teachers.image-full-width {
        margin-left: -3px;
        margin-right: -3px;
    }

    .path-frontpage .bg-image .title {
        font-size: 36px;
        line-height: 44px;
    }

    .path-frontpage .bg-image img {
        object-fit: cover;
        height: 270px;
    }

    .home-block-third .field__item {
        margin-bottom: 0;
    }

    .about-csm .icon-title.ws img {
        height: 100px;
    }

    .about-csm .icon-title .d-flex {
        gap: 30px;
    }

    .about-csm .icon-title img {
        max-width: 115px;
    }

    .equipment .form-item-keys input {
        width: 300px;
    }

    .site-footer__bottom {
        margin-top: 0;
    }

    .contact-block .first-row {
        flex-direction: column;
        margin-bottom: 20px !important;
    }

    .social-media-links--platforms {
        margin-top: 1em;
    }

    .contact-block .footer-logo {
        bottom: 0;
    }

    .page-node-type-skn .management ul {
        flex-direction: column;
        margin-top: 2em;
    }

    .page-node-type-skn .management ul li {
        padding-top: 1em;
    }

    .skn .col:nth-child(1) img {
        width: 100%;
        height: auto;
        position: relative;
    }

    .skn .col:nth-child(2) img {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    .hero-image .field--name-field-media-image::before {
        height: 446px;
    }

    .csm-menu {
        margin-right: -15px;
    }

    ul#superfish-main-accordion {
        flex-direction: column;
    }

    ul.sf-menu.sf-style-blue li,
    ul.sf-menu.sf-style-blue.sf-navbar {
        width: 100%;
    }

    ul.sf-menu.sf-style-blue a,
    ul.sf-menu.sf-style-blue a:visited,
    ul.sf-menu.sf-style-blue span.nolink {
        padding: 0.75em 1em;
    }

    #block-csmbarrio-homebannerbuttons {
        right: 15px;
    }

    #block-csmbarrio-homebannerbuttons svg {
        width: 20px;
        height: 20px;
    }

    .view-hero-image .page-title {
        padding-bottom: 30%;
    }

    .paragraph--view-mode--bg-image-text-link .text-group {
        top: 63%;
        left: 27%;
        transform: translate(-19%, -50%);
        height: 224px;
    }

    .equipment .form-item-keys input {
        width: 240px;
    }

    .for-teachers.text-block-three ul li,
    .for-students.text-block-three ul li {
        padding-bottom: 15px;
    }

    .for-students.bg-image .bg-text p:last-child {
        margin-bottom: 0;
    }

    .for-students .text-block-one .row .col-one,
    .for-students .text-block-one .row .col-two {
        padding-right: 2em;
    }
}

@media only screen and (max-width: 400px) {
    #navbar-top .logo svg {
        max-width: 170px;
    }

    div.sf-accordion-toggle.sf-style-blue a {
        font-family: "Inter SemiBold";
    }

    #block-csmbarrio-glownanawigacja-2 ul {
        flex-direction: column;
    }

    #block-csmbarrio-glownanawigacja-2 ul li {
        width: 100%;
        padding-left: 1em;
    }

    #block-csmbarrio-glownanawigacja-2 ul li a {
        padding: 3px 0;
    }

    #block-csmbarrio-homebannerbuttons {
        display: none;
    }

    .view-hero-image .page-title {
        padding-bottom: 50%;
    }

    #block-csmbarrio-odnosnikihomepage ul {
        flex-direction: column;
        gap: 45px;
    }

    .paragraph--view-mode--bg-image-text-link .text-group {
        left: 16%;
        transform: translate(-10%, -50%);
        height: 224px;
    }

    .equipment .form-item-keys {
        flex-direction: column;
        gap: 15px;
    }

    .equipment .link a {
        padding: 10px 35px;
    }

    .calendar {
        padding-left: 1em;
    }
}