header {
    width: 100%;
}

area {
    cursor: pointer; /* Изменяет курсор на руку */
     }

h1 {
    color: #5c636a !important;
}

.group-img{
    padding-bottom: 30px;
}

.nested {
     display: none; /* Скрывает вложенные списки */
     margin-left: 20px; /* Добавляет отступ для вложенных элементов */
}

.active {
     display: block; /* Показывает вложенные списки, когда они активны */
}

.toggle {
     cursor: pointer; /* Указывает, что элемент кликабельный */
     text-decoration: none; /* Убирает подчеркивание */
}

.image-container {
     position: relative;
     display: inline-block;
}
.overlay {
     position: absolute;
     background-color: rgba(255, 0, 0, 0.3); /* Полупрозрачный красный */
     cursor: pointer;
}
.highlight {
     background-color: yellow; /* Цвет фона для подсветки */
     transition: background-color 0.5s ease; /* Плавный переход */
}
.image-divider {
    border-bottom: 1px solid #ccc; /* Нижняя граница для разделения */
    padding-bottom: 15px; /* Отступ снизу */
    margin-bottom: 15px; /* Отступ между элементами */
}
.image-divider:last-child {
     border-bottom: none; /* Убираем границу у последнего элемента */
}
.nested-ul li {
    padding-left: 20px;
}

/*.tree ul {*/
/*    list-style-type: none;*/
/*    padding-left: 20px;*/
/*}*/

.nested-ul {
    list-style-type: none;
    padding-left: 20px !important;
    overflow: hidden; /* Скрываем содержимое, выходящее за пределы */
    max-height: 0; /* Начальная высота */
    transition: max-height 0.4s ease-out; /* Плавный переход высоты */
}

.tree li {
    cursor: pointer;
}

.tree .toggle::before {
    content: "\25b7"; /* Стрелка вправо */
    color:#0D6EFD;
    display: inline-block;
    margin-right: 5px;
    transition: transform 0.3s;
}

.tree .toggle.open::before {
    transform: rotate(90deg); /* Поворот стрелки вниз */
}

.tree ul.collapsed {
    display: none;
}

.tree .toggle.open {
    transition: max-height 0.4s ease-out;
}
.tree .toggle.open > ul {
    max-height: 1000px;
}

.container-form {
    background-color: #797979;
    border-radius: calc(var(--bs-gutter-x)* .5);
    padding-bottom: calc(var(--bs-gutter-x)* .5);
    padding-top: calc(var(--bs-gutter-x)* .5);
}

.form-label {
    display: none;
}

.navbar-collapse {
    justify-content: end !important;
    flex-grow: 0 !important;
}

.navbar {
    background-color: #B1B3B6 !important;
}

.vh-100 {
    height: 100vh;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.opacity-50 img {
    width: 100%;
    height: auto;
}

.invalid-feedback {
    color: #ffffff !important;
}

.image-cont {
    border-right: 1px solid #ccc;
}

.img-group {
    max-width: 100%;
    max-height: 60vh;
}

body.with-cookie-bar {

    display: flex;
    flex-direction: column;
    align-items: center;
}

.cookie-bar {
    padding: 10px;
    position: fixed;
    max-width: 40%;
    min-width: 300px;
    bottom: 3vh;
    text-align: center;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 1vh #5c636a;
    display: flex;
    flex-direction: column; /* Расположение блоков вертикально */
    align-items: center; /* Центрируем по горизонтали */
    justify-content: center; /* Центрируем по вертикали */
    border: 1px solid #5c636a;
}

.cookie-padding {
    padding-bottom: 250px !important;
}

.viewer-img {
    cursor: pointer;
}