/* Максимально общие стили */

html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Merriweather', sans-serif;
}

a {
    text-decoration: none;
}

ul {
    padding: 0;
    list-style: none;
}

ol {
    padding: 0;
    margin: 0 0 0 15px;
}

hr {
    all: unset;
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgb(218, 218, 218);
}

main {
    padding-top: 30px;
    flex-grow: 1;
}

b {
    font-family: 'Montserrat', sans-serif;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: gray;
}

::-webkit-scrollbar-track {
    background-color: #f4f4f4;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    min-width: 1180px;
    margin: 0 auto;
}

.padding-container {
    padding: 0 17px;
}

.page-links {
    font-family: 'Merriweather', sans-serif;
    font-weight: bold;
    padding-left: 1px;
}

.page-links a {
    color: black;
    text-decoration: none;
}

.page-name-links {
    color: #00A000;
}

.page-name {
    font-size: 38px;
    line-height: 1.2;
    padding-top: 0px;
    margin: 10px 0px;
}

.custom-button {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #00A000;
    color: #00A000;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.custom-button:hover {
    background-color: #00A000;
    color: #ffffff;
}

.button-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.custom-button:hover .button-icon {
    transform: translateX(3px);
}

.red-custom-button {
    border: 2px solid #e00000;
    color: #e00000;
    margin-bottom: 40px
}

.red-custom-button:hover {
    background-color: #e00000;
    color: #ffffff;
}

.material-icons.arrow-icon {
    margin-left: 5px;
    margin-right: 0px;
    transition: 0.3s;
}

.menu-item:hover .arrow-icon {
    transform: rotate(180deg);
}

hr.hr-margin {
    margin: 25px 0 35px 0;
}

hr.hr-after-default-text {
    margin: 35px 0;
}

hr.header-hr {
    margin: 20px 0;
}

.mini-header {
    font-size: 25px;
    font-weight: bold;
}

.default-text {
    font-size: 17px;
    color: black;
    line-height: 1.6;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.text-link {
    color: #00A000;
    text-decoration: none;
    font-weight: bold;
    transition: all .3s;
}

.default-text a:hover {
    color: #247024;
}

.default-text b {
    font-weight: bold;
}

.pdf-icon {
    width: 40px;
    height: auto;
}

.file-size {
    color: #666;
    font-size: 14px;
}

.file-download {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px
}

.default-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.default-table th,
.default-table td {
    padding: 12px 20px;
    border: 1px solid black;
    text-align: center;
    font-size: 14px;
    color: black;
    line-height: 1.6;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.default-table thead tr th {
    background-color: #00A000;
    color: #ffffff;
    font-size: 16px;
}

.default-table tbody tr:hover td {
    background-color: #d3d3d3;
}

.file-table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #00A000;
}

.file-table th,
.file-table td {
    padding: 10px 10px;
    border: 1px solid #00A000;
}

.file-table th {
    background: #00A000;
    color: white;
    text-align: center;
    font-weight: bold;
}

.file-table tr:nth-child(odd) {
    background: white;
}

.file-table tr:nth-child(even) {
    background: #f2f2f2;
}

.file-table td:last-child {
    text-align: center;
}

.file-table a {
    display: inline-block;
    color: white;
    background: #00A000;
    border: none;
    padding: 7px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
}

.file-table a:hover {
    background: #006600;
    color: white;
}

.pointed-list {
    list-style: disc;
    margin-left: 20px;
}

.pointed-list li::marker {
    color: #00A000;
    font-size: 20px;
}

/* Конец максимально общих стилей */

.header {
    background-color: #00A000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 45px;
}

.additional-info {
    display: flex;
    gap: 40px;
}

.helpful-widgets {
    display: flex;
    align-items: center;
    gap: 25px;
    cursor: pointer;
    color: white;
}

.helpful-widgets .language {
    border-bottom: 1px solid transparent;
}

.helpful-widgets .language:hover {
    border-bottom: 1px solid #fefefe;
}

.additional-info-link {
    display: flex;
    align-items: center;
    color: #fefefe;
    font-size: 10px;
    line-height: 20px;
    padding-bottom: 5px;
    transition: all .5s;
    border-bottom: 1px solid transparent;
}

.additional-info-link:hover {
    border-bottom: 1px solid #fefefe;
}

.material-icons {
    font-size: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

.top-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 130px;
}

.logo {
    padding-right: 60px;
    padding-top: 4px;
}

.menu-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-bottom: 10px;
}

.icon-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 15px;
    color: #002200;
    cursor: pointer;
}

.icon-block a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: inherit;
}

.icon-block a:hover .nav-icon {
    color: #e00000;
    transition: all .5s;
}

.icon-block a:hover .icon-text {
    color: #e00000;
    transition: all .5s;
}

.material-icons.nav-icon {
    font-size: 32px;
    color: #00A000;
    margin-bottom: 10px;
    margin-right: 0;
}

.menu {
    margin-bottom: 30px;
}

.menu-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.menu-list-link {
    display: flex;
    align-items: center;
    color: #002200;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    min-height: 20px;
    text-decoration: none;
}

.menu-list-link:hover {
    color: #e00000;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: max-content;
    padding: 10px 0;
    border-radius: 5px;
    box-shadow: 0 4px 8px #00000033;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10;
    border-bottom: 3px solid #00A000;
}

.submenu li {
    padding: 4px 8px;
}

.submenu li a {
    text-decoration: none;
    color: #002200;
    font-size: 15px;
    display: block;
    padding: 8px 15px;
    transition: 0.3s;
}

.submenu li a:hover {
    color: #e00000;
}

.submenu-item.has-submenu:hover .deep-submenu {
    display: block;
}

.menu-item {
    position: relative;
}

.menu-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item a {
    cursor: pointer;
}

.deep-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background: white;
    min-width: max-content;
    padding: 10px 0;
    border-radius: 5px;
    box-shadow: 0 4px 8px #00000033;
    opacity: 0;
    visibility: hidden;
    transform: translateX(5px);
    transition: opacity 0.3s, transform 0.3s;
    border-bottom: 3px solid #00A000;
}

.has-submenu {
    position: relative;
}

.has-submenu:hover .deep-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.block-header {
    color: black;
    font-weight: bold;
    font-size: 44px;
    line-height: 1.2;
    padding-top: 0px;
}

.underlined {
    text-decoration: none;
    position: relative;
}

.underlined::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 5px;
    background-color: black;
}

.about-us {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 15px;
}

.about-us-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 60%;
}

.about-us-text {
    color: #6c6c6c;
    font-size: 16px;
    line-height: 1.6;
    margin-top: -15px;
    font-family: 'Montserrat', sans-serif;
}

.about-us-logo img {
    padding-top: 25px;
    max-height: 330px;
    width: auto;
}

.news-block {
    background-color: #f5f7fa;
}

.block-header-centered {
    text-align: center;
    padding-top: 35px;
    padding-bottom: 20px;
}

.news {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
}

.news-item {
    height: 440px;
    width: 30%;
    text-align: center;
    margin-bottom: 40px;
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-back {
    width: 360px;
    height: 440px;
    background-color: white;
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-back img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 12px;
}

.news-title {
    font-size: 16px;
    font-weight: bold;
    color: #e00000;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    min-height: 2.3em;
}


.news-text {
    font-size: 16px;
    color: black;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-height: 1.1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 7.5em;
    font-family: 'Montserrat', sans-serif;
}

.news-date {
    padding-left: 5px;
    font-size: 14px;
    font-style: italic;
    color: #3c4c80;
    display: flex;
    align-items: center;
    margin-top: 30px;
    font-family: 'Montserrat', sans-serif;
}

.news-date::before {
    content: "calendar_today";
    font-family: 'Material Icons';
    font-size: 20px;
    margin-right: 5px;
}

.remove-margin-bottom {
    margin-bottom: 0px;
}

.top-footer {
    background: #2b2b2b;
    padding: 30px 0;
    color: white;
    font-size: 14px;
}

.container {
    width: 1180px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-icon {
    width: 86px;
    height: auto;
}

.footer-underlined {
    text-decoration: none;
    position: relative;
}

.footer-underlined::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background-color: #00A000;
}

.footer-middle,
.footer-right {
    flex: 1;
    margin-left: 30px;
}

.footer-title {
    font-size: 16px;
    padding-bottom: 10px;
    margin-top: 1px;
}

.footer-link {
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    transition: all .5s;
}

.footer-link:hover {
    border-bottom: 1px solid #fefefe;
}

footer p {
    font-size: 12px;
}

.low-footer {
    background-color: #222222;
}

.the-end {
    padding: 25px 0;
    color: white;
    font-size: 13px;
    font-weight: 100;
    text-align: center;
}

.own-margin-bottom {
    margin-bottom: 25px;
}

.social-icon {
    display: inline-block;
    width: 24px;
    height: auto;
}

.image-container {
    position: relative;
    display: inline-block;
}

.more-btn {
    position: absolute;
    left: 50%;
    top: 90%;
    transform: translate(-50%, -50%);
    background-color: #00A000;
    color: white;
    padding: 10px 70px;
    text-decoration: none;
    text-align: center;
    border-radius: 12px;
    z-index: 10;
    font-size: 24px;
    transition: 0.3s ease;
}

.more-btn:hover {
    background-color: #e00000;
    transition: transform 0.3s ease;
}

/* Стили, связанные с переводом */

[data-lang-key^="latest"] {
    display: inline;
}

[data-lang-key="latest-en"] {
    display: none;
}

html[lang="en"] [data-lang-key^="latest"] {
    display: none;
}

html[lang="en"] [data-lang-key="latest-en"] {
    display: inline;
}

html[lang="en"] [data-lang-key="latest-1"] {
    display: inline;
}