.stepper {
	position: relative;
	width: 90%;
	display: flex;
	flex-flow: row nowrap;
	gap: 0;
	justify-content: space-around;
	align-items: flex-start;
}

.services_slider_content{
  text-align: center;
  margin: 2em;
  margin-bottom: 5em;
}

.services_slider_content > p{
  font-size: var(--fs-24);
  margin-top: 1em !important;
  text-transform: uppercase;
  font-weight: bold;
}

.stepper .stepper-end{
  font-size: 14px;
  font-weight: bold !important;
  color: black;
  text-transform: uppercase;
}

.stepper-content .stepper-end {
  font-size: 14px;
  font-weight: bold !important;
  color: black;
  text-align: center;
  line-height: 1.25
}

.et_pb_dp_dmb_module_1625 .stepper-content {
  width: 100%;
}

.stepper > .step {
	position: relative;
	width: 100%;
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-start;
	align-items: center;
}
.stepper > .step::before {
	position: absolute;
	content: "";
	width: 100%;
	height: 2px;
	background: #9F9F9F;
	left: 0;
	top: 1.1rem;
}
.stepper > .step > .step-label {
	position: relative;
	width: 1.5rem;
	height: 1.5rem;
	line-height: 1.5rem;
	background: #9F9F9F;
	border-color: white;
	text-align: center;
	border-radius: 50%;
	margin: 0 auto;
	margin-top: 5px;
	border: 3px solid white;
  	cursor: pointer;
}


.stepper > .step.on > .step-label {
	background: #1192D1;
	font-weight: bold;
	width: 2.2rem;
	height: 2.2rem;
	line-height: 2.2rem;
	border: 3px solid white;
	margin-top: 0px;
}

.stepper > .step > .step-description {
	color: #003F72;
	margin-top: 1rem;
	overflow-wrap: break-word;
	hyphens: auto;
	text-align: center;
	text-decoration: underline;
	text-transform: uppercase;
	font-size: 14px;
  	cursor: pointer;
}

.stepper > .step > .step-description a {
	color: inherit;
  font-weight: 800;
  display: block;
}

.stepper > .step > a {
	color: inherit;
}

.stepper > .step.active > .step-description,
.stepper > .step.completed > .step-description {
	color: black;
	
}
.stepper > .step.on > .step-description {
	font-weight: bold;
	font-size: var(--fs-24);
	letter-spacing: 5px;
	line-height: 1.5;
	color: var(--dark-gray);
  	border-bottom: solid;
	text-decoration: none;
}

.stepper .step-description--end-of-life-care {
  text-wrap: nowrap;
}


@media screen and (max-width: 980.99px) {
  .stepper .stepper-end{
	font-size: 12px;
  }
  
  .stepper > .step > .step-description {
	margin-top: 0.7rem;
	font-size: 12px;
	line-height: 1.3;
  }
  
  .stepper > .step.on > .step-description {
	font-size: var(--fs-18);
	letter-spacing: 3px;
	line-height: 1;
	border-bottom: solid;
  }
  

 
}

.services-slider-card a{
  text-transform: uppercase;
}

@media screen and (max-width: 980px) {
    .et_pb_dp_dmb_module_1625 .stepper-content {
        width: 100vw;
        margin-left: 50%;
        transform: translateX(-50%);
    }
}
@media screen and (max-width: 740px) {
    .et_pb_dp_dmb_module_1625 .stepper {
        flex-direction: column;
        align-items: center;
        width: max-content;
    }

    .et_pb_dp_dmb_module_1625 .stepper-content {
        padding: 0;
        margin-top: 0px;
        margin-bottom: 2em;
    }
    
    .et_pb_dp_dmb_module_1625 .services_slider_content {
        margin-bottom: 1em;
    }
    
    .et_pb_dp_dmb_module_1625 .stepper > .step::before {
        height: 100%;
        width: 2px;
    }
    
    .et_pb_dp_dmb_module_1625 .stepper > .step > .step-label {
        margin: 0;
        position: absolute;
        transform: translate(-50%);
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .et_pb_dp_dmb_module_1625 .stepper > .step {
        flex-flow: row;
        align-items: center;
        padding: 12px 0;
    }
    
    .et_pb_dp_dmb_module_1625 .stepper > .step > .step-description {
        margin-left: 20px;
        margin-top: 0;
        text-align: left;
    }
    
    .et_pb_dp_dmb_module_1625 .stepper > .step.on > .step-description {font-size: var(--fs-18);}
    
    .et_pb_dp_dmb_module_1625 .stepper-content .stepper-end {
        margin-top: 24px;
        padding: 0;
        transform: translate(-4px, -8px);
    }
    
    .et_pb_dp_dmb_module_1625 .stepper-content .stepper-end--first {
        margin-bottom: 0px;
        margin-top: 0px;
    }
    
    .et_pb_dp_dmb_module_1625 .stepper > .step:last-of-type::before {
        height: 0px;
    }
    .et_pb_dp_dmb_module_1625 .stepper > .step:last-of-type a {
        min-width: 6.3em;
    }
    
    .et_pb_dp_dmb_module_1625 .stepper > .step:first-of-type::before {
        height: 70%;
        top: calc(1.1rem + 30%);
    }
    
    .et_pb_dp_dmb_module_1625 .stepper > .step.on > .step-label {
        width: 1.8rem;
        height: 1.8rem;
    }

}

/* 
@media screen and (max-width: 781.99px) {
  .stepper h5{
	font-size: 10px;
  }
  
  .stepper > .step > .step-description {
	margin-top: 0.5rem;
	font-size: 12px;
	line-height: 1.2;
  }
  
  .stepper > .step.on > .step-description {
	font-size: 16px;
	letter-spacing: 3px;
	line-height: 1;
	border-bottom: solid;
  }
  
  
} */