#weather {
  width: 208px;
  margin: 0 15px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e5e5;
  user-select: none;
}

#weather.wait,
#weather.err,
#weather.set {
  height: 20px;
  line-height: 20px;
}

#weather.wait {
  position: relative;
}

#weather.wait::before {
  position: absolute;
  display: block;
  width: 12px;
  height: 12px;
  left: 0;
  right: 0;
  margin: 2px auto;
  border: 2px solid rgba(0,0,0,.15);
  border-left: 2px solid rgba(0,0,0,.35);
  border-radius: 50%;
  animation: waiting 1s linear infinite;
  content: '';
}

#weather.wait > p,
#weather.wea > p.err,
#weather.wea > p.set,
#weather.err > p.wea,
#weather.err > p.set,
#weather.set > p.wea,
#weather.set > p.err {
  display: none;
}

#weather > p {
  width: 208px;
}

#weather.err > p.err,
#weather.set > p.set {
  height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

#weather.err > p.err > small.size11 {
  transform-origin: 0 50%;
}

#weather.err > p.err > small.size11 > span.star {
  margin: 0 3px 0 0;
  color: #888;
}

#weather.err > p.err > small.size11 > i {
  margin: 0 0 0 5px;
  color: #eb7350;
  font-style: normal;
  text-decoration: underline;
  text-transform: capitalize;
  cursor: pointer;
}

#weather.fail > p.err > small.size11 > i {
  display: none;
}

#weather.set > p.set > input {
  display: inline;
  float: left;
  height: 16px;
  border: 1px solid #efefef;
  color: #888;
  font: normal 11px/16px 'microsoft yahei',stheiti,simhei,tahoma;
  outline: none;
  background: #fff;
}

#weather.set > p.set > input[id$=location] {
  width: 154px;
  margin: 0 10px 0 0;
  padding: 1px 6px 1px 2px;
}

#weather.set > p.set > input[type=submit] {
  width: 28px;
  padding: 1px 2px;
  box-sizing: content-box;
  cursor: pointer;
}

#weather.wea,
#weather.wea > p.wea {
  height: 62px;
}

#weather.wea > p.wea > i.location {
  display: block;
  width: 134px;
  height: 16px;
  margin: 0 0 2px 58px;
  padding: 0 16px 0 0;
  color: #666;
  font-style: normal;
  line-height: 16px;
  text-align: right;
  text-transform: capitalize;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: url(../img/wea.location.svg) 100% 0 no-repeat;
  overflow: hidden;
}

#weather.wea > p.wea > b.temp,
#weather.wea > p.wea > span {
  display: inline;
  float: left;
}

#weather.wea > p.wea > b.temp {
  width: 74px;
  height: 40px;
  margin: 0 8px 0 0;
  padding: 2px 0;
  border-right: 1px solid #e5e5e5;
  font-size: 32px;
  line-height: 42px;
  font-weight: normal;
  font-family: 'geometria_lightlight',arial;
  text-align: center;
}

#weather.wea > p.wea > b.temp::after {
  font-size: 30px;
  vertical-align: top;
  content: attr(data-units);
}

#weather.wea > p.wea > span {
  width: 123px;
  height: 44px;
}

#weather.wea > p.wea > span > b {
  font-weight: normal;
}

#weather.wea > p.wea > span > b.text {
  display: block;
  width: 95px;
  height: 16px;
  margin: 0 0 4px 0;
  padding: 9px 0 0 28px;
  line-height: 16px;
  text-transform: capitalize;
  text-overflow: ellipsis;
  white-space: nowrap;
  background-size: 25px 25px;
  background-repeat: no-repeat;
  overflow: hidden;
}

#weather.wea > p.wea > span > b.high,
#weather.wea > p.wea > span > b.low {
  display: inline;
  float: left;
  max-width: 42px;
  height: 15px;
  padding: 0 0 0 11px;
  line-height: 16px;
  background-repeat: no-repeat;
  background-size: 14px 14px;
}

#weather.wea > p.wea > span > b.high {
  margin: 0 13px 0 3px;
  background-image: url(../img/wea.high.svg);
}

#weather.wea > p.wea > span > b.low {
  background-image: url(../img/wea.low.svg);
}

#weather.wea > p.wea > span > b.high::after,
#weather.wea > p.wea > span > b.low::after {
  font-size: 17px;
  vertical-align: top;
  content: attr(data-units);
}