

@media (max-width: 1600px) {

  .main-frame {width: 1200px;}
}

@media (max-width: 1260px) {
  
  .main-frame {width: 100%; padding: 0 10px;}
  
  #mainBanner .slide {height: 500px;}
  
  FOOTER .inner .left {padding-left: 10px;}
}


@media (max-width: 1050px) {
  
  HEADER {position: relative; height: auto;}
  HEADER .inner {height: auto; flex-wrap: wrap; padding-bottom: 10px;}
  HEADER .inner .left {display: block; padding: 10px 0 10px 10px;}
  HEADER .inner .right {width: 100%; padding-right: 0; flex-wrap: wrap; justify-content: flex-end; align-items: center;}
    
  NAV {width: 100%; height: auto; margin: 0; position: relative; z-index: 5000000000;}
  NAV.flexbox {display: none;}
  NAV UL {flex-wrap: wrap; background-color: #b88812; color: #fff;}
  NAV UL LI {width: 100%; height: auto; margin: 0; flex-wrap: wrap;}
  NAV UL LI A:after {display: none;}
  NAV UL LI A {width: 100%; border: 0; border-bottom: 1px solid #fff; padding: 12px 10px; text-align: left;}
  NAV UL LI A:HOVER, NAV UL LI A.active {background-image: none;}
  NAV UL LI:first-child {border-top: 1px solid #fff;}
  NAV UL LI:last-child A {padding-right: 10px;}
  NAV UL LI A:HOVER, NAV UL LI A.active {color: inherit; border-color: inherit;}
  NAV UL LI A.arrow-down {background-position: right 20px center;}
  
  UL.submenu LI A {width: 100%; padding: 12px 20px; border-bottom: 1px solid #fff;}
  
  UL.submenu {position: relative; background-color: #00bce4;}
  UL.submenu LI {width: 100%;}
  UL.submenu LI:first-child {border-top: 0;}
  
  MAIN .inner .data .links {width: auto; display: flex; flex-direction: column;}
  MAIN .inner .data .links .soubor {margin: 10px 0 0 0;}
  
  #hamburger {display: block; width: 100%; height: 50px; float: right; position: relative; padding: 0; margin: 0; background-color: #fff; line-height: 1;}
  #hamburger .text {display: none; width: 100px; height: 50px; float: left; line-height: 50px; font-size: 24px; font-weight: 400; text-transform: uppercase;}
  #hamburger .icon { width: 35px; position: absolute; top: calc(50% - 1px); right: 0; transition: all .5s; }
  #hamburger.active .icon { width: 27px; background: transparent; }
  #hamburger .icon, .hamburger .icon:before, .hamburger .icon:after { height: 2px; background: #2c2c2c; }
  #hamburger .icon:before, .hamburger .icon:after { content: ""; width: 100%; position: absolute; left: 0; transition: all .5s; }
  #hamburger .icon:before { top: -10px; }
  #hamburger .icon:after { bottom: -10px; }
  #hamburger.active .icon:before { top: 0; transform: rotate(45deg); }
  #hamburger.active .icon:after { top: 0; transform: rotate(135deg); }
  
  #mainBanner .slide H2 {font-size: 50px;}
  
  #news .inner .item .photo IMG {width: 100%; height: 100%; min-width: 0;}
}


@media (max-width: 850px) {

  #nsslider .slide_content_wrap .inner .title {font-size: 38px; margin-bottom: 25px;}
  #nsslider .slide_content_wrap .inner .perex {font-size: 16px;}
  
  #mainBanner .slide {height: 350px;}
  #mainBanner .slide H2 {font-size: 40px;}
  
  #news .inner .item {width: 48%; margin: 0 4% 20px 0;}
  #news .inner .item:nth-child(2n) {margin-right: 0;}
  
  #vylety .inner .item {width: 32%; margin: 0 2% 20px 0;}
  #vylety .inner .item:nth-child(4n) {margin-right: 2%;}
  #vylety .inner .item:nth-child(3n) {margin-right: 0;}
}


@media (max-width: 800px) {
  
  #hpText .inner .icons {flex-wrap: wrap;}
  #hpText .inner .icons .item {width: 25%;}
}


@media (max-width: 650px) {
  
  .main-frame {padding: 0 5px;}
  
  #hamburger .text {display: block;}
  
  HEADER .inner {padding-bottom: 5px;}
  HEADER .inner .left {width: 100%; padding: 10px;}
  HEADER .inner .left .logo {text-align: center;}
  HEADER .inner .left .logo IMG {display: inline-block;}
  HEADER .inner .center {width: 100%;}
  HEADER .inner .center .email {text-align: center; justify-content: center;}
  
  #navigation {display: none;}  
  
  #mainBanner .slide H2 {font-size: 34px;}
  #mainBanner .slide p {font-size: 18px;}
  
  #hpText .inner .icons {flex-wrap: wrap;}
  #hpText .inner .icons .item {width: 48%; margin: 0 4% 20px 0;}
  #hpText .inner .icons .item:nth-child(2n) {margin-right: 0;}
  
  #vylety .inner .item {width: 48%; margin: 0 4% 20px 0;}
  #vylety .inner .item:nth-child(2n) {margin-right: 0;}
  #vylety .inner .item:nth-child(3n) {margin-right: 4%;}
  
  #news .inner {flex-wrap: wrap;}  
  #news .inner .item {width: 100%; margin-right: 0;}
  
  FOOTER .inner {flex-wrap: wrap;}
  FOOTER .inner .left {width: 100%; padding: 30px 10px;}  
  FOOTER .inner .right {width: 100%; height: auto;}
  
  #arrowDown {display: none;}
  #nsslider .slide_content_wrap {}
  #nsslider .slide_content_wrap .inner .title {font-size: 30px; margin-bottom: 10px;}
  #nsslider .slide_content_wrap .inner .perex {font-size: 14px;}
}


@media (max-width: 400px) {
  
  #vylety .inner .item {width: 100%; margin-right: 0 !important;}
  #vylety .inner .item .photo {width: 100%;}
  #vylety .inner .item .photo IMG {width: 100%;}
  
  #nsslider .slide_content_wrap .inner .title {font-size: 18px; margin-bottom: 4px; font-weight: 400;}
  #nsslider .slide_content_wrap .inner .perex {font-size: 11px;}
  
  #mainBanner .slide H2 {font-size: 24px;}
  #mainBanner .slide p {font-size: 14px;}  
}
