

@media only screen
and (max-width: 1360px)
{
  .mainFrame {width: 100%; padding: 0 10px; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  
  #topLine .inner .logo {width: 20%;}
  #menu .inner UL {margin-left: 20%;}
  
  #menu .inner UL LI A {padding-left: 20px; padding-right: 20px;}
}

@media only screen
and (max-width: 1200px)
{  
  #menu .inner UL LI {background-size: 40px; font-size: 14px;}
  #menu .inner UL LI A {padding-left: 10px; padding-right: 10px;}  
  
  #topLine .inner .left span.hours {display: none;}
}

@media only screen
and (max-width: 1050px)
{  
  #menu .inner UL LI.pojisteni-vozidel {background-size: 46px;}
  #menu .inner UL LI.prepisy-vozidel {background-size: 30px;}
  #menu .inner UL LI.pojisteni-nemovitosti {background-size: 34px;}
  #menu .inner UL LI.pojisteni-domacnosti {background-size: 28px;}
  #menu .inner UL LI.pojisteni-odpovednosti {background-size: 30px;}
  #menu .inner UL LI.sluzby {background-size: 30px;}
  #menu .inner UL LI.pojisteni-alpenverein {background-size: 40px;}  
  #menu .inner UL LI A {font-weight: 400;}
}

@media only screen
and (max-width: 950px)
{  
  /* Hlavička */
  #topLine {background-color: #333333; background-image: none;}
  #topLine .inner {height: 53px; justify-content: flex-end;}
  #topLine .inner .left {margin-right: 30px;}
  #topLine .inner .logo {width: auto; height: 110px;}
  #topLine .inner .left span.phone {margin-left: 0;}
  #topLine .inner .left span.hours {display: none;}  
  
  /* Dlaždice */
  #dlazdice {padding: 10px;}
  #dlazdice .inner {height: auto; padding: 26px 0; flex-wrap: wrap;}
  #dlazdice .inner .item {width: 49%; padding: 104px 0 0 0; margin-right: 2%; margin-bottom: 10px; background-position: center top 46px; background-size: 85px;}  
  #dlazdice .inner .item:nth-child(2n) {margin-right: 0;} 
  #dlazdice .inner .item H2 {padding: 0 40px; font-size: 16px; margin: 0 0 30px 0; line-height: 23px;}
  #dlazdice .inner .item.sluzby {background-size: 45px;}
  
  /* HomePage Text */
  #homeText {padding: 0 10px;}
  #homeText .inner {padding-bottom: 10px; flex-wrap: wrap;}
  #homeText .inner .left {width: 100%;}
  #homeText .inner .right {width: 100%; height: 710px;}
  
  /* HomePage Zkušenosti */
  #zkusenosti {padding: 0 10px; background-color: #fff;}
  #zkusenosti .inner {flex-wrap: wrap; padding: 20px 0;}
  #zkusenosti .inner .left {width: 100%; margin-left: 0;}
  #zkusenosti .inner .left H2 {width: 100%; padding: 80px 0 0 0; background-size: 275px auto; font-size: 25px; background-position: center;}
  #zkusenosti .inner .right {width: 100%;}
  #zkusenosti .inner .right .pojistovny .item {width: calc(33.333333% - 1px); font-size: 17px; }
  #zkusenosti .inner .right .pojistovny .item:nth-child(4n) {margin-right: 1px;}
  #zkusenosti .inner .right .pojistovny .item:nth-child(3n) {margin-right: 0;}
  #zkusenosti .inner .right .pojistovny .item:nth-child(n+7) {margin-bottom: 1px;}
  #zkusenosti .inner .right .pojistovny .item:nth-child(n+11) {margin-bottom: 0;}
  
  /* Hlavní text */
  #mainContent {padding: 0 10px}
  
  /* Reklama */
  #reklamaBottom {display: none;}
  
  /* Menu */
  #menu {display: none;}  
  #menuMobile {width: 100%; float: left;}
  #menuMobile .menuMobileContent {}
  #menuMobile .menuMobileContent .btn {width: 100%; height: 40px; padding: 0 0 0 20px; border-bottom: 1px solid #ffffff; background-color: #bc0a11; color: #ffffff; align-items: center; justify-content: space-between;}
  #menuMobile .menuMobileContent .btn.active {background-color: #333;}
  #menuMobile .menuMobileContent .btn A {width: 80%;}
  #menuMobile .menuMobileContent .btn A.plusMinus {width: auto;}
  #menuMobile .menuMobileContent .btn.btnlvl2 {background-color: #d81921;}
  #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;}
    
  #hamburger {display: block; float: left; width: 100%; height: 56px; position: relative; padding: 0; margin: 0; background-color: #d81921; line-height: 1; font-size: 15px; font-weight: 700;}
  #hamburger .text {width: 70px; height: 40px; line-height: 40px; float: left; padding-left: 10px; color: #fff; text-transform: uppercase;}
  #hamburger .icon { width: 28px; position: absolute; top: calc(50% - 1px); right: 10px; transition: all .5s; }
  #hamburger.active .icon { width: 27px; background: transparent; }
  #hamburger .icon, .hamburger .icon:before, .hamburger .icon:after { height: 2px; background-color: #fff; }
  #hamburger .icon:before, .hamburger .icon:after { content: ""; width: 100%; position: absolute; left: 0; transition: all .5s; }
  #hamburger .icon:before { top: -8px; }
  #hamburger .icon:after { bottom: -8px; }
  #hamburger.active .icon:before { top: 0; transform: rotate(45deg); }
  #hamburger.active .icon:after { top: 0; transform: rotate(135deg); }
  
  TABLE TR TD {width: 50%;}
}

@media only screen
and (max-width: 900px)
{
  #pojistovny .item {width: 100%; margin-right: 0;}
  
  #mainContent .leftText {width: 100%;}  
  #mainContent .rightText {width: 100%;}
  
  #homeText .inner .right .pojistovny .item IMG {max-width: 110px; max-height: 45px;}
  #homeText .inner .right .pojistovny .logo IMG {max-width: 110px; max-height: 70px;}
}

@media only screen
and (max-width: 700px)
{
  #mainContent .formRow {width: 100%; height: auto; margin-bottom: 8px; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  #mainContent .formInput {width: 100%; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  #mainContent .formSubmit {width: 100%; padding: 0; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  #mainContent .formSubmit INPUT {width: 100%; background-image: none; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  
  #mainContent .orderStatus {width: 100%;}
  
  #homeText .inner .right {margin-top: 15px;}
  
  #topLine .inner .left {margin-right: 10px;}
  #topLine .inner .left span.phone {font-size: 17px;}

  
  #topLine .inner .right A {display: none;}
  #topLine .inner .right .sep {display: none;}
  #topLine .inner .right A.search {display: block;}
  #topLine .inner .right .contact {display: flex;}
  
  #mainContent .formCheck {width: 100%; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  
  #mainContent .errorRow2 {width: 100%; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  
  #mainContent .inner img {width: 100%; height: 100%;margin-left: 0px !important; margin-right: 0px !important; margin-bottom: 30px;}

}

@media only screen
and (max-width: 450px)
{
  #mainContent .formInput INPUT {width: 100%; background-size: contain; background-repeat: no-repeat; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  
  #mainContent .formInputDropDown {width: 100%; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  
  #mainContent .formInputDropDown UL {width: calc(100% - 10px); box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  #mainContent .formInputDropDown UL LI {width: 100%; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  #mainContent .formInputDropDown UL LI A {width: 100%; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  
  #mainContent .formInputDropDown .box {width: 100%; background-size: contain; background-repeat: no-repeat; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  #mainContent .formInputDropDown .box A {width: 100%; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  
  
  #mainContent .formInputDropDown .boxOn {width: 100%; background-size: contain; background-repeat: no-repeat; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  #mainContent .formInputDropDown .boxOn A {width: 100%; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  
  #mainContent .formInputDropDown .smallValues {width: calc(100% - 10px) !important; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  #mainContent .formInputDropDown .smallValues LI {width: 100%; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  #mainContent .formInputDropDown .smallValues LI A {width: calc(100% - 20px); padding: 8px 10px; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  
  #mainContent .formInputOption {width: 100%; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  
  #mainContent .formRow2 {width: 100%; height: auto; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  #mainContent .formInput2 {width: 100%; height: auto; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  #mainContent .inner .control-form .formInput2 TEXTAREA {width: 100%; background-size: contain; background-repeat: no-repeat; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
  #homeText .inner .right .pojistovny .item {font-size: 12px;}
  
  #homeText .inner {padding: 10px 0}
  #homeText .inner .right {height: auto;}
  #homeText .inner .right .pojistovny .item {height: 80px;}  
  #homeText .inner .right .pojistovny .item IMG {max-width: 90px; max-height: 35px;}
  #homeText .inner .right .pojistovny .logo IMG {max-width: 90px; max-height: 50px;}
    
  #dlazdice .inner .item {border-radius: 15px; padding: 90px 0 0 0; background-position: center top 26px;}
  #dlazdice .inner .item H2 {padding: 0 30px; font-size: 14px; line-height: 20px; margin: 0 0 20px 0;}

}