.masthead{
    text-align: center!important;
}
.bg{
    position:absolute;
    z-index:5;
   margin-top: 40vh; /* poussé de la moitié de hauteur de viewport */
  transform: translateY(-50%); /* tiré de la moitié de sa propre hauteur */
    background-color: white;
    opacity:0.9;
    width: 100%;
    padding-bottom: 10px;

}
.slide{
    padding: 0 0 0 0;!important
}
.slidertitle{

    padding-top : 20px;
    color: #0e4194;
    opacity: 1;!important

}

.slidertext{
   position:fixed;
    z-index:10;
   margin-top: 50vh; /* poussé de la moitié de hauteur de viewport */
  transform: translateY(-50%); /* tiré de la moitié de sa propre hauteur */
    margin-left: 10%;
    font-weight: bolder;

}
.btn-primary-cta {
    color: #fff;
    background-color: #0e4194;
}
.slidercta{

    color: white;
    margin-top: 75vh; /* poussé de la moitié de hauteur de viewport */
    transform: translateY(-50%); /* tiré de la moitié de sa propre hauteur */
        z-index:auto;
    display: flex;
    justify-content: center; /*Permet de centrer dans l'axe principal*/

}

#slidercta-button{
    padding: 20px;
    margin:10px;
    }

#slidercta-button:hover{
    background-color: #fff;
    color: #0e4194;
     -webkit-transition: all .35s;
  transition: all .35s;
    }



#medecins{
    background-color: #0e4194;
}

#team .card {
    border: none;
    background: #ffffff;
    align-content: left;
}

.image-flip:hover .backside,
.image-flip.hover .backside {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    border-radius: .25rem;
}

.image-flip:hover .frontside,
.image-flip.hover .frontside {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.mainflip {
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -ms-transition: 1s;
    -moz-transition: 1s;
    -moz-transform: perspective(1000px);
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transition: 1s;
    transform-style: preserve-3d;
    position: relative;
}

.frontside {
    position: relative;
    -webkit-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    z-index: 2;
    margin-bottom: 30px;
}

.backside {
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    -moz-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
}

.frontside,
.backside {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transition: 1s;
    -moz-transform-style: preserve-3d;
    -o-transition: 1s;
    -o-transform-style: preserve-3d;
    -ms-transition: 1s;
    -ms-transform-style: preserve-3d;
    transition: 1s;
    transform-style: preserve-3d;
}

.frontside .card,
.backside .card {
    min-height: 312px;
}

.backside .card a {
    font-size: 12px;
    color: #fff !important;
}
.backside .card a:hover {
    font-size: 14px;
    color: #0e4194 !important;
}

.frontside .card .card-title,
.backside .card .card-title {
    color: #0e4194 !important;
}

.frontside .card .card-body img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}
.scrollup {
	width: 40px;
	height: 40px;
	position: fixed;
	bottom: 50px;
	right: 50px;
	display: none;
	color: #0F2F7A;
	border: 1px solid #0d6355;
	font-size: 20px;
	text-align: center;
	line-height: 37px;
    border-radius: 50%;
}

.scrollup:hover {
	background-color: #0e4194;
    color: #fff;
    border-color: #0e4194;
}

#medecins {

    background-color: #f4f8fb;
}
#centre {

    background-color: #f4f8fb;
}
.section_title{
    margin-top: -3%;
    padding-bottom: 7%;
}

.infos{
    font-size: 12px;
    text-align: left;
}
.info_box{
    margin-top: 50px;
}

#cta{
    background-color: #d59f09;
    border-radius: 10px;
    color: white;
    font-weight: bold;
}
#cta:hover{
    background-color: white;
    border-radius: 10px;
    border-color:#d59f09;
    color: #d59f09;
    font-weight: bold
}
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
#team {

}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0F2F7A;
    border-color: #0F2F7A;
    box-shadow: none;
    outline: none;
}

.btn-primary {
    color: #fff;
    background-color: #0F2F7A;
    border-color: #0F2F7A;
}
#booking-btn{
    background-color:#0e4194;
    color:#fff;
}
#booking-btn:hover{
    background-color:#d59f09;
    color:black;
}
.info_image{
    width:10%;
    height:10%;
}
.info_box_footer{
    color:#222222;
    font-size: 14px;
}
.info_title_footer{
    font-size: 24px;
    font-weight: 900;
}

.scrollup {
	width: 40px;
	height: 40px;
	position: fixed;
	bottom: 50px;
	right: 50px;
	display: none;
	color: #0F2F7A;
	border: 1px solid #0d6355;
	font-size: 20px;
	text-align: center;
	line-height: 37px;
    border-radius: 50%;
}
.infos-left{
        float: left;
    display:inline;
}
.infos-right{
    float: left;
    display:inline;
}

.button {
  margin: 10px;
    border: 2px solid #0e4194;
  color: #0e4194;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  border-radius: 300px;
    margin-top: 40px;
}
.button:hover{
  background-color: #0e4194;
  border: 2px solid #0e4194;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
}
.button a{
  color: #0e4194;

}
.button-therapy {
  margin: 10px;
    border: 2px solid #0e4194;
  color: #0e4194;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  border-radius: 300px;
    margin-top: 10px;
}
.button-therapy:hover{
  background-color: #0e4194;
  border: 2px solid #0e4194;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
}
.button-therapy a{
  color: #0e4194;

}
.mobile-button {
    margin-top: 15px;
    border: 2px solid #0e4194;
  color: #0e4194;
  padding: 10px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  border-radius: 100px;
}
.mobile-button:hover {
    background-color: #0e4194;
    color:white;
}

.content-page{
    margin-top: 100px;

    animation: fadein 3s;
    -moz-animation: fadein 3s; /* Firefox */
    -webkit-animation: fadein 3s; /* Safari et Chrome */
    -o-animation: fadein 3s; /* Opera */
}
@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-moz-keyframes fadein { /* sur Firefox */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-webkit-keyframes fadein { /* sur Safari et Chrome */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-o-keyframes fadein { /* sur Opera */
    from {
        opacity:0;
    }
    to {
        opacity: 1;
    }
}
.content-image{
    width: 100%;
    height:100%;

     animation: fadein 5s;
    -moz-animation: fadein 5s; /* Firefox */
    -webkit-animation: fadein 5s; /* Safari et Chrome */
    -o-animation: fadein 5s; /* Opera */
}
@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-moz-keyframes fadein { /* sur Firefox */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-webkit-keyframes fadein { /* sur Safari et Chrome */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-o-keyframes fadein { /* sur Opera */
    from {
        opacity:0;
    }
    to {
        opacity: 1;
    }
}


@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-moz-keyframes fadein { /* sur Firefox */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-webkit-keyframes fadein { /* sur Safari et Chrome */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-o-keyframes fadein { /* sur Opera */
    from {
        opacity:0;
    }
    to {
        opacity: 1;
    }
}
}

#boxright{
    padding-left:10%;
}
.footertext{
    font-size: 14px;
}
#footer_map{
    margin-top: 5%;
}
.card-therapy{
    Height: 475px;
    background-color: #fff;
}

#textcard-therapy{

    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
    padding: 40px;
}
#textcard-therapy:hover{
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
#titlecard-therapy{
    height:15%;
}
#titletext-therapy{
    height:50%;
}

.card-speciality{
    Height: 850px;
}

#textcard-speciality{
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
    padding: 20px 20px 0 20px;
    height: 350px;
}
#textcard-speciality:hover{
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
#titlecard-speciality{
    height:8%;
}
#titletext-speciality{
    height:50%;
}



.navbar-brand js-scroll-trigger{
    width:25%;
}
.info_content_footer{
    margin-top : 17px;
}
#MainNav2{
    color:black;
}

#footercard{
    /*box-shadow: 0 4px 8px 0 rgba(225,225,225,0.3);*/
    transition: 0.3s;
    background-color:#fff;
    color: black;
    padding: 60px;
    box-sizing: border-box;
}
.title-speciality{
    float: left;
     overflow: auto;
}
.image-speciality{
    float: left;
     overflow: auto;
}
.text-speciality{
    float: left;
     overflow: auto;
    padding-top: 20px;
}
.card-speciality{
    float: left;
     overflow: auto;
}
.button-speciality-top{
    float: left;
     overflow: auto;
}
.button-speciality-bottom{
    float: left;
     overflow: auto;
    padding-bottom: 50px;
}
#outils{
    background-color: #f4f8fb;
}


/* Cards outils */

*{
  box-sizing: border-box;
}

.cards {
    width: 100%;
    height: 450px;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    font-family: 'Muli', 'Helvetica', 'Arial', 'sans-serif';
}

.card--1 .card__img, .card--1 .card__img--hover {
    background-image: url('../img/ondeschoc.png');
}

.card--2 .card__img, .card--2 .card__img--hover {
    background-image: url('../img/gameready.jpg');
}

.card--3 .card__img, .card--3 .card__img--hover {
    background-image: url('../img/hyaluronic.png');
}
.card--4 .card__img, .card--4 .card__img--hover {
    background-image: url('../img/epreuveeffort.jpg');
}
.card--5 .card__img, .card--5 .card__img--hover {
    background-image: url('../img/mesotherapie.jpg');
}

.card__img {
  visibility: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 235px;

}

.card__info-hover {
    position: absolute;
    padding: 16px;
  width: 100%;
  opacity: 0;
  top: 0;
}

.card__img--hover {
  transition: 0.2s all ease-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
  position: absolute;
    height: 235px;
top: 0;

}
.card {
  margin-right: 25px;
  transition: all .4s cubic-bezier(0.175, 0.885, 0, 1);
  background-color: #fff;
    width: 33.3%;
    height:310px;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 13px 10px -7px rgba(0, 0, 0,0.1);
}

.card:hover {
  box-shadow: 0px 30px 18px -8px rgba(0, 0, 0,0.1);
    transform: scale(1.10, 1.10);
}

.card__info {
z-index: 2;
  background-color: #fff;
  border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
   padding: 16px 24px 24px 24px;
}


.card__title {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
}


.card:hover .card__img--hover {
    height: 100%;
    opacity: 0.3;
}

.card:hover .card__info {
    background-color: transparent;
    position: relative;
}

.card:hover .card__info-hover {
    opacity: 1;
}

/* card siplified */
.doc{
    padding-top: 20px;
    margin-bottom: 20px;
      animation: fadein 3s;
    -moz-animation: fadein 3s; /* Firefox */
    -webkit-animation: fadein 3s; /* Safari et Chrome */
    -o-animation: fadein 3s; /* Opera */
    float: left;
    display: block;
}
.card-therapysimplified{
  margin-right: 25px;
  transition: all .4s cubic-bezier(0.175, 0.885, 0, 1);
  background-color: #fff;
    height:310px;
  position: relative;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px 0px;
width: 100%;
    height: 375px;
}

.image-speciality{
    width:100%;
}
#outils-therapeutiques{
    background-color:#f4f8fb;
}
.buttonsimple{
    margin: 10px;
    border: 2px solid #0e4194;
    color: #0e4194;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 13px;
    border-radius: 300px;
}
.parallax {
  /* The image used */
  background-image: url("../img/centre/homepage5blue.jpg");

  /* Set a specific height */
  height: 500px;
    width:100%;

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

}
.decouvrir{
    margin-right: 100px;
    float:right;
    padding-top: 65vh;
    transform: translateY(-50%);
    margin-left: 50vh;
    color:white;
    font-weight:bolder;
}
.discover_button {
  margin: 10px;

  padding: 15px 62px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  border-radius: 300px;
    margin-top: 40px;
    background-color: #0e4194;
  border: 2px solid #0e4194;
  color: white;
}
.discover_button:hover{
  background-color:#1111;
border: 2px solid #0e4194;
  color: #0e4194;
  padding: 15px 72px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
}
.discover_button a{
  color: #0e4194;

}
.social{
    float:right;
}

.accessfab{
    margin-left:15px;
    vertical-align:middle;
    color:black;
}
.accessfab:hover{
    margin-left:15px;
    vertical-align:middle;
    color: #0e4194;
}



.footerfab{
    margin-left:15px;
    color: white;
    vertical-align:middle;
}
.footerfab:hover{
    color:grey;
}
.text-link{
    color:#0e4194;
}
.text-link:hover{
    color:grey;
}
.scroll-down {
  opacity: 1;
  -webkit-transition: all .5s ease-in 3s;
  transition: all .5s ease-in 3s;
    margin-bottom:3%;
}

.scroll-down {
  position: absolute;
  bottom: 70px;
  left: 50%;
  margin-left: -16px;
  display: block;
  width: 32px;
  height: 32px;
  border: 2px solid #FFF;
  background-size: 14px auto;
  border-radius: 50%;
  z-index: 2;
  -webkit-animation: bounce 2s infinite 2s;
  animation: bounce 2s infinite 2s;
  -webkit-transition: all .2s ease-in;
  transition: all .2s ease-in;
}

.scroll-down:before {
    position: absolute;
    top: calc(50% - 8px);
    left: calc(50% - 6px);
    transform: rotate(-45deg);
    display: block;
    width: 12px;
    height: 12px;
    content: "";
    border: 2px solid white;
    border-width: 0px 0 2px 2px;
}

@keyframes bounce {
  0%,
  100%,
  20%,
  50%,
  80% {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  60% {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}
.sticky-footer {
  position: sticky;
  bottom: 0;
  background-color: #0078d4; /* Couleur de fond */
  color: white; /* Couleur du texte */
  text-align: center;
  padding: 10px 0;
  font-size: 1rem;
  z-index: 1000;
}

/* POPUP */
body {
          
            overflow: auto; /* Prevent scrolling when popup is active */
        }
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }
        .popup {
            background-color: white;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            text-align: center;
            max-width: 600px;
            width: 90%;
        }
        
        .popup-buttons {
            margin-top: 20px;
        }
        .popup-buttons button {
            padding: 10px 20px;
            margin: 0 10px;
            font-size: 16px;
            border: none;
            border-radius: 300px;
            cursor: pointer;
        }
        .agree-btn {
            border-radius: 300px;
          font-family: 'Lato', 'Helvetica', 'Arial', 'sans-serif';
    letter-spacing: 2px;
    text-transform: uppercase;
          color: #fff;
          background-color: #0e4194;
        }
        .agree-btn:hover {
            background-color: #003580;
        }
/* END POPUP*/

