
:root {
    --color-1: rgb(116, 74, 17); /* Основной цвет */
    --color-2: rgb(37, 50, 74); /* Цвет текста */
    --color-border: #ff9b00; /* Цвет текста */
    --color-text: #fff88e; /* Цвет текста */
}


* {
    text-shadow: rgba(0, 0, 0, 0.45) 1px 1px 10px, rgba(0, 0, 0, 0.81) 1px 1px 15px !important;
    background: transparent;
    margin: 0;
    padding: 0;
    outline: none;
    border: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


.neon-button, button {
    background: rgba(0, 255, 153, 0.13);
    color: #d9d9d9 !important;
    padding: 6px 10px;
    text-transform: uppercase;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: transform 0.5s, box-shadow 0.5s;
    cursor: pointer;
    overflow: hidden;
}

.neon-button:hover, button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px var(--color-border), 0 0 5px var(--color-border), 0 0 15px var(--color-border);
    background: transparent;
    color: #00ff99;
}


.orange-button {
    background: rgba(244, 103, 47, 0.2);
    color: #d9d9d9 !important;
    padding: 5px 10px;
    text-transform: uppercase;
    border: 1px solid #ff4e02;
    border-radius: 20px;
    transition: transform 0.5s, box-shadow 0.5s;
    cursor: pointer;
    overflow: hidden;
}

.orange-button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px #ff4e02, 0 0 5px #ff4e02, 0 0 15px #ff4e02;
    background: transparent;
    color: #ff4e02;
}


.blue-button {
    background: rgba(0, 120, 226, 0.26);
    color: #d9d9d9 !important;
    padding: 5px 10px;
    text-transform: uppercase;
    border: 1px solid #0296ff;
    border-radius: 20px;
    transition: transform 0.5s, box-shadow 0.5s;
    cursor: pointer;
    overflow: hidden;
}

.blue-button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px #0296ff, 0 0 5px #0296ff, 0 0 15px #0296ff;
    background: transparent;
    color: #0296ff;
}

.green-button {
    background: rgba(104, 243, 54, 0.15);
    color: #d9d9d9 !important;
    padding: 5px 10px;
    text-transform: uppercase;
    border: 1px solid #3db62c;
    border-radius: 20px;
    transition: transform 0.5s, box-shadow 0.5s;
    cursor: pointer;
    overflow: hidden;
}

.green-button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px #3db62c, 0 0 5px #3db62c, 0 0 15px #3db62c;
    background: transparent;
    color: #3db62c;
}


.red-button {
    background: rgba(243, 54, 54, 0.15);
    color: #d9d9d9 !important;
    padding: 5px 10px;
    text-transform: uppercase;
    border: 1px solid #f33636;
    border-radius: 20px;
    transition: transform 0.5s, box-shadow 0.5s;
    cursor: pointer;
    overflow: hidden;
}

.red-button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px #f33636, 0 0 5px #f33636, 0 0 15px #f33636;
    background: transparent;
    color: #f33636;
}

.pink-button {
    background: rgba(255, 2, 166, 0.15);
    color: #d9d9d9 !important;
    padding: 5px 10px;
    text-transform: uppercase;
    border: 1px solid #ff02a6;
    border-radius: 20px;
    transition: transform 0.5s, box-shadow 0.5s;
    cursor: pointer;
    overflow: hidden;
}

.pink-button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px #ff02a6, 0 0 5px #ff02a6, 0 0 15px #ff02a6;
    background: transparent;
    color: #ff02a6;
}

.white-button {
    background: rgba(253, 253, 253, 0.26);
    color: #d9d9d9 !important;
    padding: 5px 10px;
    text-transform: uppercase;
    border: 1px solid #d7d7d7;
    border-radius: 20px;
    transition: transform 0.5s, box-shadow 0.5s;
    cursor: pointer;
    overflow: hidden;
}

.white-button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px #d7d7d7, 0 0 5px #d7d7d7, 0 0 15px #d7d7d7;
    background: transparent;
    color: #d7d7d7;
}


ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input, select {
    vertical-align: middle;
}

article, aside, figure, figure img, hgroup, footer, header, nav, section, main {
    display: block;
}

body {
    font: 13px 'Open Sans', Arial, Helvetica, sans-serif;
    line-height: normal;
    padding: 0;
    margin: 0;
    color: #ccc;
    /*  background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);*/
    background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
    height: 100%;
    width: 100%;
    font-weight: normal;
}

img {
    width: 100%;
    image-rendering: crisp-edges;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

.clr {
    clear: both;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

a {
    color: #ccc;
    text-decoration: none;
}

a:hover, a:focus {
    color: #fbe2f3;
    text-decoration: none;
}

h1, h2, h3, h4, h5 {
    font-weight: 400;
    font-size: 18px;
}

.form-wrap {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35rem;
    background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
    border: solid var(--color-border) 1px !important;
    padding: 20px;
    border-radius: 10px;
}

.sub-title h1 {
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 700;
}

.pm-page, .search-page, .static-page {
    background: #304f46;
    background-image: none;
    padding: 17px;
    background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
    border-radius: 5px;
    border: 1px solid var(--color-border);
    min-width: 30rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -z-index: 99999;
}


.form-wrap {
    background: #304f46;
    background-image: none;
    background-image: none;
    padding: 17px;
    background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
    border-radius: 5px;
    border: 1px solid var(--color-border);
    min-width: 30rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -z-index: 99999;
}


.tags-page {
    width: 35rem;
    margin: 0 auto;
    height: 70vh;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    background-image: linear-gradient(to right, var(--color-2) -20%, var(--color-1) 50%, var(--color-2) 120%);
    position: absolute;
    left: 50%;
    transform: translate(-50%, -25%);
    top: 30%;
}

.sub-title {
    text-align: center; /* Центрирование заголовка */
    padding: 10px;
    background-image: linear-gradient(to right, var(--color-1) 0%, var(--color-2) 50%, var(--color-1) 100%);
    font-size: 1.5rem;
    font-weight: bold;
    border: 1px solid #707070; /* Разделительная линия */
}

.cloud-tags {
    flex: 1; /* Растягивание блока с тегами */
    overflow-y: auto; /* Вертикальная прокрутка */
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* Адаптивная сетка */
    gap: 8px;
}

.cloud-tags::-webkit-scrollbar {
    width: 6px;
}

.cloud-tags::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 3px;
}

.cloud-tags::-webkit-scrollbar-track {
    background: #ddd;
}

.tags-srh-l {
    width: 35%;
    position: absolute;
    top: -10px;
    left: 5px;
}

.tags-srh-r {
    width: 36%;
    position: absolute;
    top: 35px;
    right: -120px;
}

.boxhome {
    padding-top: 5px;
}

.button-home {
    padding: 0 20px;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    bckground-color: #87824;
    color: #fff;
}


.embed {
    padding: 0px 0px 0px 0px;
    display: flex;
    justify-content: center;
    overflow: auto;
}

.icon_florenfile {
    left: 10px;
    position: relative;
    bottom: -10px;
    z-index: 2;
    width: 35%;
}

.icon_florenfile_2 {
    bottom: -50px;
    position: absolute;
    left: 4px;
    top: 0px;
    z-index: 2;
    width: 24px;
}

.icon_takefile_bt {
    left: 10px;
    position: relative;
    bottom: -9px;
    z-index: 2;
    max-width: 64px;
}

.icon_florenfile_bt {
    left: 10px;
    position: relative;
    bottom: -10px;
    z-index: 2;
    max-width: 64px;
}


.icon_hotlink_bt {
    left: 10px;
    position: relative;
    bottom: -10px;
    z-index: 2;
    max-width: 64px;
}

.icon_cloud {
    display: inline-block;
    position: absolute;
    width: 145px;
    height: 73px;
}

.icon_cloud_relat {
    display: inline-block;
    position: absolute;
    width: 145px;
    height: 73px;
    top: 50px;
}


.DLEPush-notification {
    position: fixed; /* Фиксированное положение */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Центрирование */
    width: 350px; /* Оптимальная ширина */
    background: #222; /* Темный фон */
    color: #fff; /* Белый текст */
    padding: 20px;
    border-radius: 10px; /* Закругленные углы */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3); /* Тень для объема */
    z-index: 9999; /* Поверх всего */
    display: none; /* По умолчанию скрыто */
    text-align: center; /* Центрируем текст */
    font-family: Arial, sans-serif;
}

/* Кнопка закрытия */
.DLEPush-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.DLEPush-close:hover {
    color: #ff5555; /* Подсветка при наведении */
}

/* Заголовок уведомления */
.DLEPush-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Текст сообщения */
.DLEPush-message {
    font-size: 14px;
    line-height: 1.5;
}


/*--- SET ---*/


button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

button[disabled], input[disabled] {
    cursor: default;
}

button:active, html input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active {
    box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}


input[type="submit"].bbcodes, input[type="button"].bbcodes, input.bbcodes, .ui-button {
    font-size: 12px !important;
    height: 30px !important;
    line-height: 30px !important;
    padding: 0px 10px;
    border-radius: 3px;
}

input[type="text"], input[type="password"] {
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    border-radius: 20px !important;
    color: #6ec837;
    background-color: #222;
    border-radius: 0px;
    -webkit-appearance: none;
    border: solid var(--color-border) 1px;
}

input[type="text"]:focus {
}

input:focus::-webkit-input-placeholder {
    color: transparent
}

input:focus::-moz-placeholder {
    color: transparent
}

input:focus:-moz-placeholder {
    color: transparent
}

input:focus:-ms-input-placeholder {
    color: transparent
}

select {
    height: 40px;
    border: 1px solid #111;
    background-color: #30436d;
    color: #8BC068;
    width: 100%;
    font-size: 20px;
}

textarea {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-border);
    background-color: #1e2732;
    color: #FFF;
    border-radius: 0;
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

.img-box, .img-wide, .img-resp-h, .img-resp-v {
    overflow: hidden;
    position: relative;
    background-color: #000;
}

.img-resp-h {
    padding-top: 56%;
}

.img-resp-v {
    padding-top: 130%;
}

.img-box img, .img-resp-h img, .img-resp-v img {
    width: 100%;
    min-height: 100%;
    display: block;
}

.img-resp-h img, .img-resp-v img {
    position: absolute;
    left: 0;
    top: 0;
}

.img-wide img {
    width: 100%;
    display: block;
}

.img-square img {
    width: 150%;
    max-width: 150%;
    margin-left: -25%;
}

.nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.h-menu a {
    transition: all .3s;
}

.button, .th-img img {
    transition: color .3s, background-color .3s, opacity .3s;
    height: auto;
}

.ps-link {
    cursor: pointer;
}

.icon-l .fa {
    margin-right: 10px;
}

.icon-r .fa {
    margin-left: 10px;
}

.fx-row {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.fx-center {
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center
}

.fx-between {
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between
}

.fx-stretch {
    -ms-flex-align: stretch;
    -webkit-align-items: stretch;
    align-items: stretch
}

.fx-top {
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start
}

.fx-middle {
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center
}

.fx-bottom {
    -ms-flex-align: end;
    -webkit-align-items: flex-end;
    align-items: flex-end
}

.fx-col {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column
}

.fx-wrap {
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap
}

.btns-log, .h-menu, .side-bt, .footer, .th-title, .site-desc h1, .site-desc h2, .site-desc h3, .rels-t, .full-in h1,
.button, .comms-title, .f-fav, .btn-scr, .btn-dl, .full-in h1, .rels-t {
    font-size: 16px;
    font-weight: 400;
}


/* HEADER
----------------------------------------------- */
.logo {
    display: block;
    float: left;
    width: 11rem;
    margin-right: 20px;
}

.logo img {
    display: block;
}

.search-box {
    width: 400px;
    position: absolute;
    left: 50%;
    top: 0;
    margin: 10px 0 0 -200px;
}

#fullsearch {
    grid-column: 1 / -1;
    margin: 15px auto 15px auto;
}

.search_result_num {
    font-size: 21px;
    text-align: center;
    padding-right: 20px;
}


.search-field {
    -width: 100%;
    position: relative;
}

.search-field input, .search-field input:focus {
    width: 100%;
    padding: 0 50px 0 10px;
    background-color: rgba(0, 0, 0, 0.27);
    border: solid var(--color-border) 1px;
    color: var(--color-border);
    height: 40px;
    line-height: 40px;
    box-shadow: none;
    border-radius: 15px;
    font-size: 21px;
    transition: transform 0.5s, box-shadow 0.5s;
}

.search-field input:hover {
    box-shadow: 0 0 15px var(--color-border), 0 0 5px var(--color-border), 0 0 15px var(--color-border);
}



.search-box button {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0 !important;
    width: 40px;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 18px;
    background: transparent !important;
    color: #fff !important;
}

.btns-log {
    line-height: 40px;
    margin-top: 10px;
    position: absolute;
    bottom: 5%;
    left: 5%;
}

.btns-log a {
    line-height: 24.4px;
    background: transparent;
    color: #ff8d55;
    padding: 5px;
    text-transform: uppercase;
    border: 1px solid #ff6f43;
    border-radius: 6px;
    transition: transform 0.5s, box-shadow 0.5s;
    cursor: pointer;
    margin: 0px 5px 0px 5px;
}

.show-login {
    align-items: center;
    margin-right: 0; /* Липнет к правому краю */
    position: relative;
    right: 7%;
    position: absolute;
    line-height: 24.4px;
    background: transparent;
    color: #66ff55;
    padding: 5px;
    text-transform: uppercase;
    border: 1px solid #98ff43;
    border-radius: 6px;
    transition: transform 0.5s, box-shadow 0.5s;
    cursor: pointer;
    margin: 0px 5px 0px 5px;
}

.btns-log a:hover, .show-login:hover {
    text-decoration: underline;
}


.count_result {
    font-size: 32px;
    color: #a0c629;
}

/* BASIC GRID
----------------------------------------------- */
.wrap {
    min-width: 320px;
    overflow: hidden;
    background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
}


/* Стили для бокового меню */
.bt_menu {
    position: relative;
    margin: 0px 5px 0px 5px;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
    color: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transform: translateX(-250px);
    transition: transform 0.5s ease; /* Плавное закрытие */
    z-index: 1000;
    overflow: hidden;
}

.side-menu.open {
    transform: translateX(0); /* Открытое меню */
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu li {
    border-bottom: 1px solid #444;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.side-menu li:hover {
    background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
    transform: scale(1.05); /* Увеличение при наведении */
}

.side-menu li a {
    text-decoration: none;
    color: transparent;
    -webkit-text-stroke: 0.6px var(--color-text);
    font-size: 1.8em;
}

.side-menu li a:hover {
    text-shadow: rgb(107, 254, 86) 1px 1px 68px, rgb(120, 255, 82) 1px 1px 52px !important;
}


.show-name-tag {
    position: relative;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;

}

@keyframes gradientStroke {
    0% {
        -webkit-text-stroke: 0.6px #ffdc59;
    }
    25% {
        -webkit-text-stroke: 0.6px #ff2889;
    }
    50% {
        -webkit-text-stroke: 0.6px #27ff33;
    }
    75% {
        -webkit-text-stroke: 0.6px #379bff;
    }
    100% {
        -webkit-text-stroke: 0.6px #ffd219;
    }
}

.show-name-tag-h1 {
    font-size: 3em;
    color: transparent;
    -webkit-text-stroke: 0.6px #ffd27b; /* Начальный цвет */
    animation: gradientStroke 12s infinite linear; /* Анимация */
}

/* Кнопка меню */
.menu-toggle {
    position: fixed;
    top: 10px;
    left: 10px;
    background: #333;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 999;
}

/* Предпросмотр */
.preview {
    position: fixed;
    top: 0;
    left: 250px; /* Показывается рядом с меню */
    width: calc(100% - 250px);
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: none; /* По умолчанию скрыт */
    z-index: 999;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.preview.visible {
    display: block;
    opacity: 1;
}


.center {
    max-width: 2600px;
    position: relative;
    z-index: 20;
}

.h-one {
    height: 70px;
    position: relative;
    background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--color-2), var(--color-1), var(--color-2)) 1;
}

.h-two {
    display: flex; /* Включаем Flexbox */
    justify-content: space-between; /* Левый и правый блоки по краям */
    align-items: center; /* Выравнивание по вертикали */
    padding: 10px 0px; /* Убираем отступы */
    background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
}

.l-block {
    display: flex; /* Для корректного выравнивания содержимого */
    align-items: center;
    margin-left: 5px;
    top: 0px;
    position: relative;
}

.c-block {
    font-size: 20px;
    color: #538f87;
    margin: 0px 80px;
    flex-grow: 1; /* Занимает все оставшееся пространство */
    text-align: center; /* Центрируем содержимое центрального блока */
}

.r-block {
    display: flex;
    align-items: center;
    margin-right: 0;
    position: absolute;
    right: 4.6%;
    top: 20px;
}


.h-menu {
    display: flex; /* Группируем элементы меню */
    gap: 10px; /* Расстояние между пунктами меню */
    list-style: none; /* Убираем маркеры у списка */
    margin: 0;
    padding: 0;
}

.h-menu li {
    display: inline-block; /* Делаем элементы меню горизонтальными */
}

.h-menu a {
    display: block;
    line-height: 30px;
    padding: 0 10px;
    background-color: #222;
    margin: 0px 0px 0 15px;
    border-radius: 15px;
    box-shadow: 0px 0px 4px -1px rgb(125, 249, 8);
}

.h-menu a span {
    background-color: #2c8f00;
    color: #fff;
    display: inline-block;
    vertical-align: top;
    height: 20px;
    line-height: 20px;
    padding: 0 5px;
    margin: 5px 0 0 10px;
    border-radius: 10px;
}

.controls {
    display: flex; /* Группируем кнопки сетки */
    gap: 2px; /* Расстояние между кнопками */
    opacity: 0.6;
}

.sorter {
    position: absolute;
    right: 0;
    background: transparent;
    color: #d9d9d9;
    padding: 6px 10px;
    text-transform: uppercase;
    border: 1px solid #0296ff;
    border-radius: 20px;
    transition: transform 0.5s, box-shadow 0.5s;
    cursor: pointer;
    margin: 0px 13px 4px 8px;
}

.sorter:before {
    content: attr(data-label);
    float: left;
    padding: 0 10px 0 0;
}


.sorter form {
    display: none;
    background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
    padding: 10px;
    line-height: 26px;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.8);
    position: absolute;
    right: 10px;
    top: 120%;
    z-index: 999999;
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

.sorter a:hover {
    text-decoration: underline;
}

.sort li.asc a:after, .sort li.desc a:after {
    content: "\f063";
    font-family: FontAwesome;
    display: inline-block;
    margin-left: 10px;
}

.sort li.desc a:after {
    content: "\f062"
}


.cols {
    margin: 20px 0;
    padding: 0 10px;
    display: block;
}

.side {
    width: 240px;
    background-color: #161d2b4d;
}

.main {
    margin: 0px 65px;
    min-height: 600px;
}

.footer {
    background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
    color: #fff;
    text-align: center;
    box-shadow: 0 -20px 20px -20px rgba(0, 0, 0, 0.9);
    position: relative;
    height: 50px;
    margin-top: 5%;
}


/* Контейнер тегов */
.cloud-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
}

/* Элемент тега */
.tag-item {
    position: relative;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    display: inline-block;
    transition: background 0.3s;
}

/* Ссылка внутри тега */
.tag-item a {
    text-decoration: none;
    color: #0073aa;
}

/* Бейджик количества (кружок в углу) */
.count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #ff5e5e;
    color: white;
    font-size: 11px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* При наведении — подсветка */
.tag-item:hover {
    background: #e0e0e0;
}


/* SEO DESCRIPTION
----------------------------------------------- */
.site-desc {
    line-height: 18px;
    text-align: justify;
    margin-bottom: 20px;
}

.site-desc h1, .site-desc h2, .site-desc h3 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d6f024;
    color: #FFF;
}

.site-desc h1 span, .site-desc h2 span, .site-desc h3 span {
}

.site-desc p + p {
    margin-top: 5px;
}

.site-desc a {
    color: #d6f024;
    text-decoration: underline;
}


/* THUMB
----------------------------------------------- */
/* Контейнер сетки shortstory.tpl */
.thumbimgrel {
    display: block;
    height: 0;
}


.grid-container-short {
    display: grid; /* Устанавливаем сетку */
    grid-template-columns: repeat(auto-fill, minmax(315px, 1fr)); /* Адаптивные колонки */
    gap: 10px; /* Расстояние между блоками */
}

/* Блок с изображением */
.thumb {
    position: relative;
    overflow: visible;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Картинка */
.short1-img img {
    width: 100%;
    height: auto;
    display: block;
}

.th-img {
    display: block;
    border-radius: 10px;
    transition: 0.5s;
}


.grid-button {
    width: 28px;
    margin: 2px;
}


/* Кнопка для открытия формы */
.open-settings-button {
    position: absolute;
    right: 0px;
    margin: 10px 15px 0px 0px;
}

/* Всплывающее окно */
.settings-form {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    bottom: 12%;
    right: 1%;
    background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
    border: 1px solid #ccc;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 99999999999999;
    width: 300px;
    grid-template-rows: auto 1fr;
    gap: 20px;
    border-radius: 16px;
}

/* Контент внутри формы */
.settings-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
}

/* Кнопка закрытия */
.close-settings-button {
    position: absolute;
    top: -20px;
    right: -10px;
    background-color: #d43a3a;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    height: 32px;
    width: 30px;
    border-radius: 5px;
    text-align: center;
}


.controls {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 13px 10px;
}

.grid-button {
    margin: 0 5px;
    cursor: pointer;
}

/* Слайдер */
.slider-container {
    display: grid;
}

/* Слайдер */
.slider {
    width: 80%;
}

/* Стиль для кнопки сброса */
.reset-color {
    width: 15%;
    padding: 5px;
}

.reset-color {
    width: 15%;
    padding: 4px 1px 5px 16px;
    background: #3349c4;
    border-radius: 15px;
}


/* Текст поверх картинки */
.th-text {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 5px 5px 8px 5px;
    text-align: center;
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
    mask-image: linear-gradient(to bottom, black, transparent);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

/* Ссылка на текст */
.th-title {
    text-decoration: none; /* Убираем подчеркивание */
    display: -webkit-box; /* Используем flex-контейнер для ограничения строк */
    -webkit-box-orient: vertical; /* Устанавливаем вертикальную ориентацию */
    overflow: hidden; /* Обрезаем текст, выходящий за пределы */
    text-overflow: ellipsis; /* Добавляем многоточие */
    -webkit-line-clamp: 2; /* Ограничиваем количество строк до двух */
    font-variant: unset;
    font-size: 1.2em;
    font-weight: 300;
    line-height: 24px;
    height: 45px;
    color: #b7c47d;
    text-align: center;
}


.th-in {
    position: relative;
    box-shadow: 0px 0px 3px 0px rgb(150, 150, 150);
    border-radius: 20px;
    height: auto;
}

.th-in:hover {
    position: relative;
    --z-index: 99;
    background-color: #0000003b;
}

.hover-eye {
    position: absolute;
    width: 24px;
    z-index: 98;
}


.th-title-live {
    display: table-cell;
    font-size: 24px;
    font-weight: 200;
    line-height: 22px;
    height: 44px;
    overflow: hidden;
    color: #b7c47d;
    text-align: center;
    vertical-align: middle;
}

.th-rate {
    padding: 5px 10px;
    background-color: rgba(44, 143, 0, 0.8);
    color: #fff;
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 20;
    font-size: 13px;
    white-space: nowrap;
    border-radius: 14px;
}

.th-time {
    padding: 0px 6px 0px 6px;
    background-color: rgba(0, 0, 0, 0.27);
    color: #fff;
    position: absolute;
    right: 4px;
    top: 4px;
    z-index: 2;
    font-size: 13px;
    border-radius: 14px;
}


.th-in:hover .th-title {
    color: #bbbbba;
}

.catm {
    padding: 6px 2px 0px 10%;
    float: left;
}


/* пагинация */
#pagination_prev {
    position: relative;
    float: right;
    top: 3px;
    left: 0px;
    opacity: 0.6;
    display: inline-block;
}

#pagination_next {
    position: relative;
    float: left;
    top: 3px;
    left: 1px;
    opacity: 0.6;
    display: inline-block;
}


/* Контейнер сетки relatednews.tpl */
.grid-container-rell {
    display: grid; /* Устанавливаем сетку */
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); /* Адаптивные колонки */
    gap: 10px; /* Расстояние между блоками */
    background-color: #161d2b4d;
    padding: 10px;
    border-radius: 10px !important;
}

/* Блок с изображением */
.thumbR-rell {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Картинка */
.short1-img-rell img {
    width: 100%;
    height: auto;
    display: block;
}

/* Текст поверх картинки */
.th-text-rell {
    font-size: 14px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent); /* Градиент теперь идет сверху вниз */
    padding: 0px 5px 1px 5px;
    text-align: center;
    -webkit-mask-image: linear-gradient(to top, black, #00000063); /* Направление изменено для обратного эффекта */
    mask-image: linear-gradient(to top, black, #00000063);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

/* Ссылка на текст */
.th-title-rell {
    display: block; /* Ответ #2: блочный элемент */
    overflow: hidden; /* Ответ #3: скрываем всё, что выходит за рамки */
    max-height: 1.2em; /* Ответ #4: показываем только первую строку */
    line-height: 1.2em; /* Ответ #5: высота строки */
    transition: max-height 2.0s ease; /* Ответ #6: плавное раскрытие */
    cursor: pointer; /* Ответ #7: курсор-указатель для интерактива */
    text-overflow: ellipsis; /* Ответ #8: многоточие, если одна строка */
}

.th-title-rell:hover {
    max-height: 500px; /* Ответ #10: раскрываем достаточно для всех строк */
}


/* SIDE
----------------------------------------------- */
.side-box {
    padding: 10px;
}

.side-bt {
    font-size: 18px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #666;
    color: #FFF;
}

.side-nav {
    background-color: #161d2b4d;
    color: #FFF;
}

.side-nav .side-bt {
    border-bottom: 0;
    margin: -10px -10px 10px -10px;
    padding: 10px;
    background-color: #d6f024;
    color: #fff;
}

.side-nav a {
    border-bottom: 1px solid #111;
    box-shadow: 0 1px #555;
    display: block;
    padding: 10px 50px 10px 0;
    color: #ccc;
    font-size: 14px;
}

.side-nav li:last-child a {
    border-bottom: 0;
    box-shadow: none;
}

.side-nav a:hover {
    color: #d6f024;
}

.side-nav li {
    position: relative;
}

.side-nav li span {
    position: absolute;
    right: 10px;
    top: 10px;
    opacity: 0.6;
}

/* FOOTER
----------------------------------------------- */
.ft-copyr {
    margin-bottom: 10px;
    font-size: 16px;
}

.ft-menu a {
    color: #ccc;
    display: inline-block;
    vertical-align: top;
    padding: 1px 10px;
}

.ft-menu a + a {
    border-left: 1px solid #666;
}

.ft-menu a:hover {
    color: #FFF;
    text-decoration: underline;
}

.counter {
    display: inline-block;
    height: 31px;
    background-color: #111;
    position: absolute;
    right: 0;
    bottom: 20px;
    margin-right: 2010px;
}

/* BOTTOM NAVIGATION
----------------------------------------------- */


.nav-button {

    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 65px;
    background-color: rgba(0, 0, 0);
    opacity: 0.4;
    color: #445b8b;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px 50px 0 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-decoration: none;
    z-index: 100;
}

.nav-button.left {
    left: 0;
    border-radius: 0 50px 50px 0;
}

.nav-button.right {
    right: 0;
    border-radius: 50px 0 0 50px;
}

.nav-button:hover {
    background-color: rgba(0, 0, 0);
    opacity: 0.9;
}

.nav-button span {
    font-weight: bold;
}

.left-button {
    bottom: 2px;
    position: relative;
    font-size: 36px;
    display: inline-block;
    transform: scale(1, 2);
    transform-origin: center;
    right: 5px;
    color: #ff0073;
    animation: pulse 1.5s infinite;
}


.right-button {
    position: relative;
    font-size: 36px;
    display: inline-block;
    transform: scale(1, 2);
    transform-origin: center;
    bottom: 2px;
    left: 5px;
    color: #a2ff00;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1); /* Начальный масштаб */
        opacity: 1; /* Полная прозрачность */
    }
    50% {
        transform: scale(1.1); /* Увеличение на 10% */
        opacity: 0.6; /* Прозрачность до 60% */
    }
    100% {
        transform: scale(1); /* Возврат к исходному масштабу */
        opacity: 1; /* Возврат полной прозрачности */
    }
}

.navigation-wrapper {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: none;
    width: 100%;

}

.trigger-area {
    width: 80px;
    height: 40px;
    background-color: rgba(0, 0, 0);
    opacity: 0.2;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    cursor: pointer;
    pointer-events: auto;
    position: absolute;
    bottom: 0; /* Полусфера всегда у самого низа */
    left: 50%;
    transform: translateX(-50%);
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.trigger-area:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.pan-navigat {
    background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
    color: white;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    padding: 0px 20px;
    border-radius: 10px;
    pointer-events: auto;
    position: fixed;
    bottom: 0; /* Закрепляем панель у нижнего края */
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    border: solid var(--color-border) 1px;
}

.pan-navigat a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.navigation-wrapper.active .pan-navigat {
    transform: translateX(-50%) translateY(0);
}

.navigation-wrapper.at-bottom .pan-navigat {
    transform: translateX(-50%) translateY(0);
    transition: none; /* Убираем анимацию для фиксации */
}

.navigation-wrapper.at-bottom .trigger-area {
    opacity: 0; /* Скрываем полусферу */
    pointer-events: none;
}

.num-nav {
    font-size: 19px;
    position: relative;
    left: 3px;
    bottom: -13px;
    color: #42b4dc;
}


.bottom-nav {
    line-height: 36px;
    text-align: left;
    margin: 8px 5px 8px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 1 / -1;
}

.pagi-nav {
    max-width: 100%;
    display: grid;
}

.pagi-nav > span {
    display: inline-block;
}

.pprev, .pnext {
}

.pprev {
}

.pnext a, .pprev a, .pprev > span, .pnext > span {
    display: block;
    width: 36px;
    text-align: center;
}

.navigation {
    text-align: center;
}

.thumb-rek {
    width: 387px;
    float: left;
    margin: 0px 5px 10px 5px;
}

.th-img-rek {
    padding: 0px 0px 0px 0px;
}

.qualit {
    opacity: 0.6;
}


.th-in-rek {
    height: 282px;
    background-color: #161d2b4d;
    position: relative;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
}

.navigation a, .navigation span, .pnext a, .pprev a, .pprev > span, .pnext > span {
    display: inline-block;
    padding: 0 5px;
    min-width: 36px;
    background-image: radial-gradient(circle, #1a1a1a 0%, #3e5074 54%, #898989 100%);
    margin: 5px 5px 0 0;
    border-radius: 20px;
    border: 0px solid #ddd;
    box-shadow: 0 3px 5px 0 rgba(0, 1, 1, 0);
    font-size: 18px;
}

.navigation span, .pagi-nav a:hover {
    background-color: #121824;
    color: #278ffd;
    border-radius: 20px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1); /* Начальный масштаб */
        opacity: 1; /* Полная прозрачность */
    }
    50% {
        transform: scale(1.1); /* Увеличение на 10% */
        opacity: 0.6; /* Прозрачность до 60% */
    }
    100% {
        transform: scale(1); /* Возврат к исходному масштабу */
        opacity: 1; /* Возврат полной прозрачности */
    }
}


.navigation span.nav_ext {
    background-color: #161d2b4d;
    color: #ccc;
}

.pagi-nav a:hover {
    background-color: #1b2435;
    color: #fff;
}

.dle-comments-navigation .pagi-nav {
    margin-bottom: 0;
}

/* FULL
----------------------------------------------- */
.full-in {
    margin-bottom: 20px;
    width: 61%;
    float: left;
}

.player-box {
    background-color: #000;
}

.player-box .video-box {
    max-width: 700px;
    margin: 0 auto;
}

.full-in h1 {
    font-size: 26px;
    text-align: center;
    padding: 10px;
    background-color: #303a4b96;
    margin: 0 20px;
    border-radius: 10px;
    position: relative;
    color: transparent;
    -webkit-text-stroke: 0.4px var(--color-text);
}

.full h1 a {
    color: #d6f024;
    margin-left: 10px;
}

.full-meta {
    padding: 10px;
}

.full-tags {
    margin-bottom: 30px;
    line-height: 30px;
    padding: 0 10px;
}

.full-tags a {
    display: inline-block;
    position: relative; /* нужно для позиционирования бейджа внутри */
    padding: 0 10px;
    margin: 0 0 10px 5px;
    box-shadow: 0px 2px 3px -1px rgb(123, 246, 23);
    border-radius: 20px;
    font-size: 20px;
    color: #86bc54;
}


/* Ответ #9.2 — Сам бейджик с количеством тегов */
.bubl-tag {
    position: absolute;
    top: -15px;
    right: -5px;
    background-color: #07152a;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 12px;
    font-weight: bold;
    line-height: 1;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    opacity: 0.5;
}


.full-m a {
    display: inline-block;
    padding: 10px 10px;
    background-color: #222;
    margin: 0 0 10px 5px;
    background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
    border-radius: 15px;
}

.f-fav, .btn-scr, .btn-dl, .f-time, .f-views {
    float: left;
    margin: 0 0 0 20px;
    cursor: pointer;
    line-height: 40px;
    position: relative;
}

.f-time, .f-views {
    float: right;
    color: #91ab3b;
    font-size: 18px;
}

.f-desc {
    padding: 10px;
    background-color: #2828286e;
    margin: 0px 10px 10px 10px;
    border-radius: 10px;
}


.blokdownload {
    display: flex; /* Устанавливаем флекс-контейнер */
    flex-direction: column; /* Располагаем элементы вертикально */
    justify-content: center; /* Центрируем элементы по вертикали */
    align-items: center; /* Центрируем элементы по горизонтали */
    height: 100%; /* Растягиваем блок на всю высоту родителя */
    text-align: center;
    margin: 30px 0;
}

.button-dw {
    margin-bottom: 10px;
    width: 100%;
}

.nfo_dw {
    font-size: 14px;
    color: #c5b470;
    margin-top: 10px;
    width: 14rem;
}

.knopka-text {
    background: #3278fd;
    padding: 15px 45px 15px 25px;
    border-radius: 25px 25px 25px 25px;
    color: #f4f3f3;
    font-size: 20px;
}


.takefile {
    background: #007b19;
    padding: 13px 40px 13px 40px;
    border-radius: 25px 25px 25px 25px;
    color: #f4f3f3;
    font-size: 20px;
    transition: all .6s;
    box-shadow: 0px 0px 20px 0px rgb(246, 220, 4);
    color: rgb(255, 210, 36) !important;
}

.takefile:hover {
    transition: all .6s;
    box-shadow: 0px 0px 25px 0px rgb(246, 220, 4);
}

.hotlink {
    background: #007b19;
    padding: 13px 40px 13px 40px;
    border-radius: 25px 25px 25px 25px;
    color: #f4f3f3;
    font-size: 20px;
    transition: all .6s;
    box-shadow: 0px 0px 20px 0px rgb(246, 220, 4);
    color: rgb(255, 210, 36) !important;
}

.hotlink:hover {
    transition: all .6s;
    box-shadow: 0px 0px 25px 0px rgb(246, 220, 4);
}

.takefile_hiden {
    background: #007b19;
    padding: 13px 40px 13px 40px;
    border-radius: 25px 25px 25px 25px;
    color: #f4f3f3;
    font-size: 20px;
    transition: all .6s;
    box-shadow: 0px 0px 20px 0px rgb(246, 220, 4);
    color: rgb(255, 210, 36) !important;
}

.takefile_hiden:hover {
    transition: all .6s;
    box-shadow: 0px 0px 25px 0px rgb(246, 220, 4);
}

.txt_link_dw {
    color: #1ea4f4;
    font-size: 21px;
}


.download {
    padding: 0px 32px 0 33px;
    margin: 8px 10px 15px 1%;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    background-color: #d6f024;
    color: #fff;
    background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
    font-size: 20px;
}

.download2 {
    padding: 0px 32px 0 33px;
    margin: 8px 10px 48px 1%;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    color: #fff;
    font-size: 20px;
}

.logid {
    font-size: 19px;
    padding: 0px;
    color: #a450ea;
}


.idm {
    padding: 15px 20px 15px 0px;
    color: #FF7F40;
    font-size: 20px;
}

.attention {
    opacity: 0.4;
    width: 33px;
    position: absolute;
    left: 0px;
    top: 0px;
    margin-left: -10px;
}

.knopka-ikonka {
    background: #63a404;
    padding: 10px 33px 9px 30px;
    border-radius: 0 20px 20px 0;
    font-size: 17px;
    box-shadow: rgba(229, 229, 229, 0) 1px 1px;
    -webkit-animation: knopka-ikonka 1s linear infinite;
    animation: knopka-ikonka 1s linear infinite;
}

@-webkit-keyframes knopka-ikonka {
    0% {
        color: #000000;
    }

    50% {
        color: #B7FF40;
    }

    100% {
        color: #000000;
    }
}

@keyframes knopka-ikonka {
    0% {
        color: #000000;
    }

    50% {
        color: #B7FF40;
    }

    100% {
        color: #000000;
    }
}

.warning {
    margin-left: 63px;
}

.f-screens {
    padding: 10px 5px 0 5px;
    border: 1px solid #111;
    background-color: #282828;
    text-align: center;
    margin-bottom: 10px;
    display: none;
}

.f-screens a, .f-screens > img {
    display: inline-block;
    vertical-align: top;
    margin: 0 5px 10px 5px;
    max-width: 250px;
    max-height: 150px;
    overflow: hidden;
}

.f-screens a img {
    display: block;
}

.f-screens br {
    display: none;
}

.btn-dl ul {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    width: 200px;
    padding: 5px 0;
    display: none;
}

.btn-dl ul li {
    padding: 5px 10px;
    line-height: normal;
    text-transform: none;
}

.btn-dl ul li a {
    color: #fff;
}

.btn-dl li:hover {
    background-color: #000;
}

.f-rate {
    float: left;
    white-space: nowrap;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
    background-color: #222;
    box-shadow: 0 0 0 1px #111;
    width: 90px;
}

.rate-plus, .rate-minus, .rate-counts {
    display: inline-block;
    vertical-align: middle;
}

.rate-data {
    display: none;
}

.rate-counts {
    width: 160px;
    padding: 0 10px;
    padding-top: 3px;
    height: 40px;
}

.rate-plus, .rate-minus {
    cursor: pointer;
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 24px;
    background: linear-gradient(to bottom, #333 0%, #222 100%);
    line-height: 40px;
}

.rate-plus {
    color: #1e9b05;
    border-right: 1px solid #111;
}

.rate-minus {
    color: #d00707;
    border-left: 1px solid #111;
}

.rate-plus:hover, .rate-minus:hover {
    background: linear-gradient(to top, #444 0%, #222 100%);
}

.rate-bar {
    width: 100%;
    min-height: 6px;
    height: 6px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background-color: #ef4559;
}

.rate-fill {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #7bbc00;
    transition: width 1s linear;
}

.rate-perc {
    margin-right: 5px;
    font-size: 18px;
    color: #7bbc00;
}

.rels-t {
    margin-bottom: 10px;
    font-size: 24px;
    color: #FFF;
}

.full .thumb {
    padding: 10px 5px 0px 5px;
}


.related {
    margin: 0;
}

.rc-anchor-normal {
    border: solid var(--color-border) 1px !important;
    border-radius: 10px !important;
}


/* FULL STORY STATIC
----------------------------------------------- */
.video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame {
    max-width: 100% !important;
    display: block;
    width: 100%;
    height: 400px;
}

.mejs-container {
    max-width: 100% !important;
}

.full-text {
    font-size: 18px;
    line-height: 24px;
    background-color: #161d2b4d;
}


.gradient-text {
    background: linear-gradient(90deg, rgb(1, 243, 255) 0%, rgb(220, 127, 253) 54%);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.full-text img:not(.emoji) {
    max-width: 100%;
    margin: 10px 0;
}

.full-text > img[style*="left"], .full-text > .highslide img[style*="left"] {
    margin: 0 10px 10px 0;
}

.full-text > img[style*="right"], .full-text > .highslide img[style*="right"] {
    margin: 0 0 10px 10px;
}

.full-text a {
    text-decoration: underline;
    color: #d6f024;
}

.full-text a:hover {
    text-decoration: none;
}

.full-text h2, .full-text h3, .full-text h4, .full-text h5 {
    margin: 10px 0;
    font-size: 18px;
    font-weight: 700;
}

.full-text p {
    margin-bottom: 10px;
}

.full-text ul, .full-text ol {
    margin: 0;
}

.full-text ul li {
    list-style: disc;
    margin-left: 40px;
}

.full-text ol li {
    list-style: decimal;
    margin-left: 40px;
}

.full-taglist a {
    color: #d6f024;
}

.full-taglist {
    margin-top: 20px;
}

.full-taglist span:not(.fa):not(:last-child):after {
    content: ",";
    display: inline;
}


.desc-m {
    font-size: 23px;
    padding: 50px 0px 0px 17px;
    color: #5e7140;
}

.desc-t {
    font-size: 19px;
    padding: 0px 0px 9px 18px;
    margin: 20px 0px 0px 0px;
    color: #5e7140;
}

.desc-m {
    font-size: 19px;
    padding: 0px 0px 9px 18px;
    margin: 5px 0px 0px 0px;
    color: #5e7140;
}

.desc-ab {
    font-size: 19px;
    padding: 0px 0px 2px 12px;
    color: #5e7140;
}


/* Стили для формы */
.popup-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    padding: 20px;
    background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
    border: 1px solid var(--color-border);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none; /* Форма скрыта по умолчанию */
    z-index: 1000;
}

/* Задний фон затемнения */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none; /* Фон скрыт по умолчанию */
    z-index: 999;
}

/* Кнопка закрытия */
.close-btn {
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    float: right;
    position: relative;
    bottom: 36px;
    left: 15px;
}


/* COMMENTS
----------------------------------------------- */
#comments {
    border: solid var(--color-border) 1px !important;
    border-radius: 10px !important;
}


#dle-comments-list {
    display: block;
}


.commets_author_block {
    margin-bottom: 14px;
}

.full-comms {
    padding: 20px 4px 20px 10px;
    margin: 80px 0px 40px 0px;
}

.comms-title {
    line-height: 40px;
    margin: 7px 0px 15px 17px;
}

.comms-title > span {
    font-size: 16px;
}

.add-comm-form {
    position: relative;
    margin: 20px 0;
    -display: none;
}

.ac-soc {
    position: absolute;
    right: 0px;
    top: -8px;
}

.ac-soc:before {
    content: attr(data-label);
    display: inline-block;
    vertical-align: top;
    line-height: 30px;
    margin-right: 5px;
}

.ac-soc a {
    display: inline-block;
    margin: 0 0 0 3px;
    vertical-align: top;
}

.ac-soc img {
    display: block;
    width: 30px;
}

.ac-inputs, .ac-textarea {
    margin-bottom: 15px;
}


.ac-title {
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.ac-inputs input {
    width: 49%;
}

.ac-textarea textarea {
    height: 85px;
}

.ac-submit {
}

.sec-answer + .sec-label {
    margin-top: 10px;
}

.ac-protect {
    margin-top: -10px;
    display: none;
}

.ac-protect .label {
    font-size: 12px;
}

.ac-protect .sep-input {
    padding: 10px 10px 10px 160px;
}

.ac-protect input {
}

.mass_comments_action {
    text-align: right;
    padding: 5px 15px;
    margin: 20px 0 0 0;
}

.last-comm-link {
    font-size: 16px;
    margin-bottom: 10px;
}

.last-comm-link a {
    text-decoration: underline;
}

.comm {
    background-color: #161d2b4d;
    padding: 10px;
    margin-top: 10px;
}

.comm-av {
    width: 40px;
    height: 40px;
    float: left;
    margin-left: -50px;
    display: none;
}

.comm-meta {
    margin-bottom: 8px;
}

.comm-meta span + span {
    margin-left: 10px;
    opacity: 0.8;
}

.comm-author {
    font-weight: 700;
}

.comm-text {
    font: 16px/18px Arial, Helvetica, sans-serif;
    font-style: italic;
    color: #a4a748;
}

/* LOGIN
----------------------------------------------- */
.login-box {
    background-color: #161d2b4d;
    padding: 20px;
    display: none;
}

.lb-user {
    margin: -20px -20px 20px -20px;
    padding: 20px;
    background-color: #282828;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

.lb-ava {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
}

.lb-name div {
    font-size: 18px;
}

.lb-name a {
    margin-top: 10px;
}

.lb-menu a {
    display: block;
    line-height: 30px;
    padding: 0 10px;
    background-color: #282828;
}

.lb-menu a:hover, .lb-menu a:hover .fa {
    background-color: #d6f024;
    color: #fff;
}

.lb-menu a .fa {
    color: #d6f024;
}

.login-box input[type="text"], .login-box input[type="password"], .login-box button, .lb-check {
    display: block;
    margin-bottom: 20px;
    width: 100%;
}

.lb-check input {
    display: none;
}

.lb-check input + label:before {
    width: 14px;
    height: 14px;
    margin-right: 7px;
    cursor: pointer;
    position: relative;
    top: 3px;
    border-radius: 3px;
    border: 1px solid #111;
    content: "";
    background-color: #222;
    display: inline-block;
}

.lb-check input:checked + label:before {
    background-color: #e5050b;
}

.lb-soc {
    margin: 20px -20px -20px -20px;
    padding: 20px;
    background-color: #282828;
    text-align: center;
}

.lb-soc a {
    display: inline-block;
    margin: 10px 3px 0 3px;
    vertical-align: top;
}

.lb-soc img {
    display: block;
    width: 30px;
}

/* GO TOP BUTTON */
#gotop {
    position: fixed;
    width: 40px;
    height: 40px;
    line-height: 36px;
    right: 10px;
    bottom: 10px;
    cursor: pointer;
    font-size: 20px;
    z-index: 9998;
    display: none;
    opacity: 0.7;
    background-color: #000;
    color: #FFF;
    border-radius: 0%;
    text-align: center;
}

/* ADAPTIVE
----------------------------------------------- */


@media screen and (max-width: 480px) {
    .center2 {
        max-width: 320px;
    }

    .allcount {
        display: none;
    }

    .show-login {
        padding: 0 5px;
        font-size: 12px;
        max-width: 60px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo {
        display: none;
    }

    .thumb {
        width: 100%;
    }

    .thumbR {
        width: 100%;
    }

    .f-desc {
        padding: 0px;
        background-image: linear-gradient(to right, var(--color-1) -20%, var(--color-2) 50%, var(--color-1) 120%);
        margin: 0px 0px 0px 0px;
    }

    .site-desc {
        display: none;
    }

    .add-comm-btn {
        padding: 0px 29px;
    }

    .comms-title2 {
        text-align: center;
        display: block !important;
    }

    .video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame {
        height: 250px;
    }

    .allcount {
        display: none;
    }


    .comms-title {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .blokdownload {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 20px 0px 40px 0px;
    }
}


.topnews {
    width: 220px;
}

.topnewsimg {
    margin: 45px 0px 0px 0px;
}

.iframe_popup {
    position: absolute;
}

.iframe_conteyner {
    height: 0px;
    padding-bottom: 56.2%;
    position: relative;
}

.iframe_conteyner iframe {
    width: 100%;
    height: 100%;
    position: absolute;
}
