/* How We Do */
.process-graph-area  {
    --process-graph-gap-x: 40px;
    --process-graph-gap-y: 25px;
    --border-color: var(--bs-primary-bg-subtle);
    --item-height: 100px;
}
.bg-dark {
    --border-color: var(--bs-secondary);

}
.process-graph-area
.process-graph-bg  {
    position: absolute;
    left: 0;
    bottom: 0;
}

.process-graph-items {
    gap: var( --process-graph-gap-y) var(--process-graph-gap-x);
}
.process-graph-card {
    background: #ffffff;
    border-radius: 10px;
    position: relative;
    color: rgb(28 28 28 / 85%);
    border: 1px solid var(--border-color);
    box-shadow: 0px 4px 20px 5px rgba(0,0,0,0.03);
    z-index: 100;
}
.process-graph-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    background: var(--bs-primary-bg-subtle);
}
.process-graph-icon img {
    max-width: 70%;
    max-height: 70%;
}
.process-graph-icon svg {
    width: 30px;
    height: 30px;
}
.process-graph-icon svg path:not([stroke]) {
    fill: var(--bs-primary);

}
.process-graph-icon svg path[stroke=""] {
    fill: var(--bs-primary);
}
.process-graph-icon svg path[stroke]:not([stroke=""]) {
    stroke: var(--bs-primary);
}


.process-graph-content * {
    margin: 0;
}
.process-graph-content .info-card {
    padding: 0;
    position: static;
}
.process-graph-card .circle-shape {
    position: absolute;
    left: -10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    top: 50%;
    margin-top: -10px;
    border: 1px solid var(--border-color);
}
.process-graph-content {
    padding: 2em 1em;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    grid-gap: .75rem 1rem;
    height: 100%;
}
.process-graph-title {
    grid-column-start: 1;
    grid-column-end: 3;
}
.process-graph-title .h6 {
    font-weight: 700;
}


.process-graph-card .circle-shape:before {
    content: '';
    border-radius: 50%;
    background: var(--bs-primary);
    width: 10px;
    height: 10px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.process-graph-items .process-graph-card:first-child .circle-shape {
    display: none;
}

.process-graph-card .line-shape {
    position: absolute;
    height: 0;
    left: 100%;
    right: calc(-1 * var(--process-graph-gap-x));
    top: 50%;
    border: 4px dashed var(--border-color);
    border-width: 4px 0 0 0;
}

.process-graph-card .info-badge {
    right: -1px;
    top: 8px;
    font-size: .65em;
    border-radius: 10px 0 0 10px;
    padding: .5em .5em .5em .75em;
}



@media (min-width: 768px) {
    .process-graph-items {
        margin: 0 calc(-0.5 * var(--process-graph-gap-x));
    }
    .process-graph-content {
        padding: 2em 1.25em;
    }
    .process-graph-icon {
        width: 4rem;
        height: 4rem;
    }
}



@media (min-width: 1200px) {
    .process-graph-card {
        width: calc(33% - var(--process-graph-gap-x));
    }

    .process-graph-items .process-graph-card:not(:first-child) .line-shape {
        display: none;
    }

    .process-graph-items.just-one-line .process-graph-card:not(:first-child):nth-last-child(2) .line-shape  {
        display: block;
    }


    .process-graph-items .process-graph-card.odd-row .circle-shape {

        border-width: 0 1px 0 0;
    }
    .process-graph-items .process-graph-card.even-row .circle-shape {
        border-width: 0 0 0 1px;        
        left: auto;
        right: -10px;
    }

    .order-big-1 { order: 1; }
    .order-big-2 { order: 2; }
    .order-big-3 { order: 3; }
    .order-big-4 { order: 4; }
    .order-big-5 { order: 5; }
    .order-big-6 { order: 6; }
    .order-big-7 { order: 7; }
    .order-big-8 { order: 8; }
    .order-big-9 { order: 9; }
    .order-big-10 { order: 10; }
    .order-big-11 { order: 11; }
    .order-big-12 { order: 12; }
    .order-big-13 { order: 13; }
    .order-big-14 { order: 14; }
    .order-big-15 { order: 15; }
    .order-big-16 { order: 16; }


    .process-graph-items .break {
        flex: 0 0 100%;
        height: calc(2* var( --process-graph-gap-y) + var(--item-height) + 4px);
        margin: calc(0px - var( --process-graph-gap-y) - .5* var(--item-height) - 2px) 0;
        position: relative;
        z-index: 0;
    }
    .process-graph-items .break:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;    
        border: 4px dashed var(--border-color);
        border-radius: 1rem;
    }
    
    .process-graph-items .break.odd-row:before {
       left: 45%;
        border-left: 0;
    }
    /* .process-graph-items .break.odd-row.items-in-row-2:before {
        left: 45%;
    } */
    .process-graph-items .break.even-row:before {
        right: 45%;
        border-right: 0;
    }
    .process-graph-items .break.even-row.items-in-row-2:before {
        left: 17%;
    }
    .process-graph-items .break.even-row.items-in-row-2.one-item-left:before {
        right: 58%;
    }
    .process-graph-items .break.odd-row.one-item-left:before {
        left: 40%;
     }
     .process-graph-items .break.odd-row.items-in-row-2.one-item-left:before {
        left: 58%;
        right: 17%;
      }
    
    

}

@media (max-width: 1199px) {
    .process-graph-area  {
        --process-graph-gap-x: 30px;
        --process-graph-gap-y: 35px;
    }
    .process-graph-items {
        flex-direction: column;
    }

    .process-graph-items .break {
        display: none;
    }

    .process-graph-card {
        width: calc(100% - 1 * var(--process-graph-gap-x));
        margin: 0 auto;
    }
        
    .process-graph-card.item-sm-even .circle-shape {
        left: auto;
        right: -10px;
        border-width: 0 1px 0 0;
    }
    .process-graph-card.item-sm-odd .circle-shape {
        right: auto;
        left: -10px;
        border-width: 0 0 0 1px;
    }

    .process-graph-card .line-shape {
        height: calc(100% + var(--process-graph-gap-y) + 3px);
    }

    .process-graph-card.item-sm-odd .line-shape {
        right: calc(-0.5 * var(--process-graph-gap-x) - 4px);
        border-width: 3px 3px 3px 0;
        border-radius: 0 20px 20px 0;
    }
    
    .process-graph-card.item-sm-even .line-shape {
        right: 100%;
        left: calc(-0.5 * var(--process-graph-gap-x) - 4px);
        border-width: 3px 0 3px 3px;
        border-radius: 20px 0 0 20px;
    }

    .process-graph-card:last-child .line-shape {
        display: none;
    }


}
