.document-sidebar {
    position: fixed;
    top: 150px;
    left: 0;
    bottom: 0;
    z-index: 100;
    background: #fff;
    display: none;
}

.document-sidebar-controls {
    height: 100%;
    border-right: #ccc solid 1px;
}

.show-sidebar-content .document-sidebar-content {
    display: block;
    overflow: auto;
}

.document-sidebar-content {
    display: none;
    position: absolute;
    left: 40px;
    top: 0;
    background: #F7F7F7;
    bottom: 0;
    width: 400px;
    border-right: #ccc 1px solid;
}

.toolbar-drawer .document-sidebar {
    top: 64px;
}

body .document-sidebar-controls .btn {
    border-right: 0px;
    border-radius: 0 !important;
}
.document-header{
    background: white;
}

.document-header .table-info {
    margin-bottom: 0;
}

.document-bar {
    text-align: right;
    border-bottom: #ccc solid 1px;
    border-left: #ccc solid 1px;
    margin-bottom: 20px;
}

.document-bar .btn {
    border-bottom: 0;
    border-top: 0;
    border-radius: 0;
}

.table-info td:first-child:not(:last-child) {
    width: 33%;
}

.main-container.container-fluid {
    padding-left: 60px;
    padding-right: 15px;
}


.sidebar-content-header {
    border-bottom: 1px solid #FFF;
    line-height: 2.5;
    padding-left: 0.25em;
    background: #F0F0F0;
    margin: 0;
    padding-right: 2em;
    font-size: 14px;
}

.sidebar-content-target {
    display: none;
}

.document-sidebar-content .sidebar-content-target .list-group-item {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

body .no-margin-bottom {
    margin-bottom: 0;

}

.document-sidebar-close {
    position: absolute;
    top: 0.4em;
    right: 0.4em;
}

.page-header {
    display: none;
}

#document-structure .document-structure-tree,
.panel-heading-compact .toolbar-heading,
#document-references .list-group-item,
#document-explanations .list-group-item {
    font-size: 0.75em;
}

#document-references .panel {
    margin: 0.5em;
}

.document .document-anchor-panel {
    position: relative;
    float: right;
    text-indent: 0;
}

.document .mimgebixml,
.document .sataurixml,
.document .karixml,
.document .karisataurixml,
.document .tavixml,
.document .abzacixml,
.document .tavisataurixml,
.document .muxlixml {
    clear: both;
}

.comment-group-item .list-group-item-text {
    font-size: 0.8em;
}

.comment-group-item .list-group-item-heading {
    font-size: 0.85em;
    font-weight: bold;
}

.comment-inside-group-item .comment {
    max-width: 320px;
    word-wrap: break-word;
}
.comment-inside-group-item .image {
    width: 45px;
    padding: 5px 0 0 5px;
}
.comment-inside-group-item .img-responsive {
    width: 100%;
}

.comment-inside-group-item .no-image {
    width: 40px;
    text-align: center;
    line-height: 15px;
    font-size: 10px;
    background: rgb(224, 224, 224);
    height: 40px;
    padding: 5px 0;
}

.comment-inside-group-item button.btn{
    font-size: 0.7em;
}
.page-document-view .popover-content,
.comment-inside-group-item .comment-author-name,
.comment-inside-group-item textarea,
#document-comment-new  textarea,
.comment-inside-group-item p {
    font-size: 0.8em;
}
.comment-inside-group-item .comment-footer{
    clear: both;
    padding-top: 4px;
}
.comment-inside-group-item .comment-rate-btn{
    position: relative;
    top: 4px;
}
.comment-inside-group-item .comment-author-name{
    margin-right: 0.3em;
    float: left;
}

.comment-inside-group-item:hover .btn-group{
     opacity: 1;
 }
.comment-inside-group-item .btn-group{
    opacity: 0;
}
.comment-inside-group-item.editing-comment .btn-group {
    display: none;
}

.comment blockquote {
    font-size: 12px;
}

.page-document-view .popover-content {
    padding: 5px 7px;
}

.document-text-search-wrapper #document-text-search {
    display: block;
    width: 321px;
    margin: 0;
    border-radius: 4px 0 0 4px;
    border: 1px solid rgb(199, 199, 199);
    height: 25px;
    padding: 4px 70px 4px 10px;
}

.document-text-search-wrapper #document-text-search:focus,
.document-text-search-wrapper .close:focus {
    outline: none;
}

.document-text-search-wrapper #search-result-stats {
    top: 4px;
    bottom: 5px;
    right: 78px;
    position: absolute;
    line-height: 21px;
    padding: 0 3px 0;
}

.document-text-search-wrapper #search-result-stats.not-found {
    background: #FF8B8B;
}

.document-text-search-wrapper .search-up {
    border-radius: 0;
}

.document-text-search-wrapper .search-down {
}

.document-text-search-wrapper .btn-group {
    position: absolute;
    top: 2px;
    bottom: 0;
    right: 26px;
}

.document-text-search-wrapper .btn-group .btn {
    padding: 6px 8px;
    font-size: 8px;
}

.document-text-search-wrapper .close {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 8px;
}

.document-text-search-wrapper {
    position: fixed;
    top: 0;
    left: 50px;
    z-index: 10000000;
    width: 400px;
    background: #E3E3E2;
    padding: 2px 3px 3px 3px;
    height: 30px;
    border-radius: 0 0 2px 2px;
    border: 1px solid #bbbbbb;
    border-top: 0;
}

.document .highlight {
    background: #ffc84f;
}

.document .highlight.active {
    background: #ff5800;
}


#document-comment-new .comment-wrapper{
    padding-bottom:5px;
}
#document-comment-new.with-alert .alert{
    margin: 0;
}
#document-comment-new.with-alert{
    padding:0;
}

#document-comment-new {
    padding: 5px 5px 5px 50px;
    position: relative;
    background: white;
    border: 1px solid rgb(209, 209, 209);
    border-top: 0;
    border-radius: 0 0 4px 4px;
    margin-bottom: 10em;
}
#document-comments-inside .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child{
    border-bottom-left-radius: 0px;
}
#document-comments-inside .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child{
    border-bottom-left-radius: 0px;
}
#document-comments-inside .panel{
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;

}
#document-comment-new  textarea{
    overflow: hidden;
    width: 100%;
    min-height: 40px;
    border-radius: 0;
}
#document-comment-new .profile-image{
    width: 40px;
    position: absolute;
    left: 5px;
    height: 40px;
}

#document-comment-new .emotions-list{
    margin: 2px 0 5px 1px;
}
#document-comment-new .emotions-list .btn{
    padding: 3px;
}
#document-comment-new .quotation-icon{
    line-height: 4px;
    width: 13px;
    text-align: center;
    font-size: 2.5em;
    position: relative;
    top: 13px;
}

#document-comment-new .alert{
    border-radius: 0;
}
.scroller{
    overflow: auto;
    position: absolute;
    top: 40px;
    bottom: 0;
    left: 0;
    right: 0;
}

.parallel-view-block {
    overflow: auto;
}

.document-diff-selection #document-diff-publication {
    width: 341px;
    margin: 0;
    border-radius: 4px 0 0 4px;
    border: 1px solid rgb(199, 199, 199);
    height: 25px;
    /*padding: 4px -2px 4px 0px;*/
}

.document-diff-selection #document-diff-publication:focus,
.document-diff-selection .close:focus {
    outline: none;
}

.document-diff-selection .close {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 8px;
}

.document-diff-selection {
    position: fixed;
    top: 0;
    left: 50px;
    z-index: 10000000;
    width: 428px;
    background: #E3E3E2;
    padding: 2px 3px 3px 3px;
    height: 30px;
    border-radius: 0 0 2px 2px;
    border: 1px solid #bbbbbb;
    border-top: 0;
}

.document-diff-selection .btn-group {
    position: absolute;
}

.document-diff-selection .btn-group .btn {
    padding: 3px 6px 0px 6px;
    font-size: 14px;
    border-radius: 0px 4px 4px 0px;
}
.document-diff-selection .btn-group #document-partial-diff-button {
    padding: 2px 6px 1px 6px;
}
.panel-heading.panel-heading-compact{
    padding: 5px 15px;
}
.document-structure-tree .list-group{
    margin-bottom: 0;
}

.oldStyleDocumentPart {
    color: #525149 !Important;
    text-decoration: none !Important;
    cursor: default !Important;
}