/* Globals */
body {
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  color: #555;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  margin-top: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #333;
}

/* Override Bootstrap's default container. */
@media (min-width: 1200px) {
  .container {
    width: 970px;
  }
}

/* Masthead for nav */
.blog-masthead {
  background-color: #428bca;
  -webkit-box-shadow: inset 0 -2px 5px rgba(0, 0, 0, .1);
  box-shadow: inset 0 -2px 5px rgba(0, 0, 0, .1);
}

/* Nav links */
.blog-nav-item {
  position: relative;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
  color: #cdddeb;
}

.blog-nav-item:hover,
.blog-nav-item:focus {
  color: #fff;
  text-decoration: none;
}

/* Active state gets a caret at the bottom */
.blog-nav .active {
  color: #fff;
}

.blog-nav .active:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  vertical-align: middle;
  content: " ";
  border-right: 5px solid transparent;
  border-bottom: 5px solid;
  border-left: 5px solid transparent;
}

/* Blog name and description*/
.blog-header {
  padding-top: 20px;
  padding-bottom: 20px;
}

.blog-title {
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 60px;
  font-weight: normal;
}

.blog-description {
  font-size: 20px;
  color: #999;
}

/* Main column and sidebar layout */
.blog-main {
  font-size: 18px;
  line-height: 1.5;
}

/* Sidebar modules for boxing content */
.sidebar-module {
  padding: 15px;
  margin: 0 -15px 15px;
}

.sidebar-module-inset {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}

/* Pagination */
.pager {
  margin-bottom: 60px;
  text-align: left;
}

.pager>li>a {
  width: 140px;
  padding: 10px 20px;
  text-align: center;
  border-radius: 30px;
}

/* Blog posts */
.blog-post {
  margin-bottom: 60px;
}

.blog-post-title {
  margin-bottom: 5px;
  font-size: 40px;
}

.blog-post-meta {
  margin-bottom: 20px;
  color: #999;
}

/* Footer */
.blog-footer {
  padding: 15px;
  color: #999;
  text-align: center;
  background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  font-size: 12px;
  margin-top: 20px;
}

.blog-footer-link>a {
  display: inline-block;
  margin: 0 10px 0 10px;
}

.blog-footer-link>a,
.blog-footer>.container>a {
  color: #999;
}

.blog-footer a:hover {
  color: #338de6;
}

.blog-footer p:last-child {
  margin-bottom: 0;
}

.box3-bottom {
  padding-bottom: 20px;
}
.box3-padding-bottom60 {
  padding-bottom: 60px;
}

/* h3 */
.box3-h3 {
  margin: 15px 0px 15px 0px;
  text-align: center;
}

/* CodeMirror */
.CodeMirror {
  font-size: 14px;
  font-family: Consolas,
    Verdana,
    Geneva,
    sans - serif,
    "微软雅黑";
  border: 1px solid silver;
  border-width: 1px;
  line-height: 22px;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
}

.CodeMirror-activeline-background {
  background: #e8f2ff !important;
}

.margintop10 {
  margin-top: 10px;
}

table td,
samp {
  word-break: break-all;
}

.box3-shadow {
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12) !important;
}