@media screen and (max-width:1220px) {
    article a img {
        max-width: 100% !important;
    }
	
	a.navigator_home:after{
		display:none !important;
	}
	
	.navigator ul > li+li {
		left: 0px;
	}
	
	.navigator ul > li+li+li {
		left: 0px;
		margin-right: 10px;
	}
	
	.navigator ul > li{
		margin-right: 10px;
	}
	
	.navigator ul > li,
	.navigator ul > li + li:hover {
		background-color: transparent !important;
	}
	
    #PAN_2 .kal_next {
        position: absolute;
        top: 66px;
        left: 64px;
    }
    table.icalendar td {
        display: inline-block !important;
        float: none;
        margin-bottom: 10px;
    }
    tr.week td.kalednarz_text,
    .kalednarz_text {
        width: 100%;
    }
    .kalendarz_box_najnowsze .belka #impreza_tabs {
        display: none !important;
    }
    .zajawka.in-column {
        visibility: visible;
        width: 270px !important;
        margin: 0px 20px 20px 20px;
    }
    .kalendarz_box_najnowsze .zajawka.in-column > a {
        display: block;
        border: none;
    }
    article .zajawka_kal_show.zajawka {
        visibility: visible;
        display: inline-block;
        width: 100% !important;
        border: none;
    }
    section.powiazane {
        text-align: left;
    }
    section.video video {
        max-width: 100%;
        height: auto;
    }
    #table_3,
    #table_3 > tbody,
    #table_3 > tbody > tr,
    #table_3 > tbody > tr > td {
        display: block;
    }
    .view_change, .common-filters
    {
        position: relative;
        /*display: inline-block;*/
        border-left: none;
        display: none;
    }
    #error404 img {
        max-width: 100%;
        height: auto;
    }
    img#lightboxImage,
    #outerImageContainer,
    #imageDataContainer,
    #overlay {
        width: 100% !important;
    }
    .sub-block-menu {
        display: none !important;
    }
    .prestopka {
        min-height: 0;
        padding: 20px 20px 0 20px;
        margin: 0px 0px 23px 0px;
        background: #595959;
        display: block;
        text-align: center;
    }
    .stopka_info .pole-banerowe {
        text-align: center;
    }
    .stopka_linki_ikonka {
        float: none;
        text-align: left;
        background: #2c2c2e;
        color: white;
        clear: both;
        display: inline-block;
    }
    .stopka_info {
        float: none;
        text-align: center;
        color: white;
        margin: 0;
        line-height: 140%;
        width: 100%;
        display: inline-block;
        clear: both;
    }
    .stopka_info .clr
    { display: none; }
    #lightbox {
        overflow: hidden;
    }
    div#outerImageContainer {
        height: auto !important;
    }
    .miejsce img {
        max-width: 99%;
        height: auto;
    }
    .ci-rotator .zajawka.in-row > a {
        display: inline-block;
        width: auto;
        position: relative;
    }
    .ci-rotator .zajawka.in-row .box-left,
    .ci-rotator .zajawka.in-row .box-right {
        display: inline-block;
    }
    article .tresc img {
        max-width: 100%;
        height: auto;
    }
    .zajawka > a .title,
    .zajawka > a .tresc {
        clear: both;
    }
    .filler {
        display: none;
    }
    #menu {
        max-height: none;
    }
    .promowane_strony_box .switcher > li[id] {
        width: 100%;
        text-align: center;
        display: block;
    }
    .promowane_strony_box .zajawka {
        min-height: auto;
        width: auto !important;
        float: none;
    }
    .miejsce-banerowe {
        text-align: center;
    }
    .kalendarz_box .box-left {
        width: 100% !important;
    }
    .kalendarz_box .switcher > li[id] {
        width: 100%;
        text-align: center;
        display: block;
    }
    .kalendarz_box .box-iobiekt {
        display: block;
    }
    .newsbox-container .zajawka {
        width: 100% !important;
    }
    .kalendarz_box .zajawka {
        min-height: auto;
        width: auto !important;
        text-align: center;
        display: inline-block;
        float: none;
    }
    ul.info_tabs {
        list-style-type: none;
        position: relative;
        top: 6px;
        margin: 0px;
        padding: 0px;
        left: 0;
        display: inline-block;
        clear: both;
        margin-bottom: 30px;
    }
    .galerybox .belka_tabs {
        margin-top: 0px;
        text-align: center;
    }
    .rss_ul {
        display: none;
    }
    .najnowszeaktbox .belka .title {
        float: none !important;
        margin-right: 0px;
        display: block;
    }
    .belka .title > span,
    .belka .title > a {
        text-align: center;
    }
    .najnowszeaktbox .belka .title a {
        padding: 10px 20px 10px 20px !important;
        display: inline-block;
    }
    ul.tabs li .lista_kat,
    .lista_kat {
        padding: 10px 22px 9px 22px;
    }
    .akt_kat {
        text-align: left;
    }
    .belka {
        text-align: center;
    }
    .najnowszeaktbox .belka ul.tabs {
        float: none !important;
        margin-top: 20px !important;
        clear: both;
        /*display: block;*/
        text-align: center;
        height: auto;
    }
    .najnowszeaktbox ul.tabs li {
        display: none;
    }
    .najnowszeaktbox ul.tabs li:first-child {
        display: inline-block;
        clear: both;
        float: none;
    }
    .najnowszeaktbox ul.tabs.roz {
        clear: both;
        position: static;
        display: none;
    }
    .mainMenu .block:first-child {
        width: 62px;
    }
    .patroni_content {
        text-align: center;
    }
    .patroni_content > div {
        float: none;
        display: inline-block;
    }
    #table_2,
    #table_2 > tbody,
    #table_2 > tbody > tr,
    #table_2 > tbody > tr > td {
        display: block;
    }
    #PAN_FOOT > div {
        padding: 0px 0px;
    }
    #bigPhoto .grafika img {
        max-width: 100%;
        height: auto !important;
    }
    .poz_gal {
        font-size: 90% !important;
    }
    .box-right .title {
        position: relative;
        float: left;
    }
    .homepagebaner {
        display: flex;
    }
    .left_article_graf img {
        width: 100% !important;
        height: auto;
    }
    #PAN_BOOT > div {
        padding: 0px 0px;
    }
    #table_3 .page_bar tbody {
        display: table-row-group;
    }
    #table_3 .page_bar tbody tr {
        display: table-row;
    }
    #table_3 .page_bar tbody tr td {
        display: table-cell;
    }
    .zaj-list,
    .zaj-wrapper {
        justify-content: center;
    }
    .switcher > div[id],
    .switcher > li[id] {
        width: 100%;
    }
    #PAN_1 > div {
        padding: 0px 0px 0px 0px;
    }
    #PAN_2 > div {
        width: 100%;
        overflow: hidden;
        padding: 0px;
    }
    #page_content {
        overflow-x: visible !important;
    }
    #page_container {
        padding: 0px 15px 0px 15px;
        width: auto;
    }
    #PAN_HEAD .logo_w_naglowku_470x50 {
        float: none;
        margin: 23px 0px 10px 0px;
        text-align: center;
    }
    #PAN_HEAD > div {
        text-align: center;
    }
    .miejsce-banerowe.logo_w_naglowku_380x90 {
        margin: 20px 0px 8px 0px;
        float: none;
        display: inline-block;
    }
    .topMenu_infobar {
        position: static !important;
        float: none;
        clear: both;
        display: inline-block;
    }
    
    .topMenu_infobar + .pole-banerowe,
    .topMenu_infobar + .pole-banerowe + .pole-banerowe
    {
        display: none;
    }
    .cl.cl_naglowek {
        display: block !important;
    }
    div.accesible {
        margin: 15px 0px 10px 0px;
        position: relative;
        float: none;
        display: inline-block;
    }
    .topMenu_infobar div.links {
        margin: 10px 10px 10px 15px;
    }
    .wyszukiwarka-wrapper[style*="position"] {
        overflow: visible !important;
        float: none;
        width: 100% !important;
        display: block;
        max-width: 100% !important;
        margin-left: 0px;
        max-height: none !important;
        height: auto !important;
        margin-bottom: 40px;
    }
    td#PAN_HEAD.docked {
        background: white;
        padding: 0px;
        margin: 0px;
        height: auto !important;
        border-bottom: none;
        width: 100% !important;
        position: relative !important;
    }
    td#PAN_HEAD.docked .miejsce-banerowe.logo_w_naglowku_380x90 img {
        max-width: 100%;
        float: none;
    }
    td#PAN_HEAD.docked .miejsce-banerowe.logo_w_naglowku_380x90 {
        float: none;
    }
    td#PAN_HEAD.docked .topMenu_infobar,
    td#PAN_HEAD.docked .wyszukiwarka.component,
    td#PAN_HEAD.docked div.accesible {
        display: inline-block;
    }
    .wyszukiwarka.component #adv_form {
        display: block;
        float: none;
        width: auto !important;
    }
    .comn-wyszukiwarka {
        position: relative;
    }
    .wyszukiwarka.component form {
        text-align: center;
        border: 1px solid #343539;
    }
    .wyszukiwarka.component form .srch_inp #search_query
    {
        flex: 1 1 75%;
    }
    .pre_newsbox {
        background: #0077a2;
        margin: 0px;
        padding: 0px;
        max-height: none;
    }
    body .newsbox-container .zajawka > a > .box-left {
        width: auto !important;
        float: none;
    }
    .newsbox-container {
        max-height: none;
        display: none;
    }
    body .newsbox-container .zajawka > a > .box-right {
        clear: none;
        float: right;
        width: 100% !important;
        max-height: none;
        background: #ebebeb;
    }
    .newsbox-container .pager {
        display: none;
    }
    .newsbox-container .zajawka .box-right span.tresc {
        border-top: none;
        margin-top: 20px;
    }
    .pre_newsbox .newsbox-container > div:first-child div {
        padding-bottom: 42.26% !important;
    }
    .stopka_dane {
        margin: 0px;
        padding: 0px;
        background: #0077a2;
        text-align: center;
    }
    #PAN_FOOT .glowneMenu {
        display: none;
    }
    .prestopka .mainMenu .block a.menu-level-1 {
        background: none;
    }
    #PAN_FOOT .mainMenu .block:first-child {
        margin-left: 0px;
    }
    #PAN_FOOT .mainMenu .block {
        margin: 0px 0px 20px 34px;
    }
    .stopka_dane .pole-banerowe {
        margin-bottom: 0px;
        float: none;
        display: inline-block;
    }
    a.akceslab {
        margin: 10px 52px 0px 0px;
    }
    .page_footer {
        width: 100%;
        display: block;
        text-align: center;
    }
    .footer_left,
    .footer_right {
        display: inline-block;
    }
    .footer_left {
        padding: 10px 0px 10px 0px;
    }
    .footer_right {
        margin-bottom: 20px;
    }
    .stopka_dane .mapka {
        margin: 0px 0px 0px 0px;
    }
    ul.tabs li {
        margin: 0px 0px 15px 0px;
    }
    #PAN_HEAD .logo_w_naglowku_197x139 {
        float: none;
        margin: -3px 0px -3px 0px;
    }
    #PAN_HEAD .banery_w_naglowku_62x62 {
        float: none;
        margin: 15px 0px 20px 0px;
    }
    .social {
        float: none;
        margin: 12px 0px 10px 0px;
        display: inline-block;
    }
    .standard_ikonki {
        margin: 23px 20px 10px 20px;
        float: none;
        display: inline-block;
        clear: both;
    }
    .component.wyszukiwarka-wrapper {
        position: static !important;
        float: none;
        clear: right;
        overflow: visible;
        display: inline-block;
        margin-top: 30px;
    }
    .cl.cl_wyszukiwarka {
        display: block !important;
    }
    .glowneMenu {
        max-height: none;
    }
    .mainMenu {
        text-align: center;
        display: block;
        height: auto;
    }
    .mainMenu .block.sel:first-child {
        position: relative;
        width: 62px;
        display: inline-block;
    }
    .mainMenu .block {
        display: inline-block;
    }
    .search_menu {
        text-align: center;
        padding: 30px 0px 10px 0px;
    }
    .search_menu li.item,
    .search_menu li.item_sel {
        padding: 5px 5px;
    }
    .wyszukiwarka.component #adv_form table,
    .wyszukiwarka.component #adv_form table.akt_adv_table1 {
        float: left;
        width: 80%;
        margin-left: 20px;
        margin-top: 15px;
    }
    .wyszukiwarka.component #adv_form table + table + table,
    .wyszukiwarka.component #adv_form table.akt_adv_table3 {
        float: none;
        display: block;
        width: 83%;
        clear: both;
        margin-left: 7%;
    }
    .wyszukiwarka.component #adv_form table + table,
    .wyszukiwarka.component #adv_form table.akt_adv_table2 {
        float: left;
        width: 60%;
        margin-left: 8%;
    }
    .wyszukiwarka.component #adv_form .left_adv_portal table {
        width: 82%;
    }
    .wyszukiwarka.component #adv_form .left_adv_portal table:first-child tr {
        display: block;
        width: 100%;
    }
    #adv_form .info {
        margin: 15px 20px 5px 20px;
    }
    #PAN_HEAD.docked .banery_top_small {
        display: block;
        left: -30px;
        position: static;
        top: 7px;
        float: none;
    }
    #PAN_HEAD.docked .banery_w_naglowku_62x62 {
        display: block;
    }
    #PAN_HEAD.docked .banery_top_small {
        display: none;
    }
    #PAN_HEAD.docked .logo_w_naglowku_197x139 img {
        max-width: 100%;
        position: static;
        left: 0px;
        top: 0px;
    }
    #PAN_HEAD.docked .logo_w_naglowku_197x139 {
        height: auto;
    }
    #PAN_HEAD.docked .social {
        float: none;
        margin: 12px 0px 10px 0px;
    }
    #PAN_HEAD.docked .standard_ikonki {
        margin: 23px 20px 10px 20px;
        clear: none;
        float: none;
    }
    #PAN_HEAD.docked .component.wyszukiwarka-wrapper {
        margin: 30px 0px 20px 0px;
    }
    #PAN_HEAD.docked .standard_ikonki a.mapa_strony {
        margin-left: 8px;
    }
    #PAN_HEAD.docked .standard_ikonki a.rss {
        margin-left: 6px;
    }
    .navigator ul > li {
        background: white;
    }
    .navigator ul > li span {
        color: black;
    }
    .navigator ul > li + li a:after,
    .navigator ul > li + li a:before {
        display: none;
    }
    .navigator ul > li span {
        vertical-align: middle;
        display: inline;
        padding: 6px 17px;
        text-transform: uppercase;
        color: black;
        line-height: 191%;
        background: url(../../images/portal/nav_b.png) no-repeat right center;
    }
    .navigator .navigator_home {
        padding: 2px 10px 4px 3px;
        text-transform: uppercase;
        background: none;
        font-family: Pt Sans;
        font-weight: normal;
        color: black;
        text-shadow: 0px 0px;
        font-size: 112%;
        text-transform: uppercase;
    }
    body .navigator .navigator_home span {
        text-transform: uppercase;
        background: url(../../images/portal/tresch.png) no-repeat right center;
        padding: 1px 23px 2px 0px;
    }
    .navigator ul > li {
        display: inline-block;
        vertical-align: middle;
    }
    .navigator ul > li span {
        vertical-align: top;
        display: inline;
        padding: 0px 23px 2px 0px;
        text-transform: uppercase;
        color: black;
        line-height: 191%;
        background: url(../../images/portal/tresch.png) no-repeat right 6px;
        display: block;
    }
    .navigator ul > li > a:hover span {
        color: #E31E25;
    }
    .kalendarz_box_najnowsze .belka .title {
        float: none;
    }
    .kalendarz_box_najnowsze .belka #impreza_tabs {
        width: auto;
        position: relative;
        margin-left: 0px;
        float: none;
        display: inline-block;
    }
    .kalendarz_box_najnowsze .najnowszeaktbox ul.tabs.roz {
        position: relative;
        left: 0px;
        top: 0;
    }
    .kalendarz_box_najnowsze .najnowszeaktbox ul.tabs.roz + ul {
        left: 0px;
    }
    .cl.cl_view {
        display: block !important;
    }
    .kalendarz_box_najnowsze .belka {
        text-align: center;
        max-height: 173px;
    }
    article .left {
        margin-top: 15px;
        width: 100% !important;
        float: none;
        text-align: center;
    }
    #PAN_2 .view_change {
        display: none;
    }
    #PAN_2 .kalendarz_box_najnowsze .kalendarz_data {
        min-width: 105%;
    }
    #PAN_2 .kalendarz_box_najnowsze .zajawka {
        overflow: hidden;
    }
    
    header.belka > ul.tabs,
    header.belka > a
    {
        display: none !important;
    }
    
    ul[class*="columns-"]
    {
        /*justify-content: space-between;*/
    }
    
    ul[class*="columns-"] > li
    {
        width: 270px !important; 
        margin: 0px 20px 20px 20px;
    }
    
    .view_change + .common-filters:not(.active)
    {
        right: 0;
    }
    
    .flipbook-gallery > *
    {
        flex-basis: auto;
    }
}

@media screen and (max-width:1110px) {
    .najnowszeaktbox .zajawka {
        width: 270px !important;
        margin: 0px 20px 20px 20px;
    }
}

@media screen and (max-width:1100px) {
    .cl.cl_stopka {
        display: block !important;
    }
    .footer_left,
    .footer_right {
        width: 100%;
        text-align: center;
    }
    a.akceslab {
        margin: 10px 0px 0px 0px;
        display: inline-block;
        float: none;
    }
    .icon_stopka {
        float: none;
        margin-right: 0px;
        margin-top: 25px;
        margin-left: 0px;
        display: inline-block;
    }
    .author_stopka {
        float: none;
        display: inline-block;
        margin-top: 20px;
        margin-right: 0px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width:1130px) {
    .mainMenu .block {
        width: 18%;
    }
}

@media screen and (max-width:680px) {
    .mainMenu .block {
        width: 25%;
        margin-bottom: 2px;
        margin-top: 2px;
    }
}

@media screen and (max-width:600px) {
    .new_form.newsletter div.new_form_row {
        display: block;
    }
    .new_form.newsletter div.new_form_row > div {
        display: block;
    }
    #kontakt_form div.new_form_row > div {
        display: block;
    }
}

@media screen and (max-width:550px) {
    #PAN_FOOT .mainMenu .block {
        margin: 0px 0px 20px 20px;
    }
}

@media screen and (max-width:470px) {
    .mainMenu .block {
        width: 44%;
        margin-bottom: 2px;
        margin-top: 2px;
    }
    .najnowszeaktbox .zajawka {
        margin: 0px 0px 20px 0px;
    }
}

@media screen and (max-width:446px) {
    #PAN_HEAD .banery_w_naglowku_62x62 > div {
        margin-right: 13px;
        margin-bottom: 13px;
    }
}

@media screen and (max-width:350px) {
    #search_query,
    #sz_query {
        width: 174px;
        font-size: 95%;
        padding-left: 51px;
    }
    #PAN_FOOT .mainMenu .block {
        margin: 0px 0px 20px 00px;
        width: 100%;
    }
    .linki_stopka_menu span {
        display: block;
        background: none;
        width: 1px;
        height: 10px;
        margin: 0px 7px;
        clear: both;
    }
    .stopka_linki_ikonka a {
        float: none;
        display: inline-block;
        clear: both;
    }
}