@font-face {
    font-family: "Favela-SemiBold";
    src: url("../fonts/Favela-SemiBold.eot");
    src: url("../fonts/Favela-SemiBold.eot?#iefix") format("embedded-opentype"),
        url("../fonts/Favela-SemiBold.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Favela-Regular";
    src: url("../fonts/Favela-Regular.eot");
    src: url("../fonts/Favela-Regular.eot?#iefix") format("embedded-opentype"),
        url("../fonts/Favela-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Favela-Light";
    src: url("../fonts/Favela-Light.eot");
    src: url("../fonts/Favela-Light.eot?#iefix") format("embedded-opentype"),
        url("../fonts/Favela-Light.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "Favela-Regular", "Roboto", sans-serif;
    background-color: #bcd0ed;
    color: #000;
}

hr {
    margin: 1% 0;
    border: 0;
    height: 2px;
    background: #000;
}

.aLink {
    color: #005eff;
}

.aTitle {
    font-family: 'Favela-SemiBold', 'Roboto', sans-serif;
    color: #000;
}

nav.nav_custom {
    background-color: #ffe166;
}

.text_ul {
    padding-left: 20px;
    margin-bottom: 0px;
}

header {
    position: relative;
    min-height: 250px;
    background: url(../../res/img/budynek_jesien_xs.jpg); 
    background-repeat: no-repeat;
    background-position: 0% 70%;
}

header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .2);
}

header .overlay h1 {
    padding-top: 30%;
    text-align: center;
    font-weight: 600;
    font-size: 30px;
    font-family: 'Favela-SemiBold', 'Roboto', sans-serif;
    color: #fff;
    text-shadow: 5px 5px 6px rgba(0, 0, 0, 0.59);
}

.navbar-toggler {
    border-color: rgb(0, 0, 0);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

nav .navbar-brand {
    overflow: hidden;
}

nav .navbar-brand img {
    max-width: 240px;
}

nav ul.first_menu {
    padding-top: 100px;
    line-height: 1.15;
}

nav ul.second_menu {
    padding-top: 10px;
    line-height: 1.15;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: underline;
}

/* FILE */
.file-title {
    font-size: 17px;
}

.file-description {
    font-size: 15px;
}

.file-size {
    font-size: 13px;
}

/* Footer */
.img_rybnik_maria,
.img_history_logo {
    text-align: center;
}

.footer-contact {
    padding-left: 15px;
}

.footer-contact .contact-title {
    font-family: "Favela-SemiBold", "Roboto", sans-serif;
    font-size: 16px;
}

.footer-contact ul {
    font-size: 14px;
    list-style: none;
    padding-inline-start: 0;
    margin: 3% 0;
}

.footer-contact i,
.footer-contact span {
    padding-right: 15px;
    width: 23px;
    height: auto;
    text-align: center;
}

.footer-contact .li-padding {
    padding-left: 23px;
}

/* MAIN */

.section-title {
    margin-top: 70px;
}

.section-title h2 {
    font-family: "Favela-SemiBold", "Roboto", sans-serif;
    font-size: 32px;
    line-height: 50px;
    margin-bottom: 0;
}

.section-title i {
    margin-right: 20px;
    line-height: 50px;
    font-size: 28px;
    cursor: pointer;
}

/* Kalendarz */
.kalendarz {
    padding: 7px;
    width: 245px;
}

table.kalendarz-tabela,
table.kalendarz-tabela td {
    border: 1px solid black;
}

table.kalendarz-tabela td+div {
    color: red;
}

table td.kalendarz-tytul {
    font-family: "Favela-Regular";
    font-size: 12px;
    text-align: center;
}

table td.kalendarz-dzien {
    width: 35px;
    font-family: "Favela-Light";
    font-size: 12px;
    text-align: center;
}

table td.kalendarz-dzisiaj {
    background: #bcd0ed;
    font-family: "Favela-Regular";
    font-size: 12px;
    text-align: center;
}

table td i {
    cursor: pointer;
    font-size: 12px;
}

div.tooltip-inner {
    max-width: 650px;
}

.tooltip-inner {
    background-color: #000000;
    text-align: left;
    padding: 0px 10px;
}

.tooltip.bs-tooltip-auto[x-placement^="right"] .arrow::before,
.tooltip.bs-tooltip-right .arrow::before {
    border: right color #000000;
}

.borderW {
    border-bottom: 1px solid white;
}

.kalendarzOpis {
    padding: 10px 0px;
}

/* Kafelki */

.tiles_box {
    width: 100%;
    background: #fff;
    padding: 30px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.6);
}

.tiles_box_2 {
    width: 100%;
    height: 170px;
    background: #fff;
    padding-top: 70px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.6);
}

.tiles_box a:hover {
    color: #000000;
    text-decoration: underline;
}

/* ARTYKUŁ */

article {
    font-family: "Favela-Light";
    font-size: 16px;
    width: 100%;
    background: #fff;
    padding: 30px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.6);
}

article .extra {
    margin-bottom: 10px;
}

article .date-news {
    font-size: 14px;
}

article .date-news i {
    margin-right: 10px;
}

article .news-title {
    font-family: "Favela-SemiBold", "Roboto", sans-serif;
    font-size: 16px;
    color: #000;
    min-height: 40px;
}

article a:hover {
    color: #000;
}

article .shortmsg {
    min-height: 92px;
    font-family: "Favela-Light";
    font-size: 16px;
}

article .news-more {
    font-family: "Favela-SemiBold", "Roboto", sans-serif;
    text-align: right;
    font-size: 13px;
}

article .news-more a {
    color: #000;
}

article .description p {
    margin-bottom: 0;
}

.description a {
    text-decoration: underline;
}

article.archive {
    display: flex;
    align-items: center;
    justify-content: center;
}

article.archive i {
    margin-right: 10px;
    line-height: 40px;
}

article.archive h2 {
    margin: 0;
}

article a {
    color: #005eff;
}

article em {
    font-style: normal;
}

article.archive a {
    color: #000;
}

.content_description {
    font-size: 16px;
    font-family: "Favela-Light", "Roboto", sans-serif;
}

.content_description p {
    margin-bottom: 0px;
}

.content_description ul {
    padding-left: 20px;
}


/* Jednostki obsługiwane */

.unit-list {
    list-style: none;
    margin-bottom: 0;
    padding-inline-start: 0;
}

.news-more a,
.unit-list li:first-child {
    font-family: "Favela-SemiBold", "Roboto", sans-serif;
    color: #000;
}

.unit-list li {
    font-family: "Favela-Light", "Roboto", sans-serif;
    line-height: 1.5;
}

.bip_position {
    position: absolute;
    top: 120px;
    right: 10px;
    z-index: 9;
}


.img-fluid_A {
	max-width: 100%;
    height: auto;
}


@media (min-width: 468px) {
    header .overlay h1 {
        padding-top: 15%;
        font-size: 30px;
    }

}


@media (min-width: 768px) {
    .img_rybnik_maria {
        text-align: right;
    }

    header .overlay h1 {
        padding-top: 15%;
        font-size: 30px;
    }

    header {
        position: relative;
        height: 100vh;
        background: url(../../res/img/budynek_jesien.jpg);
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    } 
	
	.img-fluid_A {
	 width: 450px;
	}
	
}

@media (min-width: 1200px) {

    .bip_position {
        position: absolute;
        top: 30px;
        right: 50px;
        z-index: 9;
    }

    .content_position {
        position: relative;
        right: 75px;
    }

    nav.nav_custom {
        position: fixed;
        top: 0px;
        bottom: 0px;
        left: 50px;
        z-index: 1000;
        background-color: #ffe166;
        width: 300px;
        padding: 20px 30px;
        box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 1);
    }

    .navbar-expand-xl .navbar-nav {
        flex-direction: column;
    }

    .navbar-collapse {
        align-items: flex-start;
    }

    nav ul.first_menu {
        padding-top: 40px;
    }

    .nav-link {
        padding: 5px 16px;
    }

    .nav-link:hover {
        text-decoration: underline;
    }

    .img_history_logo {
        text-align: right;
    }

    header .overlay h1 {
        padding-top: 20%;
        font-size: 55px;
        width: 850px;
        margin: 0% 30%;
    }
}

@media (min-width: 1550px) {
    nav.nav_custom {
        padding: 40px 30px;
    }

    .content_position {
        position: relative;
        right: 150px;
    }

    .nav-link {
        padding: 0.5rem 1rem;
    }

    nav ul.first_menu {
        padding-top: 120px;
    }

    .bip_position {
        position: absolute;
        top: 30px;
        right: 150px;
        z-index: 9;
    }
}

/* Cookies */
#cookies-message {
    padding: 8px;
    font: 12px Arial;
    line-height: 22px;
    text-align: center;
    position: fixed;
    bottom: 0px;
    background-color: rgba(0, 0, 0, 0.9);
    width: 100%;
    z-index: 9999;
    color: #fff;
}

.cookies-accept {

    display: inline-block;
    margin-left: 20px;
    color: #333;
    text-align: center;
    cursor: pointer;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
    background-color: #0663b4;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(0, 0, 0, .1) rgba(0, 0, 0, .1) rgba(0, 0, 0, .25);
    padding: 2px 10px;
    text-decoration: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;

}

.cookies-accept:hover {
    background-color: #188ef5;
}

#cookies-message a {
    color: #fff;
}

#cookies-message a:hover {
    color: rgb(241, 47, 47);
}


.mW_60 {
	max-width: 60%;
}

.mW_50 {
	max-width: 50%;
}

.mW_40 {
	max-width: 40%;
}


.listaJednostek.table td, .listaJednostek.table th {
    border: none;
    padding: 0.4rem;
} 

.numeracja ol {
    counter-reset: list;
    padding: 0;
    margin: 0;
  }
  .numeracja ol > li {
    list-style: none;
  }
  .numeracja ol > li:before {
    content: counter(list) ") ";
    counter-increment: list;
  }