@media only screen and (max-width: 1700px){
  .wrapper_swiper_reference_img .controls .prev {
    left: -25px;
  }
  .wrapper_swiper_reference_img .controls .next {
    right: -25px;
  }

  .section_intro_slanted {
    background-position: calc(85%);
  }
}

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

  .section_intro_slanted .wrapper_text {
    padding-top: 100px;
    padding-bottom: 50px;
  }

}



@media only screen and (max-width: 1400px){
  .container {
    padding: 0 30px;
  }

  .wrapper_points_about_us {
    max-width: 1220px;
  }

  .section_intro_slanted .wrapper_text {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .logo{
    width: 210px;
  }

  .section_intro_slanted_second_page {
    background-position: -85vw;
  }

  .section_blog .blog_card_item {
    width: 450px;
    height: 450px;
  }

}

@media only screen and (max-width:1350px){
  .wrapper_swiper_reference_img .controls{
    display: none;
  }

}

@media only screen and (max-width:1280px){
  .wrapper_points_about_us{
    margin: 0 30px;
    padding: 40px 50px;
    justify-content: space-evenly;
    column-gap: 100px;
  }
}

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

  .section_intro_slanted {
    background-position: calc(79%);
  }

  .wrapper_articles_all .blog_card_item{
    padding: 25px;
  }
  .articles_one {
    width: 550px;
    height: 595px;
  }
  .articles_two {
    width: 570px;
    height: 300px;
  }
  .articles_three {
    width: 275px;
    height: 275px;
  }
  .articles_four {
    width: 275px;
    height: 275px;
  }

  .section_intro_slanted_second_page {
    background-position: -100vw;
  }

}

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

  .section_intro_slanted_second_page {
    background-position: -110vw;
  }  

}


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

  section {
    padding: 65px 0;
  }

  .wrapper_points_about_us .item_points_about_us:nth-child(3),
  .wrapper_points_about_us .item_points_about_us:nth-child(4){
    display: none;
  }

  .wrapper_three_nejnovejsi_prispevky{
    display: none;
  }
  .wrapper_three_nejnovejsi_prispevky_swiper {
    display: block;
  }

  .wrapper_articles_three_four{
    display: none;
  }
  .articles_one {
    width: 50%;
    height: 450px;
  }
  .wrapper_articles_two_three_four {
    width: 50%;
  }
  .articles_two {
    width: 100%;
    height: 100%;
  }

  .section_intro_slanted {
    background-position: calc(70%);
  }

  .wrapper_footer_links_contact_all {
    column-gap: 50px;
    row-gap: 32px;
  }

  .section_intro_slanted_second_page {
    background-position: -75vw;
  }


  .wrapper_table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-left: 20px;  /* Přidání paddingu vlevo */
    padding-right: 20px; /* Přidání paddingu vpravo */
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 30px;
  }

  table {
      min-width: 800px; /* Nastavte minimální šířku tabulky podle potřeby */
      margin: 0 auto; /* Zajistěte, aby tabulka byla vycentrována */
  }

  table tr td, table tr th {
      padding: 15px 30px; /* Menší padding pro lepší vzhled na mobilu */
  }

  .wrapper_prispevek {
    padding-right: 0px;
  }

  .wrapper_contact_map {
    height: 400px;
    margin-top: 50px;
  }

  .section_product_detail .wrapper_text {
    padding-right: 0px;
  }
  .section_product_detail .wrapper_text_points_icon {
    padding-right: 0px;
    padding-top: 32px;
  }

  
  .navmenu > li > ul li a {
    color: #16163F;
    font-size: 16px;
    margin-bottom: 0px ;
  }

  .navmenu > li > ul {
    list-style: none;
    padding: 0px;
    opacity: 1;
    margin: 0;
    visibility: visible;
    position: relative;
    top: 0;
    z-index: 1;
    background-color: #fff;
    white-space: nowrap;
  }

  .whrapper_header {
    padding-right: 25px;
  }

  .navmenu {
    list-style-type: none;
    padding-left: 0px;
    padding-top: 0px;
    display: block;
    position: absolute;
    top: 0;
    z-index: 100;
    left: 0;
    height: 100vh;
    width: 100%;
    overflow: auto;
    padding-top: 80px;
    padding-bottom: 30px;
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  .navmenu_show{
    display: block;
    opacity: 1;
    transition: opacity 1.2s ease;
    pointer-events: all;
  }
  .navmenu li {
    display: block;
    color: #070707; 
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
    padding: 10px 20px !important;
  }
  .navmenu li a {
    justify-content: flex-start;
    justify-content: center;
    font-size: 18px ;
    font-weight: 500;
    color: #fff;
  }
  .open_menu {
    display: block;
    width: 40px;
  }
  .menu_opened.open_menu img {
    opacity: 0;
  }
  .menu_opened{
    background-image: url(../img/close.svg);
    z-index: 1000;
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: center;
  }
  .wrapper_header_logo .logo{
    width: 145px;
  }

  .wrapper_select_product_detail {
    margin-top: 55px;
  }
  .wrapper_product_detail_product_text_arow_p {
    position: absolute;
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
    color: var(--green-color);
    transform: rotate(-12deg);
    top: -55px;
    left: -105px;
  }
  .wrapper_product_detail_product_text_arow_img {
    position: absolute;
    width: 75px;
    height: 115px;
    transform: rotate(24deg);
    left: -65px;
    top: -55px;
}

}

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

  .section_intro_slanted_second_page {
    background-position: -95vw;
  }

}

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

  .section_intro_slanted_second_page {
    background-position: -100vw;
  }

}


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

  .whrapper_header {
    padding-right: 0px;
  }

  .container {
    padding: 0 20px;
  }
  section {
    padding: 40px 0;
  }


  .wrapper_text h1{
    font-size: 30px;
  }
  .wrapper_text h2{
    font-size: 20px;
  }
  .wrapper_text h3{
    font-size: 18px;
  }
  .wrapper_text p{
    font-size: 14px;
  }

  .button_green_full{
    font-size: 14px;
    padding: 8px 24px;
  }
  .button_yellow_full{
    font-size: 14px;
    padding: 8px 24px;
  }

  .wrapper_product_card_header {
    padding-bottom: 32px;
    margin-bottom: 32px;
  }
  .wrapper_product_card_header p span{
    font-size: 25px;
  }
  .wrapper_product_cards_contain p {
    font-size: 14px;
  }


  .wrapper_articles_all {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 50px 0 40px 0;
  }

  .section_intro_slanted .wrapper_text {
    padding-top: 0px;
    padding-bottom: 25px;
  }


  ul.tabs_list {
    margin: 32px auto;
    column-gap: 25px;
    padding: 8px 16px;
  }
  li.tab_item {
    padding: 8px 16px;
    font-size: 16px;
  }

  .wrapper_product_card {
    padding: 40px;
  }
  .wrapper_product_card .button_product {
    margin-top: 32px;
    padding: 16px 60px;
    font-size: 16px;
  }
  .section_products .wrapper_text p:last-child{
    margin: 0;
  }

  .wrapper_promo_all {
    padding: 40px 32px;
  }

  .articles_one {
    width: 100%;
    height: 355px;
  }
  .wrapper_articles_two_three_four {
    width: 100%;
    height: 355px;
  }

  .wrapper_footer_all h3 {
    font-size: 16px;
    margin: 0 0 12px 0;
  }
  .footer_odkazy a, .wrapper_footer_contact a {
    font-size: 14px;
  }
  .item_logo_footer .logo{
    width: 140px;
  }
  .by_pressprojekt {
    font-size: 14px;
    margin-top: 60px;
  }
  .wrapper_newsletter_socialmedia a {
    width: 32px;
    height: 32px;
  }

  .section_intro_slanted{
    background-position: right;
  }
  .section_intro_slanted_second_page {
    background-position: right;
  }
  .wrapper_points_about_us {
    padding: 25px 30px;
  }
  .item_points_about_us_big_text {
    font-size: 30px;
  }

  .accordion-header button{
    font-size: 14px;
    padding: 20px 30px 20px 24px;
  }
  .accordion-button:not(.collapsed)::before {
    left: 24px;
    width: calc(100% - 54px);
  }

  p.blog_card_title {
    font-size: 16px;
  }
  .blog_card_item p {
    font-size: 14px;
  }

  .wrapper_promo_all .button_green_full{
    margin-top: 20px;
  }

  .wrapper_single_blog_info_newsletter .button_yellow_full {
    min-width: 180px;
  }
  .tnp-subscription input[type=submit], .tnp-profile input[type=submit] {
    width: auto !important;
  }
  .wrapper_single_blog_info_newsletter .tnp-submit {
    font-size: 14px !important;
    padding: 8px 24px !important;
    min-width: 180px;
  }

  .section_text_img .row{
    row-gap: 32px;
  }
  .accordion {
    margin-top: 32px;
  }

  .footer {
    padding-top: 80px;
  }

}

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

  ul.tabs_list {
    column-gap: 18px;
  }

}

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

  .wrapper_points_about_us .item_points_about_us:nth-child(2) {
    display: none;
  }



}





@media screen and (max-width: 991px) {
    .cookies_inner {
      max-width: 570px;
      flex-wrap: wrap;
      padding: 20px;
      gap: 24px;
    }
  
    .cookies_left {
      width: 100%;
      flex: none;
    }
  
    .cookies_right {
      width: 100%;
      flex-direction: row;
      gap: 5px;
    }
  
    .cookies_right button {
      flex: auto;
      width: auto;
      font-size: 12px;
      height: 33px;
    }
  
    .cookies_right > button:last-child {
      order: 1;
    }
  
    .cookies_right > button:nth-child(1) {
      order: 3;
    }
  
    .cookies_right > button:nth-child(2) {
      order: 2;
    }
  
    .cookies_label {
      font-size: 17px;
      margin-bottom: 8px;
    }
  
    .cookies_desc {
      padding: 0;
    }
  
    .cookies_desc p {
      font-size: 14px;
      line-height: 1.4;
    }
    .cookis_list {
      margin-bottom: 15px;
      margin-top: 10px;
    }
  }
  @media screen and (max-width: 540px) {
    .cookies_right {
      flex-direction: column;
    }
  
    .cookies_wrp {
      padding: 10px;
    }
  
    .cookies_inner {
      gap: 17px;
      padding: 18px;
    }
  
    .cookies_label {
      font-size: 19px;
    }
  
    .cookies_desc p {
      font-size: 13px;
      line-height: 1.37;
    }
  
    .cookies_right > button:nth-child(1) {
      order: 1;
    }
  
    .cookies_right > button:nth-child(2) {
      order: 2;
    }
  
    .cookies_right > button:nth-child(3) {
      order: 3;
    }
  
    .cookis_list {
      flex-direction: column;
      align-items: flex-start;
      gap: 17px 0;
    }
  
    .cookis_list li {
      font-size: 15px;
    }
  
    .cookies_more {
      font-size: 14px;
    }
    .cookies_wrp {
      bottom: -480px;
    }
  }
