/*
Global
============================= */

@import url(../fonts/SourceSansPro/SourceSansPro.css);


body {
    font-family: Arial, sans-serif;
    color: #666;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    font-smooth: antialiased;
}

p {
    line-height: 24px
}

a {
    color: #0088cc;
}

a:hover {
    text-decoration: none;
}

.smallskip {
    margin-bottom: 3ex;
}

#messages {
    margin-top: 2ex;
}

.container h1, .container h2, .container h3, .container h4 {
    font-family: 'Source Sans Pro', arial, sans-serif;
}

.container h1 {
    font-size: 36px;
    font-weight: 200;
    color: #555;
    margin: 60px 0 30px;
}

.container h2 {
    font-size: 30px;
    font-weight: 300;
    color: #444;
    margin: 40px 0 20px;
}

.container h3 {
    font-size: 20px;
    font-weight: 400;
    margin: 20px 0;
}

.container h4 {
    font-size: 18px;
    font-weight: 400
}

.table-version thead tr td {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.table-version tbody tr {
    cursor: pointer;
}

.table-version tbody tr td:last-child {
    text-align: right;
}

.table-form>tbody>tr>th {
    padding: 1em;
    text-align: right;
}

.button-row {
    text-align: center;
}

.button-row-left {
    text-align: left;
}

.btn:focus {
    outline: none !important;
}

.btn-active {
    background-color: #ddd;
}

.table th {
    font-family: "Source Sans Pro", arial, sans-serif;
    font-size: 1.2em;
    font-weight: 400;
}

.table>tbody>tr>td, .table>tbody>tr>th {
    vertical-align: middle;
}

.table td,  th {
    text-align: center;
}

.modal-header {
    background-color: #f5f5f5;
}

.table-center * {
    text-align: center;
}

.panel {
    border-radius: 0;
}

.main-content {
    margin-bottom: 100px;
}

.fa-btn {
    cursor: pointer;
}

.form-inline {
    display: inline;
}

#diff-selectbox {
    width: 20%;
    font-size: 12px;
    padding: 0px 6px;
}

.btn.active {
    background-color: green !important;
}

.text-container {
    background: #f6f6f6;
    padding: 15px;
    color: #555;
}

#btn-container>.panel {
    margin-bottom: 0 !important;
}

#left-container {
    padding-right: 0;
}

#right-container {
    padding-left: 0;
}

#left-container .panel-body,
#right-container .panel-body,
#middle-container .panel-body {
    padding: 0;
}

.navbar {
    margin-bottom: 0;
    border-radius: 0;
}

.navbar-logo {
    height: 40px;
}

.panel {
    border-radius: 0;
}

.btn-container {
    padding: 15px;
    border: 1px solid #ddd;
    border-width: 0 1px;
}

.edit-pane {
    float: left;
    width: 50%;
    border: 1px solid #ddd;
    min-height: 800px;
    background-color: #FFFFFF;
}

.preview-pane {
    border: 1px solid #ddd;
    background-color: #f6f6f6;
    border-left: 0px;
    min-height: 800px;
    padding: 15px;
    width: 50%;
    float: right;
    color: #333;
}

div.CodeMirror {
    border: 0px;
}

.toast {
    opacity: .95 !important;
}

.revisions .circle {
    width: 8px;
    height: 8px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #dad;
    display: inline-block;
}

.revisions .circle.saved {
    background: #dad;
}

.revisions .circle.autosaved {
    background: #aaa;
}

#left_rtl_plain_text_box .editor-content {
    font-family: Arial, sans-serif;
    font-size: 90%;
    color: #333;
}

#left_ltr_plain_text_box {
	display: none;
}

/* persian markdown editor */
#wmd-input {
    background-color: #fff;
    padding: 15px !important;
}

code::before, code::after,
.md-code::before, .md-code::after,
.math::before, .math::after {
    content: "‎";   /* the string contains an invisible &lrm; character */
}

.katex-html {
    direction: ltr;
}

code, pre {
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

/* Default text fonts */

.rendered_content {
    font-family: CustomTextFont, 'Noto Sans', Arial, sans-serif;
}

.rendered_content[lang="zh"] {
    font-family: CustomTextFont, 'Noto Sans CJK TC', Arial, sans-serif;
}

.rendered_content[lang="zh_Hans"] {
    font-family: CustomTextFont, FandolSong, 'Noto Sans CJK SC', Arial, sans-serif;
}
.rendered_content[lang="zh_Hans"] strong,
.rendered_content[lang="zh_Hans"] h1,
.rendered_content[lang="zh_Hans"] h2,
.rendered_content[lang="zh_Hans"] h3,
.rendered_content[lang="zh_Hans"] h4,
.rendered_content[lang="zh_Hans"] th {
    font-family: CustomTextFont, FandolHei, 'Noto Sans CJK SC', Arial, sans-serif;
}
.rendered_content[lang="zh_Hans"] em {
    font-family: CustomTextFont, FandolKai, 'Noto Sans CJK SC', Arial, sans-serif;
    font-style: normal;
}
.rendered_content[lang="zh_Hans"] code,
.rendered_content[lang="zh_Hans"] pre {
    font-family: Menlo, Monaco, Consolas, "DejaVu Sans Mono", "Courier New", monospace;
}

.rendered_content[lang="ja"] {
    font-family: CustomTextFont, 'Noto Sans CJK JP', Arial, sans-serif;
}

.rendered_content[lang="ko"] {
    font-family: CustomTextFont, 'Noto Sans CJK KR', Arial, sans-serif;
}

.rendered_content[dir="rtl"] {
    font-family: CustomTextFont, 'Noto Sans', Arial, sans-serif;
    font-weight: normal;
}

.rendered_content[dir="rtl"] th {
    text-align: start;
}
