/* Add here all your CSS customizations */

/*Remonté contact*/

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

/*Sélection du texte*/

::selection {
    background-color: #64934a;
    color: white;
}

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

.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;
    text-align: justify;
}

.articleTexte a{
    color: #64934a;
}

.map-circle {
    width: 30vw !important; /* La largeur de la carte est 30% de la largeur de l'écran */
    max-width: 30vw !important; /* Limite la taille maximale */
    height: 0 !important; /* On commence avec une hauteur nulle */
    padding-bottom: 30vw !important; /* La hauteur est proportionnelle à la largeur (50vw) */
    max-height: 400px !important; /* Limite la hauteur maximale */
    border-radius: 50% !important; /* Rend l'élément circulaire */
    overflow: hidden !important; /* Masque les débordements */
    position: relative !important; /* Nécessaire pour contenir la carte */
  }

  /* CSS pour la comparaison image, NE PAS OUBLIER LE JS dans custom.js*/

.comparison-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 20px 0;
    background-color: white;
}

.comparison-slider-wrapper .comparison-slider {
    position: relative;
    width: 100%;
    margin: 0;
    border: 5px white solid;
    box-sizing: border-box;
}

.comparison-slider-wrapper .comparison-slider>img {
    width: 100%;
    height: auto;
    display: block;
}

.comparison-slider-wrapper .comparison-slider .overlay {
    display: block;
    position: absolute;
    width: 250px;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px;
    box-sizing: border-box;
    color: #fff;
    text-align: right;
    font-size: 20px;
    font-weight: 600;
}

.comparison-slider-wrapper .comparison-slider .resize {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
}

.comparison-slider-wrapper .comparison-slider .resize>img {
    display: block;
}

.comparison-slider-wrapper .comparison-slider .resize .overlay {
    right: auto;
    left: 20px;
    text-align: left;
}

.comparison-slider-wrapper .comparison-slider .divider {
    position: absolute;
    width: 3px;
    height: 100%;
    background-color: rgba(256, 256, 256, 1);
    left: 50%;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    cursor: ew-resize;
}

.comparison-slider-wrapper .comparison-slider .divider:before {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    left: -9px;
    top: 50%;
    margin-top: -10px;
    background-color: white;
    transform: rotate(45deg);
    transition: all 0.1s ease-in-out;
    animation: wiggle 2s linear infinite;
}

@keyframes wiggle {
    0%, 7% {
      transform: rotateZ(45);
    }
    15% {
      transform: rotateZ(30deg);
    }
    20% {
      transform: rotateZ(55deg);
    }
    25% {
      transform: rotateZ(35deg);
    }
    30% {
      transform: rotateZ(51deg);
    }
    35% {
      transform: rotateZ(41deg);
    }
    40%, 100% {
      transform: rotateZ(45);
    }
  }

.comparison-slider-wrapper .comparison-slider .divider:after {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    left: -5px;
    top: 50%;
    margin-top: -6px;
    background-color: #1f3c2d;
    transform: rotate(45deg);
    transition: all 0.1s ease-in-out;
    animation: wiggle 2s linear infinite;
}

.comparison-slider-wrapper .comparison-slider .divider.draggable:before {
    width: 30px;
    height: 30px;
    left: -14px;
    margin-top: -15px;
}

.comparison-slider-wrapper .comparison-slider .divider.draggable:after {
    width: 20px;
    height: 20px;
    left: -9px;
    margin-top: -10px;
    background-color: #555;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Safari */
    -khtml-user-select: none;    /* Konqueror HTML */
    -moz-user-select: none;      /* Old versions of Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.eligibilite {
    position: fixed; 
    bottom: 50px; 
    right: 20px;
    z-index: 550;
    display: block;
}

.bg-light-5-op-0-9 {
    background-color: rgba(241, 243, 247, 0.95) !important;
}

/*Bandeau bas*/
.eligibiliteBas{
	position: fixed;
    z-index: 1001;
    width: 50%;
    bottom: 5%;
    left: 25%;
}