/* preventing from overflow */

/* 	Vert FFS 					: #b4ce31  200 220 10
	Vert Foncé 					: #96ad29
	
	Bleu SC						: #004c98 0 76 152
	Orange SC					: #f18e00 	241 142 0
	Bleu Foncé 					: #003c77 
	
	Bleu Logo SSF (croix)		: #2995cf
	Rouge Logo SSF (texte)		: #ca0015
	Bleu Logo SSF (texte)		: #073b84
	
*/


html,body {
  overflow-x: hidden;
}


/* Global deco */
* {
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}
body {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 1.6em;
  font-family: Verdana;
  min-height : 400px;
}

a {
  color: #fff;
}

/**************************** MENU (Expanding version) ****************************/
/* Medium screens styles */
@media (max-width: 767px) {
  .sidebar {
    position: absolute;
    top: 0;
    width: 50vw;
    min-height: 100vh;
  }
  .wrapper {
    transform: translateX(0) translateZ(0);
    transition: transform .2s;
    will-change: transform;
  }

  /* Button deco */
  [class^="nav-button"] {
    display: block;
    z-index: 1;
    height: 3.5rem; width: 3.5rem;  /* rem => Relative to font-size of the root element */
    background-color: transparent;
    background-image: linear-gradient(to right, #004c98, #004c98),
      linear-gradient(to right, #004c98, #004c98),
      linear-gradient(to right, #004c98, #004c98);
    background-position: center top, center, center bottom;
    background-repeat: no-repeat;
    background-size: 3.5rem .9rem;
    padding: 0;
    outline: 0;
    border: 0;
    cursor: pointer;
	transition: background-color 0.2s;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
  }
  
[class^="nav-button"]:active,
[class^="nav-button"]:focus,
[class^="nav-button"]:hover{
	background-image: linear-gradient(to right, #2995cf, #2995cf),
      linear-gradient(to right, #2995cf, #2995cf),
      linear-gradient(to right, #2995cf, #2995cf);
}


  /* here's goes the push left effect */
  body:target .wrapper {
    transform: translateX(50vw);
  }
  .nav-button-close,
  body:target .nav-button-open {
    display: none;
  }
  .nav-button-open,
  body:target .nav-button-close {
    display: block;
  }
  
} /* end of small screen media query */


/**************************** MENU (folding version) ****************************/
.wrapper {
  position: relative;
  min-height: 100vh;
  padding: 2rem;
  background-color: #ffffff;
  color: #333;
  background-repeat: no-repeat;
  background-size: cover;
  background-clip : padding-box;
}
/* https://openclassrooms.com/courses/stylisez-votre-site-avec-css3/maitrisons-nos-arriere-plans */
.sidebar {
  padding-top: 1em;
  background: #004c98;
  color: #ddd;
}

nav a {
  display: block;
  padding: .7em;
  margin-bottom: 2px;
  text-decoration: none;
  color: #f18e00;
  background: rgba(255,255,255, 0.1);
  font-weight: bold;
}

.bobyEle {
  margin-top: 25vh; /* poussé de la moitié de hauteur de viewport */
  transform: translateY(-25%); /* tiré de la moitié de sa propre hauteur */
}

/**************************** LOGOS ****************************/
.logos { 
	/* height:10%; */
	margin:0 auto;
	padding:5px;
	text-align:center;
	min-width: 300px;
}

.logos ul 
{
	display: flex;
	justify-content: space-around;
	align-items: center;
    list-style-type: none;
	flex-direction: row;
	flex-wrap: wrap;
	padding:0px;
}

.logo_ssfbig
{
    margin-right: 3px;
	display: flex;
	align-items: center;
}

.logo_ssfsml
{
   display: none;
}
	
.logo_other
{
    margin-right: 3px;
	display: flex;
	align-items: center;
}

.White_Space { 
	margin:0 auto;
	padding:10px;
	text-align:center;
}
.wrapper {
  background-image:url(images/backgroung_ordi.jpg);
}

/* small screens styles */
@media (max-width: 500px) {
	.logo_other
	{
		display: none;
	}
	
	.logo_ssfbig
	{
	   display: none;
	}

	.logo_ssfsml
	{
		margin-right: 3px;
		display: flex;
		align-items: center;
	}
	
	.White_Space 
	{ 
		margin:0 auto;
		padding:5px;
		text-align:center;
	}
	
	.wrapper {
  background-image:url(images/backgroung_Smart.jpg);
}
}



/**************************** BUTTON ****************************/
.bobyEle a {
	text-decoration : none;
}

.Button { 
	width:70%;
	margin:0 auto;
	padding:5px;
	color:#f18e00;
	font-weight: bold;
	background-color: #004c98;
	text-align : center;
	font-size: 15px;
	transition: background-color 0.2s;
	cursor: pointer;
	border-radius: 5px;
}
.Button:active,
.Button:focus,
.Button:hover{
	background-color: #2995cf;
}


/**************************** FOOTER ****************************/

footer
{	width : 100%;
	position: absolute;
    font-size: 0.8em;
	bottom : 5px;
}

footer nav ul 
{
	display: flex;
	justify-content: space-around;
	align-items: center;
    list-style-type: none;
	flex-direction: row;
	flex-wrap: wrap;
	padding:0px;
}


footer nav li
{
	display: flex;
	align-items: center;
}

.ButtonLang
{
    padding-bottom: 3px;
    text-decoration: none;
	border-radius: 3px;
}

.ButtonLang:hover
{
    border-bottom: 3px solid #760001;
}


/**************************** POPUP ALERT ****************************/
.IndexPopUpAlert {
    width: 90%;
	padding: 20px;
    background-color: #f44336; /* Red */
    font-weight: bold;
	font-size : 15px;
    color: white;
    z-index: 9999; /*partie importante: à l'affichage, la div sera au-dessus de tout le reste*/
    position: absolute;
    top:  20%;
    left:  10%;
}

/* Mediun screens styles */
@media (max-width: 767px) {
	.IndexPopUpAlert {
		width: 85%;
		padding: 10px;
		top:  1%;
		left:  15%;
	}
}
/* Mediun screens styles */
@media (max-width: 500px) {	
	.IndexPopUpAlert {
		font-size : 10px;
		width: 75%;
		padding: 12px;
		top:  1%;
		left:  25%;
	}
}

/* The close button */
.PopUpAlertCloseBtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

/* When moving the mouse over the close button */
.PopUpAlertCloseBtn:hover {
    color: black;
} 


#PopUpMsgForm{
	width: 100%;
	padding:1px;
	text-align:right;
	font-weight: normal;
}

/**************************** POPUP UPDATE ****************************/
#PopUpUpdate {
    width:  100%;
	padding: 3px;
	text-align:right;
    background-color: #b4ce31; /* Vert FFS */
    font-weight: bold;
	font-size : 15px;
    color: white;
    display: none;
	position: relative;
}