
@font-face { font-family: 'arvo-bold'; src: url( '../../../images/fonts/Arvo-Bold.ttf' ); }
@font-face { font-family: 'arvo'; src: url( '../../../images/fonts/Arvo-Regular.ttf' ); }

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; }

html { line-height: 1; }
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; vertical-align: middle; }
q, blockquote { quotes: none; }
q:before, q:after, blockquote:before, blockquote:after { content: ""; content: none; }
a img {border: none; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; }

.all-content{display: table;}
.illus{display:table-cell;max-width:337px;max-height:450px;height:auto}
.legende{
  display:table-cell;
  padding:0px 3%;
  width:73%;
  text-align: left;
 	font-family: 'Arvo' , serif !important;
  font-size:.85em; line-height:1.5;
  vertical-align:top;
  color:#777; text-align:justify
}

.legende br {line-height: 1.65em}

body, html { height: 100%; }

body { background: #eee9cc; color: #fff; font-family: 'Arvo', serif; }

.responsive {
  width: 100%;
  height: 100%; }

.content {
  float: left;
  width: 100%;
  height: 100%; }
  .content img {
    width: 100%;
    height: 100%; }
  .content li {
    float: left;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    width: 33.1%;
    height: 33%;
    position: relative;

    /* Colors Hover */ }
    .content li:hover { cursor: pointer; }
      .content li:hover .card-front {
        -webkit-transform: rotateX(50deg);
        -moz-transform: rotateX(50deg);
        -ms-transform: rotateX(50deg);
        -o-transform: rotateX(50deg);
        transform: rotateX(50deg);
        -webkit-transform: perspective(1000) rotateX(180deg);
        -moz-transform: perspective(1000) rotateX(180deg);
        -ms-transform: perspective(1000) rotateX(180deg);
        -o-transform: perspective(1000) rotateX(180deg);
        transform: perspective(1000) rotateX(180deg); }
      .content li:hover .card-back {
        z-index: 950;
        -webkit-transform: rotateX(0deg);
        -moz-transform: rotateX(0deg);
        -ms-transform: rotateX(0deg);
        -o-transform: rotateX(0deg);
        transform: rotateX(0deg);
        -webkit-transform: perspective(1000) rotateX(0deg);
        -moz-transform: perspective(1000) rotateX(0deg);
        -ms-transform: perspective(1000) rotateX(0deg);
        -o-transform: perspective(1000) rotateX(0deg);
        transform: perspective(1000) rotateX(0deg); }

    .content li:nth-child(1) .card-back, 
    .content li:nth-child(2) .card-back { background: #e63812; }
    .content li:nth-child(3) .card-back { background: #e63812; }
    .content li:nth-child(4) .card-back { background: #e63812; }
    .content li:nth-child(5) .card-back {background: #e63812; }
    .content li:nth-child(6) .card-back {background: #e63812; }
    .content li:nth-child(7) .card-back {background: #e63812; }
    .content li:nth-child(8) .card-back {background: #e63812; }
    .content li:nth-child(9) .card-back {background: #e63812; }
    .content li:nth-child(10) .card-back {background: #e63812; }
    /*.content li:first-child, .content li:last-child {
      background-color: #151515; }*/
  .content .card-front,
  .content .card-back {
    text-align: right;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 400ms;
    -moz-transition: -moz-transform 400ms;
    -o-transition: -o-transform 400ms;
    transition: transform 400ms;
    display: block;
    height: 100%;
    position: absolute;
    width: 100%; }
h2 span{ font-size:9em; }

  .content .card-front {
    -webkit-transform: perspective(1000) rotateX(0);
    -moz-transform: perspective(1000) rotateX(0);
    -ms-transform: perspective(1000) rotateX(0);
    -o-transform: perspective(1000) rotateX(0);
    transform: perspective(1000) rotateX(0);
    z-index: 900; }
  .content .card-back {
    -webkit-transform: rotateX(-180deg);
    -moz-transform: rotateX(-180deg);
    -ms-transform: rotateX(-180deg);
    -o-transform: rotateX(-180deg);
    transform: rotateX(-180deg);
    z-index: 800; }
  .content h2 {
  	font-family : 'arvo-bold';
    font-size: .95em;
    float: right;
    width: 100%;
    text-transform: uppercase;
    margin-top: 0px; }
    .content h2 b {
			margin:15px;
      font-weight: normal;
      float: right;
      }
  .content p {
    line-height: 1.1em;
    color: #000;
    width: 90%;
    float: right;
    margin-right: 20px; }

.close { display:block; background: #eee9cc url( "contraintes_fermeture.png" ) no-repeat 0 0 / auto 100%; height:20px; width:20px; 
	position:absolute; top:10px; right:10px; cursor:pointer } 

.close-old {
  cursor: pointer;
  position: absolute;
  right: 3px;
  top: 3px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 20px;
  padding: 10px 20px; }

.active {
  width: 100% !important;
  height: 100% !important; }
  .active .all-content {
    background-color: :#eee9cc !important;
    color:#000;
    position: absolute;
    left: 0px;
    top: 40px; }
    .active .all-content h1 {
      font-size: 80px;
      width: 50%; }

@media (min-width: 440px) and (max-width: 750px) {
  .content h2 {
    font-size: 22px; }
  .content p {
    font-size: 13px; }
  .content li {
    width: 33.1%; } }
@media (max-width: 439px) {
  .content h2 {
    font-size: 15px; }
  .content p {
    font-size: 13px; }
  .content li {
    width: 33%; } }
@media (max-height: 450px) {
  .content h2 {
    font-size: 22px; }
    .content h2 b {
      width: 100%; }
  .content li {
    width: 33%; } }

@media ( max-width: 800px ) 
{
  .content li { width: 33% }
	.legende { width:75%;	font-size:.85em }
}

@media ( max-width: 600px ) 
{

  .content li { width: 49.3%; height: 25% }
	.legende { width:80%;	font-size:.6em }
}