/* @import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap'); */

@font-face {
    font-family: 'Roboto Slab';
    src: url("fonts/Roboto_Slab/RobotoSlab-VariableFont_wght-IIKL9_-.ttf") format('ttf');
}

@font-face {
    font-family: 'Rufina';
    src: url("fonts/Rufina/Rufina-Bold-fDDIiRn.ttf") format('ttf'),
        url("fonts/Rufina/Rufina-Regular-V5fqWDU.ttf") format('ttf');
}

.body {
    background: linear-gradient(to right, var(--bch-white), var(--bch-grey));
    /* Dégradé de fond avec les couleurs du logo */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login-container {
    background-color: var(--bch-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 720px;
    margin: auto;
}

.box-bg-color-primary {
    background-color: #2f0f55;
}

.parallax {
    /* The image used */
    /* background-image: url("img_parallax.jpg"); */

    /* Set a specific height */
    min-height: 400px;
    background-color: rgba(55, 15, 90, 0.508);

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: darken;
}

.form-control:focus,
.form-select:focus {
    border-color: #2f0f55;
    box-shadow: 0px 1px 1px rgba(52, 10, 111, 0.022) inset, 0px 0px 8px rgba(47, 15, 85, 0.5);
}

.carousel-img {
    width: 100%;
    height: 655px;
    /* Default height for desktop */
    object-fit: cover;
}

/* Tablet view */
@media (max-width: 1024px) {
    .carousel-img {
        height: 580px;
    }
}

/* Mobile view */
@media (max-width: 768px) {
    .carousel-img {
        height: 280px;
    }
}

label.required:after {
    content: " *";
    color: rgb(170, 0, 0);
}

p,
ul>li {
    font-family: 'Roboto slab', sans-serif;
    font-size: 17px;
    color: rgb(86, 86, 86);
}

ul {
    list-style-type: square;
    list-style-position: outside;
}

h1,
h2,
h3,
h4,
h5,
.item-title {
    font-family: 'Roboto Slab', serif;
    font-weight: bolder;
}

.item-title {
    color: #2f0f55;
}

.item-title:hover {
    font-family: 'Roboto Slab', serif;
    color: #b80924;

}

.text-color-2 {
    color: #2f0f55;
}

/*header debut part*/
.header-color {
    background-color: #F6E9BD;
}

.btn-color {
    background-color: #b80924;
    color: #FFF;
}


.header-link {
    color: #0e0e0e;
}

.header-link:hover {
    background-color: #2f0f55;
    color: #fff;
    box-shadow: #0e0e0e 2px 3px;
    font-weight: 300;

}

.color-text {
    color: #b80924;
}

.text-color-2 {
    color: #2f0f55;
}

a.nav-link {
    font-weight: bold;
}

a.nav-link:hover,
.section-active {
    background-color: #fff;
    color: #2f0f55 !important;
    font-weight: bold;
}

/*header end part*/

/* footer debut part*/
.footer-link {
    color: rgb(134, 134, 134);
}

.contact-link {
    color: #1a1e21;
}

.footer-link:hover,
.contact-link:hover {
    color: #b80924;
    font-weight: 600;
}

.text-subline {
    position: relative;
    height: 1px;
    padding: 0;
    background: #e5e5e5;
    border: 50px;
}

.content-devider {
    padding-right: initial;
    padding-left: initial;
    font-size: 0;
    text-align: center;
    position: relative;
}

.content-devider-line {
    margin: auto;
    opacity: 100%;
    border-top-width: 4px;
    border-top-style: solid;
    border-top-color: #0d2d62;
}

.text-subline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: #2f0f55;
    width: 50px;
}

.card:hover {
    background-color: #e5e5e518;
}

/* Dark tint overlaid on page-heading banners (background-image set inline per page) */
.hero-overlay {
    background-color: rgba(0, 0, 0, 0.608);
}

.specifical-bg-1 {
    background-color: #b80924;
}

.specifical-bg-1:hover {
    background-color: #2f0f55;
}

.specifical-bg-2 {
    background-color: #F6E9BD;
}

.specifical-bg-3-testimonial {
    background-color: #2f0f55;
}

.specifical-bg-3 {
    background-color: #2f0f55;
}

.specifical-bg-3:hover {
    background-color: #b80924;
}

/*  news page*/

.hover-article a img {
    opacity: 1;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.hover-article a:hover img {
    opacity: .5;
}

.tab-pane-content h2 {
    color: #2f0f55;
}

#myTab li.active {
    border: none;
    color: #dcdcdc;
    background-color: #2f0f55;
}

.btn-tertiary {
    background-color: #b80924;
    color: #FFF;
}

.btn-tertiary:hover {
    background-color: #2f0f55;
    border-color: #b80924;
    color: #FFF;
}

button.accordion-button {
    background-color: #ffffff;
    color: #2f0f55;
    font-size: large;
    font-weight: bold;
}


button.accordion-button:focus,
#myTab li a:hover {
    color: #2f0f55;
    background-color: #ffffff;
}

button.ue-accordion.accordion-button::after {
    flex-shrink: 0;
    margin-left: 0;
}

/* pagination */
.page-item.active .page-link {
    color: #FFF;
    background: #2f0f55;
    border-color: #2f0f55;
}

.page-item .page-link {
    color: #404040;
}

/* pagination */

/* Swiper js */
.swiper {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}


.swiper-slide {
    text-align: center;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    object-fit: cover;
}

:root {
    --primary-color: #2f0f55;
}

/* Progressbar */
.progressbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    counter-reset: step;
    margin: 2rem 0 4rem;
}

.progressbar::before,
.progress {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background-color: #dcdcdc;
    z-index: -1;
}

.progress {
    background-color: var(--primary-color);
    width: 0%;
    transition: 0.3s;
}

.progress-step {
    width: 2.1875rem;
    height: 2.1875rem;
    background-color: #dcdcdc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-step::before {
    counter-increment: step;
    content: counter(step);
}

.progress-step::after {
    content: attr(data-title);
    position: absolute;
    top: calc(100% + 0.5rem);
    font-size: 0.85rem;
    color: #666;
}

.progress-step-active {
    background-color: var(--primary-color);
    color: #f3f3f3;
}

/* Form */

.form-step {
    display: none;
    transform-origin: top;
    animation: animate 0.5s;
}

.form-step-active {
    display: block;
}

.inputs-group {
    margin: 2rem 0;
}

.dropdown-large {
    padding: .5rem;
}

.carousel-caption {
    max-width: 700px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.carousel-box {
    background-color: rgba(0, 0, 0, 0.526);
}

@media only screen and (max-width: 768px) {
    .swiper-slider-item {
        display: flex;
        flex-direction: column;
    }

    .carousel-caption {
        position: static;
        width: 100%;
        transform: none;
        border-bottom: #0e0e0e .4px solid;

    }

}

@media only screen and (max-width: 600px) {
    div.xs {
        width: 50%;
    }
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {
    .dropdown-menu li {
        position: relative;
    }

    .nav-item .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .nav-item .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu>li:hover {
        background-color: #f1f1f1
    }

    .dropdown-menu>li:hover>.submenu {
        display: block;
    }
}

/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
@media (max-width: 991px) {
    .dropdown-menu .dropdown-menu {
        margin-left: 0.7rem;
        margin-right: 0.7rem;
        margin-bottom: .5rem;
    }
}

/* ============ small devices .end// ============ */


/* ============ ckeditor youtube videos// ============ */
figure.media {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

figure.media>iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}