@media (max-width: 1525px) {
    .intro .logo {
        right: 0;
        margin: 0 auto;
        width: 20%;
    }
    .intro .logo .image {
        width: 100%;
        height: auto;
        height: initial;
    }
    .intro .logo .text {
        text-align: center;
    }
    .thumbs {
        position: absolute;
        top: -85px;
    }
    .big-images .text_layer .text
    {
        padding: 0 10%;
    }
}
@media (max-width: 1300px) {
    .oferta_podglad .owl-prev {
        left: 70px;
    }
    .oferta_podglad .owl-next {
        right: 70px;
    }

}
@media (min-width: 1140px) {
    #rwd_menu {
        display: none !important;
    }

}
@media (max-width: 1139px) {
    .text img {
        max-width: 100%;
        height: auto !important;
    }
    .inner {
        width: 100%;
    }
    .inner img{
        max-width: 100%;
    }
    .rwd_icons {
        display: inline-flex;
        justify-content: space-between;
    }
    .logo_bg {
        justify-content: space-between;
    }
    header,
    footer > .inner {
        float: left;
        overflow: hidden;
        padding: 0 15px;
        width: 100%;
    }
    .change_site,
    #rwd_menu,
    .mouse {
        display: none;
    }
    .logo_bg img {
        max-height: 78px;
    }
    .logo_bg {
        max-height: 105px;
        border: 0;
    }
    .slider .owl-dots {
        position: absolute;
        top: auto;
        right: 0;
        bottom: 10px;
        left: 0;
        display: flex;
        justify-content: center;
    }
    .owl-carousel .owl-dot {
        margin: 0 5px;
    }
    .slider .slide span.big {
        width: 90%;
    }
    .first {
        padding-right: 15px;
        padding-left: 15px;
    }
    .text_site .text_bg,
    .work .text_bg,
    .news .text_bg,
    .main .text_bg {
        overflow: hidden;
        padding: 24px 35px 20px 30px;
        min-height: inherit;
        border: 1px solid #d5d5d5;
        border-top: 0;
    }
    .main .text_bg a.btn-more.active {
        display: inline-block;
        margin-bottom: 0px;
    }
    .subpage .slider {
        margin-bottom: 0px;
    }
    /*oferta*/
    .cat_bg {
        padding: 0 15px;
    }
    .cat_box {
        max-height: auto;
        max-height: initial;
        width: 31%;
        flex-basis: 31%;
    }
    .cat_img,
    .cat_img img {
        max-width: 100%;
    }
    section.first.offer {
        padding-top: 15px;
    }
    /*oferta podglaD*/
    .oferta_podglad .lista article {
        max-width: 48%;
    }
    .oferta_podglad .text_bg > .title {
        margin-right: 90px;
        font-size: 40px;
        line-height: 45px;
    }
    .oferta_podglad .gallery {
        margin-right: 0px;
        margin-left: 0px;
    }
    /*aktualnosci*/
    .news .big article {
        width: 49%;
    }
    .news .big article:nth-child(odd) {
        margin-right: 1%;
    }
    .news .small article {
        margin-right: 1%;
        max-width: 49%;
    }
    /*aktualnosci archiwum*/
    .news_button {
        height: inherit;
    }
    /*kontakt*/
    .kontakt-mapa h2 {
        padding-left: 43px;
    }
    /*praca*/
    .work .col_left {
        display: none;
    }
    /*pliki*/
    .file_list {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
    }
    /*text*/
    section.first.text_site {
        margin-top: 15px;
    }
    #menu {
        display: none;
    }
    /*rwd_menu*/
    .body_block {
        position: fixed;
        width: 100%;
    }
    #rwd_menu > ul {
        display: flex;
        margin: 0;
        padding: 0;
        width: 100%;
        list-style: none;
        justify-content: space-between;
        align-items: center;
    }
    #rwd_menu > ul > li {
        position: relative;
        display: flex;
        margin: 0;
        padding: 0;
        list-style: none;
        text-align: center;
        justify-content: space-between;
        align-items: center;
    }
    #rwd_menu > ul > li > a {
        color: #404040;
        font-weight: 500;
        font-size: 13px;
    }
    nav#rwd_menu {
        position: fixed;
        top: 104px;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: none;
        overflow: hidden;
        padding-bottom: 105px;
        width: 100%;
        height: 100%;
        background: #fff;
    }
    #rwd_menu > ul {
        flex-direction: column; /*flex-wrap: wrap;*/
        overflow-x: hidden; /*height: 100vh;*/
        height: calc(100vh - 105px);
        height: 100%;
        justify-content: flex-start;
        align-items: center; /*transition: height 0.5s ease-in-out;*/
    }
    #rwd_menu > ul > li {
        display: flex;
        min-height: 55px;
        width: 100%;
        border-top: 1px solid #d5d5d5;
        background-color: #fff;
        flex-shrink: 1;
        flex-grow: 1;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    #rwd_menu > ul > li > a {
        width: 100%;
        color: #404040;
        font-weight: 400;
        font-size: 18px;
        line-height: 55px;
    }
    #rwd_menu > ul > li:hover,
    #rwd_menu > ul > li.active {
        border-top: 1px solid #d5d5d5;
        background-color: #1c3f87;
    }
    #rwd_menu > ul > li:hover > a,
    #rwd_menu > ul > li.active > a {
        color: #fff;
        font-weight: 400;
        font-size: 18px;
        line-height: 55px;
    }
    #rwd_menu > ul > li.active > a {
        align-self: flex-end;
    }
    #rwd_menu > ul > li > ul {
        display: none;
        margin: 0;
        padding: 0;
        width: 100%;
        background-color: #fff;
        align-self: flex-end;
    }
    #rwd_menu > ul > li > ul > li {
        position: relative;
        display: flex;
        min-height: 55px;
        width: 100%;
        background-color: #fff;
        justify-content: center;
        align-items: center;
    }
    #rwd_menu > ul > li > ul > li:after {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        margin: 0 auto;
        width: 26px;
        height: 1px;
        background-color: #d5d5d5;
        content: "";
    }
    #rwd_menu > ul > li > ul > li:last-child:after {
        height: 0px;
    }
    #rwd_menu > ul > li > ul > li:hover {
        background-color: #e8ebf3;
    }
    #rwd_menu > ul > li > ul > li > a {
        color: #404040;
        font-weight: 400;
        font-size: 17px;
        line-height: 55px;
    }
    #rwd_menu > ul > li > ul > li:hover > a {
        background-color: #e8ebf3;
        color: #1c3f87;
    }
    .gallery a,
    .oferta_podglad .gallery a {
        position: relative;
        margin-right: 1%;
        margin-bottom: 1%;
        width: 31%;
    }
    .gallery a img {
        width: 100%;
    }
    /*historia*/
    .big-images .text_layer .date {
        margin-bottom: 0px;
        font-size: 25px;
        line-height: 35px;
        padding: 0 55px;
    }
    .thumbs {
        position: absolute;
        top: -85px;
    }
    .logos .item {
        margin: 0 50px;
        text-align: center;
    }
    .logos .item img {
        display: inline-block;
    }
    .contact .box_list.team .line2,
    .contact .box_list.team .line3,
    .contact .box_list.team .line4 {
        width: 100%;
    }

}
@media (max-width: 1000px) {
    .intro .left_top h3,
    .intro .right_top h3,
    .intro .left_bottom h3,
    .intro .right_bottom h3 {
        display: flex;
        font-size: 40px;
        line-height: 45px;
        align-items: center;
        justify-content: center;
    }
    .intro .left_bottom h3,
    .intro .right_bottom h3 {
        display: flex;
        min-height: 90px;
        justify-content: center;
        align-items: center;
    }
    .intro .logo h2,
    .intro .logo .text {
        display: none;
    }
    .intro .left_top,
    .intro .right_top,
    .intro .left_bottom,
    .intro .right_bottom {
        padding-right: 10px;
        padding-left: 10px;
    }
    .intro .left_top,
    .intro .right_top {
        padding-top: 150px;
        padding-bottom: 45px;
        height: inherit;
    }
    .intro .left_bottom,
    .intro .right_bottom {
        padding: 45px 0;
        height: auto;
        height: initial;
    }
    .intro .lang-container {
        top: 15px;
    }

}
@media (max-width: 900px) {
    .prod_big_img .text {
        font-size: 30px;
    }
    .thumbs {
        width: 70%;
    }
}
@media (max-width: 790px) {
    .thumbs {
        display: none !important;
    }
}
@media (max-width: 660px) {
    .cat_box {
        width: 47%;
        flex-basis: 47%;
    }
    .cat_box:last-child {
        max-width: 100%;
        width: 47%;
        text-align: center;
        flex-basis: 47%;
    }
    .prod_list_bg:nth-child(6n+4) {
        display: none;
        visibility: hidden;
    }
    .prod_list_bg:nth-child(6n+6) {
        display: none;
        visibility: hidden;
    }
    .prod_list_bg:nth-child(4n+4) {
        display: block;
        visibility: hidden;
    }
    .prod_big_img .text {
        font-size: 25px;
    }
}
@media (max-width: 640px) {
    .slider .slide span.big {
        width: 90%;
        font-size: 35px;
        line-height: 40px;
    }
    .slider .slide {
        background-size: cover;
    }

}
@media (max-width: 550px) {
    .gallery a,
    .oferta_podglad .gallery a {
        position: relative;
        margin-right: 1%;
        margin-bottom: 1%;
        width: 49%;
    }
    .big-images .text_layer h2 {
        font-size: 15px;
        line-height: 22px;
        padding: 0 55px;
    }
    .big-images .text_layer .text {
        padding: 0 10%;
    }
}
@media (max-width: 515px) {
    .cat_box {
        margin-right: 15px;
        margin-left: 15px;
        max-width: 100%;
        text-align: center;
        flex-basis: 100%;
    }
    .cat_box:last-child {
        max-width: 100%;
        width: 100%;
        text-align: center;
        flex-basis: 100%;
    }
    .prod_list_bg:nth-child(6n+4) {
        display: none;
        visibility: hidden;
    }
    .prod_list_bg:nth-child(6n+6) {
        display: none;
        visibility: hidden;
    }
    .prod_list_bg:nth-child(2n+2) {
        display: block;
        visibility: hidden;
    }
    .prod_box {
        max-width: inherit;
        width: 100%;
        border-left: 1px solid #d5d5d5;
        text-align: center;
    }
    .prod_list_bg {
        padding-right: 0;
    }
    .oferta_podglad .text_bg > .title {
        margin-right: 90px;
        font-size: 20px;
        line-height: 25px;
    }

}
@media (max-width: 500px) {
    .intro .left_top,
    .intro .right_top,
    .intro .left_bottom,
    .intro .right_bottom {
        width: 100%;
        height: inherit;
    }
    .intro .left_top {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .intro .right_top,
    .intro .left_bottom,
    .intro .right_bottom {
        padding-top: 0px;
        padding-bottom: 40px;
    }
    .intro .left_bottom h3,
    .intro .right_bottom h3 {
        margin-top: 34px;
        margin-bottom: 36px;
    }
    .intro .logo {
        display: none;
    }
    .intro .rwd_image {
        display: block;
        max-height: 100px;
    }
    .intro .rwd_image img {
        max-width: 100%;
        max-height: inherit;
    }
    .intro .left_bottom h3,
    .intro .right_bottom h3 {
        min-height: auto;
        min-height: initial;
    }

}
@media (max-width: 480px) {
    .slider .slide span.small {
        display: none;
    }
    .slider,
    .subpage .slider {
        margin-bottom: 15px;
    }
    .first article {
        margin-bottom: 15px;
    }
    section.first {
        margin-bottom: 0px;
    }
    .logos_bg,
    .logos {
        padding: 5px 0;
        height: initial;
    }
    .logos .item {
        margin: 0 10px;
    }
    .logo_bg {
        max-height: 95px;
        border: 0;
    }
    .logo_bg img {
        max-height: 67px;
    }
    /*aktualnosci*/
    .news .big article {
        width: 100%;
    }
    .news .big article:nth-child(odd) {
        margin-right: 0px;
    }
    .news .big article {
        margin-bottom: 15px;
    }
    .news .small article {
        margin-bottom: 13px;
        max-width: 100%;
    }
    .news .big article .text_bg,
    .news .small article .text_bg {
        padding: 24px 15px 24px 24px;
    }
    .news_button {
        margin-bottom: 0px;
        padding: 15px 0 30px;
        height: inherit;
    }
    .subpage .slider .slide {
        background-size: cover;
    }
    .second.offer .text,
    .prod_big_img .text {
        text-align: center;
    }
    .offer .search {
        max-width: 250px;
    }
    /*kontakt*/
    form .line_input {
        margin: 0 28px 0px;
        flex-wrap: wrap;
    }
    form .line_input div {
        position: relative;
        margin-bottom: 5px;
        width: 100%;
    }
    section.first.contact {
        margin-bottom: 10px;
    }
    nav#rwd_menu {
        top: 95px;
        padding-bottom: 95px;
    }
    .contact .box_list article {
        width: 100%;
    }
    /*oferta podglaD*/
    .oferta_podglad .lista article {
        max-width: 100%;
    }
    .gallery a,
    .oferta_podglad .gallery a {
        position: relative;
        margin-right: 0%;
        margin-bottom: 15px;
        width: 100%;
    }
    /*historia*/
    .events-content .text_layer .date {
        margin-top: 15px;
        margin-bottom: 0px;
        font-size: 25px;
        line-height: 30px;
    }
    .events-content .text_layer h2 {
        font-size: 15px;
        line-height: 22px;
    }
    .prod_big_img .text {
        font-size: 20px;
        padding-right: 60px;
        padding-left: 29px;
        flex-wrap: wrap;
    }
}
@media (max-width: 410px) {
    .main_ico {

        width: 45px;
    }
}
@media (max-width: 358px) {
    .rwd_icons > a {
        display: none;
    }
    .hamburger {
        margin-left: auto;
    }
}

@media (max-width: 680px) {
    .tile { 
	width: 100%; 
	float: left; 
	margin-right: 20px;
	margin-bottom: 10px;
}

.tile1 { 
	width: 100%; 
	float: left; 
	margin-bottom: 10px;
}
}