@media not print {
    @media all and (max-width: 1139px) {
        .menu_mainmenu nav {
            width: 100%;
        }
        .new2_site_static .template_menu ul li a {
            padding: 0px 19px;
        }
        
        
        
        .banner_top_elements .banner_slides1 {
            width: 800px;
            margin: 0 auto;
            padding-left: 0px;
        }
        .header_image,
        .new2_site_static {
            background: none !important;
        }
        .new2_site_static .site_header_controls a {
            color: #333333;
        }
        .new2_site_static .site_header,
        .new2_site_static .site_wrapper {
            width: 100%;
            height: auto;
            overflow: hidden;
        }
        .new2_site_static .site_header_logo {
            float: none;
            display: block;
            margin: 30px auto 15px auto;
        }
        .new_header_inputs {
            overflow: hidden;
            margin-bottom: 20px;
            height: auto;
        }
        .new2_site_static .site_header_controls {
            float: none;
            display: block;
            margin: 0 auto;
            width: 100%;
            height: auto;
            margin-top: 48px;
        }
        .new2_site_static .site_header_controls ul {
            text-align: center;
        }
        .new_header_inputs {
            width: 260px;
            float: none;
            padding: 0;
            margin: 0 auto;
        }
        .new2_site_static .site_header_controls ul li:first-child {
            width: auto;
            float: none;
        }
        .new2_site_static .site_header_controls a.new_bip_controls_button {
            padding: 0 18px 0 47px;
            background: transparent url(http://cdn.sulimo.pl/media/public/pulawy.powiat.pl/mini_bip.png) no-repeat 17px center
        }
        .new_header_inputs > form {
            margin: 10px;
        }
        .main_menu {
            display: none;
        }
        .menu_main_mobile,
        .menu_site_mobile {
            display: block !important;
            padding: 8px 5%;
            background: #469B4C;
            text-align: center;
            margin: 0 auto;
        }
        .menu_site_mobile {
            margin-bottom: 20px;
        }
        .menu_main_mobile label,
        .menu_site_mobile label {
            font-size: 14px;
            text-transform: uppercase;
            width: 130px;
            display: inline-block;
            color: #FFF;
            text-align: right;
            font-weight: bold;
        }
        .menu_main_mobile select,
        .menu_site_mobile select {
            width: 300px;
            height: 30px;
            font-size: 15px;
        }
        .new2_site_static .template_maincontent {
            width: 100%;
            padding: 0;
        }
        .new_static_autoheight {
            width: 262px;
        }
        .template_right .static_standard {
            height: 95px;
            width: 262px !important;
            display: inline-block !important;
        }
        
        .new2_site_static .template_right {
            /*            width: 262px;*/
            width: 600px;
            margin: 0 auto;
            float: none;
            margin-bottom: 20px;
        }
        .news_grouplist {
            padding-left: 0px;
            padding-right: 0px;
        }
        .news_grouplist_item {
            width: 31%;
            height: 340px;
        }
        .new2_site_static .template_shortcut,
        .new2_site_static .template_left {
            width: 100%;
            float: none;
        }
        .new_static_autoheight_name,
        .new_static_autoheight_name_normal{
            width: 262px;
            border-radius: 5px;
        }
        .template_links a {
            margin-left: 8px;
            margin-right: 8px;
        }
        .news_grouplist_item_gallery {
            margin: 0 auto;
            margin-bottom: 35px;
        }
        .new2_site_static .template_right,
        .new_template_bottom_links_c,
        .new2_site_static .template_shortcut {
            text-align: center;
        }
        .new2_site_static .template_right > div,
        .new_template_bottom_links_c > div,
        .new2_site_static .template_shortcut > div {
            display: none;
        }
        .static_standard {
            display: block !important;
        }
        .new2_site_static .template_left,
        .new2_site_static .top_templates_container {
            width: 96%;
            padding: 0 2%;
        }
        .new2_site_static .template_shortcut {
            margin: 5px 0;
        }
        .new_template_bottom_quciklinks {
            overflow: hidden;
        }
        .new2_site_static .small_containers {
            text-align: center;
        }
        .new2_site_static .small_containers .template_col1,
        .new2_site_static .small_containers .template_col2,
        .new2_site_static .small_containers .template_col3,
        .new2_site_static .small_containers .template_col4,
        .new_static_autoheight {
            display: inline-block !important;
            float: none !important;
            margin: 0 2px 4px 0 !important;
            font-size: 0;
            vertical-align: top;
        }
        .new_static_autoheight .new_static_autoheigh_desc a span.content {
            font-size: 11px;
        }
        h2.new_sitetop_h2title {
            margin-top: 5px;
        }
        h2.new_sitetop_h2title > .h2title_icons {
            float: none;
            display: block;
            text-align: left;
            height: 22px;
            margin-top: 21px;
            padding-left: 0;
            margin-left: 47px;
        }
        h2.new_sitetop_h2title > span:first-child {
            display: inline-block;
            max-width: none;
            width: auto;
        }
        .news_groups_more {
            width: 30%;
        }
        .news_grouplist_item_img span {
            width: 100%;
            height: 135px;
        }
        .news_grouplist_item_4inrow {
            width: 23%;
        }
        .news_grouplist_item_img {
            height: auto;
            max-width: 100%;
        }
        .news_grouplist_item_lead {
            width: 100%;
        }
        .news_grouplist_item {
            padding-bottom: 20px;
        }
        .banner_top_elements .banner_slides1 {
            overflow: hidden !important;
        }
        .banner_top_elements .prev,
        .banner_top_elements .next {
            left: 5px;
        }
        .banner_top_elements .next {
            right: 5px;
            left: auto;
        }
        .new_template_bottom_links_c,
        .new_template_bottom_quciklinks_c {
            width: 100%;
            height: auto;
        }
        .new_template_footer_c {
            width: 100%;
        }
        .new_template_footer_c .new_footer_col1,
        .new_template_footer_c .new_footer_col2,
        .new_template_footer_c .new_footer_col3,
        .new_template_footer_c .new_footer_col4 {
            width: 50%;
            border: 0 !important;
            position: relative;
        }
        .new_footer_col1::after,
        .new_footer_col3::after {
            content: ' ';
            position: absolute;
            top: 0;
            right: 0;
            background-color: #FFF;
            width: 2px;
            height: 100%;
            z-index: 9999;
        }
        .new_template_footer_copy {
            width: 100%;
        }
        .new_template_footer_copy .copy {
            width: 480px;
            margin-left: 20px;
        }
        .new_template_footer_copy .auth {
            width: 200px;
            margin-right: 20px;
        }
        .bc_container {
            line-height: 14px;
            margin-bottom: 15px;
            padding: 0 5px;
        }
        .new_template_banner {
            float: none;
            width: 100%;
        }
        .news_slide_wide {
            width: 100%;
            height: auto;
        }
        .news_slide_wide_img {
            width: 100%;
            height: 100%;
        }
        .news_slide_wide_img img {
            min-width: 0;
            min-height: 0;
        }
        a.new_footer_mapka {
            background-position: center center;
        }
        .bc_container {
            padding-top: 12px;
        }
        .news_grouplist_item_long {
            height: 201px;
        }



        .hmb_main {
            padding: 5px 0 !important;
        }

        .hmb_main li {
            line-height: 20px !important;
            padding: 0 !important;
            color: #333333 !important;
        }
        .hmb_main li a {
            padding: 5px 0 5px !important;
            background-color: #C4D11A !important;
            color: #333333 !important;
            margin-right: 0 !important;
        }
        .hmb_main li a:hover {
            background-color: #d5e22c !important;
        }
        .sub_menu a {
            background-color: #31ABDD !important; 
        }
        .sub_menu a:hover {
            background-color: #1fc0f4 !important;
        }
        .sub_menu .opened {
            padding-left: 0 !important;
        }
        .sub_menu .opened a {
            padding-left: 70px !important; 
        }
    }
    @media all and (max-width: 820px) {
        .banner_slides1 {
            width: 100% !important;
        }
    }
    @media all and (max-width: 979px) {
        .caption {
            display: none !important;
        }
        .news_grouplist_item_4inrow {
            margin-left: 19px;
        }
        .fb_iframe_widget iframe {
            width: 680px !important;
        }
        .news_content {
            margin-bottom: 30px
        }
        .footer_image {
            background: none !important;
        }
        .new_template_footer,
        .new_template_footer_copy {
            background: #9ac00c;
            border-top: 3px solid white;
        }
        .new_template_footer {
            border-color: #31abdd;
            height: auto;
            min-height: 320px;
        }
        .tfc_static {
            width: 23%;
        }
    }
    @media all and (max-width: 767px) {
        .contact_info > div {
            float: none;
            margin-bottom: 30px;
            width: 100%;
        }
        
        .new2_site_static .site_header_logo {
            height: 100px;
            background-size: 100%;
            width: 320px;
        }
        .bc_container {
            padding-top: 23px;
        }
        .new2_site_static .template_right {
            width: 262px;
        }
        .news_grouplist_item {
            width: 100%;
        }
        .news_grouplist_item_4inrow {
            width: 45%;
        }
        .contact_line {
            width: 100%;
            float: none;
        }
        .contact_textarea {
            width: 100%;
            float: none;
        }
        .news_grouplist_item {
            height: 360px;
            margin-left: 0px;
        }
        .news_grouplist_item_4inrow:nth-child(2n+1) {
            margin-left: 10px;
        }
        .template_links a {
            display: inline-block;
            min-width: 200px;
        }
        .new_template_footer_c {
            margin: 0 auto;
            width: 320px;
        }
        .tfc_static {
            width: 220px;
            margin: 20px 50px;
        }
        .new_template_footer_copy {
            height: 90px;
            line-height: 15px;
            padding-top: 5px;
            padding-bottom: 10px;
        }
        .new_template_footer_copy .copy,
        .new_template_footer_copy .auth {
            width: 100%;
            margin-left: 0px;
            text-align: center;
        }
        .menu_main_mobile select,
        .menu_site_mobile select {
            width: 100%;
        }
        .news_grouplist_item_long {
            height: auto;
            padding-bottom: 50px;
        }
        .news_grouplist_item_img_long {
            width: 230px;
            height: auto;
        }
        .news_grouplist_item_img_long img {
            width: 100%;
            height: auto;
        }
        .paging span {
            display: inline-block;
            width: 40px;
            margin: 0 auto;
            text-align: center;
            margin-top: 10px;
            margin-bottom: 10px;
        }
        .paging a {
            margin: 10px 0px;
        }
        .paging_right,
        .paging_left {
            width: 100% !important;
        }
        .template_left .news > span {
            float: none;
        }
    }
}
/*
=============================!!!!=============================
MENU
=============================!!!!=============================
*/

.hide {
    display: none;
}
#tekst,
#tekst2 {
    display: none;
}
.open_menu {
    text-decoration: none;
    color: white;
    display: none;
    height: 48px;
}
.open_menu2 .c-hamburger--htla {
    background: #C4D11A !important;
}
.c-hamburger {
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 48px;
    height: 48px;
    font-size: 0;
    text-indent: -9999px;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none;
    border: none;
    cursor: pointer;
    -webkit-transition: background 0.3s;
    transition: background 0.3s;
}
.c-hamburger:focus {
    outline: none;
}
.c-hamburger span {
    display: block;
    position: absolute;
    top: 22px;
    left: 9px;
    right: 9px;
    height: 4px;
    background: white;
}
.c-hamburger span::before,
.c-hamburger span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #fff;
    content: "";
}
.c-hamburger span::before {
    top: -10px;
}
.c-hamburger span::after {
    bottom: -10px;
}
.c-hamburger--htla {
    background-color: #32dc64;
}
.c-hamburger--htla span {
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
}
.c-hamburger--htla span::before {
    -webkit-transform-origin: top right;
    -ms-transform-origin: top right;
    transform-origin: top right;
    -webkit-transition: -webkit-transform 0.3s, width 0.3s, top 0.3s;
    transition: transform 0.3s, width 0.3s, top 0.3s;
}
.c-hamburger--htla span::after {
    -webkit-transform-origin: bottom right;
    -ms-transform-origin: bottom right;
    transform-origin: bottom right;
    -webkit-transition: -webkit-transform 0.3s, width 0.3s, bottom 0.3s;
    transition: transform 0.3s, width 0.3s, bottom 0.3s;
}
.c-hamburger--htla.is-active {
    background-color: #18903c;
}
.c-hamburger--htla.is-active span {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
.c-hamburger--htla.is-active span::before,
.c-hamburger--htla.is-active span::after {
    width: 50%;
}
.c-hamburger--htla.is-active span::before {
    top: 0;
    -webkit-transform: translateX(19px) translateY(2px) rotate(45deg);
    -ms-transform: translateX(19px) translateY(2px) rotate(45deg);
    transform: translateX(19px) translateY(2px) rotate(45deg);
}
.c-hamburger--htla.is-active span::after {
    bottom: 0;
    -webkit-transform: translateX(19px) translateY(-2px) rotate(-45deg);
    -ms-transform: translateX(19px) translateY(-2px) rotate(-45deg);
    transform: translateX(19px) translateY(-2px) rotate(-45deg);
}

@media screen and (max-width: 980px) and (max-width: 1139px) {
    .sub_menu_c {
        display: block;
        text-align: left;
    }
    .open_menu2 {
        display: none;
    }
    .nav_site ul li ul {
        padding-left: 20px;
    }
    .new2_site_static .template_right > div {
        display: block;
        text-align: left;
    }
}
    
@media screen and (max-width: 1139px) {
    .new2_site_static .template_menu ul li {
        width: 100%;
    }
    .new2_site_static .template_menu ul li {
        line-height: 8px;
    }
    .menu_mainmenu nav ul .separator {
        display: none;
    }
    .new2_site_static .template_menu ul li a {
        border-right: 0px;
    }
    #nav.show {
        display: block;
        opacity: 0.97;
        height: 100%;
        background: #C4D11A;
    }
    .menu_mainmenu .show,
    .sub_menu_c .show2 {
        margin-top: 0;
        width: 100%;
        display: block !important;
        padding-bottom: 0px;
    }
    .menu_mainmenu ul {
        width: 100%;
        display: block;
        margin: 0 auto;
        padding-top: 0;
        list-style: none;
    }
    .menu_mainmenu nav ul li {
        width: 100%;
        border: none;
        height: auto;
        line-height: normal;
    }
    .menu_mainmenu nav ul li a {
        font-size: 12pt !important;
        text-transform: uppercase;
    }
    .menu_mainmenu nav {
        margin-top: 16px;
    }
    .menu_mainmenu .show,
    .sub_menu_c .show2 {
        margin-top: 0;
        width: 100%;
        display: block;
        padding-bottom: 0px;
    }
    .menu_mainmenu .show ul {
        height: auto;
    }
    .open_menu {
        display: inline;
        background: #474747;
        position: absolute;
    }
    .tekst_show,
    .tekst_show2 {
        margin-top: -32px;
        color: white;
        width: 100%;
        text-align: center;
        display: block !important;
        font-weight: 500;
        font-size: 15px;
    }
    .tekst_show2 {
        margin-top: 0px;
    }
    #nav_site {
        display: none;
    }
    #nav_site.show2 {
        list-style: none;
        color: white;
        width: 100%;
    }
    .template_menu {
        z-index: 1000;
        position: fixed;
        top: 0;
        width: 100%;
        height: auto;
    }
    .glyphicon {
        float: left;
        font-size: 25px;
        top: 5px !important;
        left: 5px !important;
    }
    #tekst,
    #tekst2 {
        background: #474747;
        text-align: center;
        margin: 0;
        font-size: 20px;
        color: white;
        padding: 15px 48px 15px 0px;
        font-weight: bold;
        background: #31ABDD;
    }
    /*
    MENU BOCZNE
    */
    .open_menu2 {
        display: block;
        background-color: #C4D11A;
        width: 48px;
        height: 48px;
        position: absolute;
    }
    .sub_menu_c {
        display: block !important;
        margin: 0 auto;
        width: 100%;
        padding-top: 0;
        opacity: 0.97;
        border-bottom: 0;
        background: #31ABDD;
    }
    .sub_menu_c .sub_menu,
    .sub_menu_c .sub_menu ul,
    .sub_menu_c .sub_menu ul ul {
        list-style: none;
    }
    .sub_menu_c .sub_menu li {
        border: none;
    }
    .sub_menu_c .sub_menu li a {
        font-size: 12px !important;
        height: 18px;
        font-weight: bold;
        color: white;
        text-transform: uppercase;
    }
    .sub_menu_c {
        position: fixed;
        z-index: 100000;
        top: 50px;
        left: 0;
    }
    /*        
    ========================================
    STYLE DO TEMPLATE
    ========================================
    */
    .new2_site_static .template_menu {
        background: none;
        border: 0;
    }
    .menu_mainmenu {
        min-height: 48px;
    }
    .menu_mainmenu nav ul li a {
        padding: 0;
        font-size: 10pt !important;
    }
    .menu_mainmenu nav ul li {
        padding-top: 10px;
    }
    .menu_mainmenu nav ul li:last-child {
        padding-bottom: 10px;
    }
    .menu_mainmenu nav ul {
        padding-top: 5px;
    }
    .menu_mainmenu nav ul li a:hover {
        border: 0px;
        color: white;
    }
    nav {
        /*        display: none !important;*/
        height: auto;
        margin-top: 0px !important;
        display: none !important;
    }
    .c-hamburger--htla,
    .c-hamburger--htla.is-active {
        background: #31ABDD !important;
        float: left;
    }
    .sub_menu_c ul li::before {
        display: none;
    }
    .sub_menu_c ul ul {
        border: none;
    }
    .sub_menu_c ul li {
        height: auto;
        text-align: left;
    }
    .sub_menu_c ul li ul {
        padding-left: 20px;
    }
    .sub_menu_c .sub_menu li a {
        padding: 8px 0px 5px 50px;
        font-weight: 400;
        height: auto;
    }
    
    #sub_menu,
    #tekst2 {
        background: #C4D11A !important;
    }
}