
.a-link {
  color: #888;
}
.a-link:hover{
  color: #bbb;
}
.ad-layout {
  position: fixed;
  bottom: 80px;
  right: 40px;
  border-radius: 60px;
  height: 222px;
  width: 70px;
  padding: 5px 0;
  z-index: 9;
  background: #d4380d;
  color: #fff;
  -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
          box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
}
.ad-layout-item {
  width: 70px;
  height: 70px;
  cursor: pointer;
}
.ad-layout-item img {
  height: 40px;
  width: 70px;
  display: block;
  padding: 12px 22px 2px 22px;
}
.ad-layout-item div {
  width: 70px;
  font-size: 12px;
  text-align: center;
}

.ad-layout-line {
  height: 1px;
  margin: 0 8px;
  background: #fff;
}

.ad-image-layout {
  width: 100%;
  height: 100%;
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
}
.ad-image-layout-image1 {
  height: 357px;
  width: 225px;
  position: fixed;
  bottom: 20px;
  right: 120px;
  border-radius: 10px;
    -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
            box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}
.ad-image-layout-layout2 {
  padding: 20px;
  position: fixed;
  bottom: 140px;
  right: 120px;
  background: #fff;
  border-radius: 10px;
    -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
            box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}
.ad-image-layout-layout3 {
  padding: 20px;
  position: fixed;
  bottom: 70px;
  right: 120px;
  background: #fff;
  border-radius: 10px;
    -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
            box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}
.ad-image-layout-number {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #000;
}
.ad-image-layout-title {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
.ad-image-layout-content {
  text-align: center;
  font-size: 14px;
  color: #333;
}
.ad-image-layout-image3 {
  width: 160px;
  height: 160px;
}
.mt4 {
  margin-top: 4px;
}
.mt10 {
  margin-top: 10px;
}

.moving-down {
  animation: moveDown 0.5s forwards;
}
.moving-up {
  animation: moveUp 0.5s forwards;
}
/* 定义动画 */
@keyframes moveDown {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100px);
  }
}
/* 定义动画 */
@keyframes moveUp {
  from {
    transform: translateX(100px);
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 991px) {
  .ad-layout {
    position: fixed;
    bottom: 30px;
    left: 10vw;
    border-radius: 60px;
    height: 60px;
    width: 80vw;
    padding: 0 5vw;
    z-index: 9;
    background: #d4380d;
    color: #fff;
    display: flex;
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
            box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  }
  .ad-layout-item {
    flex: 1;
    width: 1px;
    height: 60px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .ad-layout-item img {
    padding-top: 4px;
    height: 26px;
    width: 26px;
    display: block;
    padding: 0;
  }
  .ad-layout-item div {
    width: 70px;
    font-size: 12px;
    text-align: center;
    color: #fff;
  }
  .ad-layout-line {
    height: 20px;
    width: 1px;
    margin: 20px 0;
    background: #fff;
  }

  .moving-down {
    animation: moveDown 0.5s forwards;
  }
  .moving-up {
    animation: moveUp 0.5s forwards;
  }
  /* 定义动画 */
  @keyframes moveDown {
    from {
      transform: translateY(0);
    }
    to {
      transform: translateY(100px);
    }
  }
  /* 定义动画 */
  @keyframes moveUp {
    from {
      transform: translateY(100px);
    }
    to {
      transform: translateY(0);
    }
  }

  .ad-image-layout-image1 {
    height: 96vw;
    width: 60vw;
    position: fixed;
    bottom: 110px;
    left: 20vw;
    border-radius: 10px;
      -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
              box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  }
  .ad-image-layout-layout2 {
    padding: 20px;
    width: 60vw;
    position: fixed;
    bottom: 110px;
    left: 20vw;
    background: #fff;
    border-radius: 10px;
      -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
              box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  }
  .ad-image-layout-layout3 {
    padding: 20px;
    width: 60vw;
    position: fixed;
    bottom: 110px;
    left: 20vw;
    background: #fff;
    border-radius: 10px;
      -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
              box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  }
  .ad-image-layout-image3 {
    width: 50vw;
    height: 50vw;
  }
}