body {
    margin: 0;
}

body * {
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

/* --------------------------------------- */
.header {
    padding: 0 10px;
    background-color: #222;
    margin-bottom: 10px;
}

.header:after {
    content: '';
    clear: both;
    display: block;
}

.header_element {
    float: left;
    color: #9d9d9d;
    font-size: 14px;
    padding: 5px 2px 5px 2px;
    line-height: 17px;
    text-decoration: none;
}

.header_element:hover {
    color: #fff;
    text-decoration: none;
}

.header_element > a {
    text-decoration: none;
}

/* --------------------------------------- */
.document {
    font-size: medium;
    line-height: 1.6;
    word-wrap: break-word;
}

.document img{
    max-width: 99%;
    max-width: calc(100% - 10px);
    height: auto;
    margin: 5px;
}

.document figure img{
    max-width: 95%;
    max-width: calc(100% - 10px);
    height: auto;
    margin: 5px;
}

.document figure {
    text-align: center;
    border: solid 1px #ccc;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.05);
    padding: 10px;
    margin: 10px;
    display: inline-block;
}

.document figure > figcaption {
    text-align: center;
    display: block; /* For IE8 */
}

.document blockquote {
    font-style: italic;
    font-family: Georgia, Times, "Times New Roman", serif;
    font-size: inherit;
    padding: 13px 8px 13px 20px;
    border: 0 solid #ccc;
    border-left-width: 5px;
    display: block;
    margin: 1em 40px 1em 40px;
}

.document hr {
    display: block;
    margin: 0.5em auto 0.5em auto;
    overflow: hidden;
    border: 0;
    border-top: 1px solid #ccc;
}

.document table td {
    padding: 0 5px;
}
/* --------------------------------------- */
.diff-html-changed, .diff-html-added, .diff-html-removed, del, ins {padding: 2px; margin: 2px; display: inline-block;}
.diff-html-changed:before, .diff-html-added:before, .diff-html-removed:before, del:before, ins:before {font-size: 10px; font-style: normal; font-weight: normal;}
.diff-html-changed:before{content:'[~] '; color:#C09853;}
.diff-html-removed:before, del:before{content:'[-] '; color:#B94A48;}
.diff-html-added:before, ins:before{content:'[+] '; color:#468847;}
.diff-html-changed {background-color: #FCF8E3; border: 1px solid #FBEED5;}
.diff-html-added, ins {background-color: #DFF0D8; border: 1px solid #D6E9C6; text-decoration: none;}
.diff-html-removed, del {background-color: #F2DEDE; border: 1px solid #EED3D7;}

/* --------------------------------------- */

.va-top {
    vertical-align: top !important;
}

.va-bottom {
    vertical-align: bottom !important;
}

.va-middle {
    vertical-align: middle !important;
}

.select2-hide_selected .select2-results__option[aria-selected="true"] {
    display: none;
}

.raters-group-btn{
    padding: 10px;
    width: 100%;
    border:1px solid #666;
}
.raters-group-body{
    padding: 2px;
    border:1px solid #666;
    margin-bottom: 3px;
}
.raters-badge{
    position: absolute;
    right: 5px;
    top:5px;
}
a.rt-del{
    line-height: 30px;
}