/*****************------------ bouton handle ----------------*******************/

/* Increase the height of Select2 to match custom form-control height */
.select2-container--default .select2-selection--single {
    height: 3.5rem;
    /* Adjust this value for more or less height */
    border: 1px solid #ced4da;
    border-radius: 0.75rem;
    padding: 0.375rem 0.75rem;
}

/* Center the text vertically within the Select2 */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 3rem;
    /* Match this to the height above */
}

/* Adjust the dropdown arrow position */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 10px;
}


.btn-toggle {
    background-color: #ccc;
    border: 1px solid #bbb;
    width: 50px;
    height: 25px;
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-toggle.active {
    background-color: #13483e;
}

.btn-toggle .handle {
    background-color: #fff;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    position: absolute;
    top: 1px;
    left: 1px;
    transition: left 0.3s;
}

.btn-toggle.active .handle {
    left: 26px;
}


/********************------------ end bouton handle -------------******************************/

/********************************-ROWMoble*******************************/


/* Media query pour masquer la classe rowWeb en dessous de 600px (mode mobile) */
@media only screen and (max-width: 600px) {
    .rowWeb {
        display: none;
    }
}

@media only screen and (min-width: 600px) {
    .rowMobile {
        display: none;
        visibility: visible;
        animation-delay: 300ms;
        animation-name: fadeInUp;
    }
}

@media only screen and (max-width: 600px) {
    .rowBookWeb {
        display: none;
    }
}

@media only screen and (min-width: 600px) {
    .rowBookMobile {
        display: none;
        margin-right: -110px !important;
    }
}

@media only screen and (max-width: 600px) {
    .modeWeb {
        display: none;
    }
}

@media only screen and (min-width: 600px) {
    .modeMobile {
        display: none;
    }
}


/* Paginations Styles */
.mbp_pagination ul {
    margin: 0;
    padding: 0;
}

.mbp_pagination .page_navigation {
    margin-bottom: 0;
    text-align: center;
    width: 100%;
    direction: rtl;
}

.mbp_pagination .page-item {
    border-radius: 50%;
    display: inline-block;
    margin-left: 6px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.mbp_pagination .page-item:hover {
    background-color: #EDEDED;
}

.mbp_pagination .page-item:first-child,
.mbp_pagination .page-item:last-child {
    background-color: #ffffff;
    -webkit-box-shadow: 0px 1px 4px rgba(24, 26, 32, 0.07);
    -moz-box-shadow: 0px 1px 4px rgba(24, 26, 32, 0.07);
    -o-box-shadow: 0px 1px 4px rgba(24, 26, 32, 0.07);
    box-shadow: 0px 1px 4px rgba(24, 26, 32, 0.07);
}

.mbp_pagination .page-item.active .page-link {
    background-color: #376B5E;
    color: #ffffff;
}

.mbp_pagination .page-link {
    background-color: transparent;
    border: none;
    border-radius: 50%;
    color: var(--headings-color);
    font-family: 'Droid Arabic Kufi', serif !important;
    font-weight: 400;
    font-size: 15px;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    padding: 0;
    text-align: center;
    width: 40px;
}


@media only screen and (max-width: 600px) {
    .menuSearch {
        text-align: center;
        margin-top: -90px;
        margin-left: 30px
    }
}

@media only screen and (min-width: 600px) {
    .menuSearch {
        text-align: center;
        margin-top: -11px;
    }
}



/******************************* les 5 services ***************************/


.col-lg-2.col-sm-2 .box_main1 {
    background: linear-gradient(to right, #0c5a4b, #13463d);
    /* Dégradé de base */
    padding: 10px;
    box-shadow: 0px 0 10px 0px #7c7c7c;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transition: background 0.3s ease;
    /* Transition pour un effet fluide */
}

.col-lg-2.col-sm-2 .box_main1:hover {
    background: linear-gradient(to right, rgb(15, 86, 74), #0e3a31);
    /* Dégradé plus foncé */
}

.col-lg-2.col-sm-2 .btn_main {
    background-color: #eeeee6;
    padding: 10px;
    box-shadow: 0px 0 10px 0px #7c7c7c;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    transition: background 0.3s ease;
    /* Transition pour un effet fluide */
}

.col-lg-2.col-sm-2 .btn_main:hover {
    background-color: #d6d6cd;
    /* Couleur légèrement plus foncée pour btn_main */
}

.col-lg-2.col-sm-2 .row {
    width: 80%;
    /* Réduit la largeur des rows à 80% du conteneur parent */
    margin: auto;
    /* Centre les rows horizontalement */
}

/******************************* end les 5 services ***************************/