@import url(normalize.css);
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
/*
 * Projet Techno Branché 2012-2013
 * Design par Guillaume Laquerre
 * Intégration et programmation par Yves Hélie
 */
body {
  font-family: 'Open Sans', sans-serif;
  /* Nous déterminons ici la fonte utilisée sur l'ensemble du site. */ }

a {
  color: #0086c3; }
  a:hover {
    color: #006390; }

.entete {
  color: #ffffff; }
  .entete p, .entete ol, .entete ul {
    font-size: 0.75em; }

.haut {
  background: url(../images/fleche_haut.png) center top no-repeat;
  color: black;
  display: inline-block;
  float: right;
  font-size: 1.25em;
  font-weight: lighter;
  padding-top: 20px;
  text-decoration: none;
  text-align: center;
  width: 50px; }
  .haut:hover {
    color: inherit;
    text-decoration: underline; }

body {
  background: url(../images/texture1-blanche.png) left top repeat;
  padding-bottom: 2em; }

.cl {
  clear: both; }

.entete {
  background: url(../images/texture1-bleue.png) left top repeat;
  padding: 1em 3.125% 2em;
  -webkit-box-shadow: 0px 5px 15px 5px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 5px 15px 5px rgba(0, 0, 0, 0.3); }
  .entete h1 {
    background: url(../images/logo_technobranche.png) center center no-repeat;
    display: block;
    width: 190px;
    height: 85px;
    margin: 0 auto; }
    .entete h1 span {
      display: none; }
  .entete .introduction {
    border-top: dashed #ffffff 1px;
    border-bottom: dashed #ffffff 1px;
    padding: 1em 0; }
  .entete nav.introduction ul {
    display: none;
    padding: 0;
    text-align: right; }
    .entete nav.introduction ul li {
      list-style-type: none;
      margin: 0.5em auto; }
      .entete nav.introduction ul li a {
        color: #ffffff;
        text-decoration: none; }
        .entete nav.introduction ul li a:hover {
          text-decoration: underline; }
        .entete nav.introduction ul li a:after {
          content: " ›"; }
      .entete nav.introduction ul li.accueil {
        margin-bottom: 2em; }
        .entete nav.introduction ul li.accueil a {
          background: url(../images/fleche_accueil.png) center center no-repeat;
          display: inline-block;
          width: 110px;
          height: 18px;
          margin: auto -5px auto auto;
          padding: 5px 15px 10px 20px;
          text-transform: uppercase; }
          .entete nav.introduction ul li.accueil a:after {
            content: ""; }

[role=main] {
  padding: 0 3.125%; }

.social {
  padding: 0;
  text-align: center; }
  .social li {
    display: inline;
    list-style-type: none; }
  .social a {
    background-position: left top;
    background-repeat: no-repeat;
    display: inline-block;
    width: 32px;
    height: 32px; }
    .social a span {
      display: none; }
    .social a:hover {
      background-position: -37px 0; }
    .social a.facebook {
      background-image: url(../images/logo-facebook.png); }

.catalogue {
  padding-top: 1em; }
  .catalogue h1 {
    font-size: 1.5em;
    margin-bottom: 0; }
  .catalogue h2 {
    font-weight: lighter;
    font-size: 1.25em;
    margin-top: 0; }
  .catalogue .produits {
    padding: 0; }
    .catalogue .produits li {
      display: inline-block;
      list-style-type: none;
      margin: 5px 5px 5px 0;
      vertical-align: bottom; }
      .catalogue .produits li a {
        border: solid black 1px;
        display: inline-block;
        position: relative;
        overflow: hidden;
        text-decoration: none; }
        .catalogue .produits li a img {
          vertical-align: bottom; }
        .catalogue .produits li a .survol {
          /* C'est ici que nous déterminons l'animation utilisée pour l'effet de survol
          sur les miniatures de la page d'accueil. */
          -webkit-transition: all 0.5s ease-in-out;
          -moz-transition: all 0.5s ease-in-out;
          -o-transition: all 0.5s ease-in-out;
          -ms-transition: all 0.5s ease-in-out;
          transition: all 0.5s ease-in-out;
          background: url(../images/icone-plus-blanc.png) 94% 8% no-repeat green;
          color: #fff;
          position: absolute;
          text-align: left;
          top: 0;
          left: -100%;
          width: 100%;
          height: 100%; }
        .catalogue .produits li a:hover .survol {
          left: 0; }
        .catalogue .produits li a .nom {
          position: absolute;
          bottom: 0;
          left: 0;
          padding: 10px;
          max-height: 90px;
          width: 130px; }
        .touch .catalogue .produits li a .survol {
          position: static; }
        .touch .catalogue .produits li a .nom {
          background-color: green;
          font-size: 0.75em;
          padding: 5%;
          position: static;
          display: block;
          min-height: 2.75em;
          width: 91%; }

.fiche {
  text-align: left;
  max-width: 480px; }
  .fiche h1 {
    margin-bottom: 1.5em; }
  .fiche p {
    font-size: 0.875em; }
  .fiche header {
    position: relative;
    padding-bottom: 1.5em; }
    .fiche header .prix {
      color: #c50000;
      font-size: 1.5em;
      font-weight: bold;
      position: absolute;
      bottom: 0;
      right: 0; }
    .fiche header .photo {
      display: inline-block;
      margin-bottom: 40px;
      position: relative;
      width: 48%;
      max-width: 230px;
      padding: 0;
      margin: 1em 1%; }
      .fiche header .photo img {
        border: solid black 1px;
        width: 100%;
        height: auto;
        vertical-align: bottom; }
      .fiche header .photo .plus {
        background: url(../images/icone_plus_noir.png) center center no-repeat;
        position: absolute;
        bottom: 3%;
        right: 3%;
        display: block;
        width: 20px;
        height: 20px; }
      .fiche header .photo:hover .plus {
        background-image: url(../images/icone-plus-blanc.png); }

.sequentielle {
  margin: 2em auto; }
  .sequentielle a {
    color: #ffffff;
    display: inline-block;
    font-size: 0.75em;
    text-decoration: none;
    text-transform: uppercase;
    margin: 0 0.5%;
    padding: 0.5em 0;
    width: 48%; }
    .sequentielle a.precedent {
      background: url(../images/sequentielle-precedent.png) left center no-repeat;
      text-align: right;
      padding-right: 1%; }
    .sequentielle a.suivant {
      background: url(../images/sequentielle-suivant.png) right center no-repeat;
      text-align: left;
      padding-left: 1%; }
    .sequentielle a:hover {
      text-decoration: underline; }

.navmobile {
  text-align: center; }
  .navmobile a {
    background: url(../images/fleche_accueil.png) center center no-repeat;
    color: #ffffff;
    display: inline-block;
    font-size: 0.75em;
    width: 110px;
    height: 18px;
    margin-right: 10px;
    padding: 5px 15px 10px 20px;
    text-align: right;
    text-decoration: none;
    text-transform: uppercase; }
    .navmobile a:hover {
      text-decoration: underline; }
  .navmobile select {
    border: none;
    padding: 0px;
    font-size: 16px;
    line-height: 1;
    border: 0;
    border-radius: 0;
    height: 27px;
    margin-top: 5px; }

.fancybox-skin {
  -moz-border-radius: 0;
  border-radius: 0; }

.fancybox-title-float-wrap .child {
  -moz-border-radius: 0;
  border-radius: 0; }

.fancybox-close {
  background: url(../images/icone_fermer_noir.png) center center no-repeat;
  top: -1px;
  right: -2px;
  width: 20px;
  height: 20px; }

.fancybox-next span {
  background: url(../images/icone_suivant_noir.png) center center no-repeat;
  right: -10px; }

.fancybox-prev span {
  background: url(../images/icone_precedent_noir.png) center center no-repeat;
  left: -10px; }

.partage {
  margin: 1em 0; }
  .partage .twitter-share {
    display: inline;
    position: relative;
    bottom: -5px;
    margin-left: 10px; }

/* Les lignes de code qui suivent permettent de modifier l'apparence de la page selon la taille du
navigateur. Les règles "min-width" déterminent par exemple un point minimum; les règles alors établies
ne s'appliqueront que si le navigateur est plus large que la taille déterminée. Il est également
possible de déterminer un point maximum, c'est-à-dire un point où les règles s'afficheront seulement
si la largeur est inférieur à la taille déterminée. */
@media screen and (min-width: 680px) {
  html {
    background: url(../images/texture1-blanche.png) left top repeat; }

  body {
    background: url(../images/texture1-bleue-body.png) -80px top repeat-y;
    padding-top: 100px; }

  .entete {
    background: none;
    float: left;
    width: 240px;
    padding: 0 40px 540px;
    -webkit-box-shadow: none;
    box-shadow: none; }
    .entete header {
      margin-bottom: 1em; }
      .entete header h1 {
        display: inline-block;
        margin-right: 10px; }
      .entete header .social {
        display: inline-block;
        margin: 0;
        position: relative;
        top: -5px; }
    .entete nav.introduction ul {
      display: block; }

  .catalogue {
    margin-left: 320px;
    padding-top: 110px;
    text-align: left;
    max-width: 805px; }

  .navmobile {
    display: none; } }
@media screen and (min-width: 940px) {
  body {
    background-position: left top; }

  .entete {
    background: url(../images/incrustration.png) center bottom no-repeat;
    width: 320px;
    padding: 0 40px 540px; }

  .catalogue {
    margin-left: 400px; }
    .catalogue .produits li {
      max-width: 150px;
      margin-right: 8px; } }
@media screen and (max-width: 939px) {
  .catalogue .produits li {
    width: 31%;
    margin: 5px 1%; }
    .catalogue .produits li a {
      width: 100%;
      height: auto; }
      .catalogue .produits li a img {
        width: 100%;
        height: auto; } }
@media screen and (max-width: 799px) {
  .catalogue .produits li {
    width: 47%;
    margin: 5px 1.5%; } }
@media screen and (max-width: 679px) {
  .catalogue .produits li {
    width: 31%;
    margin: 5px 1%; } }
@media screen and (max-width: 499px) {
  .catalogue .produits li {
    width: 47%;
    margin: 5px 1.5%; } }
