@media screen and (max-width: 1325px) {
  img.header-table{
    margin-right: 0px;
    width: calc(100% - 450px);
  }
}

@media screen and (max-width: 1100px) {
  img.header-table{
    display: none;
  }

  .header-logo{
    margin-top: 3px;
    width: 120px;
  }

  #header h2{
    display: none;
  }

  .header-logo img{
    width: 120px;
  }

  #header{
    padding-bottom: 20px;
  }
}

@media screen and (max-width: 1000px) {
  .usnadnime {
    width: 100%;
    background-image: url('/images/homepage/table.png');
    background-size: auto 50%;
    background-position: right bottom;
    background-repeat: no-repeat;
  }

  .usnadnime p{
    max-width: 100%;
  }

  .usnadnime h3{
    text-align: center !important;
  }

  .blue img{
    float: none;
    margin: 30px auto;
    max-width: 100%;
    display: none;
  }
}

@media screen and (max-width: 780px) {
  .usnadnime {
    background-size: auto 35%;
    margin-top: 10px;
  }

  .usnadnime h3{
    margin-top: 20px !important;
  }
}

@media screen and (max-width: 750px) {
  .jsem {
    width: 100% !important;
  }
}

@media screen and (max-width: 650px) {
  h2{
    font-size: 26px !important;
  }

  #kdo-jste-vy h2 br{
    display: none;
  }
}

@media screen and (min-width: 801px) {
  #main_menu {
    display: inline-block !important;
  }
}

@media screen and (max-width: 800px) {
  #header{
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .show_menu {
    display: block;
  }

  #main_menu, #right-line {
    display: none;
  }

  .main_menu {
    border-radius: 7px;
    animation: item_show;
    animation-duration: 0.4s;
    animation-delay: 0s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;
    position: absolute;
    background-color: #F5F5FA;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, .20);
    top: 60px;
    right: 10px;
    padding: 10px 20px;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .main_menu li {
    display: block;
    margin: 0px;
    border-right: none;
  }

  .main_menu a {
    color: #7C7990 !important;
    padding: 10px 10px;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  p, li{
    text-align: left;
  }
}

@media screen and (max-width: 590px){
  .registrace #content tr td, .kontakt #content tr td{
    width: 180px;
  }
}

@media screen and (max-width: 560px){
  .jsem {
    display: block;
    width: 100%;
  }

  p.big{
    text-align: left !important;
  }

  h1, h2, h3, h4{
    text-align: left !important;
  }

  .home #content h2{
    text-align: center !important;
  }

  h2{
    font-size: 22px !important;
  }
}

@media screen and (max-width: 500px) {
  .chci-zacit-podnikat h4 {
    display: block;
    width: 100%;
    vertical-align: top;
    margin-top: 26px;
  }

  .chci-zacit-podnikat p.p-with-h {
    display: block;
    width: 100%;
    vertical-align: top;
  }
}