@charset "UTF-8";

/* ----------------------------------------------------------
   Fonts
   ------------------------------------------------------- */

@font-face {
    font-family: 'EraserRegular';
    src: url('../fonts/EraserRegular-webfont.eot');
    src: url('../fonts/EraserRegular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/EraserRegular-webfont.ttf') format('truetype'),
         url('../fonts/EraserRegular-webfont.svg#EraserRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* ----------------------------------------------------------
   Reset
   ------------------------------------------------------- */

html, body, div, span, object, iframe,
fieldset, form, label, legend, p,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

a span,
a {
    text-decoration: none;
    -webkit-transition: all .15s ease-out;
    -moz-transition: all .15s ease-out;
    -o-transition: all .15s ease-out;
    transition: all .15s ease-out;
}

p a {
    opacity: .7;
}

p a:hover {
    opacity: .9999;
}

/* ----------------------------------------------------------
   Base
   ------------------------------------------------------- */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    height: 100%;
}

.wrapper,
body {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

body {
    font-family: 'Cutive', Cambria, Georgia, serif;
    font-size: 18px;
    line-height: 1.2;
}

.wrapper {
    position: relative;
    overflow: hidden;
}

/* ----------------------------------------------------------
   Layout
   ------------------------------------------------------- */

.main {
    position: relative;
    z-index: 2;
    width: 90%;
    height: 100%;
    margin: 10px auto 0;
}

.logo {
    width: 100%;
    height: 150px;
    background-image: url(../img/logo.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

#primary {
    height: 100%;
}

#primary .box {
    float: left;
    margin: 0 10px 10px 0;
}

#primary .box > * {
    padding: 15px;
}

.box {
    width: 140px;
}

.col1,
.col2,
.col3 {
    width: 100%;
}

.col1 {
    max-width: 100px;
}

.col2 {
    max-width: 210px;
}

.col3 {
    max-width: 320px;
}

/* -------------------------------------------------------
    Style
   ------------------------------------------------------- */

.bg {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../img/bg.png);
    background-repeat: repeat;
}

.block {
    width: 100%;
    padding: 20px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.box {
    -webkit-border-radius: 1.9px;
    -moz-border-radius: 1.9px;
    border-radius: 1.9px;
    /*background: #fff;*/
    word-wrap: break-word;
    background-repeat: no-repeat;
    background-position: center;
    opacity: .9999;
}

.box > a.cover {
    display: block;
    width: 100%;
    height: 100%;
}

/* Boxes
   ----------------------- */

.box.cocarde {
    height: 100px;
    background-image: url(../img/cocarde.png);
    background-size: cover;
    /*background-color: transparent;*/
}

.box.photo {
    height: 100px;
    background-image: url(../img/photo.png);
    background-size: cover;
    /*background-color: transparent;*/
}

.box.twenty4 {
    height: 208px;
}

.box.twenty4 > a {
    background-image: url(../img/24.png);
    background-size: cover;
    background-color: #0A2227;
}

.box.twenty4 > a:hover {
    background-color: #222;
}

.box.charte-css a,
.box.charte-css {
    text-align: center;
    font-family: 'Georgia',sans-serif;
    font-size: 32px;
    font-style: italic;
    letter-spacing: 1px;
    color: #DC3522;
    font-weight: bold;
}

.box.charte-css a:hover {
    color: #efefef;
    background-color: #DC3522;
}

.box.lab a {
    text-align: center;
    background: url(http://lab.thenew.fr/_layout/img/bg.png) repeat #202020;
}

.box.lab a span {
    font-size: 32px;
    font-family: 'EraserRegular';
    color: #FFC280;
    opacity: .8;
}

.box.lab a:hover span {
    opacity: .9999;
}

.box.re-my {
    height: 105px;
    background-image: url(../img/re-my.png);
}

.box.gg {
    height: 133px;
    background-image: url(../img/gg.png);
}

.box.twitter {
    height: 100px;
    background-image: url(../img/twitter.png);
    text-align: left;
    text-indent: -9999px;
    overflow: hidden;
}

.box.github {
    height: 100px;
    background-image: url(../img/blacktocat.png);
    text-align: left;
    text-indent: -9999px;
    overflow: hidden;
}

.box.fondations {
    height: 100px;
    background-image: url(../img/fondations.png);
}

.box.inventory {
    height: 100px;
    background-image: url(../img/inventory.png);
}

.box.piouf {
    text-align: center;
    background-color: #fff;
}

.box.piouf a {
    color: #222;
}

/* ----------------------------------------------------------
   Anim
   ------------------------------------------------------- */

.liffect-pageLeft .box {
    opacity: 0;
    position: relative;
    -webkit-animation: pageLeft 300ms ease both;
    -webkit-animation-play-state: paused;
    -webkit-transform-origin: 0% 50%;
    -moz-animation: pageLeft 300ms ease both;
    -moz-animation-play-state: paused;
    -moz-transform-origin: 0% 50%;
    -o-animation: pageLeft 300ms ease both;
    -o-animation-play-state: paused;
    -o-transform-origin: 0% 50%;
    animation: pageLeft 300ms ease both;
    animation-play-state: paused;
    transform-origin: 0% 50%;
}

.liffect-pageLeft.play .box {
    -webkit-animation-play-state: running;
    -moz-animation-play-state: running;
    -o-animation-play-state: running;
    animation-play-state: running;
}

@-webkit-keyframes pageLeft {
    0% {
        opacity: 0;
        -webkit-transform: perspective(400px) rotateY(-90deg);
    }
    100% {
        opacity: .6;
        -webkit-transform: perspective(400px) rotateY(0deg);
    }
}

@-moz-keyframes pageLeft {
    0% {
        opacity: 0;
        -moz-transform: perspective(400px) rotateY(-90deg);
    }
    100% {
        opacity: .6;
        -moz-transform: perspective(400px) rotateY(0deg);
    }
}

@-o-keyframes pageLeft {
    0% {
        opacity: 0;
        -o-transform: perspective(400px) rotateY(-90deg);
    }
    100% {
        opacity: .9999;
        -o-transform: perspective(400px) rotateY(0deg);
    }
}

@keyframes pageLeft {
    0% { opacity: 0;
        transform: perspective(400px) rotateY(-90deg);
}
    100% { opacity: .9999;
        transform: perspective(400px) rotateY(0deg);
}
}

/* -------------------------------------------------------
    Tools
   ------------------------------------------------------- */

​.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}