/* CIENIOWANIE TEKSTU */
.shadowed {
    text-shadow: 0 0 7px black, 0 0 7px black;
}

/* OGÓLNE POPRAWKI */
.neutral-link {
    color: inherit !important;
}

.fab {
    font-family: "Font Awesome 5 Brands" !important; /*font awesome fix*/
}

.prev-next .fas {
    line-height: 35px !important;
}

.wimage-container img, .wimage-container iframe {
    max-width: 100%;
}

.select2-results > .select2-results__options {
    max-height: 340px !important;
}

.select2-dropdown {
    z-index: 98 !important;
}

@media (max-width: 767px) {
    .padding-sm-0 {
        padding: 0 !important;
    }

    .margin-sm-0 {
        margin: 0 !important;
    }
}

.content-section {
    padding-top: 30px !important;
}

.background-blurred {
    background-color: rgba(255, 255, 255, 0.69);
}

.solid-line-height * {
    line-height: 1.4 !important;
}

.solid-line-height h1, .solid-line-height h2, .solid-line-height h3, .solid-line-height h4, .solid-line-height h5, .solid-line-height h6, .solid-line-height h1 *, .solid-line-height h2 *, .solid-line-height h3 *, .solid-line-height h4 *, .solid-line-height h5 *, .solid-line-height h6 * {
    line-height: 1.2 !important;
}

.text-fixes a, .text-fixes a * {
    word-break: break-word !important;
}

.text-fixes p {
    overflow: hidden;
    margin-bottom: 1rem !important;
}

h1 {
    font-size: 32px;
}

/* BUGFIX INDYKATORÓW NA LIŚCIE */
.list-indicators-fix ol, .list-indicators-fix ol li {
    list-style: decimal inside none !important;
}

.list-indicators-fix ul, .list-indicators-fix ul li {
    list-style: disc inside none !important;
}

.list-indicators-fix ul li, .list-indicators-fix ol li {
    display: list-item !important;
}

.list-indicators-fix ul ul {
    padding-left: 20px;
}

/* PRZYCISKI */
@media (max-width: 767px) {
    .btn-sm-small {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
}

.btn-theme {
    transition: background-color 2s ease-out;
}

.btn-round {
    padding: 10px 20px !important;
    border-radius: 10px !important;
}

.btn-round-full {
    border-radius: 30px !important;
}

.btn-sm {
    font-size: medium !important;
    padding: 5px 15px !important;
}

.btn-gray {
    color: black;
    background-color: #f6f6f6;
    border: 1px solid #e6e6e6;
}

.btn-gray:hover {
    color: black;
    background-color: #ebebeb;
    border: 1px solid #dcdcdc;
}

.btn-white-hover:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff !important;
    border-radius: 100%;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 0.4S ease-out;
    -moz-transition: all 0.4S ease-out;
    transition: all 0.4S ease-out;
}

.btn-white-hover:hover:before {
    -webkit-transform: scale(2);
    transform: scale(2);
}

/* BREADCRUMBS */
.breadcrumbs {
    padding: 30px 0;
}

.breadcrumbs strong {
    font-size: 20px;
}

@media (min-width: 576px) and (max-width: 991px) {
    .breadcrumbs h2 {
        font-size: 40px;
    }
}

@media (max-width: 575px) {
    .breadcrumbs h2 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .breadcrumbs {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

/* NEWS */
.news-mini-item {
    height: 450px;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .news-mini-item {
        margin-bottom: 15px !important;
        margin-top: 0 !important;
        height: auto;
        padding-bottom: 65px /* 20px + 45px */;
    }
}

.news-mini-item .news-pinned {
    position: absolute;
    top: 13px;
    right: 15px;
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
}

.news-mini-item .btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/* PAGINATOR */
.pagination {
    padding-bottom: 15px;
    flex-wrap: wrap;
}

.pagination li.disabled span {
    background: #a8a8a8 !important;
}

.pagination li span, .pagination li a {
    padding: 12px 25px !important;
    border: none !important;
    display: block !important;
    color: #fff !important;
}

.pagination li a {
    background: #bebebe;
}

.pagination li a:hover {
    background: #a8a8a8 !important;
}

/* GALERIA */
.gallery-item-mini figure {
    margin: 0;
}

.image-caption {
    position: absolute !important;
    color: white;
    font-weight: bold;
    width: 100%;
    padding: 5px;
    align-self: center;
    margin: 0;
    text-align: center;
    font-size: 24px;
}

.gallery-item-mini-container {
    position: relative;
    margin-bottom: 30px;
}

.gallery-item-mini-container:hover .gallery-cover {
    transform: scale(1.05);
}

.nested-gallery {
    padding: 20px 0 !important;
}

.nested-gallery .single-team, .gallery-item .single-team {
    margin: 0 !important;
}

.gallery-cover {
    filter: brightness(70%);
}

/* PLIKI */
.inline-tags {
    margin-left: 7px;
    color: dodgerblue;
}

#accordion div.active .inline-tags {
    color: #fff !important;
}

.sidebar-centered {
    padding: 0;
    border: 0;
}

.sidebar-centered .single-widget {
    margin-top: 10px;
}

/* KOLUMNY O STAŁYCH SZEROKOSCIACH */
.flex-center-container {
    flex-wrap: wrap;
    justify-content: center
}

.col-137-185 {
    width: 137px !important;
    height: 185px !important;
    max-width: 100%;
    margin: 5px;
}

.col-206-277 {
    width: 206px !important;
    height: 277px !important;
    max-width: 100%;
    margin: 5px;
}

.col-250-140 {
    /* proporcja 16:9 */
    width: 250px !important;
    height: 140px !important;
    max-width: 100%;
    margin: 5px;
}

.col-200-112 {
    /* proporcja 16:9 */
    width: 200px !important;
    height: 112px !important;
    max-width: 100%;
    margin: 5px;
}

@media (min-width: 351px) and (max-width: 575px) {
    .col-sm-150-84 {
        /* proporcja 16:9 */
        width: 150px !important;
        height: 84px !important;
        max-width: 100%;
        margin: 5px;
    }
}

@media (max-width: 350px) {
    .col-xs-135-75 {
        /* proporcja 16:9 */
        width: 135px !important;
        height: 75px !important;
        max-width: 100%;
        margin: 5px;
    }
}

/* HEADER I NAVBAR */
.mobile-menu .slicknav_btn {
    padding: .538em .685em !important;
}

.mobile-menu ul.slicknav_nav {
    border-radius: 5px;
}

.mobile-menu ul.slicknav_nav li a {
    border-radius: 5px;
}

.navbar-logo {
    max-width: 180px;
    max-height: 75px;
    width: initial;
    height: initial;
}

.navbar-box-fix {
    display: none;
}

@media (max-width: 767px) {
    .navbar-box-fix {
        height: 52px;
        display: block;
    }

    .header-inner .logo {
        height: 38px !important;
    }

    .navbar-logo {
        max-width: 180px;
        max-height: 42px;
        position: relative;
        top: 6px;
        z-index: -1;
    }

    .mobile-height-52 {
        /* klasa ta wymusza na navbarze utrzymanie wysokości 52px, ale od razu po załadowaniu strony klasa ta jest usuwana - dzięki temu navbar może się rozwinąć, ale nie skacze podczas ładowania strony */
        height: 52px !important;
    }

    .slicknav_nav a {
        padding: 6px 10px !important;
    }

    .slicknav_menu > a.slicknav_btn.slicknav_open {
        margin-bottom: 5px;
    }
}

.header .nav li .dropdown.pages-have-icons li a {
    padding-left: 45px;
}

.use-header-image .show-if-using-header-image {
    display: none;
}

@media (min-width: 768px) {
    .logo-center-vertically {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .use-header-image .hide-if-using-header-image {
        display: none !important;
    }

    .use-header-image .show-if-using-header-image {
        display: block !important;
    }
}

.header-image {
    display: none;
}

@media (min-width: 768px) and (max-width: 991px) {
    .header-image-720 {
        display: block;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .header-image-960 {
        display: block;
    }
}

@media (min-width: 1200px) {
    .header-image-1140 {
        display: block;
    }
}

/* FOOTER */
footer .social a:hover, footer img:hover {
    transform: scale(1.07);
}

footer .social i {
    position: relative;
    top: -2px;
}

footer .social .social-fb a i {
    color: #3C5A99;
}

footer .social .social-twitter a i {
    color: #1DA1F2;
}

footer .social .social-yt a i {
    color: #FF0000;
}

footer .social .social-instagram a i {
    color: rgb(130, 58, 238);
}

footer .footer-links {
    text-align: center;
    padding: 10px 0 5px;
}

footer .footer-links a:not(:last-of-type) {
    margin-right: 20px;
}

footer .footer-links img {
    width: auto;
    height: 45px;
}

footer .footer-contacts {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

footer .footer-contacts > a {
    padding: 2px 5px;
}

footer .footer-contacts > a i {
    margin-right: 5px;
}

/* MODAL LOGOWANIA */
.login-modal .modal-body .login-modal-text {
    line-height: 165%;
    padding: 13px 30px 13px 20px;
}

.login-modal .modal-body .btn-login {
    padding: 17px 25px;
    color: #fff;
    transition: all 0.5s;
    font-size: 1.2rem;
    display: inline-block;
}

.login-modal .modal-body .btn-login:hover {
    color: white;
    text-decoration: none !important;
}

.login-modal .modal-body .modal-logo-mobidziennik {
    margin-top: 28px;
    max-height: 22px;
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .login-modal .modal-dialog {
        top: 52px;
    }
}

/* PLANY-LEKCJI */
#schedulle-container .bx {
    opacity: 1 !important;
}

/* ZASTĘPSTWA */
.replacements-container table tr:first-of-type > td:first-of-type {
    padding-top: 0 !important;
}

/* SIDEBAR - PINNED PAGES */
.learnedu-sidebar .pinned-pages li a {
    color: black;
    display: block;
    width: 100%;
}

.learnedu-sidebar .pinned-pages li:not(:first-of-type) {
    padding-top: 7px;
}

.learnedu-sidebar .pinned-pages li:not(:last-of-type) {
    padding-bottom: 7px !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid #e6e6e6;
}

/* SIDEBAR - LATEST GALLERIES */
.learnedu-sidebar .latest-galleries figure {
    transition: all .3s;
}

.learnedu-sidebar .latest-galleries figure:hover img {
    transform: scale(1.05);
}

.learnedu-sidebar .latest-galleries figure strong {
    font-size: 16px;
}

.single-widget.latest-galleries a.latest-galleries-0, .single-widget.latest-galleries a.latest-galleries-2 {
    padding-right: 7.5px;
}

.single-widget.latest-galleries a.latest-galleries-1, .single-widget.latest-galleries a.latest-galleries-3 {
    padding-left: 7.5px;
}

.single-widget.latest-galleries a.latest-galleries-0, .single-widget.latest-galleries a.latest-galleries-1 {
    margin-bottom: 15px;
}

/**************************************  ELEMENTY **************************************/

.element {
    padding: 40px 0;
    transition: all .4s;
}

@media (max-width: 767px) {
    .element {
        padding: 30px 0;
    }
}

@media (min-width: 576px) {
    .elements-should-have-padding .element-slider, .elements-should-have-padding .element-quick-facts {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .elements-should-have-padding .element-quick-facts.overlay::before {
        left: 15px !important;
        width: calc(100% - 30px) !important;
    }
}

.first-elem-sm-p .element-content:first-child, .first-elem-sm-p .element-banner:first-child, .first-elem-sm-p .element-gallery:first-child, .first-elem-sm-p .element-slogan-image:first-child, .first-elem-sm-p .element-latest-news:first-child {
    padding-top: 20px;
}

/* CONTENT */
.element-content {
}

/* LATEST NEWS */
.element-latest-news .row-button {
    margin-top: 10px;
}

.element-latest-news .section-title small {
    display: block;
    font-size: 60%;
}

@media (max-width: 767px) {
    .element-latest-news .row-button {
        margin-top: 15px;
    }
}

@media (max-width: 575px) {
    .element-latest-news .col-12 {
        padding: 0;
    }
}

/* BANNER */
.element-banner {
}

/* SLIDER */
.element-slider {
    max-width: 100%;
    padding: 0 !important;
}

.element-slider .slide-content::before {
    opacity: .35;
    background: #000;
}

.single-slider .container, .single-slider .row {
    height: 100%;
}

.slides-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    height: 100%;
}

.slides-container > .slide {
    display: flex;
}

@media (max-width: 767px) {
    .owl-controls {
        display: none !important;
    }
}

/* QUICK FACTS */
.element-quick-facts {
    padding: 50px 0;
    margin: 0;
}

@media (min-width: 576px) and (max-width: 991px) {
    .element-quick-facts .col-single-fact-2, .element-quick-facts .col-single-fact-3 {
        margin-top: 40px;
    }
}

@media (max-width: 575px) {
    .element-quick-facts .col-single-fact-1, .element-quick-facts .col-single-fact-2, .element-quick-facts .col-single-fact-3 {
        margin-top: 50px;
    }
}

/* SLOGAN IMAGE */
.element-slogan-image .slogan-image-background {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* SOLID HEADERS */
.solid-headers h1:first-child, .solid-headers h2:first-child, .solid-headers h3:first-child, .solid-headers h4:first-child, .solid-headers h5:first-child, .solid-headers h6:first-child {
    margin-top: 0 !important;
}

.solid-headers h1, .solid-headers h2, .solid-headers h3, .solid-headers h4, .solid-headers h5, .solid-headers h6 {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.solid-headers h1 {
    font-size: 32px !important;
}

.solid-headers h2 {
    font-size: 28px !important;
}

.solid-headers h3 {
    font-size: 24px !important;
}

.solid-headers h4 {
    font-size: 20px !important;
}

.solid-headers h5 {
    font-size: 16px !important;
}

.solid-headers h6 {
    font-size: 14px !important;
}

/* PANEL PREVIEW */
.panel-preview {
    display: block;
    position: fixed;
    top: 90px;
    left: 30px;
    width: auto;
    height: auto;
    padding: 10px;
    background-color: #3c8dbc;
    border: 1px solid #367ea8;
    border-radius: 5px;
    color: #fff;
    font-size: 20px;
    z-index: 999999999;
}

/* DEKLARACJA DOSTEPNOSCI */
.deklaracja-dostepnosci-container div {
    margin-bottom: 15px;
}

.accessibility-btns {
    padding: 5px 20px;
    font-size: 15px;
}

.accessibility-btn {
    cursor: pointer;
    color: black;
    background-color: transparent;
    border: none;
    transition: .2s;
    font-weight: 400;
    font-size: 15px;
}

/* LINK DO TREŚCI */
.skip-to-content-link {
    color: white;
    font-weight: 600;
    height: auto;
    font-size: 20px;
    left: 0;
    top: 0;
    padding: 10px;
    position: absolute;
    transform: translateY(-100%);
    transition: transform 0.2s;
    border: 3px solid black;
    border-left-style: none;
    border-top-style: none;
    border-bottom-right-radius: 6px;
    z-index: 100000;
}

.skip-to-content-link:focus, .skip-to-content-link:hover {
    transform: translateY(0%);
    color: white;
    text-decoration: underline;
}

.owl-nav {
    display: none !important;
}

.links-btns a {
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 4px;
    padding: 3px 8px;
    color: black;
}

.links-btns a:hover {
    transform: scale(1.1);
}

.btn-subnav-link {
    max-width: 100%;
    white-space: normal;
    text-align: left;
}

.toast {
    opacity: 1 !important;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

.ca-decision-btn:focus,
.ca-toggle-category-info:focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: 3px;
    box-shadow: none;
}