/*---------------------------------------------------
    LESS Elements 0.6
  ---------------------------------------------------
    A set of useful LESS mixins by Dmitry Fadeyev
    Special thanks for mixin suggestions to:
      Kris Van Herzeele,
      Benoit Adam,
      Portenart Emile-Victor,
      Ryan Faerman

    More info at: http://lesselements.com
-----------------------------------------------------*/
/*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
/* =============================================================================
   HTML5 display definitions
   ========================================================================== */
/*
 * Corrects block display not defined in IE6/7/8/9 & FF3
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
  display: block;
}
/*
 * Corrects inline-block display not defined in IE6/7/8/9 & FF3
 */
audio,
canvas,
video {
  display: inline-block;
}
/*
 * Prevents modern browsers from displaying 'audio' without controls
 * Remove excess height in iOS5 devices
 */
audio:not([controls]) {
  display: none;
  height: 0;
}
/*
 * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
 * Known issue: no IE6 support
 */
[hidden] {
  display: none;
}
/* =============================================================================
   Base
   ========================================================================== */
/*
 * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */
html {
  font-size: 100%;
  /* 1 */

  -webkit-text-size-adjust: 100%;
  /* 2 */

  -ms-text-size-adjust: 100%;
  /* 2 */

}
/*
 * Addresses font-family inconsistency between 'textarea' and other form elements.
 */
html,
button,
input,
select,
textarea {
  font-family: sans-serif;
}
/*
 * Addresses margins handled incorrectly in IE6/7
 */
body {
  margin: 0;
}
/* =============================================================================
   Links
   ========================================================================== */
/*
 * Addresses outline displayed oddly in Chrome
 */
a:focus {
  outline: thin dotted;
}
/*
 * Improves readability when focused and also mouse hovered in all browsers
 * people.opera.com/patrickl/experiments/keyboard/test
 */
a:hover,
a:active {
  outline: 0;
}
/* =============================================================================
   Typography
   ========================================================================== */
/*
 * Addresses font sizes and margins set differently in IE6/7
 * Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
h2 {
  font-size: 1.5em;
  margin: 0.83em 0;
}
h3 {
  font-size: 1.17em;
  margin: 1em 0;
}
h4 {
  font-size: 1em;
  margin: 1.33em 0;
}
h5 {
  font-size: 0.83em;
  margin: 1.67em 0;
}
h6 {
  font-size: 0.75em;
  margin: 2.33em 0;
}
/*
 * Addresses styling not present in IE7/8/9, S5, Chrome
 */
abbr[title] {
  border-bottom: 1px dotted;
}
/*
 * Addresses style set to 'bolder' in FF3+, S4/5, Chrome
*/
b,
strong {
  font-weight: bold;
}
blockquote {
  margin: 1em 40px;
}
/*
 * Addresses styling not present in S5, Chrome
 */
dfn {
  font-style: italic;
}
/*
 * Addresses styling not present in IE6/7/8/9
 */
mark {
  background: #ff0;
  color: #000;
}
/*
 * Addresses margins set differently in IE6/7
 */
p,
pre {
  margin: 1em 0;
}
/*
 * Corrects font family set oddly in IE6, S4/5, Chrome
 * en.wikipedia.org/wiki/User:Davidgothberg/Test59
 */
pre,
code,
kbd,
samp {
  font-family: monospace, serif;
  _font-family: 'courier new', monospace;
  font-size: 1em;
}
/*
 * Improves readability of pre-formatted text in all browsers
 */
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}
/*
 * 1. Addresses CSS quotes not supported in IE6/7
 * 2. Addresses quote property not supported in S4
 */
/* 1 */
q {
  quotes: none;
}
/* 2 */
q:before,
q:after {
  content: '';
  content: none;
}
small {
  font-size: 75%;
}
/*
 * Prevents sub and sup affecting line-height in all browsers
 * gist.github.com/413930
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
/* =============================================================================
   Lists
   ========================================================================== */
/*
 * Addresses margins set differently in IE6/7
 */
dl,
menu,
ol,
ul {
  margin: 1em 0;
}
dd {
  margin: 0 0 0 40px;
}
/*
 * Addresses paddings set differently in IE6/7
 */
menu,
ol,
ul {
  padding: 0 0 0 40px;
}
/*
 * Corrects list images handled incorrectly in IE7
 */
nav ul,
nav ol {
  list-style: none;
  list-style-image: none;
}
/* =============================================================================
   Embedded content
   ========================================================================== */
/*
 * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
 * 2. Improves image quality when scaled in IE7
 *    code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */
img {
  border: 0;
  /* 1 */

  -ms-interpolation-mode: bicubic;
  /* 2 */

}
/*
 * Corrects overflow displayed oddly in IE9
 */
svg:not(:root) {
  overflow: hidden;
}
/* =============================================================================
   Figures
   ========================================================================== */
/*
 * Addresses margin not present in IE6/7/8/9, S5, O11
 */
figure {
  margin: 0;
}
/* =============================================================================
   Forms
   ========================================================================== */
/*
 * Corrects margin displayed oddly in IE6/7
 */
form {
  margin: 0;
}
/*
 * Define consistent border, margin, and padding
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
/*
 * 1. Corrects color not being inherited in IE6/7/8/9
 * 2. Corrects text not wrapping in FF3
 * 3. Corrects alignment displayed oddly in IE6/7
 */
legend {
  border: 0;
  /* 1 */

  padding: 0;
  white-space: normal;
  /* 2 */

}
/*
 * 1. Corrects font size not being inherited in all browsers
 * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
 * 3. Improves appearance and consistency in all browsers
 */
button,
input,
select,
textarea {
  font-size: 100%;
  /* 1 */

  margin: 0;
  /* 2 */

  vertical-align: baseline;
  /* 3 */

}
/*
 * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
 */
button,
input {
  line-height: normal;
  /* 1 */

}
/*
 * 1. Improves usability and consistency of cursor style between image-type 'input' and others
 * 2. Corrects inability to style clickable 'input' types in iOS
 * 3. Removes inner spacing in IE7 without affecting normal text inputs
 *    Known issue: inner spacing remains in IE6
 */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  /* 1 */

  -webkit-appearance: button;
  /* 2 */

}
/*
 * Re-set default cursor for disabled elements
 */
button[disabled],
input[disabled] {
  cursor: default;
}
/*
 * 1. Addresses box sizing set to content-box in IE8/9
 * 2. Removes excess padding in IE8/9
 * 3. Removes excess padding in IE7
      Known issue: excess padding remains in IE6
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */

  padding: 0;
  /* 2 */

}
/*
 * 1. Addresses appearance set to searchfield in S5, Chrome
 * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */

  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */

  box-sizing: content-box;
}
/*
 * Removes inner padding and search cancel button in S5, Chrome on OS X
 */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
/*
 * Removes inner padding and border in FF3+
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
/*
 * 1. Removes default vertical scrollbar in IE6/7/8/9
 * 2. Improves readability and alignment in all browsers
 */
textarea {
  overflow: auto;
  /* 1 */

  vertical-align: top;
  /* 2 */

}
/* =============================================================================
   Tables
   ========================================================================== */
/*
 * Remove most spacing between table cells
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* @group #book */
body,
html {
  height: 100%;
  overflow: hidden;
}
body {
  background: #444444 url("/img/bg/bokeh.jpg") no-repeat center center;
  -moz-background-size: cover;
  background-size: cover;
  position: relative;
  font-family: MicrosoftYaHei, '微软雅黑', Arial, Tahoma, Halvetica, Georgia, Sans-serif;
  font-size: 75%;
  line-height: 14pt;
  color: #000;
}
a {
  text-decoration: none;
}
sup {
  top: 0;
}
sub {
  bottom: 0;
}
#main-book {
  width: 560px;
  position: absolute;
  top: 10px;
  right: auto;
  bottom: 10px;
  left: 80px;
  overflow: hidden;
  z-index: 5;
  -webkit-transition: left 2s cubic-bezier(0.01, 0, 0, 1);
  -moz-transition: left 0.2s cubic-bezier(0.01, 0, 0, 1);
  -webkit-box-shadow: 3px 3px 40px #000000;
  -moz-box-shadow: 3px 3px 40px #000000;
  box-shadow: 3px 3px 40px #000000;
  background: #ffffff;
  background: -webkit-gradient(linear, left center, right center, color-stop(0, #f0f0f0), color-stop(8%, #ffffff));
  background-image: -webkit-linear-gradient(left, #f0f0f0 0, #ffffff 8%);
  background-image: -moz-linear-gradient(left, #f0f0f0 0, #ffffff 8%);
  background-image: -o-linear-gradient(left, #f0f0f0 0, #ffffff 8%);
  background-image: -ms-linear-gradient(left, #f0f0f0 0, #ffffff 8%);
  background-image: linear-gradient(left, #f0f0f0 0, #ffffff 8%);
}
#main-book.space {
  left: 480px;
}
#main-book .header,
#main-book .footer,
#main-book .outer {
  display: block;
  z-index: 5;
}
#main-book .header {
  height: 45px;
  background: #fff;
  position: absolute;
  top: 0;
  right: 20px;
  bottom: auto;
  left: 45px;
  -webkit-box-shadow: -5px 10px 10px #ffffff;
  -moz-box-shadow: -5px 10px 10px #ffffff;
  box-shadow: -5px 10px 10px #ffffff;
}
#main-book .header h2 {
  display: block;
  margin: 20px 40px 0 5px;
  padding-bottom: 4px;
  color: #dca;
  border-bottom: 1px solid #f5f5f5;
  font-weight: normal;
  font-size: 1em;
  line-height: normal;
  text-align: right;
}
#main-book .footer {
  height: 45px;
  background: #fff;
  position: absolute;
  top: auto;
  right: 20px;
  bottom: 0;
  left: 45px;
  -webkit-box-shadow: -5px -10px 10px #ffffff;
  -moz-box-shadow: -5px -10px 10px #ffffff;
  box-shadow: -5px -10px 10px #ffffff;
}
#main-book .outer {
  width: 20px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  background: rgba(255, 255, 255, 0.9) url(/img/bg-book-outer.png) repeat-y 14px 0;
}
#main-book .corner {
  width: 6px;
  height: 5px;
  position: absolute;
  right: 0;
  background: #ffffff url(/img/bg-book-outer.png) no-repeat;
}
#main-book .corner.tr {
  top: 0;
  background-position: -6px 0;
}
#main-book .corner.br {
  bottom: 0;
  background-position: -12px 0;
}
#main-book .stream {
  padding: 200px 70px 2000px 50px;
  position: absolute;
  top: 30px;
  right: -20px;
  bottom: 30px;
  left: 0;
}
#main-book .chapter {
  font-size: 1.34em;
  width: 450px;
}
.stream {
  z-index: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-transition: none;
}
.chapter h1,
.chapter h2,
.chapter h3,
.chapter h4,
.chapter h5,
.chapter h6 {
  line-height: inherit;
}
#seco-book {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: 5;
  -webkit-transition: left 2s cubic-bezier(0.01, 0, 0, 1);
  -moz-transition: left 0.2s cubic-bezier(0.01, 0, 0, 1);
  -webkit-box-shadow: 3px 3px 40px #000000;
  -moz-box-shadow: 3px 3px 40px #000000;
  box-shadow: 3px 3px 40px #000000;
  background: #ffffff;
  background: -webkit-gradient(linear, left center, right center, color-stop(92%, #fafafa), color-stop(100%, #ffffff));
  background-image: -webkit-linear-gradient(left, #fafafa 92%, #ffffff 100%);
  background-image: -moz-linear-gradient(left, #fafafa 92%, #ffffff 100%);
  background-image: -o-linear-gradient(left, #fafafa 92%, #ffffff 100%);
  background-image: -ms-linear-gradient(left, #fafafa 92%, #ffffff 100%);
  background-image: linear-gradient(left, #fafafa 92%, #ffffff 100%);
  border-right: 1px solid #ddd;
}
#seco-book .stream {
  padding: 200px 30px 500px 30px;
  position: absolute;
  top: 30px;
  right: -20px;
  bottom: 30px;
  left: 0;
}
#seco-book .chapter {
  width: 340px;
}
#seco-book .chapter dd:hover {
  color: inherit;
  background: inherit;
}
#seco-book .header,
#seco-book .footer,
#seco-book .outer {
  display: block;
  z-index: 5;
}
#seco-book .header {
  height: 45px;
  background: #fafafa;
  position: absolute;
  top: 0;
  right: 25px;
  bottom: auto;
  left: 20px;
  -webkit-box-shadow: 0 10px 10px #fafafa;
  -moz-box-shadow: 0 10px 10px #fafafa;
  box-shadow: 0 10px 10px #fafafa;
}
#seco-book .header h2 {
  display: block;
  margin: 20px 5px 0 10px;
  padding-bottom: 4px;
  color: #dca;
  border-bottom: 1px solid #eee;
  font-weight: normal;
  font-size: 1em;
  line-height: normal;
}
#seco-book .footer {
  height: 45px;
  background: #fafafa;
  position: absolute;
  top: auto;
  right: 25px;
  bottom: 0;
  left: 20px;
  -webkit-box-shadow: 0 -10px 10px #fafafa;
  -moz-box-shadow: 0 -10px 10px #fafafa;
  box-shadow: 0 -10px 10px #fafafa;
}
#thumb-track {
  position: absolute;
  top: 20px;
  right: 0;
  bottom: 20px;
  left: auto;
  width: 20px;
  display: block;
}
.thumb {
  width: 46px;
  height: 92px;
  position: absolute;
  top: 100px;
  right: 6px;
  bottom: auto;
  left: auto;
  z-index: 99;
  background: transparent url(/img/bg-thumb.png) no-repeat;
  color: #cc3;
  text-align: center;
  font-family: MicrosoftYaHei, '微软雅黑', Arial, Tahoma, Halvetica, Georgia, Sans-serif;
  cursor: default;
  display: none;
}
.thumb .b-sn {
  margin: 26px 0 auto auto;
  width: 34px;
  height: 26px;
  line-height: 26px;
  display: block;
  border-bottom: 1px solid #664;
}
.thumb .b-sn:first-letter {
  font-size: 1.3em;
}
.thumb .c-num {
  margin: 0 0 auto auto;
  width: 34px;
  display: block;
}
/* @end #book */
/* @group .chapter */
.chapter {
  letter-spacing: .1em;
  text-align: justify;
  text-justify: inter-ideograph\9;
  font-family: MicrosoftYaHei, '微软雅黑', Arial, Tahoma, Halvetica, Georgia, Sans-serif;
  _font-family: Verdana, '宋体';
  line-height: 2em;
  padding: 32px 0 0 0;
  clear: both;
}
.chapter.niv {
  font-family: 'Myriad Pro', 'Helvetica Neue';
  letter-spacing: normal;
  line-height: 1.8em;
}
.chapter.niv h2 {
  letter-spacing: normal;
  font-family: 'Helvetica Neue';
  font-weight: 100;
  font-size: 3em;
}
.chapter.niv h3,
.chapter.niv h4 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 0.88em;
  color: #960;
  font-weight: normal;
}
.chapter.niv p {
  margin-top: 0;
  margin-bottom: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
.chapter.niv .i1 {
  text-indent: 1.5em;
}
.chapter.niv .i-1 {
  text-indent: -1.5em;
}
.chapter.niv .l1 {
  padding-left: 1.5em;
}
.chapter.niv .l2 {
  padding-left: 3em;
}
.chapter.niv .l3 {
  padding-left: 4.5em;
}
.chapter.niv .r1 {
  padding-right: 1.5em;
}
.chapter.niv .ar {
  text-align: right;
}
.chapter.niv .pn {
  color: #999;
}
.chapter.niv b {
  font-variant: small-caps;
  font-weight: normal;
  font-size: 1.1em;
}
.chapter.niv i {
  font-style: italic;
  border: none;
}
.chapter.niv small {
  color: #960;
  font-size: 0.8em;
}
.chapter.niv small i {
  font-size: 1.25em;
}
.chapter.niv q {
  color: #900;
}
.chapter.niv ins {
  text-decoration: none;
  border-bottom: #cc9 1px dashed;
}
.chapter.niv big {
  font-family: 'Helvetica Neue';
  font-weight: 100;
}
.chapter.lab {
  color: #679;
  line-height: 1.8em;
}
.chapter.lab h3 {
  font-weight: normal;
  color: inherit;
}
.chapter.lab dt {
  display: block;
  margin: 0;
  padding: 0;
  color: #03b;
  height: auto;
  margin-top: 1.8em;
  line-height: inherit;
}
.chapter.lab dt:hover {
  color: #03b;
  background: inherit;
}
.chapter.lab dd {
  display: block;
  font-size: 0.88em;
  margin: 0;
  padding: 0;
  line-height: inherit;
}
.chapter h2 {
  text-align: center;
  font-size: 2em;
  letter-spacing: 0.6em;
  padding: 64px 0;
  color: #960;
  font-weight: normal;
}
.chapter big {
  display: block;
  float: left;
  margin: 0 20px 20px 0;
  padding: 0;
  letter-spacing: 0;
  font-size: 5em;
  line-height: 1em;
  font-family: Georgia;
}
.chapter dl {
  display: block;
  margin-bottom: 2em;
}
.chapter dt {
  font-size: 0.88em;
  color: #960;
  margin: 0;
  height: 32px;
  display: inline;
  padding: 5px 1.5em 5px 0;
  font-weight: inherit;
}
.chapter dd {
  display: inline;
  padding: 8px 0;
  -webkit-transition: background 0.3s, color 0.3s;
  transition: background 0.3s, color 0.3s;
  margin-left: 0;
}
.chapter sup {
  font: 0.75em 'Verdana', 'Arial';
  color: #960;
  letter-spacing: 0;
  overflow: hidden;
  vertical-align: text-top;
}
.chapter .pn {
  color: #999;
}
.chapter s {
  display: block;
  width: 2.2em;
  height: 1em;
  float: left;
}
.chapter u {
  border-bottom: #cc9 1px solid;
  text-decoration: none;
}
.chapter i {
  border-bottom: #cc9 1px dashed;
  padding-bottom: 2px;
  text-transform: none;
  font-style: normal;
}
.chapter dd:hover,
.chapter dt:hover {
  color: #930;
  background: #f3f3f3;
}
.chapter span.highlight,
#results span.highlight {
  background: #ff6;
}
.chapter dd.highlight {
  color: #930;
  background: rgba(255, 255, 127, 0.4);
}
.chapter span.highlight {
  background: #ff6;
}
/* @end .chapter */
/* @group #book-fly */
#book-fly {
  position: absolute;
  top: 0;
  right: auto;
  bottom: auto;
  left: 680px;
  color: #eee;
  text-shadow: 0 0 0 rgba(255, 255, 255, 0.5), 1px 1px 5px #000000;
  width: 200px;
  cursor: default;
  display: none;
  z-index: 7;
  list-style: none;
  padding-left: 0;
  margin-top: 0;
}
#book-fly.space {
  left: 1080px;
}
#book-fly li {
  line-height: 1px;
  height: 1px;
  margin: 23px 0;
  background: #fff;
  text-indent: -30px;
  -webkit-box-shadow: 1px 1px 5px #000000;
  -moz-box-shadow: 1px 1px 5px #000000;
  box-shadow: 1px 1px 5px #000000;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
}
#book-fly li:first-letter {
  font-size: 1.17em;
}
#book-fly li.h3 {
  line-height: 2px;
  height: 2px;
  color: #f0f0f0;
}
#book-fly li.h2 {
  line-height: 4px;
  height: 4px;
  color: #f7f7f7;
}
#book-fly li.h1 {
  line-height: 14px;
  height: 14px;
  color: #fff;
  vertical-align: middle;
}
/* @end #book-fly */
#viewp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 0, 0.6);
}
#toolbox {
  position: absolute;
  top: 0;
  left: 0;
}
#toggle {
  margin-top: 30px;
}
#toggle a {
  padding: 35px 0 0 0;
  display: block;
  width: 60px;
  height: 25px;
  margin-bottom: 10px;
  margin-left: 5px;
  text-align: center;
  color: #f7f7f7;
  text-shadow: 0 0 0 rgba(255, 255, 255, 0.5), 1px 1px 5px #000000;
  font-size: 10px;
  -webkit-border-radius: 3px;
  -webkit-transition: background-color 0.2s ease-in-out;
  -moz-opacity: 0.8;
  -khtml-opacity: 0.8;
  -webkit-opacity: 0.8;
  opacity: 0.8;
}
#toggle a:hover {
  border: none;
}
#toggle a.on {
  color: #fff;
  background-position-x: -50px;
  -moz-opacity: 1;
  -khtml-opacity: 1;
  -webkit-opacity: 1;
  opacity: 1;
}
.icon {
  background: transparent url(/assets/img/icon-outlined-w.png) no-repeat 0 0;
  width: 30px;
  height: 30px;
  display: block;
  margin: 0 auto;
  vertical-align: middle;
}
.icon.search {
  background-position: -159px -160px;
}
.icon.parallel {
  background-position: -119px -80px;
}
/* @group #main-panel */
#main-panel {
  width: 400px;
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 80px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  z-index: 6;
  -moz-border-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -webkit-border-top-left-radius: 5px;
}
/* @group #i */
#i {
  font-family: MicrosoftYaHei, '微软雅黑', Arial, Tahoma, Halvetica, Georgia, Sans-serif;
  font-size: 1.3em;
  line-height: 1em;
  margin: 30px 0 5px 20px;
  padding: 6px 4px 6px 6px;
  width: 360px;
  border: none;
  box-sizing: border-box;
  -webkit-appearance: textfield;
  height: auto;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -moz-opacity: 0.9;
  -khtml-opacity: 0.9;
  -webkit-opacity: 0.9;
  opacity: 0.9;
  -webkit-transition: all 0.1s ease-in-out;
}
#i:focus {
  outline: none;
  border: none;
  -moz-opacity: 1;
  -khtml-opacity: 1;
  -webkit-opacity: 1;
  opacity: 1;
}
#i::-webkit-input-placeholder,
#i::-moz-placeholder {
  color: #aaa;
  padding: 3px 4px 6px 0;
  text-indent: 0;
}
/* @end #i */
/* @group #search-results */
#search-results {
  overflow: hidden;
  max-height: 500px;
  width: 360px;
  background: #ccc;
  border-radius: 5px;
}
#main-panel .panel {
  display: block;
  position: relative;
  width: 360px;
  margin: 0 0 20px 20px;
  padding-top: 10px;
  background: transparent url(/img/bd-bbangle.png) no-repeat 30px 0;
  display: none;
}
.scrollbar {
  position: absolute;
  right: 4px;
  top: 0px;
  -webkit-border-radius: 5px;
  width: 10px;
  height: 50px;
  background: rgba(0, 0, 0, 0.1);
}
#search-results .stream {
  overflow-y: auto;
  max-height: 500px;
  width: 360px;
}
#search-results dl {
  width: 360px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  background: #fcfcfc;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #f9f9f9), color-stop(1, #fcfcfc));
  background: -ms-linear-gradient(bottom, #f9f9f9, #fcfcfc);
  background: -moz-linear-gradient(center bottom, #f9f9f9 0%, #fcfcfc 100%);
  border-bottom: 1px solid #eee;
  border-top: 1px solid #fff;
  padding: 10px 10px;
  margin: 0;
  color: #666;
  line-height: 180%;
  -webkit-transition: all all 0.1s ease-in-out ease-out;
  -moz-transition: all all 0.1s ease-in-out ease-out;
  transition: all all 0.1s ease-in-out ease-out;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}
#search-results dl:hover {
  background: #f9f9f0;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #f5f5e9), color-stop(1, #f9f9f0));
  background: -ms-linear-gradient(bottom, #f5f5e9, #f9f9f0);
  background: -moz-linear-gradient(center bottom, #f5f5e9 0%, #f9f9f0 100%);
}
#search-results dl.focus {
  background: -webkit-gradient(linear, 0 0, 0 100%, from(#e7e7e7), color-stop(0.1, #eeeeee), to(#f4f4f4));
  border-top: 1px solid #c8c8c8;
  border-bottom: 1px solid #ddd;
  color: #333;
  border-right: 4px solid #da6;
}
#search-results dt {
  display: block;
  text-align: left;
  float: left;
  color: #b95;
  font-weight: inherit;
  line-height: inherit;
}
#search-results dt a {
  color: #000;
}
#search-results dd {
  display: block;
  margin-left: 60px;
  line-height: inherit;
}
#search-results em {
  background: #ef5;
  font-style: normal;
}
/* @end #search-results */
/* @group #sangreal */
/*
#main-panel .panel.sangreal {
	background-position: right center;
	padding: 0 10px 0 0;
	margin-top: 10px;
//	border: 1px solid #f00;
}
*/
#sangreal {
  padding: 10px;
  max-height: 500px;
  width: 338px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  background: #e3e3e3 url(/img/bg-editcol.png);
  position: absolute;
  z-index: 4;
  left: 500px;
  bottom: 100px;
  top: auto;
  height: 160px;
  border: 1px solid #eee;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 3px 10px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 3px 10px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 3px 8px rgba(0, 0, 0, 0.3);
  -webkit-transition: -webkit-box-shadow 0.3s;
}
#sangreal.dragging {
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 3px 10px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 3px 10px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 5px 20px rgba(0, 0, 0, 0.4);
}
#sangreal .corner.top {
  width: 36px;
  height: 16px;
  position: absolute;
  top: -16px;
  left: 162px;
  background: transparent url(/img/bg-editcol-c-t.png) no-repeat;
}
#sangreal h4 {
  margin: 0;
}
#sangreal-title {
  height: 20px;
  margin: 0 auto 10px auto;
  font-family: MicrosoftYaHei;
  line-height: 20px;
  width: 320px;
  color: #9ab;
  background: transparent;
  border: none;
  text-shadow: 0 0 0 rgba(0, 0, 0, 0.5), 1px 1px 3px #ffffff;
  font-size: 14px;
  text-align: center;
  width: auto;
  display: block;
  padding: 0;
  width: 100px;
}
#sangreal-text {
  border: none;
  font-family: MicrosoftYaHei;
  background: transparent;
  font-size: 12px;
  line-height: 180%;
  width: 352px;
  height: 100px;
  padding: 5px 5px 5px 4px;
  resize: none;
  color: #000;
  text-shadow: 0 0 0 rgba(0, 0, 0, 0.5), 1px 1px 3px #ffffff;
  overflow-y: scroll;
}
#sangreal-text:focus,
#sangreal-title:focus {
  outline: none;
}
div[role=button] {
  background: #eee;
  display: inline-block;
  width: 54px;
  height: 28px;
  line-height: 28px;
  border: 1px solid #ddd;
  -webkit-border-radius: 3px;
  text-align: center;
  color: #ccc;
  cursor: pointer;
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 2px 1px rgba(255, 255, 255, 0.1) inset;
  -webkit-transition: all 0.3s;
}
div[role=button]:hover {
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1), 0 2px 1px rgba(255, 255, 255, 0.1) inset;
}
div[role=button]:active {
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1) inset;
}
div[role=button].cancel {
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #666;
}
div[role=button].cancel:hover {
  border: 1px solid #c0c0c0;
  background: #f1f1f1;
}
div[role=button].default {
  border: 1px solid #3079ed;
  background: #4787ed;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#4d90fe), to(#4787ed));
  color: #fff;
}
div[role=button].default:hover {
  border: 1px solid #2f5bb7;
  background: #357ae8;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#4d90fe), to(#357ae8));
}
#sangreal .cancel {
  position: absolute;
  left: 5px;
  top: 5px;
}
#sangreal .default {
  position: absolute;
  right: 5px;
  top: 5px;
}
.scrollpanel {
  width: 340px;
  overflow: hidden;
  position: relative;
}
/* @end #sangreal */
/* @end #main-panel */
#loading {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  background: #fff;
  display: block;
  z-index: 999;
}
#tip {
  display: none;
  position: absolute;
  z-index: 2;
  padding: 0;
  width: 22px;
  height: 22px;
  background: none;
  z-index: 9;
}
#tip a {
  display: block;
  background: #ffcc00 url(/img/bg_wf.png) no-repeat -498px -295px;
  width: 22px;
  height: 22px;
  text-indent: -10000px;
  padding: 0;
  margin: 0;
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  opacity: 0.7;
}
#tip a:hover {
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  opacity: 1;
}
