@media screen and (max-width: 1270px) {
  .dalsi-aktuality{
    left: auto;
    right: 0px;
  }
}

@media screen and (max-width: 1200px) {
  .dve_aktuality{
    top: 365px;
  }

  .dve_aktuality .aktualita:nth-of-type(2){
    display: none;
  }

  .dve_aktuality .aktualita{
    width: calc(100% - 175px);
    height: 200px;
  }

  .prvni_aktualita h2{
    font-size: 30px;
  }

  .prvni_aktualita p{
    max-width: 100%;
  }

  .dalsi-aktuality{
    bottom: -173px;
  }

  #hp_news{
    height: 535px;
    line-height: 365px;
  }

  #hp_news .background{
    height: 500px;
  }

  #hp_news .background div{
    height: 500px;
  }

  .homepage #content .left{
    width: 66.5%;
    margin-right: 5%;
  }

  .homepage #content .right{
    width: 28.5%;
  }

  .homepage #content .button{
    margin-top: 20px;
  }

  .homepage #content .right div{
    padding-top: 53%;
    width: 80%;
    background-color: #ccc;
  }

  .homepage #content .right div:last-of-type{
    margin-left: 20%;
    margin-top: -5%;
  }

  .clen .img{
    width: 150px;
    padding-top: 150px;
  }

  .clen .jmeno{
    width: calc(97% - 152px);
  }

  .clen .popis{
    width: 100%;
    display: block;
    padding-left: 0px;
    padding-top: 10px;
    padding-bottom: 0px;
    border-left: none;
  }
}

@media screen and (min-width: 1100px) {
  #main_menu{
    display: block !important;
  }
}

@media screen and (max-width: 1099px) {
  .show_menu{
    display: inline-block;
  }

  #main_menu{
    display: none;
  }

  .main_menu{
    animation: item_show;
    animation-duration: 0.4s;
    animation-delay: 0s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;
    position: absolute;
    background-color: white;
    z-index: 4000000;
    box-shadow: 0px 0px 4px rgba(80%, 80%, 80%, 0.7);
    top: 70px;
    right: 25px;
    border-radius: 2px;
    padding: 10px 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: 0px;
  }

  .main_menu li{
    display: block;
    margin: 0px;
  }

  .main_menu li a{
    padding: 15px 15px;
  }

  .main_menu li a:after{
    float: right;
  }

  .main_menu a{
    display: block;
  }

  .main_menu_2{
    display: none;
    opacity: 0;
    transition-property: opacity;
    position: relative;
    right: 0px;
    top: 0px;
    background-color: white;
    padding: 0px;
    margin-left: 15px;
    border-left: 1px solid var(--vut-red);
    box-shadow: none;
  }
}

@media screen and (max-width: 950px) {
  #footer{
    display: none;
  }

  h1{
    padding-top: 40px;
    font-size: 30px;
  }

  #content{
    padding-bottom: 30px;
    min-height: calc(100vh - 201px);
  }

  #content.img_headline{
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .structure_box .content{
    width: 65%;
  }

  .structure_box .img{
    width: 30%;
    padding-top: 20%;
  }
}

@media screen and (max-width: 900px) {
  button, .button{
    padding: 15px 20px;
    min-width: auto;
  }

  .event-right, .event-left{
    margin-right: 0;
    display: block;
    width: 100%;
  }

  .event-right{
    margin-top: 50px;
  }
}

@media screen and (max-width: 850px) {
  .aktualita, .fakultni-skas-dlazdice, .akce, .column-2{
    display: block;
    width: auto;
    margin-right: 0px !important;
    margin-top: 20px;
  }

  .aktualita, .akce{
    height: 200px;
  }

  .homepage #content .left{
    display: block;
    width: auto;
    margin-right: 0;
  }

  .homepage #content .right{
    display: none;
  }
}

@media screen and (max-width: 800px) {
  .box_content {
    width: 92%;
  }

  .structure_box div{
    display: block;
  }

  .structure_box .content{
    width: auto;
    margin: 0px !important;
  }

  .structure_box .img{
    display: none;
  }
}

@media screen and (max-width: 560px) {
  p, li{
    text-align: left !important;
  }
}

@media screen and (max-width: 500px) {
  .clen, .clen .jmeno p{
    text-align: center !important;
  }

  .clen .img{
    margin: 0 auto;
  }

  .clen .jmeno{
    display: block;
    width: 100%;
    text-align: center;
  }

  .clen .popis{
    width: 100%;
    display: block;
    padding-left: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    border-left: none;
  }
}

@media screen and (max-width: 450px) {
  #img_headline .box_content{
    padding-top: 130px;
  }
}