#dialog {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,.95);
  transform: translateZ(0);
}

#dialog.black {
  background: rgba(0,0,0,.9);
}

#dialog > aside {
  position: absolute;
  display: none;
}

#dialog.on,
#dialog > aside.on {
  display: block;
}

#dlg-share {
  width: 200px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  user-select: none;
}

#dlg-share > header {
  height: 24px;
  margin: 0 0 10px 0;
  padding: 0 0 3px;
  border-bottom: 4px dotted #e0e0e0;
}

#dlg-share > header > b {
  display: inline;
  float: left;
  height: 24px;
  font: normal 16px/24px 'petala_proitalic',arial;
  text-indent: 5px;
  white-space: nowrap;
}

#dlg-share > header > i.off {
  display: inline;
  float: right;
  width: 24px;
  height: 24px;
  background: url(../img/ico.close.share.svg) 50% 50% no-repeat;
  cursor: pointer;
}

#dlg-share > ul > li {
  width: 170px;
  margin: 0 auto 10px;
  padding: 5px 10px;
  border-bottom: 1px solid #eaeaea;
  font-size: 13px;
  text-transform: capitalize;
}

#dlg-share > ul > li.rel {
  height: 20px;
  line-height: 20px;
  cursor: pointer;
}

#dlg-share > ul > li:last-child {
  margin: 0 auto;
}

#dlg-share > ul > li.shorturl {
  height: 24px;
  margin: 0 auto;
  padding: 5px 10px 10px;
  color: #365899;
  line-height: 24px;
}

#dlg-share > ul > li.shorturl > input {
  display: inline;
  float: right;
  width: 110px;
  height: 18px;
  margin: 1px 0;
  padding: 2px 4px;
  border: 0 none;
  border-radius: 3px;
  color: #000;
  font: normal 11px/18px 'petala_proitalic',tahoma;
  text-align: center;
  text-shadow: 1px 1px 0 rgba(255,255,255,.7);
  background: rgba(0,0,0,.1);
  outline: none;
  cursor: text;
}

#dlg-share > ul > li.shorturl > input::-webkit-input-placeholder {
  color: #999;
}

#dlg-share > ul > li.shorturl > input::-moz-placeholder {
  color: #999;
}

#dlg-share > ul > li.shorturl > input:-ms-input-placeholder {
  color: #999 !important;
}

#dlg-share > ul > li.wechat {
  height: 80px;
  line-height: 80px;
  color: #05c203;
}

#dlg-share > ul > li.wechat > span.qrcode {
  display: inline;
  float: right;
  width: 64px;
  height: 64px;
  margin: 8px 0;
  background: #f5f5f5 url(../img/share.qrcode.svg) 50% 50% no-repeat;
}

#dlg-share > ul > li.twitter {
  color: #56acee;
}

#dlg-share > ul > li.weibo {
  color: #fc9f00;
}

#dlg-share > ul > li.rel:hover {
  background: #f5f5f5;
}

#dlg-share > ul > li > i {
  font-size: 14px;
  line-height: 20px;
  margin: 0 5px 0 0;
}

#dlg-share > footer {
  height: 20px;
  margin: 10px 0 0;
  line-height: 20px;
  font-family: 'montserratregular',arial;
  text-transform: uppercase;
  text-align: right;
}

#dlg-share > footer > small.size11 {
  float: right;
  transform-origin: 100% 50%;
}

#dlg-share > footer > small.size11 > a {
  color: #ccc;
  text-decoration: none;
}

#dlg-album {
  width: 100%;
  height: 100%;
  cursor: zoom-out;
}

#copyright {
  width: 238px;
  min-height: 17px;
  padding: 0 1px;
  color: #b0b0b0;
  line-height: 17px;
  font-family: 'microsoft yahei',stheiti,simhei,tahoma;
}

#widget > #copyright {
  margin: 0 0 15px;
}

html.singular > body > #copyright {
  margin: 0 auto 15px;
}

#copyright p {
  overflow: hidden;
}

#copyright p > small.size11 {
  position: relative;
  left: 50%;
  transform: scale(.92) translateX(-50%);
  transform-origin: 0 50%;
  white-space: nowrap;
}

#copyright hr {
  width: 50%;
  height: 0;
  margin: 5px auto;
  border: 0 none;
  border-top: 1px solid #d0d0d0;
  box-sizing: content-box;
}

#copyright p a {
  color: #b0b0b0;
  text-decoration: none;
}

#copyright p.td {
  font-family: 'petala_proitalic',arial;
  color: #bbb;
  user-select: none;
}

#copyright p.td a {
  color: #bbb;
}

@keyframes cmptslide {
  0% {opacity: 0;transform: translateY(20px);}
  100% {opacity: 1;transform: translateY(0);}
}

#totop {
  position: fixed;
  display: none;
  right: 20px;
  bottom: 20px;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,.35) url(../img/ico.totop.svg) 50% 50% no-repeat;
  animation: cmptslide .3s;
  cursor: pointer;
}

#totop.on {
  display: block;
}

#offline {
  position: fixed;
  -webkit-transform: translateZ(0);
  display: none;
  width: 100%;
  height: 20%;
  min-height: 100px;
  bottom: -10px;
  left: 0;
  padding: 0 0 10px;
  z-index: 999;
  animation: cmptslide .3s;
}

#offline.on {
  background: #db4437;
}

#offline.refresh {
  background: #009a61;
}

#offline > p {
  position: relative;
  display: none;
  width: 900px;
  top: 50%;
  margin: 0 auto;
  transform: translateY(-50%);
}

#offline.on,
#offline.on > p.offline,
#offline.refresh,
#offline.refresh > p.online {
  display: block;
}

#offline > p > span:not(.block) {
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

#offline > p > span.tip {
  color: #f5f5f5;
  font: 24px/26px 'geometria_lightlight',verdana,arial;
  text-transform: lowercase;
}

#offline > p > span.tip > i {
  margin: 0 10px 0 0;
}

#offline > p > span.note {
  margin: 6px 0 0;
  color: #e9e9e9;
  line-height: 14px;
  font-family: verdana, arial;
  text-transform: lowercase;
}

#offline > p > span.first {
  margin-top: 10px;
}

#offline > p > span.note > small.size11 {
  transform-origin: 0 50%;
}

#offline > p > span.note > small.size11 > span.order {
  margin: 0 4px 0 0;
}

#offline > p > span.note > small.size11 > q.dplist {
  border-bottom: 1px solid #f5f5f5;
  cursor: help;
}

#offline > p > span.block {
  position: absolute;
  display: inline-block;
  right: 0;
  top: 0;
  color: #f5f5f5;
  font-family: 'montserratregular',verdana,arial;
  text-transform: capitalize;
}

@keyframes offlinebtn1 {
  0% {transform: translateX(-20px);}
  100% {transform: translateX(0);}
}

#offline > p > span.btn {
  padding: 5px 10px;
  border: 1px solid #f5f5f5;
  background: rgba(245,245,245,.1);
  animation: offlinebtn1 .3s;
  animation-fill-mode: forwards;
  cursor: pointer;
  user-select: none;
}

@keyframes offlinebtn2 {
  0% {transform: translateX(0);}
  100% {transform: translateX(-20px);}
}

#offline.wait > p > span.btn {
  animation: offlinebtn2 .3s;
  animation-fill-mode: forwards;
  cursor: default;
}

#offline.wait > p > span.btn::after {
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  top: 50%;
  right: -20px;
  margin: -7px 0 0;
  border: 2px solid rgba(245,245,245,.3);
  border-left: 2px solid rgba(245,245,245,1);
  border-radius: 50%;
  animation: waiting 1s linear infinite;
  content: '';
}

#offline > p > span.adblockplus {
  top: 42px;
  color: #efefef;
  font-size: 14px;
}

#offline-audio {
  display: none;
}