body {

  font-family: sans-serif;
}
header {
  margin: 0 30px 30px;
  position: relative;
  text-align: center;
}

header h1 {
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
  margin: 20px 0;
}
#ip-container {
  position: relative;
}
.article {
  font: 100 14px/150% "Source Sans Pro",sans-serif;
  border: 1px solid #c2c2c2;
  color: #585858;
  width: 200px;
  height: 200px;
  float: left;
  background: #fff;
  margin-bottom: 15px;
  margin-right: 15px;
  padding: 5px;
  cursor: pointer;
  border-radius: 15px;
  position: relative;
  display: block;
  overflow: hidden;
}
.article > h2 {
    margin: 0 0 10px;
    font: 600 24px / 125% sans-serif;
    color: #ffffff;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 9;
}

a.bouton_vert {
    background-color: #50B4A0;
    padding: 10px 20px;
    border-radius: 5px;
    color: white !important;
    text-decoration: none;
    margin-bottom: 55px !important;
    position: relative;
    text-align: center;
    display: block !important;
    max-width: min(350px, 90%);
	margin: auto !important;
}

.article span {
  display: block;
  padding-bottom: 5px;
}
.article strong {
  color: #d7342f;
}
.ip-details {
  display: none;
}
.inlinepopup {
  background: #fff none repeat scroll 0 0;
  border: 1px solid #c2c2c2;
  float: left;
  width: 100%;
  margin-bottom: 15px;
  position: relative;
  border-top: 5px solid #50B4A0;
  box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.5);
}
.inlinepopup img {
    max-width: 500px;
    text-align: center;
    position: relative;
    margin: 25px auto;
    display: block;
    border-radius: 10px;
	max-height: 400px;
}
.inlinepopup_content {
  margin: 20px;
  color: #585858;
}

.inlinepopup img.territoires {
    max-width: 100%;
    width: 100%;
    box-shadow: 0px 0px 12px 0px #686868;
}

.inlinepopup .aterritoires{
	margin: auto;
    display: block;
    position: relative;
    height: auto;
    width: auto;
    max-width: fit-content;
}

.inlinepopup_arrow {
  background: url("images/arrow-top.png") no-repeat scroll center 0;
  height: 32px;
  position: absolute;
  top: -34px;
  width: 32px;
}
.inlinepopupClose {
  background: url("images/close.png") no-repeat scroll 0 0;
  cursor: pointer;
  height: 16px;
  position: absolute;
  right: 5px;
  text-indent: -9999px;
  top: 10px;
  width: 16px;
  z-index: 99;
  overflow: hidden;
  transition: all 0.5s ease 0s;
}
.inlinepopupClose:hover {
  transform: rotate(180deg);
}
.inlinepopup_content h2 {
  color: #585858;
  font: 100 26px/140% "Source Sans Pro",sans-serif;
  margin: 0;
  padding: 0 0 10px;
}
.inlinepopup_content ul, .inlinepopup_content ol {
  margin: 0 0 20px;
  padding: 0 0 0 20px;
}
.inlinepopup_content .img-middle img {
  margin: 5px auto;
}
.inlinepopup_content a.go-button {
  background: rgba(0, 0, 0, 0) url("images/arrow-right.png") no-repeat scroll right center / 18% auto;
  color: #585858;
  font: 600 18px/150% "Source Sans Pro",sans-serif;
  padding: 5px 30px 5px 0;
}

/* MODIFICATION : Ajout des styles pour le nouveau bouton de fermeture */
.inlinepopupCloseBottom {
  background: url("images/close.png") no-repeat scroll 0 0;
  cursor: pointer;
  height: 16px;
  width: 16px;
  position: absolute;
  right: 15px; /* Positionnement à droite */
  bottom: 15px; /* Positionnement en bas */
  text-indent: -9999px;
  z-index: 99;
  overflow: hidden;
  transition: all 0.5s ease 0s;
}

.inlinepopupCloseBottom:hover {
  transform: rotate(180deg);
}
/* FIN DE LA MODIFICATION */

.article1 .overlay{
	background-color:#009dff78;
 }
 .article2 .overlay{
	background-color:#ff9d00b0;
 }
 .article3 .overlay{
	background-color:#53a5a3d4;
 }
 .article4 .overlay{
	background-color:#ff0000ab;
 }
 .article5 .overlay{
	background-color:#800080b0;
 }
 .article6 .overlay{
	background-color:#2a49a5c2;
 }
 .article7 .overlay{
	background-color:#00807eab;
 }
 .article8 .overlay{
	background-color:#0004ffa3;
 }
 .article9 .overlay{
	background-color:#ff3600a8;
 }
  .article10 .overlay{
	background-color:#00b361bd;
 }
  .article11 .overlay{
	background-color:#90b50db8;
 }

.overlay{
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.imageEdito, .imageEdito img {
    max-width: 150px;
}

.imagesEdito {
    max-width: 150px;
    display: inline-block;
    float: left;
    margin-right: 40px;
}

p.legendeImageEdito {
    padding: 0px !important;
    margin: 0px !important;
    margin-top: 5px !important;
    font-size: 15px !important;
}

.DeuxColonnes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: auto;
    text-align: center;
    width: auto;
}

.DeuxColonnes img{
    max-width: 50%;
    box-shadow: 0px 0px 10px #3b3b3b;
}

.DeuxColonnes.playzan img{
	max-width: 42%;
}

.lire_aussi {
    border-left: 5px solid #50B4A0;
    padding-right: 20px;
    box-shadow: 1px 1px 7px 2px #949494;
    border-radius: 9px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 70px;
    padding: 15px;
    margin-top: -30px;
}



.lire_aussi .lireImage {
    flex-basis: 20%;
    max-width: 90px;
}

.DeuxColonnes.Belveder {
    max-width: 80%;
}

.DeuxColonnes.Belveder img {
    max-width: 72%;
    margin: auto;
    margin-bottom: 23px;
    padding: 0;
}

.inlinepopup .lire_aussi a {
    line-height: unset !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
}

.lire_aussi img {
    width: 85px !important;
    height: 85px !important;
    object-fit: cover;
    box-shadow: 0px 0px 2px 0px black;
	border-radius: 15px;
	margin: 5px;
}

.lire_aussi figure {
	margin: 0px;
}

.wp-block-image img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}

.lire_aussi .lireTitre {
    flex-basis: 83%;
    margin-left: 0;
}

.lire_aussi .lireTitre p {
    margin: auto;
}

.lire_aussi .lireTitre p a {
    border-bottom: none !important;
    text-decoration: none;
    color: #50b4a0;
    font-weight: 600;
}
.post .entry-content p a{
    color: #50B4A0 !important;
    font-family: AauxPro_Bold !important;
    font-weight: 400 !important;
    text-decoration: none;
}

.inlinepopup a {
    text-decoration: none;
    color: #50b4a0;
    font-weight: 600;
    display: inline-block;
    position: relative;
}

@media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 888px;
    }
}

@media (max-width: 767px) {
	.imagesEdito{
		float: none;
		margin-bottom: 50px;
	}
	div#grandsChiffres * {
		max-width: 100% !important;
	}
	div#neufHuit {
		margin-left: -14%;
	}
	.DeuxColonnes{
		flex-direction: column;
	}
	.DeuxColonnes a.bouton_vert {
		margin-bottom: 30px !important;
	}
	.inlinepopup img {
		max-width: 100%;
	}
	.wp-block-columns.lire_aussi {
		flex-direction: column;
	}
	.lire_aussi .lireImage {
		max-width: 100%;
		margin-bottom: 30px;
	}
	.lire_aussi img {
		max-width: 100% !important;
		width: 100% !important;
	}
	.lire_aussi .lireTitre p a {
		margin-bottom: 20px;
	}
	.DeuxColonnes.playzan img {
		max-width: 100%;
	}
	iframe#fianceIframe {
		max-width: 100%;
	}
	img#financeIMG {
		padding: 0 !important;
		margin: 0 !important;
		transform: scale(1.1);
	}
	img#imgCA {
		padding: 9px !important;
		margin: 0 !important;
		width: 100% !important;
		transform: scale(1.1);
		margin-top: 50px !important;
		margin-bottom: 50px !important;
	}
}