/* =========== POLICES ================== */

@font-face {
    font-family: 'signikalight';
    src: url('../fonts/signika-variable-webfont.woff2') format('woff2'),
         url('../fonts/signika-variable-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
	font-family: "signikalight";
}


/* =========== CSS HACK =====================*/

/** { background-color: rgba(255,0,0,.2); }
* * { background-color: rgba(0,255,0,.2); }
* * * { background-color: rgba(0,0,255,.2); }
* * * * { background-color: rgba(255,0,255,.2); }
* * * * * { background-color: rgba(0,255,255,.2); }
* * * * * * { background-color: rgba(255,255,0,.2); }
* * * * * * * { background-color: rgba(255,0,0,.2); }
* * * * * * * * { background-color: rgba(0,255,0,.2); }
* * * * * * * * * { background-color: rgba(0,0,255,.2);}*/

/* ============ HEADER --> BANNIERE ============== */

header {
  position: relative;
  width: 100%;
  margin: auto;
}

.header{
  padding-bottom: 0px;
}

header .banniere_complete { 
  
  width: 100%;
  height: auto;
  z-index: -1;
}

header h1 {
  position: absolute;
  text-align: center;
  top: 30%;
  z-index: 1;
  color: #ec6223;
  font-weight: 600;
  text-shadow: 0px -3px white, /* haut */
                0px 3px white, /* bas */
                -3px 0px white, /* gauche */
                3px 0px white, /* droite */
                -3px -3px white,    /* haut G */
                3px -3px white, /* haut droite */
                -3px 3px white, /* bas gauche */
                3px 3px white; /* bas droite */
}

header h2 {
  position: absolute;
  text-align: center;
  top: 50%;
  z-index: 1;
  font-weight: bolder;
  text-shadow: 0px -3px white, /* haut */
                0px 3px white, /* bas */
                -3px 0px white, /* gauche */
                3px 0px white, /* droite */
                -3px -3px white,    /* haut G */
                3px -3px white, /* haut droite */
                -3px 3px white, /* bas gauche */
                3px 3px white; /* bas droite */
}

@media screen and (min-width: 1200px) 
and (max-width: 2000px) {
  header h1 {
    font-size: 90px;
    top: 15%;
  }
}
@media screen and (min-width: 1200px) 
and (max-width: 2000px) {
  header h2 {
    font-size: 35px;
    top: 60%;
  }
}
@media screen and (min-width: 990px) 
and (max-width: 1200px) {
  header h1 {
    font-size: 70px;
    top: 15%;
  }
}
@media screen and (min-width: 990px) 
and (max-width: 1200px) {
  header h2 {
    font-size: 25px;
    top: 60%;
  }
}

@media screen and (min-width: 768px) 
and (max-width: 990px) {
  header h1 {
    font-size: 70px;
    top: 15%;
  }
}
@media screen and (min-width: 768px) 
and (max-width: 990px) {
  header h2 {
    font-size: 20px;
    top: 70%;
  }
}
@media screen and (min-width: 576px) 
and (max-width: 768px) {
  header h1 {
    font-size: 50px;
    top: 15%;
  }
}
@media screen and (min-width: 576px) 
and (max-width: 768px) {
  header h2 {
    font-size: 15px;
    top: 70%;
  }
}

@media screen and (min-width: 360px) 
and (max-width: 576px) {
  header h1 {
    font-size: 40px;
    top: 25%;
    right: 1%;
  }
}
@media screen and (min-width: 360px) 
and (max-width: 576px) {
  header h2 {
    display: none;
  }
}

@media screen and (min-width: 0px) 
and (max-width: 360px) {
  header h1 {
    font-size: 30px;
    top: 25%;
    right: 1%;
  }
}
@media screen and (min-width: 0px) 
and (max-width: 360px) {
  header h2 {
    display: none;
  }
}
/* ============ HEADER --> NAVIGATION ============ */



.navbar, #main-menu {
	background-color:  #ec6223;
}

#navbartoppage a {
  color:white;
  font-size: 16px;
}

#navbartoppage a:hover, #navbartoppage a.active {
  color: #ec6223;
  background-color: white;
  border-radius: 5px;
}

.navbar a:focus{
  background-color: white !important;
  border-color: white !important;
  color: #ec6223 !important;
  outline: none !important;
}

nav {
  min-height: 62px;
}


/* ======== INDEX --> SECTION EN TETE ========= */

#presentation h1 {
  color: #ec6223;
  font-weight: 600;
  font-size: 2rem;
}

#presentation a, #containerarticlecarousel button {
	border: 2px solid #ec6223;
	color: #ec6223;
}

#presentation a:hover,
#containerarticlecarousel a:hover {
	border: 2px solid white;
  color: white;
  background-color: #ec6223;
  text-decoration: none;
}

/* ====== INDEX ARTICLE JEUX + CAROUSEL ALIMENJEUX ======= */

.article_jeu_scolaire a {
  color: #ec6223 !important;
  background-color: white !important;
  border: 2px solid #ec6223 !important;
}

.article_jeu_scolaire a:hover {
  color: white !important;
  background-color: #ec6223 !important;
  border: 2px solid white !important;
  text-decoration: none;
}

.article_jeu_scolaire a:focus{
  box-shadow: none;
}


#containerarticlecarousel {
  background-color: #ebebeb;
}

#containerarticlecarousel h3 {
  font-size: 1.50rem;
  color: #ec6223;
  font-weight: 600;
  border-bottom: 2px solid #ec6223;
}

#carouselalimenjeux a {
  background-color: transparent !important;
  opacity: 1;
}

#carouselalimenjeux a:hover{
  background-color: transparent !important;
}

#carouselalimenjeux a:focus{
  background-color: transparent !important;
  border-color: transparent !important;
  outline: none !important;
}

#carouselalimenjeux .carousel-control-prev:focus, #carouselalimenjeux .carousel-control-next:focus {
  opacity: none !important;
  text-decoration: none;
  outline: none;
  color: transparent;
}

.carousel-indicators li {
  background-color: #0A0A0A;
}


#carouselalimenjeux .carousel-caption h5,
#carouselalimenjeux .carousel-caption {
  font-weight: bold;
  color: black;
}

#carouselalimenjeux .carousel-caption {
  background-color: rgba(255, 255, 255, 0.6);
  margin: auto 10%;
}

/* ======= CAROUSEL PARTENAIRES ========= */

.item_logo_part a {
  height: 150px;
}

.carousel_partenaire img {
  max-width: inherit !important;
}

.carousel_partenaire a:focus {
  background-color: transparent !important;
  border-color: transparent !important;
} 

.carousel_partenaire a:hover{
  background-color: transparent !important;
}

.carousel_partenaire a:visited{
  background-color: transparent !important; 
}

/* ===== RUBRIQUES --> PRESENTATION JEUX ==== */

#top_presentation h1 {
  font-size: 2rem;
  color: #ec6223;
  font-weight: 600;
}

#top_presentation h2{
  font-size: 1.5rem;
  color: #ec6223;
  font-weight: 600;
  border-bottom: 2px solid #ec6223;
}


/* ======== RUBRIQUES --> FORMULAIRE DU PROF =========== */

#formprof {
  background-color:  #ebebeb;
}

#formprof form h2 {
  font-size: 1.75rem;
  color: #ec6223;
}

#formprof button {
  border: 2px solid #ec6223;
  color: #ec6223;
}

#formprof button:hover {

  border: 2px solid #ebebeb;
  color: white;
  background-color: #ec6223;
  text-decoration: none;
}

/* ========= RUBRIQUES --> CARTES ======== */

.card__wrapper {
    height: 430px;

}

.card-body {
  border: 2px solid #ec6223;
  text-align: center;
}

/* formulaire resultats */ 

.card-body.inactive {
  filter: grayscale(90%);
}
/* 
.card-body.{
  filter: inherit;
} */

.card-body h2, .card-body h3 {
  color: #ec6223;
  font-size: 1.25rem;
  height: 3rem;
}

.card-body p{
  color: black;

}

.card-body a {
  border: 2px solid #ec6223;
  color: #ec6223;
}

.card-body a:hover {
  border: 2px solid white;
  color: white;
  background-color: #ec6223;
}

.card-body a:focus {
  background-color: #ec6223 !important;
  border-color: white !important;
  color: white !important;
  
}

.card-body .btn:focus{
  box-shadow: none !important;
}

.img-card {
  height: 200px;
  width: auto;
  display: block;
  margin: auto;
}

.card__side, .card-body{
  min-height: 330px;
}

.card-flip {
  -webkit-perspective: 600px;
          perspective: 600px;
  position: relative;
}


.card-flip.is-switched .card__wrapper {
  -webkit-animation: rotate 0.5s linear both;
          animation: rotate 0.5s linear both;
}

.card-flip.is-switched{
    overflow: hidden;
}

.card__wrapper {
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-animation: rotate-inverse 0.5s linear both;
          animation: rotate-inverse 0.5s linear both;
          backface-visibility: hidden;
}

.card__side {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 98%;
}
.card__side.is-active {
  position: static;
}

.card__side--back {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.card-flip {
  margin: 0 auto;
  max-width: 350px;
}

.card__side {
  border-radius: 5px;
  color: white;
}


@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
  }
  70% {
    -webkit-transform: rotateY(200deg);
            transform: rotateY(200deg);
  }
  100% {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }
}

@keyframes rotate {
  0% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
  }
  70% {
    -webkit-transform: rotateY(200deg);
            transform: rotateY(200deg);
  }
  100% {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }
}
@-webkit-keyframes rotate-inverse {
  0% {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }
  70% {
    -webkit-transform: rotateY(-20deg);
            transform: rotateY(-20deg);
  }
  100% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
  }
}
@keyframes rotate-inverse {
  0% {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }
  70% {
    -webkit-transform: rotateY(-20deg);
            transform: rotateY(-20deg);
  }
  100% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
  }
}

* {
  box-sizing: border-box;
}


/* ======== ARTICLE --> ARTICLE ============= */


.titre_article {
  font-size: 2rem;
  color: #ec6223;
  border-bottom: 2px solid #ec6223;
}


.bordure_lien {
  border-top: 2px solid #ec6223;
}

#return_to_home{
  background-color: #ec6223 !important;
  color:white !important;
  border: 2px solid white !important;
}

#return_to_home:hover {
  background-color: white !important;
  color: #ec6223 !important;
  border-color: #ec6223 !important;
  text-decoration: none !important; 
}

#return_to_home:focus {
  text-decoration: none !important;
  box-shadow: none !important;
}

/* ======== SESSION --> SESSION ============= */ 

.titre_session {
  font-size: 2rem;
  color: #ec6223;
  border-bottom: 2px solid #ec6223;
}

#chiffres {
  background-color: #ebebeb;
}

/* ====== SESSION --> SESSION EN CHIFFRES ======= */

#chiffres {
  background-color: #ebebeb; 
}

.numero {
  color: #ec6223;
  font-weight: 1000;
  font-size: 60px;
}

.numero_type {
  color: black;
  font-weight: 400;
  font-size: 18px;
}

/* ======== SESSION --> TIMELINE =============== */

#timeline {
	background-color: white;
}

#timeline h2 {
	color: #ec6223;
  border-bottom: 2px solid #ec6223;
}

#timeline .card-body {
  border: none;
  text-align: left;
  min-height: 150px;
}

.card-text {
  color: white;
}


.timeline_item {
  border: 2px solid white;
  background-color: white;

}

.card-title {
  color: #ec6223;
}

.badge {
  background-color: #ec6223;
}

.timeline_border {
  border-right: 1px solid #ec6223;
}

/* ======== SESSION --> TELECHARGEMENTS ======== */

#telechargements {
	background-color: #ec6223;
	color: white;
}

#telechargements h2 {
  border-bottom: 2px solid white;
}

#telechargements button {
  background-color: white !important;
  border: 2px solid white !important;
  color: #ec6223 !important;
}

#telechargements button:hover {
  background-color: #ec6223 !important;
  border: 2px solid white !important;
  color: white !important;
}

#telechargements .btn-light{
  background-color: white !important;
  border: 2px solid white !important;
  color: #ec6223 !important;
}

#telechargements .btn-light:hover{
  background-color: #ec6223 !important;
  border-color: white !important;
  color: white !important;
}

#telechargements .btn-light:focus {
  box-shadow: none !important;
  color: white !important;
}

#telechargements a:focus{
  background-color: #ec6223 !important;
  border-color: white !important;
  color: white !important ;
}


/* ======== FOOTER ================= */

footer {
	background-color: #ec6223;
}

footer a:hover {
  text-decoration: none !important;
  background-color: #ec6223 !important;
}

footer a:focus {
  background-color: #ec6223 !important;
  text-decoration: none !important;
}

a.spip_out{
  border: none;
}


a.spip_out:hover,
a.spip_out:focus,
a.spip_out:active,
a.spip_out:visited{
  /* border-bottom: 1px solid #ec6223; */
  background-color: white;
  color: #ec6223;
}