
    
    /* =========================================================
   WHY LEADING PRACTICES TIMELINE
========================================================= */

.dental-why-section,
.dental-why-section * {
    box-sizing: border-box;
}

.dental-why-section {
    width: 100%;
    /*padding: 18px 12px 30px;*/

    background: #F2F7FC;

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


/* =========================================================
   MAIN BOX
========================================================= */

.dental-why-box {

    /* Desktop layout values */

    --timeline-column: 85px;
    --title-column: 205px;
    --right-padding: 30px;

    --line-width: 4px;
    --line-top: 52px;
    --line-bottom: 52px;

    position: relative;

    width: 100%;
    max-width: 1280px;

    margin: 0 auto;

    overflow: hidden;

    background: #FFFFFF;

    border: 1px solid #E3EDF5;
    border-radius: 36px;

    box-shadow:
        0 22px 52px rgba(7, 31, 73, 0.065);

    opacity: 1;
    transform: none;
}


/* =========================================================
   BLUE HEADER
========================================================= */

.dental-why-header {
    position: relative;

    z-index: 20;

    width: 100%;
    min-height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 14px 25px;

    background: #2C97CB;

    color: #FFFFFF;

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

    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.4;

    letter-spacing: -0.15px;

    text-align: center;
}


/* =========================================================
   BODY
========================================================= */

.dental-why-body {
    position: relative;

    width: 100%;

    background: #FFFFFF;

    isolation: isolate;
}


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

   IMPORTANT:
   Line stays BELOW every timeline dot.
========================================================= */

.dental-why-line,
.dental-why-line-progress {
    position: absolute;

    top: var(--line-top);
    bottom: var(--line-bottom);

    left: calc(
        (var(--timeline-column) - var(--line-width)) / 2
    );

    width: var(--line-width);

    border-radius: 50px;

    background:
        linear-gradient(
            to bottom,

            #2D9DCE 0%,
            #329FC9 26%,
            #55AD99 55%,
            #AB8199 77%,
            #E35D90 100%
        );

    pointer-events: none;

    /*
       LINE MUST ALWAYS STAY
       UNDER THE DOTS
    */

    z-index: 0 !important;
}


/* Permanent line */

.dental-why-line {
    opacity: 1;
    visibility: visible;
}


/* Animated overlay */

.dental-why-line-progress {
    opacity: 0.48;

    transform-origin: top;

    transform: scaleY(1);
}


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

.dental-why-row {
    position: relative;

    display: grid;

    grid-template-columns:
        var(--timeline-column)
        var(--title-column)
        minmax(0, 1fr);

    align-items: center;

    width: 100%;
    min-width: 0;

    min-height: 110px;

    padding-right: var(--right-padding);

    background: transparent;

    /*
       Row content remains over line.
    */

    z-index: 1;

    transition:
        background 0.35s ease,
        box-shadow 0.35s ease;
}


/* =========================================================
   HORIZONTAL DIVIDER
========================================================= */

.dental-why-row:not(:last-child)::after {
    content: "";

    position: absolute;

    left: calc(var(--timeline-column) + 1px);
    right: var(--right-padding);

    bottom: 0;

    height: 1px;

    background: #E4EDF4;

    z-index: 2;

    transition:
        background-color 0.35s ease;
}


/* =========================================================
   NODE WRAPPER
========================================================= */

.dental-why-node-wrap {
    position: relative;

    width: var(--timeline-column);
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    /*
       Wrapper stays well above line.
    */

    z-index: 8;
}


/* =========================================================
   WHITE MASK UNDER NODE

   This sits BETWEEN the line and dot.
   Therefore the vertical line can never be seen
   through or over the circular node.
========================================================= */

.dental-why-node-wrap::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 32px;
    height: 32px;

    border-radius: 50%;

    background: #FFFFFF;

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

    /*
       Above line
       Below actual dot
    */

    z-index: 9;

    pointer-events: none;
}


/* =========================================================
   TIMELINE NODE
========================================================= */

.dental-why-node {
    position: relative;

    display: block;

    width: 29px;
    height: 29px;

    flex: 0 0 29px;

    border: 7px solid #2F99CA;
    border-radius: 50%;

    background: #FFFFFF;

    /*
       Actual node is always the top-most
       timeline layer.
    */

    z-index: 10;

    box-shadow:
        0 2px 5px rgba(47, 153, 202, 0.08);

    transition:
        transform 0.4s cubic-bezier(.22, 1, .36, 1),
        background-color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.4s ease;
}


/* White center used during hover */

.dental-why-node::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 0;
    height: 0;

    border-radius: 50%;

    background: #FFFFFF;

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

    z-index: 11;

    transition:
        width 0.3s cubic-bezier(.22, 1, .36, 1),
        height 0.3s cubic-bezier(.22, 1, .36, 1);
}


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

.dental-why-title {
    position: relative;

    z-index: 3;

    min-width: 0;
    min-height: 80px;

    display: flex;
    align-items: center;

    padding:
        10px
        17px
        10px
        12px;

    border-right: 1px solid #E0E4E8;

    color: #082653;

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

    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;

    letter-spacing: -0.25px;

    overflow-wrap: break-word;

    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}


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

.dental-why-description {
    position: relative;

    z-index: 3;

    min-width: 0;

    display: flex;
    align-items: center;

    padding:
        14px
        18px;

    color: #111111;

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

    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.62;

    letter-spacing: -0.12px;

    overflow-wrap: break-word;

    transition:
        color 0.3s ease;
}


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

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

    .dental-why-row:hover {
        background:
            linear-gradient(
                90deg,
                rgba(47, 153, 202, 0.05) 0%,
                rgba(47, 153, 202, 0.022) 30%,
                rgba(255,255,255,0) 75%
            );

        box-shadow:
            inset 0 1px 0 rgba(47,153,202,0.025),
            inset 0 -1px 0 rgba(47,153,202,0.025);
    }


    .dental-why-row:hover::after {
        background: #D8E8F0;
    }


    /* Circle */

    .dental-why-row:hover
    .dental-why-node {

        background: #2F99CA;

        border-color: #2F99CA;

        transform: scale(1.1);

        box-shadow:
            0 0 0 5px rgba(47,153,202,0.09),
            0 8px 20px rgba(47,153,202,0.16);
    }


    .dental-why-row:hover
    .dental-why-node::after {

        width: 7px;
        height: 7px;
    }


    /* Title */

    .dental-why-row:hover
    .dental-why-title {

        color: #238DBD;

        border-color: #D3E4EC;
    }


    /* Description */

    .dental-why-row:hover
    .dental-why-description {

        color: #071A31;
    }

}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.dental-why-box.dental-animation-ready {
    opacity: 0;

    transform: translateY(20px);

    transition:
        opacity 0.65s ease,
        transform 0.75s cubic-bezier(.22,1,.36,1);
}


.dental-why-box.dental-animation-ready.dental-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   HEADER ANIMATION
========================================================= */

.dental-why-box.dental-animation-ready
.dental-why-header {

    opacity: 0;

    transform: translateY(-8px);

    transition:
        opacity 0.55s ease,
        transform 0.65s cubic-bezier(.22,1,.36,1);
}


.dental-why-box.dental-animation-ready.dental-visible
.dental-why-header {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   LINE DRAW
========================================================= */

.dental-why-box.dental-animation-ready
.dental-why-line-progress {

    opacity: 0;

    transform: scaleY(0);

    transition:
        transform 1.25s cubic-bezier(.65,0,.35,1),
        opacity 0.25s ease;
}


.dental-why-box.dental-animation-ready.dental-visible
.dental-why-line-progress {

    opacity: 0.55;

    transform: scaleY(1);
}


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

.dental-why-box.dental-animation-ready
.dental-why-row {

    opacity: 0;

    transform: translateY(13px);

    transition:
        opacity 0.55s ease,
        transform 0.65s cubic-bezier(.22,1,.36,1),
        background 0.35s ease,
        box-shadow 0.35s ease;
}


.dental-why-box.dental-animation-ready.dental-visible
.dental-why-row {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   NODE REVEAL
========================================================= */

.dental-why-box.dental-animation-ready
.dental-why-node {

    opacity: 0;

    transform: scale(0.35);

    transition:
        transform 0.46s cubic-bezier(.34,1.56,.64,1),
        opacity 0.32s ease,
        background-color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.4s ease;
}


.dental-why-box.dental-animation-ready.dental-visible
.dental-why-node {

    opacity: 1;

    transform: scale(1);
}


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

.dental-why-box.dental-animation-ready.dental-visible
.dental-why-row:nth-child(3) {
    transition-delay: 0.10s;
}

.dental-why-box.dental-animation-ready.dental-visible
.dental-why-row:nth-child(4) {
    transition-delay: 0.22s;
}

.dental-why-box.dental-animation-ready.dental-visible
.dental-why-row:nth-child(5) {
    transition-delay: 0.34s;
}

.dental-why-box.dental-animation-ready.dental-visible
.dental-why-row:nth-child(6) {
    transition-delay: 0.46s;
}


/* Node stagger */

.dental-why-box.dental-animation-ready.dental-visible
.dental-why-row:nth-child(3)
.dental-why-node {
    transition-delay: 0.12s;
}

.dental-why-box.dental-animation-ready.dental-visible
.dental-why-row:nth-child(4)
.dental-why-node {
    transition-delay: 0.24s;
}

.dental-why-box.dental-animation-ready.dental-visible
.dental-why-row:nth-child(5)
.dental-why-node {
    transition-delay: 0.36s;
}

.dental-why-box.dental-animation-ready.dental-visible
.dental-why-row:nth-child(6)
.dental-why-node {
    transition-delay: 0.48s;
}


/* =========================================================
   LAPTOP
   <= 1100px
========================================================= */

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

    .dental-why-box {

        --timeline-column: 75px;
        --title-column: 195px;
        --right-padding: 24px;

        --line-width: 4px;

        border-radius: 31px;
    }


    .dental-why-header {
        min-height: 57px;

        padding: 13px 22px;

        font-size: 14.5px;
    }


    .dental-why-row {
        min-height: 112px;
    }


    .dental-why-title {
        min-height: 80px;

        padding:
            10px
            14px
            10px
            11px;

        font-size: 13.5px;
    }


    .dental-why-description {
        padding:
            12px
            16px;

        font-size: 13px;
        line-height: 1.62;
    }

}


/* =========================================================
   TABLET LANDSCAPE
========================================================= */

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

    .dental-why-section {
        padding:
            14px
            10px
            24px;
    }


    .dental-why-box {

        --timeline-column: 64px;
        --title-column: 180px;
        --right-padding: 18px;

        --line-top: 48px;
        --line-bottom: 48px;

        border-radius: 27px;
    }


    .dental-why-header {
        min-height: 54px;

        padding:
            12px
            18px;

        font-size: 13.5px;
    }


    .dental-why-row {
        min-height: 116px;
    }


    .dental-why-node-wrap::before {
        width: 30px;
        height: 30px;
    }


    .dental-why-node {
        width: 27px;
        height: 27px;

        flex-basis: 27px;

        border-width: 6px;
    }


    .dental-why-title {
        min-height: 80px;

        padding:
            9px
            13px
            9px
            10px;

        font-size: 12.5px;
        line-height: 1.5;
    }


    .dental-why-description {
        padding:
            11px
            14px;

        font-size: 12px;
        line-height: 1.6;
    }

}


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

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

    .dental-why-section {
        padding:
            10px
            8px
            20px;
    }


    .dental-why-box {

        --timeline-column: 54px;
        --right-padding: 15px;

        --line-width: 3px;

        --line-top: 42px;
        --line-bottom: 42px;

        border-radius: 22px;
    }


    .dental-why-header {
        min-height: 52px;

        padding:
            11px
            17px;

        font-size: 13px;
        line-height: 1.45;
    }


    .dental-why-row {

        grid-template-columns:
            var(--timeline-column)
            minmax(0, 1fr);

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

        min-height: 0;

        padding:
            19px
            var(--right-padding)
            19px
            0;
    }


    .dental-why-node-wrap {
        grid-area: node;

        width: var(--timeline-column);

        height: 100%;

        z-index: 8;
    }


    .dental-why-node-wrap::before {
        width: 28px;
        height: 28px;

        z-index: 9;
    }


    .dental-why-node {
        width: 25px;
        height: 25px;

        flex-basis: 25px;

        border-width: 6px;

        z-index: 10;
    }


    .dental-why-title {
        grid-area: title;

        min-height: 0;

        padding:
            0
            0
            7px
            6px;

        border-right: none;

        font-size: 13.5px;
        line-height: 1.48;
    }


    .dental-why-description {
        grid-area: description;

        padding:
            0
            0
            0
            6px;

        font-size: 12px;
        line-height: 1.62;
    }


    .dental-why-row:not(:last-child)::after {
        left: calc(var(--timeline-column) + 3px);

        right: var(--right-padding);
    }

}


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

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

    .dental-why-section {
        padding:
            8px
            6px
            17px;
    }


    .dental-why-box {

        --timeline-column: 48px;

        --line-width: 3px;

        --line-top: 38px;
        --line-bottom: 38px;

        --right-padding: 12px;

        border-radius: 19px;
    }


    .dental-why-header {
        min-height: 50px;

        padding:
            10px
            13px;

        font-size: 12.5px;
    }


    .dental-why-row {
        padding:
            17px
            var(--right-padding)
            17px
            0;
    }


    .dental-why-node-wrap::before {
        width: 26px;
        height: 26px;
    }


    .dental-why-node {
        width: 23px;
        height: 23px;

        flex-basis: 23px;

        border-width: 5px;
    }


    .dental-why-title {
        padding-left: 5px;
        padding-bottom: 6px;

        font-size: 12.5px;
    }


    .dental-why-description {
        padding-left: 5px;

        font-size: 11.5px;
        line-height: 1.6;
    }

}


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

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

    .dental-why-box {

        --timeline-column: 43px;
        --right-padding: 10px;

        border-radius: 17px;
    }


    .dental-why-header {
        padding:
            10px
            10px;

        font-size: 11.5px;
    }


    .dental-why-row {
        padding:
            16px
            var(--right-padding)
            16px
            0;
    }


    .dental-why-node-wrap::before {
        width: 24px;
        height: 24px;
    }


    .dental-why-node {
        width: 21px;
        height: 21px;

        flex-basis: 21px;

        border-width: 5px;
    }


    .dental-why-title {
        padding-left: 4px;

        font-size: 12px;
    }


    .dental-why-description {
        padding-left: 4px;

        font-size: 11px;
        line-height: 1.58;
    }

}


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

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

    .dental-why-box {
        --timeline-column: 39px;
        --right-padding: 8px;
    }


    .dental-why-header {
        font-size: 11px;
    }


    .dental-why-node-wrap::before {
        width: 22px;
        height: 22px;
    }


    .dental-why-node {
        width: 19px;
        height: 19px;

        flex-basis: 19px;

        border-width: 4px;
    }


    .dental-why-title {
        font-size: 11.5px;
    }


    .dental-why-description {
        font-size: 10.5px;
    }

}


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

@media (hover: none) {

    .dental-why-row:hover {
        background: transparent;
        box-shadow: none;
    }


    .dental-why-row:hover
    .dental-why-node {

        background: #FFFFFF;
        border-color: #2F99CA;

        transform: none;

        box-shadow:
            0 2px 5px rgba(47,153,202,0.08);
    }


    .dental-why-row:hover
    .dental-why-node::after {

        width: 0;
        height: 0;
    }


    .dental-why-row:hover
    .dental-why-title {

        color: #082653;
    }


    .dental-why-row:hover
    .dental-why-description {

        color: #111111;
    }

}


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

.elementor-editor-active
.dental-why-box,

body.elementor-editor-active
.dental-why-box,

.elementor-editor-active
.dental-why-header,

body.elementor-editor-active
.dental-why-header,

.elementor-editor-active
.dental-why-row,

body.elementor-editor-active
.dental-why-row,

.elementor-editor-active
.dental-why-node,

body.elementor-editor-active
.dental-why-node {

    opacity: 1 !important;

    transform: none !important;
}


.elementor-editor-active
.dental-why-line,

body.elementor-editor-active
.dental-why-line {

    opacity: 1 !important;

    visibility: visible !important;

    z-index: 0 !important;
}


.elementor-editor-active
.dental-why-line-progress,

body.elementor-editor-active
.dental-why-line-progress {

    opacity: 0.48 !important;

    transform: scaleY(1) !important;

    z-index: 0 !important;
}


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

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

    .dental-why-box,
    .dental-why-header,
    .dental-why-row,
    .dental-why-node,
    .dental-why-line-progress,
    .dental-why-title,
    .dental-why-description {

        animation: none !important;

        transition: none !important;

        opacity: 1 !important;

        transform: none !important;
    }


    .dental-why-line {
        opacity: 1 !important;

        visibility: visible !important;

        z-index: 0 !important;
    }


    .dental-why-line-progress {
        z-index: 0 !important;
    }

}
    
    
    
