.UR_chatKnowledgeBase .UR_chatSystemMessage {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 5;
}

.UR_chatKnowledgeBase .UR_chatSystemMessage .UR_chatMessageContainer {
    border-radius: 0;
    padding: 20px 30px;
    border-left: none;
    border-right: none;
}

.UR_chatKnowledgeBase.UR_chatSystemMessageFixed .UR_chatSystemMessage .UR_chatMessageContainer {
    border-bottom: 1px solid #dddddd;
}

.UR_chatKnowledgeBase .UR_chatListCategory {
    padding: 15px 0;
}

.UR_chatKnowledgeBase .UR_chatListCategoryName {
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 30px 10px 30px;
    font-weight: 600;
}

.UR_chatKnowledgeBase .UR_chatListSubCategory {
    margin-top: 20px;
}

.UR_chatKnowledgeBase .UR_chatListSubCategory .UR_chatListCategoryName {
    font-size: 14px;
}

.UR_chatKnowledgeBase .UR_chatListCategory .UR_chatListArticlesItem {
    /*border-bottom: 1px solid #efefef;*/
    padding: 10px 30px;
    cursor: pointer;
    border-top: 1px solid #dddddd;
    color: #555555;
}

.UR_chatKnowledgeBase .UR_chatListCategory .UR_chatListArticlesItem:hover {
    background: #fafafa;
}

.UR_chatKnowledgeBase .UR_chatListArticles:not(.UR_chatShowAll) .UR_chatListArticlesItem:nth-child(n+6) {
    display: none;
}

.UR_chatKnowledgeBase .UR_chatListShowMore {
    padding: 10px 30px;
    cursor: pointer;
    border-top: 1px solid #dddddd;
    font-weight: 600;
}

.UR_chatKnowledgeBase .UR_chatSearchResults {
    padding: 15px 0;
}

.UR_chatKnowledgeBase .UR_chatSearchResults .UR_chatSearchTitle {
    padding: 0 30px 10px 30px;
    margin-bottom: 5px;
    font-weight: 600;
}

.UR_chatKnowledgeBase .UR_chatSearchResults .UR_chatSearchItem {
    padding: 10px 30px;
    cursor: pointer;
    border-top: 1px solid #dddddd;
    color: #812aed;
}

.UR_chatKnowledgeBase .UR_chatSearchResults .UR_chatSearchNoResults {
    padding: 0 30px;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContainer {
    padding: 20px;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContainer .UR_chatArticleTitle {
    font-size: 18px;
    font-weight: 600;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent {
    line-height: 1.5em;
    word-wrap: break-word;
    margin-top: 15px;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent p {
    margin-bottom: 15px;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent img,
.UR_chatKnowledgeBaseArticle .UR_chatArticleContent video {
    max-width: 100%;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent ul, .UR_chatKnowledgeBaseArticle .UR_chatArticleContent ol {
    padding-left: 30px;
    margin-bottom: 10px;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent li {
    margin-top: 5px;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent li:first-child {
    margin-top: 0;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent h2,
.UR_chatKnowledgeBaseArticle .UR_chatArticleContent h3,
.UR_chatKnowledgeBaseArticle .UR_chatArticleContent h4 {
    margin: 30px 0 15px 0;
    color: #000000;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent h2:first-child,
.UR_chatKnowledgeBaseArticle .UR_chatArticleContent h3:first-child,
.UR_chatKnowledgeBaseArticle .UR_chatArticleContent h4:first-child {
    margin-top: 15px;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent hr {
    height: 1px;
    border: none;
    border-top: 1px solid #ccc;
    display: block;
    margin-bottom: 15px;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent h3,
.UR_chatKnowledgeBaseArticle .UR_chatArticleContent h4,
.UR_chatKnowledgeBaseArticle .UR_chatArticleContent h5,
.UR_chatKnowledgeBaseArticle .UR_chatArticleContent h6 {
    font-weight: normal;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent h1 {
    margin-bottom: 0;
    border-bottom: none;
    padding-top: 0;
    font-weight: 600;
    padding-right: 15px;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent h2 {
    font-size: 20px;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent h3 {
    font-size: 18px;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent h4 {
    font-size: 16px;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent blockquote {
    padding: 10px 20px 10px 20px;
    border: 1px solid #bfbfbf;
    background: #ffffff;
    border-radius: 5px;
    font-style: italic;
    margin-bottom: 15px;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent blockquote p:last-child {
    margin-bottom: 0;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent table {
    margin-bottom: 15px;
    border-collapse: collapse;
    max-width: 100%;
    width: 100%;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent table td {
    padding: 10px;
    border: 1px solid #ddd;
    vertical-align: top;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent table thead td {
    border-bottom: 2px solid #000;
    font-weight: bold;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent pre {
    background: #f8f8f8;
    background: -webkit-linear-gradient(top, #ffffff 50%, transparent 50%);
    background: -o-linear-gradient(top, #ffffff 50%, transparent 50%);
    background: -ms-linear-gradient(top, #ffffff 50%, transparent 50%);
    background: linear-gradient(#ffffff 50%, transparent 50%);
    background-size: 2em 4em;
    background-color: #f8f8f8;
    position: relative;
    padding-left: 30px;
    line-height: 2em;
    margin-bottom: 15px;
    white-space: pre-wrap;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleContent pre:before {
    content: "";
    position: absolute;
    left: 20px;
    border: 1px solid #6ce26c;
    top: 0;
    bottom: 0;
}

.UR_chatDesktop[id^='ur_chat_desktop_kbArticle_chat_'] .UR_chatHeader {
    text-align: center;
    padding-top: 25px;
    padding-right: 80px;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleOpenNewTab {
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 20px;
    padding-top: 20px;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleOpenNewTab span {
    cursor: pointer;
    color: #555;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleOpenNewTab span:hover {
    color: #222;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleOpenNewTab i {
    height: 16px;
    width: 16px;
    -webkit-mask: url('../../images/new-window.svg') no-repeat 50% 50%;
    mask: url('../../images/new-window.svg') no-repeat 50% 50%;
    -webkit-mask-size: 16px;
    mask-size: 16px;
    background-color: #555;
    background-image: none;
    display: inline-block;
    position: relative;
    top: 1px;
    margin-right: 10px;
}

.UR_chatKnowledgeBaseArticle .UR_chatArticleOpenNewTab span:hover i {
    background-color: #222;
}
