.tf-counter {
  position: relative;
}

.tf-counter.default::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  box-sizing: border-box;
}

.tf-counter.default .counter-number-wrapper {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  display: inline-block;
  justify-content: center;
}

.tf-counter .counter-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.tf-counter .counter-number-wrapper {
  display: inline-flex;
  position: relative;
}

.tf-counter.style1 .counter-number-wrapper::after {
  content: "";
  width: 15px;
  height: 15px;
  -webkit-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  position: absolute;
  top: -1px;
  right: -6px;
  background-color: #ff4040;
}

.tf-counter.style1:after {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  background: #ff4040;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -ms-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  opacity: 0;
  visibility: hidden;
}

.tf-counter.style1:hover:after {
  opacity: 1;
  visibility: visible;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.tf-counter.style2 .wrap-icon-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tf-counter .counter-icon {
  -webkit-transition: all 1s ease 0s;
  -moz-transition: all 1s ease 0s;
  -ms-transition: all 1s ease 0s;
  -o-transition: all 1s ease 0s;
  transition: all 1s ease 0s;
}

.tf-counter:hover .counter-icon {
  -webkit-transform: rotateY(360deg);
  transform: rotateY(360deg);
}
