/* Add here all your CSS customizations */

/*Remonté contact*/

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

/*Sélection du texte*/

::selection {
    background-color: #192E5B;
    color: white;
}

::-moz-selection {
    background-color: #192E5B;
    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: #192E5B;
}


.hovereffect {
    width: 100%;
    height: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
    background: #192E5B;
}

.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);
}

.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, #192E5B 0%, #385595 100%);
    z-index: 0;
    transition: all .4s ease-in;

}

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

.our-services.secondary::before {
    background: linear-gradient(-45deg, #72A2C0 0%, #7fb2d2 100%);
}

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

.our-services:hover h4,
.our-services:hover p, 
.our-services:hover a {
    position: relative;
    z-index: 1;
} 

.our-services:hover h4,
.our-services:hover p {
    color: #fff !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;
    }
  }
