/*
*** Home Header
*/

.HomeHeader {
  background-color: white;
  position: relative;
}

.HomeHeader .page-info {
  padding-top: 90px;
}

.HomeHeader h1 {
  color: black;
  font-size: 50px;
  line-height: 1.2;
  font-weight: 600;
}

.nos-conseils {
  background-color: #CAD2FF;
}

.nos-legerte {
  background-color: #e9e9ea;
}

.home_button{
  width: 90%;
  font-size: 0.80em; 
  border-radius: 15px;
}

.centered-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px; /* Ajustez la taille selon vos besoins */
  color: #e0e0e0;
}

.tel_button{
  width: 100%; 
  font-size: 1.3em; 
}

@media (max-width: 768px) {
  .home_button {
    width: 100%;
    font-size: 1.0em; /* Taille réduite pour les écrans moyens */
    border-radius: 15px;
  }
}

.besoin_aides{
  margin-right: 100px;
  background-color:white; 
  border-radius: 20px;
}

.container_aides{
  background-color:#F2F2F2; 
  border-radius: 20px;
}

.img_convient{
  margin-top: -20px;
}


/* Media query pour les petits écrans (par exemple, téléphones portables) */
@media (max-width: 480px) {
  .home_button {
    width: 100%;
    font-size: 1em; /* Taille encore plus réduite pour les petits écrans */
    border-radius: 15px;
  }

  .besoin_aides{
    margin-right: 15px;
    text-align: center;
    margin-left: 50px;
    border-radius: 20px;
    background-color:#F2F2F2;
  }

  .tel_button{
    width: 100%; 
    font-size: 1em; 
    background-color: white;
  }

  .h4_header{
    margin-top: -10px !important;
    font-size: 20px;
  }

  .header_home_menu{
    display: none;
  }
  
}


.HomeHeader .page-info__description {
  color: #FFF;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 300;
}

.HomeHeader .page-info__btn {
  margin-right: 10px;
  margin-top: 30px;
}

.HomeHeader .page-info__btn--default {
  background-color: #3c5fbb;
  color: #FFF;
  font-size: 16px;
  padding: 12px 25px;
  border-radius: 4px;
}

.HomeHeader .page-info__btn--success {
  background-color: #5ccacc;
  color: #FFF;
  font-size: 16px;
  padding: 12px 25px;
  border-radius: 4px;
}

.HomeHeader .page-info__svg {
  background: url("../../img/icon/svg_bg.png") no-repeat;
  background-position: 50% 35%;
  background-size: 100%;
}

.HomeHeader #form-reservation {
  margin-bottom: 20px;
}

.HomeHeader #form-reservation .row {
  width: 100%;
  margin: 0 auto;
}

.HomeHeader #form-reservation .row [class*="col-"] {
  padding-right: 10px;
}

.HomeHeader #form-reservation .errorfield{
    border-width: 2px;
}

.HomeHeader .page-info__remarque {
  color: #FFF;
  font-family: Lato;
  font-size: 14.5px;
  font-weight: 300;
  margin-top: 50px;
}

.HomeHeader .page-info__remarque span {
  background-color: #FFF;
  color: #5485ff;
  padding: 6px 18px;
  border-radius: 50px;
}

.HomeHeader .header-arrow {
  color: #FFF;
  position: relative;
  font-size: 30px;
  margin-top: 40px;
}

.HomeHeader #banner-layer {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
}

.HomeHeader #bottom-layer {
    position: absolute;
    width: 100%;
    top: 100%;
    margin-top: -3px;
}

.toast {
    left: 50%;
    top: 12%;
    transform: translate(-50%, -50%);
    display: block;
}

@media (min-width: 1200px) {
  .HomeHeader .page-info__svg {
    width: 500px !important;
    height: 400px !important;
    margin-top: -50px;
  }
}

@media (max-width: 1199.98px) {
  .HomeHeader h1 {
    font-size: 30px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .HomeHeader .page-info__svg {
    height: 300px !important;
    width: 400px !important;
    margin-top: -50px;
  }
  
  .HomeHeader .page-info__remarque {
    margin-top: 50px;
  }
}

@media (max-width: 991.98px) {
  .HomeHeader .page-info__btn {
    margin-top: 5px;
  }
  
  .HomeHeader #form-reservation .row {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .HomeHeader .page-info__svg {
    height: 200px !important;
    width: 400px !important;
    margin-top: 15px;
  }
  
  .HomeHeader .page-info__remarque {
    margin-top: 30px;
  }
  
  .HomeHeader .page-info__remarque span {
    display: block;
    width: 30%;
    margin: 13px auto;
  }
}

@media (max-width: 767.98px) {
    .HomeHeader .page-info {
      padding-top: 0;
      text-align: center;
    }
  
    .HomeHeader .page-info__btn {
      display: block;
      margin: 0 auto;
      margin-bottom: 10px;
    }
  
    .HomeHeader .page-info__svg {
      height: 200px !important;
      width: unset !important;
      margin-top: 20px;
      margin-bottom: 20px;
      background-size: 80%;
    }
  
    .HomeHeader #form-reservation .custom-select {
        margin-bottom: 10px;
    }
    
    .HomeHeader .page-info__remarque {
        line-height: 2;
    }
    
    .HomeHeader .page-info__remarque span {
        display: block;
        width: 40%;
        margin: 10px auto;
        padding: 0px;
      }
}

@media (max-width: 575.98px) {
  .HomeHeader h1 {
    font-size: 25px !important;
    margin-top: 10px;
  }
  
  .HomeHeader .page-info__description{
      font-size: 15px;
  }
  
  .HomeHeader .page-info__svg {
    height: 150px !important;
    width: unset !important;
    margin-top: 5px;
    display: block;
    margin-bottom: 5px;
  }
  .select-geo:after{
      top: -4px;
  }
  .select-consultation:after{
      top:-4px;
  }
  .select-geo .custom-input{
    height: auto;
    margin-bottom: 5px;
    }
  .HomeHeader .page-info__remarque {
    margin-bottom: 40px;
  }
  
  .HomeHeader .page-info__remarque span {
    display: block;
    width: 100%;
    margin: 7px auto;
    padding: 0px;
  }
  
  .HomeHeader .header-arrow {
    margin-top: 0px;
    position: static;
  }
  
    .toast {
        width: 90%;
        top: 24%;
    }
}

/*
*** STEPS
*/

.steps {
  position: relative;
  overflow: hidden;
}

.steps h2 {
  color: #FFF;
  text-transform: uppercase;
  font-size: 30px;
  margin-top: 40px;
  padding-bottom: 80px;
}

.steps__decoration {
  position: absolute;
  bottom: 0;
  transform: rotateY(180deg);
}

.steps__numbers {
  position: relative;
  z-index: 99999;
  top: -48px;
  color: #FFF;
  font-size: 5em;
}

.steps__numbers span {
  opacity: 0.7;
}

.steps__numbers h3 {
  top: 100%;
  font-size: 15px;
  text-transform: uppercase;
}

.steps__info {
  margin-top: 120px;
}

.fond_osteo{
  width: 100%;
  height: 100%;
  background: url("https://dev.osteodispo.fr/assets/img/commercial/entreprise/FOND_OSTEODISPO_SANS_LOGO.png") no-repeat center center;
  background-size: cover; /* Ajustez selon vos besoins */
  z-index: -1;
}

.steps__description {
  font-size: 16px;
  line-height: 1.6;
  color: #323232;
  margin-top: 25px;
}

@media (max-width: 575.98px) {
    .steps h2 {
        margin-top: 40px;
        font-size: 20px;
        padding-bottom: 40px;
    }
    
    .steps__numbers {
        font-size: 3em;
    }
    
    .steps__info{
        margin-top: 20px;
    }
    
    .steps__description{
        font-size: 20px;
        margin-bottom: 40px;
    }
}


/*
**** Service
*/
.services {
  overflow: hidden;
  padding-bottom: 0px;
}

.services__title {
  text-transform: uppercase;
  color: #5283ff;
  font-weight: 600;
  margin-bottom: 70px;
}

@media (max-width: 991.98px) {
  .services__title {
    margin-top: 20px;
  }
}

.services__info {
  text-align: justify;
  display: inline-block;
  width: 80%;
}

@media (max-width: 991.98px) {
  .services__info {
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .services__info {
    margin-bottom: 20px;
    margin-top: 20px;
    width: 100%;
  }
}

.services__subtitle {
    color: #223744;
    text-transform: uppercase;
    line-height: 1.6;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 45px;
    text-align: center;
}

@media (max-width: 767.98px) {
  .services__subtitle {
    font-size: 18px;
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .services__subtitle {
    font-size: 16px;
    margin-bottom: unset;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .services__subtitle {
    font-size: 20px;
    margin-bottom: unset;
  }
}

.nos-zones {
  background-color: rgba(98, 147, 255, 0.07);
  padding-top: 90px;
  padding-bottom: 90px;
}

.nos-zones__title {
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  color: #223744;
  margin-bottom: 85px;
}

.nos-zones__remarque {
  color: #616161;
  font-size: 16px;
  margin-bottom: 40px;
  margin-top: 10px;
  display: -ms-flexbox;
  display: flex;
  padding-left: 0;
}

.nos-zones__item {
  margin-bottom: 15px;
}

.home-reservation {
    margin-top: 100px;
}

/* patient notices */
#patient-notices-carousel .carousel-inner {
    margin: 0 auto;
    width: 86%;
}

#patient-notices-carousel p {
    color: #616161;
    position: relative;
    min-height: 120px;
}

#patient-notices-carousel span.date {
    bottom: 10px;
    color: #223744;
    display: block;
    font-size: 14px;
    font-style: italic;
    text-align: right;
    margin-right: 10px;
    margin-top: 20px;
}

#patient-notices-carousel .orange-text {
    color: #F2994A;
}

#patient-notices-carousel .carousel-control {
    display: block;
    opacity: 1;
    position: absolute;
    top: 40%;
    width: 2%;
}

#patient-notices-carousel .carousel-control.prev {
    left: 2%;
}

#patient-notices-carousel .carousel-control.next {
    right: 2%;
}

#patient-notices-carousel .carousel-control:before {
    content: '';
    display: block;
    height: 25px;
    position: absolute;
    transform: rotate(135deg);
    width: 25px;  
}

#patient-notices-carousel .carousel-control.prev:before {
    border-bottom: 5px solid #223744;
    border-right: 5px solid #223744; 
}

#patient-notices-carousel .carousel-control.next:before {
    border-left: 5px solid #223744;
    border-top: 5px solid #223744;
}

#patient-notices-carousel .carousel-control:hover, #patient-notices-carousel .carousel-control:focus {
    opacity: 0.6;
}

@media (max-width: 767.98px) {
    #patient-notices-carousel .testimonial{
        margin-bottom: 30px;
    }
    
    #patient-notices-carousel .carousel-control.prev {
        left: 0%;
    }

    #patient-notices-carousel .carousel-control.next {
        right: 6%;
    }
    
    #patient-notices-carousel span.date {
        margin-top: 5px;
    }
    
    #patient-notices-carousel p {
        margin-bottom: 0px;
        min-height: 110px;
    }
}

@media only screen and (max-width: 600px) {
  .logo_primary{
      width: 10px;
  }
}