@media only screen
and (max-width: 1380px)
{
  .mainFrame {width: 100%; padding: 0 10px; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  
  #mainBanner .slide {height: 550px;}
  
  #bannerLoga img {max-width: calc(100% - 40px);}
}


@media only screen
and (max-width: 1000px)
{
  .vlastnosti {justify-content: center;}
  .vlastnosti .item {width: calc(50% - 10px);}
  .vlastnosti .item:nth-child(3n) {margin-right: 20px;}
  .vlastnosti .item:nth-child(2n) {margin-right: 0;}
  
  #mainBanner .slide {height: 400px;}
}


@media only screen
and (max-width: 800px)
{
  header .inner .menu ul {display: none;}
  
  .burger {display: block; width: auto; height: 40px; position: relative; padding: 0; margin: 0; background-color: #000; line-height: 1; font-size: 18px; font-weight: 400;}
  .burger .text {width: 70px; height: 40px; margin-right: 44px; line-height: 40px; float: left; padding-left: 10px; color: #fff; text-transform: uppercase;}
  .burger .icon { width: 30px; position: absolute; top: calc(50% - 1px); right: 10px; transition: all .5s; }
  .burger.active .icon { width: 27px; background: transparent; }
  .burger .icon, .burger .icon:before, .burger .icon:after { height: 1px; background-color: #fff; }
  .burger .icon:before, .burger .icon:after { content: ""; width: 100%; position: absolute; left: 0; transition: all .5s; }
  .burger .icon:before { top: -9px; }
  .burger .icon:after { bottom: -9px; }
  .burger.active .icon:before { top: 0; transform: rotate(45deg); }
  .burger.active .icon:after { top: 0; transform: rotate(135deg); }
    
  #menuMobile {width: 450px; float: left; position: absolute; right: 10px; top: 80px; z-index: 200;}
  #menuMobile .menuMobileContent {}
  #menuMobile .menuMobileContent .btn {width: 100%; height: 40px; padding: 0 0 0 20px; border-bottom: 1px dotted #165dd3; background-color: #1a264a; color: #fff; align-items: center; justify-content: space-between; text-transform: uppercase;}
  #menuMobile .menuMobileContent .btn:first-child {*border-top: 1px dotted #de3b40;}
  #menuMobile .menuMobileContent .btn.active {background-color: #de3b40;}
  #menuMobile .menuMobileContent .btn A {width: 80%;}
  #menuMobile .menuMobileContent .btn A.plusMinus {width: auto;}
  #menuMobile .menuMobileContent .btn.btnlvl2 {background-color: #00b0fd;}
  #menuMobile .menuMobileContent .menuLvl3 .btn {background-color: #056e9b;}
  
  #menuMobile .menuMobileContent .menuLvl2 .btn:first-child {border-top: 0;}
  #menuMobile .menuMobileContent .btn .plusMinus {position: relative; margin: 0px 10px 0px; min-height: 40px; justify-content: flex-start; padding: 0px 8px;}
  #menuMobile .menuMobileContent .btn .plusMinus:BEFORE {height: 2px; background-color: #fff; content: ""; width: 80%; position: absolute; left: 0; transition: all .5s; top: calc(50% - 1px);}
  #menuMobile .menuMobileContent .btn .plusMinus:AFTER {height: 2px; background-color: #fff; content: ""; width: 80%; position: absolute; left: 0; transition: all .5s; top: calc(50% - 1px); transform: rotate(90deg); opacity: 1;}
  #menuMobile .menuMobileContent .btn .plusMinus.minus::BEFORE {transform: rotate(180deg);}
  #menuMobile .menuMobileContent .btn .plusMinus.minus::AFTER {transform: rotate(360deg); opacity: 0;}
  #menuMobile .menuMobileContent .btn .lvl2 {padding-left: 20px; font-style: italic; font-weight: 100; font-size: 13px;}
  #menuMobile .menuMobileContent .btn .lvl2.activeLvl2 {text-decoration: underline;}
  #menuMobile .menuMobileContent .btn .lvl3 {padding-left: 40px; font-style: italic; font-weight: 100; font-size: 13px;}
  
}



@media only screen
and (max-width: 700px)
{
  .bloky .item {width: 100%;}
  
  #floatingBox {display: none;}
  
  #mainBanner .slide {height: 350px;}
  
  .vlastnosti .item {width: 100%; min-height: 100px; margin-right: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;}
  .vlastnosti .item h3 {margin: 0 0 10px 0;}
  .vlastnosti .item p {margin: 0 !important;}
  
  #statSeStrojarem .inner .bloky {flex-wrap: wrap;}
    
  #dormerPramet .inner .left {width: 100%; padding: 0;}
  #dormerPramet .inner .right {width: 100%; padding: 0;}
  
  #prihlaska .inner {flex-direction: column;}
  #prihlaska .inner .left {width: 100%;}
  #prihlaska .inner .right {width: 100%;}
  
  footer .inner {flex-direction: column; padding: 30px 0;}
  footer .inner .col {margin: 15px 0;}
}



@media only screen
and (max-width: 600px)
{
  #mainBanner .slide {height: 320px;}
  
  #strojarinaLeti .inner .text {flex-wrap: wrap; margin: 40px 0 30px 0;}
  #strojarinaLeti .inner .text .left {width: 100%;}
  #strojarinaLeti .inner .text .right {width: 100%;}
  
  #skolaRemesel {padding: 80px 0 0 0;}
  
  #skolaRemesel .inner .text {flex-wrap: wrap; margin: 40px 0 30px 0;}
  #skolaRemesel .inner .text .left {width: 100%;}
  #skolaRemesel .inner .text .right {width: 100%;}
  
  #skolaRemesel .inner .textR {flex-wrap: wrap; margin: 40px 0 30px 0;}
  #skolaRemesel .inner .textR .left {width: 100%;}
  #skolaRemesel .inner .textR .right {width: 100%;}
  
  .hrTitle span {display: inline-block; padding: 0; border-bottom: 2px solid #dcdcdc;}
  .hrTitle:after {display: none;}
}



@media only screen
and (max-width: 500px)
{
  #mainBanner .slide {height: 300px;}
  
  #menuMobile {width: calc(100% - 20px);}
}




@media only screen
and (max-width: 450px)
{
  .burger {width: 50px;}
  .burger .text {display: none;}
  
  #mainBanner .slide {height: 200px;}
  
  #bannerLoga .inner {flex-direction: column; margin: 0; padding: 30px 10%;}
  #bannerLoga .inner div {margin: 10px 0;}
  #bannerLoga .inner div:nth-child(2) {display: none;}
  
  #strojarinaLeti .inner .text .left {padding: 20px 40px;}
  
  #statSeStrojarem {padding: 20px 0;}
  #statSeStrojarem .inner .bloky {margin: 10px 0 0 0;}
  
  #skolaRemesel {padding: 60px 0 0 0;}
  #skolaRemesel .inner .text {margin: 10px 0;}
  
  #skolaRemesel .inner .textR {margin: 10px 0;}
  
  #prihlaska .inner .left {padding: 40px 20px 40px 160px;}
  #prihlaska .inner .right {padding: 40px 20px 40px 160px;}
  
  #prihlaska {margin-bottom: 10px;}
  
  #dormerPramet {padding: 10px 0;}
  
  
}


@media only screen
and (max-width: 400px)
{
  .bloky .item {padding: 20px 30px;}
  
  #prihlaska .inner .left {background-image: none; padding: 10px 20px 20px 20px;}
  #prihlaska .inner .right {background-image: none; padding: 10px 20px 20px 20px;}
  
  #skolaRemesel .inner .text .left {padding: 10px 20px;}
  
  #skolaRemesel .inner .textR .right {padding: 10px 20px;}
}









