.counter-block {
  position: relative;
  margin-bottom: 50px;
}
.counter-block:nth-child(even) .counter-icon {
  color: var(--theme-color2);
}
.counter-block .inner:hover .counter-icon {
  -webkit-transform: scale(-1) rotate(180deg);
  -moz-transform: scale(-1) rotate(180deg);
  -ms-transform: scale(-1) rotate(180deg);
  transform: scale(-1) rotate(180deg);
}
.counter-block .count-box {
  position: relative;
  padding: 60px 30px 30px;
  text-align: center;
  background-color: var(--theme-color-white);
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.07);
  margin: 0 auto;
  border-style: solid;
  border-width: 1px;
  border-color: #e7e7e7;
  border-radius: 10px;
}
body.tm-dark-layout .counter-block .count-box {
  border-color: #1d1d1d;
}
.counter-block .counter-icon {
  position: absolute;
  left: 0px;
  right: 0;
  margin: 0 auto;
  top: -40px;
  height: 80px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  line-height: 1em;
  color: var(--theme-color1);
  background-color: var(--theme-color-light);
  border-radius: 50%;
  border: 2px solid var(--theme-color1);
  transition: all 300ms ease;
  z-index: 1;
}
.counter-block .counter {
  font-size: 48px;
  line-height: 1;
  color: var(--theme-color2);
  margin-bottom: 0px;
}
body.tm-dark-layout .counter-block .counter {
  color: #fff;
}