/*
- © nk-cs.ru 2010-2019
- Author: Erdem Turan (na3uTuB4uk)
- Author Email: support@nk-cs.ru
- ВКонтакте: http://vk.com/na3utub4uk
- Skype: na3uTuB4uk94
- Web Site: http://nk-cs.ru/
*/

/* Main Style ThemeDroid */
@import url('/css/style.css');
@import url('/css/engine.css');
@import url('/highslide/highslide.css') all;

@import url('/css/my.css');

/* Other Style ThemeDroid */
.com-order-block {display: none;}
.uadm *, .uadm--mini {display:none !important;}

.eTag { }
.eTag:hover { }

/* Допиливаем страницу добавления (Каталог файлов) с закосом под Dle */
.form-fields input[type=text] { width: auto; border: 2px solid #e9e9e9; -webkit-border-radius: 50px; border-radius: 50px; height: 60px; margin-bottom: 25px; outline: 0; padding: 0 25px; font: 18px PTSansRegular, sans-serif; color: #000; }
.manTable input[type=text] { width: auto; border: 2px solid #e9e9e9; -webkit-border-radius: 50px; border-radius: 50px; height: 60px; margin-bottom: 25px; outline: 0; padding: 0 25px; font: 18px PTSansRegular, sans-serif; color: #000; }
.manTable textarea { width: 100%;
 border: 2px solid #e9e9e9;
 -webkit-border-radius: 35px;
 border-radius: 35px;
 margin-bottom: 25px;
 height: 145px;
 outline: 0;
 padding: 15px 25px;
 font: 18px PTSansRegular, sans-serif;
 color: #000 }










/* SEO-текст внизу страницы категории */
.category-seo-text {
 padding: 35px 0 45px;
 margin-top: 20px;
 background: #f7f7f7;
 color: #444;
 border-top: 1px solid #e5e5e5;
}

.category-seo-text h2 {
 margin: 0 0 16px;
 color: #17252a;
 font-family: MuseoSansCyrl-700, Arial, sans-serif;
 font-size: 26px;
 line-height: 1.3;
}

.category-seo-text p {
 max-width: 1000px;
 margin: 0 0 12px;
 color: #555;
 font-family: PTSansRegular, Arial, sans-serif;
 font-size: 16px;
 line-height: 1.65;
}

.category-seo-text p:last-child {
 margin-bottom: 0;
}







/* Социальные сети и статистика в подвале */
.footer-social-stats {
 display: inline-flex;
 align-items: flex-start;
 justify-content: flex-end;
 gap: 28px;
}

/* Перекрываем старые размеры 90 × 32 */
.footer_bottom .liveinternet {
 position: static;
 display: block;
 width: auto;
 height: auto;
 min-width: 145px;
 margin: 0;
 padding: 0;
 color: #c9c9c9;
 font: 13px/1.55 PTSansRegular, Arial, sans-serif;
 text-align: left;
}

.footer_bottom .liveinternet-title {
 margin-bottom: 7px;
 color: #fff;
 font: 15px/1.3 PTSansBold, Arial, sans-serif;
}

.footer_bottom .liveinternet-counter {
 position: relative;
 padding-left: 18px;
}

.footer_bottom .liveinternet-counter::before {
 content: "";
 position: absolute;
 top: 7px;
 left: 1px;
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: #83bf0a;
 box-shadow: 0 0 0 3px rgba(131, 191, 10, 0.18);
}

.footer_bottom .liveinternet-users {
 margin-top: 5px;
 color: #9d9d9d;
 font-size: 12px;
}

.footer_bottom .liveinternet a {
 color: #83bf0a;
}

.footer_bottom .liveinternet a:hover {
 color: #fff;
}









/* Google Drive — ссылка скачивания */
.download_link_table .google-drive-download {
 display: inline-flex;
 align-items: center;
 gap: 12px;

 min-height: 42px;
 padding: 0;

 color: #111;
 background: none;
 border: 0;
 box-shadow: none;

 font-weight: 700;
 line-height: 1.3;
 text-decoration: underline;
}

/* Убираем старую круглую стрелку */
.download_link_table .google-drive-download::before,
.download_link_table .google-drive-download::after {
 display: none !important;
 content: none !important;
}

/* Убираем старый фон */
.download_link_table .google-drive-download span {
 padding: 0 !important;
 background: none !important;
}

.download_link_table .google-drive-icon {
 display: block;
 flex: 0 0 28px;

 width: 28px;
 height: 28px;
}

.download_link_table .google-drive-download:hover {
 color: #6da900;
}









/* Узкие баннеры-полочки в боковой колонке */
.sidebar-sites {
 display: flex;
 flex-direction: column;
 gap: 12px;
 margin-bottom: 32px;
}

.sidebar-site-card {
 display: flex;
 align-items: center;
 width: 100%;
 min-height: 78px;
 padding: 10px 14px;

 background: #fff;
 border: 1px solid #e5e5e5;
 border-left: 4px solid #83bf0a;
 box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);

 color: #17252a;
 text-decoration: none;

 transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-site-card:hover {
 color: #17252a;
 text-decoration: none;
 transform: translateY(-2px);
 box-shadow: 0 5px 16px rgba(0, 0, 0, 0.13);
}

.sidebar-site-card img {
 display: block;
 flex: 0 0 78px;

 width: 78px;
 height: 78px;
 margin-right: 14px;

 object-fit: contain;
 border-radius: 8px;
}

.sidebar-site-text {
 display: flex;
 flex-direction: column;
 min-width: 0;
}

.sidebar-site-text strong {
 margin-bottom: 4px;
 color: #17252a;
 font-size: 16px;
 line-height: 1.2;
}

.sidebar-site-text small {
 color: #777;
 font-size: 13px;
 line-height: 1.3;
}






/* Цвет текста только в мобильном mmenu */
.mm-menu .mm-listview > li > a:not(.mm-next),
.mm-menu .mm-listview > li > span {
 color: #333 !important;
 font-family: Arial, sans-serif !important;
 font-size: 14px !important;
 opacity: 1 !important;
 visibility: visible !important;
}

/* Цвет названия открытого подраздела */
.mm-menu .mm-navbar .mm-title,
.mm-menu .mm-navbar a {
 color: #333 !important;
}

/* Наведение и выбранный пункт */
.mm-menu .mm-listview > li > a:not(.mm-next):hover,
.mm-menu .mm-listview > li.mm-selected > a:not(.mm-next) {
 color: #83bf0a !important;
}










/* Ограничиваем длинные названия в информере */
.sidebar-material-title {
 height: 60px;
 margin: 0 0 8px;
 overflow: hidden;
 line-height: 20px;
 text-align: center;
}

.sidebar-material-title .android_app_title {
 display: -webkit-box;
 overflow: hidden;
 line-height: 20px;

 -webkit-box-orient: vertical;
 -webkit-line-clamp: 3;
}










/* Информер «Рекомендуем» */
.recommended-card {
 box-sizing: border-box;
 width: 100%;
 margin-bottom: 24px;
}

/* Картинка */
.recommended-card-image {
 display: block;
 width: 100%;
 margin-bottom: 10px;
 text-align: center;
}

.recommended-card-image .android_app_ico {
 display: block;
 width: 100%;
 height: 150px;
 margin: 0 auto;
 object-fit: contain;
}

/* Ограничение заголовка до 3 строк */
.recommended-card-title {
 height: 60px;
 margin: 0 0 8px;
 overflow: hidden;
 line-height: 20px;
 text-align: center;
}

.recommended-card-title .android_app_title {
 display: -webkit-box;
 overflow: hidden;
 line-height: 20px;
 -webkit-box-orient: vertical;
 -webkit-line-clamp: 3;
}

/* Категория */
.recommended-card .android_app_kategory {
 min-height: 20px;
 text-align: center;
}

/* На ПК — новая строка после каждой второй карточки */
@media only screen and (min-width: 992px) {
 .sidebar_item .row > .col-md-6:nth-child(2n+1) {
 clear: left;
 }
}

/* На планшете — после каждой третьей карточки */
@media only screen and (min-width: 768px) and (max-width: 991px) {
 .sidebar_item .row > .col-sm-4:nth-child(3n+1) {
 clear: left;
 }
}

/* На телефоне — после каждой второй карточки */
@media only screen and (max-width: 767px) {
 .sidebar_item .row > .col-xs-6:nth-child(2n+1) {
 clear: left;
 }

 .recommended-card-image .android_app_ico {
 height: 130px;
 }

 .recommended-card-title {
 height: 60px;
 line-height: 20px;
 }
}







/* Информер MYINF_1 */
.myinf1-card {
 box-sizing: border-box;
 width: 100%;
 margin-bottom: 26px;
}

/* Изображение */
.myinf1-card-image {
 display: block;
 width: 100%;
 margin-bottom: 10px;
 text-align: center;
}

.myinf1-card-image .android_app_ico {
 display: block;
 width: 100%;
 height: 150px;
 margin: 0 auto;
 object-fit: contain;
}

/* Ограничиваем название до 3 строк */
.myinf1-card-title {
 height: 60px;
 margin: 0 0 8px;
 overflow: hidden;
 line-height: 20px;
 text-align: center;
}

.myinf1-card-title .android_app_title {
 display: -webkit-box;
 overflow: hidden;
 line-height: 20px;

 -webkit-box-orient: vertical;
 -webkit-line-clamp: 3;
}

/* Категория на одинаковом уровне */
.myinf1-card .android_app_kategory {
 min-height: 20px;
 text-align: center;
}











/* Информер MYINF_2 */
.myinf2-card {
 box-sizing: border-box;
 width: 100%;
 margin-bottom: 26px;
}

.myinf2-card-image {
 display: block;
 width: 100%;
 margin-bottom: 10px;
 text-align: center;
}

.myinf2-card-image .android_app_ico {
 display: block;
 width: 100%;
 height: 150px;
 margin: 0 auto;
 object-fit: contain;
}

/* Ограничение названия до трёх строк */
.myinf2-card-title {
 height: 60px;
 margin: 0 0 8px;
 overflow: hidden;
 line-height: 20px;
 text-align: center;
}

.myinf2-card-title .android_app_title {
 display: -webkit-box;
 overflow: hidden;
 line-height: 20px;
 -webkit-box-orient: vertical;
 -webkit-line-clamp: 3;
}

.myinf2-card .android_app_kategory {
 min-height: 20px;
 text-align: center;
}










/* Информер MYINF_3 */
.myinf3-card {
 box-sizing: border-box;
 width: 100%;
 margin-bottom: 26px;
}

.myinf3-card-image {
 display: block;
 width: 100%;
 margin-bottom: 10px;
 text-align: center;
}

.myinf3-card-image .android_app_ico {
 display: block;
 width: 100%;
 height: 150px;
 margin: 0 auto;
 object-fit: contain;
}

/* Ограничиваем заголовок тремя строками */
.myinf3-card-title {
 height: 60px;
 margin: 0 0 8px;
 overflow: hidden;
 line-height: 20px;
 text-align: center;
}

.myinf3-card-title .android_app_title {
 display: -webkit-box;
 overflow: hidden;
 line-height: 20px;
 -webkit-box-orient: vertical;
 -webkit-line-clamp: 3;
}

.myinf3-card .android_app_kategory {
 min-height: 20px;
 text-align: center;
}








/* Информер MYINF_4 — популярные статьи */
.popular-article-card {
 width: 100%;
 margin-bottom: 26px;
}

/* Изображение статьи */
.popular-article-image {
 display: block;
 width: 100%;
 overflow: hidden;
}

.popular-article-image img {
 display: block;
 width: 100%;
 height: 210px;
 object-fit: cover;
 transition: transform 0.25s ease;
}

.popular-article-image:hover img {
 transform: scale(1.03);
}

/* Ограничиваем заголовок тремя строками */
.popular-article-title {
 height: 66px;
 margin: 0 0 12px;
 overflow: hidden;
 line-height: 22px;
}

.popular-article-title .article_item_title {
 display: -webkit-box;
 overflow: hidden;
 line-height: 22px;

 -webkit-box-orient: vertical;
 -webkit-line-clamp: 3;
}

/* Нижняя строка: дата и рейтинг */
.popular_article_item_box_bottom {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 10px;
}

.article_item_date {
 color: #999;
 font-size: 13px;
 line-height: 1.3;
}









/* Информер MYINF_5 */
.myinf5-card {
 box-sizing: border-box;
 width: 100%;
 margin-bottom: 26px;
}

.myinf5-card-image {
 display: block;
 width: 100%;
 margin-bottom: 10px;
 text-align: center;
}

.myinf5-card-image .android_app_ico {
 display: block;
 width: 100%;
 height: 150px;
 margin: 0 auto;
 object-fit: contain;
}

/* Ограничиваем название до трёх строк */
.myinf5-card-title {
 height: 60px;
 margin: 0 0 8px;
 overflow: hidden;
 line-height: 20px;
 text-align: center;
}

.myinf5-card-title .android_app_title {
 display: -webkit-box;
 overflow: hidden;
 line-height: 20px;
 -webkit-box-orient: vertical;
 -webkit-line-clamp: 3;
}

.myinf5-card .android_app_kategory {
 min-height: 20px;
 text-align: center;
}









/* Карточка комментария */
.comm-card {
 display: flex;
 align-items: flex-start;
 gap: 16px;

 box-sizing: border-box;
 width: 100%;
 margin: 0 0 18px;
 padding: 18px;

 background: #fff;
 border: 1px solid #e5e5e5;
 border-radius: 8px;
 box-shadow: 0 2px 9px rgba(0, 0, 0, 0.05);
}

/* Аватар */
.comm-card-avatar {
 display: flex;
 align-items: center;
 justify-content: center;
 flex: 0 0 54px;

 width: 54px;
 height: 54px;
 margin: 0;

 background: #f6f7f4;
 border: 1px solid #e1e4dc;
 border-radius: 50%;
 overflow: hidden;
}

.comm-avatar-link {
 display: block;
 width: 54px;
 height: 54px;
}

.comm-avatar-img {
 display: block;
 width: 54px !important;
 height: 54px !important;
 max-width: 54px !important;
 max-height: 54px !important;

 object-fit: cover;
 border-radius: 50%;
}

.comm-avatar-placeholder {
 display: flex;
 align-items: center;
 justify-content: center;

 width: 54px;
 height: 54px;
}

.comm-avatar-icon {
 display: block;
 width: 26px !important;
 height: 26px !important;

 fill: #83bf0a;
 color: #83bf0a;
}

/* Правая часть */
.comm-card-content {
 flex: 1 1 auto;
 min-width: 0;
}

/* Верхняя строка */
.comm-card-header {
 display: flex;
 align-items: flex-start;
 justify-content: space-between;
 gap: 15px;

 margin-bottom: 12px;
 padding-bottom: 10px;

 border-bottom: 1px solid #ececec;
}

.comm-card-meta {
 display: flex;
 align-items: center;
 flex-wrap: wrap;
 gap: 6px 9px;

 min-width: 0;
 font-size: 13px;
 line-height: 1.4;
}

.comm-number {
 color: #999;
 text-decoration: none;
}

.comm-number:hover {
 color: #83bf0a;
}

.comm-profile-link,
.comm-profile-name {
 color: #2365b5;
 font-weight: 700;
 text-decoration: none;
}

.comm-profile-link:hover {
 color: #83bf0a;
}

.comm-info {
 color: #999;
}

.comm-to-entry a {
 color: #777;
 font-size: 12px;
}

/* Оценка комментария */
.comm-card-tools {
 display: flex;
 align-items: center;
 gap: 10px;
 flex-shrink: 0;
}

.comm-rates {
 display: inline-flex;
 align-items: center;
 gap: 8px;

 min-height: 32px;
 padding: 4px 8px;

 background: #f7f7f7;
 border: 1px solid #e5e5e5;
 border-radius: 18px;
}

.u-rate-btn,
.comm-rate-disabled {
 display: inline-flex;
 align-items: center;
 justify-content: center;

 width: 26px;
 height: 26px;
 margin: 0;
 padding: 0;
}

.comm-rate-icon {
 display: block;
 width: 18px !important;
 height: 18px !important;
}

.comm-rate-like .comm-rate-icon {
 fill: #74ae08;
 color: #74ae08;
}

.comm-rate-dislike .comm-rate-icon {
 fill: #d9534f;
 color: #d9534f;
}

.comm-rate-disabled .comm-rate-icon {
 fill: #aaa;
 color: #aaa;
}

.u-rate-wrapper {
 min-width: 20px;
 color: #555;
 font-size: 13px;
 text-align: center;
}

/* Текст комментария */
.comm-card-body {
 color: #333;
 font-size: 15px;
 line-height: 1.6;
}

.comm-message {
 overflow-wrap: anywhere;
}

.comm-message p {
 margin: 0 0 10px;
}

.comm-message p:last-child {
 margin-bottom: 0;
}

/* Ответ администратора */
.comm-answer {
 margin-top: 16px;
 padding: 14px 16px;

 color: #444;
 background: #f5f8ef;
 border-left: 4px solid #83bf0a;
 border-radius: 4px;
}

.comm-answer strong {
 display: block;
 margin-bottom: 5px;
 color: #17252a;
}

/* Действия */
.comm-actions {
 margin-top: 14px;
}

.comm-answer-link {
 display: inline-block;
 padding: 7px 15px;

 color: #fff;
 background: #83bf0a;
 border-radius: 18px;

 font-size: 13px;
 font-weight: 700;
 text-decoration: none;
}

.comm-answer-link:hover {
 color: #fff;
 background: #73a908;
}

.comm-moder-wrapper {
 font-size: 12px;
}










/* Рабочая форма добавления комментария */
#add-comm-form {
 box-sizing: border-box;
 width: 100%;
 margin-top: 18px;
 padding: 24px;

 background: #f8f8f8;
 border: 1px solid #e3e3e3;
 border-radius: 8px;
}

/* Заголовок формы */
#add-comm-form .ac-title {
 margin: 0 0 16px;

 color: #17252a;
 font-family: MuseoSansCyrl-700, Arial, sans-serif;
 font-size: 17px;
 font-weight: 700;
 line-height: 1.3;
}

/* Социальный вход */
#add-comm-form .ac-soc {
 display: flex;
 align-items: center;
 flex-wrap: wrap;
 gap: 7px;

 margin-bottom: 14px;
}

#add-comm-form .ac-soc::before {
 content: attr(data-label);
 width: 100%;
 margin-bottom: 2px;

 color: #666;
 font-size: 13px;
 line-height: 1.3;
}

#add-comm-form .ac-soc a {
 display: flex;
 align-items: center;
 justify-content: center;

 width: 34px;
 height: 34px;

 border-radius: 4px;
 overflow: hidden;

 transition: opacity 0.2s ease, transform 0.2s ease;
}

#add-comm-form .ac-soc a:hover {
 opacity: 0.85;
 transform: translateY(-1px);
}

#add-comm-form .ac-soc img {
 display: block;
 width: 34px !important;
 height: 34px !important;
 max-width: 34px !important;

 object-fit: cover;
}

/* Имя и email */
#add-comm-form .ac-inputs {
 display: flex;
 gap: 14px;

 width: 100%;
 margin-bottom: 14px;
}

#add-comm-form .ac-inputs input {
 box-sizing: border-box;
 flex: 1 1 0;

 width: 100%;
 min-width: 0;
 height: 42px;
 padding: 9px 12px;

 color: #222;
 background: #fff;
 border: 1px solid #cfcfcf;
 border-radius: 4px;

 font-family: Arial, sans-serif;
 font-size: 14px;
 line-height: 22px;
}

#add-comm-form .ac-inputs input:focus {
 outline: none;
 border-color: #83bf0a;
 box-shadow: 0 0 0 3px rgba(131, 191, 10, 0.13);
}

/* Область сообщения */
#add-comm-form .ac-textarea {
 width: 100%;
 margin-bottom: 14px;
}

/* Панель BB-кодов */
#add-comm-form .bb-pane {
 display: flex;
 align-items: center;
 flex-wrap: wrap;
 gap: 3px;

 box-sizing: border-box;
 min-height: 38px;
 padding: 5px 7px;

 background: #eeeeee;
 border: 1px solid #d4d4d4;
 border-bottom: 0;
 border-radius: 5px 5px 0 0;
}

#add-comm-form .bb-btn {
 display: inline-block;
 flex: 0 0 auto;

 width: 25px;
 height: 25px;
 margin: 0;

 cursor: pointer;
}

#add-comm-form .bb-sep {
 display: inline-block;
 width: 1px;
 height: 20px;
 margin: 0 3px;

 background: #c7c7c7;
}

/* Поле комментария */
#add-comm-form textarea.commFl {
 box-sizing: border-box;
 display: block;

 width: 100% !important;
 max-width: none !important;
 min-height: 180px;
 margin: 0;
 padding: 12px;

 color: #222;
 background: #fff;
 border: 1px solid #cfcfcf;
 border-radius: 0 0 5px 5px;

 font-family: Arial, sans-serif;
 font-size: 15px;
 line-height: 1.5;

 resize: vertical;
}

#add-comm-form textarea.commFl:focus {
 outline: none;
 border-color: #83bf0a;
 box-shadow: 0 0 0 3px rgba(131, 191, 10, 0.13);
}

/* CAPTCHA */
#add-comm-form .form-item.imp {
 box-sizing: border-box;
 float: none !important;

 width: 100%;
 margin: 0 0 14px;
 padding: 12px !important;

 background: #fff;
 border: 1px solid #dedede;
 border-radius: 5px;
}

#add-comm-form .form-item.imp > div {
 max-width: 100%;
}

/* Нижняя часть формы */
#add-comm-form .ac-submit {
 display: flex;
 align-items: center;
 justify-content: flex-start;
 gap: 12px;

 clear: both;
 margin-top: 14px;
}

/* Скрываем пустой служебный аватар */
#add-comm-form .ucf-avatar,
#add-comm-form .ac-av {
 display: none !important;
}

/* Кнопка */
#add-comm-form .ac-submit button {
 display: inline-flex;
 align-items: center;
 justify-content: center;

 min-width: 170px;
 min-height: 44px;
 padding: 11px 24px;

 color: #fff;
 background: #83bf0a;
 border: 0;
 border-radius: 24px;

 font-family: Arial, sans-serif;
 font-size: 15px;
 font-weight: 700;
 line-height: 1.2;

 cursor: pointer;
 transition: background 0.2s ease, transform 0.2s ease;
}

#add-comm-form .ac-submit button:hover {
 background: #72a908;
 transform: translateY(-1px);
}

/* Системные сообщения */
#add-comm-form .myWinError,
#add-comm-form .myWinSuccess {
 float: none !important;
 display: block;
 margin: 0 0 14px;
 padding: 10px 12px;

 border-radius: 4px;
 font-weight: 700;
}

#add-comm-form .myWinError {
 color: #a94442 !important;
 background: #f8dddd;
 border: 1px solid #edc2c2;
}

#add-comm-form .myWinSuccess {
 color: #4f7e08 !important;
 background: #eef7df;
 border: 1px solid #d6e8b8;
}