.theme-light {
    --color-background: #ffffff;
    --color-background-secondary: #fbfbfb;
    --color-background-light: #fbfbfb;
    --color-deita-blue: #0161D9;
    --font-color: #000000;
    --font-color-muted: #3c3c3c;
    --font-color-dark: #181818;
    --box-shadow: rgba(128,128,128,0.4);
    --article-preload: rgba(33, 150, 243, 0.3);
}

.theme-dark {
    --color-background: #000000;
    --color-background-secondary: #1e1e1e;
    --color-background-light: #1e1e1e;
    --color-deita-blue: #202223;
    --font-color: #ffffff;
    --font-color-muted: #d6d6d6;
    --font-color-dark: #bbbbbb;
    --box-shadow: rgba(27, 27, 27, 0.4);
    --article-preload: rgba(239, 239, 239, 0.3);
}

/* ---------------------------------------------------------------------------------------------------------------------
            MAIN
--------------------------------------------------------------------------------------------------------------------- */
body,
html {
    /*height: 100%;*/
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    color: var(--font-color);
    background-color: var(--color-background);
    transition: all 400ms;
}

a,
a:link,
a:visited,
a:active,
a:hover {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

li {
    list-style-type: none; /* Убираем маркеры */
}

ul {
    margin-left: 0; /* Отступ слева в браузере IE и Opera */
    padding-left: 0; /* Отступ слева в браузере Firefox, Safari, Chrome */
}

.clear-link {
    color: inherit;
}

h1 {
    font-size: 22px;
}

blockquote {
    padding: 30px 40px 15px 40px;
    position: relative;
    background: var(--color-background-secondary);
    border-radius: 15px;
    margin: 30px auto;
}
blockquote p {
    font-style: italic;
}

blockquote:before {
    position: absolute;
    font-family: 'FontAwesome';
    top: 0;
    content:"\f10d";
    font-size: 72px;
    color: var(--font-color);
    opacity: 0.05;
}

.bg-deita--red {
    background: #fc2323 !important;
}

.bg-deita--red:hover {
    background: #d52424;
}

.btn-deita--red {
    background: #fc2323;
    color: white;
    border-radius: 5px;
    -webkit-transition: all 400ms;
    -o-transition: all 400ms;
    transition: all 400ms;
}

.btn-deita--red:hover {
    background: #d52424;
}

.text-muted {
    color: var(--font-color-muted) !important;
}

.color_dark {
    color: var(--font-color-dark) !important;
}

.color_text_theme {
    color: var(--font-color) !important;
}

.bg-light {
    background-color: var(--color-background-light) !important;
}

.nav-wrapper {
    background-color: var(--color-deita-blue) !important;
}

.hc-offcanvas-nav ul {
    background-color: var(--color-deita-blue) !important;
}

.hc-offcanvas-nav li:not(.custom-content) a {
    background-color: var(--color-deita-blue) !important;
}

.hc-offcanvas-nav .nav-item {
    border-bottom: 1px solid var(--color-deita-blue);
}

.hc-offcanvas-nav li:not(.custom-content) a {
    border-bottom: 1px solid var(--color-deita-blue);
}

.hc-offcanvas-nav .nav-container, .hc-offcanvas-nav .nav-wrapper, .hc-offcanvas-nav ul {
    background-color: var(--color-deita-blue) !important;
}

.hc-offcanvas-nav li.nav-close a, .hc-offcanvas-nav li.nav-back a {
    background-color: var(--color-deita-blue) !important;
    border-top: 1px solid var(--color-deita-blue);
    border-bottom: 1px solid var(--color-deita-blue);
}

.form-control:focus {
    outline: 0 !important;
    border-color: initial;
    box-shadow: none;
}

/* ---------------------------------------------------------------------------------------------------------------------
            IMAGE FIT
--------------------------------------------------------------------------------------------------------------------- */
.image-fit img {
    width: 100% !important;
    height: 100% !important;

    -webkit-object-fit: cover !important;
    -moz-object-fit: cover !important;
    -ms-object-fit: cover !important;
    -o-object-fit: cover !important;
    object-fit: cover !important;

    font-family: "object-fit: cover" !important;
}

/* ---------------------------------------------------------------------------------------------------------------------
            COLORS & BACKGROUNDS
--------------------------------------------------------------------------------------------------------------------- */
.color_darkgray {
    color: #838383 !important;
}

.bg_blue {
    background: var(--color-deita-blue);
}

.bg_orange {
    background: #fd7e14;
}

.color_green {
    color: green;
}

.color_darkred {
    color: darkred;
}

/* ---------------------------------------------------------------------------------------------------------------------
            BUTTONS
--------------------------------------------------------------------------------------------------------------------- */
.btn-telegram {
    background: #0088cc !important;
    text-decoration: none !important;
    color: white !important;
}

.btn-telegram:hover {
    background: #006aa0 !important;
}

/* ---------------------------------------------------------------------------------------------------------------------
            CONTENT
--------------------------------------------------------------------------------------------------------------------- */
.content_wrapper {
    /*margin-top: 65px;*/
    padding: 15px 0;
}

.padding_wrapper {
    padding: 0 15px;
}

/* ---------------------------------------------------------------------------------------------------------------------
            COOKIES NOTICE
--------------------------------------------------------------------------------------------------------------------- */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-deita-blue);
    color: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    font-family: 'Roboto', 'Arial', sans-serif;
}

.cookie-notice__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.cookie-notice__text {
    flex: 1;
}

.cookie-notice__text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #eeeeee;
}

.cookie-notice__actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    width: 100%;
    justify-content: center;
    flex-direction: column;
}

.cookie-notice__button {
    width: 100%;
    order: 1;
    background: #f3f3f3;
    color: #232323;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-notice__button:hover {
    background: #cc0000;
    transform: translateY(-1px);
}

.cookie-notice__link {
    color: #eeeeee;
    text-decoration: underline !important;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-notice__link:hover {
    color: #d7d7d7;
}

/* ---------------------------------------------------------------------------------------------------------------------
            HEADER
--------------------------------------------------------------------------------------------------------------------- */
.header {
    width: 100%;
    height: 65px;
    background: var(--color-deita-blue);
    -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9997;
    transition: all 400ms;
}

.projects_banner_header {
    position: relative;
    width: 100%;
    margin-top: 65px;
}

.projects_banner_article {
    position: relative;
    width: 100%;
}

/* ---------------------------------------------------------------------------------------------------------------------
            BANNERS
--------------------------------------------------------------------------------------------------------------------- */
.index_banner_full {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
    cursor: pointer;
}

.index_banner_slider {
    position: relative;
    width: 100%;
    height: 250px;
    cursor: pointer;
}

.index_banner_news {
    position: relative;
    margin-top: 10px;
    width: 100%;
    cursor: pointer;
}

.index_banner_news_line {
    position: relative;
    width: 100%;
    height: 90px;
    cursor: pointer;
}

.marquee {
    background: var(--color-deita-blue);
    color: white;
    min-width: calc(100% + 60px);
    padding: 10px;
    margin: 0 -30px 30px -30px;
    height: 45px;
    white-space: nowrap;
    overflow: hidden;
    transition: all 400ms;
}

.marquee span a {
    text-decoration: none;
    color: white;
}

.horizontal_block {
    margin: 25px -15px;
    padding: 15px 0;
    background-color: #1e1e1e;
}

.horizontal_block_article {
    margin: 25px 0;
    padding: 15px 0;
    background-color: #1e1e1e;
}

/* ---------------------------------------------------------------------------------------------------------------------
            INDEX CAROUSEL
--------------------------------------------------------------------------------------------------------------------- */

.index-carousel {
    width: 100%;
    height: 250px;
    position: relative;
}

.index-carousel_item {
    height: 250px;
}

.index-carousel_item_info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 30px;
    height: 150px;
    color: white;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0,0,0,1)), color-stop(30%, rgba(0,0,0,1)), to(rgba(0,0,0,0)));
    background: -o-linear-gradient(bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    z-index: 999;
}

.index-carousel_item_info--title {
    font-weight: 500;
    font-size: 18px;
}

/* ---------------------------------------------------------------------------------------------------------------------
            AUTHOR COLUMN CAROUSEL
--------------------------------------------------------------------------------------------------------------------- */

.author_column-carousel-index {
    width: 100%;
    height: 250px;
    position: relative;
}

.author_column-carousel-index_item {
    height: 250px;
}

.author_column-carousel-index_item_info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 30px;
    height: 150px;
    color: var(--font-color);
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0,0,0,1)), color-stop(30%, rgba(0,0,0,1)), to(rgba(0,0,0,0)));
    background: -o-linear-gradient(bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    z-index: 999;
}

.author_column-carousel-index_item_info--title {
    padding-bottom: 20px;
    font-weight: 500;
    font-size: 18px;
}

/* ---------------------------------------------------------------------------------------------------------------------
            AUTHORS COLUMN CAROUSEL
--------------------------------------------------------------------------------------------------------------------- */

.author_column-carousel_title {
    text-align: center;
    font-size: 16px;
    white-space: nowrap;
    font-weight: 500;
    padding: 10px 0;
    margin: 0 15px 15px 15px;
    border-bottom: 2px solid #fc2323;
    color: var(--font-color);
}

.author_column-carousel_title a {
    color: var(--font-color);
}

.author_column-carousel {
    width: 100%;
    position: relative;
    z-index: 999;
}

.author_column-carousel_item_info--image {
    height: 230px;
}

.author_column-carousel_item_info {
    position: relative;
    margin-top: 10px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: var(--font-color);
}

.author_column-carousel_item_info--title {
    font-weight: 700;
    font-size: 14px;
    color: var(--font-color);
    margin-bottom: 15px;
}

/* ---------------------------------------------------------------------------------------------------------------------
            VERTICAL NEWS BLOCK
--------------------------------------------------------------------------------------------------------------------- */
.vertical_news_block {
    padding: 0 10px;
    width: 100%;
    position: relative;
    margin-bottom: 15px;
}

.vertical_news_block_item {
    width: 100%;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    -webkit-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    transition: all 400ms ease;
}

.vertical_news_block_item:hover {
    -webkit-box-shadow: 0 8px 6px -6px black;
    box-shadow: 0 8px 6px -6px black;
}

.vertical_news_block_item__image {
    width: 120px;
    height: 90px;
    position: relative;
    z-index: 9;
}

.vertical_news_block_item__content {
    height: 90px;
    padding: 5px 0;
    position: relative;
    background-color: var(--color-background-secondary);
    transition: all 400ms;
}

.vertical_news_block_item__content--title {
    margin-left: 15px;
    margin-right: 15px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    height: 60px;
    overflow-y: hidden;
    color: var(--font-color);
    position: relative;
}

.vertical_news_block_item__content--date {
    margin-left: 15px;
    font-size: 12px;
    font-weight: 400;
    color: var(--font-color);
    height: 25px;
    position: relative;
}

/* ---------------------------------------------------------------------------------------------------------------------
            ARTICLE CARD
--------------------------------------------------------------------------------------------------------------------- */
.article_block {
    width: 100%;
    padding: 10px 0;
    color: var(--font-color);
    -webkit-box-shadow: 0 0 12px var(--box-shadow);
    box-shadow: 0 0 12px var(--box-shadow);
}

.article_block_text a {
    color: #0161D9;
    text-decoration: underline;
}

.article_image {
    position: relative;
    max-height: 450px;
}

.article_image img {
    max-height: 450px;
}

.article_footer {
    color: var(--font-color);
    background-color: var(--color-background-secondary);
    width: calc(100% + 30px);
    margin-left: -15px;
    transition: all 400ms;
}

.article_card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 330px;
    margin: 10px auto;
    -webkit-box-shadow: 0 0 7px var(--box-shadow);
    box-shadow: 0 0 7px var(--box-shadow);
    background-color: var(--color-background-secondary);
    -webkit-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    transition: all 400ms ease;
    z-index: 1;
}

.article_card:hover {
    -webkit-box-shadow: 0 8px 6px -6px black;
    box-shadow: 0 8px 6px -6px black;
}

.article_card_img {
    position: relative;
    height: 200px;
}

.article_card_content {
    padding: 10px 10px 0 10px;
    max-height: 85px;
    overflow-y: hidden;
    font-weight: 500;
    font-size: 16px;
    color: var(--font-color);
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

.article_card_footer {
    padding: 10px;
    font-size: 14px;
    color: #8294a2;
}

.article_card_custom {
    position: relative;
    height: 235px;
    margin: 10px auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-shadow: 0 0 7px var(--box-shadow);
    box-shadow: 0 0 7px var(--box-shadow);
    -webkit-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    transition: all 400ms ease;
    z-index: 1;
    overflow: hidden;
}

.article_card_custom:hover {
    -webkit-box-shadow: 0 8px 6px -6px black;
    box-shadow: 0 8px 6px -6px black;
}

.article_card_custom_overlay {
    width: 100%;
    height: 235px;
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 50px;
    background: #2d2d2d; /* Для старых браузров */
    background: -webkit-gradient(linear, left bottom, left top, from(#000000), to(rgba(0, 0, 0, 0)));
    background: -o-linear-gradient(bottom, #000000, rgba(0, 0, 0, 0));
    background: linear-gradient(to top, #000000, rgba(0, 0, 0, 0));
}

.article_card_custom_categories {
    position: relative;
    height: 35px;
    padding: 5px 10px;
    color: white;
    z-index: 999;
}

.article_card_custom_categories-item {
    padding: 5px;
    background: #fc2323;
    border-radius: 5px;
    color: white;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 5px;
    z-index: 999;
    text-shadow: 0 0 1px #000000;
}

.article_card_custom_title {
    position: relative;
    height: 110px;
    overflow-y: hidden;
    padding: 5px 15px;
    font-size: 16px;
    color: white;
    z-index: 999;
}

.article_card_custom_footer {
    position: relative;
    padding: 5px 15px;
    height: 35px;
    font-size: 14px;
    color: #c1c1c1;
    z-index: 999;
}

#index_news_scroll {
    padding: 0 15px;
}

/* ---------------------------------------------------------------------------------------------------------------------
            CATEGORIES
--------------------------------------------------------------------------------------------------------------------- */

.article_card_categories {
    position: absolute;
    line-height: 35px;
    bottom: 0;
    left: 0;
    padding: 5px;
    color: white;
    z-index: 999;
}

.article_slider_categories {
    line-height: 35px;
    margin-left: -10px;
    padding: 5px;
    color: white;
    z-index: 999;
}

.article_card_categories-item {
    padding: 5px;
    background: #fc2323;
    border-radius: 5px;
    color: white;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 5px;
    z-index: 999;
    text-shadow: 0 0 1px #000000;
}

.article_card_categories-item a {
    color: white !important;
    text-decoration: none !important;
}

/* ---------------------------------------------------------------------------------------------------------------------
            FOOTER
--------------------------------------------------------------------------------------------------------------------- */
.footer {
    background-color: var(--color-deita-blue);
    color: white;
    font-size: 14px;
    transition: all 400ms;
}

.footer_links {
    list-style: none;
    margin-left: 20px;
    font-size: 18px;
    line-height: 32px;
}

.footer_links li a {
    color: white;
}

.footer_links li a:hover {
    color: white;
}

.footer_socials_title {
    width: 100%;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.footer_socials {
    width: 140px;
    font-size: 24px;
    margin: 0 auto;
    text-align: center;
}

.footer_socials a {
    color: white;
}

.footer_socials_item {
    padding: 10px 15px;
}

.footer_age {
    font-size: 24px;
    font-weight: 500;
    color: #d3d3d3;
    padding: 12px 10px 16px 10px;
    border: 2px #d3d3d3 solid;
    border-radius: 40px;
}

.article_left_menu {
    padding: 15px 0;
}

.article_right_menu {
    padding: 15px 0;
}

.article_content {
    padding: 15px 0;
}

.article-columns-carousel {
    margin-top: -15px;
    width: 100%;
    height: auto;
    position: relative;
}

.newest_article_left_block_title {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 0;
    margin: 0 15px;
    border-bottom: 2px solid #fc2323;
    color: var(--font-color);
}

.newest_article_left_block_item {
    font-size: 14px;
    padding: 10px 15px;
    margin: 10px 0;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    border-bottom: 1px #ffffff solid;
}

.newest_article_left_block_item a {
    color: var(--font-color);
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.newest_article_left_block_item:hover {
    background: var(--color-deita-blue);
}

.newest_article_left_block_item a:hover {
    color: var(--font-color) !important;
}

.image_author_block {
    padding: 5px 10px;
    position: absolute;
    bottom: 17px;
    right: 0;
    background: rgba(141, 141, 141, 0.85);
    border-radius: 10px 0 0 0;
    color: var(--font-color);
}

.image_pack_author_block {
    padding: 5px 10px;
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(141, 141, 141, 0.85);
    border-radius: 10px 0 0 0;
    color: var(--font-color);
}

.author_column_card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: auto;
    margin: 10px auto;
    -webkit-box-shadow: 0 0 7px var(--box-shadow);
    box-shadow: 0 0 7px var(--box-shadow);
    background-color: var(--color-background-secondary);
    -webkit-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    transition: all 400ms ease;
    z-index: 1;
}

.author_column_card:hover {
    -webkit-box-shadow: 0 8px 6px -6px black;
    box-shadow: 0 8px 6px -6px black;
}

.author_column_card_img {
    position: relative;
    height: 300px;
}

.author_column_card_content {
    padding: 10px 10px 0 10px;
    font-weight: 500;
    font-size: 16px;
    color: var(--font-color);
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

.author_column_card_footer {
    padding: 10px;
    font-size: 14px;
    color: #8294a2;
}

.read_more_card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 350px;
    margin: 10px auto;
    -webkit-box-shadow: 0 0 7px var(--box-shadow);
    box-shadow: 0 0 7px var(--box-shadow);
    background-color: var(--color-background-secondary);
    -webkit-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    transition: all 400ms ease;
    z-index: 1;
}

.read_more_card:hover {
    -webkit-box-shadow: 0 8px 6px -6px black;
    box-shadow: 0 8px 6px -6px black;
}

.read_more_card_img {
    position: relative;
    height: 180px;
}

.read_more_card_content {
    padding: 10px 10px 0 10px;
    font-weight: 500;
    font-size: 16px;
    color: var(--font-color);
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

.read_more_card_footer {
    padding: 10px;
    font-size: 14px;
    color: #8294a2;
}

/* ---------------------------------------------------------------------------------------------------------------------
            IMAGE PACK SLIDER
--------------------------------------------------------------------------------------------------------------------- */
.article_image_pack-slider {
    width: 100%;
}

#article_image_pack-slider-img .item {
    min-height: 180px;
    margin: 2px;
}

#article_image_pack-slider-thumbs .item {
    height: 80px;
    margin: 2px;
    cursor: pointer;
}

#article_image_pack-slider-img .owl-stage,
#article_image_pack-slider-thumbs .owl-stage {
    margin: 0 auto;
}

/*#article_image_pack-slider-thumbs .owl-item.current {*/
/*box-shadow: 0 0 4px #1290D9;*/
/*}*/

.owl-theme .owl-nav [class*='owl-'] {
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

#article_image_pack-slider-img.owl-theme .owl-next, #article_image_pack-slider-img.owl-theme .owl-prev,
#article_image_pack-slider-thumbs.owl-theme .owl-next, #article_image_pack-slider-thumbs.owl-theme .owl-prev {
    top: 0;
    text-align: center;
    cursor: pointer;
    color: var(--font-color);
    text-shadow: 1px 1px 1px black;
    background: none;
    width: 60px;
    position: absolute;
    z-index: 999;
    outline: none;
}

#article_image_pack-slider-img.owl-theme .owl-prev {
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    z-index: 999;
}

#article_image_pack-slider-thumbs.owl-theme .owl-prev {
    left: -15px;
    top: 30px;
    z-index: 999;
}

#article_image_pack-slider-img.owl-theme .owl-next {
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0;
    z-index: 999;
}

#article_image_pack-slider-thumbs.owl-theme .owl-next {
    right: -15px;
    top: 30px;
    z-index: 999;
}

#article_image_pack-slider-img.owl-theme .owl-prev:hover,
#article_image_pack-slider-img.owl-theme .owl-next:hover,
#article_image_pack-slider-thumbs.owl-theme .owl-prev:hover,
#article_image_pack-slider-thumbs.owl-theme .owl-next:hover {
    color: #0069D9;
    text-shadow: 2px 2px 3px black;
}

#article_image_pack-slider-img.owl-theme .owl-prev.disabled,
#article_image_pack-slider-img.owl-theme .owl-next.disabled,
#article_image_pack-slider-thumbs.owl-theme .owl-prev.disabled,
#article_image_pack-slider-thumbs.owl-theme .owl-next.disabled {
    visibility: hidden;
}

.votes_block_title {
    text-align: center;
    font-size: 16px;
    white-space: nowrap;
    font-weight: 500;
    padding: 10px 0;
    margin: 0 15px 15px 15px;
    border-bottom: 2px solid #fc2323;
    color: var(--font-color);
}

.votes_title {
    font-size: 14px;
    padding: 0 5px;
}

.votes_body {
    font-size: 12px;
    padding: 10px 5px;
}

#site_loading_overlay {
    height: 100%;
    width: 100%;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
    background-color: var(--color-background-secondary);
    overflow: hidden;
}

#site_loading_content {
    width: 100%;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.video_card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: auto;
    margin: 0 auto;
    -webkit-box-shadow: 0 0 7px var(--box-shadow);
    box-shadow: 0 0 7px var(--box-shadow);
    background-color: var(--color-background-secondary);
    -webkit-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    transition: all 400ms ease;
    z-index: 1;
}

.video_card:hover {
    -webkit-box-shadow: 0 8px 6px -6px black;
    box-shadow: 0 8px 6px -6px black;
}

.video_card_video {
    position: relative;
    height: 250px;
}

.video_card_content {
    position: relative;
    padding: 10px 10px 0 10px;
    height: auto;
    min-height: 60px;
    font-weight: 500;
    font-size: 16px;
    color: var(--font-color);
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

.video_card_footer {
    position: relative;
    margin-top: auto;
    padding: 10px;
    font-size: 14px;
    color: #8294a2;
}

.btn-box-shadow {
    -webkit-box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
    text-shadow: none;
    -webkit-transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
    -o-transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-box-shadow:hover {
    -webkit-box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
    text-shadow: 1px 1px 2px #427388;
}

.switch {
    position: relative;
    display: inline-block;
    width: 55px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.search-trigger {
    width: 44px;
    height: 44px;
    padding-right: 20px;
    color: white !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.search-trigger:hover {
    opacity: 0.8;
}

.search-trigger[aria-expanded="false"] .icon-close,
.search-trigger.collapsed .icon-close {
    display: none !important;
}

.search-trigger[aria-expanded="false"] .icon-open,
.search-trigger.collapsed .icon-open {
    display: block !important;
}

.search-trigger[aria-expanded="true"] .icon-open {
    display: none !important;
}

.search-trigger[aria-expanded="true"] .icon-close {
    display: block !important;
}

.search-panel {
    position: fixed !important;
    width: 100% !important;
    top: 65px;
    left: 0;
    right: 0;
    z-index: 9995 !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.modern-search-form {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding: 10px 15px;
}

.modern-input-group {
    position: relative;
    display: flex !important;
    align-items: center;
    width: 100%;
    background-color: rgba(118, 118, 128, 0.12) !important;
    border-radius: 10px !important;
    overflow: hidden;
    border: none !important;
}

.modern-input {
    flex-grow: 1;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 15px !important;
    height: 40px !important;
    font-size: 16px !important;
    color: #333 !important;
    outline: none !important;
}

.modern-input::placeholder {
    color: #8e8e93 !important;
    opacity: 1;
}

.modern-input:focus {
    background-color: transparent !important;
}

.modern-search-btn {
    background: transparent !important;
    border: none !important;
    padding: 0 15px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #007aff !important;
    cursor: pointer;
    outline: none !important;
    transition: transform 0.1s;
}

.modern-search-btn:active {
    transform: scale(0.9);
}

.modern-search-btn svg {
    display: block;
}

body.dark .search-panel {
    background-color: rgba(30, 30, 30, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark .modern-input-group {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

body.dark .modern-input {
    color: #fff !important;
}

body.dark .modern-input::placeholder {
    color: #aaa !important;
}

body.dark .modern-search-btn {
    color: #409cff !important;
}





















/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Unchecked = Темная тема (активная) -> Синий фон */
    background-color: #b1d3f6;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    height: 34px;
    width: 34px;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto 0;
    -webkit-transition: all 0.4s;
    transition: 0.4s;
    box-shadow: 0 0 15px #2020203d;
    background-color: white;

    /* == СОСТОЯНИЕ 1: Unchecked (ТЕМНАЯ ТЕМА) == */
    /* Мы принудительно ставим его ВПРАВО и делаем ЛУНОЙ */
    -webkit-transform: translateX(24px);
    -ms-transform: translateX(24px);
    transform: translateX(24px);

    /* Иконка: ЛУНА */
    content: "";
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%231d1d1d' d='M283.2 512c79 0 151.1-35.9 198.9-94.8 7.1-8.7-.6-21.4-11.6-19.4-124.2 23.7-238.3-71.6-238.3-197 0-72.2 38.7-138.6 101.5-174.4 9.7-5.5 7.3-20.2-3.8-22.2A258.2 258.2 0 0 0 283.2 0c-141.4 0-256 114.6-256 256 0 141.4 114.6 256 256 256z'/%3E%3C/svg%3E");
}

/* Когда нажимаем (Checked = СВЕТЛАЯ ТЕМА) */
input:checked + .slider {
    /* Светлая тема -> Серый фон */
    background-color: #ccc;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
    /* Возвращаем ВЛЕВО */
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);

    background-color: white;

    /* Иконка: СОЛНЦЕ */
    background-size: 22px 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ffc731' d='M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 14.8L432.2 242l77 76.8c3.1 4.1 3.7 9.7 1.6 14.8s-6.6 8.6-11.9 9.6L391 363l-19.8 107.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-14.8-1.6L270 404.2l-76.8 77c-4.1 3.1-9.7 3.7-14.8 1.6s-8.6-6.6-9.6-11.9L149 363l-107.9-19.8c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-14.8L107.8 242l-77-76.8c-3.1-4.1-3.7-9.7-1.6-14.8s6.6-8.6 11.9-9.6L149 121l19.8-107.9c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 14.8 1.6L270 79.8l76.8-77c4.1-3.1 9.7-3.7 14.8-1.6zM256 128a128 128 0 1 0 0 256 128 128 0 1 0 0-256z'/%3E%3C/svg%3E");
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


/* ---------------------------------------------------------------------------------------------------------------------
            LITE YT EMBED
--------------------------------------------------------------------------------------------------------------------- */
lite-youtube {
    background-color: #000;
    position: relative;
    display: block;
    contain: content;
    background-position: center center;
    background-size: cover;
    cursor: pointer;
    max-width: 720px;
}

/* gradient */
lite-youtube::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==);
    background-position: top;
    background-repeat: repeat-x;
    height: 60px;
    padding-bottom: 50px;
    width: 100%;
    transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
}

/* responsive iframe with a 16:9 aspect ratio
    thanks https://css-tricks.com/responsive-iframes/
*/
lite-youtube::after {
    content: "";
    display: block;
    padding-bottom: calc(100% / (16 / 9));
}
lite-youtube > iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
}

/* play button */
lite-youtube > .lty-playbtn {
    display: block;
    width: 68px;
    height: 48px;
    position: absolute;
    cursor: pointer;
    transform: translate3d(-50%, -50%, 0);
    top: 50%;
    left: 50%;
    z-index: 1;
    background-color: transparent;
    /* YT's actual play button svg */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"><path d="M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55c-2.93.78-4.63 3.26-5.42 6.19C.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z" fill="red"/><path d="M45 24 27 14v20" fill="white"/></svg>');
    filter: grayscale(100%);
    transition: filter .1s cubic-bezier(0, 0, 0.2, 1);
    border: none;
}

lite-youtube:hover > .lty-playbtn,
lite-youtube .lty-playbtn:focus {
    filter: none;
}

/* Post-click styles */
lite-youtube.lyt-activated {
    cursor: unset;
}
lite-youtube.lyt-activated::before,
lite-youtube.lyt-activated > .lty-playbtn {
    opacity: 0;
    pointer-events: none;
}

.lyt-visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.js-inside-text-slider {
    position: relative;
    width: 100%;
    cursor: pointer;
    margin-bottom: 15px;
}

.js-inside-text-slider-item {
    height: 350px;
}

.js-inside-text-slider .owl-nav [class*='owl-'] {
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.js-inside-text-slider .owl-nav .owl-next, .js-inside-text-slider .owl-nav .owl-prev {
    top: 42%;
    text-align: center;
    cursor: pointer;
    color: #f3f3f3 !important;
    text-shadow: 1px 1px 1px black;
    background: none;
    width: 60px;
    position: absolute;
    z-index: 999;
    outline: none;
}

.js-inside-text-slider .owl-nav .owl-prev {
    left: 0;
    z-index: 999;
}

.js-inside-text-slider .owl-nav .owl-next {
    right: 0;
    z-index: 999;
}

.js-inside-text-slider .owl-nav .owl-prev:hover,
.js-inside-text-slider .owl-nav .owl-next:hover {
    color: #5a5a5a;
    text-shadow: 2px 2px 3px black;
}

.js-inside-text-slider .owl-dots {
    text-align: center;
    padding-top: 10px;
}
.js-inside-text-slider .owl-dots button.owl-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
    background: #ccc;
    margin: 0 3px;
}
.js-inside-text-slider .owl-dots button.owl-dot.active {
    background-color: #5c5c5c;
}
.js-inside-text-slider .owl-dots button.owl-dot:focus {
    outline: none;
}
