.about-courses .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: row-reverse;
  padding: 0;
}

.about-courses .about-courses__tabs {
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
  height: auto;
  width: 100%;
  max-width: 387px;
}

.about-courses__item-btn {
  margin: 10px 0;
}

.about-courses__tabs .about-courses__tabs-link {
  width: 100%;
  height: 59px;
  padding: 20px;
}

.about-courses__tabs .about-courses__tabs-link svg {
  margin-left: 8px;
}

.about-courses__tabs .about-courses__tabs-link--active {
  box-shadow: none;
}

.about-courses__tabs .about-courses__tabs-link--active svg {
  fill: #fff;
}

.about-courses__bottom>* {
  transition: all ease-in-out .3s;
}

.about-courses__bottom {
  margin-top: 0 !important;
  padding: 10px;
  margin-right: 30px;
  width: 100%;
  height: 444px;
  max-width: 888px;
  max-height: 444px;
  overflow-y: auto;
  border: 2px solid #DFDFDF;
  border-radius: 4px;
}

.text-center {
  text-align: center;
}

.about-courses__item .about-courses__item-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  margin-bottom: 15px;
}

.about-courses__tabs .btn {
  background: #d6b780;
  width: 100%;
  max-width: 387px;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  margin-top: 37px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6b780;
  height: 59px;
  color: #fff;
}

.about-courses__tabs .btn:hover {
  color: #d6b780;
  background: #fff;
}

.about-courses__bottom .about-courses__item--active {
  display: block;
  width: 100%;
}

.about-courses__bottom .about-courses__item--active .documents__image {
  margin: 0 auto;
  width: 100%;
  max-width: 500px;
}

.about-courses__item-wrap .about-courses__item-buttons {
  justify-content: center;
}


.about-courses .modal-open-mobile {
  display: none;
  background: #d6b780;
  width: 100%;
  max-width: 387px;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6b780;
  height: 59px;
  color: #fff;
}

.documents__text {
  margin-top: 0;
}

@media (max-width: 768px) {
  .about-courses .container {
    display: block;
  }

  .about-courses__tabs .btn {
    display: none;
  }

  .about-courses .modal-open-mobile {
    display: flex;
    margin: 10px auto;
  }

  .about-courses__bottom {
    height: auto;
    max-height: 100%;
    position: relative;
  }

  .about-courses__tabs .about-courses__tabs-link {
    height: 40px;
    padding: 5px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .about-courses .about-courses__tabs {
    width: 100%;
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .about-courses__tabs .btn {
    margin-bottom: 15px;
  }

  .about-courses__bottom .about-courses__item--active {
    padding: 10px;
  }
}

@media (max-width: 550px) {
  .about-courses__item-btn {
    margin: 0;
    margin-top: 10px;
  }
}

@media (max-width: 425px) {
  .courses-detail .about-courses .container {
    padding: 30px 0 !important;
  }

  .about-courses .modal-open-mobile {
    max-width: 320px;
    font-size: 16px;
  }
}