.steps {
    position: relative;
    z-index: 1;
}

.steps.bg-white {
    background-color: var(--white);
}

.steps.bg-light-blue {
    background: linear-gradient(to bottom,  rgba(220,246,249,1) 0%,rgba(204,242,245,1) 100%);
}

.steps.bg-dark-blue {
    background: var(--primary-color);
    color: var(--white);
}

.steps.bg-dark-blue *:not(a) {
    color: var(--white);
}

.steps.bg-white svg path {
    fill: var(--primary-color);
    opacity: 0.02;
}

.steps.bg-dark-blue .wpcf7 *:not(h4, i) {
    color: initial;
}

.steps.bg-dark-blue .step-list li::before,
.steps.bg-dark-blue .step-list li.active {
    color: var(--white);
}

.steps.bg-dark-blue .wpcf7-form button {
    background: var(--white) !important;
    color: var(--tertiary-color) !important;
}

.steps.bg-dark-blue .wpcf7-form button:hover {
    opacity: 1 !important;
    color: var(--secondary-color-hover-2) !important;
    transition: all 0.3s ease 0s !important;
}

.steps__heading p {
    font-size: 14px;
    line-height: 1.285em;
    padding-bottom: 15px;
}

.steps__heading p span,
.steps__heading strong {
    font-weight: 700;
    color: var(--primary-color);
}

.steps__heading p:last-child {
    padding-bottom: 0;
}

.step-list {
    margin: 20px 0 0 0;
    padding: 22px 0 0 0;
}

.step-list ol {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 15px;
    background: linear-gradient(to right,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 20%,rgba(220,247,249,1) 100%);
    overflow: unset;
    width: 100%;
}

.step-list ol li {
   font-weight: 600; 
}

.step-list ol li::before {
    font-weight: 400;
    top: -22px;
    width: 100%;
    text-align: center;
    color: var(--primary-color);
}

.step-list ol li::after {
    content: '';
    position: absolute;
    top: -17px;
    width: calc(100% - 30px);
    height: 2px;
    background: var(--light-gray);
    left: calc(50% + 15px);
}

.step-list ol li:last-child::after {
    display: none;
}

.step-item {
    margin-top: 20px;
}

.step h4 {
    display: flex;
    align-items: center;
    padding-bottom: 8px;
    gap: 8px;
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
}

.step h4 i {
    font-size: 21px;
    line-height: 1em;
    font-weight: normal;
}

.step-apply {
    background: var(--white);
    position: relative;
    border-radius: 8px;
}

.step-apply::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 61px;
    border-radius: 8px;
    /* background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); */
}

.step-sub {
    padding: 15px 15px 13px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
}

.step .choices[data-type*='select-one'] .choices__inner {
    text-align: left;
    padding-top: 12px;
    padding-bottom: 12px !important;
    font-weight: 600;
}

.choices__placeholder {
    font-weight: 600;
}

.wpcf7-checkbox.services {
    margin: 0;
    padding: 0;
    height: 199px;
	overflow-y: scroll;
}


.wpcf7-checkbox.services::-webkit-scrollbar-track {
	background-color: var(--primary-color);
    /* box-shadow: inset 0 0 3px rgba(0,0,0,.2); */
	border-radius: 8px;
    width: 5px;
}

.wpcf7-checkbox.services::-webkit-scrollbar{
	width: 12px;
	background-color: var(--light-gray);
    padding: 2px;
}

.wpcf7-checkbox.services::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color:var(--light-gray);
    border: 2px solid var(--primary-color);
}

.step-apply .wpcf7-list-item  {
    margin: 0;
    padding: 12px 15px;
    display: block;
}

.step-apply .wpcf7-list-item:nth-child(2n) {
    background: var(--light-gray);
}

.step-apply .wpcf7-list-item::before {
    display: none;
}

.step-box {
    display: block;
    position: relative;
    padding-left: 27px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 12px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-weight: 700;
    line-height: 1.333em;
}
  
.step-box input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 17px;
    width: 17px;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 2px;
}
  
.step-box:hover input ~ .checkmark {
    background-color:  var(--tertiary-color);
    border-color:  var(--tertiary-color);
}
  
.step-box input:checked ~ .checkmark {
    background-color:  var(--tertiary-color);
    border-color: var(--tertiary-color);
}
  
.checkmark:after {
    content: "\e901";
    position: absolute;
    display: none;
    font-family: 'principium-psychiatry';
    color: var(--white);
    font-size: 9px;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2px;
}
  
.step-box input:checked ~ .checkmark:after {
    opacity: 1;
}
  
.step-box .checkmark:after {
    opacity: 0;
}

.steps__right-bg {
    width: 1016px;
    max-width: initial;
    position: absolute;
    top: 605px;
    right: -629px;
    z-index: -1;
}

.steps__left-bg {
    width: 1338px;
    max-width: initial;
    position: absolute;
    top: 192px;
    left: -674px;
    z-index: -1;
}

.wpcf7-checkbox .wpcf7-list-item-label::before {
    position: absolute;
    top: 0;
    left: 0;
    height: 17px;
    width: 17px;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 2px;
}

.wpcf7-checkbox .wpcf7-list-item-label::after {
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 2px;
    content: "";
    color: var(--white);
    opacity: 0;
    font-family: 'principium-psychiatry';
    font-weight: normal;
    font-size: 9px;
    position: absolute;
    top: 0px;
    left: 0;
    height: 17px;
    width: 17px;
    padding-left: 2px;
    transition: all 0.17s ease 0s;
}

.wpcf7-checkbox label {
    position: relative;
    display: block;
    position: relative;
    padding-left: 27px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 12px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-weight: 700;
    line-height: 1.333em;
}

.wpcf7-checkbox label input[type="checkbox"] {
    position: absolute;
    left: 0;
    z-index: 9;
    width: 17px;
    height: 17px;
    opacity: 0;
    cursor: pointer;
}

.wpcf7-checkbox label input[type="checkbox"]:checked ~ span::after {
    background-color: var(--tertiary-color);
    border-color: var(--tertiary-color);
    opacity: 1;
}

.bg-light-blue input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]), .bg-light-blue textarea {
    border-color: transparent;
}

@media (min-width: 768px) {
    .step-list {
        margin: 30px 0 0 0;
        padding: 28px 0 0 0;
    }

    .step-list ol {
        background: none;
        margin: 0 -10px;
    }

    .step-list ol li::after {
        width: calc(100% - 40px);
        left: calc(50% + 20px);
    }

    .step-list ol li {
        background: var(--white);
        border-radius: 15px;
        width: calc(20% - 20px);
        margin: 0 10px;
    }

    .step-list ol li:nth-child(2) {
        background: linear-gradient(to bottom,  #ffffff 0%,#f7fdfd 100%);
    }

    .step-list ol li:nth-child(3) {
        background: linear-gradient(to bottom,  #F7FDFD 0%,#EEFBFC 100%);
    }

    .step-list ol li:nth-child(4) {
        background: linear-gradient(to bottom,  #EEFBFC 0%,#E5F9FB 100%);
    }

    .step-list ol li:nth-child(5) {
        background: linear-gradient(to bottom,  #E4F9FA 0%,var(--light-blue) 100%);
    }

    .step-item {
        margin-top: 30px;
    }

    .step h4 {
        font-size: 14px;
        padding-bottom: 12px;
    }

    .step h4 i {
        font-size: 22px;
    }

    .steps__right-bg {
        top: 441px;
        right: -853px;
    }

}

@media (min-width: 1200px) {
    .steps__right-bg {
        top: 484px;
        right: -277px;
    }

    .steps__left-bg {
        top: 211px;
        left: -99px;
    }

    .steps__heading {
        max-width: 832px;
        margin: 0 auto;
    }

    .step-list {
        margin: 30px 0 0 0;
        padding: 34px 0 0 0;
    }

    .step-list {
        width: 1048px;
        margin-left: auto;
        margin-right: auto;
    }

    .step-list ol li::before {
        top: -22px;
        font-size: 18px;
        top: -34px;
    }

    .step-list ol li::after {
        width: calc(100% - 92px);
        left: calc(50% + 46px);
        top: -30px;
    }

    .step-list ol li {
        font-size: 14px;
        height: 42px;
        border-radius: 8px;
    }

    .step-list ol li.active {
        border-radius: 8px;
    }

    .step h4 {
        font-size: 16px;
    }

    .step h4 i {
        font-size: 21px;
    }

    .step-sub {
        font-size: 14px;
        padding: 18px 20px 15px;
    }

    .step-apply  .wpcf7-list-item {
        padding: 14px 20px;
        font-size: 14px;
    }

    .wpcf7-checkbox.services {
        height: 240px;
        display: block;
    }

    .step-apply::after {
        display: none;
    }
    
}