

/* =========================================================
   RESET
========================================================= */

.therapy-rcm-timeline,
.therapy-rcm-timeline *,
.therapy-rcm-timeline *::before,
.therapy-rcm-timeline *::after {
  box-sizing: border-box;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.therapy-rcm-timeline {
  width: 100% !important;
  max-width: 100% !important;

  margin: 0 !important;

  padding:
    26px 20px 28px !important;

  font-family:
    "Poppins",
    sans-serif !important;

  overflow: hidden !important;

  -webkit-font-smoothing:
    antialiased;

  text-rendering:
    optimizeLegibility;
}


/* =========================================================
   FORCE SINGLE ROW
========================================================= */

.therapy-rcm-timeline__track {
  position: relative !important;

  display: grid !important;

  grid-template-columns:
    repeat(6, minmax(0, 1fr)) !important;

  grid-template-rows:
    1fr !important;

  grid-auto-flow:
    column !important;

  grid-auto-columns:
    minmax(0, 1fr) !important;

  flex-wrap:
    nowrap !important;

  width: 100% !important;

  max-width: 1280px !important;

  min-width: 0 !important;

  margin:
    0 auto !important;

  padding:
    0 !important;

  gap:
    10px !important;

  align-items:
    start !important;

  justify-content:
    stretch !important;

  isolation:
    isolate;
}


/* =========================================================
   CONNECTING LINE
========================================================= */

.therapy-rcm-timeline__track::before {
  content: "";

  position: absolute !important;

  top: 28px !important;

  left: 8.333333% !important;

  right: 8.333333% !important;

  width: auto !important;

  height: 2px !important;

  margin: 0 !important;

  padding: 0 !important;

  border-radius: 100px;

  background:
    linear-gradient(
      90deg,
      #2A93CE 0%,
      #2A93CE 40%,
      #3C9CAB 61%,
      #55AB8E 100%
    );

  transform-origin:
    left center;

  z-index:
    0;

  pointer-events:
    none;
}


/* =========================================================
   STEP
========================================================= */

.therapy-rcm-timeline__step {
  position: relative !important;

  display: block !important;

  width: 100% !important;

  min-width: 0 !important;

  max-width: none !important;

  margin: 0 !important;

  padding: 0 !important;

  text-align: center !important;

  grid-column: auto !important;

  grid-row: 1 !important;

  z-index: 2;
}


/* =========================================================
   NUMBER
========================================================= */

.therapy-rcm-timeline__number {
  position: relative;

  z-index: 5;

  display: flex !important;

  align-items: center !important;

  justify-content: center !important;

  width: 58px !important;

  height: 58px !important;

  min-width: 58px !important;

  max-width: 58px !important;

  min-height: 58px !important;

  max-height: 58px !important;

  margin:
    0 auto 14px !important;

  padding: 0 !important;

  border:
    6px solid #FFFFFF !important;

  border-radius:
    50% !important;

  color:
    #FFFFFF !important;

  font-family:
    "Poppins",
    sans-serif !important;

  font-size:
    14px !important;

  font-weight:
    700 !important;

  line-height:
    1 !important;

  text-align:
    center !important;

  box-shadow:
    0 8px 20px
    rgba(7,31,73,.14),

    0 0 0 4px
    rgba(42,147,206,.035);

  transition:
    transform .42s
    cubic-bezier(.22,1,.36,1),

    box-shadow .42s ease;
}


/* =========================================================
   BLUE NUMBER
========================================================= */

.therapy-rcm-timeline__number--blue {
  background:
    #2A93CE !important;
}


.therapy-rcm-timeline__number--green {
  background:
    #55AB8E !important;
}


/* =========================================================
   PINK NUMBER
========================================================= */

.therapy-rcm-timeline__number--pink {
  background:
    #E56191 !important;

  box-shadow:
    0 8px 20px
    rgba(229,97,145,.17),

    0 0 0 4px
    rgba(229,97,145,.04);
}


/* =========================================================
   NUMBER SHINE
========================================================= */

.therapy-rcm-timeline__number::after {
  content: "";

  position: absolute;

  top: 7px;

  left: 11px;

  width: 16px;

  height: 7px;

  border-radius:
    50%;

  background:
    rgba(255,255,255,.22);

  transform:
    rotate(-20deg);

  opacity: 0;

  pointer-events:
    none;

  transition:
    opacity .3s ease;
}


/* =========================================================
   CONTENT
========================================================= */

.therapy-rcm-timeline__content {
  position: relative;

  display: block !important;

  width: 100% !important;

  min-width: 0 !important;

  max-width: none !important;

  margin: 0 !important;

  padding: 0 !important;

  text-align: center !important;
}


/* =========================================================
   TITLE
========================================================= */

.therapy-rcm-timeline__title {
  width: 100% !important;

  margin:
    0 0 9px !important;

  padding: 0 !important;

  color:
    #071F49 !important;

  font-family:
    "Poppins",
    sans-serif !important;

  font-size:
    15px !important;

  font-weight:
    700 !important;

  line-height:
    1.35 !important;

  letter-spacing:
    -.25px;

  text-align:
    center !important;

  transition:
    color .3s ease,

    transform .35s ease;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.therapy-rcm-timeline__description {
  display: block !important;

  width: 100% !important;

  max-width: 190px !important;

  margin:
    0 auto !important;

  padding:
    0 4px !important;

  color:
    #657895 !important;

  font-family:
    "Poppins",
    sans-serif !important;

  font-size:
    11px !important;

  font-weight:
    400 !important;

  line-height:
    1.55 !important;

  letter-spacing:
    -.05px;

  text-align:
    center !important;

  overflow-wrap:
    anywhere;

  transition:
    color .3s ease,

    transform .35s ease;
}


/* =========================================================
   HOVER
========================================================= */

@media (hover:hover) and (pointer:fine) {

  .therapy-rcm-timeline__step:hover
  .therapy-rcm-timeline__number {
    transform:
      translateY(-7px)
      scale(1.07);

    box-shadow:
      0 15px 29px
      rgba(7,31,73,.19),

      0 0 0 7px
      rgba(42,147,206,.06);
  }


  .therapy-rcm-timeline__step:hover
  .therapy-rcm-timeline__number--pink {
    box-shadow:
      0 15px 29px
      rgba(229,97,145,.22),

      0 0 0 7px
      rgba(229,97,145,.06);
  }


  .therapy-rcm-timeline__step:hover
  .therapy-rcm-timeline__number::after {
    opacity:
      1;
  }


  .therapy-rcm-timeline__step:hover
  .therapy-rcm-timeline__title {
    transform:
      translateY(-2px);
  }


  .therapy-rcm-timeline__step:nth-child(1):hover
  .therapy-rcm-timeline__title,

  .therapy-rcm-timeline__step:nth-child(2):hover
  .therapy-rcm-timeline__title,

  .therapy-rcm-timeline__step:nth-child(3):hover
  .therapy-rcm-timeline__title {
    color:
      #2A93CE !important;
  }


  .therapy-rcm-timeline__step:nth-child(4):hover
  .therapy-rcm-timeline__title,

  .therapy-rcm-timeline__step:nth-child(5):hover
  .therapy-rcm-timeline__title,

  .therapy-rcm-timeline__step:nth-child(6):hover
  .therapy-rcm-timeline__title {
    color:
      #E56191 !important;
  }


  .therapy-rcm-timeline__step:hover
  .therapy-rcm-timeline__description {
    color:
      #4F647F !important;

    transform:
      translateY(-1px);
  }

}


/* =========================================================
   ENTRANCE ANIMATION
========================================================= */

.therapy-rcm-timeline__track.is-animation-ready
.therapy-rcm-timeline__step {
  opacity:
    0;

  transform:
    translateY(18px);

  transition:
    opacity .5s ease,

    transform .65s
    cubic-bezier(.22,1,.36,1);
}


.therapy-rcm-timeline__track.is-animation-visible
.therapy-rcm-timeline__step {
  opacity:
    1;

  transform:
    translateY(0);
}


/* =========================================================
   LINE ANIMATION
========================================================= */

.therapy-rcm-timeline__track.is-animation-ready::before {
  transform:
    scaleX(0);

  transition:
    transform
    1.15s
    cubic-bezier(.65,0,.35,1);
}


.therapy-rcm-timeline__track.is-animation-visible::before {
  transform:
    scaleX(1);
}


/* =========================================================
   STAGGER
========================================================= */

.therapy-rcm-timeline__track.is-animation-visible
.therapy-rcm-timeline__step:nth-child(1) {
  transition-delay:
    .05s;
}


.therapy-rcm-timeline__track.is-animation-visible
.therapy-rcm-timeline__step:nth-child(2) {
  transition-delay:
    .13s;
}


.therapy-rcm-timeline__track.is-animation-visible
.therapy-rcm-timeline__step:nth-child(3) {
  transition-delay:
    .21s;
}


.therapy-rcm-timeline__track.is-animation-visible
.therapy-rcm-timeline__step:nth-child(4) {
  transition-delay:
    .29s;
}


.therapy-rcm-timeline__track.is-animation-visible
.therapy-rcm-timeline__step:nth-child(5) {
  transition-delay:
    .37s;
}


.therapy-rcm-timeline__track.is-animation-visible
.therapy-rcm-timeline__step:nth-child(6) {
  transition-delay:
    .45s;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media screen and (min-width:1400px) {

  .therapy-rcm-timeline__track {
    max-width:
      1280px !important;
  }


  .therapy-rcm-timeline__description {
    max-width:
      185px !important;
  }

}


/* =========================================================
   LAPTOP
========================================================= */

@media screen and (max-width:1200px) {

  .therapy-rcm-timeline {
    padding:
      25px 12px 26px !important;
  }


  .therapy-rcm-timeline__track {
    display:
      grid !important;

    grid-template-columns:
      repeat(6, minmax(0, 1fr)) !important;

    grid-template-rows:
      1fr !important;

    grid-auto-flow:
      column !important;

    gap:
      6px !important;
  }


  .therapy-rcm-timeline__number {
    width:
      54px !important;

    height:
      54px !important;

    min-width:
      54px !important;

    max-width:
      54px !important;

    min-height:
      54px !important;

    max-height:
      54px !important;

    flex-basis:
      54px !important;

    border-width:
      5px !important;

    margin-bottom:
      13px !important;

    font-size:
      13px !important;
  }


  .therapy-rcm-timeline__track::before {
    top:
      26px !important;
  }


  .therapy-rcm-timeline__title {
    font-size:
      14px !important;
  }


  .therapy-rcm-timeline__description {
    max-width:
      155px !important;

    font-size:
      10.2px !important;

    line-height:
      1.5 !important;
  }

}


/* =========================================================
   TABLET LANDSCAPE
   FORCE 6 COLUMNS
========================================================= */

@media screen and (max-width:1024px) {

  .therapy-rcm-timeline {
    padding:
      23px 8px 24px !important;
  }


  .therapy-rcm-timeline__track {
    display:
      grid !important;

    width:
      100% !important;

    grid-template-columns:
      repeat(6, minmax(0, 1fr)) !important;

    grid-template-rows:
      1fr !important;

    grid-auto-flow:
      column !important;

    grid-auto-columns:
      minmax(0, 1fr) !important;

    gap:
      3px !important;
  }


  .therapy-rcm-timeline__step {
    grid-row:
      1 !important;
  }


  .therapy-rcm-timeline__number {
    width:
      48px !important;

    height:
      48px !important;

    min-width:
      48px !important;

    max-width:
      48px !important;

    min-height:
      48px !important;

    max-height:
      48px !important;

    flex-basis:
      48px !important;

    margin-bottom:
      12px !important;

    border-width:
      4px !important;

    font-size:
      12px !important;
  }


  .therapy-rcm-timeline__track::before {
    top:
      23px !important;
  }


  .therapy-rcm-timeline__title {
    margin-bottom:
      6px !important;

    font-size:
      12px !important;
  }


  .therapy-rcm-timeline__description {
    max-width:
      135px !important;

    padding:
      0 3px !important;

    font-size:
      9px !important;

    line-height:
      1.5 !important;
  }

}


/* =========================================================
   TABLET PORTRAIT
   STILL ONE ROW
========================================================= */

@media screen and (max-width:780px) and (min-width:681px) {

  .therapy-rcm-timeline {
    padding:
      21px 6px 22px !important;
  }


  .therapy-rcm-timeline__track {
    display:
      grid !important;

    grid-template-columns:
      repeat(6, minmax(0, 1fr)) !important;

    grid-template-rows:
      1fr !important;

    grid-auto-flow:
      column !important;

    grid-auto-columns:
      minmax(0, 1fr) !important;

    gap:
      2px !important;
  }


  .therapy-rcm-timeline__step {
    grid-row:
      1 !important;
  }


  .therapy-rcm-timeline__number {
    width:
      44px !important;

    height:
      44px !important;

    min-width:
      44px !important;

    max-width:
      44px !important;

    min-height:
      44px !important;

    max-height:
      44px !important;

    flex-basis:
      44px !important;

    margin-bottom:
      11px !important;

    border-width:
      4px !important;

    font-size:
      11px !important;
  }


  .therapy-rcm-timeline__track::before {
    top:
      21px !important;
  }


  .therapy-rcm-timeline__title {
    font-size:
      10.8px !important;

    line-height:
      1.4 !important;
  }


  .therapy-rcm-timeline__description {
    max-width:
      116px !important;

    font-size:
      8.2px !important;

    line-height:
      1.45 !important;
  }

}


/* =========================================================
   MOBILE
   SWITCH TO VERTICAL TIMELINE
========================================================= */

@media screen and (max-width:680px) {

  .therapy-rcm-timeline {
    padding:
      18px 14px 20px !important;

    overflow:
      hidden !important;
  }


  .therapy-rcm-timeline__track {
    display:
      flex !important;

    flex-direction:
      column !important;

    grid-template-columns:
      none !important;

    grid-template-rows:
      none !important;

    grid-auto-flow:
      unset !important;

    grid-auto-columns:
      unset !important;

    gap:
      27px !important;

    width:
      100% !important;

    overflow:
      visible !important;
  }


  /* =====================================================
     VERTICAL LINE
  ====================================================== */

  .therapy-rcm-timeline__track::before {
    display:
      block !important;

    top:
      27px !important;

    bottom:
      27px !important;

    left:
      27px !important;

    right:
      auto !important;

    width:
      2px !important;

    height:
      auto !important;

    background:
      linear-gradient(
        180deg,
        #2A93CE 0%,
        #2A93CE 44%,
        #3D9CAD 60%,
        #55AB8E 100%
      );

    transform-origin:
      top center;
  }


  .therapy-rcm-timeline__track.is-animation-ready::before {
    transform:
      scaleY(0);
  }


  .therapy-rcm-timeline__track.is-animation-visible::before {
    transform:
      scaleY(1);
  }


  /* =====================================================
     MOBILE STEP
  ====================================================== */

  .therapy-rcm-timeline__step {
    display:
      grid !important;

    grid-template-columns:
      60px minmax(0,1fr) !important;

    grid-template-rows:
      auto !important;

    grid-row:
      auto !important;

    align-items:
      center !important;

    width:
      100% !important;

    text-align:
      left !important;
  }


  /* =====================================================
     MOBILE NUMBER
  ====================================================== */

  .therapy-rcm-timeline__number {
    width:
      54px !important;

    height:
      54px !important;

    min-width:
      54px !important;

    max-width:
      54px !important;

    min-height:
      54px !important;

    max-height:
      54px !important;

    margin:
      0 !important;

    border-width:
      5px !important;

    font-size:
      13px !important;
  }


  /* =====================================================
     MOBILE CONTENT
  ====================================================== */

  .therapy-rcm-timeline__content {
    min-width:
      0 !important;

    width:
      100% !important;

    padding-left:
      13px !important;

    text-align:
      left !important;
  }


  .therapy-rcm-timeline__title {
    margin:
      0 0 5px !important;

    font-size:
      15px !important;

    line-height:
      1.4 !important;

    text-align:
      left !important;
  }


  .therapy-rcm-timeline__description {
    width:
      100% !important;

    max-width:
      none !important;

    margin:
      0 !important;

    padding:
      0 !important;

    font-size:
      12px !important;

    line-height:
      1.55 !important;

    text-align:
      left !important;

    overflow-wrap:
      normal !important;
  }


  /* =====================================================
     MOBILE REVEAL
  ====================================================== */

  .therapy-rcm-timeline__track.is-animation-ready
  .therapy-rcm-timeline__step {
    opacity:
      0;

    transform:
      translateX(-12px);
  }


  .therapy-rcm-timeline__track.is-animation-visible
  .therapy-rcm-timeline__step {
    opacity:
      1;

    transform:
      translateX(0);
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and (max-width:480px) {

  .therapy-rcm-timeline {
    padding:
      16px 11px 18px !important;
  }


  .therapy-rcm-timeline__track {
    gap:
      24px !important;
  }


  .therapy-rcm-timeline__track::before {
    left:
      24px !important;

    top:
      24px !important;

    bottom:
      24px !important;
  }


  .therapy-rcm-timeline__step {
    grid-template-columns:
      53px minmax(0,1fr) !important;
  }


  .therapy-rcm-timeline__number {
    width:
      48px !important;

    height:
      48px !important;

    min-width:
      48px !important;

    max-width:
      48px !important;

    min-height:
      48px !important;

    max-height:
      48px !important;

    border-width:
      5px !important;

    font-size:
      12px !important;
  }


  .therapy-rcm-timeline__content {
    padding-left:
      10px !important;
  }


  .therapy-rcm-timeline__title {
    font-size:
      14px !important;
  }


  .therapy-rcm-timeline__description {
    font-size:
      11.3px !important;

    line-height:
      1.5 !important;
  }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media screen and (max-width:390px) {

  .therapy-rcm-timeline {
    padding-left:
      8px !important;

    padding-right:
      8px !important;
  }


  .therapy-rcm-timeline__track {
    gap:
      22px !important;
  }


  .therapy-rcm-timeline__track::before {
    left:
      22px !important;

    top:
      22px !important;

    bottom:
      22px !important;
  }


  .therapy-rcm-timeline__step {
    grid-template-columns:
      49px minmax(0,1fr) !important;
  }


  .therapy-rcm-timeline__number {
    width:
      44px !important;

    height:
      44px !important;

    min-width:
      44px !important;

    max-width:
      44px !important;

    min-height:
      44px !important;

    max-height:
      44px !important;

    border-width:
      4px !important;

    font-size:
      11px !important;
  }


  .therapy-rcm-timeline__content {
    padding-left:
      8px !important;
  }


  .therapy-rcm-timeline__title {
    font-size:
      13px !important;
  }


  .therapy-rcm-timeline__description {
    font-size:
      10.7px !important;
  }

}


/* =========================================================
   320PX
========================================================= */

@media screen and (max-width:320px) {

  .therapy-rcm-timeline {
    padding-left:
      6px !important;

    padding-right:
      6px !important;
  }


  .therapy-rcm-timeline__track::before {
    left:
      20px !important;
  }


  .therapy-rcm-timeline__step {
    grid-template-columns:
      45px minmax(0,1fr) !important;
  }


  .therapy-rcm-timeline__number {
    width:
      40px !important;

    height:
      40px !important;

    min-width:
      40px !important;

    max-width:
      40px !important;

    min-height:
      40px !important;

    max-height:
      40px !important;

    border-width:
      4px !important;

    font-size:
      10.5px !important;
  }


  .therapy-rcm-timeline__title {
    font-size:
      12.5px !important;
  }


  .therapy-rcm-timeline__description {
    font-size:
      10.3px !important;
  }

}


/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover:none) {

  .therapy-rcm-timeline__step:hover
  .therapy-rcm-timeline__number,

  .therapy-rcm-timeline__step:hover
  .therapy-rcm-timeline__title,

  .therapy-rcm-timeline__step:hover
  .therapy-rcm-timeline__description {
    transform:
      none !important;
  }

}


/* =========================================================
   ELEMENTOR EDITOR
========================================================= */

.elementor-editor-active
.therapy-rcm-timeline__track,

body.elementor-editor-active
.therapy-rcm-timeline__track {
  opacity:
    1 !important;
}


.elementor-editor-active
.therapy-rcm-timeline__step,

body.elementor-editor-active
.therapy-rcm-timeline__step {
  opacity:
    1 !important;

  transform:
    none !important;
}


.elementor-editor-active
.therapy-rcm-timeline__track::before,

body.elementor-editor-active
.therapy-rcm-timeline__track::before {
  transform:
    none !important;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .therapy-rcm-timeline__track,
  .therapy-rcm-timeline__track::before,
  .therapy-rcm-timeline__step,
  .therapy-rcm-timeline__number,
  .therapy-rcm-timeline__number::after,
  .therapy-rcm-timeline__title,
  .therapy-rcm-timeline__description {
    animation:
      none !important;

    transition:
      none !important;

    opacity:
      1 !important;

    transform:
      none !important;
  }

}

