/* Annonces stylesheet */
.annonce {
	color: var(--wp--preset--color--contrast);
	text-align: center;	
	background-color: #f6ff00;
	width : 100%;
	padding-top: 0.2rem;
	margin-top : 0;
	max-width : 100vw;
	padding-bottom: 0.2rem;
	
}
.annonce p {
	font-size : 16px;
}
.annonce .item-annonce {
	display : inline-block;
}
.annonce .item-annonce * {
	display : inline;
	margin-bottom : 0;
}	

.annonce .bullet {
	display : inline;
	margin-bottom : 0;
}
.annonce-container {
	width : 90%;
	display : inline-block;
	margin-left : 5%;
	margin-right : 5%;

	position: relative;
	padding-top : 3px;
	max-width : 1300px;
}



/**Annonce pop-up**/
.annonce-pop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(255,255,255,0.2);
	z-index: 10;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	margin-top : 0;
	   position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    z-index: 99999;
}

.annonce-pop .cadre {
	background-color: var(--wp--preset--color--base);
	padding: 0;
	position : relative;
	margin: 0 0 20vh 0;
	border-top : 2px dashed var(--wp--preset--color--base);
	border-bottom : 2px dashed var(--wp--preset--color--base);
	
}

.item-annonce-pop {
	padding : 2rem;
}

#fermer {
	position: absolute;
  top: -0.5rem;
  right: 2px;
  background-color: white;
  color: darkgray;
  text-align: left;
  font-size: 10px;
  padding: 2px 5px;
  letter-spacing: 1px;
  font-weight: 600;
  opacity: 0.9;
}

#fermer:hover {
	cursor : pointer;
	opacity: 1;
	color : var(--wp--preset--color--accent-2);
	color : var(--wp--preset--color--contrast);
}


/*annonce texte*/
.annonce-texte {
	color: var(--wp--preset--color--accent-6);
  font-size: calc(var(--wp--preset--font-size--medium) * 1.2);
}

/**marqueurs responsive**/
 @media only screen and (min-width: 482px) {
	/* .annonce {  */
		/* background-color : rgb(255,245,203);  */
	 /* }  */
 }

@media only screen and (min-width: 600px) {
	/* .annonce { */
		/* background-color : orange;  */
	/* } */
}
@media only screen and (min-width: 652px) {
	 /* .annonce {   */
		 /* background-color : red;  */
	 /* }  */
}
@media only screen and (min-width: 768px) {
	/* .annonce {   */
		 /* background-color : #990f95;  */
	 /* }  */
	 
	 .defile .texte-container {
		 animation: defilement-rtl 25s infinite linear;
	 }
	 .annonce p {
		font-size : 18px;
	 }
	 
	
	.annonce-pop .cadre {
		margin : 15rem 2rem:
	}
	 
	 
}

@media only screen and (min-width: 884px) {
	 /*.annonce{   */
		/* background-color : blue;  */
	 /* }  */
	 
	
	.annonce-pop .cadre {
		margin : 25vh 2rem;
	}
}

@media only screen and (min-width: 1024px) {
	 /* .annonce{   */
		/* background-color : cyan;  */
	  /* } */
}

@media only screen and (min-width: 1100px) {
	/* .annonce{   */
		 /* background-color : lightblue;  */
	 /* }  */
}

@media only screen and (min-width: 1200px) {
	/* .annonce{  */
		/* background-color : #b7f6c1; */
	/* } */
}

@media only screen and (min-width: 1250px) {
	/* .annonce { */
		/* background-color : lightgreen; */
	/* } */
}

@media only screen and (min-width: 1400px) {
	/* .annonce { */
		/* background-color : green; */
	/* }  */
	.defile .texte-container {
		 animation: defilement-rtl 30s infinite linear;
	 }
}

@media only screen and (min-width: 1600px) {
	/* .annonce{ */
		/* background-color : yellow; */
	/* } */
	
	.defile .texte-container {
		 animation: defilement-rtl 35s infinite linear;
	 }
}