@media screen and (max-width: 767px) {

    .wycena,
    .fb {
        display: none;
    }

    #slider .item2 h2 {
        font-size: 30px;
        margin: 40px auto 0 auto
    }

    #slider .item2 p {
        font-family: "Source Sans Pro";
        font-size: 18px;
        font-weight: 300;
        color: #fff;
        text-align: center;
        max-width: 100%;
        margin: -17px auto 0 auto;
        line-height: 28px;
        background: rgba(0, 0, 0, 0.80);
        padding: 33px 15px 15px 15px;
        border-radius: 4px;
    }

    #slider .item2 p.more a {
        background: #cb165d;
        color: #fff;
        font-size: 14px;
        border-radius: 4px;
        font-weight: 700;
        transition-duration: 0.4s;
        padding: 8px 14px;
    }

    #slider .item2 p.more a:hover {
        background: #2c4892;
        color: #fff;
        padding: 8px 24px;
    }

    #slider .item h2 {
        font-family: 'Courgette', cursive;
        color: #000;
        margin: 40px auto 0 auto;
        text-align: center;
        font-size: 40px;
        max-width: 100%;
    }

    #slider .item3 h2 {
        color: #fff;
        margin: 40px auto 0 auto;
        text-align: center;
        font-size: 40px;
        max-width: 60%;
        font-weight: 900;
    }

    #slider .item3 p {
        font-family: "Source Sans Pro";
        font-size: 18px;
        font-weight: 300;
        color: #fff;
        text-align: center;
        max-width: 100%;
        margin: 40px auto 0 auto;
        line-height: 28px;
    }

    #slider .item3 p.more a {
        background: #cb165d;
        color: #fff;
        font-size: 14px;
        padding: 8px 14px;
        border-radius: 4px;
        font-weight: 700;
        transition-duration: 0.4s;
    }

    #slider .item p {
        font-family: "Source Sans Pro";
        font-size: 18px;
        font-weight: 500;
        color: #2c4892;
        text-align: center;
        max-width: 100%;
        margin: 20px auto 0 auto;
        line-height: 28px;
    }

    #slider .s3,
    #slider .s2,
    #slider .s1 {
        padding: 20px 0;
        min-height: 460px;
    }

    #slider .item p.more a {
        background: #cb165d;
        color: #fff;
        font-size: 14px;
        padding: 8px 14px;
        border-radius: 4px;
        font-weight: 700;
        transition-duration: 0.4s;
    }

    #slider .item p.more a:hover {
        background: #2c4892;
        color: #fff;
        transition-duration: 0.4s;
        padding: 8px 24px;
    }

    #slider .item3 p.more a:hover {
        background: #2c4892;
        color: #fff;
        transition-duration: 0.4s;
        padding: 8px 24px;
    }

    #slider .item p.more {
        font-size: 24px;
        color: #fff;
        text-align: center;
        max-width: 80%;
        margin: 20px auto 0 auto;
        line-height: 30px;
    }

    #slider .item2 p.more {
        font-size: 24px;
        color: #fff;
        text-align: center;
        max-width: 100%;
        margin: 20px auto 0 auto;
        line-height: 30px;
        background: transparent;
        padding: 0px;
    }

    #slider .item3 p.more {
        font-size: 24px;
        color: #fff;
        text-align: center;
        max-width: 100%;
        margin: 20px auto 0 auto;
        line-height: 30px;
        padding: 0px;
    }

    .section-content .uslugi,
    .section-content .oferta,
    .section-content .realizacje,
    .section-content .klienci,
    .section-content .pt-pb-section {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .section-content .oferta #ptpb_s2_r1_c2 .pt-pb-module-image img {
        margin: 15px 0 0 0;
    }

    .realizacje h3,
    .klienci h3 {
        color: #cb155d;
        font-size: 24px;
        line-height: 24px;
        text-align: center;
        margin: 0 0 0 0;
        font-weight: 900;
    }

    .grid-es .eg-jefferson-element-3 {
        font-size: 20px;
        line-height: 20px;
    }

    .footer-bottom {
        background: url(https://www.nowa.mm.limanowa.pl/wp-content/uploads/2017/03/footerbg.png) center top;
        background-size: cover;
        background-repeat: no-repeat;
        padding: 30px 0;
    }

    .kontakt-firma h4 {
        margin: 0 0 20px 0;
        font-size: 16px;
        font-style: italic;
        text-align: center;
    }

    .widget {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .widget .kontakt-form {
        text-align: left;
    }

    .widget .kontakt-form input,
    .widget .kontakt-form textarea {
        width: 100%;
    }

    .widget .kontakt-form input[type=submit] {
        width: 125px;
    }

    .footer-right {
        text-align: center;
        padding-top: 10px;
    }

    .footer-left {
        text-align: center;
    }

    .page-title h1 {
        color: #fff;
        font-weight: 700;
        font-size: 20px;
        margin: 0;
        padding: 40px 0;
        padding: 40px 0;
        text-align: left;
    }

    .oferta-p #ptpb_s1_r1_c1 img {
        margin-bottom: 15px;
    }

    .firma-h h2 {
        color: #2d4791;
        font-size: 20px;
        font-weight: 700;
        margin: 0;
    }

    .firma-desc p {
        font-size: 16px;
        line-height: 26px;
        font-weight: 300;
    }

    .firma-wspieramy h2 {
        color: #cb165d;
        font-size: 20px;
        font-weight: 700;
        margin: 0;
    }

    .klienci p {
        font-size: 16px;
        line-height: 26px;
        font-weight: 300;
    }

    .filtrowanie .druk a,
    .filtrowanie .rek a {
        line-height: 34px;
    }

    .realizacje-content .entry-content {
        margin: 30px 0;
    }

    .oferta-p h3 {
        font-size: 20px;
        color: #2c4892;
        margin: 0 0 0px 0;
        font-weight: 900;
    }

    .r {
        text-align: center;
    }

    .kontakt-p h3 {
        font-size: 20px;
        font-weight: 900;
        color: #2e4892;
        margin: 0 0 20px 0;
    }

    .single-content {
        margin: 30px 0;
    }

    .back-portfolio {
        margin-top: 30px;
        text-align: left;
        margin-bottom: 30px;
    }

    .single-content .ngg-gallery-thumbnail-box {
        float: left;
        max-width: 50% !important;
    }

    .back-portfolio a {
        background: #cb165d;
        color: #fff;
        font-size: 14px;
        padding: 8px 24px;
        border-radius: 4px;
        font-weight: 700;
        transition-duration: 0.4s;
    }
}

@media (min-width:768px) and (max-width: 1000px) {

    .wycena,
    .fb {
        display: none;
    }

    .filtrowanie .druk a,
    .filtrowanie .rek a {
        line-height: 34px;
    }

    .back-portfolio {
        margin-top: 30px;
        text-align: left;
        margin-bottom: 30px;
    }

    .widget {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .widget .kontakt-form {
        text-align: left;
    }

    .widget .kontakt-form input,
    .widget .kontakt-form textarea {
        width: 100%;
    }

    .widget .kontakt-form input[type=submit] {
        width: 125px;
    }

    .section-content .oferta #ptpb_s2_r1_c2 .pt-pb-module-image img {
        margin: 15px 0 0 0;
    }

    .grid-es .eg-jefferson-element-3 {
        font-size: 20px;
        line-height: 20px;
    }
}

@media (min-width:1001px) and (max-width: 1024px) {
    .navbar-inverse .navbar-nav > li > a {
        color: #2c4892;
        border: 1px solid transparent;
        border-radius: 4px;
        transition: .2s ease-in-out;
        padding: 4px 6px;
        margin: 0px 5px;
        font-weight: 400;
        font-size: 16px;
    }

    .single-content .ngg-gallery-thumbnail-box {
        float: left;
        max-width: 50% !important;
    }

    .widget .kontakt-form {
        text-align: left;
    }

    .widget .kontakt-form input,
    .widget .kontakt-form textarea {
        width: 100%;
    }

    .widget .kontakt-form input[type=submit] {
        width: 125px;
    }

    .filtrowanie .druk a,
    .filtrowanie .rek a {
        line-height: 34px;
    }
}

@media (min-width:0px) and (max-width: 768px) {
    .header-img img {
        max-width: 100px;
    }

    .header-img {
        position: absolute;
        padding: 0 15px 15px 15px;
        background: #fff;
        z-index: 99;
        left: 50%;
        top: 65px;
        transform: translate(-50%, -50%);
        border-bottom-right-radius: 50px;
        border-bottom-left-radius: 50px;
        box-shadow: 0px 3px 0px rgba(228, 19, 85, 1);
    }
}

@media (min-width:768px) and (max-width: 1200px) {
    .navbar-inverse .navbar-nav > li > a {
        color: #2c4892;
        border: 1px solid transparent;
        border-radius: 4px;
        transition: .2s ease-in-out;
        padding: 4px 8px;
        margin: 0px 5px;
        font-weight: 400;
        font-size: 14px;
    }
}

@media (min-width:768px) and (max-width: 1024px) {
    .oferta-p .col-md-6 {
        width: 50%;
        float: left;
    }

}

@media (min-width:768px) {
    .navbar-toggler {
        display: none;
    }
}


@media (min-width:0px) and (max-width: 767px) {
    .navbar-collapse {
        display: none;
    }

    .navbar-inverse .navbar-collapse,
    .navbar-inverse .navbar-form {
        border-color: transparent
    }

    .navbar-nav {
        margin: 16px 0 0 0;
    }

    .navbar-inverse .navbar-nav > li:first-child a {
        margin-left: 10px;
    }

    .navbar-inverse .navbar-nav > li > a {
        color: #2c4892;
        border: 1px solid transparent;
        border-radius: 4px;
        transition: .2s ease-in-out;
        padding: 4px 16px;
        margin: 0px 10px;
        font-weight: 400;
        font-size: 16px;
    }

    .collapse.show {
        display: block;
        position: absolute;
        width: 100%;
        z-index: 999;
        margin-top: 2rem;
        background: #000;
    }

    .navbar-light .navbar-toggler-icon {
        background: none;
    }

    .navbar-light .navbar-brand,
    .navbar-light .navbar-toggler {
        border: none;
    }

    .navbar-toggler {
        -webkit-align-self: flex-end;
        -ms-flex-item-align: flex-end;
        align-self: flex-end;
        padding: 8px 0 0 0;
        line-height: 1;
        background: 0 0;
        border: none;
        border-radius: 0;
        color: #e41355
    }

    .navbar-toggler-icon {
        display: inline-block;
        width: 100%;
        height: 100%;
        vertical-align: middle;
        content: "";
        background: no-repeat center center;
        -webkit-background-size: 100% 100%;
        background-size: 100% 100%;
        font-size: 18px;
    }
}

@media (min-width:0px) and (max-width: 576px) {
    #ptpb_s4 .execphpwidget .row .col-sm-6 {
        width: 50%;

        float: left;
    }


    .cats {
        display: none
    }

    .img-container:hover .over-news .entry .more a {
        background: #cb165d;
        color: #fff;
        font-size: 12px;
        padding: 4px 14px 6px 14px;
        border-radius: 4px;
        font-weight: 700;
        transition-duration: 0.4s;
    }

    .img-container:hover .over-news .entry .more a:hover {
        background: #feed1b;
        color: #111;
        font-size: 12px;
        padding: 4px 20px 6px 20px;
    }
}

@media (min-width:0px) and (max-width: 991px) {
    .img-container:hover .over-news .entry .more {
        margin-top: 0;
    }
}

@media (min-width:576px) and (max-width: 991px) {
    #ptpb_s4 .execphpwidget .row .col-sm-6 {
        width: 33%;
        float: left;
    }

    .cats {
        display: none
    }

    .img-container:hover .over-news .entry .more a {
        background: #cb165d;
        color: #fff;
        font-size: 12px;
        padding: 4px 14px 6px 14px;
        border-radius: 4px;
        font-weight: 700;
        transition-duration: 0.4s;
    }

    .img-container:hover .over-news .entry .more a:hover {
        background: #feed1b;
        color: #111;
        font-size: 12px;
        padding: 4px 20px 6px 20px;
    }
}


@media (min-width:0px) and (max-width: 1024px) {
    .page-title h1 {
        color: #fff;
        font-weight: 700;
        font-size: 16px;
        margin: 0;
        max-width: 400px;
        padding: 40px 0;
        text-align: left;
    }

    .uslugi .col-md-3 {
        width: 50%;
        float: left;
        min-height: 475px;
    }

    .oferta .col-md-4:nth-child(2) {
        display: none;
    }

    .kontakt-p .col-md-6:nth-child(2) {
        display: none;
    }

    .oferta .col-md-4:nth-child(3) {
        display: none;
    }

    .footer-bottom .col-md-3:first-child {
        display: none;
    }

    .w4 {
        width: 40%;
        float: left;
    }

    .fb-page {
        display: none !important;
    }

    .navbar-inverse {
        border-color: transparent;
        border: 0px solid transparent;
    }

    .header {
        min-height: 32px;
    }

    .top-menu {
        position: absolute;
        z-index: 9999;
    }

}
