:root {
    --blue: #41579e;
    /*    --blue: #0072bc;*/
    /*  --blue: #CFA968;*/
    --blue-hover: #4d66b7;
    /*--biege: #CFA968;
    --biege-hover: #d8ba85;*/
}

iframe {
    border: 0;
}

body .main p a {
    text-decoration: underline !important;
}

p {
    color: #555;
}

p,
dl,
ol,
ul {
    font-size: 1.1em;
}

.blog-single-post ul {
    display: flex;
    flex-direction: column;
}

.lead {
    font-size: 1.2rem;
}

footer * {
    font-size: 1em;
}

.post-content img {
    max-width: 100%;
    height: auto;
}

.post-content a {
    text-decoration: underline;
}

.youtube-wrapper {
    max-width: 640px;
    /*margin: 60px auto;
  padding: 0 20px;*/
}

.youtube {
    background-color: #000;
    margin-bottom: 30px;
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    cursor: pointer;
}

.youtube img {
    width: 100%;
    top: -16.82%;
    left: 0;
    opacity: 0.7;
}

.youtube .play-button {
    width: 90px;
    height: 60px;
    background-color: #333;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    z-index: 1;
    opacity: 0.8;
    border-radius: 6px;
}

.youtube .play-button:before {
    content: "";
    border-style: solid;
    border-width: 15px 0 15px 26.0px;
    border-color: transparent transparent transparent #fff;
}

.youtube img,
.youtube .play-button {
    cursor: pointer;
}

.youtube img,
.youtube iframe,
.youtube .play-button,
.youtube .play-button:before {
    position: absolute;
}

.youtube .play-button,
.youtube .play-button:before {
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
}

.youtube iframe {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

aside.docs ul {
    padding-left: 0;
    padding-right: 0;
    list-style: none;
}

aside.docs ul>li {
    border-bottom: 1px solid #eaeaea;
    margin-top: 9px;
    margin-bottom: 0;
}

aside.docs ul>li>a {
    font-size: 1em;
    font-weight: 600;
    line-height: 18px;
    display: block;
    margin: 12px 0 10px 0;
    letter-spacing: -.05em;
    text-transform: uppercase;
    color: #212529;
}

#footer a,
#footer p {
    color: #aaa !important;
}

#footer a:hover {
    color: #fff !important;
}

.owl-carousel.show-nav-title .owl-nav button[class*="owl-"] {
    color: var(--blue);
}

.list.list-icons.list-icons-style-3 li>[class*="fa-"]:first-child {
    background-color: var(--blue);
}

html .text-color-primary,
html .text-primary {
    color: var(--blue) !important;
}

html .bg-color-primary,
html .bg-primary {
    background-color: var(--blue) !important;
}

html .divider.divider-primary.divider-small hr {
    background: var(--blue);
}

.fa-calendar-alt {
    color: var(--blue);
}

a {
    color: var(--blue);
}

a:hover {
    color: var(--blue-hover);
}

html .btn-primary {
    background-color: var(--blue);
    border-color: var(--blue) var(--blue) var(--blue);
    color: #FFF;
}

html .btn-primary:hover,
html .btn-primary.hover {
    background-color: var(--blue-hover);
    border-color: var(--blue-hover) var(--blue-hover) var(--blue-hover);
    color: #FFF;
}

.footer_sites p {
    margin: 0;
    line-height: 20px;
    padding: 0;
}

/* Slider */

.slider .dione .tp-bullet.selected,
.slider .dione .tp-bullet:hover {
    background: #FFF;
}

/* Custom Team Carousel */

.owl-team-custom.owl-carousel.show-nav-title .owl-nav {
    margin-top: 140px;
    right: auto;
    top: 0;
    width: 100%;
    left: 0;
}

.owl-team-custom.owl-carousel.show-nav-title .owl-nav button.owl-prev {
    left: -41px;
    right: auto;
}

.owl-team-custom.owl-carousel.show-nav-title .owl-nav button.owl-next {
    right: -32px;
    left: auto;
}

.owl-team-custom.owl-carousel.show-nav-title img {
    -webkit-transform-style: unset;
    transform-style: unset;
}

/* Features Box */

.feature-box.feature-box-style-2 .feature-box-icon {
    height: 0;
    top: 6px;
}

.gallery__item {
    float: left;
    display: block;
}

#colorbox,
#cboxOverlay,
#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
}

#cboxWrapper {
    max-width: none;
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}

#cboxMiddleLeft,
#cboxBottomLeft {
    clear: left;
}

#cboxContent {
    position: relative;
}

#cboxLoadedContent {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#cboxTitle {
    margin: 0;
}

#cboxLoadingOverlay,
#cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
    cursor: pointer;
}

.cboxPhoto {
    float: left;
    margin: auto;
    border: 0;
    display: block;
    max-width: none;
    -ms-interpolation-mode: bicubic;
}

.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
}

#colorbox,
#cboxContent,
#cboxLoadedContent {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

#cboxOverlay {
    background: #fff;
}

#colorbox {
    outline: 0;
}

#cboxContent {
    margin-top: 32px;
    overflow: visible;
    background: #000;
}

.cboxIframe {
    background: #fff;
}

#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}

#cboxLoadedContent {
    background: #000;
    padding: 1px;
}

#cboxLoadingGraphic {
    background: url(images/loading.gif) no-repeat center center;
}

#cboxLoadingOverlay {
    background: #000;
}

#cboxTitle {
    position: absolute;
    top: -22px;
    left: 0;
    color: #000;
}

#cboxCurrent {
    position: absolute;
    top: -22px;
    right: 205px;
    text-indent: -9999px;
}

#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose {
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    text-indent: -9999px;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -20px;
    background: url(images/controls.png) no-repeat 0 0;
}

#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active,
#cboxClose:active {
    outline: 0;
}

#cboxPrevious {
    background-position: 0 0;
    right: 44px;
}

#cboxPrevious:hover {
    background-position: 0 -25px;
}

#cboxNext {
    background-position: -25px 0;
    right: 22px;
}

#cboxNext:hover {
    background-position: -25px -25px;
}

#cboxClose {
    background-position: -50px 0;
    right: 0;
}

#cboxClose:hover {
    background-position: -50px -25px;
}

.cboxSlideshow_on #cboxPrevious,
.cboxSlideshow_off #cboxPrevious {
    right: 66px;
}

.cboxSlideshow_on #cboxSlideshow {
    background-position: -75px -25px;
    right: 44px;
}

.cboxSlideshow_on #cboxSlideshow:hover {
    background-position: -100px -25px;
}

.cboxSlideshow_off #cboxSlideshow {
    background-position: -100px 0;
    right: 44px;
}

.cboxSlideshow_off #cboxSlideshow:hover {
    background-position: -75px -25px;
}

/* Add here all your CSS customizations */

article.post-large .post-image,
article.post-large .post-date {
    margin-left: -60px;
}

article.post .post-date {
    float: left;
    margin-right: 10px;
    text-align: center;
}

article.post .post-date .day {
    background: #f7f7f7;
    border-radius: 2px 2px 0 0;
    color: #CCC;
    display: block;
    font-size: 18px;
    font-weight: 900;
    padding: 10px;
}

article.post .post-date .month {
    display: block;
    background: #CCC;
    border-radius: 0 0 2px 2px;
    color: #FFF;
    font-size: 0.8em;
    line-height: 1.8;
    padding: 1px 10px;
    text-transform: uppercase;
}

.recent-posts .date .month,
article.post .post-date .month {
    background-color: var(--blue);
}

.recent-posts .date .day,
article.post .post-date .day {
    color: var(--blue);
}

h2 {
    line-height: 1.3em;
}

h4 {
    font-weight: 500;
}

.feature-box.feature-box-style-2 .feature-box-icon [class*="fa-"] {
    color: #0072BC;
}

.news__item {
    display: flex;
    flex: 1 0 auto;
    height: 100%;
    transition: all 0.3s ease;
}

.news__item:hover {
    box-shadow: 0 4px 18px 9px rgb(0 0 0 / 9%), inset 0 0px 0 0 #2d3238;
}

.news__item-img {
    min-width: 195px;
    transition: all 0.2s ease-in-out;
    width: 195px;
}

.smi-block .news__item-img {
    min-width: 195px;
    transition: all 0.2s ease-in-out;
    width: 100%;
}

.long__item:hover .news__item-img {
    /*transform: translateX(-10px) scale(1.1);*/
}

.news__item-body {
    /* padding: 10px 15px 0 15px; */
    display: flex;
    flex-direction: column;
}

.long__item {
    padding: 0;
    transition: all 0.2s ease;
}

.long__item:hover .item-more {
    transform: translateX(0px);
    transition: all 0.2s ease;
    width: auto;
    opacity: 1;
}

.item-more-txt {
    opacity: 0;
    width: 0px;
    /*display: none;*/
    transition: all 0.2s ease-in-out;
}

/*
.long__item:hover .item-more-txt {
  opacity: 1;
  display: block;
  width: 100%;
}*/

.item-wrapper {
    padding: 15px 20px 0 20px;
    flex: 1 0 auto;
}

.item-heading {
    font-size: 1.2em;
    font-weight: 500;
    line-height: 1.4em;
    letter-spacing: -.05em;
    margin-bottom: 10px;
}

.long__item:hover .item-heading {
    text-decoration: underline;
}

.long__item .item-heading {
    font-size: 1.7em;
    line-height: 1.3em;
    margin-bottom: 20px;
    font-weight: 400;
}

.item-heading a {
    color: #212529;
}

.item-date {
    font-size: 0.9em;
    margin-bottom: 10px;
}

.long__item .item-date {
    margin-bottom: 15px;
}

.item-text {
    line-height: 1.6em;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.long__item .item-text {
    font-size: 1em;
}

.item-more {
    background-color: var(--blue);
    color: #fff;
    text-align: center;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    display: flex;
    max-height: 38px;
    transition: all 0.2s ease;
}

.long__item .item-more {
    background-color: var(--blue);
    color: #fff;
    transform: translateX(30px);
    text-align: center;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    display: flex;
    /*  display: none;*/
    max-height: 100%;
    opacity: 0;
}

.item-more a {
    color: #fff;
    padding: 6px 0px;
}

.long__item .item-more a {
    color: #fff;
    padding: 6px 0px;
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    width: 100%;
    justify-content: center;
    /*padding: 0px 20px;*/
}

.long__item .item-more a:hover {
    text-decoration: none;
}

.news__item-img img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

p.pf {
    margin-top: 25px;
}

.partners__footer {
    font-size: 16px;
    font-weight: 500;
    margin-right: 10px;
}

.pf img {
    margin: 0px 5px;
    width: 40px;
    height: 40px;
}

ul.nav li:hover {
    transform: scale(1.05);
    z-index: 2;
    /* border: 1px solid #00000020 !important; */
}

ul.nav li {
    transition: all 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.sticky-header-active #header ul>li>a {
    padding-top: 8px;
}

li.social-icons-tiktok:hover a {
    background: #FE2C55;
}

.social-icons li:hover.social-icons-telegram a {
    background: #2BA2DE;
}

.post-content img:not(.float-left) {
    margin: 20px;
}

.post-content .youtube img {
    margin: 0px !important;
}

.cboxElement img {
    margin: 0 !important;
}

.share_this {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 40px;
    font-size: 16px;
}

.ya-share2 {
    margin-left: 10px;
}

.ya-share2 ul {
    display: flex;
    flex-direction: row;
}

.row.logos {
    display: flex;
    align-items: center;
}

.rc_flex_press {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

table.mpp p {
    margin: 0;
    padding: 0;
}

table.mpp td {
    vertical-align: middle;
}

.tdtour span {
    margin-left: 14px;
    color: #fff;
}

.social-icons li:hover.social-icons-dzen a {
    background: #ccc;
}


.center-slider h4,
.center-slider_vozv h4 {
    font-size: 1.2em;
    text-align: center;
    line-height: 20px;
}

.slick-prev,
.slick-next {
    width: 56px;
    height: 130px;
    background: #00000050;
    z-index: 9999;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
    color: transparent;
    outline: none;
    background: #00000050;
}

.slick-prev {
    left: -80px;
}

.slick-next {
    right: -80px;
}

.mj-item {
    display: flex;
    margin-bottom: 40px;
}

.mj-img img {
    max-width: 100%;
    height: auto;
    margin: 0 !important;
}

.mj-img {
    flex: 1 0 30%;

}

.mj-txt {
    flex: 70%;
    padding: 0px 0px 0px 50px;
}

.mj-txt p:first-child {
    font-size: 1.8em;
    font-weight: 400;
    line-height: 1.2em;
}

.gorod {
    font-size: 0.8em;
    line-height: 1.6em;
    align-items: center;
    display: flex;
    flex: 0 1;
    margin-bottom: 10px;
    color: #000;
    font-weight: 600;
    background-color: #faebd7;
    padding: 5px 10px;
}

#culture20 h2>a {
    color: #212529;
    font-weight: 500;
    text-decoration: underline;
}

#culture20 h2>a:hover {
    text-decoration: none;
}

#culture20 img.l-zoom {

    transition: 0.3s all ease;
}

#culture20 img.l-zoom:hover {
    transform: scale(1.02);
}

/* Стили для постраничной навигации */
#news_pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

#news_pagination .col {
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: center;
    margin: 0;
}

#news_pagination .col li {
    margin: 0 5px;
}

#news_pagination .col li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f1f1f1;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#news_pagination .col li a:hover,
#news_pagination .col li a.active {
    background-color: var(--blue);
    color: #fff;
}

#news_pagination .col li a.active {
    cursor: default;
}

#news_pagination .col li.control a {
    font-size: 14px;
    width: auto;
    padding: 0 15px;
}

#news_pagination .col li.control a:hover {
    background-color: var(--blue);
}

@media (min-width: 768px) {
    .long__item .news__item-img {
        display: none;
    }

    .long__item .item-wrapper {
        width: 630px;
    }
}

@media (min-width: 992px) {
    #header .header-nav-main nav>ul>li>a {
        font-weight: 600;
    }

    #header .header-nav.header-nav-stripe nav>ul>li>a {
        height: auto;
    }

    #header .header-nav.header-nav-force-light-text .header-nav-main nav>ul>li>a {
        text-shadow: 1px 1px 2px #00000060;
        /*transition: all 0.1s cubic-bezier(0, 0, 0.2, 1);*/
    }

    #header .header-nav.header-nav-force-light-text .header-nav-main nav>ul>li:hover>a {
        text-shadow: none;
        box-shadow: 0px 0px 5px #00000050;
        /*transform: translateY(2px);*/
    }

    .sticky-header-active #header .header-nav.header-nav-force-light-text .header-nav-main nav>ul>li>a {
        transition: all 0.1s cubic-bezier(0, 0, 0.2, 1);
    }

    .sticky-header-active #header .header-nav.header-nav-force-light-text .header-nav-main nav>ul>li:hover>a {
        transform: translateY(8px);
        box-shadow: 0px 0px 5px #00000050;
    }

    #header .header-nav.header-nav-stripe nav>ul>li>a {
        padding: 12px;
    }

    .long__item .item-wrapper {
        width: 650px;
    }

    .long__item .news__item-img {
        display: block;
        max-width: 195px;
    }

    html #header .header-nav:not(.header-nav-line):not(.header-nav-links) .header-nav-main nav>ul:not(:hover)>li.dropdown-full-color.dropdown-light>a.active {
        color: #FFF !important;
        background-color: var(--blue) !important;
    }
}

@media (min-width: 1200px) {
    .long__item .item-wrapper {
        width: 880px;
    }

    .long__item .news__item-img {
        display: block;
        max-width: 195px;
    }
}

@media (max-width: 991px) {
    .tp-bullets {
        display: none;
    }

    #header .header-nav-main:not(.header-nav-main-mobile-dark) nav>ul>li>a.active {
        background: var(--blue);
    }

    #header .header-nav-main:not(.header-nav-main-mobile-dark) nav>ul>li>a {
        color: var(--blue);
    }

    .item-text {
        line-height: 1.6em;
        margin-bottom: 15px;
        font-size: 1rem;
    }

    .item-heading {
        font-size: 1.2rem;
    }

    .item-date {
        font-size: 1em;
    }
}

@media (max-width: 767px) {
    .long__item .item-wrapper {
        width: 100%;
        /*padding: 20px 20px 10px 20px;*/
        padding: 0;
    }

    .long__item .item-wrapper .item-heading {
        background-color: var(--blue);
        padding: 20px 20px;
        margin-bottom: 10px;
    }

    .long__item .item-wrapper .item-heading a {
        color: #fff;
    }

    .long__item .item-wrapper .item-date {
        padding: 0px 20px;
    }

    .long__item .item-wrapper .item-text {
        padding: 0px 20px 10px 20px;
    }

    .long__item .item-more {
        display: none;
    }

    .long__item .news__item-img {
        display: none;
    }

    .long__item .news__item {
        flex-wrap: wrap;
    }

    .long__item .item-more a {
        flex-direction: row;
        padding: 10px 0px;
    }

    .long__item .item-more-txt {
        width: auto;
        opacity: 1;
    }

    p.ytvideo iframe {
        max-width: 100%;
        /* height: auto; */
    }

    p.ytvideo {
        display: block;
        max-width: 100%;
    }
}

@media (max-width: 440px) {
    .news__item-img {
        display: none;
    }

    .mj-item {
        flex-direction: column;
    }

    .mj-img {

        margin-bottom: 20px;
    }

    .mj-txt {

        padding: inherit;
    }

    p,
    dl,
    ol,
    ul {
        font-size: 1rem;
    }

    .pf img {
        width: 30px;
        height: 30px;
    }

    .long__item .item-heading {
        font-size: 1.4em;
    }

    h1 {
        font-size: 2.2em;
        line-height: 1.2em;
        font-weight: 400;
    }

    .post-content p.lead {
        display: inline-block;
        margin-top: 15px;
    }
}




#n1854 a {
    background: linear-gradient(160deg, rgba(105, 114, 235, 1) 0%, rgba(255, 0, 244, 1) 100%) !important;
}

#n1854:hover a,
#n1854:hover>a {
    color: white !important;
}

/*
#n1865 a.active {
    background: linear-gradient(160deg, #FFA275 0%, #fc743f 100%) !important;
}
#n1865:hover a, #n1865:hover > a{
    color: white !important;
}
*/
.dione .tp-bullet-title {
    display: none;
}





.book-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /*            padding: 20px;*/
    margin-top: 40px;
}

.book-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    padding: 0px;
}

.book-row img:not(.float-left) {
    margin: 0px 20px 20px 20px;
}

.book-image {
    flex: 0 0 200px;
}

.book-image img {
    width: 100%;
    border-radius: 8px;
}

.book-info {
    flex: 1;
    padding-left: 40px;
}

.book-info h2 {
    margin-top: 0;
}

@media (max-width: 768px) {
    .book-row {
        flex-direction: column;
        align-items: center;
    }

    .book-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 200px;
        justify-content: center;
        display: flex;
    }

    .book-info {
        text-align: left;
        padding-left: 0px;
    }
}


@media (max-width: 991px) {

    /* таблица без class/id и РОВНО с двумя колонками */
    .post-content table:not([class]):not([id]):has(tr > td: nth-child(2)):not(:has(tr > td:nth-child(3))) {
        display: block;
        width: 100%;
    }

    .post-content table:not([class]):not([id]):has(tr > td:nth-child(2)):not(:has(tr > td:nth-child(3))) tbody,
    .post-content table:not([class]):not([id]):has(tr > td:nth-child(2)):not(:has(tr > td:nth-child(3))) tr {
        display: block;
        width: 100%;
    }

    .post-content table:not([class]):not([id]):has(tr > td:nth-child(2)):not(:has(tr > td:nth-child(3))) td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
        padding: 15px 10px;
    }

    .post-content table:not([class]):not([id]):has(tr > td:nth-child(2)):not(:has(tr > td:nth-child(3))) img {
        max-width: 100%;
        height: auto;
    }

    .post-content table:not([class]):not([id]):has(tr > td:nth-child(2)):not(:has(tr > td:nth-child(3))) td+td {
        margin-top: 10px;
    }
}