.mtn {
    margin-top: 10px;
}
.well {
    padding: 10px;
    background: #f8f8f8;
    border: 1px dashed #E4E4E4;
}
a.active {
    font-weight: bold;
}
h3 {
    font-size: 18px;
    margin: 10px 0;
}
h4 {
    font-size: 16px;
}
.panel-body {
    padding: 10px 15px;
}
.summary {
    height:40px;
    overflow:hidden;
}
.navbar-inverse {
    border-color: rgba(0, 0, 0, 0.2);
}
.navbar-brand {
    padding: 8px 15px 0 15px;
}
.navbar .navbar-nav > li {
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}
.navbar .navbar-nav > li:first-child {
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}
footer {
    padding: 15px 0;
    margin-top: 15px;
    border-top: 1px solid #E4E4E4;
}
/*index*/
.jumbotron {
    background-position: center;
    overflow-x: hidden;
    position: relative;
    height:240px;
    padding:0;
    background-color: #337ab7;
    background-image: url('../img/index_banner.png');
    background-size: cover;
    color: #111;
    margin-bottom: 10px;
}
.jumbotron p {
    font-size: 16px;
    font-weight: bold;
}
.thumbnail {
    border: none;
}
/*blog*/
.user-profile .form-group {
    margin-bottom: 0;
}
.blog .blog-list {
    padding: 5px;
    border-bottom: 1px solid #ddd;
}
.blog .blog-list h4 {
    height:20px;
    overflow: hidden;
}
.blog .blog-p {
    overflow: hidden;
    padding: 5px;
    border-bottom: 1px dotted #666;
}
.blog .blog-top {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 8px 15px;
    background-color: #F5F5F5;
}
.blog .media {
    height: 125px;
    margin-top: 0;
    margin-bottom: 10px;
}
.blog .media .media-top img{
    width: 160px;
    height: 125px;
}
.blog .media .media-heading {
    font-size: 16px;
    height: 25px;
    line-height: 25px;
    overflow: hidden;
    font-weight: bold;
    margin: 0;
}
.blog .media .media-content {
    height: 78px;
    overflow: hidden;
}
.blog .media .media-footer {
    height: 20px;
    line-height: 20px;
    color: #666;
}
.blog .media .media-footer a{
    color: #666;
}
.blog .media .media-footer a.read {
    padding: 1px 5px;
    font-size: 14px;
    vertical-align: 1px;
    margin-right: 5px;
    display: inline-block;
    background: #fc7247;
    color: #fff;
    border-radius: 2px;
    line-height: 1.3;
    font-weight: 400;
}

.panel-footer .pagination {
    margin: 0;
}
/*admin top nav*/

/*admin upload*/
#pic_box {
    box-sizing: content-box;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    padding: 2px;
    border: 1px solid #ccc;
}

.thumb, .thumb input {
    width: 90px;
    height: 60px;
    line-height: 60px;
    padding: 0;
}

.headimg, .headimg input {
    width: 90px;
    height: 90px;
    line-height: 90px;
    padding: 0;
}

#pic_remove {
    display: none;
    margin: 0 2px 2px 2px;
    cursor: pointer;
    line-height: 18px;
    z-index: 10;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90px;
    height: 20px;
    background: rgba(102, 102, 102, 0.7);
    color: #fff;
}

#upload-input {
    cursor: pointer;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
}
/*ewm*/
.tab-content img {
    width: 300px;
}
/*msg*/
/*aphp-msg*/
.aphp-msg .well {
    padding: 10px;
    background: #f8f8f8;
    border: 1px dashed #E4E4E4;
}

.aphp-msg .msg-header {
    padding: 10px;
}

.aphp-msg .media {
    padding: 15px;
    background: #f8f8f8;
    border-top: 3px solid #ddd;
    margin: 0;
}

.aphp-msg .media:hover {
    border-top: #337ab7 3px solid;
    color: #000;
    background-color: #FFF0E6;
}

.aphp-msg .media .media-left {
    padding: 0 15px 0 0;
}

.aphp-msg .media .media-object {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 3px;
    background-color: #FFF;
    width: 63px;
}

.aphp-msg .media .media-body {
    border-left: 1px solid #ddd;
    padding-left: 15px;
}

.aphp-msg .media-heading {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.aphp-msg .media-content {
    padding: 0;
    line-height: 25px;
}

.aphp-msg .media-content h5 {
    font-weight: bold;
}

.aphp-msg .media-footer {
    padding-top: 5px;
    border-top: 1px solid #ddd;
}

.aphp-msg span.time {
    background-image: url(../img/time.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 20px;
}

.aphp-msg span.user {
    background-image: url(../img/user.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 20px;
}

.aphp-msg span.address {
    background-image: url(../img/address.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 20px;
}

.aphp-msg a.like {
    background-image: url(../img/like.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 20px;
}

.aphp-msg .media .reply {
    border-top: 1px dashed #999;
    padding: 5px 0;
}

.aphp-msg .pagination {
    background-color: #F7F7F7;
    border-top: 2px solid #E4E4E4;
    border-bottom: 1px solid #E4E4E4;
    padding: 15px;
    margin: 0;
    text-align: left;
    display: block;
}

.aphp-msg .msg-form {
    padding: 15px;
    text-shadow: 1px 1px 1px #FFF;
    border: 1px solid #E4E4E4;
}

.aphp-msg .msg-form h1 {
    font-size: 25px;
    padding: 5px 0 15px 75px;
    display: block;
    border-bottom: 1px solid #E4E4E4;
    color: #333;
    margin-bottom: 15px;
    background-image: url(../img/logoMsg.jpg);
    background-repeat: no-repeat;
    background-position: left top;
}

.aphp-msg .msg-form h1 > span {
    font-size: 12px;
    margin-top: 8px;
    display: block;
}

/*代码块样式*/
.markdown-body pre[class*='language-'] {
    position: relative;
    margin: 0 0 18px;
    padding: 30px 0 20px 15px;
    font-size: 14px;
    border-radius: 4px;
    /*white-space: pre-wrap;
    word-wrap: break-word;*/
}
.markdown-body pre[class*='language-']::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 15px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fc625d;
    box-shadow: 20px 0 #fdbc40, 40px 0 #35cd4b;
    z-index: 1;
}
.markdown-body code[class*="language-"], pre[class*="language-"] {
    color: #ABB2BF;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    word-wrap: normal;
    line-height: 1.5;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}
.markdown-body pre[class*=language-].line-numbers>code{
    left: 30px;
}
.markdown-body pre[class*=language-].line-numbers>code>span.line-numbers-rows{
    left: -40px;
    line-height: 1.5;
    top: -2px;
    width: 30px;
}
.markdown-body pre[class*=language-].line-numbers>code>span.line-numbers-rows>span:before{
    text-align: center;
    padding-right: 5px;
    width: 28px;
}
.markdown-body .toolbar-item{
    margin: 0 5px 0 0;
    cursor: pointer;
}
.markdown-body .toolbar-item>span{
    border-radius: 2px!important;
    padding: 4px!important;
    max-height: 25px;
    height: 25px;
    cursor: pointer;
    vertical-align: middle;
}
.markdown-body .toolbar-item>button{
    padding: 6px 5px!important;
    margin-top: -1px;
    border-radius: 2px!important;
    cursor: pointer;
}
.markdown-body .toolbar-item button span{
    padding: 0!important;
    border-radius: 0!important;
}
.markdown-body .toolbar-item button{
    font-size: 0.72em!important;
    padding: 5px 10px !important;
}