.counter-block {
  position: relative;
  margin-bottom: 0;
}
.counter-block .inner-box {
  position: relative;
  margin-bottom: 0;
  text-align: center;
  transition: all 300ms ease;
}
.counter-block .inner-box:hover .counter {
  color: var(--theme-color1);
}
.counter-block .inner-box:hover .title:after {
  width: 100%;
}
.counter-block .content-box {
  position: relative;
}
.counter-block .counter {
  color: #e1e1e1;
  margin-top: 0;
  margin-bottom: 0;
  display: inline-block;
}
body.tm-dark-layout .counter-block .counter {
  color: #333;
}
.counter-block .counter .animate-number,
.counter-block .counter .counter-postfix {
  font-family: var(--heading-font-family);
  position: relative;
  font-size: 120px;
  line-height: 1;
  font-weight: 400;
  display: inline-block;
  transition: all 300ms ease;
}
@media (max-width: 991.98px) {
  .counter-block .counter .animate-number,
.counter-block .counter .counter-postfix {
    font-size: 100px;
  }
}
.counter-block .title-wrapper {
  position: absolute;
  top: 50%;
  text-align: center;
  margin: 0 auto;
  right: 0;
  left: 0;
}
.counter-block .title-wrapper .title {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 30px;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--body-font-family);
  transition: all 300ms ease;
}
.counter-block .title-wrapper .title:before {
  background-color: var(--theme-color1);
  content: "";
  height: 2px;
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
}
.counter-block .title-wrapper .title:after {
  background-color: var(--theme-color2);
  content: "";
  height: 2px;
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  transition: all 300ms ease;
}