/* Récupération des polices présentes sur le serveur */
@font-face {
  font-family: 'Andika';
  src: url('polices/AndikaNewBasic-R.ttf');
}
@font-face {
  font-family: 'Opendyslexic';
  src: url('polices/OpenDyslexic3-Regular.ttf');
}

/* Styles généraux */
body {
  font-family: "Open Sans";
  /*background-image: url(images/low_contrast_linen1.png);*/
  background-image: url(images/back-clair.jpg);
  background-position: top left;
  /* background-repeat: repeat; 
  background-attachment: scroll;
  background-attachment: fixed;*/
}
h1 {
  font-family:"Open Sans";
  text-align: center;
  color: white;
}
h2 {
  font-family:"Open Sans";
  text-align: center;
  margin:0px;
}
img {
  height: 40px;
  float: left;
  vertical-align: middle;
  margin-right:5px;
}
p {
  margin: 0px;
}
ul {
  display: inline-block;
}

/* Zone de texte d'intro */
.intro {
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  width: 60%;
  background-color: #FFF;
  padding: 10px 20px 10px 20px;
  opacity: 0.8;
  border: 5px solid red;
  border-radius: 20px;
}
.horloge_1 {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: xx-large;
  color: #0010A1;
  width: 40%;
  bottom: 0;
  position: relative;
  background-color: #FFF;
  padding: 10px 20px 10px 20px;
  opacity: 0.8;
  /* border: 5px solid blue;
  border-radius: 10px; */
}

/* Content */
#content {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding-right: 1em;
  min-height: 600px;
  box-shadow: 0 0 18px rgba(0, 0, 0, .4);
  background-image: url(images/low_contrast_linen1.png);
  background-position: top left;
  background-repeat: repeat;
  background-attachment: scroll;
  background-attachment: fixed;
  overflow: hidden;
}

/* Cadre gauche */
#gauche {
  float: left;
  margin-left: 2%;
  width: 45%;
  padding: 10px;
}

/* Cadre droite */
#droite
{
  float: right;
  margin-right: 2%;
  width: 45%;
  padding: 10px;
}

/* Bloc unitaire */
.bloc {
  display:inline-block;
  vertical-align:top;
  background-color: #FFF;
  border-radius: 2px;
  opacity: 0.9;
  margin-bottom: 1em;
  margin-left: 1em;
  padding: 10px;
  box-shadow: 7px 7px 7px rgba(0, 0, 0, 0.4);
}

/* Cadre search */
.search
{
  float:right; 
  background: rgba(255, 255, 255, .9);
}
.search p {
  display:inline-block;
}
.search form {
  column-width: 390px;
  margin-bottom: 1em;
}
.Anglais
{
  float:center; 
  background: rgba(255, 255, 255, .9);
}

/* Cadre multi */
.multi ul {
  margin: 0px;
  padding-left: 3px;
}
.multi li {
  display: inline-block;
}
.multi h2 {
  vertical-align: top;
  text-align:left;
}
.multi a {
  text-decoration:none;
  display: inline-block;
  color: purple;
  border-bottom: 2px solid Gainsboro;
  margin-bottom: 3px;
  margin-right: 10px;
}
.multi a:hover {
  color: black;
}
.multi a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: red;
  transition: width .3s;
  position:relative;
  top: 2px;
}
.multi a:hover::after {
    width: 100%;
    //transition: width .3s;
}


/* Elements de formulaire */
#bouton
{
  width: auto;
  text-align: left;
  margin-top:4px;
  margin-bottom:4px;
}
#recherche {
  width:200px;
  margin-top:7px;
}
.search-info {
  font-size:12px;
  text-decoration:none;
  float:none;
  margin: 0px 5px 5px 0px;
}

.link-button {
  margin: 0;
  padding: 0;
  letter-spacing: -5px; /*fix bug ff PC*/
}
.link-button li {
  display: inline-block;
  vertical-align: top;
  letter-spacing: normal;
  list-style: none;
  margin: 0 0 1em 1em;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4),
              -2px -2px 3px 0 rgba(0, 0, 0, 0.7) inset;
}
.link-button a {
  font-weight: 900;
  display: table-cell;
  vertical-align:middle;
  position: relative;
  padding: 0.2em;
  top: 0;
  left: 0;
  width: 5em;
  height: 5em;
  background: #666;
  text-decoration: none;
  text-align: center;
  color: #FFF;
  font-size: 1.8em;
          transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}
.CarreJaune a {
  background: #F1C40F;
}
.CarreRouge a {
  background: #E74C3C;
}
.CarreViolet a {
  background: #8E44AD;
}
.CarreBleu a {
  background: #6A93D4;
}
.CarreVert a {
	width:145px;
	height:145px;
  background: #008000;
}
.FondAng6eme a {
	width:140px;
	height:210px;
	background-image: url(images/Anglais6.png);
}
.FondAng5eme a {
	width:140px;
	height:210px;
	background-image: url(images/Anglais5.png);
}
.Pronote a {
	background-image: url(images/pronote.png);
}
.Anglais a {
	background-image: url(images/Anglais.jpeg);
}
.Lapro a {
	background-image: url(images/Lapro.png);
}
.Mail a {
	background-image: url(images/mail.jpeg);
}
.Academie a {
	background-image: url(images/academie.png);
}
.Scratch a {
	background-image: url(images/Scratch.jpeg);
}
.link-button a:hover,
.link-button a:focus {
  left: -4px;
  top: -4px;
  box-shadow: none;
}
.link-button a:hover:before,
.link-button a:focus:before {
  height: 4px;
}
.link-button a:hover:after,
.link-button a:focus:after {
  width: 4px;
}
.link-button a:hover:after,
.link-button a:focus:after,
.link-button a:hover:before,
.link-button a:focus:before {
  background: #393939;
}
.link-button a:after,
.link-button a:before {
  content: "";
  position: absolute;
          transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}
.link-button a:before {
  width: 100%;
  height: 0;
  left: 2px;
  top: 100%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
          transform: skew(45deg, 0deg);
  -webkit-transform: skew(45deg, 0deg);
}
.link-button a:after {
  width: 0;
  height: 100%;
  left: 100%;
  top: 2px;
  box-shadow: 5px 0 10px rgba(0, 0, 0, 0.4);
          transform: skew(0deg, 45deg);
  -webkit-transform: skew(0deg, 45deg);
}
