@media only screen and (max-width: 1400px) {
    .header-logo {
        display: block;
        margin: auto;
        margin-bottom: 18px;
        float: none;
    }

    .header {
        text-align: center;
        margin-bottom: 0;
    }

    .header-slogan, .header-contact {
        display: inline-block;
        vertical-align: middle;
        float: none;
        margin: 0 10px 18px 10px;
    }

    body .nav h2 {
        display: block;
    }

    .nav .module_bsNavigation {
        display: none;
        clear: both;
        margin-left: -20px;
        margin-right: -20px;
        margin-bottom: -20px;
        padding-top: 10px;
    }

    .nav.expanded .module_bsNavigation {
        display: block;
    }

    .nav li, .nav li:first-child {
        display: block;
        border-left: 0;
        border-right: 0;
        border-top: 1px solid #E7E7E7;
    }

    .nav a {
        display: block;
    }

    .nav .search-menu-wrapper, .stuck .nav .search-menu-wrapper {
        position: relative;
        right: auto;
        float: right;
        width: 48%;
        max-width: none;
    }

    .nav .search-menu-button {
        margin-right: 0;
        min-width: 0;
        background: none;
    }

    .header-lang a {
        padding: 5px 10px;
        color: #fff;
        text-decoration: none;
        font-size: 14px;
    }

    .stuck .nav input[type=text] {
        padding-right: 70px;
        width: 100%;
    }

    .stuck .nav input[type=submit] {
        display: block;
    }

    .stuck .nav .menu {
        padding-left: 0;
    }

    .stuck .header {
        padding: 15px 0;
    }

    .stuck .header-logo {
        position: static;
        margin-left: auto;
    }

    .nav li ul {
        position: relative;
        top: 0px;
        left: 0px;
        z-index: 999;
        background: white;
    }

    .nav li ul li a {
        padding-left: 50px !important;
        box-sizing: border-box;
    }

    .nav li.expanded_node {
        width: 100%;
    }

    .nav li.expanded_node > a {
        padding-right: 25px;
    }

    .nav li.expanded_node > .level_arrow {
        border-left: 1px solid #E7E7E7;
        width: 60px;
    }

}

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

    .header > .inner,
    .products > .inner,
    .about > .inner,
    .footer > .inner,
    .epilog > .inner,
    .main > .inner,
    .nav > .inner,
    .clients > .inner,
    .cooperation > .inner,
    .samoska > .inner,
    .news > .inner
    {
        padding-left: 20px;
        padding-right: 20px;
    }

    .newsletter, html[lang=de] .newsletter {
        padding-left: 0;
    }

    .epilog .newsletter h2 {
        position: static;
        margin: 0;
        padding: 36px 0 36px 50px;
        text-align: left;
        float: left;
    }

    .newsletter form, html[lang=de] .newsletter form {
        float: none;
        clear: both;
        padding: 10px 20px;
    }

    .snippet_slider .snippet-content, .snippet_slider h2 {
        text-align: center;
    }

    .partners-logo {
        flex-wrap: wrap;
        justify-content: center;
    }

    .partners-logo > div {
        width: 25%;
    }

    /*Epilog*/

    .epilog-links .footer-links-wrapper {
        flex-wrap: wrap;
    }

    .epilog-links .footer-links-column {
        width: 50%;
    }

    .snippet-cooperation .snippet-item {
        width: 48%;
        padding-bottom: 20px;
    }
    .snippet_cooperation-title{
        font-size: 18px;
        text-align: center;
    }

    .snippet_homepage-image .title{
        right:0;
    }

    .grid-logos {
        grid-template-columns: repeat(3, 1fr);
    }

    .news .article-list {
        grid-template-columns: 1fr 1fr;
    }

}

@media only screen and (max-width: 768px) {
    .snippet_product {
        width: 48%;
    }

    .footer-left, .footer-right, .snippet_about,
    .newsletter .module_bsSnippet,
    .epilog-copy, .epilog-barton,
    .sidebar, .content-with-sidebar,
    .levy_sloupek, .pravy_sloupek, .articles .article-list-item{
        float: none;
        width: auto;
    }

    .articles .article-list-item {
        display: block;
    }

    .epilog-copy, .epilog-barton {
        text-align: center;
    }

    .footer-left, .snippet_about {
        margin-bottom: 30px;
    }

    .snippet_about blockquote {
        min-height: 0;
    }

    .snippet-counter {
        flex-wrap: wrap;
    }

    .snippet-counter .snippet-item {
        width: 30%;
        max-width: none;
    }

    .snippet_homepage-image .img-wrapper{
        -webkit-transform: skewX(0deg);
        -ms-transform: skewX(0deg);
        transform: skewX(0deg);
        width: 285px;
        background-color: transparent;
        margin-left: 20px;
    }

    .snippet_homepage-image .column-right {
        max-width: none;
    }

    .snippet_homepage-image .image-trends {
        -webkit-transform: skewX(0deg);
        -ms-transform: skewX(0deg);
        transform: skewX(0deg);
        left: 0;
    }

    .snippet_homepage-image .column-right {
        margin-left: 30px;
    }

    .snippet_homepage-image .button-arrow {
        left: 0;
    }

    .snippet_homepage-image .title-bold {
        text-align: left;
    }

    .newsletter form {
        display: flex;
    }

    .newsletter input[type=submit] {
        min-width: 120px;
        position: absolute;
        bottom: 0;
        right: 0;
    }

    .newsletter fieldset {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        padding: 10px;
    }

    .newsletter label {
        width: calc(100% - 30px);
        margin-bottom: 50px;
    }

    .newsletter input[type=text]{
        width: 100%;
    }

    .snippet_slider .snippet-wrap:after, .snippet_slider .snippet-wrap:before {
        display: none;
    }

    .home .slider .slider-next {
        right: 0;
    }

    .home .slider .slider-prev {
        left: 0;
    }

    .snippet_slider .snippet-over {
        width: auto;
        right: 0;
        background-position: center;
    }

    .home .slider .slider-next:before, .home .slider .slider-prev:before {
        display: none;
    }

    .newsletter .g-recaptcha {
        margin-top: 0px;
    }

    .partners-logo > div {
        width: 33%;
    }

    .podgalerie .subfolders {
        justify-content: space-between;
    }

    .podgalerie h2 a{
        font-size: 18px;
    }

    .podgalerie .media_folder_browse_item {
        width: 40%;
    }

    .module_bsFolderGallery .media_list_item{
        width: 33%;
    }

    .grid-logos {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 25px;
    }

    .news .article-list {
        grid-template-columns: 1fr;
    }
    .news .article-list .article-date {
        height: 77px;
        float: none;
    }

    .news .article-list .article-perex {
        margin-left: 0;
    }
}


@media only screen and (max-width: 640px) {
    .snippet-cooperation .snippet-item {
        width: 100%;
    }

    .snippet-counter .snippet-item {
        width: 100%;
    }

    .newsletter {
        background: #007BBF;
    }

    .newsletter:before, .newsletter:after {
        display: none;
    }

    .newsletter fieldset:before, .newsletter fieldset:after {
        display: none;
    }

    .newsletter, html[lang=de] .newsletter {
        padding-right: 0;
    }

    .newsletter form, html[lang=de] .newsletter form {
        padding: 0;
    }

    .newsletter fieldset {
        padding: 20px;
    }

    .newsletter label {
        margin-bottom: 35px;
    }

    .newsletter input[type=text] {
        background: #fff;
        border: 1px solid #cdcdcd;
        border-width: 0 1px 1px 0;
    }

    .newsletter input[type=submit] {
        position: relative;
        background: #e00001;
    }

    .epilog .newsletter h2 {
        padding: 25px 0;
        text-align: center;
        display: block;
        width: 100%;
    }

    .epilog-links .footer-links-column {
        width: 100%;
    }

    .newsletter .module_bsSnippet {
        clear: both;
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }

    .header-lang {
        float: none;
    }

    .header-lang ul {
        justify-content: center;
    }

    .newsletter .module_bsSnippet .line1,
    .newsletter .module_bsSnippet .line2 {
        padding-left: 0;
    }

    .newsletter form {
        margin: auto;
    }

    .header-slogan strong {
        display: inline;
    }

    ul.breadcrumbs {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .snippet-milestones .milestone-desc{
        max-width: 200px;
    }

    .snippet-milestones{
        margin-left: 0;
    }

    .snippet-milestones .milestone-desc {
        max-width: none;
    }

    .snippet-milestones .milestone-item{
        max-width: 425px;
        margin-bottom: 38px;
    }

    .snippet-milestones .milestone-year::after {
        bottom: 30px;
    }

    .snippet_homepage-image .img-wrapper {
        width: 230px;
    }

    .snippet_homepage-image .image-row-large {
        padding: 0px 0 40px 0;
    }

    .snippet_homepage-image .title-bold {
        font-size: 23px;
    }

    .snippet_homepage-image .image-row-large {
        flex-direction: column;
        align-items: center;
    }

    .about-us-milestones {
        padding-left: 20px;
    }

    html[lang=de] .module_bsPage h1 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 480px) {
    .hide-on-mobile {
        display: none;
    }
    .header-logo {
        max-width: 100%;
        background-size: contain;
    }

    .stuck .header-logo {
        margin-left: 0;
    }

    .snippet_product {
        width: auto;
        display: block;
    }

    .epilog .newsletter h2 {
        width: auto;
        float: none;
    }

    .newsletter form {
        width: auto;
        position: relative;
        padding: 10px;
    }

    .header-contact {
        padding-left: 0;
        background: none;
    }

    .header-contact p {
        margin-right: 10px;
    }

    .snippet_slider h2 {
        font-size: 28px;
    }
    .partners-logo > div {
        width: 50%;
    }

    .snippet_slider .snippet-content {
        margin: 0 12%;
    }

    .snippet_homepage-image .img-wrapper {
        width: 200px;
        margin-left: 10px;
    }

    .snippet_homepage-image .column-right {
        margin-left: 10px;
    }

    .snippet_homepage-image .image-row-large {
        padding: 0;
    }

    .home .slider .slider-prev span, .home .slider .slider-next span {
        width: 50px;
    }

    .home .slider .slider-next span {
        float: right;
    }

    .module_bsFolderGallery .media_list_item{
        width: 50%;
    }
    .grid-logos {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .snippet_about blockquote + p.with-image {
        margin: 80px 0 60px 100px;
    }

    .snippet_about blockquote + p.with-image img {
        width: 80px;
        height: 80px;
        margin: -20px 0 0 -100px;
    }

    .nav input[type=text] {
        padding: 14px 20px 14px 20px;
    }
}
