/*!
 * Lite Mode CSS - Inspired by Twitter Bootstrap 2.3.2 & bag-xml.com
 * Designed for legacy browsers: IE8+, Safari 5+, Chrome 49+, Kindle, Legacy iOS
 * Zero dependencies, no @layer, no CSS variables, pure float & box-model
 */

/* HTML5 block-level elements for legacy engines */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, main {
  display: block;
}

audio, canvas, video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

/* Base resets */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: #333333;
  background-color: #f9f6f0; /* 米色调温暖底色 */
}

/* Clearfix */
.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}

/* Links */
a {
  color: #003b6e;
  text-decoration: none;
}
a:hover, a:focus {
  color: #0d5a94;
  text-decoration: underline;
}

/* Typography */
p {
  margin: 0 0 10px;
}
h1, h2, h3, h4, h5, h6 {
  margin: 10px 0;
  font-family: inherit;
  font-weight: bold;
  line-height: 20px;
  color: #222222;
  text-rendering: optimizelegibility;
}
h1 { font-size: 32px; line-height: 40px; margin-bottom: 15px; }
h2 { font-size: 24px; line-height: 32px; border-bottom: 1px solid #e2ded4; padding-bottom: 8px; margin-top: 25px; }
h3 { font-size: 18px; line-height: 26px; margin-top: 20px; }
h4 { font-size: 15px; line-height: 22px; }
h5 { font-size: 13px; line-height: 18px; }
h6 { font-size: 11px; line-height: 16px; text-transform: uppercase; }

small { font-size: 85%; color: #777777; }
strong { font-weight: bold; }
em { font-style: italic; }

hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #e2ded4;
  border-bottom: 1px solid #ffffff;
}

ul, ol {
  padding: 0;
  margin: 0 0 10px 25px;
}
li { line-height: 22px; }

blockquote {
  padding: 8px 15px;
  margin: 0 0 20px;
  border-left: 4px solid #003b6e;
  background-color: #f0ede4;
  border-radius: 0 4px 4px 0;
}
blockquote p {
  font-size: 15px;
  font-weight: 300;
  line-height: 24px;
  margin-bottom: 0;
}

code, pre {
  padding: 0 3px 2px;
  font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  font-size: 12px;
  color: #333333;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
code {
  padding: 2px 5px;
  color: #9c27b0;
  background-color: #f0ede4;
  border: 1px solid #e2ded4;
  white-space: nowrap;
}
pre {
  display: block;
  padding: 10px;
  margin: 0 0 15px;
  font-size: 13px;
  line-height: 20px;
  word-break: break-all;
  word-wrap: break-word;
  white-space: pre-wrap;
  background-color: #fdfcf9;
  border: 1px solid #e2ded4;
  overflow-x: auto;
}
pre code {
  padding: 0;
  color: inherit;
  white-space: pre-wrap;
  background-color: transparent;
  border: 0;
}

/* Grid & Container */
.container {
  width: 960px;
  max-width: 96%;
  margin-left: auto;
  margin-right: auto;
  *zoom: 1;
}
.container:before, .container:after {
  display: table;
  content: "";
  line-height: 0;
}
.container:after { clear: both; }

.row {
  width: 100%;
  *zoom: 1;
}
.row:before, .row:after {
  display: table;
  content: "";
  line-height: 0;
}
.row:after { clear: both; }

.span12 { width: 100%; clear: both; }
.span8  { width: 67%; float: left; }
.span4  { width: 30%; float: right; }
.span6  { width: 48%; float: left; margin-right: 2%; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .container { width: 100%; padding-left: 10px; padding-right: 10px; }
  .row { margin-left: 0; }
  .span12, .span8, .span4, .span6 {
    float: none;
    width: 100%;
    margin-left: 0;
  }
}

/* Top Warning Notice / Switch Banner */
.compat-banner {
  background-color: #fff7ed;
  border-bottom: 1px solid #fed7aa;
  color: #9a3412;
  padding: 6px 15px;
  font-size: 12px;
  text-align: center;
}
.compat-banner a {
  color: #c2410c;
  font-weight: bold;
  text-decoration: underline;
}

/* Navbar (Classic bag-xml / Bootstrap 2 Inverse) */
.navbar {
  margin-bottom: 20px;
  overflow: visible;
}
.navbar-inner {
  min-height: 42px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #1b1b1b;
  background-image: -moz-linear-gradient(top, #252525, #111111);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#252525), to(#111111));
  background-image: -webkit-linear-gradient(top, #252525, #111111);
  background-image: -o-linear-gradient(top, #252525, #111111);
  background-image: linear-gradient(to bottom, #252525, #111111);
  background-repeat: repeat-x;
  border: 1px solid #101010;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.navbar .brand {
  float: left;
  display: block;
  padding: 10px 20px 10px 0;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
  text-decoration: none;
}
.navbar .brand:hover {
  color: #f9f6f0;
  text-decoration: none;
}
.navbar .nav {
  position: relative;
  left: 0;
  display: block;
  float: left;
  margin: 0 10px 0 0;
  list-style: none;
  padding: 0;
}
.navbar .nav > li {
  float: left;
}
.navbar .nav > li > a {
  float: none;
  padding: 11px 14px;
  color: #aaaaaa;
  text-decoration: none;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
  font-size: 13px;
  display: block;
}
.navbar .nav > li > a:hover,
.navbar .nav > li > a:focus {
  background-color: transparent;
  color: #ffffff;
  text-decoration: none;
}
.navbar .nav > .active > a,
.navbar .nav > .active > a:hover,
.navbar .nav > .active > a:focus {
  color: #ffffff;
  text-decoration: none;
  background-color: #080808;
  -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.5);
}
.navbar .nav.pull-right {
  float: right;
  margin-right: 0;
}

/* Well (Card Container) */
.well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: #ffffff;
  border: 1px solid #e2ded4;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.well-subtle {
  background-color: #f4efe6;
  border: 1px solid #ded8cb;
}
.well-hero {
  padding: 24px;
  background-color: #f4efe6;
  border: 1px solid #ded8cb;
  margin-bottom: 25px;
}

/* Polaroid image */
.img-polaroid {
  padding: 4px;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
}
.img-rounded {
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}
.img-circle {
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
  border-radius: 500px;
}

/* Buttons */
.btn {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 5px 14px;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  color: #333333;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border: 1px solid #cccccc;
  *border: 0;
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-bottom-color: #b3b3b3;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  text-decoration: none;
}
.btn:hover, .btn:focus {
  color: #333333;
  text-decoration: none;
  background-color: #e6e6e6;
  background-position: 0 -15px;
}
.btn-primary {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #004d8c;
  background-image: -moz-linear-gradient(top, #005fa8, #003b6e);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#005fa8), to(#003b6e));
  background-image: -webkit-linear-gradient(top, #005fa8, #003b6e);
  background-image: -o-linear-gradient(top, #005fa8, #003b6e);
  background-image: linear-gradient(to bottom, #005fa8, #003b6e);
  background-repeat: repeat-x;
  border-color: #003b6e #003b6e #002244;
}
.btn-primary:hover, .btn-primary:focus {
  color: #ffffff;
  background-color: #003b6e;
}
.btn-small {
  padding: 2px 10px;
  font-size: 11px;
}
.btn-large {
  padding: 9px 19px;
  font-size: 16px;
  line-height: normal;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.btn-block {
  display: block;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Badges & Labels */
.label, .badge {
  display: inline-block;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: bold;
  line-height: 14px;
  color: #ffffff;
  vertical-align: baseline;
  white-space: nowrap;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #999999;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.label-info { background-color: #3a87ad; }
.label-success { background-color: #468847; }
.label-primary { background-color: #003b6e; }

/* Breadcrumb */
.breadcrumb {
  padding: 8px 15px;
  margin: 0 0 20px;
  list-style: none;
  background-color: #f4efe6;
  border: 1px solid #e2ded4;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.breadcrumb > li {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  text-shadow: 0 1px 0 #ffffff;
}
.breadcrumb > li > .divider {
  padding: 0 5px;
  color: #999999;
}
.breadcrumb > .active {
  color: #777777;
}

/* Post list item */
.post-item {
  border-bottom: 1px dotted #dcd6c8;
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.post-meta {
  color: #777777;
  font-size: 12px;
  margin-top: 4px;
  margin-bottom: 8px;
}
.post-meta span {
  margin-right: 12px;
}
.post-desc {
  color: #555555;
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 20px;
}

/* Post Content Typography */
.post-content {
  font-size: 15px;
  line-height: 26px;
  color: #222222;
}
.post-content img {
  max-width: 100%;
  height: auto;
  margin: 15px auto;
  display: block;
  border: 1px solid #dcd6c8;
  padding: 4px;
  background-color: #ffffff;
  border-radius: 3px;
}
.post-content table {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
  border-spacing: 0;
  background-color: #ffffff;
}
.post-content table th,
.post-content table td {
  padding: 8px 10px;
  line-height: 20px;
  text-align: left;
  border-top: 1px solid #dddddd;
  border: 1px solid #e2ded4;
}
.post-content table th {
  font-weight: bold;
  background-color: #f4efe6;
}

/* Pagination / Post Navigation */
.post-nav {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #e2ded4;
}
.post-nav-prev { float: left; width: 48%; }
.post-nav-next { float: right; width: 48%; text-align: right; }

/* Footer */
footer.lite-footer {
  margin-top: 40px;
  padding: 25px 0;
  border-top: 1px solid #e2ded4;
  color: #777777;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}
footer.lite-footer a {
  color: #555555;
}
footer.lite-footer a:hover {
  color: #003b6e;
}
.footer-links {
  margin-bottom: 8px;
}
.footer-links a {
  margin: 0 8px;
}

/* Utility classes */
.pull-left { float: left; }
.pull-right { float: right; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.muted { color: #888888; }
.mr-5 { margin-right: 5px; }
.mb-15 { margin-bottom: 15px; }

/* E-Ink & Legacy hardware performance enhancement */
a, button, input, .btn, .navbar-inner {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

@media print, (monochrome) {
  body {
    background-color: #ffffff !important;
    color: #000000 !important;
  }
  .navbar-inner {
    background-color: #ffffff !important;
    background-image: none !important;
    border: 1px solid #000000 !important;
  }
  .navbar .brand, .navbar .nav > li > a {
    color: #000000 !important;
    text-shadow: none !important;
  }
  .well, .well-subtle, .well-hero {
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
    box-shadow: none !important;
  }
}
