/* responsive css */
/* variables */
/* Responsive */
/* Colors */
/* header */
/* menu */
/* search */
/* left or right */
/* conent panels */
/* 1 = content left & sub right */
/* detail */
/* bottom */
/* body */
@media (max-width: 768px) {
    body {
      background-position: 50% 50px;
    }
  }
  @media (max-width: 567px) {
    body {
      background-size: auto 300px;
      background-position: 50% 50px;
    }
  }
  
  /* container */
  @media (max-width: 1080px) {
    #container {
      width: 100%;
    }
  }
  
  @media (max-width: 768px) {
    #leftpanel {
      width: 100% !important;
      margin-bottom: 30px;
      padding-bottom: 0px !important;
    }
  }
  @media (max-width: 567px) {
    #leftpanel {
      padding: 0px !important;
    }
  }
  
  @media (max-width: 768px) {
    #rightpanel {
      width: 100% !important;
      padding-bottom: 0px !important;
    }
  }
  @media (max-width: 567px) {
    #rightpanel {
      padding: 0px !important;
    }
  }
  
  @media (max-width: 768px) {
    .stlpce4 {
      width: 50% !important;
    }
  }
  @media (max-width: 567px) {
    .stlpce4 {
      width: 100% !important;
      padding: 0px !important;
    }
  }
  
  @media (max-width: 768px) {
    .stlpce3 {
      width: 50% !important;
    }
  }
  @media (max-width: 567px) {
    .stlpce3 {
      width: 100% !important;
      padding: 0px !important;
    }
  }
  
  @media (max-width: 768px) {
    .stlpce2 {
      width: 50% !important;
    }
  }
  @media (max-width: 567px) {
    .stlpce2 {
      width: 100% !important;
      padding: 0px !important;
    }
  }
  
  /* header */
  @media (max-width: 1080px) {
    #header {
      padding: 15px 30px;
    }
    #header div.social {
      display: none;
    }
  }
  @media (max-width: 768px) {
    #header {
      height: 74px !important;
      line-height: 75px;
      position: fixed;
      width: 100%;
      top: 0px;
      z-index: 2;
      -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
      box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
    }
    #header a {
      height: 75px !important;
      line-height: 50px;
    }
    #header a span {
      height: 75px !important;
      background-size: auto 61px !important;
    }
    #header div.lang,
    #header div.phone,
    #header div.mail {
      display: none;
    }
    #header .menu-toggle,
    #header .search-toggle {
      display: block;
    }
    .ui-multiselect-menu {
      max-width: 100% !important;
      width: 297px !important;
    }
  }
  
  @media (max-width: 1080px) {
    #menu {
      padding: 0 30px;
    }
  }
  @media (max-width: 768px) {
    #menu {
      display: none;
      position: fixed;
      height: auto;
      z-index: 2;
      width: 100%;
      top: 75px;
    }
    #menu ul {
      line-height: 40px;
      padding: 10px 0;
    }
    #menu ul li {
      width: 100%;
      text-align: left;
      text-align-last: left;
      -moz-text-align-last: left;
    }
    #menu ul li.mobile{
      display: block !important;
    }
    #menu ul li.home {
      display: none !important;
    }
    #header .cta {
      display: none !important;
    }
  }
  
  /* search */
  @media (min-width: 1080px) and (max-width: 1200px) {
    #search {
      left: 60px;
    }
  }
  @media (min-width: 768px) and (max-width: 1080px) {
    #search {
      left: 60px;
    }
  }
  @media (max-width: 768px) {
    #search {
      display: none;
      width: 100%;
      position: fixed;
      top: 73px;
    }
    #search fieldset {
      margin: 30px !important;
    }
  }
  
  /* content_top */
  @media (max-width: 768px) {
    #content_top {
      padding: 40px 30px 30px 30px !important;
      margin-bottom: 40px !important;
    }
    #content_top h1 {
      margin-bottom: 40px !important;
    }
  }
  #content_top.subpage h1 {
    margin-bottom: 0px !important;
  }
  @media (max-width: 567px) {
    #content_top.subpage {
      padding: 30px 0 !important;
      margin-bottom: 30px !important;
    }
    #content_top.subpage ul.right,
    #content_top.subpage ul.left {
      display: none !important;
    }
  }
  @media (max-width: 768px) {
    #content_top ul.right {
      float: left;
      clear: left;
    }
  }
  
  /* maklerinfo */
  .maklerinfo {
    overflow: auto;
    margin: 30px 0;
  }
  @media (max-width: 567px) {
    .maklerinfo .photo-wrapper {
      width: 100%;
      margin-bottom: 15px;
    }
  }
  @media (max-width: 567px) {
    .maklerinfo .text-wrapper {
      width: 100%;
    }
  }
  
  /* top_ponuky */
  @media (max-width: 1080px) {
    #top_ponuky {
      display: none !important;
    }
  }
  
  /* carousel */
  @media (max-width: 1080px) {
    .carousel .carousel-inner button.prev,
    .carousel .carousel-inner button.next {
      display: none !important;
    }
  }
  @media (min-width: 768px) and (max-width: 1080px) {
    .carousel {
      min-height: 400px;
      background: #fff;
    }
  }
  @media (max-width: 768px) {
    .carousel {
      margin-top: 50px;
    }
  }
  
  /* main */
  @media (max-width: 768px) {
    #content #buttons .button {
      width: 80%;
      margin: 0 10% 10px 10%;
      border-radius: 4px !important;
      border: 1px solid #43b923 !important;
    }
  }
  @media (max-width: 567px) {
    #content #buttons .button {
      width: 100%;
      margin: 0 0 10px 0;
    }
  }
  @media (max-width: 567px) {
    #content #buttons {
      margin-left: 0px !important;
      margin-right: 0px !important;
    }
  }
  
  /* ponuky */
  @media (max-width: 1080px) {
    #ponuky .ponuka {
      width: 50% !important;
      height: 440px;
      margin-bottom: 0px !important;
    }
  }
  @media (max-width: 768px) {
    #ponuky .ponuka ul li {
      width: 100% !important;
    }
    #ponuky .ponuka ul li label {
      clear: none !important;
    }
    #ponuky .ponuka ul li strong {
      float: right !important;
      clear: none !important;
    }
    #ponuky .ponuka.develo {
      height: 550px !important;
      max-height: 550px !important;
    }
    #ponuky .ponuka.develo ul li {
      max-width: 100% !important;
      width: 100% !important;
    }
    #ponuky .ponuka.develo ul li strong {
      float: right;
      clear: none;
    }
  }
  @media (max-width: 567px) {
    #ponuky .ponuka {
      width: 100% !important;
      padding: 0px !important;
      height: auto !important;
      min-height: auto !important;
      max-height: auto !important;
      margin-bottom: 30px !important;
    }
    #ponuky .ponuka .img-wrapper img {
      height: auto !important;
      width: 100% !important;
    }
    #ponuky .ponuka h2 {
      height: auto !important;
    }
  }
  
  /* detail */
  @media (max-width: 768px) {
    #content #leftpanel .podrobneinfo p.left-column,
    #content #leftpanel .podrobneinfo p.par.left-column {
      width: 100% !important;
      border: none !important;
      float: none !important;
    }
  }
  @media (max-width: 768px) {
    #content #develo .podrinfo ul {
      height: auto !important;
      margin-bottom: 20px;
    }
    #content #develo .podrinfo ul li {
      float: none !important;
      margin: 0px !important;
    }
  }
  @media (max-width: 1080px) {
    #content #develo .develotable {
      overflow-x: scroll;
    }
    #content #develo .develotable table tr th {
      line-height: 20px;
    }
  }
  @media (max-width: 1080px) {
    #content #develo .makleri .makler h3,
    #content #develo .makleri .makler h4,
    #content #develo .makleri .makler p.vlajky,
    #content #develo .makleri .makler p.kontakt,
    #content #develo .makleri .makler a.button {
      width: 70%;
    }
  }
  @media (max-width: 768px) {
    #content #develo .makleri .makler .img-wrapper {
      margin-bottom: 20px;
    }
    #content #develo .makleri .makler h3,
    #content #develo .makleri .makler h4,
    #content #develo .makleri .makler p.vlajky,
    #content #develo .makleri .makler p.kontakt,
    #content #develo .makleri .makler a.button {
      width: 100%;
    }
  }
  @media (max-width: 567px) {
    #content #develo .makleri .makler {
      padding: 30px !important;
    }
  }
  @media (max-width: 567px) {
    #content #develo .makleri {
      width: 100% !important;
    }
  }
  @media (max-width: 567px) {
    #content #develo {
      padding: 0px !important;
    }
  }
  
  /* makleri */
  @media (max-width: 567px) {
    #makleri .makler {
      height: auto !important;
      margin-bottom: 60px !important;
    }
  }
  @media (max-width: 768px) {
    #makleri .makler.stlpce4 {
      height: auto !important;
    }
    #makleri .makler.stlpce4 h3,
    #makleri .makler.stlpce4 a.button {
      text-align: center !important;
    }
  }
  @media (max-width: 567px) {
    #makleri .makler.riadok .img-wrapper {
      width: 100% !important;
      height: 200px !important;
      float: none !important;
      margin: 0 0 20px 0 !important;
    }
    #makleri .makler.riadok .img-wrapper img {
      height: 100% !important;
      width: auto !important;
      position: relative !important;
      left: 0px !important;
      top: 0px !important;
      -webkit-transform: none !important;
      transform: none !important;
    }
    #makleri .makler.riadok a.button {
      width: 100% !important;
      float: none !important;
      margin-left: 0px !important;
    }
  }
  
  /* kontakt */
  @media (max-width: 768px) {
    #leftpanel .formular p label {
      width: 100% !important;
    }
    #leftpanel .formular p input {
      width: 100% !important;
    }
    #leftpanel .formular p.kontrola {
      width: 100% !important;
    }
    #leftpanel .formular p.kontrola label {
      width: 30% !important;
    }
    #leftpanel .formular p.kontrola input.sucet {
      float: right !important;
      width: 70% !important;
    }
    #leftpanel .formular input.button {
      width: 100% !important;
    }
  }
  
  @media (max-width: 1080px) {
    #rightpanel p.udajekontakt label {
      width: 100% !important;
    }
    #rightpanel p.udajekontakt strong {
      display: inline-block !important;
      margin-bottom: 10px;
    }
  }
  @media (max-width: 768px) {
    #rightpanel p.logo img {
      max-width: 60%;
      margin: 0 auto;
    }
    #rightpanel p.udajekontakt a.more {
      width: 100%;
    }
  }
  
  /* bottom */
  @media (max-width: 768px) {
    #bottom .main,
    #bottom .sub {
      width: 100%;
      margin: 10px 0 20px 0;
    }
  }
  @media (max-width: 567px) {
    #bottom {
      top: 250px;
    }
  }
  
  /* footer */
  @media (max-width: 567px) {
    #footer {
      top: 250px;
    }
    #footer p {
      line-height: 22px;
      padding: 0 20%;
    }
  }
  
  /* blog */
  @media (max-width: 567px) {
    #blog h2 {
      padding: 0;
      margin: 0 0 30px 0;
    }
  }
  @media (max-width: 567px) {
    #blog .more {
      margin: 0 0 30px 0;
    }
  }
  
  /* hypokalkulacka */
  @media (max-width: 1050px) {
    .hypo .form .line {
      height: 60px !important;
    }
    .hypo .form .line label {
      width: 100% !important;
      margin: 0 !important;
    }
    .hypo .form .line input[type="range"] {
      width: calc(100% - 150px) !important;
    }
    .hypo .form .line.final {
      height: 110px !important;
    }
    .hypo .form .line.final a.button {
      float: left;
      width: 100%;
      text-align: center;
      padding: 0;
      margin-bottom: 20px;
    }
    .hypo .form .line.final label {
      width: 120px !important;
    }
    .hypo .form .line.final p.sum {
      float: right !important;
      text-align: right !important;
      margin-right: 0 !important;
    }
    .hypo .form .line.final p.sum small {
      float: right !important;
    }
  }
  