/* Round Corners*/
.r0, .r1, .r2, .r3, .r4 {
    overflow: hidden;
    font-size: 1px;
    display: block;
    height: 1px;
}

.r4 {
    margin: 0 4px;
}

.r3 {
    margin: 0 3px;
}

.r2 {
    margin: 0 2px;
}

.r1 {
    margin: 0 1px;
}

/* Tags cloud */
div.search-cloud {
    text-align: center;
}

div.search-cloud a {
    line-height: 1.4em;
    text-decoration: none;
}

div.search-cloud a:hover {
    text-decoration: underline;
}

/* Search results*/
div.search-item {
    margin: 0 0 1.5em;
    padding: 0 0 1.5em;
    border-bottom: 1px solid;
}

div.search-result {
    margin: 1em 0;
}

div.search-preview {
    margin: 0.5em 0;
}

div.search-page input.search-query {
    width: 99%;
    border: 1px solid;
    font-size: 1.3em;
}

div.search-page input.search-button {
    font-size: 1.2em;
}

/* Content Forms: commons styles */
div.content-form {
    position: relative;
    zoom: 1;
    padding-bottom: 2.5em;
    padding-left: 2.5em;
}

div.content-form div.form-input span {
    font-size: 1.5em;
}

div.content-form div.form-input input, div.content-form div.form-input textarea, div.content-form div.form-input select {
    margin: 0;
    border: 1px solid;
    font-size: 1.117em;
    font-family: Verdana, Tahoma, Sans-Serif;
    margin-bottom: 8px;
}

div.content-form div.form-input input, div.content-form div.form-input textarea {
    padding: 0.3em;
}

div.content-form div.legend {
    left: -1em;
    top: -0.7em;
    float: left;
    padding: 0 3px;
    background: white;
    position: relative;
    z-index: 10;
    font-size: 1.8em;
    font-family: Arial, Verdana, Tahoma, Sans-Serif;
}

div.content-form div.form-input input, div.content-form div.form-input textarea {
    width: 75%;
}

div.content-form div.fields {
    clear: both;
}

div.content-form input.input-submit {
    overflow: visible;
    padding: 0 0.5em;
}

div.content-form div.field {
    padding: 0;
    margin: 0 0 0.8em 0;
    display: block;
}

div.content-form div.field label.field-title {
    display: block;
    font-size: 1.4em;
    margin-bottom: 3px;
    font-family: Arial, Verdana, Tahoma, Sans-Serif;
    white-space: nowrap;
}

div.content-form div.description {
    font-size: 0.9em;
}

div.content-form div.field-checkbox {
    margin: 0.3em 0;
    font-size: 1.4em;
}

/*Error & OK messages*/
.errortext, .notetext {
    display: block;
    margin: 0 0 1.5em 0;
    padding: 0.4em 1.117em;
    border: 1px solid;
}

.errortext ul, .notetext ul {
    padding: 0.3em 0 0.3em 2em;
    margin: 0;
}

.errortext ul li, .notetext ul li {
    margin: 0;
    padding: 0;
}

.tn-atom {
    float: left;
    margin-left: 70px;
}

.wrapper {
    max-width: 1720px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1740px) {
    .wrapper {
        padding: 0 20px;
    }
}


#header {
    border-radius: 0px 0px 0px 0px;
    background-color: #2a31434f;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    left: 0px;
    top: 0px;
    height: 100px;
    position: absolute;
    width: 100%;
    border-bottom: 1px solid #fff;
    z-index: 5;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

#header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid var(--main-text);
}


.header_inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
	gap: 6px;
}

#header .social {
    display: flex;
    gap: 10px;
}

#header .logo img {
    width: 256px;
    position: relative;
}

#header .social a svg {
    width: 30px;
    height: 30px;
    fill: white;
}

#header.fixed .social a svg {
    fill: var(--main-text);
}

#header #search {
    border-radius: 10px;
    background-color: var(--main-text);
    font-size: 16px;
    padding: 20px 15px 20px 45px;
    text-decoration: none;
    color: #ffffff;
    width: auto;
    position: relative;
    top: unset;
    right: unset;
    display: flex;
    align-items: center;
    gap: 10px;
}

#header #search:before {
    content: "";
    background-image: url("https://static.tildacdn.com/tild6634-3463-4132-b635-386338333062/searchmagnifierinter.svg");
    width: 26px;
    height: 26px;
    position: absolute;
    background-size: cover;
    left: 10px;
}


#header .requests {
    border-radius: 10px;
    background-color: #3da063;
    font-size: 16px;
    padding: 20px 15px;
    text-decoration: none;
    color: #ffffff;
	text-align: center;
}

.banner_name {
    color: #ffffff;
    font-size: clamp(28px, 3vw, 50px);
    font-family: 'Manrope', Arial, sans-serif;
    width: 670px;
    background-position: center center;
    z-index: 1;
    position: absolute;
    left: 200px;
    top: 200px;
}

.banner_preview {
    color: #ffffff;
    font-size: clamp(20px, 2.5vw, 42px);
    font-family: 'Manrope', Arial, sans-serif;
    width: 815px;
    background-position: center center;
    z-index: 1;
    position: absolute;
    left: 200px;
    top: 375px;
}

.banners {
    text-align: center;
    position: relative;
    margin: -20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.banners_wrapper {
    height: 200px;
    padding: 0 40px;
}

.banners .banners_more {
    display: contents;
    color: rgba(255, 255, 255, 0.4);
}

.banner_list {
    border-radius: 10px 10px 10px 10px;
    background-color: var(--main-text);
    box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.4);
    height: 126px;
    color: #fff;
    font-size: clamp(16px, 1.5vw, 22px);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    text-align: left;
    font-weight: bold;
}

.banner_list:hover {
	color: #ffffff99;
}

.banner_list::before {
    content: "";
    display: block;
    width: 80px;
    height: 60px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.--scientific::before {
    background-image: url("/upload/tilda/tild6231-3539-4733-b739-633366626461__1.svg");
}

.--international::before {
    background-image: url("/upload/tilda/tild3131-6138-4664-a136-393736663039__2.svg");
}

.--services::before {
    background-image: url("/upload/tilda/tild3639-6662-4062-a236-323836306262__4.svg");
}

.--journal::before {
    background-image: url("/upload/tilda/tild3936-3432-4861-a663-363066386338__im_04.svg");
}

.banner_list .name {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.banner_list .name p {
    line-height: 1.2;
}

.banner_list .name span {
    display: block;
    font-size: 16px;
    opacity: 0.4;
    font-weight: 400;
}


.post_list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0 50px;
    margin-bottom: 15px;
    position: relative;
    align-items: stretch;
}

.bx-newslist-container {
    flex: 0 0 auto;
    scroll-snap-align: start;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Стилизация скроллбара */
.post_list::-webkit-scrollbar {
    height: 12px;
}

.post_list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
    margin: 0 20px;
}

.post_list::-webkit-scrollbar-thumb {
    background: #2c5c9e;
    border-radius: 6px;
    border: 2px solid #f1f1f1;
}

.post_list::-webkit-scrollbar-thumb:hover {
    background: #1e3f74;
}

.scroll-indicator {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: -15px;
    padding-bottom: 10px;
}

.news_header, .posts_header {
    font-size: clamp(28px, 4vw, 60px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--main-text);
    margin: 40px 0 40px 10vw;
}

.posts_header {
    color: #ffffff;
}


.posts {
    background-color: var(--main-text);
    overflow: auto;
}

.post_item {
    border-radius: 10px;
    border: solid 1px #ffffff;
    color: #FFFFFF;
    padding: 0px !important;
    height: 100%;
}

.posts_item .bx-newslist-title h3, .bx-newslist-title a {
    color: #ffffff !important;
}

.posts_item .bx-newslist-img a img {
    width: 100px;
    aspect-ratio: 7/9;
}

.posts .bx-newslist {
    background-color: var(--main-text);
    overflow: hidden;
}

.post {
    margin-left: 12px;
    vertical-align: middle;
    color: #ec6429;
    font-size: 14px;
    font-family: 'Manrope', Arial, sans-serif;
    line-height: 1.3;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}

.services {
    height: auto;
    background-color: #dbdee7;
    overflow: visible;
    padding-top: 60px;
    padding-bottom: 120px;
}

.pobeda {
    margin-top: -50px;
}

.pobeda_inner {
    border-radius: 10px;
    background-color: var(--main-text);
    box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: 8fr 9fr;
    gap: 5%;
    width: 100%;
    color: rgb(219, 222, 231);
}

.pobeda_inner .left {
    padding-bottom: 30px;
}

.pobeda_inner .left, .pobeda_inner .right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.pobeda_inner .left .years {
    max-width: 300px;
}

.pobeda_inner .left .title {
    font-size: clamp(24px, 4vw, 64px);
}

.pobeda_inner .left .title, .pobeda_inner .left .book {
    margin-left: 30px;
    color: #ffffff;
}

.pobeda_inner .left .book {
    display: flex;
    flex-direction: row;
    gap: 30px;
    flex-wrap: nowrap;
}

.pobeda_inner .left .book .subtitle, .pobeda_inner .right .stand .subtitle {
    font-size: 28px;
    color: #ffffff;
}

.pobeda_inner .left .book .descr {
    font-size: 19px;
    color: #ffffff;
}

.pobeda_inner .left a img {
    width: 153px;
}

.pobeda_inner .right {
    background-image: url("/upload/tilda/bg3.webp");
    background-repeat: no-repeat;
    background-position: right bottom;
}

.pobeda_inner .right .years {
    max-width: 80%;
    position: absolute;
    right: 20%;
    top: 30px;
}

.pobeda_inner .right a img {
    width: 220px;
}

.pobeda_inner .right .stand {
    position: absolute;
    bottom: 30px;
}

.conventions {
    margin: 50px 0;
}

.conventions_inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

.convention {
    text-align: center;
    color: #000000;
}

.convention img {
    margin-bottom: 40px;
    max-width: 100%;
}

.conventions p {
    font-size: 16px;
}

.conventions p.title {
    font-size: clamp(24px, 3vw, 36px);
}

.footer {
    background-color: var(--main-text);
    overflow: hidden;
    color: #ffff;
    font-size: 18px;
    padding: 0 0 60px;
}


/* Бегущая строка */
.marquee-container {
    overflow: visible;
    white-space: nowrap;
    width: 100%;
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    will-change: transform;
}

.marquee-track.paused {
    animation-play-state: paused;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(var(--shift, -50%)); }
}

.marquee-track img {
    height: 360px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform .2s ease;
}

.marquee-track img:hover {
    transform: scale(1.06);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 5;
    text-align: center;
    padding: 20px;
    color: #000000;
}

.lightbox.open {
    display: flex;
}

.lightbox__img {
    max-width: 92vw;
    max-height: 72vh;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
}

.lightbox__caption {
    margin-top: 14px;
    font-size: 18px;
}

.lightbox__meta {
    margin-top: 6px;
    font-size: 14px;
}

.lightbox__close {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: background .2s ease;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;

    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 22px;
    transition: background .2s ease, transform .06s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.nav-btn:active {
    transform: translateY(-50%) scale(0.98);
}

.nav-btn--prev {
    left: 14px;
}

.nav-btn--next {
    right: 14px;
}


.lightbox__caption, .lightbox__meta {
    max-width: 92vw;
    word-wrap: break-word;
}

.journal {
    background-color: #dbdee7;
    padding: 40px 0;
}

.journal .journal_wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.journal .journal_title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.journal .journal_subtitle {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.journal .journal_info {
    margin-bottom: 30px;
}

.journal .journal_info p {
    font-size: 16px;
}

.footer_inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 60px 0;
}

.footer.contact-block {
    padding: 40px 20px;
}

.footer .top-line {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 400;
    flex-wrap: nowrap;
}

.footer .main-title {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.5;
    margin: 30px 0;
    text-transform: uppercase;
    margin-bottom: 150px;
}

.footer .contact-info .subtitle {
    font-size: 20px;
    margin-bottom: 30px;
}

.footer .contact-items {
    display: grid;
    grid-template-columns: 3fr 6fr;
    gap: 15px;
}

.footer .item_col {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.footer .item_col:first-child:after {
    content: "";
    width: 1px;
    height: 100%;
    display: block;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
    right: -7px;
}

.footer .item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 18px;
}

.footer .item .icon {
    font-size: 18px;
    line-height: 1.2;
}

.footer .social {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    font-size: 20px;
    padding-bottom: 30px;
    margin-bottom: 40px;
    position: relative;
}

.footer .social:after {
    content: "";
    width: 100%;
    height: 1px;
    display: block;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
    bottom: 0;
}

.footer .social a img {
    width: 30px;
}

.footer .policy {
    color: #ffffff;
    opacity: 0.5;
    text-decoration: none;
    font-size: 20px;
}

.footer .rights {
    color: #ffffff;
    opacity: 0.5;
    text-decoration: none;
    font-size: 16px;
}

a.more_button {
    font-size: clamp(14px, 1.2vw, 20px);
    color: inherit;
    display: flex;
    justify-content: flex-end;
    font-weight: 600;
    align-items: center;
    gap: 20px;
}

a.more_button:hover, a.more_button:focus {
    text-decoration: none;
    color: inherit;
}

a.more_button::after {
    content: "";
    width: 50px;
    height: 12px;
    display: block;
    background-image: url("/upload/tilda/arrow.svg");
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 1440px) {
    #header {
        height: 80px;
        padding-top: 10px;
    }

    #header .logo img {
        max-width: 154px;
    }

    #header .social a img {
        width: 32px;
        height: 32px;
    }

    #header #search, #header .requests {
        height: 50px;
        font-size: 14px;
    }

    #header #search {
        padding: 5px 5px 5px 45px;
		font-size: 0;
    }

    #header .requests {
        display: flex;
        padding: 5px;
        align-items: center;
    }

    .pobeda_inner .left .book .subtitle, .pobeda_inner .right .stand .subtitle {
        font-size: 20px;
    }

    .pobeda_inner .left .book .descr {
        font-size: 15px;
    }

    .pobeda_inner .left a img {
        height: 140px;
    }

    .pobeda_inner .right a img {
        width: 131px;
    }
}

@media (max-width: 1200px) {
    #header .social {
        display: none;
    }

    #header .requests {
        text-align: center;
    }
}


@media (max-width: 980px) {

    #header {
        height: 50px;
        padding-top: 0;
    }

    #header .requests, #header #search {
        font-size: 12px;
        height: 15px;
    }

    #header .requests {
        padding: 12px 8px;
        text-align: center;
    }

    #header #search {
        padding: 12px 12px 12px 34px;
    }

    #header #search:before {
        width: 17px;
        height: 17px;
    }

    #header .logo img {
        height: 40px;
    }

    .banners_wrapper {
        display: none;
    }


    .news_header, .posts_header {
        margin: 40px 0 40px 10vw;
    }

    .footer_inner {
        grid-template-columns: 1fr;
    }

    .map iframe {
        min-height: 500px;
    }

    .banner_name, .banner_preview {
        left: 40px;
    }

    .banner_preview {
        top: 330px;
    }


    .conventions_inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .menu__list {
        display: none;
    }

    .pobeda_inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pobeda_inner .right .years {
        max-width: 250px;
        top: -500px;
    }

    .pobeda_inner .left .title {
        margin-top: 50px;
    }

    .pobeda_inner .left .book {
        flex-direction: column;
    }

    .pobeda_inner .right .stand {
        position: relative;
        margin-left: 30px;
    }

    .pobeda_inner .right a img {
        width: 250px;
    }

    .pobeda_inner .right {
        background-size: 43%;
    }
}

@media (max-width: 600px) {
    .wrapper {
        padding: 0 10px;
    }

    #header .social {
        display: none;
    }

    .marquee-track img {
        height: 150px;
    }

    .journal .journal_wrapper {
        grid-template-columns: 1fr;
    }

    .footer .top-line {
        flex-direction: column;
        font-size: 12px;
        gap: 10px;
    }

    .footer .contact-items {
        grid-template-columns: 1fr;
    }

    .footer .item_col:first-child:after, .footer .social:after {
        display: none;
    }

    .footer .main-title {
        font-size: 14px;
        margin-bottom: 40px;
    }

    .footer .contact-info .subtitle {
        font-size: 16px;
    }

    .footer .item {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #header #search {
        display: none;
    }
}