#hub-ico {
  display: block;
  position: absolute;
  top: 7px;
  right: 5px;
  width: 24px;
  height: 24px;
  color: #aaa;
  text-align: center;
  cursor: pointer;
}

#widget-user.hub-on > header > #hub-ico {
  z-index: 9;
  color: #fa7d3c;
}

#widget-user:not(.hub-on) > header > #hub-ico.un {
  color: #db4437;
}

#hub-ico > i {
  display: block;
  height: 24px;
  font-size: 12px;
  line-height: 24px;
}

@keyframes bell {
  0%,100% {transform: none;}
  5% {transform: translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);}
  10% {transform: translate3d(20%,0,0) rotate3d(0,0,1,3deg);}
  15% {transform: translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);}
  20% {transform: translate3d(10%,0,0) rotate3d(0,0,1,2deg);}
  25%,26% {transform: translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);}
}

#widget-user:not(.hub-on) > header > #hub-ico.un > i {
  font-size: 14px;
  animation: bell 2s infinite linear;
}

#hub {
  display: none;
  position: absolute;
  top: -7px;
  left: 200px;
  width: 270px;
  z-index: 7;
  padding: 10px 12px;
  border: 1px solid #d9d9d9;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(204,204,204,.3);
}

#widget-user.hub-on > #hub {
  display: block;
}

#hub > header {
  user-select: none;
}

#hub > header > p.fun {
  height: 30px;
  padding: 0 0 8px;
  border-bottom: 1px solid #eaeaea;
}

#hub > header > p.fun > span.ico {
  display: inline;
  float: left;
  width: 70px;
  height: 20px;
  padding: 5px 0 5px 25px;
}

#hub > header > p.fun > span.ico > b {
  position: relative;
  display: inline;
  float: left;
  height: 20px;
  color: #555;
  font: bold 14px/20px 'petala_proitalic',arial;
  text-transform: uppercase;
}

#hub > header > p.fun > span.ico > b::after {
  position: absolute;
  display: block;
  width: 12px;
  height: 12px;
  top: -2px;
  right: -15px;
  background: url(../img/ico.hub.svg) no-repeat;
  content: '';
}

#hub > header > p.fun > span.btn {
  display: inline;
  float: left;
  height: 30px;
  margin: 0 0 0 15px;
  text-align: center;
  cursor: pointer;
}

#hub > header > p.fun > span.sel {
  background: url(../img/info.current.svg) no-repeat;
  background-position-y: 0;
  cursor: default;
}

#hub > header > p.fun > span.bI {
  width: 35px;
  background-position-x: 27px;
}

#hub > header > p.fun > span.bF {
  width: 50px;
  background-position-x: 35px;
}

#hub > header > p.fun > span.bH {
  width: 45px;
  background-position-x: 33px;
}

#hub > header > p.fun > span.btn > i {
  display: block;
  height: 18px;
  font-size: 14px;
  line-height: 18px;
}

#hub > header > p.fun > span.btn > span {
  display: block;
  height: 12px;
  color: #888;
  line-height: 12px;
  text-transform: capitalize;
}

#hub > header > p.nav {
  height: 24px;
  border-bottom: 1px solid #eaeaea;
  background: #fafafa;
}

#hub.wait_m > header > p.nav {
  display: none;
}

#hub > header > p.nav > span.tip {
  display: inline;
  float: left;
  margin: 0 0 0 5px;
  color: #cfcfcf;
  text-transform: capitalize;
}

#hub > header > p.nav > span.tip > small.size11 {
  transform-origin: 0 50%;
}

#hub > header > p.nav > span.tip > small.size11::after {
  content: attr(data-tip);
}

#hub > header > p.nav > span.btn {
  display: inline;
  float: right;
  margin: 0 5px 0 0;
  color: #c0c0c0;
  text-transform: uppercase;
}

#hub > header > p.nav > span.btn > b {
  display: inline;
  float: left;
  font-weight: normal;
  cursor: pointer;
}

#hub > header > p.nav > span.btn > b.p {
  margin: 0 7px 0 0;
}

#hub > header > p.nav > span.btn > b > span {
  display: inline;
  float: left;
}

#hub > header > p.nav > span.btn > b > span > i {
  font-size: 13px;
}

#hub > header > p.nav > span.btn > b.p > span > i {
  margin: 0 3px 0 0;
}

#hub > header > p.nav > span.btn > b.n > span > i {
  margin: 0 0 0 3px;
}

#hub > header > p.nav > span.btn > b.no {
  color: #cfcfcf;
  cursor: default;
}

#hub > header > p.tip {
  display: none;
  height: 19px;
  border-bottom: 1px solid #fee2b2;
  line-height: 19px;
  text-align: center;
  background: #ffface;
}

#hub.wait_t > header > p.tip {
  height: 13px;
  border:0 none;
  padding: 7px 0 0;
  line-height: 13px;
  background: none;
}

#hub > header > p.tip > small.size11 {
  position: relative;
  left: 50%;
  transform: scale(.92) translateX(-50%);
  transform-origin: 0 50%;
}

#hub > header > p.tip > small.size11 > i.tip,
#hub > header > p.tip > small.size11 > i.tip > b {
  color: #cacaca;
}

#hub > header > p.tip > small.size11 > i.act {
  color: #ffbe6f;
  cursor: pointer;
}

#hub > header > p.tip > small.size11 > i.act > b {
  color: #ffb455;
}

#hub > header.s > p.tip > small.size11 > i.tip > span.s1::after {
  content: attr(data-s);
}

#hub > header.p > p.tip > small.size11 > i.tip > span.s1::after,
#hub > header.p > p.tip > small.size11 > i.tip > span.s2::after {
  content: attr(data-p);
}

#hub > header > p.tip > small.size11 > i.tip > span.s3 {
  text-decoration: underline;
}

#hub > header > p.tip > small.size11 > i.wait {
  display: none;
  color: #cfcfcf;
}

#hub.wait_m > header > p.tip,
#hub.wait_n > header > p.tip,
#hub.wait_t > header > p.tip > small.size11 > i.tip {
  display: none;
}

#hub.wait_t > header > p.tip > small.size11 > i.wait {
  display: block;
}

#hub > section {
  width: 250px;
  height: 260px;
  margin: 8px 0 0;
  padding: 0 20px 0 0;
  overflow-x: hidden;
  overflow-y: auto;
}

#hub.wait_m > section,
#hub.wait_n > section {
  width: 270px;
  padding: 0;
}

#hub > section::-webkit-scrollbar {
  width: 6px;
}

#hub > section::-webkit-scrollbar-thumb:vertical {
  border-radius: 3px;
  background: #eaeaea;
}

#hub > section::-webkit-scrollbar-thumb:vertical:hover {
  background: #fee2b2;
}

#hub.wait_m > section > ul,
#hub.wait_n > section > ul,
#hub > section > div.load {
  display: none;
}

#hub.wait_m > section > div.load,
#hub.wait_n > section > div.load {
  display: block;
}

#hub > section > ul {
  width: 250px;
}

#hub > section > ul > li {
  width: 250px;
  height: 40px;
  margin: 0 0 7px;
  padding: 0 0 7px;
  border-bottom: 1px solid #eaeaea;
  user-select: none;
}

#hub > section > ul > li.last {
  color: #999;
  text-align: center;
  line-height: 40px;
}

#hub > section > ul > li:last-child {
  margin: 0;
  padding: 0;
  border: 0 none;
}

#hub > section > ul > li > div.avatar {
  display: inline;
  float: left;
  width: 20px;
  height: 20px;
}

#hub > section > ul > li > div.avatar > img {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 3px;
}

#hub > section > ul > li > div.info {
  display: inline;
  float: right;
  width: 224px;
  height: 20px;
  line-height: 20px;
  text-transform: capitalize;
}

#hub > section > ul > li > div.info > a {
  display: inline;
  float: left;
  max-width: 130px;
  margin: 0 4px 0 0;
  height: 19px;
  border-bottom: 1px dotted #888;
  color: #555;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

#hub > section > ul > li > div.info > a.say::after,
#hub > section > ul > li > div.info > a.own::after,
#hub > section > ul > li > div.info > a.out::after,
#hub > section > ul > li > div.info > a.in::before {
  color: #aaa;
  font-weight: normal;
  content: attr(data-tip);
}

#hub > section > ul > li > div.info > a.un {
  font-weight: bold;
}

#hub > section > ul > li > div.info > i.pte {
  display: inline;
  float: left;
  width: 20px;
  height: 20px;
  color: #bbb;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

#hub > section > ul > li > div.info > time {
  display: inline;
  float: right;
  width: 60px;
  height: 19px;
  padding: 1px 0 0;
  color: #999;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

#hub > section > ul > li > div.info > time > small.size11 {
  float: right;
  transform-origin: 100% 50%;
}

#hub > section > ul > li > div.text {
  display: inline;
  float: right;
  clear: both;
  width: 224px;
  height: 18px;
  padding: 2px 0 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

#hub > section > ul > li > div.text a {
  margin: 0 2px;
  color: #eb7350;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

#hub > section > ul > li > div.text img.smiley {
  width: 14px;
  margin: 0 2px;
  vertical-align: -3px;
}

#hub > section > div.load {
  margin: 10px auto;
}

#hub > section > div.load > span {
  background: #e5e5e5;
}

#hub > footer {
  height: 20px;
  margin: 8px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid #eaeaea;
  user-select: none;
}

#hub > footer > div.set {
  display: inline;
  float: right;
  height: 20px;
  color: #bababa;
  text-transform: lowercase;
  line-height: 20px;
  cursor: pointer;
}

#hub > footer > div.set > small.size11 > i.ico {
  width: 12px;
  height: 12px;
  margin: 0 1px 0 0;
  padding: 0 0 0 1px;
  color: #b0b0b0;
}

#hub > footer > div.set > small.size11 > i.ok,
#hub > footer > div.set-on > small.size11 > i.no {
  display: none;
}

#hub > footer > div.set-on > small.size11 > i.ok {
  display: inline-block;
}

#hub > footer > div.set > i.qu {
  margin: 0 0 0 2px;
  color: #bfbfbf;
  font-size: 13px;
}