#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 #5898d7;
  background-color: #5898d7;
}
.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: 999;
}
.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 .img-box.new_rotary_disc img {
  width: 362px;
  height: 988px;
  transition: all 2s ease;
}
.main .template-list li .img-box.new_rotary_disc:hover img {
  transform: translateY(-437px);
}
.main .template-list li .img-box.new_scratch_card img {
  width: 362px;
  height: 1244px;
  transition: all 2.6s ease;
}
.main .template-list li .img-box.new_scratch_card:hover img {
  transform: translateY(-694px);
}
.main .template-list li .img-box.slip_packet img {
    width: 362px;
    height: 582px;
    transition: all 2.6s ease;
}

.main .template-list li .img-box.slip_packet:hover img {
    transform: translateY(-32px);
}
.main .template-list li .img-box.throw_dice img {
    width: 362px;
    height: 981px;
    transition: all 2.6s ease;
}

.main .template-list li .img-box.throw_dice:hover img {
    transform: translateY(-432px);
}
.main .template-list li .img-box.big_turntable img {
    width: 362px;
    height: 931px;
    transition: all 2.6s ease;
}

.main .template-list li .img-box.big_turntable:hover img {
    transform: translateY(-382px);
}
.main .template-list li .img-box.smaeggs_plus img {
    width: 362px;
    height: 731px;
    transition: all 2.6s ease;
}

.main .template-list li .img-box.smaeggs_plus:hover img {
    transform: translateY(-182px);
}
.main .template-list li .img-box.smagoldeneggs img {
    width: 362px;
    height: 731px;
    transition: all 2.6s ease;
}

.main .template-list li .img-box.smagoldeneggs:hover img {
    transform: translateY(-182px);
}
.main .template-list li .tmeplate-name {
  height: 20px;
  line-height: 40px;
  font-size: 18px;
  font-weight: 700;
  color: #666;
  text-align: center;
}
