body {
    font-size: 14px !important;
    line-height: 150% !important;
    color: #333;
}

#body {
    padding-bottom: 35px;
    background-color: #fff;
    clear: both;
}

.topic-content {
    min-width: 320px;
    min-height: 100%;
    padding: 10px;
}

#offline-subtopics {
    margin: 40px 0 10px;
    border: 0;
    border-top: 1px solid #ddd;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0;
    padding-bottom: 0;
    color: #333 !important;
}

h1 {
    margin-top: 1em;
    font-size: 19px !important;
    border-bottom: 1px solid silver;
}

h2,
h3,
h4,
h5 {
    margin-top: 1.5em;
}

h2 {
    font-size: 18px !important;
}

h3 {
    font-size: 17px !important;
    font-weight: normal !important;
}

h4,
h5 {
    font-size: 16px;
    font-weight: normal !important;
}

a:hover {
    background-color: #ddd;
}


.tip {
    background-image: url('images/icons/tip_gray.png');
}

.important {
    background-image: url('images/icons/important_gray.png');
}

.restriction {
    background-image: url('images/icons/restriction_gray.png');
}

.warning {
    background-image: url('images/icons/warning.png');
}

.hazard {
    background-image: url('images/icons/hazard.png');
}

.caution {
    background-image: url('images/icons/caution.png');
}

.tip,
.important,
.restriction,
.warning,
.hazard,
.caution {
    margin: 15px auto 15px 15px;
    width: auto;
    padding: 10px 10px 10px 40px;
    border: 1px solid #aaa;
    background-position: 2px 2px;
    background-repeat: no-repeat;
}

.hardkey,
.softkey,
.softbtn {
    padding: 0 4px;
    white-space: nowrap;
}

.hardkey {
    border: 2px solid;
    border-color: #aaa #111 #111 #aaa;
    background: #333;
    color: #eee;
    font-size: 85%;
}

.softkey {
    border: 1px solid #aaa;
    background: #666;
    color: #fff;
    font-size: 85%;
}

.softbtn {
    border: 1px solid #aaa;
    background: #eee;
    color: #000;
    font-size: 90%;
}

.syntax {
    border-bottom: 1px solid #000;
    font-weight: 700;
}

.ext_link {
    padding-right: 14px;
    background-image: url('images/icons/ex_link.png');
    background-repeat: no-repeat;
    background-position: right;
}

.topic-content a {
    color: #3300cc !important;
}

.topic-content ul {
    margin: 0 0 8px 0;
    padding: 0 0 0 1.5em;
}

.topic-content ul li {
    margin: 0;
    padding: 3px 0 0 0;
    list-style-type: disc;
}

.topic-content ul.blocks {
    margin: 0 0 8px 0;
    padding: 0;
    list-style: none outside none;
}

.topic-content ul.blocks li {
    margin: 0;
    padding: 3px 0 0 3px;
    background-image: none;
    background-position: 0;
    background-repeat: none;
}

.topic-content figure.caption {
    margin-left: 0;
}

/* Table  */
.topic-content table {
    margin: 15px 0px;
    margin-left: 0;
    padding: 0px;
    border: none;
    border-collapse: separate;
    border-spacing: 1px;
}

.topic-content table th {
    margin: 0px;
    padding: 1px 5px;
    border: 0;
    background: #444;
    color: #fff;
    font-weight: normal;
}

.topic-content table td {
    padding: 0 5px;
    border: 0;
}

.topic-content table tr {
    border-top: 0px;
    border-bottom: 1px solid #999;
    background: #f0f0f0;
}

.topic-content table tr:nth-child(even) {
    background: #f0f0f0;
}

.topic-content table tr:nth-child(odd) {
    background: #e0e0e0;
}

.topic-content table th {
    color: white;
    text-align: left;
}

.topic-content table td {
    color: black;
    text-align: left;
}

.CHTable td {
    vertical-align: top;
}

.CHCodeSample_copyCode {
    display: none;
}

.CHPopup {
    display: none;
}

table.CHCodeSample_container {
   margin: 15px;
   width: 96%;
}

.CHCodeSample_code {
    background-color: #f5f5f5;
}

.cm-s-default span.cm-keyword {
    color: #708
}

.cm-s-default span.cm-comment {
    color: #a50
}

.cm-s-default span.cm-string {
    color: #a11
}

pre {
    display: block;
    margin: 0 0 10px;
    padding: 0;
    font-size: 13px;
    line-height: 20px;
    word-break: break-all;
    word-wrap: break-word;
    white-space: pre-wrap;
}


hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #ddd;
}


table.FlatTable {
    width: 100%;
    margin-left: 1em;
    margin-bottom: 2em;
}

.FlatTable td {
    background-color: #fff;
}

td.FlatTable {
    background-color: #f8f8f8;
}

td.VersionCell {
    width: 1%;
    white-space: nowrap;
}

.CHBreadcrumb_separator {
    padding-left: 0.5em;
    padding-right: 0.25em;
    color: #666;
}

.CHBreadcrumb_itemSelf {
    font-weight: bold;
    color: #333;
}

.maImportantBox td,
.maHintBox td,
.maRestrictionBox td,
.maLimitationBox td,
.maWarningBox td {
    background-color: #eee;
}

table.maImportantBox,
table.maHintBox,
table.maRestrictionBox,
table.maLimitationBox,
table.maWarningBox {
    width: 80%;
    max-width: 80%;
    background-color: #eee;
    border-color: #aaa;
    border-width: 2px;
    border-style: solid;
}

img {
    max-width: 98% !important;
}

.maInputBox img {
    height: auto;
    width: 100%;
    max-width: 80px;
}


table.maInputBox,
table.maFeedbackBox {
    width: 90%;
    max-width: 90%;
    border: 1px solid #FFFFFFFF;
    padding: 1px;
}

td.maImportantBoxImageCell,
td.maHintBoxImageCell,
td.maRestrictionBoxImageCell,
td.maLimitationBoxImageCell,
td.maWarningBoxImageCell
{
  width: 40px;
  text-align: center;
  vertical-align: top;
}

td.maInputBoxImageCell {
    width: 50px;
}

.maInputBox,
.maInputBoxImageCell,
.maInputBoxTextCell,
.maFeedbackBox,
.maFeedbackBoxFirstCell,
.maFeedbackBoxSecondCell,
.commandLineResponse,
.commandLineInput {
    color: #fff !important;
    background-color: #36363e;
}

.commandLineResponse,
.commandLineInput {
    padding-left: 0.5em;
}

.maFeedbackBoxFirstCell {
    width: 3em;
}

.CHNavCaption {
    color: #666;
    font-size: 16px;
    font-weight: bold;
}

table.BugFixTable {
    width:600px;
}


.inlineCode {
    color: #666;
    background: #eee;
    padding: 3px;
    border-radius: 3px;
}

/* Color */
.color-maroon {
  color: #800;
}
.color-red {
  color: #F00;
}
.color-purple {
  color: #808;
}
.color-fuchsia {
    color: #F0F;
}
.color-green {
  color: #080;
}
.color-lime {
    color: #0F0;
}
.color-yellow {
    color: #FF0;
}
.color-navy {
  color: #008;
}
.color-blue {
  color: #00F;
}
.color-teal {
  color: #088;
}
.color-aqua {
    color: #0FF;
}
.color-orange {
  color: #FA0;
}
.color-white {
    color: #FFF;
}
