.photo-tab li {
  float: left;
  margin-right: 10px;
}
.photo-tab a {
  display: block;
  width: 80px;
  line-height: 30px;
  text-align: center;
  color: #333;
}
.photo-tab a:hover {
  color: #4776c8;
}
.photo-tab .active a {
  color: #fff;
  background: #4776c8;
  border-radius: 3px;
}
.photo-cont {
  margin-right: -17px;
  overflow: hidden;
}
.photo-item {
  position: relative;
  float: left;
  margin: 20px 17px 0 0;
}
.photo-item,
.photo-item img {
  width: 227px;
  height: 227px;
}
.photo-item:hover img {
  opacity: .8;
  filter: alpha(opacity=80);
}
.photo-item:hover i {
  opacity: .9;
  filter: alpha(opacity=90);
}
.photo-item .del,
.photo-item .edit {
  position: absolute;
  right: 0;
  width: 26px;
  height: 26px;
  text-align: center;
  line-height: 26px;
  font-size: 16px;
  color: #fff;
  background: #666;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: .3s;
  transition: .3s;
}
.photo-item .del {
  top: 0;
}
.photo-item .edit {
  bottom: 0;
}
.photo-upload {
  display: block;
  height: 219px;
  line-height: 219px;
  text-align: center;
  color: #ddd;
  font-size: 80px!important;
  border: 4px dashed #ddd;
}
.photo-upload:hover,
.photo-upload:active {
  color: #aaa;
  border-color: #ccc;
}
