/* reset */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.5;
  background: #FFF;
  color: #333;
  position: relative;
  font-size: 13px;
}

ol, ul, menu {
  margin: 0 0 1.75em 1.75em;
}

li {
  margin: .1em 0 .1em 1.75em;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
}

input, label, select {
  vertical-align: middle;
}

input, select, textarea {
  font-size: 100%;
}

input[type=text], textarea {
  border-radius: 0;
  -webkit-appearance: none;
}

textarea {
  background-color: #FFF;
  border: 1px solid #abadb3;
  border-radius: 0;
}

kbd {
  padding: .1em .6em;
  border: 1px solid #ccc;
  font-size: 11px;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f7f7f7;
  color: #333;
  -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
  border-radius: 3px;
  display: inline-block;
  margin: 0 .1em 0;
  text-shadow: 0 1px 0 #fff;
  line-height: 1.4;
  white-space: nowrap;
}

img {
  vertical-align: text-bottom;
  border: none;
}

pre {
  overflow: auto;
  padding-bottom: 2em;
}

* html pre {
  overflow-y: visible;
}

hr {
  height: 0;
  border: 0;
  border-top: 1px solid #EEE;
}

i, em {
  margin-right: .1em;
}

sub, sup {
  vertical-align: baseline;
  position: relative;
}

sub {
  top: .4em;
}

sup {
  bottom: .4em;
}

:focus {
  outline: none;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

* html a {
  cursor: pointer;
}

acronym {
  cursor: help;
  border-bottom: 1px dotted #000;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
}

blockquote, q {
  quotes: none;
}

q {
  font-style: italic;
}

h1 + p, h2 + p, h3 + p, h4 + p {
  text-indent: 0;
}

textarea {
  resize: vertical;
}

input, select, textarea {
  font-family: Verdana, "Geneva CE", lucida, 'Microsoft YaHei', sans-serif;
}

h1, h2, h3, h4 {
  font-family: Trebuchet MS, "Geneva CE", lucida, 'Microsoft YaHei', sans-serif;
}

/* base */
body {
  color: #444;
  font: 80%/1.65 Verdana, "Geneva CE", lucida, 'Microsoft YaHei', sans-serif;
  /* text-rendering: optimizeLegibility; */
  /* -webkit-font-smoothing: antialiased; */
  /* -moz-osx-font-smoothing: grayscale; */
}

pre {
  display: block;
  padding: 10px;
  margin: 0 0 10.5px;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-all;
  word-wrap: break-word;
  color: #333;
  background-color: whitesmoke;
  border: 1px solid #ccc;
  border-radius: 2px
}

pre code {
  padding: 0;
  font-size: inherit;
  color: inherit;
  white-space: pre-wrap;
  background-color: transparent;
  border-radius: 0
}

html {
  height: 100%;
}

p {
  margin: 1em 0;
}

h1, h2, h3, h4 {
  text-indent: 0;
  margin: 1.2em 0 .7em;
  color: #333333;
}

h1 {
  font-size: 185%;
  font-weight: 400;
  margin: .2em 0;
}

h2 {
  font-size: 150%;
  font-weight: 400;
}

h3 {
  font-size: 120%;
  color: #444;
}

h4 {
  font-size: 100%;
}

h1 small {
  color: gray;
  margin-left: 10px;
}

small {
  font-size: smaller;
}

a, a:hover, a:link {
  color: #009a61;
}

.hidden {
  display: none;
}

html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.clearfix:before, .clearfix:after {
  content: '';
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

.main .inner:before, .main .inner:after {
  content: '';
  display: table;
}

.main .inner:after {
  clear: both;
}

.main .inner {
  *zoom: 1;
}

textarea {
  overflow: auto;
}

.tof {
  display: block;
  /* width:244px; */
  max-width: 244px;
  margin: 0px 0px 0px 3px;
  white-space: nowrap;
  overflow: hidden;
  float: left;
  -o-text-overflow: ellipsis; /**//* for Opera */
  text-overflow: ellipsis; /**//* for IE */
}

.tof:after {
  content: "";
}

/**//* for Firefox */

@media all and (min-width: 0px) {
  .tof:after {
    content: "";
  }

  /**//* for Opera */
}

/* layout */
button {
  *display: inline;
  *float: left;
  margin: 0 7px 0 0;
  background-color: #f5f5f5;
  border: 1px solid;
  border-color: #f0f0f0 #9c9c9c #9c9c9c #f0f0f0;
  text-decoration: none;
  font-weight: 700;
  color: #565656;
  cursor: pointer;
  width: auto;
  overflow: visible;
  padding: 4px 7px 3px;
  font-size: 12px;
  line-height: 130%;
  font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
}

button[type] {
  padding: 5px 8px;
  line-height: 17px;
  border-radius: 0;
  /* Safari */
}

:first-child + html button[type] {
  padding: 4px 7px 3px;
  /* IE7 */
}

button:hover, button.hover {
  color: #009a61;
}

button:active, button.active {
  border-color: #9C9C9C #F0F0F0 #F0F0F0 #9C9C9C;
}

button.disabled, button.disabled:active, button.disabled:hover, button[disabled=true], button[disabled=true]:active, button[disabled=true]:hover {
  border-color: #F0F0F0 #9C9C9C #9C9C9C #F0F0F0;
  color: #9C9C9C;
  background-color: #F0F0F0;
  cursor: default;
}

.w {
  width: 1190px;
  margin: 0 auto;
}

.w:after {
  overflow: hidden;
  clear: both;
  display: block;
  height: 0;
  content: "\20";
}

.overlay {
  position: fixed;
  overflow: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 999;
  background-color: #FFF;
}

.overlay-close {
  border: 0;
  background: rgba(0, 0, 0, 0);
  position: absolute;
  top: 5px;
  right: 5px;
  color: rgba(0, 0, 0, .3);
  font-size: 16px;
}

.overlay-content {
  width: 1190px;
  margin: 0 auto;
}

.overlay-content p.desc {
  font-size: 14px;
  color: #333;
  font-weight: 700;
}

.overlay-content pre {
  border: 1px solid #CCC;
  background: #F5F5F5;
  margin: 15px 0;
  padding: 8px 10px;
}

.i {
  color: #999;
}

#hdr {
}

#hdr .w {
  position: relative;
  height: 95px;
  z-index: 2;
}

#hdr a.logo {
  font-size: 28px;
  text-decoration: none;
  color: #009a61;
  font-family: "Trebuchet MS", "Geneva CE", lucida, 'Microsoft YaHei', sans-serif;
  position: absolute;
  left: 0;
  top: 26px;
  padding-left: 38px;
  background: url(//qn11.tool.lu/201710/15/103320SbM84Ql4tETjg49a_28x28.png) 0 7px no-repeat;
}

#hdr a.logo span.sup {
  width: 48px;
  height: 48px;
  position: absolute;
  top: -5px;
  right: -50px;
  display: block;
  background: url(//qn14.tool.lu/201712/31/221330ZOFjPO4cLp4CIMzr_48x48.png) 0 0 no-repeat;
}

#hdr .nav {
  position: absolute;
  top: 0;
  right: 0;
  width: 338px;
  padding: 3px 10px 0;
  font-size: 13px;
  line-height: 27px;
  margin: 0;
  text-align: right;
}

#hdr .nav a {
  padding: 0 8px;
}

#nav {
  background-color: #FFF;
}

#nav.scroll-to-fixed-fixed {
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .3);
}

#nav.scroll-to-fixed-fixed .nav-inner {
  padding-top: 0;
}

#nav.scroll-to-fixed-fixed li.active a {
  border: none;
  border-bottom: 2px solid #009a61;
}

#nav.scroll-to-fixed-fixed .feedback {
  top: 3px;
}

#nav ul {
  padding: 0;
  margin: 0;
}

#nav li {
  list-style-type: none;
  margin: 0;
  float: left;
  display: inline-block;
  font-size: 15px;
}

#nav li a {
  line-height: 31px;
  padding: 0 14px;
  display: block;
}

#nav li.active a {
  border: 1px solid #CCC;
  border-bottom: none;
  background: #FFF;
  border-radius: 3px 3px 0 0;
}

#nav .nav-inner {
  position: relative;
  padding: 5px 10px 0 10px;
  background: url(//qn13.tool.lu/201510/25/pQGN8Q9v5AQ4i78J_14x1.png) 0 bottom repeat-x #F5F5F5;
}
#nav .nav-inner ul {
  height: 32px;
  overflow: hidden;
  margin-right: 70px;
}

#nav.scroll-to-fixed-fixed .nav-inner {
  background: #FFF;
}

.main {
  float: left;
  width: 100%;
  overflow: hidden;
}

.main .inner {
  margin: 10px 309px 0 0;
  position: relative;
}

.main.no-side .inner {
  margin: 10px 0 0 0;
}

.aside {
  float: right;
  width: 298px;
  margin-left: -298px;
  margin-top: 10px;
}

.aside .inner {
  margin: 0 10px;
  position: relative;
}

.aside p.inner {
  margin-bottom: 1em;
}

.aside h3:first-child, .aside h3.first-child {
  margin-top: 0;
}

.aside .note {
  padding-top: 38px;
  margin-bottom: 10px;
  background: url(../image/bg-note-top.png) top center no-repeat;
}

.aside .note-container {
  padding: 1px 20px 0;
  text-indent: 2em;
  background: url(../image/bg-note-middle.png) top center repeat-y;
  overflow: hidden;
}

.aside .note-bottom {
  padding-bottom: 34px;
  background: url(../image/bg-note-bottom.png) bottom center no-repeat;
}

.main textarea.code {
  font-size: 13px;
  line-height: 1.5;
  display: block;
  width: 100%;
  padding: 3px 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

.main textarea.code:focus {
  -webkit-box-shadow: inset 1px 1px #dedede, inset 2px 2px #f4f4f4;
  -moz-box-shadow: inset 1px 1px #dedede, inset 2px 2px #f4f4f4;
  box-shadow: inset 1px 1px #dedede, inset 2px 2px #f4f4f4;
}

#textWrap {
  position: relative;
}

#clear {
  position: absolute;
  top: 0;
  right: 26px;
  width: 18px;
  height: 18px;
  line-height: 16px;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  display: none;
  z-index: 5;
  border-radius: 0 0 3px 3px;
  background: red;
  color: #FFF;
}

#clear.hover {
  color: #F5F5F5;
}

#code {
  width: 100%;
  height: 461px;
  padding: 3px 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

.code-s {
  height: 201px !important;
}

#py5bdiv {
  height: 201px;
  padding: 3px 5px;
  border: 1px solid #ccc;
}

.main input.text {
  width: 370px;
  padding: 5px 3px;
  line-height: 17px;
  border: 1px solid #ccc;
}

.main select {
  height: 29px;
  line-height: 29px;
}

.main input.number {
  width: 100px;
  padding: 5px 3px;
  border: 1px solid #ccc;
}

.main input.olink {
  width: 570px;
  max-width: 100%;
  box-sizing: border-box;
}

.main input.dlink {
  width: 570px;
  overflow: visible;
  max-width: 100%;
  box-sizing: border-box;
}

.main input.phone_number {
  width: 200px;
  padding: 5px 3px;
  border: 1px solid #ccc;
  float: left;
  margin: 0 5px 0 -40px;
}

.main label.form_left {
  float: left;
  width: 150px;
  padding: 4px 0;
}

/* for chrome */
input:-webkit-autofill {
  border: 1px solid #ccc;
}

#ftr .declare {
  text-align: center;
  padding: 10px 0 15px;
}

.declare a {
  color: #666;
}

.code {
  font-family: Monaco, 'Lucida Console', monospace, Consolas, Courier, 'Microsoft YaHei';
}

.main p + p {
  margin: 0 0 1em;
}

.loading {
  background: url(../image/loading.gif) 50% 50% #FFF9EB no-repeat;
}

.signform p {
  line-height: 30px;
}

a.copy, i.erase {
  margin-left: 10px;
}

a.copy:hover, a.copy.hover {
  color: #123;
}

a.copy:active, a.copy.hover {
  color: red;
}

i.erase {
  background: url(../image/urlconvert.png) 0 -29px no-repeat;
}

i.erase a {
  opacity: 0;
  filter: alpha(opacity=0);
  width: 16px;
  height: 16px;
  display: inline-block;
  overflow: hidden;
}

.h_notice {
  position: absolute;
  top: 41px;
  left: 350px;
  background: #AAA;
  color: #FFF;
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
}

.inner li {
  margin: 1em 0;
  list-style: none;
}

/* convert ico */
label.origin, label.fileico, label.xunlei, label.kuaiche, label.xuanfeng {
  padding: 3px 0 3px 20px !important;
}

.origin {
  background: url(../image/urlconvert.png) 0 -46px no-repeat;
}

.fileico {
  background: url(../image/urlconvert.png) 0 -73px no-repeat;
}

.xunlei {
  background: url(../image/urlconvert.png) 0 -100px no-repeat;
}

.kuaiche {
  background: url(../image/urlconvert.png) 0 -127px no-repeat;
}

.xuanfeng {
  background: url(../image/urlconvert.png) 0 -154px no-repeat;
}

#textWrap #clear {
  right: 32px;
}

#suggest {
  display: none;
}

.box {
  width: 800px;
  height: 500px;
  background: #FFF;
  overflow-x: hidden;
  overflow-y: auto;
}

.box ul, .box li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.box li {
  float: left;
  margin: 5px;
}

.box li a {
  display: block;
  position: relative;
  padding-left: 70px;
  width: 180px;
  height: 60px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid #CCC;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

.box li a .icon {
  position: absolute;
  top: 0;
  left: 0;
  background: #F5F5F5;
  border-right: 1px solid #CCC;
}

.box li a .icon img {
  margin: 6px;
}

.box li a h2 {
  margin: 4px 0;
  font-size: 14px;
}

.box-footer {
  background: #F5F5F5;
  padding: 7px 14px 7px 8px;
}

textarea::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

textarea::-webkit-scrollbar-button:start:decrement {
  display: block;
  height: 5px;
}

textarea::-webkit-scrollbar-button:end:increment {
  display: block;
  height: 5px;
}

textarea::-webkit-scrollbar-button:vertical:increment {
  background-color: transparent;
}

textarea::-webkit-scrollbar-track:enabled {
  background-color: rgba(113, 112, 107, 0.1);
  -webkit-border-radius: 5px;
}

textarea::-webkit-scrollbar-thumb:vertical {
  height: 50px;
  background-color: rgba(0, 0, 0, .2);
  -webkit-border-radius: 5px;
}

textarea::-webkit-scrollbar-thumb:horizontal {
  width: 50px;
  background-color: rgba(0, 0, 0, .2);
  -webkit-border-radius: 5px;
}

table.data {
  border: 1px solid #CCC;
}

input#shorturl {
  background: #FFE url(../image/bookmark.png) 252px center no-repeat;
  width: 266px;
  border: 1px solid #CCC;
  border-top-color: #999;
  padding: 0 5px;
  margin: 0;
  font-family: Trebuchet MS, Liberation Sans, DejaVu Sans, sans-serif;
  font-size: 13px;
  color: #000;
  height: 27px;
  line-height: 27px;
  cursor: pointer;
}

.mgb10 {
  margin-bottom: 10px !important;
}

.box li a .icon.js, .box li a .icon.php, .box li a .icon.html, .box li a .icon.favicon, .box li a .icon.css, .box li a .icon.netcard, .box li a .icon.java, .box li a .icon.highlight, .box li a .icon.sql, .box li a .icon.markdown {
  background: #FFEFC6;
  border-right: 1px solid #FFC463;
}

.box li a:hover {
  box-shadow: 0 0 10px #999;
}

#page .item {
  width: 285px;
  float: left;
  margin: 0 13px 13px 0;
  border: 1px solid #CCC;
  background-image: -webkit-linear-gradient(top, #FFF, #F9F9F9);
  position: static;
  border-radius: 5px;
  transition: box-shadow 0.3s ease-in-out;
}

#page .item:hover {
  box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2);
}

#page .item-inner {
  padding: 10px 15px 10px 8px;
  position: relative;
  _position: static;
}

#page .item a {
  color: #333;
  display: inline-block;
  text-decoration: none;
}

/*new*/

#page .inner {
  margin-right: -10px;
}

#page .item .item-icon {
  float: left;
  margin-right: 10px;
}

#page .item .item-category {
  float: right;
}

#page .item h3 {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  line-height: 1.4;
  margin-bottom: 5px;
  height: 22px;
  overflow: hidden;
}

#page .item .item-desc {
  border-top: 1px solid #DDD;
  margin-top: 8px;
  padding: 10px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#page .item .item-bd a {
  margin-right: 4px;
}

#page .item .item-ft {
  text-align: right;
}

#page .item .item-link {
  float: left;
  margin-top: 3px;
  color: #999;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#page .item a.item-btn {
  display: inline-block;
  padding: 3px 12px;
  text-decoration: none;
  position: relative;
}

#page .item a.item-btn::before {
  content: "";
  position: absolute;
  transition: all .2s ease-in-out;
  left: 50%;
  right: 50%;
  bottom: 0;
  border-bottom: 2px solid transparent;
}

#page .item a.item-btn:hover::before {
  left: 0;
  right: 0;
  border-bottom-color: #009a61;
}

#page .item a.item-btn:hover, #page .item a.item-btn:active {
}

#page .item var, .aside var {
  font-style: normal;
}

#page .item .icon, .aside .icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
  -webkit-transition-property: background-position;
  -webkit-transition-duration: 0.5s;
  -moz-transition-property: background-position;
  -moz-transition-duration: 0.5s;
  transition-property: background-position;
  transition-duration: 0.5s;
}

#page .item .icon.like,
#page .item .icon.liked,
.aside .icon.like,
.aside .icon.liked {
  background: url(//qn12.tool.lu/201609/04/IlOi4goecHd2WqJ0_14x45.png) 0 0 no-repeat;
}

#page .item .icon.like,
.aside .icon.like {
  background-position: 0 0;
}

#page .item a:hover .icon.like,
.aside a:hover .icon.like {
  background-position: 0 -15px;
}

#page .item .icon.liked,
.aside .icon.liked {
  background-position: 0 -30px;
}

#page .item .icon.collect,
#page .item .icon.collected,
.aside .icon.collect,
.aside .icon.collected {
  background: url(//qn13.tool.lu/201709/02/214712uufjXSiNu1KLwM3W_16x48.png) 0 0 no-repeat;
}

#page .item .icon.collect,
.aside .icon.collect {
  background-position: 0 0;
}

#page .item a:hover .icon.collect,
.aside a:hover .icon.collect {
  background-position: 0 -16px;
}

#page .item .icon.collected,
.aside .icon.collected {
  background-position: 0 -32px;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.m-r {
  margin-right: 10px;
}

ol.list-group {
  margin: 0;
  margin-bottom: 10px;
  border: 1px solid #CCC;
  border-width: 1px 0 0 1px;
}

li.list-group-item {
  padding: 10px;
  margin: 0;
  border: 1px solid #CCC;
  border-width: 0 1px 1px 0;
}

table.tbl {
  border-collapse: collapse;
}

table.tbl {
  width: 100%
}

table.tbl th,
table.tbl td {
  border: 1px solid #E6E6E6;
  padding: 5px 8px;
  word-break: normal
}

table.tbl th {
  background: #F3F3F3
}

table.tbl tr:nth-child(2n) td {
  background: #F9F9F9;
}

.medal-pt, .medal-zz, .medal-ds {
  display: inline-block;
  height: 20px;
  width: 48px;
  background: url(//qn12.tool.lu/201609/03/wtkY2vNdycf4q8GS_48x60.png) 0 0 no-repeat;
  vertical-align: middle;
}

.medal-zz {
  background-position: 0 0;
}

.medal-ds {
  background-position: 0 -20px;
}

.medal-pt {
  background-position: 0 -40px;
}

.author-info {
  display: inline-block;
}

.panel {
  border: 1px solid #CCC;

}

.panel-heading {
  background: #f5f5f5;
  padding: 5px 7px;
}

.panel-body {
  padding: 5px 7px;
}

.avatar-thumb {
  border-radius: 50%;
}

.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}

.pagination li {
  display: inline;
}

.pagination a, .pagination span {
  padding: 5px 10px;
  font-size: 12px;
  position: relative;
  float: left;
  margin-left: -1px;
  line-height: 1.4;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}

.pagination .active a {
  z-index: 2;
  color: #fff;
  cursor: default;
  background-color: #009a61;
  border-color: #009a61;
}

.sort {
  height: 30px;
  line-height: 30px;
}

.sort a {
  color: #666;
}

.sort a.active {
  color: #009a61;
}

#t_fixed {
  position: fixed;
  right: 10px;
  /*bottom: -85px;*/
  bottom: 10px;
  transition: bottom ease .3s;
  z-index: 3;
  font-size: 18px;
  text-align: center;
  line-height: 36px;
}

#t_fixed a.btn {
  width: 36px;
  height: 36px;
  display: block;
  text-decoration: none;
  color: #999;
  border-radius: 5px;
}

#t_fixed a.btn:hover {
  background: #F5F5F5;
}

#t_fixed a.btn.qq-qun:hover {
  color: #3498DB;
}

#t_fixed a.btn.weibo:hover {
  color: #E74C3C;
}

#t_fixed a.btn.github:hover {
  color: #2C3E50;
}

#t_fixed a.btn.gotop:hover {
  color: #34495E;
}

ul.color-chips {
  margin: 0;
}

ul.color-chips li {
  width: 11.8%;
  float: left;
}

ul.color-chips li a {
  text-indent: -9999px;
  height: 12px;
  display: block;
}

#brd {
  margin-top: 10px;
}

/* fuck xunlei */
embed[id^="xunlei_com_thunder_helper_plugin"] {
  display: none;
}

button.btn-vip {
  border-color: #E84C3D;
  background: #E84C3D;
  color: #FFF;
}

button.btn-vip:hover {
  color: #FFF;
}

#performance-widget {
  position: fixed;
  top: 52px;
  right: 50px;
}

a.js-like {
  color: #F39C12;
}

a.js-like:hover {
  text-decoration: none;
}

a.btn-default {
  padding: 5px 8px;
  line-height: 17px;
  display: inline-block;
  margin: 0 7px 0 0;
  background-color: #F5F5F5;
  border: 1px solid;
  border-color: #F0F0F0 #9C9C9C #9C9C9C #F0F0F0;
  text-decoration: none;
  font-weight: 700;
  color: #565656;
  cursor: pointer;
  width: auto;
  overflow: visible;
  font-size: 12px;
  font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
}

a.btn-default:hover {
  color: #009A61;
}

a.btn-default:active {
  border-color: #9C9C9C #F0F0F0 #F0F0F0 #9C9C9C;
}

.m-t {
  display: block;
  margin-bottom: 16px;
}

a.bookmark {
  cursor: move;
  text-decoration: none;
  border: 1px dashed #CCC;
  display: inline-block;
  padding: 0 5px;
  line-height: 1.5;
}

.dropplace {
  border: 2px dashed #CCC;
  border-radius: 5px;
}

.dropplace p {
  margin: 50px 0;
  text-align: center;
  color: #666;
}

.fixed-summary {
  cursor: pointer;
  max-height: 10em;
  overflow: hidden;
}

.js_message_nav i {
  display: none;
  width: 6px;
  height: 6px;
  border-radius: 10px;
  background-color: #E74C3C;
  position: absolute;
  top: 5px;
  right: 0;
}

.js_message_nav.new i {
  display: block;
}

@media (max-width: 767px) {
  .hidden-xs {
    display: none !important;
  }

  #hdr a.logo {
    left: 10px;
  }

  .main .inner, .main.no-side .inner, #page .inner {
    margin-right: 12px;
    margin-left: 12px;
  }

  .app #bdy .main .inner {
    margin-left: 0;
    margin-right: 0;
  }

  #page .item {
    float: none;
    margin: 0 auto 11px;
    width: calc(100% - 24px);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hidden-sm {
    display: none !important;
  }

  .main .inner {
    margin-right: 0;
  }

  #hdr a.logo {
    left: 10px;
  }

  #page .item {
    float: left;
    margin: 0 13px 13px 0;
    width: calc(50% - 26px);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .hidden-md {
    display: none !important;
  }

  #page .item {
    float: left;
    margin: 0 13px 13px 0;
    width: calc(30%);
  }
}

@media (min-width: 1200px) {
  .hidden-lg {
    display: none !important;
  }

  /* #page .item:nth-child(4n) {margin-right: 0;} */
}

@media (max-width: 767px) {
  .w {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .w {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .w {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .w {
    width: 1190px;
  }
}

.lang-filters {
  padding: 10px;
}

.lang-filters a {
  display: inline-block;
  line-height: 21px;
  padding: 0 8px;
}

.lang-filters a.active {
  border: 1px solid #009A67;
  background: url(//qn11.tool.lu/201604/23/pLTNRDsBCepa7ghE_13x13.png) bottom right no-repeat;
}

.adsense {
  background: #F4F4F4;
  border: 1px dashed #DDD;
  text-align: center;
  line-height: 1;
  min-height: 200px;
}

#srch {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -16px;
  margin-left: -250px;
  width: 472px;
}

#srch input {
  width: 220px;
  height: 22px;
  padding: 3px 5px;
  padding-right: 165px;
  font-size: 14px;
  line-height: 20px;
  border: 2px solid #ccc;
  border-right: none;
  border-radius: 5px 0 0 5px;
}

#srch button {
  width: 80px;
  height: 32px;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
  font-size: 14px;
  border: 2px solid #ccc;
  border-radius: 0 5px 5px 0;
}

#srch .hot-keywords {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 2px;
  right: 80px;
  background-color: rgba(255, 255, 255, .5);
}

#srch .hot-keywords a {
  display: inline-block;
  border-radius: 3px;
  background: #F5F5F5;
  margin: 3px 5px 3px 0;
  padding: 0 5px;
}

#srch .hot-keywords a:hover {
  background: #E5E5E5;
  text-decoration: none;
}

#eles {
  position: absolute;
  top: 30px;
  right: 10px;
}

#eles ul, #eles li {
  list-style: none;
}

#eles li {
  display: inline;
  float: left;
}

#eles a {
  display: block;
  line-height: 1;
  text-decoration: none;
  text-align: center;
}

#eles a i {
  display: block;
  font-size: 16px;
}

#eles a span {
  display: block;
  padding-top: 6px;
  color: #333;
}

.dotting {
  display: inline-block;
  width: 10px;
  min-height: 2px;
  padding-right: 2px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background-color: currentColor;
  background-clip: content-box;
  box-sizing: border-box;
  animation: dot 4s infinite step-start both;
}

.dotting:before {
  content: '...';
}

.dotting::before {
  content: '';
}

:root .dotting {
  margin-left: 2px;
  padding-left: 2px;
}

@keyframes dot {
  25% {
    border-color: transparent;
    background-color: transparent;
  }
  50% {
    border-right-color: transparent;
    background-color: transparent;
  }
  75% {
    border-right-color: transparent;
  }
}

.timeline {
  border-left: 2px solid #F5F5F5;
  margin-left: 10px;
}

.timeline h3::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(0, 154, 97, .6);
  content: " ";
  margin-left: -6px;
  margin-right: 8px;
}

.timeline p::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #ccc;
  content: " ";
  margin-left: -5px;
  margin-right: 8px;
}

.timeline .timeline-item-desc {
  padding-left: 20px;
}

da.timelime ul, .timeline li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.timeline ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.exchange-links a {
  display: inline-block;
  margin-right: 5px;
}

.software-navi a {
  text-decoration: none;
  display: inline-block;
  border: 1px solid #CCC;
  padding: 0 8px;
  border-radius: 60px;
  margin-right: 10px;
}

.software-navi a:hover, .software-navi a.active {
  border-color: #009a61;
}

.catalog a {
  padding: 0 12px;
  line-height: 1.5;
  display: inline-block;
  border: 1px solid #ccc;
  margin: 5px 5px;
}

.wiki-post-item {
  /* style */
}

.wiki-title h2 {
  margin-top: 0;
}

.wiki-post {
  position: relative;
  /*
  box-shadow: 10px 0 50px rgba(18, 25, 33, .1);
  margin: 20px;
  padding: 20px;
  */
}

.wiki-meta {
  margin-bottom: 15px;
}

.wiki-index {
  border: 1px solid #ccc;
  background-color: #fff;
  z-index: 2;
}

.wiki-index-header {
  background-color: #f5f5f5;
  border-bottom: 1px solid #ccc;
  padding: 7px 10px;
  line-height: 1.5;
  font-weight: 700;
}

.wiki-index-body ul, .wiki-index-body li {
  margin: 0;
  padding: 0;
}

.wiki-index-body li > ul {
  margin-left: 10px;
}

.wiki-index-body li a {
  display: block;
  padding: 7px 10px;
  line-height: 1.5;
  color: #333;
}

.wiki-index-body li a.current {
  color: #009a61;
}

.wiki-content {
  position: relative;
}

.wiki-readall {
  padding: 100px 0 !important;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, .9), rgba(255, 255, 255, .2));
  font-size: 16px;
}

.content-markdown {
  line-height: 1.6;
  word-wrap: break-word;
}

.content-markdown h1 {
  font-size: 2.25em;
}

.content-markdown h2 {
  font-size: 1.75em;
}

.content-markdown h3 {
  font-size: 1.5em;
}

.content-markdown h4 {
  font-size: 1.25em;
}

.content-markdown h5 {
  font-size: 1em;
}

.content-markdown h6 {
  font-size: 0.86em;
}

.content-markdown h4, .content-markdown h5, .content-markdown p, .content-markdown ul, .content-markdown ol, .content-markdown pre, .content-markdown blockquote, .content-markdown table {
  margin: 1.5em 0;
}

.content-markdown h1, .content-markdown h2, .content-markdown h3 {
  margin: 1.5em 0 0;
}

.content-markdown h1, .content-markdown h2 {
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.content-markdown > h1:first-child, .content-markdown h2:first-child, .content-markdown h3:first-child, .content-markdown h4:first-child, .content-markdown p:first-child, .content-markdown ul:first-child, .content-markdown ol:first-child, .content-markdown pre:first-child, .content-markdown blockquote:first-child {
  margin-top: 0;
}

.content-markdown ul, .content-markdown ol {
  margin-left: 3em;
  padding-left: 0;
}

.content-markdown ol li {
  list-style-type: decimal;
}

.content-markdown ul li, .content-markdown ol li {
  margin: .3em 0;
}

.content-markdown ul ul, .content-markdown ul ol, .content-markdown ol ul, .content-markdown ol ol {
  margin-top: 0;
  margin-bottom: 0;
}

.content-markdown ul p, .content-markdown ol p {
  margin: 0;
}

.content-markdown p:last-child {
  margin-bottom: 0;
}

.content-markdown p > p:empty,
.content-markdown div > p:empty,
.content-markdown p > div:empty,
.content-markdown div > div:empty,
.content-markdown p > br:only-child,
.content-markdown div > br:only-child,
.content-markdown p + br,
.content-markdown img + br {
  display: none;
}

.content-markdown img, .content-markdown video, .content-markdown audio {
  position: static !important;
  max-width: 100%;
}

.content-markdown img {
  padding: 3px;
  border: 1px solid #ddd;
}

.content-markdown img.emoji {
  padding: 0;
  border: none;
}

.content-markdown blockquote {
  border-left: 2px solid #009A61;
  background: #F6F6F6;
  color: #555;
  font-size: 1.2em;
}

.content-markdown pre, .content-markdown code {
  font-size: 1.2em;
}

.content-markdown pre {
  padding: 1em;
  border: none;
  overflow: auto;
  line-height: 1.3;
  max-height: 35em;
  position: relative;
  background: #F6F6F6;
  -moz-background-size: 30px, 30px;
  -o-background-size: 30px, 30px;
  -webkit-background-size: 30px, 30px;
  background-size: 30px, 30px;
}

.content-markdown pre code {
  background: none;
  font-size: 1em;
  overflow-wrap: normal;
  white-space: inherit;
}

.content-markdown hr {
  margin: 1.5em auto;
  border-top: 2px dotted #eee;
}

.content-markdown kbd {
  margin: 0 4px;
  padding: 3px 4px;
  background: #eee;
  color: #555;
}

.content-markdown table {
  width: 100%;
  border-collapse: collapse;
}

.content-markdown table th, .content-markdown table td {
  border: 1px solid #E6E6E6;
  padding: 5px 8px;
  word-break: normal;
}

.content-markdown table th {
  background: #F3F3F3;
}

/* 高分屏 */
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2) {
  #hdr a.logo {
    background-image: url(//qn13.tool.lu/201710/15/103319bpfNNx3ST9v8UKtO_56x56.png);
    background-size: 32px auto;
  }

  #hdr a.logo span.sup {
    background-image: url(//qn14.tool.lu/201712/31/221330awheODD5SibrtT3q_96x96.png);
    background-size: auto 48px;
  }

  .medal-pt, .medal-zz, .medal-ds {
    background-image: url(//qn11.tool.lu/201609/03/b4hkVUfXMvOfbBYr_96x120.png);
    background-size: 48px auto;
  }

  .item-hd .item-icon img {
    background-image: url(//qn13.tool.lu/201510/25/Nsx6Vz9E3ygyzjvq_500x1000.png);
    background-size: 250px auto;
  }

  #page .item .icon.like,
  #page .item .icon.liked,
  .aside .icon.like,
  .aside .icon.liked {
    background-image: url(//qn11.tool.lu/201609/04/b7rY1A4IdvILiL2r_28x90.png);
    background-size: 14px auto;
  }

  #page .item .icon.collect,
  #page .item .icon.collected,
  .aside .icon.collect,
  .aside .icon.collected {
    background-image: url(//qn12.tool.lu/201709/02/214359fnqhVZ9K5Tr7y8hT_32x96.png);
    background-size: 16px auto;
  }
}

#im-container {
  width: 580px;
  height: 430px;
  position: fixed;
  z-index: 1000;
  left: 10px;
  top: 10px;
  background: #F5F5F5;
}

#im-container-close-btn {
  width: 32px;
  height: 32px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  cursor: pointer;
  color: #FFF;
  font-size: 24px;
  text-decoration: none;
  line-height: 32px;
  display: block;
  text-align: center;
}

#im-container-drag-handle {
  width: 548px;
  height: 32px;
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  opacity: 0;
}

#im-container-drag-handle.full-container {
  width: 100%;
  height: 100%;
}

#im-frame {
  width: 100%;
  height: 100%;
  border: none;
}

.feedback {
  background-color: #0297f8;
  background-image: url(//qn11.tool.lu/201708/03/124834fKC2UXA9sQUEVshq.svg);
  background-position: 2px 4px;
  background-repeat: no-repeat;
  background-size: 18px;
  border-radius: 3px;
  border: 1px solid #0297f8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  color: #fff;
  cursor: pointer;
  display: block;
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 12px;
  line-height: 12px;
  opacity: 0.9;
  padding: 5px;
  overflow: hidden;
  min-width: 12px;
  max-width: 12px;
  text-indent: 17px;
  transition: all 250ms ease-in-out;
  white-space: nowrap;
  margin-top: 1px;
}

.feedback:hover,
.feedback:focus {
  min-width: 30px;
  max-width: 300px;
  text-indent: 2px;
  padding: 5px 5px 5px 20px;
  background-color: #0287e8;
  color: #fff;
  text-decoration: none !important;
}

.feedback:active {
  background-color: #0277d8;
  color: #fff;
}

.js-share-bar i {
  font-size: 16px;
}

a.js-share-weibo {
  color: #E74C3C;
}

a.js-share-qq {
  color: #3498DB;
}

a.js-share-weixin {
  color: #2ECC71;
}

.ad-container.swiper-container {
  padding-bottom: 28px;
}

.ad-container .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 20px;
  transition: all .3s ease;
  border-radius: 50px;
}

.ad-container .swiper-slide img {
  border-radius: 5px;
}

.bg-notice {
  background: none repeat scroll 0 0 #FFFFE4;
  border: 1px solid #E6C99E;
  padding: 0 5px;
}
