/* Contenu des fiches : images, citations, encarts et page de contact. */

.infoprojet {
  color: #666666;
  font-family: 'segoe_uiitalic', Verdana, Geneva, sans-serif;
  font-size: 0.9em;
  margin-bottom: 15px;
}

.legende {
  color: #FF00FF;
  font-size: 0.75em;
  line-height: 1.3em;
}

.autremention {
  color: #666666;
  font-family: 'segoe_uiitalic', Verdana, Geneva, sans-serif;
  font-size: 0.75em;
  line-height: 1.3em;
}

#content ul li {
  font-size: 0.8rem;
}

#content #logoesad {
  margin-bottom: 250px;
}

#content {
  height: auto;
  margin: 120px auto 0px;
  max-width: 900px;
  padding: 0px 3px 30px;
  text-align: left;
}

#content img {
  float: left;
  margin: 0px 5px 5px 0px;
  position: relative;
}

aside {
  position: fixed;
  right: 6px;
  top: 85px;
  z-index: 1;
}

#iwantone_mob {
  background-image: url("../img/iwantone.png");
  background-repeat: no-repeat;
  height: 100px;
  width: 100px;
  display: none;
}

#iwantone {
  background-image: url("../img/iwantone.png");
  background-repeat: no-repeat;
  display: block;
  height: 100px;
  width: 100px;
}

#someeting_mob {
  background-image: url("../img/share-sticker.png");
  background-repeat: no-repeat;
  display: none;
  height: 100px;
  width: 100px;
}

#someeting {
  background-image: url("../img/share-sticker.png");
  background-repeat: no-repeat;
  display: block;
  height: 100px;
  width: 100px;
}

#someeting:hover,
#someeting_mob:hover {
  background-image: url("../img/share-sticker.gif");
}

#nofis-mini {
  background-image: url("../img/nofid-sticker_mini.png");
  background-repeat: no-repeat;
  display: block;
  height: 100px;
  width: 100px;
}

#nofis {
  background-image: url("../img/nofis-sticker.gif");
  background-repeat: no-repeat;
  height: 200px;
  margin: 5px;
  width: 200px;
}

#partage {
  display: block;
  height: 100px;
  width: 100px;
}

#at15s {
  position: fixed;
}

#ecoles {
  margin-left: 305px;
}

.citation {
  font-family: 'segoe_uilight', Verdana, Geneva, sans-serif;
  background-color: #FFFF00;
  font-size: 2.8rem;
}

.citation2 {
  font-family: 'segoe_uilight', Verdana, Geneva, sans-serif;
  background-color: #00FFFF;
  font-size: 2.8rem;
}

.citation3 {
  font-family: 'segoe_uilight', Verdana, Geneva, sans-serif;
  background-color: #00FF00;
  font-size: 2.8rem;
}

/* Vignettes et liens de contact. */

.boxmod {
  background-color: #3399FF;
  float: left;
  height: 200px;
  margin: 0px 4px 4px 0px;
  width: 200px;
}

.boxmod:hover {
  background-color: #FF00FF;
}

.boxmod a {
  text-decoration: none;
}

.boxmod a:hover {
  text-decoration: none;
}

.boxmod p {
  color: #FFFFFF;
  margin: 0px 0px 15px 5px;
  line-height:1.1rem;
}

.contactbase {
  background-color: #E5E5E5;
  background-image: url("../img/courriel.png");
  background-position: right center;
  background-repeat: no-repeat;
  color: #000000;
  width: 404px;
}

.contactbase p {
  color: #000000;
}

.clickable {
  cursor: pointer;
}

.facebook {
  background-image: url("../img/facebook.png");
  background-position: center center;
}

.twitter {
  background-image: url("../img/twitter.png");
  background-position: center center;
}

.live {
  background-image: url("../img/windows.png");
  background-position: center center;
}

.linkedin {
  background-image: url("../img/linkedin.png");
  background-position: center center;
}

.viadeo {
  background-image: url("../img/viadeo.png");
  background-position: center center;
}

.ixda {
  background-image: url("../img/ixda.png");
  background-position: center center;
}

.pinterest {
  background-image: url("../img/pinterest.png");
  background-position: center center;
}

.instagram {
  background-image: url("../img/instagram.png");
  background-position: center center;
}

.vine {
  background-image: url("../img/vine.png");
  background-position: center center;
}

.tumblr {
  background-image: url("../img/tumblr.png");
  background-position: center center;
}

.foursquare {
  background-image: url("../img/foursquare.png");
  background-position: center center;
}

.google {
  background-image: url("../img/google+.png");
  background-position: center center;
}

.download {
  background-image: url("../img/download-workbench.png");
  background-position: center center;
}

.skydrive {
  background-image: url("../img/skydrive.png");
  background-position: center center;
}

.nocolor,
.nocolor:hover {
  background-color: #FFFFFF;
}

.contactlist {
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.contactlist li a {
  text-decoration: none;
}

#working {
  background-image: url("../img/working.png");
  background-position: center center;
  background-repeat: no-repeat;
  height: 400px;
  width: 100%;
}

/* Règles réservées à l'impression. */

@media print {
  #partage {
    display: none;
  }

  #content {
    margin-top: 0px;
  }

  #content img {
    height: auto;
    margin: 0px 5px 10px 0px;
    width: 50%;
  }

  .citation {
    font-size: 18pt;
    line-height: 20pt;
  }
}

/* Adaptation selon la largeur de l'écran. */

@media screen and (max-width: 768px) {
  #content {
    margin: 170px auto 0px;
  }

  #content article img {
    clear: both;
    height: auto;
    width: 40%;
  }

  .legende a img {
    clear: both;
    height: auto;
    width: 40%;
  }

  aside {
    top: 170px;
  }

  #ecoles {
    margin-left: 0;
  }
}

/* Adaptation selon la largeur de l'écran. */

@media screen and (max-width: 480px) {
  #content article img,
  #content img {
    clear: both;
    height: auto;
    width: 100%;
  }

  .legende a img {
    clear: both;
    height: auto;
    width: 100%;
  }

  .contactlist {
    width: 100%;
  }

  #content {
    margin: 40px auto 0px;
  }

  aside {
    top: 136px;
    z-index: 10;
  }

  #ecoles {
    margin-left: 0;
  }

  .citation {
    font-size: 1.7em;
  }

  .citation2 {
    font-size: 1.7em;
  }

  .citation3 {
    font-size: 1.7em;
  }

  .legende {
    font-size: 0.75em;
  }

  .contactbase {
    width: 100%;
  }

  .facebook,
  .twitter,
  .live,
  .foursquare,
  .linkedin,
  .viadeo,
  .pinterest,
  .ixda,
  .google,
  .download,
  .skydrive {
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0px 2px 2px 0px;
    width: 100%;
  }

  #content #logoesad {
    margin-bottom: 5px;
  }

  .contactlist {
    display:flex;
    flex-direction: column;
  }
}

#content img {
  max-width: 100%;
  height: auto;
}
