.index_img_icon {
    display: block;
    margin: auto;
    vertical-align: center;
}

.programme_icon:hover {
    transform: scale(1.25);
    transition-duration: 0.25s;
}

.programme_icon {
    display: flex;
    justify-content: center;
}

.programme_icon a {
    text-decoration: none;
    /*color: black;*/
    justify-content: center;
    color: gray;
    /* And disable the pointer events */
    /*  pointer-events: none;*/
}

.programme_icon .index_img_icon {
    max-width: 100px;
}

/* Стили для футера*/
.footer-top {
    height: 75px;
    width: 100%;
}

.footer-info {
    color: #b7b3b3;
    font-size: x-small;
    padding-top: 15px;
}

.footer-links {
    margin-bottom: 0px;
    text-decoration: none;
}

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

.footer-links li {
    padding-bottom: 3px;
    padding-top: 3px;
    color: whitesmoke;
    line-height: 1;
}

.footer-links a {
    text-decoration: none;
    padding: 1px 0;
    color: grey;
    font-size: medium;
}

.footer-links a:hover {
    color: darkgrey;
}

.page-content {
    min-height: 100vh;
}

@media (max-width: 766px) {
    .index-header {
        padding-left: 0;
        padding-right: 0;
    }
}

.large-content {
    max-width: 1140px;
}

.text-container .more::before {
    content: "Показать полностью...";
    font-weight: bold;
    color: black;
}

.text-container.active .more::before {
    content: "Свернуть";
    color: black;
}

.text-container .card-text-text {
    height: 120px;
    overflow: hidden;
}

.text-container.active .card-text-text {
    height: auto;
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

.small_card_photo {
    object-fit: cover;
}

.modal-content {
    margin: auto;
    display: block;
    max-height: 85vh;
    object-fit: scale-down;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
    background-color: rgba(0, 0, 0, 0.01);
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 50px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

a {
    color: #000;
    font-weight: bold;
}

a:hover {
    color: darkgray;
}

.card_to_hover:hover {
    transition-duration: 0.5s;
    transition-property: all;
    height: 101%;
    width: 101%;
    box-shadow: 10px 10px 10px rgba(75, 73, 73, 0.53);
}
