/* Add here all your CSS customizations */

/*Remonté contact*/

div:target,
section:target {
    padding-top: 170px !important;
}

/*Sélection du texte*/

::selection {
    background-color: #404350;
    color: white;
}

::-moz-selection {
    background-color: #404350;
    color: white;
}

/*img-fluid afficherArticles*/
.articleTexte img {
    max-width: 100%;
}

/*Tailles badges*/
.FacebookLogo,
.MyBusinessLogo {
    max-width: 100%;
    height: 4em;
    margin: 0px 10px;
}

/*Sections éditables*/
.edit p {
    font-size: 1.2em;
    line-height: 1.8;
    text-align: justify;
    opacity: 1 !important;
}

.edit h2 {
    margin-bottom: 1rem !important;
}

.edit h3 {
    font-weight: 700 !important;
}

.edit ul {
    list-style: none;
    font-size: 1.2em;
    line-height: 1.8;
    padding-left: 1rem !important;
    padding-bottom: 1rem !important;
    text-align: justify;
}

.articleTexte a {
    color: #404350;
}

html .btn-primary,
html.sticky-header-active .btn-sticky-primary {
    border-color: #404350 #404350 #515568;
    color: #FFF;
    background-color: #404350;
}

html .btn-primary:hover,
html.sticky-header-active .btn-sticky-primary:hover,
html .btn-primary:focus,
html.sticky-header-active .btn-sticky-primary:focus {
    border-color: #515568;
    background-color: #515568;
    color: #FFF;
}

.our-services {
    position: relative;
    margin-top: 30px;
    padding: 30px 20px; 
    border-radius: 10px;
    background-color: #fff;
    transition: all .4s ease-in;
    box-shadow: 0 0 25px 0 rgba(64, 67, 80, 0.2);
    overflow: hidden;
}

.our-services::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(-45deg, #d14314 0%, #FFA97A 100%);
    z-index: 0;
    transition: all .4s ease-in;

}

.our-services.primary::before {
    background: linear-gradient(-45deg, #d14314 0%, #FFA97A 100%);
}

.our-services.secondary::before {
    background: linear-gradient(-45deg, #404350 0%, #A6A9B6 100%);
}

.our-services:hover::before {
    width: 100%;
    height: 100%;
}

.our-services:hover h4,
.our-services:hover p, 
.our-services:hover a {
    color: #fff !important;
    position: relative;
    z-index: 1;
}

.hovereffect {
    width: 100%;
    height: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
    background: #d14314;
  }
  
  .hovereffect .overlay-hover {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    padding: 50px 20px;
  }
  
  .hovereffect img {
    display: block;
    position: relative;
    max-width: none;
    width: calc(100% + 20px);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-10px,0,0);
    transform: translate3d(-10px,0,0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .hovereffect:hover img {
    opacity: 0.4;
    filter: alpha(opacity=40);
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }
  
  .hovereffect h2 {
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 17px;
    overflow: hidden;
    padding: 0.5em 0;
    background-color: transparent;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
  }


  .hovereffect h2:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    content: '';
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(-100%,0,0);
    transform: translate3d(-100%,0,0);
  }
  
  .hovereffect:hover h2:after {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }
  
  .hovereffect a.hoverlink, .hovereffect p {
    position : relative;
    z-index: 100;
    color: #FFF;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(100%,0,0);
    transform: translate3d(100%,0,0);
  }
  
  .hovereffect:hover a, .hovereffect:hover p {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }

  
  .service-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}
.service-box:hover {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.service-description {
    color: #777;
}

/*** Features Start ***/

.feature .feature-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    background: #fff !important;
    border-radius: 10px !important;
    transition: 0.5s !important;
}

.feature .feature-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08) !important;
}

.feature .feature-item .feature-icon {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #d14314 !important;
}

.feature .feature-item .feature-icon i {
    transition: 0.5s !important;
}

.feature .feature-item:hover .feature-icon i {
    transform: rotate(360deg) !important;
}

.feature .feature-item a.btn {
    transition: 0.5s !important;
}

.feature .feature-item:hover a.btn:hover {
    color: #d14314 !important;
}
/*** Features End ***/



@media (max-width: 766px) {
    .index .parallax-background {
        height: 180% !important;
    }
  }
  
  @media (min-width: 767px) {
    .index .parallax-background {
        height: 100% !important;
    }
  }

  @media (max-width: 379px) {
    .text-5-responsive {
        font-size: 0.75rem !important;
    }
  }  
  
  @media (min-width:380px) and (max-width: 991px) {
    .text-5-responsive {
        font-size: 1.50rem !important;
    }
  } 

  @media (min-width: 992px) {
    .text-5-responsive {
        font-size: 1.20rem !important;
    }
  }