@media screen and (max-width: 5000px) {
 .main { width: 100%; max-width: 1300px; }

}



@media screen and (max-width: 1600px) {
  .main { width: 100%; max-width: 1300px; }

  .header #titleSlider { height: 500px; }
  .header #titleSlider .item { height: 500px; }

  .header #titleSlider .item .main .itt i { font-size: 40px; }
  .header #titleSlider .item .main .itt h3 { margin-top: 10px; padding: 15px 30px; font-size: 40px; }
  .header #titleSlider .item .main .itt span { margin-top: 5px; padding: 20px 20px; font-size: 18px; }
  .header #titleSlider .item .main .itt:hover h3 { margin-top: 20px; }

  .main_header { padding: 40px 0; }
  .main_header h1 { line-height: 130%; font-size: 34px; }

  .title_top:before { height: 50%; }
  .title_top .items { padding: 70px 0 20px 0; }
}



@media screen and (max-width: 1366px) {
  .main { width: 100%; max-width: 1000px; }

  .header #titleSlider .item .main h1 { padding: 20px 25px; font-size: 36px; }

  .headermenu .menu > ul > li { margin: 0 15px; }

  .header #titleSlider { height: 400px; }
  .header #titleSlider .item { height: 400px; }

  .header #titleSlider .item .main .itt i { font-size: 44px; }
  .header #titleSlider .item .main .itt h3 { margin-top: 10px; padding: 15px 30px; font-size: 44px; }
  .header #titleSlider .item .main .itt span { margin-top: 5px; padding: 20px 20px; font-size: 16px; }
  .header #titleSlider .item .main .itt:hover h3 { margin-top: 30px; }

  .main_header { padding: 40px 0; }
  .main_header h1 { line-height: 130%; font-size: 30px; }

  .title_top:before { height: 50%; }
  .title_top .items { gap: 150px; padding: 50px 0 20px 0; }
  .title_top .items .item { transform: skewY(-1deg); }
  .title_top .items .item h3 { width: 70%; padding: 20px; font-size: 22px; }
  .title_top .items .item img { width: 400px; }

  .tpl_kontakt .data { gap: 60px 60px; }

  .products .item { width: 50%; }

  .basket .table_products table td.description .text { height: 100px; overflow: hidden; }
}



@media screen and (max-width: 1050px) {
  .main { padding: 0 5%; }

  .header .headermenutop { padding: 3px 0; }
  .header .headermenutop ul { display: none; }
  #mt_menu_open { display: block !important; margin-top: 6px; }
  .headermenu { width: 100%; padding: 15px 0; background: #ffffff; }
  .headermenu .logo img { margin-top: 0; }

  .headermenu .menu { display: none; float: none; position: absolute; z-index: 9999; top: -15px; left: 0; width: 100%; background: #ffffff; border-bottom: 5px solid #bf0000; }
  .headermenu .menu #mt_menu_close { display: block; }
  .headermenu .menu > ul { display: block; }
  .headermenu .menu > ul > li { display: block; margin: 0; }
  .headermenu .menu > ul > li.lang { display: block; margin-top: 1px; text-align: center; background: #e9e9e9; }
  .headermenu .menu > ul > li.lang a { color: #bf0000; }
  .headermenu .menu > ul > li.order { padding: 0 0; }
  .headermenu .menu > ul > li.order > a { padding: 20px; border-radius: 0; }
  .headermenu .menu > ul > li > a { padding: 20px; }
  .headermenu .menu ul > li ul { padding-left: 30px; }
  .headermenu .menu ul > li ul li a { padding: 20px; color: #000000; background: #ffffff; }
  .headermenu .menu ul > li ul { position: relative; visibility: visible; opacity: 1; }
  .headermenu .menu > ul > li > a i { display: none; }

  .header #titleSlider { height: 350px; }
  .header #titleSlider .item { height: 350px; background-size: cover; }

  .header #titleSlider .item .main .itt i { font-size: 30px; }
  .header #titleSlider .item .main .itt h3 { margin-top: 10px; padding: 15px 30px; font-size: 30px; }
  .header #titleSlider .item .main .itt span { margin-top: 5px; padding: 20px 20px; font-size: 15px; }
  .header #titleSlider .item .main .itt:hover h3 { margin-top: 10px; }

  .title_top:before { height: 50%; }
  .title_top .items { gap: 50px; padding: 50px 0 20px 0; }
  .title_top .items .item { transform: skewY(-1deg); }
  .title_top .items .item h3 { width: 80%; padding: 20px; font-size: 20px; }
  .title_top .items .item img { width: 330px; }

  .footerprevadzky { height: 240px;}
  .footerprevadzky .itt { width: 100%; }
  .footerprevadzky .itt h3 { margin-top: 10px; padding: 15px 30px; font-size: 36px; }
  .footerprevadzky .itt span { padding: 15px; font-size: 15px; }
  .footerprevadzky .itt:hover h3 { margin-top: 20px; }

  .tpl_kontakt .data { gap: 30px 5%; }
  .tpl_kontakt .data .item { width: 47.5%; }

  .basket { flex-wrap: wrap; }
  .basket .doprava { width: 100%; border-top: 2px solid #000000; }
  .basket .table_products table { width: 100%; }
  .basket .basket_summary { width: 100%; margin-top: 30px; border-top: 2px solid #000000; }
  .basket .basket_summary .item { width: 100%; }

  .basket.basket2 .table_products { width: 100%; flex-basis: 100%; margin-top: 30px; border-top: 2px solid #000000; }
}


@media screen and (max-width: 800px) {
  h1 { margin: 0 0 30px 0; font-size: 32px; }
  h2 { margin: 0 0 25px 0; font-size: 24px; }
  h3 { margin: 0 0 20px 0; font-size: 21px; }

  .headermenu .logo img { height: 30px; }
  #mt_menu_open { margin-top: 0; }

  .header #titleSlider .item .main .itt i { }
  .header #titleSlider .item .main .itt h3 { margin-top: 10px; padding: 12px 15px; font-size: 22px; background: #bf0000; }
  .header #titleSlider .item .main .itt span { display: none; }
  .header #titleSlider .item .main .itt:hover h3 { margin-top: 10px; }

  .header #titleSlider .item .main h1 { padding: 15px 20px; font-size: 26px; font-weight: normal; }
  .header #titleSlider .item .main span { font-size: 30px; font-weight: bold; }

  .content_main { min-height: 300px; padding: 40px 0 60px 0; }

  .content_main .row .row_flex { flex-wrap: wrap; }
  .content_main .row .row_flex div { width: 100%; margin: 0 0 0 0; }
  .content_main .row .row_flex div img { max-width: 90%; margin-top: 20px; }

  .main_header { padding: 30px 0; }
  .main_header h1 { line-height: 130%; font-size: 26px; }

  .title_top { background: #c69453; }
  .title_top:before { display: none; }
  .title_top .items { gap: 30px; padding: 30px 0 30px 0; }
  .title_top .items .item { background: none; transform: skewY(0deg); }
  .title_top .items .item h3 { width: 100%; margin-top: 0; padding: 15px; font-size: 16px; font-weight: 600; border-radius: 5px; }
  .title_top .items .item img { display: none; }

  .footerprevadzky { flex-wrap: wrap; height: auto; }
  .footerprevadzky .itt { width: 100%; padding: 30px 0; }
  .footerprevadzky .itt i { display: none; }
  .footerprevadzky .itt h3 { margin-top: 10px; padding: 15px 30px; font-size: 28px; }
  .footerprevadzky .itt span { padding: 15px; font-size: 15px; }
  .footerprevadzky .itt:hover h3 { margin-top: 20px; }

  footer .main { flex-wrap: wrap; }
  footer .logo { width: 100%; text-align: center; }
  footer .menu { width: 100%; margin-top: 40px; margin-left: 0; }
  footer .cities { width: 100%; margin-top: 40px; margin-left: 0; }

  .tpl_kontakt .data { gap: 30px 5%; margin-bottom: 50px;  }
  .tpl_kontakt .data .item { width: 47.5%; }
  .tpl_kontakt .form { width: 100%; margin-bottom: 50px; padding: 20px 20px; }

  .products .item { width: 100%; padding: 20px; }

  .products.single .item:not(:first-child) { width: 50%; }
  .products.single .item:not(:first-child) ul { display: none; }
  .products.single .item:not(:first-child) a.button { display: none; }
  .products.single .item:not(:first-child) .price_info { display: none; }
  .products.single .item:not(:first-child) span { display: none; }
  .products.single .item:not(:first-child) h2 { font-size: 20px; line-height: 120%; }

  .products.single .item:nth-child(1) { flex-wrap: wrap; align-items: center; padding-bottom: 40px; margin-bottom: 20px; width: 100%; text-align: center; border-bottom: 5px solid #d9d9d9; }
  .products.single .item:nth-child(1) a { width: 100%; }
  .products.single .item:nth-child(1) img { width: auto; margin: 0 auto; }
  .products.single .item:nth-child(1) .content_single { align-items: center; padding-left: 0; }
  .products.single .item:nth-child(1) .price_info { text-align: center; }

  .basket .table_products table tr td { border-top: none; border-bottom: none; }
  .basket .table_products table tr td:first-child { border-top: 1px solid #afafaf; }
  .basket .table_products table tr td { display: block; padding: 15px !important; text-align: center !important; }
  .basket .table_products table tr td.price { display: inline-block; width: 50%; padding-top: 5px !important; padding-bottom: 5px !important; }
  .basket .table_products table td.image { width: 100% !important; }
  .basket .table_products table td.image img { width: 100px; }
  .basket .table_products table td.description { padding-left: 0; padding-top: 5px !important; padding-bottom: 5px !important; }
  .basket .table_products table td.price::after { text-align: center !important; }
  .basket .table_products table td.description .text { display: none; }

  .basket_footer .content { margin: 0 15px 15px 15px; padding: 25px; border-radius: 5px; }
  .basket_footer .content i { margin-right: 22px; font-size: 30px; }
  .basket_footer .content .items strong { font-size: 22px; }

  .form { width: 100%; }
  .form .frow.fw50 { width: 100%; }
  .form .frow .l { width: 100%; margin-bottom: 20px; }
  .form .frow .r { width: 100%; }

  .order .order_ok { padding: 18px; }
  .order .order_ok i { font-size: 40px; }
  .order .order_ok div span { font-size: 18px; }
  .order .order_data_left { width: 100%; padding-left: 0; }
  .order .order_data_products { width: 100%; padding-left: 0; margin-top: 40px; padding-top: 20px; border-top: 2px solid #000000; border-radius: 5px; }
}


@media screen and (max-width: 600px) {
  .header #titleSlider { height: 220px; }
  .header #titleSlider .item { height: 220px; }
  .header #titleSlider .item .main h1 { display: inline-block; width: 80%; padding: 15px 15px; font-size: 20px; text-align: left; font-weight: normal; }
  .header #titleSlider .item .main span { display: block; padding-bottom: 12px; font-size: 24px; font-weight: bold; }
  .header #titleSlider .item .main em { display: none; }

  .main_header { padding: 30px 0; }
  .main_header h1 { line-height: 120%; font-size: 26px; }

  .content_main .row h2 { font-size: 22px; }
  .content_main .row h3 { font-size: 19px; }

  .content_main .gallery img { height: 100px; }

  .tpl_kontakt .data { gap: 0 30px; margin-bottom: 0px;  }
  .tpl_kontakt .data .item { min-width: 100%; padding: 30px; margin-bottom: 30px; }

  .tpl_kontakt .map iframe { height: 300px; }
  .tpl_kontakt .map h2 { margin: 0 0 15px 0 !important; }

  ul.change_prices { display: flex; }
  ul.change_prices li { line-height: 20px !important; text-align: center; }

  .price_modal a.change_price_for { text-align: center; }

  .products .item:not(:first-child) h2 { font-size: 17px; }

  .basket_footer .content { margin: 0 10px 10px 10px; padding: 15px; border-radius: 5px; }
  .basket_footer .content span { margin: 0 5px; }
  .basket_footer .content i { margin-right: 22px; font-size: 18px; }
  .basket_footer .content .items strong { font-size: 18px; }

  .basket .doprava select[dorucenie_okres] { margin-top: 15px; }
}
