:root {
    /* Colors */
    --color-bg-primary: #202030;
    --color-bg-secondary: #ffffff;
    --color-bg-tertiary: #343a40;
    --color-bg-accent: #0277BD;
    --color-bg-gradient-start: #33d3ff;
    --color-bg-gradient-end: #2a7db9;
    --color-bg-dark: #202030;
    --color-bg-light: #f7f7f7;
    --color-bg-gray: #eeeeee;
    --color-bg-success: rgba(51, 170, 221, .1);
    --color-bg-warning: rgba(128, 36, 0, .1);

    --color-text-primary: #000000;
    --color-text-secondary: #888;
    --color-text-tertiary: #424242;
    --color-text-light: #fff;
    --color-text-dark: #000;
    --color-text-accent: #33d3ff;
    --color-text-success: #0aef21ea;
    --color-text-warning: #802400;
    --color-text-info: #1d6280;
    --color-text-muted: #6c767c;

    --color-link-primary: #33d3ff;
    --color-link-hover: #888;
    --color-link-visited: #33d3ff;

    --color-border-primary: #dee2e6;
    --color-border-secondary: #e0e0e0;
    --color-border-dark: #bdbdbd;
    --color-border-light: rgba(222, 226, 230, 0.37);

    --color-button-shadow: #0c9cd5;
    --color-button-disabled: #8fa290;
    --color-rating-star: #33d3ff;
    --color-rating-hover: #0aef21ea;
    --color-crown: rgb(241, 199, 8);

    /* OS Colors */
    --color-windows: #00adef;
    --color-android: #82c91e;
    --color-ios: #adb5bd;
    --color-linux: #000;

    /* Typography */
    --font-family-primary: "Open Sans", Verdana, sans-serif;
    --font-family-secondary: "Roboto", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 12px;
    --font-size-xs: 11px;
    --font-size-lg: 1.1rem;
    --font-size-xl: 1.2rem;
    --font-size-2xl: 1.3rem;
    --font-size-3xl: 2rem;
    --line-height-base: 1.35;

    /* Spacing */
    --spacing-xs: 0.3rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;
    --spacing-3xl: 13rem;

    /* Borders */
    --border-radius-sm: 4px;
    --border-radius-md: 15px;
    --border-radius-lg: 0.25rem;

    /* Sizes */
    --container-max-width: 1240px;
    --logo-width: 32px;
    --button-max-width: 420px;
    --aside-max-width: 290px;
    --image-max-height: 351px;
    --text-content-max-height: 300px;

    /* Shadows */
    --shadow-block-hover: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    --shadow-block: 1px 0px 10px 2px rgba(34, 60, 80, 0.2);

    --shadow-button: 0 2px 0 0 var(--color-button-shadow);

    /* Z-index */
    --z-index-dropdown: 99;
    --z-index-modal: 999;
    --z-index-tooltip: 9999;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

@font-face {
    font-weight: 300;
    font-family: "Roboto";
    font-style: normal;
    font-display: optional;
    src: url("../fonts/f1827-c881b.eot");
    src: local("Roboto Light"), local("Roboto-Light"),
        url("../fonts/6da0f-05fbf.woff2") format("woff2"),
        url("../fonts/ae4de-66d46.woff") format("woff"),
        url("../fonts/4ce17-3b64f.ttf") format("truetype");
}

@font-face {
    font-weight: 400;
    font-family: "Roboto";
    font-style: normal;
    font-display: swap;
    src: url("../fonts/e239f-e838b.eot");
    src: local("Roboto"), local("Roboto-Regular"),
        url("../fonts/61467-43374.woff2") format("woff2"),
        url("../fonts/a2288-67206.woff") format("woff"),
        url("../fonts/3ddcd-48665.ttf") format("truetype");
}

@font-face {
    font-weight: 700;
    font-family: "Roboto";
    font-style: normal;
    font-display: optional;
    src: url("../fonts/adcaf-47202.eot");
    src: local("Roboto Bold"), local("Roboto-Bold"),
        url("../fonts/d6532-45ec3.woff2") format("woff2"),
        url("../fonts/63628-e106b.woff") format("woff"),
        url("../fonts/5d9de-5a80c.ttf") format("truetype");
}

body {
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-size: var(--font-size-base);
    font-family: var(--font-family-primary);
    line-height: var(--line-height-base);
}

.fs-6 {
    font-size: var(--font-size-sm);
}

.fs-13 {
    font-size: 13px;
}

.new-color {
    color: #ff6600;
}

html {
    scroll-behavior: smooth;
}

a {
    color: var(--color-link-primary);
}

.category-menu a {
    color: var(--color-text-primary);
}

a:visited {
    color: var(--color-link-visited);
}

a:hover {
    text-decoration: none;
    opacity: 0.9;
    color: var(--color-link-hover);
}

main {
    min-height: 100vh;
}

h1 {
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.h_no a,
.h_no a:hover,
.h_no,
.h_no:hover {
    /* color: var(--color-text-dark) !important; */
}

h2 {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.no-visual-a {
    color: var(--color-text-tertiary);
}

.no-visual-a:hover {
    color: var(--color-text-tertiary);
}

.h1_sub {
    list-style: none;
    font-size: 0.8rem;
    padding-left: 0;
    margin-bottom: var(--spacing-xs);
}

.h1_sub li {
    position: relative;
    margin-left: 10px;
    padding-left: 13px;
    display: inline-block;
}

.h1_sub li:first-child {
    margin-left: 0;
}

.h1_sub_rating {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

.h1_sub_rating li {
    font-size: 0.9rem;
    display: inline;
}

.bg-artical {
    background-color: var(--color-bg-secondary);
}

.menu .navbar {
    position: relative;
    padding: 0;
    box-shadow: var(--shadow-block);
}

.menu .bg-dark {
    background-color: var(--color-bg-secondary) !important;
}

.menu li {
    line-height: 29px;
    text-transform: uppercase;
}

.menu .nav-link:hover,
.active,
.nav-link .active {
    color: var(--color-text-accent) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--color-text-dark);
    white-space: nowrap;
}



.menu .col-lg-12 {
    padding: 0;
}

.breadcrumbs__link {
    color: var(--color-text-secondary);
    display: inline-block;
    margin-left: 0.7rem;
}

.breadcrumbs__one:after {
    position: absolute;
    display: inline;
    right: -10px;
    content: " » ";
    color: var(--color-text-secondary);
}

.breadcrumbs__end:after {
    content: "" !important;
}

.breadcrumbs__one {
    position: relative;
    list-style: none;
    display: inline-block;
}

.breadcrumbs__one a:hover:visited {
    color: var(--color-link-primary) !important;
}

.breadcrumbs__one a:visited {
    color: var(--color-text-secondary) !important;
}

.breadcrumbs__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs {
    position: relative;
    display: block;
    font-size: 13px;
    line-height: 18px;
    margin-top: var(--spacing-sm);
    overflow: auto;
    white-space: nowrap;
}

.breadcrumbs a,
.breadcrumbs__home i {
    color: var(--color-text-secondary);
}

.breadcrumbs a:hover,
.breadcrumbs__home i:hover {
    color: var(--color-link-primary);
}

.teh-aside {
    font-size: 0.889rem;
    background: var(--color-bg-gray);
    padding: var(--spacing-md);
    border: 1px solid var(--color-border-secondary);
    border-radius: var(--border-radius-sm);
    max-width: var(--aside-max-width);
}

.teh-aside ul {
    padding-left: 0;
}

.teh-aside li {
    list-style: none;
}

.border-aside {
    border-bottom: 1px solid var(--color-border-dark);
}

.form-control {
    border-radius: var(--border-radius-md) !important;
}

.btn-outline-secondary {
    border-color: transparent !important;
}

.teh-box a:hover {
    color: #2978a7 !important;
    text-decoration: none;
}

.teh-box .d-flex,
.teh-box .d-md-flex {
    margin-bottom: var(--spacing-xs);
}

.teh-box .d-flex:last-child {
    border-bottom: 0px;
}

.screen-box .screen {
    position: relative;
}

.screen-box img {
    width: 100%;
    max-height: var(--image-max-height) !important;
}

.mobile .screen-box img {
    width: 100%;
    max-width: 260px;
    max-height: 306px !important;
}

@media (max-width: 991px) {
    .teh-box span {
        font-size: 14px !important;
    }

    .screen-box img {
        width: 100%;
        max-width: 285px;
        max-height: var(--image-max-height);
    }
}

@media (max-width: 1199px) {
    .ya-share2__container_mobile.ya-share2__container_size_l .ya-share2__icon {
        height: 42px !important;
        width: 42px !important;
    }

    .h5-aside {
        font-size: 15px;
    }

    .navbar-nav .nav-link {
        font-size: 14px !important;
    }
}

.btn-admin {
    max-width: 140px !important;
    position: fixed;
    padding: 5px !important;
    right: 0;
    top: 100px;
    font-size: var(--font-size-xs) !important;
    z-index: var(--z-index-dropdown);
    color: var(--color-text-light) !important;
    box-shadow: none !important;
    border: 0 !important;
}

.btn-admin_delet {
    top: 140px;
    background: rgba(195, 66, 66, 0.863) !important;
}

.btn-admin_stats {
    top: 180px;
}

.btn-admin_cash {
    top: 220px;
}

.ya-shaerbox {
    position: relative;
}

.ya-share2 {
    position: absolute;
}

.tab-mod {
    padding: 6px;
}

.color-crown {
    color: var(--color-crown);
}

.fa-windows-color {
    color: var(--color-windows);
    font-size: 20px;
}

.fa-android-color {
    color: var(--color-android);
    font-size: 20px;
}

.fa-ios-color {
    padding-right: 0.2rem;
    color: var(--color-ios);
    font-size: 20px;
}

.fa-linux-color {
    padding-right: 0.2rem;
    font-size: 20px;
    color: var(--color-linux);
}

.navbar-brand {
    padding-top: 0;
}

.button-dw {
    margin-top: var(--spacing-sm);
    width: 100%;
    max-width: var(--button-max-width);
    font-weight: 700;
    box-shadow: var(--shadow-button);
    background: linear-gradient(to right, var(--color-bg-gradient-start), var(--color-bg-gradient-end));
    color: var(--color-text-light);
    border: 1px solid var(--color-button-shadow);
    display: inline-block;
    border-radius: var(--border-radius-md);
    font-size: 1.2em;
}

.button-dw:hover {
    opacity: 0.9;
    color: var(--color-text-light);
}



.button-dw:visited {
    color: var(--color-text-light) !important;
}

.btn-noactual {
    background-color: var(--color-button-disabled);
    box-shadow: 0 2px 0 0 #8c918c;
    border-color: var(--color-button-disabled);
}

.btn-noactual:hover {
    background-color: #acb9ac;
    border-color: var(--color-button-disabled);
}

.comments-box {
    padding: 20px 20px;
}

.a-mini a {
    font-size: 14px !important;
}

.table-os .active {
    background-color: transparent !important;
    color: #3cf !important;
    border-color: rgba(217, 217, 217, 0.177) !important;
    border-radius: var(--border-radius-md);
}

.table-os .nav-link:focus,
.table-os .nav-link:hover {
    border-color: rgba(217, 217, 217, 0.177) !important;
    border-radius: var(--border-radius-md) !important;
    color: #3cf !important;
}

.nav-tabs {
    border-bottom: 0px !important;
}

.mt-13 {
    margin-top: var(--spacing-3xl);
}

.text-content iframe {
    width: 100%;
    max-width: 650px;
}

.card-box h5 {
    font-size: 15px;
    margin-left: var(--spacing-md);
}

.card-box .logo {
    width: var(--logo-width);
}

.card-box {
    height: 69px;
    margin-top: 0.4rem;
    padding: 12px;
    display: flex;
    align-items: center;
    border-radius: var(--border-radius-md);
    background: var(--color-bg-secondary);
}

.card-recomend-box {
    background: var(--color-bg-secondary);
    padding: 5px;
    border-radius: var(--border-radius-md);
}

.card-recomend-box a {
    color: var(--color-text-primary);
}

.card-recomend-box__similar {
    padding: 15px 15px 10px 0px;
    margin-left: 0.001px;
}

.card-box-text {
    margin-left: var(--spacing-md);
    font-size: var(--font-size-xs) !important;
}

.card-recomend {
    height: 40px;
    padding: 3px;
    margin-top: 0rem;
}

.card-recomend-line {
    margin-left: 15%;
    width: 75%;
    border-bottom: 0.5px solid var(--color-text-primary);
}

.card-recomend-box div {
    margin-bottom: 0.1rem;
}

.card-recomend h5:hover {
    font-size: 20px;
    color: var(--color-text-light) !important;
    background: #999;
}

.card-recomend h5 {
    margin-left: 0.4rem;
    font-size: 15px !important;
}

.card-recomend .logo {
    width: var(--logo-width);
}

.other-version-box .card {
    background-color: var(--color-text-light);
    border: 0px solid var(--color-text-light);
    border-radius: var(--border-radius-lg);
}

.other-version {
    width: 350px;
    color: var(--color-text-light);
    padding: 10px 20px;
    background: var(--color-bg-accent);
}

.other-version:hover {
    opacity: 0.9;
    color: var(--color-text-light);
}

footer {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md);
    color: var(--color-text-secondary);
    background: var(--color-bg-secondary);
}

footer a {
    font-weight: bold;
    font-size: 1em;
    color: var(--color-text-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1px 2px;
}

footer a:hover {
    color: var(--color-link-primary);
    text-decoration: none;
}

footer a:visited {
    color: var(--color-text-light);
}

footer a:visited:hover {
    color: rgba(0, 173, 239, 1);
}

.rating-area {
    display: flex;
    flex-direction: row;
}

.rating-area input[type="radio"] {
    display: none;
}

.rating-area label {
    display: inline-block;
    cursor: pointer;
    font-size: 18px;
    color: lightgrey;
    margin: 0;
    padding: 0;
    transition: color var(--transition-fast);
    font-family: 'Arial', sans-serif;
}

.rating-area label:before {
    content: "★";
}

.rating-area label.filled {
    color: var(--color-rating-star);
}

.tech-apsolute {
    position: absolute;
    right: 15px;
    top: -20px;
}

.rating-area label:hover {
    color: var(--color-rating-hover);
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: var(--container-max-width) !important;
    }
}

.sidebar-widget {
    box-shadow: var(--shadow-block);
}

/* КАТЕГОРИИ */

.soft-card {
    margin: var(--spacing-sm) 0;
    padding: var(--spacing-md);
    background: var(--color-bg-secondary);
    border-radius: var(--border-radius-md);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-block);
}

.soft-card:hover {
    box-shadow: var(--shadow-block-hover);
}

.soft-card h5,
.soft-card h5 a {
    margin-top: var(--spacing-sm);
}

.soft_os_type {
    padding: 3px;
}

.bg-3599D3 {
    background: var(--color-bg-gradient-start) !important;
    color: var(--color-text-light) !important;
}

.bg-999999-hover:hover {
    background: #999999 !important;
}

.fake-button-download {
    background: linear-gradient(to right, #3599d3, #2a7db9);
    padding: 7px;
    color: var(--color-text-light) !important;
    border-radius: var(--border-radius-md);
}

.fake-button-download:hover {
    opacity: 1;
}

@media (max-width: 991px) {
    .fake-button-download {
        height: 100%;
        width: 50%;
    }
}

@media (max-width: 960px) {
    h5 {
        font-size: 1rem;
    }

    .soft-card-text p {
        font-size: 0.9rem;
    }

    .soft-card-text {
        display: flex;
        align-items: center;
    }

    .fake-button-download {
        height: 100%;
        max-width: 150px;
    }
}

.soft-card .logo {
    max-width: var(--logo-width);
    max-height: var(--logo-width);
}

.soft-card .linces {
    font-size: var(--font-size-sm);
    color: var(--color-text-tertiary) !important;
}

.soft-card .linc-text {
    color: rgba(66, 66, 66, 0.76) !important;
}

.soft-cat-link .link {
    margin-top: 0.4rem;
    background: #fafafa;
    padding: 4px;
}

.soft-cat-link .link:hover {
    box-shadow: var(--shadow-block);
}

.soft-cat-link .link {
    color: rgba(66, 66, 66, 0.76) !important;
    font-weight: bold;
    padding-left: 10px;
}

.h_tags_menu_top {
    color: var(--color-text-dark) !important;
    margin-right: 2px;
    font-size: 1.1em;
    display: inline;
    vertical-align: baseline;
    padding-left: 5px;
    background: none !important;
    cursor: default;
}

.h_tags_menu_top a {
    color: var(--color-text-dark) !important;
}

.h_tags_menu_top a:hover {
    color: var(--color-text-light) !important;
}

.div_tags_menu span .a,
.div_tags_menu .a {
    padding: 3px 5px;
    vertical-align: baseline;
    font-size: 1em;
}

.div_tags_menu .a {
    white-space: nowrap;
    padding: 5px;
    padding-left: 0;
    padding-right: 0;
}

.dropdown-item {
    color: var(--color-text-light);
}

.dropdown-item:active {
    background-color: #f8f9fa;
    color: var(--color-text-dark);
}

.div_tags_menu a,
.list-group a:visited {
    color: var(--color-text-primary);
}

.div_tags_menu a {
    padding: 1px;
    text-decoration: none;
}

.div_tags_menu_folder {
    line-height: 28px;
    padding-bottom: 2px;
    max-height: 999999px;
}

.div_tags_menu a:hover {
    color: var(--color-text-light);
    background: #999;
}

.carousel-control-prev {
    left: 0px;
}

.carousel-control-next,
.carousel-control-prev {
    background: var(--color-link-primary);
    position: relative;
    top: 20px;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 100px;
    color: var(--color-text-light);
    text-align: center;
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination__item--dots {
    display: inline-block;
    margin: 0 0.5rem;
    color: var(--color-link-primary) !important;
}

/* .page-item.active .page-link {
    z-index: 3;
    color: var(--color-text-light);
    background-color: var(--color-link-primary);
    border-color: var(--color-link-primary);
} */

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--color-link-primary);
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border-primary);
}

.collects .card-bg {
    padding: 0px;
    background: var(--color-bg-dark);
    border: 1px solid var(--color-text-light);
}

.collects .card-bg:hover {
    background: #999999;
}

.collects h5 {
    padding: 5px;
    padding-left: 10px;
    background: var(--color-link-primary);
}

.collects a {
    color: var(--color-text-light);
}

.collects p {
    padding: 5px;
    padding-left: 10px;
    font-size: 14px;
}

.aside-right {
    margin-top: var(--spacing-2xl);
}

/* .navbar-nav .active {
    color: var(--color-link-primary) !important;
    border-color: var(--color-link-primary) var(--color-link-primary) var(--color-text-light);
    opacity: 1;
} */

.list-group-item:first-child {
    border-radius: var(--border-radius-md) !important;
}

.list-group-item {
    position: relative;
    display: block;
    padding: .35rem 0.5rem;
    background-color: var(--color-bg-secondary);
    border: 3px solid rgba(0, 0, 0, .125);
    border-radius: var(--border-radius-md);
}

.contact_form {
    width: 100% !important;
    max-width: 800px;
}

.border-text-razdel {
    border-bottom: 1px solid var(--color-border-primary);
}

.mt-5-mod {
    margin-top: var(--spacing-2xl);
}

.voprosy {
    background: var(--color-bg-secondary);
    padding: 15px 15px 10px 25px;
    border-radius: var(--border-radius-md);
}

.voprosy ul {
    padding-left: 0px;
    list-style: none;
}

.voprosy li {
    margin: 0.2rem 0;
    padding-right: 0.5rem;
    font-size: 15px;
}

.voprosy a {
    color: var(--color-text-primary);
    font-weight: 600;
}

.h5-aside,
.fs-main__section-subtitle h3 {
    font-weight: 600;
    padding-left: 15px;
    font-size: 17px;
}

.collets-box {
    padding: 0px 0px;
    background: rgba(240, 240, 240, 0.9);
}

.collets-box .name:hover {
    color: var(--color-link-primary);
}

.collets-box .name {
    padding: 5px 0;
    color: var(--color-text-dark);
    font-size: 14px;
    font-weight: bold;
}

.collets-box img {
    width: 100%;
}

.best-soft-box ul {
    list-style: none;
    padding-left: 10px;
}

.best-soft-box li {
    font-size: 17px;
    margin-top: var(--spacing-sm);
}

.best-soft-box img {
    width: 100%;
    max-width: 30px;
}

.intro,
.intro-1 {
    margin-bottom: 15px;
    padding: 25px;
    background: var(--color-bg-success);
    color: var(--color-text-info);
    font-size: 19px;
    line-height: 32px;
}

.intro-1 {
    background: var(--color-bg-warning);
    color: var(--color-text-warning);
}

.voprosy_recomend_dll ul {
    padding: 1px 15px;
    list-style: none;
}

.btn-category-dll {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.3rem 0.45rem;
    font-size: 1.1rem;
    line-height: 1.5;
    border-radius: var(--border-radius-lg);
    transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    color: var(--color-text-tertiary);
}

.btn-category-dll:visited {
    color: var(--color-text-tertiary);
}

.navbar-nav .dropdown-menu {
    background: var(--color-text-tertiary);
}

.btn-category-dll:hover {
    background-color: var(--color-link-primary);
    border-color: var(--color-link-primary);
}

.versions-item {
    margin: var(--spacing-xs) 0;
}

.versions-item .v-item__wrap {
    background: var(--color-bg-secondary);
    padding: 8px;
    border-radius: var(--border-radius-md);
}

.versions-item__title {
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text-light) !important;
}

.border-r15 {
    border-radius: var(--border-radius-md) !important;
}

.versions-item__button {
    width: 100%;
    margin-top: 0;
    max-width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
}

.versions-item_button__wrap {
    padding-left: 0;
    padding-right: 0;
}

.tab-questions .fs-accordion__button {
    cursor: pointer;
    background: linear-gradient(to right, var(--color-bg-gradient-start), var(--color-bg-gradient-end));
    color: var(--color-text-light);
    padding: 10px;
    margin-bottom: 5px;
    transition: background-color var(--transition-normal);
    border-radius: var(--border-radius-md);
}

.tab-questions .fs-accordion__button:hover {
    background-color: #e9ecef;
}

.tab-questions .fs-accordion__button h3 {
    margin: 0;
    font-size: 1.25rem;
}

.tab-questions .fs-accordion__collapse {
    padding: 10px;
    border: 1px solid var(--color-border-primary);
    border-radius: var(--border-radius-md);
    border-top: none;
}

.developer_link {
    color: var(--color-text-tertiary);
}

.button-dw_ds {
    border-radius: 1%;
    border: 0px !important;
    box-shadow: 0 2px 0 0 #00ff481c;
    background: rgb(0, 16, 36);
    background: linear-gradient(30deg, rgba(0, 16, 36, 1) 0%, rgba(53, 153, 211, 1) 25%, rgba(0, 255, 158, 1) 100%);
}

.soft-view {
    font-size: 14px;
    margin-left: var(--spacing-md);
}

.autocomplete-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.autocomplete-item img {
    margin-right: 10px;
}

.os-type {
    margin-left: auto;
    text-align: right;
}

.edit-field {
    position: relative;
}

.ck {
    color: var(--color-text-dark) !important;
}

.ck a {
    color: var(--color-bg-accent) !important;
}

.edit-icon {
    display: none;
    font-size: 13px;
    color: var(--color-text-muted);
    position: absolute;
    cursor: pointer;
    left: -6.5px;
    opacity: 0.7;
    bottom: 10%;
}

.image.image-style-block-align-right {
    margin-left: auto;
    margin-right: 0;
}

.image_resized {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

.image.image-style-block-align-left {
    margin-left: 0;
    margin-right: auto;
}

.image.image-style-align-right {
    float: right;
    margin-left: var(--ck-image-style-spacing);
}

.image.image-style-align-left {
    float: left;
    margin-right: var(--ck-image-style-spacing);
}

.image.image_resized img {
    width: 100%;
}

.image img {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    min-width: 100%;
}

.image-inline {
    position: relative;
}

blockquote {
    border-left: 5px solid #ccc;
    font-style: italic;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

blockquote {
    margin: 0 0 1rem;
}

.table table {
    overflow: hidden;
}

.table table {
    border: 1px double #b3b3b3;
    border-collapse: collapse;
    border-spacing: 0;
    height: 100%;
    width: 100%;
}

.table table td,
.table table th {
    border: 1px solid #bfbfbf;
    min-width: 2em;
    padding: .4em;
}

.table td,
.table th {
    overflow-wrap: break-word;
    position: relative;
}

.todo-list {
    list-style: none;
}

.todo-list li {
    margin-bottom: 5px;
    position: relative;
}

.todo-list .todo-list__label>span[contenteditable=false]>input {
    -webkit-appearance: none;
    border: 0;
    display: inline-block;
    height: var(--ck-todo-list-checkmark-size);
    left: -25px;
    margin-left: 0;
    margin-right: -15px;
    position: relative;
    right: 0;
    vertical-align: middle;
    width: var(--ck-todo-list-checkmark-size);
}

.todo-list .todo-list__label>span[contenteditable=false]>input[checked]:before {
    background: #26ab33;
    border-color: #26ab33;
}

.todo-list .todo-list__label>span[contenteditable=false]>input:after {
    border-color: transparent;
    border-style: solid;
    border-width: 0 calc(var(--ck-todo-list-checkmark-size) / 8) calc(var(--ck-todo-list-checkmark-size) / 8) 0;
    box-sizing: content-box;
    content: "";
    display: block;
    height: calc(var(--ck-todo-list-checkmark-size) / 2.6);
    left: calc(var(--ck-todo-list-checkmark-size) / 3);
    pointer-events: none;
    position: absolute;
    top: calc(var(--ck-todo-list-checkmark-size) / 5.3);
    transform: rotate(45deg);
    width: calc(var(--ck-todo-list-checkmark-size) / 5.3);
}

.todo-list .todo-list__label>span[contenteditable=false]>input:before {
    border: 1px solid #333;
    border-radius: 2px;
    box-sizing: border-box;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    transition: box-shadow .25s ease-in-out;
    width: 100%;
}

.todo-list .todo-list__label>span[contenteditable=false]>input[checked]:before {
    background: #26ab33;
    border-color: #26ab33;
}

.edit-icon_text-content {
    display: none;
    font-size: 14px;
    opacity: 0.7;
    color: var(--color-text-muted);
    position: absolute;
    cursor: pointer;
    left: -6px;
    top: 0;
    z-index: var(--z-index-modal);
}

#features .features-container {
    margin: 0 -5px 10px;
    padding: 0;
    text-align: center;
    font-size: 0;
    width: 100%;
}

#features ul,
#overview ul {
    margin: 13px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1px 10px;
    justify-content: center;
    text-align: center;
}

#features ul li,
#overview ul li {
    flex: 1 1 calc(33.333% - 40px);
    box-sizing: border-box;
    padding: 5px;
    text-align: center;
    font-size: var(--font-size-base);
}

/* Медиа-запросы для адаптивного поведения */
@media (max-width: 992px) {

    #features ul li,
    #overview ul li {
        flex: 1 1 calc(50% - 40px);
    }
}

@media (max-width: 768px) {

    #features ul li,
    #overview ul li {
        flex: 1 1 calc(100% - 40px);
    }
}

@media (max-width: 1018px) {
    .features-grid {
        width: 33.33%;
    }
}

.features-grid {
    width: 33.333%;
    font-size: 15px;
}

.download-grid,
.features-grid,
.topical-grid {
    display: inline-block;
    vertical-align: top;
}

.features-content {
    padding: 0px;
    text-align: center;
}

.Pxj9rv {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Pxj9rv img {
    cursor: pointer;
    box-shadow: none;
    border: none;
}

.fs-accordion__item h3 {
    font-size: 16px !important;
}

.features-container h4 {
    font-size: 18px;
}

/* .list-group-item.active {
    background-color: var(--color-bg-tertiary);
    color: var(--color-text-primary) !important;
    border-color: var(--color-bg-tertiary);
    border-radius: var(--border-radius-md);
}

.list-group-item.active a::first {
    color: var(--color-text-primary);
} */

.text-content {
    position: relative;
    max-height: var(--text-content-max-height);
    overflow: hidden;
}

#text-content-field {
    max-height: none;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.text-wrapper {
    /* padding: 10px; */
}

.fade-out {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(36, 36, 36, 0.768));
    pointer-events: none;
}

[data-js-enabled="false"] .show-more-btn,
[data-js-enabled="false"] .fade-out {
    display: none !important;
}

[data-js-enabled="false"] #text-content-field {
    max-height: none !important;
}

.show-more-btn {
    display: none;
    color: var(--color-text-light);
    display: none;
    position: relative;
    margin-top: 10px;
    z-index: var(--z-index-modal);
    max-width: 350px;
    box-shadow: 0 2px 0 0 #31a9ee;
    background: linear-gradient(to right, var(--color-bg-gradient-start), var(--color-bg-gradient-end));
    border-radius: var(--border-radius-md);
}

.show-more-btn:hover {
    opacity: 0.9;
    color: var(--color-text-light);
    box-shadow: 0 2px 0 0 #31a9ee;
    background: linear-gradient(to right, #2a7baa, var(--color-bg-gradient-end));
}

.btn-outline-secondary__mod:hover {
    color: var(--color-text-light);
    background-color: var(--color-link-primary);
    border-color: var(--color-link-primary);
    border-radius: var(--border-radius-md) !important;
}

.btn-outline-secondary__mod:focus {
    border-radius: var(--border-radius-md) !important;
}

.show-more-btn:focus {
    color: var(--color-text-light);
    border-color: #31a9ee;
}

.show-more-btn .fa-arrow-down {
    font-size: 10px;
}

.admin-menu {
    position: absolute;
    left: 15px;
    top: 0;
}

#soft-form {
    margin-left: var(--spacing-md);
    position: absolute;
}

.button-edit-admin {
    position: absolute;
    left: 0;
    border: 1px solid var(--color-text-light);
    padding: 1px;
    bottom: 0;
    opacity: 0.4;
}

.button-edit-admin_right {
    position: absolute;
    border: 1px solid var(--color-text-light);
    padding: 1px;
    right: 0;
    bottom: 0;
    opacity: 0.4;
}

.edit-icon,
.edit-icon_text-content,
.admin-menu,
.button-edit-admin,
#soft-form,
.button-edit-admin_right,
.edit-field-invisible,
.btn-admin {
    display: none;
}

#admin-button {
    color: #fa0303;
    border: 1px solid #fa0303;
    padding: 1px;
}

.ck-reset_all :not(.ck-reset_all-excluded *),
.ck.ck-reset,
.ck.ck-reset_all {
    z-index: var(--z-index-tooltip);
}

.h1-soft-page {
    font-size: var(--font-size-2xl);
}

.text-danger,
.text-info,
.text-warning {
    padding: 5px;
    color: var(--color-text-light) !important;
}

.body_text_article p {
    margin: 2rem 2rem;
}

ol li {
    margin: var(--spacing-md) 0;
}

.img-fluid {
    margin: var(--spacing-md) 0;
}

.article-card {
    position: relative;
    z-index: 1;
    margin-bottom: var(--spacing-sm);
}

.article-bg {
    position: relative;
    z-index: -1;
    width: 100%;
}

.h5 {
    content: '';
    bottom: -8px;
    width: 90%;
    height: 100%;
    max-height: 50%;
    background: rgb(0 0 0 / 82%);
    z-index: 3;
    position: absolute;
    font-size: 15px;
    padding: 5px;
}

.test {
    width: 100%;
}

/* Дополнительные медиа-запросы для адаптивности */
@media (max-width: 576px) {
    :root {
        --font-size-base: 14px;
        --spacing-md: 0.75rem;
        --border-radius-md: 10px;
    }

    .button-dw {
        font-size: 1rem;
    }

    .card-box {
        height: auto;
        flex-direction: column;
        text-align: center;
    }

    .card-box-text {
        margin-left: 0;
        margin-top: var(--spacing-sm);
    }
}

/* Темная тема по умолчанию */
@media (prefers-color-scheme: light) {
    :root {
        --color-bg-primary: #F7F7F7;
        --color-text-primary: #333;
        --color-text-secondary: #666;
        --color-bg-secondary: #fff;
        --color-border-primary: #ccc;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn var(--transition-normal);
}

/* Утилитарные классы */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* Кастомные свойства для компонентов */
.ck.ck-editor {
    --ck-color-base-background: var(--color-bg-secondary);
    --ck-color-base-foreground: var(--color-text-primary);
}

/* Переменные для конкретных компонентов */
.soft-card {
    --soft-card-padding: var(--spacing-md);
    --soft-card-radius: var(--border-radius-md);
}

.card-box {
    --card-box-height: 69px;
    --card-box-padding: 12px;
}

/* Кастомные scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-text-secondary);
    border-radius: var(--border-radius-md);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-link-primary);
}



.recommendation-card {
    transition: transform 0.3s;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.game-title {
    font-weight: bold;
    color: #333;
    font-size: 15px;
}

.game-version {
    color: #666;
    font-size: 0.9rem;
}

.section-title {
    border-bottom: 2px solid var(--color-bg-gradient-start);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.soft-stats {
    font-size: 0.85rem;
    color: #6c757d;
}

.soft-stats i {
    width: 16px;
    text-align: center;
}



/* Стилизация фильтров */
.dl-filter {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.dl-filter__name {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.dl-filter__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dl-filter__links a {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    color: #495057;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.15s ease-in-out;
}

.dl-filter__links a:hover,
.dl-filter__links a.active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.dl-filter__links select {
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background: #fff;
    font-size: 0.875rem;
    color: #495057;
}

.dl-filter__links select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Стилизация таблицы */
.dl {
    width: 100%;
    margin-bottom: 1rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    border-collapse: separate;
    border-spacing: 0;
}

.dl thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    padding: 0.75rem;
    font-weight: 600;
    color: #495057;
    text-align: left;
}

.dl tbody tr {
    transition: background-color 0.15s ease-in-out;
}

.dl tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.dl__row td {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}

.dl__icon a {
    display: block;
    width: 24px;
    height: 24px;
    background: #0d6efd;
    border-radius: 0.25rem;
    text-decoration: none;
    position: relative;
}

.dl__icon a::after {
    content: "↓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
    font-size: 0.875rem;
}

.dl__info a {
    color: #212529;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.dl__info a:hover {
    color: #0d6efd;
}

.dl__name {
    font-weight: 600;
    font-size: 0.95rem;
}

.dl__loader {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-left: 0.5rem;
}

.dl__loader.forge {
    background: #e74c3c;
    color: #fff;
}

.dl__loader.neoforge {
    background: #9b59b6;
    color: #fff;
}

.dl__loader.fabric {
    background: #2ecc71;
    color: #fff;
}

.dl__link {
    font-size: 0.875rem;
    color: #6c757d;
}

.dl__langs {
    margin-top: 0.25rem;
}

.dl__lang {
    display: inline-block;
    width: 20px;
    height: 15px;
    border-radius: 0.125rem;
    margin-right: 0.25rem;
}

.dl__lang_ru {
    background: linear-gradient(to bottom, #fff 33%, #d52b1e 33%, #d52b1e 66%, #0039a6 66%);
}

.dl__size,
.dl__date {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Пагинация */
.dl-filter__pagination {
    margin: 1rem 0 0 0;
    display: flex;
    gap: 0.25rem;
}

.dl-filter__page a {
    display: block;
    padding: 0.375rem 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    color: #0d6efd;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

.dl-filter__page a:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.dl-filter__page.active a {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

/* Адаптивность */
@media (max-width: 768px) {
    .dl-filter__links {
        flex-direction: column;
        align-items: flex-start;
    }

    .dl thead {
        display: none;
    }

    .dl tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
    }

    .dl__row td {
        display: block;
        text-align: left;
        border-bottom: none;
        padding: 0.5rem 0.75rem;
    }

    .dl__row td::before {
        content: attr(data-label);
        font-weight: 600;
        display: inline-block;
        width: 80px;
        color: #495057;
    }

    .dl__icon {
        display: none;
    }
}

/* Анимации для фильтров */
.dl-filter__links a,
.dl-filter__links select {
    cursor: pointer;
}

.dl-filter__links a:active {
    transform: translateY(1px);
}


.thumbnails-responsive {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 15px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.thumbnails-responsive::-webkit-scrollbar {
    height: 6px;
}

.thumbnails-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.thumbnails-responsive::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.thumbnails-responsive::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.thumbnails-responsive .thumbnail-link {
    flex: 0 0 auto;
    width: 100px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .thumbnails-responsive {
        gap: 8px;
        padding-bottom: 12px;
    }

    .thumbnails-responsive .thumbnail-link {
        width: 90px;
    }

    .thumbnails-responsive .thumbnail img {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .thumbnails-responsive {
        gap: 6px;
    }

    .thumbnails-responsive .thumbnail-link {
        width: 80px;
    }

    .thumbnails-responsive .thumbnail img {
        height: 50px;
    }
}

@media (max-width: 400px) {
    .thumbnails-responsive .thumbnail-link {
        width: 70px;
    }

    .thumbnails-responsive .thumbnail img {
        height: 45px;
    }
}

.thumbnails-responsive .thumbnail-link:hover {
    border-color: #007bff;
}

.thumbnails-responsive .thumbnail img {
    width: 100%;
    height: 70px;
    object-fit: cover;
}

/* Адаптация основного контейнера */
.screen-box {
    width: 100%;
    overflow: hidden;
}

.screen img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}