body {
    font-family:"lucida grande", "lucida sans unicode", lucida, helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 30px;
}
article, section {
    padding: 2% 7% 5% 7%;
}
h1 {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
}
h2 {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
    line-height: 150%;
    color: #666;
    width: 98%;
    border-bottom: 2px LightGrey solid;
    padding: 5px;
    margin-bottom: 60px;
    margin-bottom: 40px;
}
h3 {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
    line-height: 150%;
    color: #666;
    width: 98%;
    border-bottom: 1px LightGrey solid;
    margin-top: 40px;
    margin-bottom: 30px;
}
h4 {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
    line-height: 150%;
    color: #666;
    width: 98%;
    border-bottom: 1px LightGrey solid;
    margin-top: 40px;
    margin-bottom: 30px;
}
hr {
    color: LightGrey;
}
p, li {
  line-height: 1.8;
}
li {
    margin-left: 10px;
}
blockquote {
    font-size: 14px;
    line-height: 18px;
    background-color: #f8f5ec;
    border-left: 2px #eee8d5 solid;
    border-right: 1px #eee8d5 solid;
    padding-left: 15px;
}
pre {
    font-family: Inconsolata, Consolas, "DEJA VU SANS MONO", "DROID SANS MONO", Proggy, monospace;
    font-size: 80%;
    line-height: 1.3;
    background-color: #f8f5ec;
    width: 100%;
    border: none;
    border-top: 1px solid #eee8d5;
    border-bottom: 1px solid #eee8d5;
    border-radius: 0;
    padding: 5px;   
    display: block;
    word-break: inherit;
    word-wrap: inherit;
}
code {
    font-family: Inconsolata, Consolas, "DEJA VU SANS MONO", "DROID SANS MONO", Proggy, monospace;
}
pre code {
    white-space: inherit;
}
a {
    cursor: crosshair;
    color: #6c71c4;
    text-decoration: none;
    border-bottom: 1px dashed #cb4b16;
    word-wrap: break-word;
}
a:hover {
    color: #cb4b16;
    /*text-decoration: none;*/
    border-bottom: none;
    /*border-bottom: 1px dashed #6c71c4;*/
}
td, th {
    padding: 5px;
}
img {
    display: block;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    -moz-box-shadow: 0 0 3px 0 rgba(0,0,0,0.26);
    -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,0.26);
    box-shadow: 0 0 3px 0 rgba(0,0,0,0.26);
    border-radius: 6px;
    overflow: auto;
}

::-webkit-input-placeholder {color:silver}
::-moz-placeholder {color:silver}
::-moz-placeholder {color:silver}
::-ms-input-placeholder {color:silver}

.sep5 {
    height: 5px;
}
.sep10 {
    height: 10px;
}
.sep20 {
    height: 20px;
}
.center-block {
    text-align: center;
}
.right-bar {
    font-size: 14px;
    line-height: 18px;
}
.box {
    background-color: #fff;
    border: 1px solid LightGrey;
}

/* iphone 3 */
@media only screen and (min-device-width: 320px) and (max-device-height: 480px) and (-webkit-device-pixel-ratio: 1) {
    .container {
        width: auto;
    }
}
/* iphone 4 */
@media only screen and (min-device-width: 320px) and (max-device-height: 480px) and (-webkit-device-pixel-ratio: 2) {
    .container {
        width: auto;
    }
}
/* iphone 5 */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (-webkit-device-pixel-ratio: 2) {
    .container {
        width: auto;
    }
}
/* iphone 6, 6s, 7, 8 */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (-webkit-device-pixel-ratio: 2) {
    .container {
        width: auto;
    }
}
/* iphone 6+, 6s+, 7+, 8+ */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (-webkit-device-pixel-ratio: 3) {
    .container {
        width: auto;
    }
}
/* iphone X , XS, 11 Pro */
@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
    .container {
        width: auto;
    }
}
/* iphone XR, 11 */
@media only screen and (min-device-width : 414px) and (max-device-height : 896px) and (-webkit-device-pixel-ratio : 2) {
    .container {
        width: auto;
    }
}
/* iphone XS Max, 11 Pro Max */
@media only screen and (min-device-width : 414px) and (max-device-height : 896px) and (-webkit-device-pixel-ratio : 3) {
    .container {
        width: auto;
    }
}
.row {
    margin-left: auto;
    margin-right: auto;
}
.panel {
    margin-bottom: 0;
    background-color: inherit;
    border: none;
    border-radius: 0;
    box-shadow: none;
    webkit-box-shadow: none;
}
.panel-heading {
    color: inherit !important;
    background-color: inherit !important;
    border-color: LightGrey !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}
.panel-heading .fade, .panel-body .fade {
    color: #777;
    opacity: 1;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}
.panel-body {
    padding: 10px 15px;
}
.panel-body .list-group {
    margin: -10px -15px;
}
.panel-body .list-group .list-group-item {
    background-color: inherit;
    border: none;
    border-bottom: 1px solid LightGrey;
}
.panel-body .list-group .list-group-item:first-child,
.panel-body .list-group .list-group-item:last-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.item-node {
    line-height: 14px;
    padding: 4px 10px 4px 10px;
    margin-bottom: 5px;
    border-radius: 16px;
    display: inline-block;
    border: 1px solid #e5e5e5;
}
.node {
    color: #777;
    font-size: 11px;
    line-height: 11px;
    display: inline-block;
    padding: 4px 4px 4px 4px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border: none;
    border-radius: 2px;
    text-decoration: none;
}

#topic-preview {
    padding: 2% 4% 5% 4%;
}
