/* ---Podstawowe ustawienia--- */

body {
    font-size: var(--font-size-text);
}

body:not(.path-frontpage) main {
    margin-top: 0;
}

h2 {
    font-size: var(--font-size-title-h2);
    font-weight: normal;
    line-height: 1.5em;
}

.view h2 {
    font-size: var(--font-size-title-h3);
}

h3 {
    font-size: var(--font-size-title-h3);
    font-weight: normal;
    line-height: 1.5em;
}

p {
    line-height: 1.5em;
}
.node__content p a,
.node__content a {
    text-decoration: underline;
    color: #0069c2;
}

div.container_n div.tekst a, div.przyciski div.tekst a{
	text-decoration: none;
	color: #ffffff;
}


header .page-title {
    font-size: 24px;
    line-height: 1.3em;
}

p.navbar-text {
    margin-top: 0;
    margin-bottom: 0;
}

.search {
    margin-top: 0.7em;
    position: relative;
    top: -2px;
}

.text-formatted p a {
    overflow-wrap: break-word;
    font-weight: bolder;
}

a[href^="mailto:"]::before {
    font-family: "Font Awesome 5 Free";
    content: "\f0e0  ";
    font-weight: initial;
}

a[href^="mailto:"] {
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

a[href^="mailto:"]::after {
    content: "";
    background: rgba(245, 128, 44, 0.25);
    position: absolute;
    left: 12px;
    bottom: -6px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    z-index: -1;
    transition: 0.35s cubic-bezier(0.25, 0.1, 0, 2.05);
}

.wnoz-color a[href^="mailto:"]::after {
    background: rgba(59, 181, 242, 0.2);
}

a[href^="mailto:"]:hover:after {
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 100%;
}

body:not(.bkip-color) main .text-formatted p,
body:not(.bkip-color) main .text-formatted span {
    font-family: var(--font-family-inter) !important;
    font-size: var(--font-size-text) !important;
    color: var(--color-navy-blue) !important;
}

.toolbar-icon-toggle-vertical {
    margin-top: 0;
}

.extra-links a[href^="mailto:"] {
    font-weight: normal;
}

.overlay .nav-menu a,
.overlay .nav-menu span {
    color: #fff !important;
}

.overlay span.sf-depth-1 {
    padding-left: 15px !important;
}

li:not(.sf-depth-1.menuparent).nav-menu span.nolink {
    display: none !important;
}

.nav-menu ul.sf-menu ul {
    position: inherit;
}

span.sf-depth-1:hover {
    text-decoration: underline;
}

a.sf-accordion-button {
    float: right;
}

ul.sf-menu .sf-with-ul {
    padding-right: 0;
    width: 75%;
}

.sf-depth-3.menuparent>ol {
    display: none;
}

li.sf-depth-3.menuparent {
    position: relative;
}

li.sf-depth-3.menuparent:hover {
    background: rgba(255, 255, 255, 0.1);
}

ul.sf-menu {
    line-height: 1.3;
}

.sf-menu li.active-trail.sf-depth-1 ol li.active-trail span,
.sf-menu li.active-trail.sf-depth-1 ol li.active-trail>a {
    text-decoration: underline;
    text-decoration-color: #fff;
    text-decoration-thickness: 2px;
}

.sf-menu li.active-trail.sf-depth-1>span,
.sf-menu li.active-trail.sf-depth-1>a {
    text-decoration-color: var(--color-navy-blue);
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

span.more {
    content: ' ';
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 5.5px !important;
    margin: 0 10px !important;
    transform: rotate(45deg) !important;
    -webkit-transform: rotate(45deg) !important;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    position: absolute;
    top: 15px;
    right: 17px;
    cursor: pointer;
}

ul.sf-menu.sf-accordion.sf-accordion-with-buttons .sf-accordion-button:after {
    display: none;
}

.sf-accordion-button {
    text-indent: -999999999999px !important;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 0px 9.5px !important;
    margin: 1px 5px !important;
    transform: rotate(45deg) !important;
    -webkit-transform: rotate(45deg) !important;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    position: absolute;
    top: 25px;
    right: 40px;
    cursor: pointer;
}

.overlay li.sf-depth-3.menuparent .sf-accordion-button {
    width: 10px;
    height: 10px;
    padding: 0 4.5px !important;
    right: 45px;
    top: 10px;
}

.overlay .nav-menu a.sf-depth-1 {
    padding-left: 15px;
}

.overlay li.sf-depth-4 a {
    padding: 10px 0 10px 45px;
}

.overlay span.more {
    display: none;
}

.mk-text-center {
    text-align: center;
}

.mk-align-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.mk-col-br {
    border-right: 1px solid #ccc;
}

.mk-orange {
    font-weight: normal;
    font-size: var(--font-size-why-us-strong);
    line-height: 1em;
}

.firstwl-color .mk-orange {
    color: #c40000;
}

.wnoz-color .mk-orange {
    color: #295d76;
}

.wls-color .mk-orange {
    color: #f73d03;
}

.wf-color .mk-orange {
    color: #e39600;
}

.ogolno-color .mk-orange {
    color: #f5802c;
}

.mk-data {
    font-size: 24px;
    line-height: 1.5em;
    font-weight: 600;
}

.firstwl-color .mk-data {
    color: #c40000;
}

.firstwl-color .mk-data {
    color: #3bb5f2;
}

.mk-text-white,
.mk-text-white a {
    color: #fff;
}

.mk-felieton-body {
    max-width: 992px;
    margin: 0 auto;
}

.mk-tabela {
    display: inline-block;
}

.caption.align-right {
    margin: 0 0 0.5em 2em;
}

.caption.align-left {
    margin: 0 2em 0.5em 0;
}

.caption>figcaption {
    font-size: 15px;
    font-style: italic;
}

.mk-inline-img {
    float: left;
    margin: 0 30px 20px 0;
}

.mk-inline-img img {
    box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
}

.social-sharing-buttons {
    margin: 0.5em 0 1em;
}

.social-sharing-buttons a,
.social-sharing-buttons__button {
    margin: 0;
    fill: var(--color-navy-blue);
}

.bg-navy {
    background-color: #011F5B;
    color: #fff;
}

.slick--view nav {
    position: relative;
    top: -180px;
}

.view-aktualnosci .slick-list {
    max-width: 1300px;
    margin: 3em auto;
    border-right: 5px solid #fff;
}

.view-aktualnosci .slick-slide {
    padding: 0 30px;
}

.slick-active {
    position: relative;
}

.views-field-title {
    font-size: 18px;
    line-height: 1.3em;
}

.views-field-created {
    font-size: 14px;
}

.views-field-created span {
    position: relative;
}

.views-field-created .field-content::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 5px;
    left: 0;
    margin-top: 30px;
}

.firstwl-color .views-field-created .field-content::after {
    background: #c40000;
}

.wnoz-color .views-field-created .field-content::after {
    background: #295d76;
}

.wls-color .views-field-created .field-content::after {
    background: #f73d03;
}

.wf-color .views-field-created .field-content::after {
    background: #e39600;
}

.ogolno-color .views-field-created .field-content::after {
    background: #f5802c;
}

.node--view-mode-teaser h2 {
    margin: 0;
}

.node__submitted {
    margin: 0 0 1em 0;
    font-size: 14px;
}

.view-footer {
    text-align: center;
    display: block;
    margin: 5em 0 6em;
}

.view-footer a {
    padding: 15px 120px;
    color: white;
    text-transform: uppercase;
    font-size: var(--font-size-text);
    display: block;
    width: max-content;
    margin: 0 auto;
}

.firstwl-color .view-footer a {
    background-color: #c40000;
}

.wnoz-color .view-footer a {
    background-color: #295d76;
}

.wls-color .view-footer a {
    background-color: #f73d03;
}

.wf-color .view-footer a {
    background-color: #e39600;
}

.ogolno-color .view-footer a {
    background-color: #f5802c;
}

@media screen and (max-width: 480px) {
    .view-footer a {
        padding: 15px 50px;
    }
}

.mk-menu-links.mk-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mk-menu-links ul {
    margin: 0;
    padding-left: 0;
    padding-right: 25px;
}

.mk-menu-links ul li {
    position: relative;
    padding: 15px 0px;
    list-style-type: none;
    border-bottom: 1px solid var(--color-grey);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-right: 80px;
    line-height: 1.5em;
}

.mk-menu-links ul li a {
    font-size: var(--font-size-nav-menu);
}

.mk-menu-links ul li a:after {
    background-image: url(../templates/images/Strzalka.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: 20%;
    right: 0px;
    background-size: 100%;
    width: 30px;
    height: 30px;
    content: "";
    transition: margin-right 0.5s;
}

.arrow-icon {
    width: 30px;
    height: 30px;
    position: relative;
}

#backtotop {
    display: inline;
    width: 50px;
    height: 50px;
    bottom: 50px;
    background: url(/sites/all/modules/scrollup/images/arrow.png) center no-repeat;
    border-radius: 50%;
    background-color: rgb(29, 39, 88);
    background-size: 60%;
    right: 50px !important;
}

.mk-text-white.mk-menu-links ul li a:after {
    background-image: url(../templates/images/Strzalka-white.svg);
}

.mk-menu-links ul li a:hover:after {
    margin-right: -15px;
}

#main-pages .nav-menu a.sf-depth-1,
#others-page .nav-menu a.sf-depth-1,
li.sf-depth-1.menuparent>span {
    font-size: 22px;
    font-family: var(--font-family-inter);
    font-style: normal;
}

#main-pages .nav-menu a.sf-depth-1,
li.sf-depth-1.menuparent>span {
    color: var(--color-white);
    padding-bottom: 15px;
}

#others-page .nav-menu a.sf-depth-1,
#others-page .nav-menu span.sf-depth-1,
#main-pages.background-color-white .nav-menu a.sf-depth-1,
#main-pages.background-color-white .nav-menu span.sf-depth-1 {
    color: var(--color-navy-blue);
    padding-bottom: 15px;
}

.sf-menu div.sf-multicolumn-column>span {
    border: 0 none !important;
    clip: rect(1px, 1px, 1px, 1px);
    clip: rect(1px 1px 1px 1px);
    height: 1px !important;
    margin: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
}

.mk-main-menu.sf-menu ul {
    background: #000000;
}

ul.sf-menu li {
    position: initial;
}

.mk-main-menu.sf-menu li.sfHover>ul {
    top: 15em;
    position: absolute;
    left: 0 !important;
    width: 1903px !important;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

#others-page .mk-main-menu.sf-menu li.sfHover>ul {
    top: 14em;
}

.user-logged-in #others-page .mk-main-menu.sf-menu li.sfHover>ul {
    top: 19em;
}

.sf-multicolumn-wrapper {
    padding: 20px 0 40px !important;
}

.sf-multicolumn-wrapper>ol li {
    padding: 0px 15px !important;
}

.sf-multicolumn-column ol li a {
    /*border-bottom: 2px solid #e7e7e8;*/
    margin-right: 30px !important;
}

.sf-multicolumn-column a,
.sf-multicolumn-column span {
    color: #fff !important;
}

.sf-multicolumn-column ol li a {
    padding-left: 0;
}

.emblem-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

.emblem-content {
    margin-right: 50px;
}

@media screen and (max-width: 991px) {
    .emblem-content {
        margin-right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .emblem-content a {
        display: block;
        line-height: 1;
    }
    header .languages ul li a {
        display: block;
        position: relative;
        top: 5px;
    }
}

.emblem-content svg {
    height: 150px;
    fill: #fff;
}

.baner-content a {
    font-size: 30px;
    position: relative;
}

.baner-content a::before {
    background-color: #fff;
    content: "";
    height: 23px;
    width: 23px;
    display: block;
    z-index: 0;
    top: 7px;
    right: -53px;
    position: absolute;
    border-radius: 15px;
}

.baner-content a::after {
    mask-image: url(../templates/images/arrow-right-circle-fill.svg);
    -webkit-mask-image: url(../templates/images/arrow-right-circle-fill.svg);
    content: "";
    height: 35px;
    width: 35px;
    display: block;
    z-index: 100;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    top: 3px;
    right: -60px;
    background-image: unset;
    position: absolute;
}

.mk-youtube-embed-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-right: 28px;
}

.mk-youtube-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.firstwl-color .baner-content a::after {
    background-color: #c40000;
}

.wnoz-color .baner-content a::after {
    background-color: #295d76;
}

.wls-color .baner-content a::after {
    background-color: #f73d03;
}

.wf-color .baner-content a::after {
    background-color: #e39600;
}

.ogolno-color .baner-content a::after {
    background-color: #f5802c;
}

.main-container {
    margin-top: 2em;
    margin-bottom: 2em;
}

.page-title-nodisplay {
display: none;
color: #ffffff;
}


footer ul.menu li.menu-item a,
footer p,
footer span {
    font-size: 13px;
}

.footer-emblem {
    display: flex;
    margin-bottom: 2em;
}

.footer-emblem img {
    height: 60px;
    width: auto;
    margin-right: 15px;
}

footer .field--name-body p {
    margin-top: 0;
}

footer p a {
    color: #fff;
}

footer p a::after {
    display: none;
}

.team-row {
    margin-bottom: 2em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1em;
}

@media screen and (min-width: 992px) {
    .layout--twocol-section {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
    }
    .layout--twocol-section.layout--twocol-section--67-33>.layout__region--first,
    .layout--twocol-section.layout--twocol-section--33-67>.layout__region--first {
        padding-right: 20px;
    }
    .layout--twocol-section.layout--twocol-section--33-67>.layout__region--second,
    .layout--twocol-section.layout--twocol-section--67-33>.layout__region--second {
        padding-left: 20px;
    }
}

@media screen and (max-width: 991px) {
    .layout--twocol-section {
        display: block;
    }
}

@media screen and (min-width: 991px) and (max-width: 1500px) {
    .emblem-content img {
        max-width: 95px;
    }
    header .page-title {
        font-size: 22px;
    }
    header .page-title .sub-title {
        font-size: 20px;
    }
    header .nav-menu ul.menu li.menu-item a {
        font-size: 20px;
    }
    .baner-content .mk-menu-links ul a {
        font-size: 26px;
    }
}

@media screen and (max-width: 991px) {
    .emblem-content p {
        margin: 1em 0;
    }
    #main-pages .emblem-content p {
        margin-top: 7px;
    }
    .emblem-content img {
        max-width: 80px;
    }
    header#others-page {
        padding-bottom: 25px;
    }
    header#others-page .emblem-content div {
        margin-top: 0;
    }
    header .page-title {
        font-size: 19px;
        font-weight: 600;
        padding-top: 5px;
    }
    header .overlay .page-title {
        padding-top: 0;
    }
    header .page-title .sub-title {
        font-size: 18px;
    }
    header .languages ul li {
        padding-right: unset;
    }
    .baner-content .mk-menu-links ul a {
        font-size: 30px;
    }
    .footer-emblem {
        justify-content: center;
    }
    .footer-row {
        flex-wrap: wrap;
        align-items: flex-end;
    }
    footer .copyrights {
        justify-content: center;
    }
    .slick-dots li button:before {
        display: none;
    }
    .slick-dots li button {
        background: #ccc;
        border-radius: 20px;
        width: 12px;
        height: 12px;
        margin: 4px;
    }
    .firstwl-color .slick-dots li.slick-active button {
        background: #c40000;
    }
    .wnoz-color .slick-dots li.slick-active button {
        background: #295d76;
    }
    .wls-color .slick-dots li.slick-active button {
        background: #f73d03;
    }
    .wf-color .slick-dots li.slick-active button {
        background: #e39600;
    }
    .ogolno-color .slick-dots li.slick-active button {
        background: #f5802c;
    }
}

@media screen and (max-width: 767px) {
    header .page-title .sub-title {
        display: none;
    }
    .baner-content a {
        font-size: 24px;
    }
    .baner-content a::before {
        height: 20px;
        width: 20px;
        top: 6px;
        right: -40px;
    }
    .baner-content a::after {
        height: 30px;
        width: 30px;
        top: 1px;
        right: -45px;
    }
}

@media screen and (max-width: 480px) {
    footer .copyrights {
        flex-direction: column;
    }
}

@media screen and (max-width: 400px) {
    .emblem-content img {
        max-width: 65px;
    }
    header .page-title {
        font-size: 17px;
        line-height: 1.25em;
        font-weight: 600;
    }
    .baner-content a {
        font-size: 20px;
    }
    .baner-content a::before {
        height: 18px;
        width: 18px;
        top: 3px;
        right: -36px;
    }
    .baner-content a::after {
        height: 27px;
        width: 27px;
        top: -1px;
        right: -40px;
    }
}


/* --- Podstawowe ustawienia END --- */


/* --- Secondary MENU --- */

.secondary-menu .menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-around;
    align-content: center;
    margin: 2em 0 4em;
    padding-right: 0;
}

@media screen and (max-width: 460px) {
    .secondary-menu .menu {
        flex-direction: column;
    }
    .secondary-menu .menu-item {
        min-width: 250px;
    }
}

@media screen and (max-width: 400px) {
    .secondary-menu .menu-item {
        min-width: 90%;
    }
}

.others-page.secondary-menu .menu {
    margin: 2em 0 1em;
}

.secondary-menu .menu-item {
    list-style-type: none;
    font-size: 16pt;
}

.secondary-menu .menu-item {
    list-style-type: none;
    font-size: 16pt;
    border-bottom: 2px solid #e7e7e8;
    padding: 20px 40px 20px 5px;
    max-width: 250px;
    display: flex;
    align-items: center;
}

.secondary-menu ul li a {
    display: flex;
    font-size: inherit;
}

.secondary-menu ul li a::after {
    mask-image: url(../templates/images/arrow-right-short.svg);
    -webkit-mask-image: url(../templates/images/arrow-right-short.svg);
    content: "";
    height: 25px;
    width: 25px;
    z-index: 0;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    background-image: unset;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.firstwl-color .secondary-menu ul li a::after {
    background-color: #c40000;
}

.wnoz-color .secondary-menu ul li a::after {
    background-color: #295d76;
}

.wls-color .secondary-menu ul li a::after {
    background-color: #f73d03;
}

.wf-color .secondary-menu ul li a::after {
    background-color: #e39600;
}

.ogolno-color .secondary-menu ul li a::after {
    background-color: #f5802c;
}

.secondary-menu ul li a:hover:after {
    margin-right: -15px;
}

@media screen and (max-width: 991px) {
    .secondary-menu .menu-item {
        margin: 0px 15px;
    }
}

@media screen and (max-width: 400px) {
    .secondary-menu .menu {
        flex-direction: column;
        align-items: stretch;
        align-content: stretch;
    }
}


/* --- Secondary MENU END --- */


/* #block-zawartoscglowna .layout--twocol-section {
    display: -webkit-box;
} */

@media screen and (max-width: 992px) {
    #block-zawartoscglowna .layout--twocol-section {
        display: block;
    }
}

@media screen and (min-width: 992px) {
    .layout--twocol-section.layout--twocol-section--50-50>.layout__region--first,
    .layout--twocol-section.layout--twocol-section--50-50>.layout__region--second {
        flex: 0 0 50%;
        max-width: 718px;
    }
}

#block-zawartoscglowna .layout__region--first {
    background-color: #f2f2f2;
    padding: 30px 60px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

#block-zawartoscglowna .slick {
    position: relative;
}

#block-zawartoscglowna .slick-next {
    right: 20px;
}

#block-zawartoscglowna .slick-prev {
    left: 20px;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    #block-zawartoscglowna .slick,
    #block-zawartoscglowna .slick-slider,
    #block-zawartoscglowna .slick-list,
    #block-zawartoscglowna .slick-track,
    #block-zawartoscglowna .slide__content,
    #block-zawartoscglowna .slide__content .media--blazy,
    #block-zawartoscglowna .slick-slide img {
        height: 100%;
    }
    #block-zawartoscglowna .slick-slide img {
        object-fit: cover;
    }
}


/* --- Aktualności front --- */

.path-frontpage .view h2 {
    font-size: var(--font-size-title-h2);
    text-align: center;
    margin-bottom: 2em;
    margin-top: 1.5em;
}

@media screen and (max-width: 991px) {
    .path-frontpage .view h2 {
        margin-top: 1em;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 400px) {
    .path-frontpage .view h2 {
        margin-bottom: -15px;
    }
}

.news-front .views-field-title {
    margin-bottom: 10px;
}

@media screen and (min-width: 992px) {
    .news-front .views-field-title {
        min-height: 65px;
    }
}

.view-aktualnosci .views-field-field-lead {
    padding-top: 2em;
}

.news-front .views-field-view-node {
    display: flex;
}

.news-front .arrow-icon a::after {
    right: 13.5%;
}

.news-front .slick-active:not(:last-of-type):after {
    content: '';
    position: absolute;
    width: 1px;
    background: #ccc;
    top: 0;
    bottom: 0;
    right: 0;
    margin-left: -1px;
}

@media screen and (max-width: 992px) {
    .slick-active:after {
        display: none;
    }
    .news-front .view-footer {
        margin: 2em 0 4em;
    }
}

@media screen and (max-width: 400px) {
    .news-front .view-footer {
        margin: 2em 0 2em;
    }
}


/* --- Aktualności front END --- */


/* --- SKN front --- */

.skn-front h3 {
    font-size: 20px;
}

.skn-front .slick-track .row {
    flex-direction: column;
    flex-wrap: nowrap;
}

.skn-front .row .skn-col-one .field--name-field-image {
    text-align: center;
}

/* .skn-front .slick-track .row .skn-col-one {
    order: 2;
} */

.skn-front .slick-track .row .skn-col-one .field--name-field-image {
    text-align: left;
}

/* .skn-front .slick-track .row .skn-col {
    width: 100%;
} */

.skn-front :not(.slick-track) .node--type-kolo-naukowe .row {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.skn-front :not(.slick-track) .skn-col-one {
    width: auto;
}

.skn-front :not(.slick-track) .skn-col-two {
    padding: 0 40px;
}

@media screen and (max-width: 992px) {
    .skn-front :not(.slick-track) .node--type-kolo-naukowe .row {
        display: block;
    }
    .skn-front :not(.slick-track) .node--type-kolo-naukowe .row .skn-col {
        width: 100%;
    }
    .skn-front .field--name-node-title a {
        font-weight: 600;
    }
}


/* --- SKN front END --- */

.page-node-type-kolo_naukowe .layout__region--second fieldset:not(.fieldgroup) {
    background-color: #f2f2f2;
    padding: 30px 30px 18px;
}

.page-node-type-kolo_naukowe .layout__region--second fieldset:not(.fieldgroup) .fieldset-wrapper {
    margin-top: 20px;
}

.page-node-type-kolo_naukowe .page-title {
    margin: 0;
}

.page-node-type-kolo_naukowe .page-title span {
    visibility: hidden;
    line-height: 1px;
}


/* --- Front 3-col box  --- 

.path-frontpage .paragraph--view-mode--front {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: column;
}

.box-img-front {
    max-height: 800px;
    position: relative;
}

.box-img-front img {
    height: 500px;
    object-fit: cover;
    max-height: 100%;
}

.box-front:first-of-type .box-img-front img {
    object-position: 10% 50%;
}

.col-4:first-of-type .box-img-front img {
    object-position: 6% 0;
}

.col-4:nth-of-type(2) .box-img-front img {
    object-position: 50% 0;
}

.col-4:last-of-type .box-img-front img {
    object-position: 73% 0;
}

.box-front .text-formatted {
    position: absolute;
    padding: 60px 0;
}

.box-front ul {
    padding: 0;
}

.mk-menu-links ul {
    margin: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.box-front .mk-menu-links ul li {
    max-width: 100%;
    width: 350px;
}

@media screen and (min-width: 1200px) and (max-width: 1399px){
    .box-front .mk-menu-links ul li {
        width: 300px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px){
    .box-front .mk-menu-links ul li {
        width: 240px;
    }
    .box-front h3 {
        width: 200px;
        line-height: 1.3em;
    }
 
}

@media screen and (max-width: 991px){
    .box-front {
        min-height: unset;
        margin-bottom: 1em;
    }
    .box-img-front img {
        height: 500px;
    }
    .box-front .text-formatted {
        width: 65%;
    }
    .box-front .mk-menu-links ul li {
        width: 100%;
    }
}

 --- Front 3-col box END --- */


/* --- Front 2-col box --- 

.front-2col-links {
    border-top: 0px solid #ccc;
    border-bottom: 0px solid #ccc;
    padding-top: 3em;
    padding-bottom: 4em;
}

.front-2col-links.mk-menu-links ul {
    flex-direction: row;
    justify-content: space-evenly;
}

@media screen and (max-width: 991px){
    .front-2col-links.mk-menu-links ul {
        flex-direction: column;
        align-items: stretch;
        width: 300px;
        margin: 0 auto;
    }
}

 --- Front 2-col box END --- */


/* --- Aktualności więcej --- */

.news-page .views-row {
    border-top: 1px solid #ccc;
    margin-top: 40px;
    padding-top: 20px;
}


/* --- Aktualności więcej END --- */

.page-node-type-zespol main>.container-xl {
    max-width: 100% !important;
    padding: 0;
}

.content-aside__aside {
    margin-top: 30px;
}

.page-node-16059 .mk-menu-links ul li {
    max-width: 700px;
}

.slick--view nav {
    position: relative;
}

.slick-prev,
.slick-next {
    top: 50%;
}

.slick-prev:before {
    position: absolute;
    left: 0;
    top: 0;
    transform: rotate(225deg);
    border-style: solid;
    border-width: 2px 2px 0px 0px;
    height: 25px;
    width: 25px;
    content: "";
    color: var(--color-navy-blue);
    border-radius: 0;
    background: transparent;
    font-weight: normal;
}

.slick-next:before {
    position: absolute;
    right: 0;
    top: 0;
    transform: rotate(45deg);
    border-style: solid;
    border-width: 2px 2px 0px 0px;
    height: 25px;
    width: 25px;
    content: "";
    color: var(--color-navy-blue);
    border-radius: 0;
    background: transparent;
    font-weight: normal;
}

.mk-banner {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.mk-banner .field--name-node-title {
    position: absolute;
    color: #fff;
}

.row>.mk-col-left,
.row>.mk-col-right {
    float: left;
    padding: 0 25px;
}

.row>.mk-col-left {
    width: 67%;
}

.row>.mk-col-right {
    width: 33%;
}


/* .page-node-type-kieunki .mk-col-left .text-formatted:not(:last-of-type) {
    margin-bottom: 2em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1em;
}

.page-node-type-kieunki .field--name-field-wydzial {
    position: relative;
    padding: 1em;
    list-style-type: none;
    border-bottom: 1px solid var(--color-grey);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    font-size: 32px;
    margin-bottom: 1em;
    flex-direction: row;
    justify-content: center;
}

.page-node-type-kieunki .field--name-field-wydzial:after {
    background-image: url(../templates/images/Strzalka.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    width: 50px;
    height: 50px;
    content: "";
    transition: margin-right 0.5s;
    margin-left: 25px;
}

.page-node-type-kieunki .field--name-dynamic-token-fieldnode-tytul-strony p {
    margin: 0;
}

.page-node-type-kieunki .field--name-dynamic-token-fieldnode-tytul-strony {
    font-size: var(--font-size-title-h2-section);
    line-height: 1.2em;
}

.page-node-type-kieunki .field--name-field-rodzaj {
    font-size: var(--font-size-title-h2);
    line-height: 1.2em;
    margin-bottom: 2em;
} */

.paragraph--type--przejdz-do .field__item {
    text-align: center;
}

.paragraph--type--przejdz-do .field__item img {
    max-width: 400px;
    width: 100%;
}

.firstwl-color .mk-button-orange .item {
    background-color: #c40000;
}

.firstwl-color .mk-button-orange .item {
    background-color: #3bb5f2;
}

.mk-button-orange a {
    font-size: var(--font-size-text);
    font-family: var(--font-family-inter);
    color: var(--color-white);
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    height: 5px;
    justify-content: center;
    padding: 25px 30px;
    text-align: center;
}

#edit-field-rodzaj-value .js-form-type-radio {
    text-align: center;
    width: 20%;
    margin: 0 1em;
    position: relative;
    display: inline-table;
}

.mk-background-img {
    position: relative;
    display: block;
}

.mk-background-img h1 {
    margin-top: 0;
}

.mk-text-img-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mk-bg-title {
    height: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-top: 5%;
    padding-bottom: 3%;
}

.page-node-15115 main .field--name-body,
.page-node-14731 main .field--name-body {
    font-size: 20px;
    line-height: 1.3em;
    margin: 3em 0;
}

.mk-box-group {
    min-height: 130px;
}

.mk-box-group,
.page-node-15115 .mk-box-card .views-field-field-zdjecie,
.page-node-14731 .mk-box-card .views-field-field-zdjecie {
    background-color: #f2f2f3;
}

.mk-box-group .views-field-title {
    padding: 2em;
}

.mk-box-group .views-field-title .field-content {
    font-size: 16px;
    line-height: 1.3em;
    font-weight: 600;
}

.page-node-16208 .mk-menu-links ul {
    padding: 0;
}

.page-node-16208 .mk-menu-links ul li {
    padding: 15px 65px 15px 15px;
    border: 1px solid var(--color-grey);
    margin-bottom: 10px;
    border-radius: 3px;
    line-height: 2em;
}

.page-node-16208 .mk-menu-links ul li {
    font-size: 24px;
    display: flex;
    color: var(--color-navy-blue);
    text-transform: uppercase;
}

.page-node-16208 .media--type-images .field__item {
    text-align: center;
    margin-top: 1.5rem;
}

.page-node-16208 img {
    max-width: 360px;
    width: 100%;
}

.node--type-page .field--name-field-dodaj-zawartosc .field--name-field-zdjecia {
    flex-wrap: wrap;
}

.node--type-page .field--name-field-dodaj-zawartosc .field--name-field-zdjecia .field__item {
    flex: 0 0 225px;
}


/*------------------- Historia -----------------*/

.kotwice {
    margin: 2em 0;
    justify-content: space-evenly;
}

.kotwice .col {
    text-align: center;
    margin: 1em;
    border-bottom: 1px solid #ccc;
    position: relative;
    min-height: 55px;
    background: #f2f2f2;
    padding: 0;
    max-width: 450px;
}

.page-node-128 .kotwice .col.first a,
.page-node-129 .kotwice .col.second a {
    color: white;
    text-transform: uppercase;
    font-size: var(--font-size-text);
    font-weight: normal;
}

.firstwl-color.page-node-128 .kotwice .col.first a,
.firstwl-color.page-node-129 .kotwice .col.second a {
    background: #c40000;
}

.wnoz-color.page-node-128 .kotwice .col.first a,
.wnoz-color.page-node-129 .kotwice .col.second a {
    background: #295d76;
}

.wls-color.page-node-128 .kotwice .col.first a,
.wls-color.page-node-129 .kotwice .col.second a {
    background: #f73d03;
}

.wf-color.page-node-128 .kotwice .col.first a,
.wf-color.page-node-129 .kotwice .col.second a {
    background: #e39600;
}

.ogolno-color.page-node-128 .kotwice .col.first a,
.ogolno-color.page-node-129 .kotwice .col.second a {
    background: #f5802c;
}

.kotwice p {
    text-align: center;
    display: block;
    height: 100%;
    margin: 0;
}

.kotwice a {
    color: var(--color-navy-blue);
    text-transform: uppercase;
    font-size: var(--font-size-text);
    font-weight: normal !important;
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    height: 100%;
}

.text-right {
    text-align: right !important;
}

.section-row {
    margin-bottom: 3em;
}

.section-row .col-one {
    margin-top: 1.5em;
    display: flex;
    align-items: flex-end;
}

.text-right .col-one {
    order: 2;
    padding-left: 3em;
}

.text-right .col-one p {
    text-align: justify;
}

.section-row .field--name-field-media-oembed-video {
    width: 100%;
}

.media--type-youtube .field__item {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.section-row iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0px 4px 15px #ccc;
    border-radius: 3px;
}

.section-row .field--name-field-zdjecie img {
    box-shadow: 0px 4px 15px #ccc;
    border-radius: 3px;
}

@media screen and (min-width: 992px) {
    .section-row .field--name-field-zdjecie {
        padding: 0 5em;
    }
}

@media screen and (max-width: 991px) {
    .section-row .col-one {
        padding: 0 20px;
        order: 1;
    }
}

@media screen and (max-width: 480px) {
    .kotwice {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
        margin-bottom: 10px;
    }
    .kotwice .col {
        margin: 1em 0;
    }
}


/*------------------- Historia END -----------------*/


/*------------------- slide up -----------------*/

* {
    @include box-sizing(border-box);
}

.mk-module {
    position: relative;
    &:nth-child(even) {
        margin-right: 0;
    }
    box-shadow: 0 1px 3px rgba(black, 0.2);
    /*transform: translateY(100px);*/
    transform: translate3d(0, 300px, 0);
    /* added translateY position to module to prevent the module loading at 0 then jumping down before sliding up (on mobile) */
    /* replaced translateY with translate3d for iOS hardware-acceleration*/
}

.come-in {
    /*transform: translateY(100px);*/
    transform: translate3d(0, 300px, 0);
    animation: come-in 1.8s ease forwards;
}

.come-in:nth-child(odd) {
    animation-duration: 1s;
}

.already-visible {
    /*transform: translateY(0);*/
    transform: translate3d(0, 0, 0);
    animation: none;
}

@keyframes come-in {
    to {
        transform: translate3d(0, 0, 0);
    }
}


/*------------------- end --------------*/

@media only screen and (min-width: 1640px) {
    .page-node-16059 header .container-xxl {
        max-width: 1600px !important;
    }
}

@media screen and (min-width: 1200px) {
    .wladze .col-xl-2 {
        width: 20% !important;
    }
    .rektor {
        margin-bottom: 100px;
    }
    .content-aside__content {
        width: 63.14%;
        -webkit-box-flex: 0;
        -ms-flex: 0 1 63.14%;
        flex: 0 1 63.14%;
    }
}

@media screen and (max-width: 1200px) {
    .wladze .views-field-field-tytul-naukowy {
        float: left;
        margin-right: 6px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    #edit-field-rodzaj-value .js-form-type-radio {
        text-align: center;
        width: 44%;
    }
}

@media screen and (min-width: 992px) {
    .page-node-16082 .block-views-blockkierunki-studiow-block-1,
    .page-node-16208 main .field--name-body {
        width: 75%;
        float: left;
        padding-right: 2em;
        margin-bottom: 2em;
    }
    .page-node-16082 #block-mainpagecontent,
    .page-node-16208 main .field--name-field-dodaj-zawartosc {
        width: 25%;
        float: left;
    }
    .page-node-16082 img {
        width: 100%;
    }
    .page-node-16082 footer,
    .page-node-16208 footer {
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }
    .brand-bar {
        align-items: center;
        flex-direction: row;
    }
    .node--type-kliniki h1 {
        margin-top: 0;
    }
    .page-node-16082 .media--type-images .field__item {
        text-align: center;
    }
    .page-node-type-kieunki .field--name-node-title {
        display: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .mk-nauka .mk-felieton-row .col {
        flex: 1 0 50%;
    }
    .mk-nauka .mk-col-br:nth-child(2) {
        border-right: 0;
    }
    #edit-field-rodzaj-value .js-form-type-radio {
        width: 45%;
    }
}

@media screen and (min-width: 768px) {
    .content-aside__flex {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        align-items: center;
    }
    .content-aside__content {
        width: calc(100% - 340px);
        -webkit-box-flex: 0;
        -ms-flex: 0 1 calc(100% - 340px);
        flex: 0 1 calc(100% - 340px);
    }
    .content-aside__aside {
        margin-top: 0;
        width: 32.55%;
        -webkit-box-flex: 0;
        -ms-flex: 0 1 32.55%;
        flex: 0 1 32.55%;
        min-width: 320px;
    }
}

@media screen and (max-width: 767px) {
    .mk-felieton-row .col {
        flex: 1 0 100%;
    }
    .page-node-type-felieton .field--name-title {
        font-size: var(--font-size-main-title);
    }
    .page-node-type-felieton h1 {
        margin-bottom: 1em;
    }
    .mk-felieton-body .caption.align-left,
    .mk-felieton-body .caption.align-right {
        margin: 10px 0;
        width: 100%;
    }
    .mk-col-br {
        border-right: 0;
    }
    .mk-col-br::after {
        content: '';
        display: block;
        width: 100px;
        border-bottom: 1px solid #ccc;
        margin: 0 auto;
        position: relative;
        top: 25px;
    }
    .kliniki-bg .container-xl>.mk-align-center {
        display: block !important;
    }
    .row>.mk-col-left,
    .row>.mk-col-right {
        width: 100%;
    }
    #edit-field-rodzaj-value .js-form-type-radio {
        width: 42%;
    }
    .view-kierunki-studiow.ui-accordion .ui-accordion-header {
        display: block;
        padding-right: 65px;
    }
    .view-kierunki-studiow h3:after,
    .page-node-16208 .mk-menu-links ul li a::after {
        position: absolute;
        top: 15px;
        right: 20px;
    }
    .page-node-type-kieunki .field--name-field-wydzial a {
        max-width: 100%;
        text-align: center;
        line-height: 1.3em;
    }
    .field--name-field-blok-ii-os-czasu::before {
        display: none;
    }
    .field--name-field-blok-ii-os-czasu .section-row::before {
        top: 0;
    }
    .field--name-field-blok-ii-os-czasu .section-row::after {
        top: 6px;
    }
    .field--name-field-blok-ii-os-czasu .field--name-field-tresc {
        margin-top: 2em;
    }
    .field--name-field-blok-ii-os-czasu .text-left .col-one {
        order: initial;
        margin-top: 0;
    }
    .field--name-field-blok-ii-os-czasu .field--name-field-liczba {
        justify-content: center;
        padding: 0;
        width: 100%;
        position: relative;
        top: -15px;
    }
    .page-node-16196 .mk-menu-links ul {
        padding-right: 0;
    }
    .wladze .animate__fadeInUp {
        -webkit-animation-name: none;
        animation-name: none;
    }
}

@media screen and (max-width: 500px) {
    .navbar-text {
        display: none;
    }
    .overlay .nav-emblem-title .emblem-content svg {
        left: 5px !important;
    }
    header .languages ul {
        padding-top: 8px;
    }
}

@media screen and (max-width: 480px) {
    .mk-menu-links ul li {
        padding-right: 50px;
    }
    .page-node-type-kieunki .field--name-field-wydzial {
        font-size: 22px;
    }
    .page-node-type-kieunki .field--name-field-wydzial a {
        max-width: 225px;
    }
    .page-node-type-kieunki .field--name-field-wydzial:after {
        width: 30px;
        height: 30px;
        margin-left: 10px;
        display: block;
    }
    .page-node-type-kieunki .field--name-dynamic-token-fieldnode-tytul-strony p {
        line-height: 1em;
        margin-bottom: 10px;
        font-size: 32px;
    }
    .page-node-type-kieunki .field--name-field-rodzaj {
        font-size: 20px;
        margin-bottom: 1.5em;
    }
    .mk-orange {
        font-size: 32px;
    }
    #edit-field-rodzaj-value .js-form-type-radio {
        width: 92% !important;
    }
    .view-kierunki-studiow.ui-accordion .ui-accordion-header {
        font-size: 22px;
    }
    .fa-bullhorn {
        display: none;
    }
    .studenci-blok-i .field--name-field-link {
        font-size: 28px;
        line-height: 1.3em;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
    }
    .studenci-blok-i .field--name-field-link a {
        padding-right: 50px;
    }
    .studenci-blok-i .field--name-field-link a::after {
        background-image: url(/sites/all/themes/WUM/templates/images/Strzalka-white.svg);
        background-repeat: no-repeat;
        position: absolute;
        top: 44%;
        right: 45px;
        background-size: 100%;
        width: 40px;
        height: 40px;
        content: "";
        transition: margin-right 0.5s;
    }
    .field--name-field-blok-ii-os-czasu .field--name-field-tresc {
        margin-top: 1em;
    }
    #block-zawartoscglowna .layout__region--first {
        padding: 30px;
    }
}

@media screen and (min-width: 480px) {
    .mk-kliniki-b2-img {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 355px;
        flex: 0 1 355px;
        max-width: 355px;
        margin-right: 50px;
    }
    .mk-kliniki-b2-text {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 calc(100% - 332px);
        flex: 0 1 calc(100% - 332px);
    }
}

@media screen and (max-width: 400px) {
    .brand-bar.row {
        justify-content: space-between;
    }
    /* .brand-bar .col-3 {
        width: 33.3333333333%;
    }
    .brand-bar .col-7 {
        width: 30%;
    }
    header .page-title {
        position: relative;
        display: block;
    }
    header .page-title a {
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
    } */
    header .overlay .page-title a {
        position: initial;
    }
    .view-kierunki-studiow.ui-accordion .ui-accordion-header,
    .page-node-16208 .mk-menu-links ul li a {
        font-size: 19px;
        line-height: 1.3em;
    }
    .view-kierunki-studiow.ui-accordion .ui-accordion-header {
        min-height: 70px;
    }
    .view-kierunki-studiow h3:after,
    .page-node-16208 .mk-menu-links ul li a::after {
        bottom: 5px;
        right: 9px;
        top: initial;
    }
    .page-node-type-kieunki .field--name-dynamic-token-fieldnode-tytul-strony p {
        line-height: 1.2em;
        font-size: 28px;
    }
}

@media only screen and (max-width: 350px) {
    header#main-pages .emblem-content svg:last-child,
    header#others-page .emblem-content svg:last-child {
        width: 65px;
        height: unset;
    }
    header .page-title {
        font-size: 14px;
        line-height: 1.25em;
        font-weight: 600;
    }
}


/*-------------------------------*/
.node--type-publikacje a {
   text-decoration: underline;
}
