/* Уникальные классы для стилей */

/* Для course-summary */
summary.course-summary {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  position: relative;
}

/* Убираем стандартный маркер */
summary.course-summary::marker {
  display: none;
}

/* Стиль для разворачиваемой стрелки */
summary.course-summary::after {
  content: "\25b6"; /* Стрелка вправо */
  position: absolute;
  right: 10px;
  top: 10px;
  transition: transform 0.3s;
}

/* Поворот стрелки при открытии */
details[open] summary.course-summary::after {
  transform: rotate(90deg);
}

/* Круг с цифрой */
.course-circle {
  width: 10vw; /* 10% от ширины экрана */
  height: 5vw; /* 10% от ширины экрана */
  max-width: 40px; /* Максимальная ширина 50px */
  max-height: 40px; /* Максимальная высота 50px */
  background-color: #333;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2vw; /* Размер шрифта 4% от ширины экрана */
  max-font-size: 16px; /* Максимальный размер шрифта */
  margin-right: 2vw; /* Отступ справа 2% от ширины экрана */
}

/* Медиазапрос для маленьких экранов (смартфоны) */
@media (max-width: 600px) {
  .course-circle {
    width: 5vw; /* Увеличиваем круг для маленьких экранов */
    height: 5vw;
    font-size: 2vw; /* Увеличиваем размер шрифта для маленьких экранов */
    margin-right: 3vw;
  }
}

/* Медиазапрос для больших экранов (больше 1200px) */
@media (min-width: 1200px) {
  .course-circle {
    width: 50px; /* Фиксированный размер для больших экранов */
    height: 50px;
    font-size: 18px; /* Фиксированный размер шрифта */
  }
}


/* Стиль для текста после раскрытия */
.course-content {
  padding: 10px;
}





/* Основной стиль */
.course-title-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Настройки для мобильных устройств */
@media (max-width: 768px) {
    .course-title-content {
        flex-direction: column; /* Кнопка будет под заголовком */
        text-align: center; /* Центрирование элементов */
    }
}



.accordion {
  width: 90%;
  max-width: 1000px;
  margin: 2rem auto;
}
.accordion-item {
  background-color: #fff;
  color: #111;
  margin: 1rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.25);
}
.accordion-item-other {
  background-color: #ffffffa8;
  color: #111;
  margin: 1rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.25);
}
.accordion-item-header {
  padding: 0.5rem 3rem 0.5rem 1rem;
  min-height: 3.5rem;
  line-height: 1.25rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}
.accordion-item-header::after {
  content: "\002B";
  font-size: 2rem;
  position: absolute;
  right: 1rem;
}
.accordion-item-header.active::after {
  content: "\2212";
}
.accordion-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.accordion-item-body-content {
  padding: 1rem;
  line-height: 1.5rem;
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, #34495e, transparent) 1;
}


/* list prog of course */

.accordion-list {
  width: 90%;
  max-width: 1000px;
  /*margin: 2rem auto;*/
}
.accordion-item-list {
  /*background-color: #fff;*/
  color: #212529;
  /*margin: 1rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.25);*/
}
.accordion-item-other {
  background-color: #ffffffa8;
  color: #111;
  margin: 1rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.25);
}
.accordion-item-header-list {
  padding: 0.5rem 3rem 0.5rem 1rem;
  min-height: 3.5rem;
  line-height: 1.25rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-size: 20px;
}
.accordion-item-header-list::after {
  content: "\203A";
  font-size: 2rem;
  position: absolute;
  right: 1rem;
}
.accordion-item-header-list.active::after {
  content: "\2212";
}
.accordion-item-body-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.accordion-item-body-content-list {
  padding: 1rem;
  line-height: 1.5rem;
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, #34495e, transparent) 1;
}
.accordion-text-in{
	padding-left: 1rem;
    font-size: 18px;
}


.list-group-item {
	background-color: transparent;
	font-weight: 700;
	font-size: 20px;
	border: none;
}
