* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; min-height: 100%; }
body { background: #fff; color: #000; font: 12px Arial, sans-serif; }
a { color: #000; }
a:hover { color: #007e42; }
img { max-width: 100%; height: auto; border: 0; }
.layout { display: flex; flex-direction: column; width: 965px; min-height: 100vh; margin: 0 auto; padding: 0 20px; background: url('../images/bg.gif') no-repeat 145px 100%; }
.layout > .site-header, .layout > .site-footer { flex-shrink: 0; }
.layout > #main { flex: 1 0 auto; }
.site-header { position: relative; height: 95px; }
.logo { position: absolute; top: 20px; left: 0; }
.logo:focus:not(:focus-visible), .site-footer > a:focus:not(:focus-visible) { outline: none; }
.logo:focus-visible, .site-footer > a:focus-visible { outline: 2px solid #007e42; outline-offset: 4px; }
.languages { position: absolute; top: 22px; right: 0; font: bold 10px Tahoma, sans-serif; text-transform: uppercase; }
.languages a { margin-left: 5px; color: #007e42; }
.languages a:hover { color: #000; }
.languages [aria-current] { color: #000; font-weight: bold; text-decoration: none; }
.main-menu { position: absolute; right: 0; bottom: 30px; }
.main-menu ul { list-style: none; }
.main-menu li { display: inline; margin-left: 25px; }
.main-menu a { padding-left: 11px; background: url('../images/menu_main_bullet.gif') no-repeat 0 4px; font-size: 11px; font-weight: bold; text-decoration: none; text-transform: uppercase; }
#home-content { padding-bottom: 15px; }
.legacy-block { position: relative; overflow: hidden; margin-bottom: 10px; border-radius: 9px; background-color: #007e42; background-position: 50% 50%; background-repeat: no-repeat; }
#block-corner-top { height: 258px; }
.event-menu { position: relative; z-index: 4; height: 26px; padding: 5px 43px; background: rgb(0 0 0 / 45%); }
.event-menu a { margin-right: 20px; padding: 5px 10px; color: #fff; font-size: 14px; text-decoration: none; }
.event-menu a:hover { color: #fff; background: #00592b; }
.event-overlay { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; height: 80px; background: rgb(0 0 0 / 50%); color: #fff; }
.event-overlay h2 { float: left; width: 700px; height: 60px; overflow: hidden; margin: 13px 0 0 48px; color: #fff; font-size: 28px; line-height: 1; font-weight: normal; }
.event-overlay h2 strong { font-weight: bold; }
.event-big-date { float: right; margin: 18px; padding-left: 20px; border-left: 1px solid #ada7a5; font-size: 20px; line-height: 1; }
.event-big-date strong { font-size: 28px; }
.cover-link { position: absolute; z-index: 3; inset: 0; display: block; }
#block-corner-top > .cover-link { top: 26px; }
.home-promo-row { display: flex; justify-content: space-between; }
#block-corner-left { width: 523px; height: 168px; }
#block-corner-left h2 { width: 280px; margin: 67px 260px 30px 48px; color: #fff; font-size: 18px; line-height: 1; }
.small-event-date { position: absolute; top: 38px; left: 48px; padding: 2px 3px; background: #007e42; color: #fff; font-size: 14px; text-transform: uppercase; }
#block-corner-right { width: 390px; height: 168px; background-image: url('../images/maxevent.jpg'); }
#block-corner-right p { margin: 67px 20px 30px 138px; color: #fff; font: 17px/1.15 'Arial Narrow', Arial, sans-serif; text-transform: uppercase; }
#block-corner-news { display: flex; justify-content: space-between; height: 145px; background: linear-gradient(#eee, #fff); }
.news-block { position: relative; width: 300px; margin-top: 5px; }
.news-date { height: 19px; padding: 0 10px 0 20px; color: #818181; font-size: 11px; }
.news-block-first .news-date { padding-left: 48px; }
.news-date a { padding-right: 15px; color: #000; font-weight: bold; text-decoration: none; text-transform: uppercase; }
.news-image { height: 70px; margin-bottom: 1px; border-radius: 9px 9px 0 0; background-color: #007e42; background-position: 50% 50%; background-repeat: no-repeat; }
.news-content { height: 46px; border-radius: 0 0 9px 9px; background: linear-gradient(to bottom, #14824d 0%, #0d6036 100%); color: #fff; }
.news-content div { height: 37px; overflow: hidden; padding: 7px 10px 0 15px; }
.news-block-first .news-content div { padding-left: 48px; }
.site-footer { padding-bottom: 20px; font: 11px/1.4 Tahoma, sans-serif; }
.site-footer address { margin-top: 10px; font-style: normal; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: relative; display: block; padding: 10px; background: #fff; }
.page-title { padding: 3px 10px 5px 60px; border-radius: 9px; background: #007e42; color: #fff; font-size: 18px; font-weight: normal; text-transform: uppercase; }
.page-columns { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 35px; padding: 30px 0 60px 60px; }
.sidebar { min-width: 0; overflow-wrap: anywhere; }
.page-content { min-width: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.page-content h2, .page-content h3 { margin-bottom: 10px; color: #007e42; font-weight: normal; }
.side-menu { display: grid; gap: 12px; margin-bottom: 35px; }
.side-menu-events { display: block; margin-bottom: 60px; }
.side-menu-events ul { list-style: disc inside; color: #007e42; }
.side-menu-events li { margin-bottom: 0.7em; }
.side-menu-events a[aria-current="page"] { color: #007e42; font-weight: bold; }
.contact-details { line-height: 1.5; }
.contact-details dt { margin-bottom: 4px; color: #666; }
.contact-details dd { margin: 0 0 20px; color: #007e42; font-weight: bold; }
.contacts-team { margin-bottom: 40px; font-size: 12px; line-height: 1.4; }
.contacts-team-intro { margin-bottom: 10px; }
.contacts-team-person { margin-bottom: 20px; }
.contacts-team-person h3 { margin-bottom: 0; color: #000; font-size: 20px; font-weight: normal; line-height: 1; }
.contacts-team-person .occupation { color: #666; font-size: 11px; }
.contacts-team-person > a { color: #007e42; font-weight: bold; }
.news-item, .person-card { margin-bottom: 30px; }
.news-nearest { font-size: 12px; line-height: 1.4; }
.news-nearest h4 { margin-bottom: 20px; color: #666; font-size: 11px; font-weight: normal; }
.news-nearest dt { margin-bottom: 3px; color: #000; font-size: 11px; }
.news-nearest dd { margin-bottom: 20px; font-weight: bold; }
.news-nearest a { color: #007e42; }
.news-list { margin-left: -15px; list-style: none; font-size: 12px; line-height: 1.4; }
.news-list-item { margin-bottom: 40px; padding-left: 15px; background: url('../images/news_list_bullet.gif') no-repeat 0 6px; }
.news-list-item h4 { margin-bottom: 5px; font-size: 12px; font-weight: bold; }
.news-list-date { margin-bottom: 5px; color: #808080; font-size: 11px; }
.news-list-content p { margin-bottom: 10px; }
.news-list-content ul, .news-list-content ol { margin: 0 0 15px 15px; }
.news-list-content li { margin-bottom: 7px; }
.news-article-back { margin-bottom: 20px; }
.news-article-back a { color: #007e42; font-size: 11px; }
.news-article { margin-bottom: 40px; font-size: 12px; line-height: 1.4; }
.news-article > h2 { margin-bottom: 5px; color: #000; font-size: 20px; line-height: 1; font-weight: normal; }
.news-article-date { margin-bottom: 20px; font-size: 11px; color: #808080; }
.news-article-content p { margin-bottom: 10px; }
.news-article-content ul, .news-article-content ol { margin: 0 0 15px 15px; }
.news-article-content li { margin-bottom: 7px; }
.news-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; overflow: hidden; margin-bottom: 10px; border-radius: 9px; background: url('../images/bg_common_news.png') repeat-x 0 0; font-size: 12px; line-height: 1.4; }
.news-related-item { padding: 20px 40px 10px; background: url('../images/news_list_bullet.png') no-repeat 25px 25px; }
.news-related-item > a { display: block; margin-bottom: 5px; font-weight: bold; }
.news-related-item > div { color: #808080; font-size: 11px; }
.event-card { display: grid; grid-template-columns: 95px minmax(0, 1fr); gap: 12px; padding-bottom: 20px; font-size: 12px; line-height: 1.4; }
.event-card-data { text-align: right; }
.event-card-date { margin-bottom: 10px; color: #007e42; font-size: 20px; line-height: 1.2; }
.event-card-type { color: #808080; }
.event-card-banner { display: block; position: relative; height: 168px; overflow: hidden; border-radius: 9px; background: #007e42 center center no-repeat; text-decoration: none; }
.event-card-caption { position: absolute; bottom: 0; left: 0; width: 100%; height: 70px; background: rgb(0 89 43 / 80%); }
.event-card-caption h2 { height: 38px; overflow: hidden; margin: 15px 40px 0; color: #fff; font-size: 18px; line-height: 1; font-weight: normal; }
.date { color: #777; font-size: 12px; }
.partner-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 25px; margin-bottom: 35px; }
.rich-content { overflow-x: auto; }
.rich-content img { max-width: 100% !important; height: auto !important; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.photo-grid figure { margin: 0; }
.site-form { display: grid; gap: 18px; max-width: 460px; margin-top: 20px; }
.form-field { display: grid; gap: 7px; }
.form-field label { font-weight: bold; line-height: 1.35; }
.site-form input:not([type=checkbox]) { box-sizing: border-box; width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #007e42; border-radius: 5px; font: inherit; }
.site-form input:not([type=checkbox])::placeholder { color: #888; opacity: 1; }
.site-form input:not([type=checkbox]):focus { outline: 2px solid rgb(0 126 66 / 25%); outline-offset: 1px; }
.site-form button { justify-self: start; padding: 10px 20px; border: 0; border-radius: 5px; background: #007e42; color: #fff; cursor: pointer; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.checkbox-label input { flex: 0 0 auto; margin-top: 2px; }
.form-errors { color: #a00000; }
.program-header { margin-bottom: 40px; }
.page-content .program-header h2 { margin-bottom: 10px; color: #000; font-size: 28px; line-height: 1.1; font-weight: normal; }
.program-header p { color: #007e42; font-size: 20px; line-height: 1.2; }
.page-content .program-heading { color: #000; font-size: 20px; line-height: 1.2; }
.program-success { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; box-sizing: border-box; width: 100%; max-width: 460px; min-height: 220px; margin-top: 24px; padding: 32px 20px; border: 1px dashed #007e42; border-radius: 16px; background: transparent; color: #007e42; text-align: center; font-size: clamp(22px, 3vw, 30px); font-weight: 500; line-height: 1.3; }
.program-success svg { flex-shrink: 0; }
.program-again { display: inline-block; padding: 10px 18px; border: 1px solid #007e42; border-radius: 5px; color: #007e42; font-size: 14px; font-weight: normal; line-height: 1.4; text-decoration: none; }
.program-again:hover { background: #007e42; color: #fff; }
.program-again:focus-visible { outline: 2px solid #007e42; outline-offset: 3px; }
.form-honeypot { display: none; }
.captcha-image { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.captcha-image img { border: 1px solid #007e42; border-radius: 5px; }
@media (max-width: 965px) {
    .layout { width: 100%; }
    .page-columns { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding-left: 0; }
    .event-card-caption h2 { margin-right: 20px; margin-left: 20px; }
    .event-overlay h2 { width: calc(100% - 190px); }
    #block-corner-left { width: calc(57% - 5px); }
    #block-corner-right { width: calc(43% - 5px); }
    .news-block { width: 32.4%; }
}
@media (max-width: 900px) {
    .site-header { height: auto; padding: 20px 0; }
    .logo { position: static; display: inline-block; max-width: calc(100% - 85px); }
    .main-menu { position: static; margin-top: 24px; }
    .main-menu ul { display: flex; flex-wrap: wrap; gap: 12px 24px; }
    .main-menu li { margin: 0; }
}
@media (max-width: 700px) {
    .site-header { height: auto; padding: 20px 0; }
    .logo { position: static; display: inline-block; max-width: calc(100% - 85px); }
    .main-menu { position: static; margin-top: 24px; }
    .main-menu li { display: inline-block; margin: 0 20px 10px 0; }
    .event-overlay h2 { width: calc(100% - 145px); margin-left: 20px; font-size: 20px; }
    .event-big-date { margin-right: 10px; }
    .event-menu { height: auto; padding-left: 10px; }
    .event-menu a { display: inline-block; margin-right: 0; font-size: 12px; }
    .home-promo-row, #block-corner-news { display: block; height: auto; }
    #block-corner-left, #block-corner-right, .news-block { width: 100%; }
    .news-block { height: 136px; }
    .page-columns { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
    .page-columns > .sidebar { order: 2; }
    .page-title { padding-left: 20px; }
    .event-card-caption { height: auto; min-height: 70px; }
    .event-card-caption h2 { height: auto; margin: 15px 20px; line-height: 1.15; }
    .partner-card, .photo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .news-related { grid-template-columns: minmax(0, 1fr); }
    .layout { padding-right: 15px; padding-left: 15px; background-position: center bottom; }
    .event-card { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .event-card-data { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; text-align: left; }
    .event-card-date { margin-bottom: 0; }
    .event-card-date br { display: none; }
    .event-card-date strong { margin-right: 5px; }
    .event-card-caption h2 { font-size: 16px; }
    #block-corner-left h2 { width: auto; margin-right: 20px; margin-left: 20px; }
    .small-event-date { left: 20px; right: 20px; font-size: 12px; }
}
