@media (max-width: 767px) {
    #myCarouselContainer {
        display: none;
    }
}

@media (min-width: 768px) {
    #myCarouselContainer {
        display: block;
    }
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

/* Общий контейнер для затемнения фона */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Полупрозрачный темный фон */
    display: none;
    /* Изначально скрыт */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Поверх всех элементов */
}

/* Стиль для анимации загрузки */
.loading {
    width: 100px;
    /* Задаем размер изображения */
    height: 100px;
    background-image: url('/images/loading.gif');
    /* Укажите путь к вашему GIF-файлу */
    background-size: contain;
    /* Подгонка по размеру */
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40vh;
}

.counter:not(.is-visible) {
    visibility: hidden;
}

#authBlock {
    display: flex;
    align-items: center;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-floating:focus-within {
    z-index: 2;
}

.form-signin input[type="text"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/*BBDACA*/
.header {
    width: 100%;
    padding: 10px 0;
    background-color: #198754;
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, .17);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .17);
}

.header img {
    width: 200px;
}

.selectLang {
    color: #fff;
    padding: 5px;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
}

.selectLang:hover {
    color: #054728;
    cursor: pointer;
}



.menu {
    justify-content: right;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    position: relative;
    display: inline-block;
    padding: 20px 14px;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    color: #fff;
}

.menu:hover {
    background-color: #054728;
}

.carousel_hsRgjA {
    /*margin-top: 120px;*/
    height: 100%;
    background-color: #F0B8A0;
    transition: background-color 0.6s ease;
}

.card_fdlzjhgli {
    overflow: hidden;
}

.card_fdlzjhgli:hover {
    background-color: #198754;
    color: #fff;
}

.card_fdlzjhgli img {
    transition: transform 0.3s ease-in-out;
}

.card_fdlzjhgli:hover img {
    transform: scale(1.05);
    /* Увеличение на 5% */
}

.profiles_section {
    padding: 50px 0px;
    background-color: #a8b0af;
    color: #fff;
}

.profilesItem {
    display: flex;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    text-decoration: none;
    color: #198754;
}

.profilesItemIcon {
    filter: url(#solid);
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}


.profilesItem:hover {
    background-color: #198754;
    color: white;
}

.profilesItem:hover .profilesItemIcon img {
    filter: invert(1);
}

.news_section {
    padding: 50px 0px;
}

#hidden-menu {
    display: none;
}

#hidden-menu ul {
    list-style-type: none;
    padding: 0;
}

#hidden-menu ul li {
    padding: 8px 0;
}

#hidden-menu ul li a {
    color: #333;
    text-decoration: none;
}

#hidden-menu ul li a:hover {
    color: #000;
}