#navbar ul.nav .dropdown a:hover {
  cursor: pointer;

}
.main {
  margin: 50px 0 0 20px;
}
.main .crumbs-page .breadcrumb {
  width: 99%;
}
.main .btns a {
  padding: 8px 40px;
  border: 1px solid #5bc0de;
}
.main .btns a.active {
  background-color: #5898d6;
}
.main .template-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}
.main .template-list li {
  margin: 20px 12px;
}
.main .template-list li:nth-child(1) {
  margin-left: 0;
}
.main .template-list li:nth-child(4) {
  margin-left: 0;
}
.main .template-list li .img-box {
  box-shadow: 1px 1px 4px #aaa;
  overflow: hidden;
  width: 363px;
  height: 550px;
  position: relative;
}
.main .template-list li .img-box .shade {
  transition: all 1s ease;
}
.main .template-list li .img-box img {
  width: 362px;
  height: 581px;
  transition: all 1s ease;
}
.main .template-list li .img-box:hover .shade {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}
.main .template-list li .img-box:hover .shade .btns {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main .template-list li .img-box:hover .shade .btns .btns-box {
  display: flex;
  justify-content: space-between;
  width: 160px;
  height: 45px;
  position: absolute;
  margin: auto;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}
.main .template-list li .img-box:hover .shade .btns .btns-box .btn1 {
  text-align: center;
  padding: 0;
  text-decoration: none;
  background-color: #5898d6;
  border-radius: 22px;
  color: white;
  border: 1px solid #fff;
  outline: none;
  width: 70px;
  height: 44px;
  line-height: 42px;
}
.main .template-list li .img-box:hover img {
  transform: translateY(-30px);
}
.main .template-list li .tmeplate-name {
  height: 20px;
  line-height: 40px;
  font-size: 18px;
  font-weight: 700;
  color: #666;
  text-align: center;
}
