﻿.buble {
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    padding: 5px;
    margin-left: 1px;
    margin-bottom: 1px;
    font-size: 12px;
    font-weight: normal;
}

.attDesc {
    padding-left: 2px;
    padding-right: 2px;
    font-size: 12px;
    font-weight: normal;
}

.instrDescriprion {
    padding-left: 27px;
    padding-top: 10px;
    padding-right: 2px;
    font-size: 12px;
    font-weight: normal;
    color: grey;
}

.subQA {
    margin-left: 30px;
    background: #f2f2f2;
    font-size: 12px;    
}

    .subQA:before {
        content: url("../images/16x16/irc_online.png");
        position: relative;
        top: 3px;
        left: 5px;
        padding-right: 10px;
    }

.QA {
    font-size: 14px;
    /*white-space: nowrap;*/
}

    .QA:before {
        content: url("../images/16x16/irc_online.png");
        position: relative;
        top: 3px;
        left: 5px;
        padding-right: 10px;
    }

.question {
    background: #c4e3ed;
    font-size: 14px;
    font-family: 'Courier New';
}

    .question:before {
        content: url("../images/16x16/xchat.png");
        position: relative;
        top: 1px;
    }

.questionType {
    padding-top: 15px;
    font-weight: bold;
    font-size: 11px;
}

.patternQuestion {
    background: #fff3e6;
    font-size: 12px;
}

.text {
    background: #d9f2d9;
    white-space:pre-line;
}

    .text:before {
        content: url("../images/16x16/textcolor.png");
        position: relative;
        top: 3px;
        padding-right: 5px;
    }

.info {
    font-style: italic;
    font-size: 14px;
    margin-top: 10px;
}

.chapter {
    padding: 10px;
    font-size: 14px;  
    text-wrap: none;
}

h3 {
    margin-left: 5px;
}

h2 {
    margin-left: 5px;
}

.chaprerIcon {
    background-image: url("../images/24x24/kaddressbook.png");
    background-repeat: no-repeat;
    padding: 5px;
    display: block;
    padding-left: 35px;
}

.button {
    display: inline-block;
    background: #ffc14d;
    padding: 5px;
    margin: 5px;
    box-shadow: 2px 2px 10px 1px;
}

    .button:before {
        content: url("../images/16x16/cell_layout.png");
        position: relative;
        top: 3px;
        padding-right: 5px;
    }

.pattern {
    background: #f0e8e0;
    font-size: 12px;    
}

    .pattern:before {
        content: url("../images/16x16/blockdevice.png");
        position: relative;
        top: 3px;
        left: 5px;
        padding-right: 10px;
    }

.instr {
    background: #e6e6ff;
    font-size: 12px;
}

    .instr:before {
        content: url("../images/16x16/gear.png");
        position: relative;
        top: 3px;
        padding-right: 5px;
    }

.webCommand {
    background: #e6e6ff;
    font-size: 12px;
}

    .webCommand:before {
        content: url("../images/16x16/network.png");
        position: relative;
        top: 3px;
        padding-right: 5px;
    }

.comments {
    background-color: moccasin;
    font-size: 12px;
    color: brown;
}

    .comments:before {
        content: url("../images/16x16/comment.png");
        position: relative;
        top: 3px;
        padding-right: 5px;
    }

.CommentToDo {
    background-color: #ffffcc;
    color: black;
}

.CommentFixMe {
    color: #ac1706;
    background-color: #fee9e6;
} 

.condition {
    background: #ccffcc;
    font-size: 12px;
}

    .condition:before {
        content: url("../images/16x16/ksysv.png");
        position: relative;
        top: 3px;
        padding-right: 5px;
    }

.answer {
    margin-top: 10px;
    background: #f5f8ec;
}

    .answer:before {
        content: url("../images/16x16/comment.png");
        position: relative;
        top: 3px;
        padding-right: 5px;
    }

.variable {
    background: #ffe6cc;
    font-size: 12px;
}

    .variable:before {
        content: url("../images/16x16/info.png");
        position: relative;
        top: 3px;
        padding-right: 5px;
    }

.serviceFile {
    background: #ffe6cc;
    font-size: 12px;
}

    .serviceFile:before {
        content: url("../images/16x16/filenew.png");
        position: relative;
        top: 3px;
        padding-right: 5px;
    }

.LinkedQuestions {
    margin-left: 12px;
}

    .LinkedQuestions:before {
        content: url("../images/16x16/attach.png");
        position: relative;
        top: 1px;
        padding-right: 5px;
    }

.testquestions {
    background: #ebf6f9;
    color: gray;
    font: normal 12px Arial;
    line-height: 12px;
    padding-top: 0;
    white-space: pre-line;
}

.HotNews {
    background: #fce7cf;
}

    .HotNews:before {
        content: url("../images/16x16/bell.png");
        position: relative;
        top: 3px;
        padding-right: 5px;
    }

ul, #treeUL {
    list-style-type: none;
}

#treeUL {
    margin: 0;
    padding: 0;
}

.treeCaret {
    cursor: pointer;
    user-select: none; 
}

    .treeCaret::before {
        content: "\25B6";
        color: black;
        display: inline-block;
        margin-right: 6px;
    }

.treeCaret-down::before {
    transform: rotate(90deg);
}

.treeNested {
    display: none;
    padding-left: 2em;
    margin-bottom: 0.2rem;
}
    .treeNested > li {
        white-space: nowrap;
    }
.treeActive {
    display: block;
}

.MainKBTab {
    text-align: left;
    overflow: auto;
    padding-top: 10px;
}

.KBItem, .SubPatternItem, .VariableItem, .KBItemContent, .FileItem {
    cursor: pointer;
}

.KBItemSelected {
    border: 2px solid blue;
    box-shadow: navy, 3px, 3px;
}

.leftPanel {
    left: 0;
    height: 100%;
    width: 30%;
    position: relative;
    z-index: 1;
    top: 0;
    overflow-x: hidden;
    padding-top: 20px;
}

.rightPanel {
    right: 0;
    height: 100%;
    width: 70%;
    position: relative;
    z-index: 1;
    top: 0;
    overflow-x: hidden;
    padding-top: 20px;
}

#TabsKB, #TabsSubPatterns, #TabsVarDecl {
    padding: 1px;
}
#KBDiv{
    word-break:keep-all;
}
.ui-accordion-content {
    padding: 1em 2.2em;
}

.QANode {
    font-size: 12px;
    white-space: nowrap;
    user-select: none;
}

    .QANode:hover {
        background-color: #c4e3ed;
    }

.ChapterNode {
    font-size: 14px;
    white-space: nowrap;
}

    .ChapterNode:hover {
        background-color: #c4e3ed;
    }

.Revision {
    font-size: 12px;
    border: 1px solid gray;
    padding: 1px 5px;
}

.LockedForEdit {
    font-style: italic;    
}
    .LockedForEdit:after {
        position: relative;
        content: url("../images/16x16/gpg.png");
        top: 4px;
        right: -5px;
    }