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

/* Main style Hype-Blog */
@import url('/css/engine.css');
@import url('/css/styles.css');

/* Other style Hype-Blog Template */
.com-order-block {display: none;}
.uadm *, .uadm--mini {display:none !important;}
.catmenu li {margin-top: 10px;}
.catmenu li a{color: #fff !important;}

/* Add form file catalog*/
#txtPart555brief div:nth-child(3n+2), #txtPart555message div:nth-child(3n+2) { display: none; }
#cke_brief div, #cke_message div { background-color: #d3d5d3 !important; border: none !important; padding: 0 !important;}
#txtPart555brief div:first-child, #txtPart555message div:first-child {display: none;}

.cke_reset {display: block !important; }
.fHelp b {color #444 !important;}
form #uCatsMenu7 {position: relative !important; height: 150px !important;; display: block !important; visibility: inherit !important;}
.u-comboeditcell {display: none !important;}
.u-combo { margin-bottom: -15px; padding: 10px !important; white-space: normal !important; border-collapse: collapse !important; border: none !important; float: none !important; width: 100% !important;}
.u-combolist { background: #fff !important; border: 0px solid #fff !important;color: #fff!important; font-weight: 400!important; overflow: auto!important; position: relative!important; padding: 9px 5px!important; border-radius: 3px!important; width: 100% !important; height: 140px!important; box-shadow: inset 0 0 0 1px #e3e3e3, inset 1px 2px 5px rgb(0 0 0 / 10%) !important;}
.u-combolist>div {padding: 3px 10px; color: #000;}
#iplus input[type="button"] { box-shadow: none !important; width: 24px !important; height: 20px !important; padding: 3px !important; line-height: 8px !important; text-align: left; padding-left: 3px; background-color: #f4f4f4; border: 1px solid #a2a2a2 !important; border-radius: 0px !important; color: #444;}
.u-combolist>div label { vertical-align: baseline !important;}
.form-fields input[type="text"] { border: 1px solid #e3e3e3; background: #fff; -moz-box-shadow: inset 0 0 5px rgba(0,0,0,.05); -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); box-shadow: inset 0 0 5px rgba(0,0,0,.05); color: #5c5c5c; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; padding: 7px 10px; margin: 0 0 0 0;}
.myWinCont input[type=password], .myWinCont input[type=text], .myWinCont textarea { color: #111 !important; }

/* PM for uCoz */
.pmCatLinkActive, .pmCatLink {padding: 0 10px; background: #eaf0f2; line-height: 40px; display: inline-block;}
.pmCatLinkActive:hover, .pmCatLink:hover { background:#444; color:#fff;}
.pm-page table { border: 1px solid #ccc !important; width: 100% !important; margin-top: 20px;}
.pm-page tr td, .userstop tr td {padding:10px; border:1px solid #ccc; font-size:12px; }
.pm-page tr:nth-child(2n+2), .userstop tr:nth-child(2n+2) {background-color:#f9f9f9;}
.pm-page select {margin-bottom:10px;}
.pm-page input[type="submit"], #addform input[type="button"], #addform input[type="password"], #addform input[type="reset"] {width: auto !important;}
.main table input[type="submit"], .main table input[type="button"], .main table input[type="password"], .main table input[type="reset"] {width: auto !important;}




/* Блок кода с номерами строк */
.bbCodeBlock {
 margin: 20px 0;
 border-radius: 10px;
 background: #1e1e1e;
 border: 1px solid #333;
 overflow: hidden;
}

/* Шапка с надписью CODE */
.bbCodeBlock .bbCodeName {
 display: block !important;
 background: #2d2d2d;
 padding: 6px 14px;
 font-size: 11px;
 font-weight: 600;
 letter-spacing: 0.5px;
 color: #888;
 text-transform: uppercase;
 border-bottom: 1px solid #3d3d3d;
 font-family: system-ui, -apple-system, sans-serif;
}

/* Обертка для кода и номеров строк - убираем flex, делаем таблицу */
.code-wrapper {
 display: table;
 width: 100%;
}

/* Номера строк - ячейка таблицы */
.line-numbers {
 display: table-cell;
 background: #252526;
 color: #858585;
 text-align: right;
 padding: 12px 10px 12px 15px;
 font-size: 13px;
 line-height: 1.5;
 font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
 user-select: none;
 border-right: 1px solid #3d3d3d;
 vertical-align: top;
 white-space: nowrap;
}

/* Содержимое кода - ячейка таблицы */
.codeMessage {
 display: table-cell !important;
 margin: 0 !important;
 padding: 12px 15px !important;
 background: #1e1e1e !important;
 color: #d4d4d4 !important;
 font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
 font-size: 13px !important;
 line-height: 1.5 !important;
 white-space: pre-wrap !important;
 word-break: break-word !important;
 vertical-align: top;
 overflow: visible !important;
}

/* Убираем фон и отступы у hljs */
.codeMessage .hljs {
 background: transparent !important;
 padding: 0 !important;
}