body{
    font-family: "Montserrat", sans-serif;
    background-color: #F7F7F7;
}
.navbar.sticky{
    top:0!important;
    transition: background-color 2s ease !important;
}
.navbar {
    position :fixed!important;
    width:100%!important;

    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0;
    box-shadow: 0px 9px 19px -13px #e93f44;
    z-index: 99;
}
.navbar-nav .nav-link {
    color: #000;
    border-radius: 0;
    border-bottom: 5px solid transparent;
    padding: 2.5rem 1.2rem;
    font-weight: bold;
    transition: 0.5s;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    border-bottom-color: #000;
    border-bottom-width: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: var(--edg_primary);
}

.navbar-nav li{
    margin-left: 1rem;
}

.navbar container {
    position: relative;
}

.navbar .navbar-brand{
    /*position: absolute;*/
}
/* Dropdown Button */
.dropbtn {
    background-color: #04AA6D;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    top: 110px;
    /*background-color: #f1f1f1;*/
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(5px);
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    transition-property: display;
    transition-duration: 0.5s;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    border-bottom-color: #000;
    border-bottom-width: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: var(--edg_primary);
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #3e8e41;}

@media (max-width: 768px){
    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        min-width: 90vw;
    }
}
/*----------------- bouton --------------------*/
.btn_edg {
    background: #FBC312;

    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    border: 0;
    color: #000000;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
}
.btn_edg:hover {
    background-image: -webkit-linear-gradient(top, #FBC312, #CF7C0F);
    background-image: -moz-linear-gradient(top, #FBC312, #CF7C0F);
    background-image: -ms-linear-gradient(top, #FBC312, #CF7C0F);
    background-image: -o-linear-gradient(top, #FBC312, #CF7C0F);
    background-image: linear-gradient(to bottom, #FBC312, #CF7C0F);
    color: #000000;
    text-decoration: none;
}
/*----------------- color --------------------*/


.text-primary {
    color: var(--edg_primary)!important;
}
.text-secondary{
    color: var(--edg_secondary)!important;
}
/*----------------- landing page --------------------*/
/*section{*/
/*    overflow: hidden;*/
/*}*/
.landing-page{
    background-color: white;
}
.landing-page img, section .img-cover{
    height: 100vh;
}
.img-desktop2{
    position : absolute;
    z-index: -1;
}
.text-wrapper-bienvenue{
    position: absolute;
    z-index: 1;
    top: 40%;
    left: 10%;
    align-items: center;
}
.text-bienvenue{
    font-size: 4.5rem;
}
.text-partenaire{
    background: #FBC312;
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    border: 0;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 20px 10px 20px;
}
.text-chez{

}
@media (max-width: 992px) {
    .landing-page .img-desktop{
        /*height: 65vh;*/
        position: relative;
        z-index: -1;
    }
    .text-bienvenue{
        font-size: 2rem;
    }
}
@media (max-width: 840px) {
    .navbar-nav li{
        margin-left: 0rem;
    }
}
@media (min-width: 992px) {
    .text-chez{
        align-self: center;
    }
    .text-bienvenue{
        align-self: end;
    }
}
@media (max-width: 768px) {
    .navbar-toggler{
        background: var(--edg_primary);
    }
    .navbar-nav li{
        margin-left: 0;
    }
    .text-chez{
        align-self: start;
    }
    .text-bienvenue{
        align-self: start;
    }
    .navbar-nav .nav-link {
        padding: 1.2rem 1.2rem;
    }
    .navbar-expand-md > .container-lg {
       padding-right: 5px;
        padding-left: 5px;
    }
}
@media (max-width: 400px) {
    .text-partenaire{
        font-size: 12px;
    }
}
/*----------------- a propos --------------------*/
.text-wrapper-apropos, .text-wrapper-compte_courant,.text-wrapper-devenir_client{
    position: absolute;
    top: 17%;
    right: 0%;
    z-index: 1;

}
.text-wrapper-reseau{
    position: absolute;
    top: 17%;
    left: 0%;
    z-index: 1;

}
.a-propos-innerwrapper, .compte_courant-innerwrapper{
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(5px);
}
.text-apropos, .text-compte_courant, .text-devenir_client, .text-reseau{
    text-align: center;
    font-weight: bold;
    padding: 0.5rem;
    border-radius: 50px;
    background: var(--edg_primary);
}
.apropos-p{
    max-width: 700px;
    text-align: left;

}

@media (min-height: 1000px) {
    .dropdown-content {
        top: 100%;
    }

}


/*@media only screen and (max-width: 400px) and (max-height: 900px) {*/
/*    .text-wrapper-reseau{*/
/*        top: 560px;*/
/*    }*/
/*}*/
@media (max-width: 800px) {
    .apropos-p{
        max-width: 600px;
    }
}@media (max-width: 992px) {
    .text-wrapper-apropos{
        position: relative;
        margin-top: 200px;

    }
    .text-wrapper-reseau{
        position: relative;

    }
}
.text-devenir_client{
    margin-top: 60px
}
@media (max-width: 600px) {
    .text-devenir_client{
        margin-top:30px!important;
    }
}


/*------------------ compte courant -------------*/
.section-compte_courant{
    /*overflow-x: hidden ;*/
}
.img-morale{
    width: 400px;
    margin-left: 100px;
}
.img-piece{
    margin-left: 100px;
}



@media (max-width: 768px) {
    .img-piece, .img-morale, .img-credit{
        margin: 0;
        width: 400px;
    }

}
@media (max-width: 500px) {
     .img-morale. ,.img-credit{
        margin: 0;
        width: 300px;
    }
    .img-piece{
        width: 200px;
    }

}
/*---------------------- tabs -------------------*/

.nav-tabs .nav-link.active{
    background: var(--edg_primary);
    font-weight: bold;
    color: black;
}

.nav-tabs .nav-link{
    color: black;
    font-weight: bold;
}
.nav-tabs .nav-link:not(.active):hover{
    color: var(--edg_secondary) !important;
    background-color: #282727;
}

.nav-tabs {
    border-bottom: 1px solid black!important;
}
.nav-tabs .nav-item
{
    border: 1px solid black;
    border-radius: 5px;
}

.tab-pane{
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(5px);
}
.tab-content p{
    margin-bottom: 0!important;
}

/*-------------------- footer---------------*/
.glide__bullet{
    background-color: var(--edg_secondary)!important;
}
.glide__bullet--active{
    background-color: var(--edg_primary)!important;
}
footer{
    /*background: #EF6B70;*/
    background: #f8c159!important;
    position: relative;
    /*top: 100px;*/
    /*backdrop-filter: blur(5px);*/
}

footer .nav-link{
    font-size: small;
    padding: 0.2rem!important;
    color: black;
    cursor: pointer;
}

footer .nav-link:hover{
   color: var(--edg_secondary);
}

/*--------------devenir client ----------------------*/

.section-devenir_client .type_client{
    padding: 1rem 1.5rem;
    background-color: white;
    color: var(--edg_secondary);
    border: 3px solid var(--edg_secondary);
    border-radius: 15px;
    font-weight: bold;
    transition: 0.5s;
    cursor: pointer;
}
.type_client:hover{
    transform: scale(1.5);
}

.flip-card{
     min-height: 500px;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
}
.flip-card-inner {
    position: relative;
    width: 100%;
    /*text-align: center;*/
    transition: transform 0.8s;
    transform-style: preserve-3d;

}

/* Do an horizontal flip when you move the mouse over the flip box container */
/*.flip-card:hover .flip-card-inner {*/
/*    transform: rotateY(180deg);*/
/*}*/
.flip-card-inner.rotate {
    transform: rotateY(180deg);
}
/* Position the front and back side */
.flip-card-back {
    height: 530px;
}
.flip-card-front{
    height: 400px;
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    border-radius: 25px;

    background: var(--edg_primary);
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}
/* Style the back side */
.flip-card-back {
    transform: rotateY(180deg);
}

@media (max-width: 768px){
    .flip-card{
        min-height: 400px;
    }
    .flip-card-inner {
        height: 400px;
    }
    .flip-card-back{
        min-height: 800px;
        background: var(--edg_primary);
        border-radius: 25px;
    }
}

/*---------------avatar upload------------------*/

.profile-user-img {
    width: 125px;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
}

.avatar-upload {
    position: relative;
    max-width: 205px;
    margin: auto;
    margin-bottom: 20px;
}
.avatar-upload .avatar-edit {
    position: absolute;
    right: 70px;
    z-index: 1;
    top: 90px;
}
.avatar-upload .avatar-edit input {
    display: none;
}
.avatar-upload .avatar-edit input + label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    border-radius: 100%;
    background: #FFFFFF;
    border: 1px solid #d2d6de;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
}
.avatar-upload .avatar-edit input + label:hover {
    background: #f1f1f1;
    border-color: #d6d6d6;
}
.avatar-upload .avatar-edit input + label:after {
    content: "\01F4F7";
    color: #337AB7;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    line-height: 34px;
    margin: auto;
}
.icon_back{
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 3px;
}
.icon_back:hover{
    transform: scale(1.2);
}
@media (max-width: 768px){
    .avatar-upload {
        max-width: 100px;
    }
}
/*-----------------contact---------------------*/

.contact-p{
    margin-left: -50px
}
@media (max-width: 768px){
    .contact-p{
        margin-left: 0px
    }

}
/*-----------------------article-------------*/

.container-article{
    margin-top: 140px;
}

.navbar-brand img{
    width: 100px;
}
@media (max-width: 768px){
    .navbar-brand img{
        width: 50px!important;
    }

}

.joindre{
    cursor: pointer;
    transition: 0.5s;
}
.joindre:hover{
    cursor: pointer;
    transform: scale(1.2);
    margin-left: 5px;
}
.rule_dat{
    position: relative;
}
.rule_dat:before{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    background-color: var(--edg_secondary);
    top: 7px;
    left: -20px;
    border-radius: 7px;
}
