/* STEP Carousel */
.step-carousel-wrapper {
    background-color: #2B3A56;
    color: #fff;
}

.step-carousel-wrapper h2,
.step-carousel-wrapper p {
    color: #fff;
}
.step-carousel-inner {
    padding: 80px 120px 80px 90px;
}
.step-carousel .owl-carousel .owl-item {
    color: white;
    text-align: left;
    padding: 50px 30px 0;
}

.step-carousel .owl-carousel .owl-prev {
    float: left;
    font-size: 20px;
    text-transform: uppercase;
    padding: 20px;
}
.step-carousel .owl-carousel .owl-next {
    float: right;
    font-size: 20px;
    text-transform: uppercase;
    padding: 20px;
}
.step-carousel .owl-carousel .owl-dots {
    counter-reset: slides-num; /* Initialize counter. */
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: 15px;
}
.step-carousel .owl-carousel .owl-dots:after {
    content: counter(slides-num); /* get total number of items - more info on http://www.sitepoint.com/a-little-known-way-to-replace-some-scripts-with-css-counters/ */
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    vertical-align: middle;
    padding-left: 5px;
}
.step-carousel .owl-carousel .owl-dots .owl-dot {
    display: inline-block;
    counter-increment: slides-num; /* Increment counter */
    margin-right: 5px;
}
.step-carousel .owl-carousel .owl-dots .owl-dot span,
.diploma-carousel .owl-carousel .owl-dots .owl-dot span{
    display: none;
}

.step-carousel .owl-carousel .owl-nav {
    width: 180px;
    margin-left: 30px;
}

.diploma-carousel .owl-carousel .owl-nav {
    position: absolute;
    top: 420px;
    width: 140px;
    margin-left: 30px;
    display: flex;
    left: 50%;
    justify-content: space-between;
}

.step-carousel .owl-carousel .owl-nav button.owl-prev span,
.step-carousel .owl-carousel .owl-nav button.owl-next span,
.diploma-carousel .owl-carousel .owl-nav button.owl-prev span,
.diploma-carousel .owl-carousel .owl-nav button.owl-next span,
.difference-carousel .owl-carousel .owl-nav button.owl-prev span,
.difference-carousel .owl-carousel .owl-nav button.owl-next span {
    display: none;
}

.step-carousel .owl-carousel .owl-nav button.owl-prev,
.step-carousel .owl-carousel .owl-nav button.owl-next,
.diploma-carousel .owl-carousel .owl-nav button.owl-prev,
.diploma-carousel .owl-carousel .owl-nav button.owl-next,
.difference-carousel .owl-carousel .owl-nav button.owl-prev,
.difference-carousel .owl-carousel .owl-nav button.owl-next {
    background-repeat: no-repeat;
    height: 20px;
    width: 30px;
    outline: none;
}

.step-carousel .owl-carousel .owl-nav button.owl-prev,
.diploma-carousel .owl-carousel .owl-nav button.owl-prev,
.difference-carousel .owl-carousel .owl-nav button.owl-prev {
    background-image: url("custom/owl-nav/arrow.svg");
    transform: rotate(180deg);
    background-position: right center;
}

.step-carousel .owl-carousel .owl-nav button.owl-prev.disabled,
.diploma-carousel .owl-carousel .owl-nav button.owl-prev.disabled,
.difference-carousel .owl-carousel .owl-nav button.owl-prev.disabled {
    opacity: 0.4;
    cursor: default;
}

.step-carousel .owl-carousel .owl-nav button.owl-next,
.diploma-carousel .owl-carousel .owl-nav button.owl-next,
.difference-carousel .owl-carousel .owl-nav button.owl-next{
    background-image: url("custom/owl-nav/arrow.svg");
    background-position: right center;
}
.difference-carousel .owl-carousel .owl-nav button.owl-next,
.difference-carousel .owl-carousel .owl-nav button.owl-prev {
    background-image: url("custom/owl-nav/arrow-dark.svg");
}
.step-diploma {
    z-index: 11;
}

.slider-steps-counter,
.step-diploma-counter,
.step-difference-counter {
    width: 100px;
    text-align: center;
    display: flex;
    font-size: 17px;
    line-height: 21px;
    letter-spacing: 0.2px;
    align-items: center;
    justify-content: center;
}
.step-difference-counter {
    margin: -20px auto 0;
}
.step-diploma-counter {
    position: absolute;
    top: 420px;
    left: calc(50% + 20px);
    z-index: 1;
    color: #fff;
    width: 160px;
}

.step-carousel .btn {
    margin-top: 50px;
}

.step-carousel-wrapper > .row {
    display: flex;
}

.step-carousel-wrapper > .row [class^="col-md-"] {
    height: 100%;
}

/* Diploma carousel */
.diploma-carousel-wrapper {
    position: relative;
}

.diploma-carousel-wrapper:after {
    position: absolute;
    content: '';
    left: 0;
    top: 240px;
    background: #2B3A56;
    height: 245px;
    width: 100%;
}
.diploma-carousel--img {
    max-width: 422px;
    width: 100%;
    margin: 20px auto;
}
.diploma-carousel-info {
    color: #fff;
    position: absolute;
    top: 275px;
}
.diploma-carousel-info p{
    color: inherit;
}
.diploma-carousel-info--title {
    font-weight: 300;
    font-size: 30px;
    line-height: 36px;
    color: #FFFFFF;
}

/* Certificates */
.certificat-carousel--item {
    max-width: 360px;
    margin: 20px auto;
}
.certificat-carousel .owl-carousel .owl-dots,
.difference-carousel .owl-carousel .owl-dots{
    text-align: center;
}
.certificat-carousel .owl-carousel .owl-nav button.owl-next,
.certificat-carousel .owl-carousel .owl-nav button.owl-prev,
.certificat-carousel .owl-carousel button.owl-dot,
.difference-carousel .owl-carousel .owl-nav button.owl-next,
.difference-carousel .owl-carousel .owl-nav button.owl-prev,
.difference-carousel .owl-carousel button.owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 100%;
}
.certificat-carousel .owl-carousel button.owl-dot,
.difference-carousel .owl-carousel button.owl-dot {
    background-color: #999999;
    margin: 5px;
}
.certificat-carousel .owl-carousel button.active,
.difference-carousel .owl-carousel button.active {
    background: #F7623C;
}

@media (max-width: 991px) {
    .step-carousel-inner {
        padding: 20px 30px;
    }

    .step-carousel .owl-carousel .owl-item {
        padding: 15px;
    }

    .step-carousel .btn {
        margin-top: 20px;
    }

    .diploma-carousel {
        padding: 20px;
    }

    .diploma-carousel h2,
    .diploma-carousel .h2 {
        color: #fff;
    }
    .diploma-carousel-info {
        position: unset;
    }
    .diploma-carousel-info--title {
        font-size: 24px;
    }
    .diploma-carousel-wrapper:after {
        left: 0;
        top: 0;
        height: 100%;
    }
    .diploma-carousel .owl-carousel .owl-nav,
    .step-diploma-counter {
        position: unset;
        width: 100%;
        margin-left: 0;
    }

    .step-diploma-counter {
        position: relative;
        width: 100%;
        top: -20px;
        left: 0;
        font-size: 20px;
    }

    .difference-carousel .owl-carousel .owl-stage-outer {
        height: auto !important;
    }

}
