@import url(http://fonts.googleapis.com/css?family=Roboto);
@import url(http://fonts.googleapis.com/css?family=Noto+Sans);

/* Corps et liens */
BODY, DIV, a {
  font-family: "Noto Sans", "Roboto", "Segoe UI", Calibri, Arial, Geneva, Sans-Serif;
  font-size: 16px;
  padding: 0px;
  margin: 0px;
  word-wrap: break-word;
}

span.scat {
  font-size: 16px;
}

BODY {
  border: 0px;
  background-color: #fdfdfd;
}

a, a:link, a:active, a:visited {
  color: #202020;
  text-decoration: none;
  border-radius: 10px; /* Supprime le préfixe "z" */
}

/* Suppression des effets involontaires au hover */
a:hover, a:link:hover, a:visited:hover {
  color: white;
  background-color: #6666dc; /* Garde une couleur cohérente au survol */
  text-decoration: none;
  transition: background-color 0.4s linear, color 0.4s linear; /* Transition fluide pour éviter les sauts */
}

/* Images */
img {
  border: 0;
}

/* Formulaires */
form {
  margin: 4px;
  margin-bottom: 20px;
  margin-top: 10px;
}

span.e {
  color: #a0a0a0;
  font-size: 11px;
}

/* Liens spécifiques */
a.x {
  text-decoration: none;
  vertical-align: top;
  background-color: white;
  border: 1px solid #e0e0e0;
  width: 316px;
  float: left;
  display: inline-block;
  margin: 2px;
}

@media only screen and (max-width: 600px) {			
  a.x {
    border: 1px solid #c0c0c0;
    width: 99%;
    float: left;
    display: block;
    margin: 2px;
    min-height: 75px;
  }
}

/* Éviter les déplacements et transitions fluides au hover */
:hover, a:hover, a:link:hover, a.x:hover, a.cs:hover {
  text-decoration: none;
  background-color: #6666dc;
  color: white;
  transition: background-color 0.4s linear, color 0.4s linear; /* Transition fluide */
}

a.xs {
  text-decoration: none;
  vertical-align: top;
  background-color: white;
  border: 1px solid #c0c0c0;
  width: 48%;
  float: left;
  display: inline-block;
  margin: 1px;
  padding: 0px;
  min-height: 75px;
}

@media only screen and (min-width: 450px) {			
  a.xs {
    background-color: white;
    border: 1px solid #e0e0e0;
    width: 155px;
    float: left;
    display: inline-block;
    margin: 1px;
    padding: 0px;
    min-height: 75px;
  }
}

a.cs {
  text-decoration: none;
  vertical-align: top;
  background-color: #404080;
  color: white;
  border: 1px solid #e0e0e0;
  width: 48%;
  float: left;
  display: inline-block;
  margin: 1px;
  padding: 0px;
  min-height: 75px;
}

@media only screen and (min-width: 450px) {			
  a.cs {
    background-color: #404080;
    color: white;
    border: 1px solid #e0e0e0;
    width: 155px;
    float: left;
    display: inline-block;
    margin: 1px;
    padding: 0px;
    min-height: 75px;
  }
}

/* Boutons */
input[type=button], input[type=submit], input[type=reset] {
  box-shadow: inset 0px 1px 0px 0px #ffffff;
  background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
  background-color: #f9f9f9;
  border-radius: 6px;
  border: 1px solid #dcdcdc;
  display: inline-block;
  cursor: pointer;
  color: #404040;
  font-family: Arial;
  font-size: 13px;
  font-weight: bold;
  padding: 6px 10px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #ffffff;
  margin-top: 1px;
  margin-bottom: 1px;
}

input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
  background: linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
  background-color: #e9e9e9;
}

input[type=button]:active, input[type=submit]:active, input[type=reset]:active {
  position: relative;
  top: 1px;
}

/* Images avec hover */
img.i, img.i64 {
  transition: transform 0.7s ease-in-out, filter 0.7s ease-in-out;
  filter: brightness(99%);
  width: 64px;
  height: 64px;
  vertical-align: top;
  margin-top: 3px;	  
  float: right;
}

a:hover img {
  transform: scale(1.09); /* Légère transformation au hover */
  filter: brightness(110%);
}
