#toc_container,
.toc_container {
    padding: 1em;
}

li {
    display: list-item;
}
a.intext {
    word-wrap: break-word;
}

.toc_section {
    padding-top: 0.5em;
}

.toc_subsection {
    padding-top: 0.7em;
    font-size: 0.8em;
    padding-bottom: 0em;
}

#toc_container li,
#toc_container ul,
#toc_container ul li,
.toc_container li,
.toc_container ul,
.toc_container ul li {
    list-style: outside none none !important;
}

code {
    border-radius: 0.7ex;
    font-size: 1em;
}

.inline {
    display: inline;
    padding: 0.1em 0.4em 0.1em 0.4em;
    background-color: #f0f0f0;
    color: brown;
    border-radius: 0.7ex;
    word-wrap: break-word;
}

.shadow {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

img.left {
    margin: 0em 1em 0em 0em;
}

img.right {
    margin: 0em 0em 0em 1em;
}
p.no_bottom_pad {
    padding-bottom: 0em;
}

@media screen and (max-width: 45em) {
    .to_col_if_narrow {
    flex-direction: column;
    }

    img.left, img.right {
    margin: 0em 0em 1em 0em;
    }
}

table {
    border-spacing: 0 5px;
    margin-left: auto;
    margin-right: auto;
    font-size: 120%;
    /* line-height: 120%; */
    border-top: 3px solid black;
    border-bottom: 3px solid black;
    /* padding-bottom: 1em; */
    margin-bottom: 2em;
}

thead, th {
    border-bottom: 2px solid black;
    border-spacing: 5px 5px;
}

th, td {
    padding: 0.4em 1em 0.4em 1em;
    text-align: right;
}
.date {
    padding-bottom: 1em;
    text-align: right;
}
@media screen and (max-width: 50em) {
    table {
    font-size: 2.8vw;
    line-height: 4.0vw;
    border-top: 0.3vw solid black;
    border-bottom: 0.3vw solid black;
    }
    thead, th {
    border-bottom: 0.2vw solid black;
    }
    th, td {
    padding: 0.4vh 2vw 0.4vh 2vw;
    }
    pre {
    font-size: 0.8em;
    line-height: 1.5em;
    }
    body {
    font-size: 0.8em;
    }
    .date {
    padding-bottom: 1em;
    text-align: center;
    }
}

.section_name {
    padding: 0.5em;
    /* padding-top: 1.5em; */
    /* padding: 1em;
    padding-top: 2em; */
    font-size: 2em;
    font-weight: bold;
    /* margin: auto; */
    text-align: center;
}

.subsection_name {
    padding-top: 2em;
    padding-bottom: 1.1em;
    font-size: 1.4em;
    font-weight: bold;
    line-height: 1.2em;
    text-align: center;
}
.section_content {
    font-size: 1.2em;
    line-height: 1.35em;
    padding: 1em;
}
.p_on_project_pages {
    margin-top: 0em;
    margin-bottom: 0em;
    padding-top: 0em;
    padding-bottom: 2em;
}
.enlarged-image {
    width: 450px; /* Новая ширина */
    height: auto; /* Автоматическая высота, чтобы сохранить пропорции */
}
.enlarged-image-large{
    width: 750px; /* Новая ширина */
    height: auto; /* Автоматическая высота, чтобы сохранить пропорции */
}
