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

    #top-news-hp,
    .video-temat,
    .box-first,
    #programy-tv28 .box,
    #body #page-wrapper .ads-item {
        margin-bottom: 1rem;
    }
}

@media (min-width: 0px) and (max-width:576px) {
    .w00 {
        display: none;
    }

    .w50 {
        float: left;
        width: 50%;
    }

    .w40 {
        float: right;
        width: 40%;
    }

    .w60 {
        float: left;
        width: 60%;
    }

    .w20 {
        float: left;
        width: 20%;
    }

    .w80 {
        float: right;
        width: 80%;
    }

    #page-wrapper #content h4 {
        font-size: .9rem;
        line-height: 18px;
    }

    #page-wrapper #content #box-title a,
    #page-wrapper #content #video-hp #box-title a {
        padding: 0;
        font-size: 11px;
        background: transparent;
        color: #cf2120;
    }

    #page-wrapper #single-post #viewart h2 {
        font-size: 1.3rem;
    }

    #weather-widget,
    #search {
        display: none;
    }

    #body #page-wrapper #programy-tv28 .program-title {
        font-weight: 700;
        margin: 0 0 .5rem;
        font-size: .8rem;
    }

    #body #katalogfirm h2 {
        font-size: 1.2rem;
    }

    #page-wrapper #footer .realizacja {
        text-align: center !important;
    }

    #body #page-wrapper #header #umenu ul {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        margin: 0;
    }

    #footer ul {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }

    #body #page-wrapper #header #umenu {
        margin-top: 1rem;
        font-size: 13px;
        height: auto;
        line-height: 26px;
        border-bottom: none;
        border-top: none;
        background: #f1f1f1;
        padding-left: 0px;
    }

    #page-wrapper .varticle h3,
    #page-wrapper .videolist h3 {
        margin: 1rem 0 .5rem 0;
        font-size: 1.2rem;
        font-weight: 700;
    }

    #body #page-wrapper .news-info-main .entry-meta {
        margin: 1rem 0 0 0;
    }

    #body #page-wrapper .varticle img,
    #body #page-wrapper .videolist .img {
        width: 100%;
        min-height: 50px;
        float: none;
        border: none;
        padding: 0;
        height: auto;
        margin-right: 0;
        transition: .2s ease-in-out;
    }
}

@media (min-width: 0px) and (max-width:400px) {

    #page-wrapper .varticle h3,
    #page-wrapper .videolist h3 {
        margin: 1rem 0 .5rem 0 !important;
    }
}

@media (min-width: 400px) and (max-width:576px) {
    .w33 {
        float: left;
        width: 33%;
    }

    .a40 {
        float: right;
        width: 40%;
    }

    .a60 {
        float: left;
        width: 60%;
    }
}

@media (min-width: 0px) and (max-width:1170px) {
    #body #page-wrapper #header #menu li a {
        font-size: 12px;
        height: 26px;
        line-height: 26px;
        padding: 0 5px;
    }

    #body #page-wrapper #header #menu li.space {
        border-left: 1px solid #f0f0f0;
        height: 26px;
        margin: 0 0px;
    }

    #body #page-wrapper #header #umenu li a.dodaj-ogloszenie {
        display: block;
        font-size: 13px;
        height: 26px;
        line-height: 26px;
        padding: 0 5px;
        text-decoration: none;
        color: #ffffff;
        background: #144da2;
        transition: .2s ease-in-out;
    }

    #body #page-wrapper #header #umenu li.space {
        border-left: 1px solid #eaeaea;
        height: 26px;
        margin: 0 0px;
    }

    #body #page-wrapper #header #umenu li a {
        font-size: 13px;
        height: 26px;
        line-height: 26px;
        padding: 0 5px;
    }

    #page-wrapper #content #gallery-post-list a img {
        min-width: 20px;
    }

    #body #single-ads #gallery-ads-list a img {
        max-width: 100%;
        min-width: auto;
        transition: .2s ease-in-out;
        max-height: 116px;
    }

    #body #page-wrapper #content #gallery-post-list a img {
        max-width: 100%;
        min-width: auto;
        transition: .2s ease-in-out;
        max-height: 116px;
    }

    #body #page-wrapper .varticle h3 img,
    #body #page-wrapper .varticle h3 img.camnews,
    #body #page-wrapper .videolist h3 .img {
        width: 14px;
        height: 14px;
        min-height: 14px;
    }
}


/** CSS for Menu on Mobile */

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

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

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

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

    .navbar-toggler {
        -webkit-align-self: center;
        -ms-flex-item-align: center;
        align-self: center;
        padding: 0 0 1rem 0;
        font-size: 1rem;
        line-height: 1;
        background: 0 0;
        border: 1px solid transparent;
        border-radius: 0;
    }

    .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: .8rem;
    }
}

@media (min-width: 576px) and (max-width:1170px) {
    #body #page-wrapper #header #umenu {
        margin-top: 0rem;
        font-size: 13px;
        height: auto;
        line-height: 26px;
        border-bottom: none;
        border-top: none;
        background: #f1f1f1;
        padding-left: 0px;
    }

    #body #page-wrapper #header #umenu ul {
        margin-bottom: 0
    }
}

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

    #page-wrapper #content h4,
    #page-wrapper #youinfo h4 {
        font-size: 1rem !important;
    }

    .video-temat {
        margin-bottom: 1rem;
    }
}

@media (min-width: 991px) and (max-width:1024px) {}

@media (min-width: 1024px) and (max-width:1200px) {}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
        max-width: 100%;
    }

    .container-mid {
        max-width: 100%;
    }
}
