

/* =========================================================
   GLOBAL
========================================================= */

.pathology-billing-section,
.pathology-billing-section * {
  box-sizing: border-box;
}

.pathology-billing-section {

  width: 100%;

  margin: 0;

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

  -webkit-font-smoothing:
    antialiased;

  text-rendering:
    optimizeLegibility;

}


/* =========================================================
   MAIN TABLE
========================================================= */

.pathology-billing-table {

  position: relative;

  width: 100%;

  max-width: 1280px;

  margin: 0 auto;

  overflow: hidden;

  background: #FFFFFF;

  border:
    1px solid #DFE7EE;

  border-radius:
    35px;

  box-shadow:
    0 16px 34px
    rgba(7, 31, 73, 0.075);

  isolation: isolate;

}


/* =========================================================
   TOP BLUE BAR
========================================================= */

.pathology-billing-topbar {

  position: relative;

  width: 100%;

  height: 49px;

  background: #2A93CE;

  border-radius:
    34px
    34px
    0
    0;

  overflow: hidden;

}


/* SUBTLE TOP BAR SHINE */

.pathology-billing-topbar::after {

  content: "";

  position: absolute;

  top: 0;

  left: -30%;

  width: 22%;

  height: 100%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.12),
      transparent
    );

  transform: skewX(-20deg);

  animation:
    pathologyBillingTopBarShine
    7s
    ease-in-out
    infinite;

}


@keyframes pathologyBillingTopBarShine {

  0%,
  60% {
    left: -30%;
  }

  85%,
  100% {
    left: 120%;
  }

}


/* =========================================================
   ROW
========================================================= */

.pathology-billing-row {

  position: relative;

  display: grid;

  grid-template-columns:
    74px
    283px
    minmax(0, 1fr);

  width: 100%;

  min-height: 78px;

  background: #FFFFFF;

  border-bottom:
    1px solid #DFE7EE;

  transition:
    background-color .35s ease,
    box-shadow .4s ease;

  z-index: 1;

}


.pathology-billing-row:last-child {
  border-bottom: none;
}


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

.pathology-billing-number {

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  min-width: 0;

  overflow: hidden;

  color: #FFFFFF;

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

  font-size: 20px;

  font-weight: 700;

  line-height: 1;

  border-right:
    1px solid
    rgba(255,255,255,.26);

  transition:
    filter .35s ease,
    box-shadow .35s ease;

}


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

.pathology-billing-blue {
  background: #2F97CE;
}

.pathology-billing-pink {
  background: #E56191;
}

.pathology-billing-green {
  background: #58AD91;
}


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

.pathology-billing-number span {

  position: relative;

  z-index: 3;

  display: inline-block;

  transition:
    transform .45s cubic-bezier(.22,1,.36,1),
    text-shadow .35s ease;

}


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

.pathology-billing-number::before {

  content: "";

  position: absolute;

  top: 50%;

  left: 50%;

  width: 100px;

  height: 100px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255,255,255,.25) 0%,
      rgba(255,255,255,.10) 42%,
      rgba(255,255,255,0) 72%
    );

  opacity: 0;

  transform:
    translate(-50%, -50%)
    scale(.42);

  transition:
    opacity .4s ease,
    transform .55s cubic-bezier(.22,1,.36,1);

}


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

.pathology-billing-number::after {

  content: "";

  position: absolute;

  top: -65%;

  left: -75px;

  width: 32px;

  height: 230%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.32),
      transparent
    );

  transform: rotate(18deg);

  transition:
    left .68s ease;

}


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

.pathology-billing-title {

  position: relative;

  display: flex;

  align-items: center;

  min-width: 0;

  padding:
    15px
    16px;

  color: #062854;

  background: #FFFFFF;

  border-right:
    1px solid #E0E8EF;

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

  font-size: 12.7px;

  font-weight: 700;

  line-height: 1.7;

  transition:
    color .32s ease,
    padding-left .42s cubic-bezier(.22,1,.36,1),
    background-color .35s ease;

}


/* =========================================================
   TITLE LEFT ACCENT
========================================================= */

.pathology-billing-title::before {

  content: "";

  position: absolute;

  left: 7px;

  top: 50%;

  width: 3px;

  height: 0;

  border-radius: 20px;

  background: #2A93CE;

  opacity: 0;

  transform:
    translateY(-50%);

  transition:
    height .4s cubic-bezier(.22,1,.36,1),
    opacity .3s ease;

}


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

.pathology-billing-description {

  position: relative;

  display: flex;

  align-items: center;

  min-width: 0;

  padding:
    14px
    20px;

  color: #5D7294;

  background: #FFFFFF;

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

  font-size: 12.4px;

  font-weight: 400;

  line-height: 1.6;

  transition:
    color .32s ease,
    padding-left .42s cubic-bezier(.22,1,.36,1),
    background-color .35s ease;

}


/* =========================================================
   BOTTOM CORNERS
========================================================= */

.pathology-billing-row:last-child
.pathology-billing-number {
  border-bottom-left-radius: 34px;
}


.pathology-billing-row:last-child
.pathology-billing-description {
  border-bottom-right-radius: 34px;
}


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

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


  .pathology-billing-row:hover {

    z-index: 5;

    background: #FBFDFF;

    box-shadow:
      inset 0 1px 0
      rgba(42,147,206,.12),

      inset 0 -1px 0
      rgba(42,147,206,.12),

      0 8px 22px
      rgba(7,31,73,.055);

  }


  /* NUMBER */

  .pathology-billing-row:hover
  .pathology-billing-number {

    filter:
      brightness(1.04)
      saturate(1.07);

  }


  .pathology-billing-row:hover
  .pathology-billing-number span {

    transform:
      translateY(-1px)
      scale(1.15);

    text-shadow:
      0 7px 14px
      rgba(7,31,73,.20);

  }


  .pathology-billing-row:hover
  .pathology-billing-number::before {

    opacity: 1;

    transform:
      translate(-50%, -50%)
      scale(1);

  }


  .pathology-billing-row:hover
  .pathology-billing-number::after {
    left: 135%;
  }


  /* TITLE */

  .pathology-billing-row:hover
  .pathology-billing-title {

    padding-left: 24px;

    color: #1788C6;

    background: #FCFEFF;

  }


  .pathology-billing-row:hover
  .pathology-billing-title::before {

    height: 31px;

    opacity: 1;

  }


  /* DESCRIPTION */

  .pathology-billing-row:hover
  .pathology-billing-description {

    padding-left: 26px;

    color: #405C7E;

    background: #FCFEFF;

  }

}


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

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

  .pathology-billing-table {
    max-width: 1280px;
  }

}


/* =========================================================
   LAPTOP <= 1200PX
========================================================= */

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


  .pathology-billing-section {

    padding:
      0
      18px;

  }


  .pathology-billing-row {

    grid-template-columns:
      72px
      275px
      minmax(0,1fr);

  }


  .pathology-billing-title {
    font-size: 12.3px;
  }


  .pathology-billing-description {
    font-size: 11.9px;
  }

}


/* =========================================================
   TABLET <= 1024PX
========================================================= */

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


  .pathology-billing-table {
    border-radius: 29px;
  }


  .pathology-billing-topbar {

    height: 46px;

    border-radius:
      28px
      28px
      0
      0;

  }


  .pathology-billing-row {

    grid-template-columns:
      65px
      245px
      minmax(0,1fr);

    min-height: 82px;

  }


  .pathology-billing-number {
    font-size: 18px;
  }


  .pathology-billing-title {

    padding:
      13px
      14px;

    font-size: 11.2px;

    line-height: 1.6;

  }


  .pathology-billing-description {

    padding:
      13px
      16px;

    font-size: 10.9px;

    line-height: 1.58;

  }


  .pathology-billing-row:last-child
  .pathology-billing-number {
    border-bottom-left-radius: 28px;
  }


  .pathology-billing-row:last-child
  .pathology-billing-description {
    border-bottom-right-radius: 28px;
  }

}


/* =========================================================
   SMALL TABLET <= 850PX
========================================================= */

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


  .pathology-billing-section {

    padding:
      0
      12px;

  }


  .pathology-billing-row {

    grid-template-columns:
      59px
      210px
      minmax(0,1fr);

    min-height: 90px;

  }


  .pathology-billing-number {
    font-size: 17px;
  }


  .pathology-billing-title {

    padding: 12px;

    font-size: 10.5px;

  }


  .pathology-billing-description {

    padding:
      12px
      14px;

    font-size: 10.2px;

  }

}


/* =========================================================
   MOBILE <= 700PX
   ROWS BECOME CARDS
========================================================= */

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


  .pathology-billing-section {

    padding:
      0
      10px
      18px;

  }


  .pathology-billing-table {

    overflow: visible;

    background: transparent;

    border: none;

    border-radius: 0;

    box-shadow: none;

  }


  .pathology-billing-topbar {
    display: none;
  }


  .pathology-billing-row {

    display: grid;

    grid-template-columns:
      64px
      minmax(0,1fr);

    grid-template-areas:
      "number title"
      "description description";

    min-height: 0;

    margin-bottom: 14px;

    overflow: hidden;

    background: #FFFFFF;

    border:
      1px solid #DFE7EE;

    border-radius: 18px;

    box-shadow:
      0 9px 23px
      rgba(7,31,73,.065);

  }


  .pathology-billing-row:last-child {

    margin-bottom: 0;

    border-radius: 18px;

  }


  /* NUMBER */

  .pathology-billing-number {

    grid-area: number;

    min-height: 78px;

    font-size: 17px;

    border-radius:
      17px
      0
      0
      0 !important;

  }


  /* TITLE */

  .pathology-billing-title {

    grid-area: title;

    min-height: 78px;

    padding:
      14px
      15px;

    border-right: none;

    font-size: 12px;

    line-height: 1.55;

  }


  .pathology-billing-title::before {
    display: none;
  }


  /* DESCRIPTION */

  .pathology-billing-description {

    grid-area: description;

    padding:
      14px
      15px;

    border-top:
      1px solid #E1E9EF;

    border-radius:
      0
      0
      17px
      17px !important;

    font-size: 11.7px;

    line-height: 1.62;

  }


  .pathology-billing-row:last-child
  .pathology-billing-number {
    border-bottom-left-radius: 0;
  }

}


/* =========================================================
   MOBILE <= 480PX
========================================================= */

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


  .pathology-billing-section {

    padding-left: 7px;

    padding-right: 7px;

  }


  .pathology-billing-row {

    grid-template-columns:
      58px
      minmax(0,1fr);

    margin-bottom: 11px;

    border-radius: 16px;

  }


  .pathology-billing-number {

    min-height: 74px;

    font-size: 16px;

    border-radius:
      15px
      0
      0
      0 !important;

  }


  .pathology-billing-title {

    min-height: 74px;

    padding:
      12px
      13px;

    font-size: 11.2px;

  }


  .pathology-billing-description {

    padding:
      12px
      13px;

    font-size: 10.9px;

    line-height: 1.6;

    border-radius:
      0
      0
      15px
      15px !important;

  }

}


/* =========================================================
   SMALL MOBILE <= 390PX
========================================================= */

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


  .pathology-billing-row {

    grid-template-columns:
      54px
      minmax(0,1fr);

  }


  .pathology-billing-number {
    font-size: 15px;
  }


  .pathology-billing-title {

    padding:
      11px
      12px;

    font-size: 10.7px;

  }


  .pathology-billing-description {

    padding:
      11px
      12px;

    font-size: 10.4px;

  }

}


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

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


  .pathology-billing-section {

    padding-left: 5px;

    padding-right: 5px;

  }


  .pathology-billing-row {

    grid-template-columns:
      50px
      minmax(0,1fr);

  }


  .pathology-billing-number {
    font-size: 14px;
  }


  .pathology-billing-title {
    font-size: 10.1px;
  }


  .pathology-billing-description {
    font-size: 10px;
  }

}


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

@media (hover:none) {


  .pathology-billing-row:hover {
    box-shadow: none;
  }


  .pathology-billing-row:hover
  .pathology-billing-number span {
    transform: none;
  }


  .pathology-billing-row:hover
  .pathology-billing-number::before {
    opacity: 0;
  }


  .pathology-billing-row:hover
  .pathology-billing-number::after {
    left: -75px;
  }

}


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

.pathology-billing-table.pathology-billing-ready
.pathology-billing-row {

  opacity: 0;

  transform:
    translateY(18px);

}


.pathology-billing-table.pathology-billing-ready.pathology-billing-visible
.pathology-billing-row {

  opacity: 1;

  transform:
    translateY(0);

  transition:
    opacity .5s ease,

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

    background-color
    .35s
    ease,

    box-shadow
    .4s
    ease;

}


/* =========================================================
   STAGGER
   TOP BAR IS FIRST CHILD
========================================================= */

.pathology-billing-visible
.pathology-billing-row:nth-child(2) {
  transition-delay: .03s;
}


.pathology-billing-visible
.pathology-billing-row:nth-child(3) {
  transition-delay: .07s;
}


.pathology-billing-visible
.pathology-billing-row:nth-child(4) {
  transition-delay: .11s;
}


.pathology-billing-visible
.pathology-billing-row:nth-child(5) {
  transition-delay: .15s;
}


.pathology-billing-visible
.pathology-billing-row:nth-child(6) {
  transition-delay: .19s;
}


.pathology-billing-visible
.pathology-billing-row:nth-child(7) {
  transition-delay: .23s;
}


.pathology-billing-visible
.pathology-billing-row:nth-child(8) {
  transition-delay: .27s;
}


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

.elementor-editor-active
.pathology-billing-row,

body.elementor-editor-active
.pathology-billing-row {

  opacity: 1 !important;

  transform: none !important;

}


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

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


  .pathology-billing-row,

  .pathology-billing-number,

  .pathology-billing-number span,

  .pathology-billing-number::before,

  .pathology-billing-number::after,

  .pathology-billing-title,

  .pathology-billing-description,

  .pathology-billing-topbar::after {

    animation: none !important;

    transition: none !important;

    opacity: 1 !important;

    transform: none !important;

  }

}

