.new-feature {
  border: #ff0600 solid 2px;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
}

.new-feature-bottom {
  border: #ff0600 solid 2px;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
}

.new-feature::before {
  content: "New"; /* Текст надписи */
  position: absolute; /* Абсолютное позиционирование */
  top: -20px; /* Смещение вверх */
  /*left: 75%; !* Смещение к центру по горизонтали *!*/
  right: 0; /* Смещение к центру по горизонтали */
  /*transform: translateX(-50%); !* Центровка по горизонтали *!*/
  background-color: red; /* Цвет фона надписи */
  color: white; /* Цвет текста надписи */
  padding: 2px 5px; /* Внутренние отступы */
  font-size: 12px; /* Размер шрифта */
  border-radius: 3px; /* Скругленные углы */
}

.new-feature-bottom::before {
  content: "New"; /* Текст надписи */
  position: absolute; /* Абсолютное позиционирование */
  bottom: -20px; /* Смещение вверх */
  right: 0; /* Смещение к центру по горизонтали */
  /*transform: translateX(-50%); !* Центровка по горизонтали *!*/
  background-color: red; /* Цвет фона надписи */
  color: white; /* Цвет текста надписи */
  padding: 2px 5px; /* Внутренние отступы */
  font-size: 12px; /* Размер шрифта */
  border-radius: 3px; /* Скругленные углы */
  z-index: 1;
}

/* News pop-up */
.popup-container {
  position: fixed; /* Фиксированное позиционирование */
  bottom: 55px; /* Расположение у нижнего края */
  right: 20px; /* Расположение у правого края */
  width: 300px; /* Ширина всплывающего окна */
  background-color: white; /* Цвет фона */
  border: 1px solid #ddd; /* Граница */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Тень */
  border-radius: 10px; /* Скругленные углы */
  overflow: hidden; /* Обрезка содержимого */
  display: none; /* Скрыто по умолчанию */
  z-index: 1;
}

.popup-header {
  background-color: #4CAF50; /* Цвет фона заголовка */
  color: white; /* Цвет текста заголовка */
  padding: 10px; /* Внутренние отступы */
  font-size: 16px; /* Размер шрифта */
}

.popup-content {
  padding: 15px; /* Внутренние отступы */
  overflow: auto;
  height: 30vh;
}

.popup-footer {
  padding: 10px; /* Внутренние отступы */
  text-align: right; /* Выравнивание текста по правому краю */
}

.popup-footer button {
  background-color: #4CAF50; /* Цвет фона кнопки */
  color: white; /* Цвет текста кнопки */
  border: none; /* Без границы */
  padding: 10px 20px; /* Внутренние отступы */
  cursor: pointer; /* Курсор в виде руки */
  border-radius: 5px; /* Скругленные углы */
  height: 32px;
}

.popup-footer button:hover {
  background-color: #45a049; /* Цвет фона при наведении */
}

.popup-toggle {
  position: fixed; /* Фиксированное позиционирование */
  bottom: 20px; /* Расположение у нижнего края */
  right: 20px; /* Расположение у правого края */
  background-color: #4CAF50; /* Цвет фона */
  color: white; /* Цвет текста */
  border: none; /* Без границы */
  padding: 10px; /* Внутренние отступы */
  cursor: pointer; /* Курсор в виде руки */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Тень */
  height: 32px;
}

.popup-toggle:hover {
  background-color: #45a049; /* Цвет фона при наведении */
}

h3.features-date {
  text-align: center;
  color: #333;
  margin: 20px 0;
}

ul.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.features-list li {
  background-color: #e7e7e7;
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
}

ul.features-list li span {
  flex-grow: 1;
}

ul.features-list li:hover {
  background-color: #d3d3d3;
}

/* Modal window */

.modal-container {
  display: block;
  max-height: 80vh;
}

form#modal-revision-selector {
  display: inline-block;
  padding: 5px 0;
}

.disable-modal-container {
  pointer-events: none;
  opacity: 0.4;
}

.waiting-for-downloading {
  display: none;
  position: absolute;
  top: 38%;
  left: 47%;
  background-image: url(../images/loading.gif);
  width: 24px;
  height: 24px;
  background-position: center;
  background-repeat: no-repeat;
}
button.download-files-share {

}

button.download-files-share::before {
  content: '';
  background-repeat: no-repeat;
  background-image: url(../images/copy_link.png);
  padding-left: 20px;
  background-size: contain;
}

div.shared-link-successfully-copied {
  margin-top: 20px;
}

/* Repositories list from sidebar */

.rghe_sidebar_explorer {
  height: 35vh;
  overflow: auto;
}

.rghe_sidebar_list {
  list-style-type: none;
  margin: 5px 0 !important;
}

.rghe_sidebar_current_project {
  font-weight: 600;
}

.rghe_sidebar_project {
  font-size: 16px;
  font-family: inherit;
}

.rghe_sidebar_current_repository a {
  font-weight: 600;
  background-color: #9DB9D5;
  padding: 0 3px 2px 2px;
}

.rghe_sidebar_repository_item a:hover {
  color: #fff;
  background-color: #70A7CD;
  transition: color 0.5s;
}

.rghe_sidebar_current_repository::before {
  content: '>';
  margin-left: -12px;
}

.modal-container .download-links-wrapper {
  display: block;
  margin-bottom: 1em;
}


.modal-container input.icon {
  height: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-color: initial;
  border-color: darkgray;
  box-shadow: none;
  margin-bottom: 0px;
  background-image: url(../images/reload.png);
}

.modal-container div.autoscroll {
  overflow-y: auto;
  max-height: 65vh;
}

.download-current-path {
  text-wrap-mode: nowrap;
  text-align: right;
}