/* ---Podstawowe ustawienia--- */

body {
    font-size: var(--font-size-text);
}

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;
}

header .page-title {
    font-size: 26px;
    line-height: 1.3em;
}

.search {
    margin-top: 0.5em;
}

.mk-home {
    margin-top: 0.5em;
    margin-left: 0.7em;
}

.mk-home svg {
    width: 25px;
    height: 25px;
    fill: var(--color-navy-blue);
}

@media only screen and (max-width: 991px) {
    .mk-home {
        margin-top: -5px;
    }

    .mk-home .text-formatted {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
    }
}

@media only screen and (max-width: 400px) {
    header .page-title {
        padding-left: 40px !important;
        line-height: 1.3em !important;
    }
}

.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);
    color: var(--color-orange);
    line-height: 1em;
}

.mk-data {
    
    font-size: 24px;
    color:var(--color-orange);
    line-height: 1.5em;
    font-weight: 600;
}

.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: -250px;
}

.slick-list {
    max-width: 1300px;
    margin: 3em auto;
    border-right: 5px solid #fff;
}

.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 .field-content::after {
    content: '';
    position: absolute;
    width: 30px;
    background: var(--color-orange);
    height: 2px;
    left: 30px;
    margin-top: 30px;
}

.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: 0 0 6em;
}

.view-footer a {
    background-color: var(--color-orange);
    padding: 15px 120px;
    color: white;
    text-transform: uppercase;
    font-size: var(--font-size-text);
    display: block;
    width: max-content;
    margin: 0 auto;
}

@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;
}

/*.arrow-icon a::after {
    background-image: url(../templates/images/Strzalka.svg);
    background-repeat: no-repeat;
    position: absolute;
    background-size: 100%;
    width: 30px;
    height: 30px;
    content: "";
    transition: margin-right 0.5s;
    right: 0;
}

.arrow-icon a:hover::after {
    margin-right: -15px;
}*/

.view-akademiki h3 a::after {
    background-image: url(../templates/images/Strzalka.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    position: absolute;
    display: inline-block;
    margin-left: 10px;
    width: 30px;
    height: 30px;
    content: "";
    transition: margin-left 0.5s;
}

.view-akademiki h3 a:hover::after{
    margin-left: 15px;
}

.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;
}

/* --- Podstawowe ustawienia END --- */

.emblem-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

.emblem-content {
    margin-right: 50px;
}

.emblem-content svg {
    width: 120px;
}

.background-color-white .cls-1,
header#others-page .cls-1 {
    fill: var(--color-navy-blue);
}

.baner-content .mk-menu-links ul {
    align-items: flex-start;
}

.baner-content .mk-menu-links ul li {
    border-bottom: none;
}

.baner-content .mk-menu-links ul a {
    font-size: 26px;
}

.baner-content .mk-menu-links ul li a:after {
    width: 35px;
    height: 35px;
}

.main-container {
    margin-top: 2em;
    margin-bottom: 2em;
}

.baner-content .mk-menu-links ul li {
    padding-right: 55px;
}

.baner-content .mk-menu-links ul li a:after {
    top: 18%;
}

footer ul.menu li.menu-item a,
footer p {
    font-size: 14px;
}

@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) {
    header#main-pages .mobile-menu-container {
        padding-top: 20px;
    }

    header#others-page {
         padding-bottom: 1em;
    }

    .emblem-content p {
        margin: 1em 0;
    }
    #main-pages .emblem-content p {
        margin-top: 7px;
    }
    .emblem-content img {
        max-width: 80px;
    }
    header .page-title {
        font-size: 22px;
    }
    header .page-title .sub-title {
        font-size: 18px;
    }
    .baner-content .mk-menu-links ul a {
        font-size: 30px;
    }
    .path-frontpage .main-container {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 767px) {
    header .page-title .sub-title {
        display: none;
    }
    .baner-content .mk-menu-links ul a {
        font-size: 24px;
    }
}

@media screen and (max-width: 400px) {
   
    .emblem-content img {
        max-width: 65px;
    }
    header .page-title {
        font-size: 18px;
        line-height: 1.5em;
    }
}

/* --- Aktualności front --- */

.path-frontpage .block-views h2 {
    text-align: center;
    margin-bottom: 2em;
    margin-top: 1.5em;
}

.news-front .views-field-title {
    min-height: 65px;
    margin-bottom: 10px;
}

.news-front .views-field-field-lead {
    margin-top: 2em;
}

.news-front .views-field-view-node {
    display: flex;
}

.news-front .arrow-icon a::after {
    right: 13.5%;
}

.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;
    }

    .path-frontpage .block-views h2 {
        margin-bottom: 0.5em;
        margin-top: 0.5em;
    }
}


/* --- Aktualności front END --- */

/* --- 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-2col-links {
        padding-top: 0;
        padding-bottom: 2.5em;
    }
}

/* --- Front 2-col box END --- */

/* --- Akademiki --- */

.view-akademiki .node--view-mode-heading .col-left {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.view-akademiki .node--view-mode-heading .col-right .mk-menu-links ul {
    align-items: flex-start;
}

.view-akademiki .field--name-field-img {
    height: 100%;
}

.view-akademiki .field--name-field-img img {
    object-fit: cover;
    height: 100%;
}

@media screen and (max-width: 992px) {
    .view-akademiki h3 br {
        display: none;
    }
    .view-akademiki .node--view-mode-heading .col-left,
    .view-akademiki .node--view-mode-heading .col-right {
        width: 100%;
    }
    .view-akademiki .node--view-mode-heading .col-right .mk-menu-links ul {
        flex-direction: column;
        align-items: stretch;
        width: 300px;
        margin: 0 auto;
    }
}

/* --- Akademiki 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 --- */

.content-aside__aside {
    margin-top: 30px;
}

.page-node-16059 .mk-menu-links ul li {
    max-width: 700px;
}

.page-node-16066 .field--name-field-blok-v-media img {
    object-fit: cover;
    height: 470px;
    object-position: 65%;
}

.page-node-16066 .mk-background-img .mk-text-white.mk-menu-links {
    max-width: 950px;
}

.page-node-16196 .mk-menu-links ul {
    margin: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-node-16066 .mk-background-img .mk-menu-links ul li,
.page-node-16196 .mk-menu-links ul li {
    width: 275px;
    height: 85px;
    align-items: center;
    line-height: 1.2em;
}

.slick--view nav {
    position: relative;
}

.slick-prev,
.slick-next {
    top: -20px;
}

.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%;
}

.mk-button-orange .item {
    background-color: var(--color-orange);
}

.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;
}

/*------------------- 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) and (max-width: 1366px) {
    .page-node-16196 .mk-menu-links ul li {
        width: 240px;
    }
}

@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;
    }

    .page-node-16059 .node .container-xl,
    .page-node-16066 .node .container-xl {
        padding-left: 2.5em;
        padding-right: 2.5em;
    }
}

@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) {
    .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;
    }

    .studenci-blok-i .field--name-field-img img {
        object-fit: cover;
        height: 250px;
    }
}

@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;
    }

    .page-node-16066 .field--name-field-blok-v-media img {
        height: 930px;
    }

    .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: 480px) {

    header#main-pages .nav-menu ul.menu li.menu-item a,
    header#others-page .nav-menu ul.menu li.menu-item a {
        font-size: 20px;
    }

    .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;
    }
}

@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) {

    .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;
    }

    .page-node-16066 .mk-menu-links ul li {
        width: 100% !important;
    }
}

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;
    font-weight: bolder;
}

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);

    }
    a[href^="mailto:"]:hover:after {
      left: 0;
      bottom: -2px;
      width: 100%;
      height: 100%;
    }

.extra-links a[href^="mailto:"] {
    font-weight: normal;
}


/*-------------------------------*/


