.timeline-block-default {
  position: relative;
}
.timeline-block-default .inner-box {
  position: relative;
  padding: 50px 20px 60px;
  max-width: 370px;
  border: 3px solid var(--theme-color1);
  margin: 75px auto;
  text-align: center;
  transition: all 300ms ease;
  z-index: 9;
}
.timeline-block-default .inner-box:before {
  content: "";
  position: absolute;
  top: 20px;
  left: 15px;
  right: 15px;
  bottom: 20px;
  pointer-events: none;
  background-color: #f1f1f1;
}
body.tm-dark-layout .timeline-block-default .inner-box:before {
  background-color: var(--theme-color-light);
}
.timeline-block-default .inner-box:after {
  content: "";
  position: absolute;
  top: 20px;
  left: 15px;
  right: 15px;
  bottom: 20px;
  display: block;
  opacity: 0;
  background-color: var(--theme-color2);
  background-size: cover;
  transform: scaleY(0);
  transform-origin: top;
  transition: all 500ms ease;
}
.timeline-block-default .inner-box:hover:after {
  opacity: 1;
  transform: scaleY(1);
}
.timeline-block-default .inner-box:hover .image-box .timeline-icon {
  background-color: var(--theme-color1);
  color: #fff;
}
.timeline-block-default .inner-box:hover .image-box .timeline-featured-img img {
  transform: scale(1.1);
}
.timeline-block-default .inner-box:hover .content-box {
  color: #fff;
}
.timeline-block-default .inner-box:hover .content-box .timeline-title {
  color: #fff;
}
.timeline-block-default .inner-box:hover .content-box .date {
  color: #fff;
}
.timeline-block-default .inner-box:hover .content-box .time {
  color: #fff;
}
.timeline-block-default .inner-box:hover .content-box .phone {
  color: #fff;
}
.timeline-block-default .inner-box .frame {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}
.timeline-block-default .inner-box .frame::after, .timeline-block-default .inner-box .frame:before {
  content: "";
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  background-image: url(../../../images/current-theme/service-frame.png);
  background-repeat: no-repeat;
  background-position: center;
}
.timeline-block-default .inner-box .frame:after {
  top: auto;
  bottom: -80px;
  transform: scaleY(-1);
}
.timeline-block-default .inner-box .image-box {
  position: relative;
  margin-bottom: 35px;
  z-index: 9;
}
.timeline-block-default .inner-box .image-box .timeline-featured-img {
  position: relative;
  height: 270px;
  width: 270px;
  border-radius: 50%;
  margin: 0 auto;
  overflow: hidden;
}
.timeline-block-default .inner-box .image-box .timeline-featured-img img {
  border-radius: 50%;
  transition: all 300ms ease;
}
.timeline-block-default .inner-box .image-box .icon-shape {
  position: absolute;
  top: 0px;
  left: 50%;
  margin-left: -142px;
  animation: fa-spin 15s infinite linear;
  width: 283px;
  height: 279px;
  background-image: url(../../../images/current-theme/services-shape.png);
}
.timeline-block-default .inner-box .image-box .timeline-icon {
  position: absolute;
  bottom: 0;
  left: 30px;
  display: inline-block;
  background-color: #fff;
  color: var(--theme-color1);
  border-radius: 50%;
  font-size: 56px;
  width: 100px;
  height: 100px;
  line-height: 100px;
  text-align: center;
  transition: all 300ms ease;
}
body.tm-dark-layout .timeline-block-default .inner-box .image-box .timeline-icon {
  background-color: var(--theme-color-gray);
}
body.tm-dark-layout .timeline-block-default .inner-box .image-box .timeline-icon {
  color: #fff;
}
.timeline-block-default .inner-box .content-box {
  position: relative;
  z-index: 9;
}
.timeline-block-default .inner-box .timeline-title {
  font-family: var(--heading-font-family);
  font-weight: 600;
  font-size: 26px;
}
.timeline-block-default .inner-box .timeline-title:hover {
  color: var(--theme-color1);
}
.timeline-block-default .inner-box .date {
  color: #242424;
  font-family: var(--body-font-family);
  font-weight: 400;
  line-height: 30px;
  transition: all 300ms ease;
}
body.tm-dark-layout .timeline-block-default .inner-box .date {
  color: #fff;
}
.timeline-block-default .inner-box .time {
  color: #3d3d3d;
  font-family: var(--body-font-family);
  font-weight: 500;
  line-height: 30px;
  margin-bottom: 20px;
  transition: all 300ms ease;
}
body.tm-dark-layout .timeline-block-default .inner-box .time {
  color: #fff;
}
.timeline-block-default .inner-box .icon-divider-3 {
  background-image: url(../../../images/current-theme/divider-3.png);
  display: inline-block;
  width: 112px;
  height: 16px;
  margin-bottom: 20px;
  background-repeat: no-repeat;
}
.timeline-block-default .inner-box .address {
  font-family: var(--body-font-family);
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 10px;
  transition: all 300ms ease;
}
.timeline-block-default .inner-box .phone {
  font-family: var(--body-font-family);
  transition: all 300ms ease;
}