@media (max-width: 1399px) {




  .black_main {
    width: 100%;
      display: flex;
      height: 101px;
      width: 100%;
      object-fit: cover;}

    .poset .post__title span:nth-child(2) {
    display: block;
    margin-left: 120px;
}
  }

@media (max-width: 1199px) {

  .vyst .hero__decor img:first-child {
      top: 0%;
      left: -220px;
  }

  .poset .post__title span:nth-child(2) {
    display: block;
    margin-left: 150px;
}

  .hero__title {
      font-weight: 400;
      font-size: 80px;
}

.title {
    font-weight: 400;
    font-size: 80px;
}


  .post__title {
      font-weight: 400;
      font-size: 50px;
}

.kont2 {
    margin-left: 120px !important;
}

.main_first {
    padding: 100px 0 50px;
    position: relative;
}
}



@media (max-width: 991px) {

  .main_block3 a:hover img {
    filter: grayscale(1);
}

.main_block3 {
    margin-top: 0px;
}

.main_block3 .block img {

    margin-bottom: 12px;
}

.dark-bg svg:first-child {
    top: 22%;}

.dark-bg {

    padding: 100px 0 50px;

}

.footer {
    padding: 100px 0 30px;}

  .vyst_r {margin-top: 20px;}

  .poset section h4 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;}

  .news_sob .news_item:hover img {
    filter: grayscale(1);
}

.news__decor {display: none}


  .footer {
      background-size: cover;
      background-position: 15% 50%;
  }

.linesob {
    margin-top: 40px;
    margin-bottom: 30px;
    max-width: 100%;
}

.news__decor2 svg {
    position: absolute;
    margin-top: -230px;
    right: 0px;
}

  .poset section p {

    font-size: 16px;}


  .dark-bg::after {

    background-size: 300% 100%;}


  .black_main {
    width: 100%;
        display: flex;
        height: 101px;
        width: 100%;
        object-fit: cover;
}


  body {overflow-x: hidden;}

  .news_inside {
    height: 320px;}

  .news_sob .news_inside h4 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 30px;}


  .owl-single2 .owl-item:nth-child(4) {
  	opacity:1!important;
  }

.education__content {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.04em;
    text-indent: 30%;
    margin-top: 0px;
    /* text-indent: 0%; */
}

  .education__decor img {
    position: absolute;
    bottom: 0px;
    top: -50px;
    left: -73px;
    z-index: 10;
    width: 300px;
    transform: rotate(45deg);
    z-index: -1;
}

  .vyst_last_svg {display: none}

  .vyst_item1 {
    margin-top: 0px;
}

.vyst_item4 {
    position: relative;
    margin-top: 150px;
}

.vyst_item_image {
    margin-top: 60px;
    margin-bottom: 100px !important;
    margin-left: -230px;
    position: absolute;
    z-index: -1;
}

.vyst_item4 img {
    position: absolute;
    top: -13px;
    width: 200%;
    left: -80px;
    z-index: -1;
}

.vyst_item_image2 {
    margin-top: 40px;
    margin-bottom: 40px;
    margin-left: 220px;
    position: absolute;
    z-index: -1;
}

  .vyst .hero__decor img:first-child {
    top: 0%;
    left: -319px;
}

  .kontakty .post__title span:last-child {
    margin-left: 0px !important;
}

.kontakty .form .post__title span:last-child {margin-bottom: 50px}

  .kont__decor {
    position: absolute;
    bottom: 450px;
    /* top: 20px; */
    z-index: -1;
    left: 90px;
    /* width: 200px; */
}
  .kont__decor svg {    width: 300px;}

  .poset_decor {
    position: absolute;
    top: 0;
    left: -390px;
    display: none;
}

.vyst .hero__decor svg {
    position: absolute;
    display: none;}

  .poset .post__title span:nth-child(2) {
    display: block;
    margin-left: 90px;
}

  .quote {
    padding-bottom: 50px;
}


.main_block3_decor svg {

    bottom: 0px !important;
    right: 20px;
}

.main_block3 .block {margin-bottom: 30px;}

  .about-now__title span:nth-child(n+2) {
    margin-left: 45px;
}

  .main_text_block a {

    font-size: 16px;}

    .main_text_block svg {
    width: 20px;
    display: inline-block;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
}

    .main_orange {

    font-size: 15px;}

    .main_first .post__decor svg {
    position: absolute;
    top: 10%;
    left: -550px;
}

  .main_page .hero__text {
    font-weight: 400;
    font-size: 18px;
    line-height: 23px;
    letter-spacing: 0.04em;
    text-indent: 30%;
    color: #cecdc9;
    font-family: "Cormorant", serif;
    z-index: 3;
    position: relative;
    text-align: right;
    margin-top: 40px;
}

  .kont2 {
    margin-left: 71px !important;
}

.mamont {margin-top: 0px; margin-bottom: 40PX;  }

.kontakty .post__title{    margin-bottom: 0px !important;}

.hero__decor img:first-child {
    top: 0%;
    left: -100px;
    width: 270px;
        top: 30px;
}

.hero__decor img:nth-child(2) {
    right: -134px;
    width: 246px;
        top: 30px;
}


.hero__decor img:nth-child(3) {
    right: -21px;
    opacity: 0.6;
    width: 220px;
        top: 30px;
}

.news_sob .main_first {
    padding: 30px 0 100px;
    position: relative;
}

.history {
    padding: 30px 0 50px;
}

.hero__decor img {
    position: absolute;
    width: 300px;}

  .post__images img {
    width: auto;

    max-width: 100%;
}

  .hero__title {
      font-weight: 400;
      font-size: 40px;
}

.post__title {
    font-weight: 400;
    font-size: 40px;
}

.hero {
    padding: 30px 0 63px;
}

.post {
    position: relative;
    padding: 30px 0;
}

.hero__title span:nth-child(n+2) {
    margin-left: 60px;
}


.post__title span:last-child {
    display: block;
    margin-left: 60px;
}

.hero__text {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.04em;
    text-indent: 30%;
    margin-top: 20px;
}

.header__language, .header-search, .header__alternative {display: none}

.logo svg {
    width: 100%;
    height: auto;
    max-width: 50px;
}

.nav__list li {
    font-weight: 400;
    font-size: 35px;}

    .title {
    margin-right: 0px;
    font-weight: 400;
    font-size: 40px;}

    .history-slider__box {

    display: block;

}

.history-slider__group img {

    max-width: 100%;

}

.history-slider__item [class*=col-]:nth-child(2) {
    margin-top: 30px;
}

.history-slider__item [class*=col-]:nth-child(3) {
    margin-top: 30px;
}

.quote__text {
    margin-bottom: 46px;
    font-weight: 300;
    font-size: 26px;
    font-family: "Cormorant", serif;
    font-style: normal;
    line-height: 119.9%;
    letter-spacing: -0.01em;
    text-indent: 30%;
}

.quote__img {margin-top: 30px;}

.about-now {
    padding-top: 10px;
}

.support__decor {
    position: absolute;
    top: 0px;
    left: 50%;
}

.footer__inner {
    display: block;margin-top: 30px;}

    .footer__group:not(:first-child) {
    margin-left: 0px;
}

}
