/* Compiled Less CSS File */
/* Generated from "fab.css" */

/* functions */
/* CSS Document */
html {
  height: 100%;
  overflow: hidden;
}
* {
  margin: 0;
  padding: 0;
}
body {
  background: linear-gradient(#333333, #666666) !important;
}
body.portrait {
  width: 320px;
  margin: auto;
  text-align: center;
  height: 100%;
}
body.portrait > * {
  display: none !important;
}
body.portrait:before {
  content: '';
  background: url(ipad36.png) no-repeat;
  background-size: cover;
  width: 256px;
  height: 256px;
  -webkit-animation: twistDevice 4s ease infinite;
  animation: twistDevice 4s ease infinite;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: 33%;
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -o-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
}
@-webkit-keyframes twistDevice {
  0% {
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  90% {
    opacity: 1;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
  100% {
    opacity: 0;
  }
}
/* Standard syntax */
@keyframes twistDevice {
  0% {
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  90% {
    opacity: 1;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
  100% {
    opacity: 0;
  }
}
.anim_03s {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.anim_01s {
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}
#skin {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
#skin img {
  width: 100%;
}
#colo {
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -o-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
  position: absolute;
  display: block;
  line-height: 0;
  width: 1060px;
  height: 820px /*880px si pas .cl */;
  text-align: center;
  overflow: visible !important;
}
#bg {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#bg.moving {
  cursor: move;
}
#wrapper {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
}
#layers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#back {
  position: absolute;
  top: 0;
  right: 0;
  width: 4%;
  min-width: 50px;
  background: rgba(0, 0, 0, 0.7);
  -webkit-border-radius: 0 0 0 10px;
  -moz-border-radius: 0 0 0 10px;
  -o-border-radius: 0 0 0 10px;
  -ms-border-radius: 0 0 0 10px;
  border-radius: 0 0 0 10px;
  z-index: 10;
}
#back > span {
  background: url(/templates/coloriages/fab/close.png) no-repeat center center;
  display: block;
  width: 70%;
  height: 70%;
  position: absolute;
  top: 15%;
  left: 15%;
  background-size: contain;
}
#back:hover > span {
  width: 90%;
  height: 90%;
  top: 5%;
  left: 5%;
}
#back img {
  width: 100%;
}
/* Outils */
#outils {
  position: absolute;
  z-index: 4;
  overflow: hidden;
  left: 0;
  -webkit-transform-origin: center left;
  -moz-transform-origin: center left;
  -o-transform-origin: center left;
  -ms-transform-origin: center left;
  transform-origin: center left;
  width: 130px;
  -webkit-border-radius: 0 10px 10px 0;
  -moz-border-radius: 0 10px 10px 0;
  -o-border-radius: 0 10px 10px 0;
  -ms-border-radius: 0 10px 10px 0;
  border-radius: 0 10px 10px 0;
}
#outils #tools {
  background: #F60;
  padding: 10px 0 5px 0;
}
#outils a {
  display: block;
  width: 110px;
  height: 110px;
  background: rgba(0, 0, 0, 0.3);
  margin: 0 10px 10px 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -o-border-radius: 10px;
  -ms-border-radius: 10px;
  border-radius: 10px;
  letter-spacing: 4000em;
  line-height: 500em;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
#outils a:hover {
  background: rgba(0, 0, 0, 0.6);
}
#outils a:before {
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  background: url(iconset.png) no-repeat;
  position: absolute;
  top: 15px;
  left: 15px;
}
#outils a.color:before {
  background-position: -560px 0;
}
#outils a.move:before {
  background-position: -480px 0;
}
#outils a.print:before {
  background-position: -640px 0;
}
#outils a.save:before {
  background-position: -720px 0;
}
#outils a.bg:before {
  background-position: 0 0;
}
#outils a.perso:before {
  background-position: -80px 0;
}
#outils a.obj:before {
  background-position: -160px 0;
}
#outils a.text:before {
  background-position: -960px 0;
}
/* Bibliothèque */
#bib {
  position: relative;
  background: #09C;
  padding-top: 10px;
}
#bib .select:after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  clear: both;
}
/* Palette */
#palette {
  position: absolute;
  left: -200%;
  -webkit-transform-origin: center left;
  -moz-transform-origin: center left;
  -o-transform-origin: center left;
  -ms-transform-origin: center left;
  transform-origin: center left;
  z-index: 3;
  background: rgba(0, 0, 0, 0.8);
  -webkit-border-radius: 0 5px 5px 0;
  -moz-border-radius: 0 5px 5px 0;
  -o-border-radius: 0 5px 5px 0;
  -ms-border-radius: 0 5px 5px 0;
  border-radius: 0 5px 5px 0;
  padding-left: 86px;
}
#palette.visible {
  left: 0;
}
#palette > div {
  position: relative;
  width: 290px;
}
#palette > div:after {
  content: '';
  display: block;
  clear: both;
  height: 0.1px;
}
#palette a {
  display: block;
  width: 50px;
  height: 50px;
  float: left;
  margin: 4px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  cursor: pointer;
}
#palette a:hover {
  -webkit-transform: scale(1.15);
  -moz-transform: scale(1.15);
  -o-transform: scale(1.15);
  -ms-transform: scale(1.15);
  transform: scale(1.15);
}
/* LIST */
#biblist {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  padding-left: 70px;
  width: 350px;
  left: -100%;
  height: 100%;
  overflow: auto;
}
#biblist.visible {
  left: 0;
  top: 0;
}
#biblist > div {
  clear: both;
}
#biblist > div:after {
  content: '';
  display: block;
  height: 1px;
  clear: both;
}
#biblist a {
  float: left;
  width: 47%;
  margin: 1.5%;
  text-align: center;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -o-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
  overflow: hidden;
  line-height: 0;
}
#biblist a:hover {
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.9);
}
#biblist a img {
  width: 100%;
}
/* Form Text */
#textform {
  position: absolute;
  background: #F60;
  padding: 10px 10px 10px 70px;
  width: 250px;
  left: -100%;
  overflow: auto;
  -webkit-border-radius: 0 10px 10px 0;
  -moz-border-radius: 0 10px 10px 0;
  -o-border-radius: 0 10px 10px 0;
  -ms-border-radius: 0 10px 10px 0;
  border-radius: 0 10px 10px 0;
}
#textform.visible {
  left: 0;
}
#textform input,
#textform button {
  height: 32px;
  padding: 4px 10px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -o-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
  border: none;
  box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, 0.5);
  font-size: 1.3em;
}
#textform input {
  width: 185px;
}
#textform button {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  padding: 0;
  text-align: center;
  color: #FFF;
}
#typos {
  margin: 5px 0 0 1px;
}
#typos a {
  display: inline-block;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -o-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
  overflow: hidden;
  margin: 3px 5px 0 0;
  line-height: 0;
}
#typos a:nth-child(even) {
  margin-right: 0;
}
#typos a.on {
  box-shadow: 0 0 2px 3px #b22d00;
}
#typos a:hover {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}
/* Current Selection */
#current {
  position: relative;
  -webkit-transform-origin: top center;
  -moz-transform-origin: top center;
  -o-transform-origin: top center;
  -ms-transform-origin: top center;
  transform-origin: top center;
  z-index: 0;
  margin: auto;
  background: rgba(0, 0, 0, 0.6);
  -webkit-border-radius: 0 0 20px 20px;
  -moz-border-radius: 0 0 20px 20px;
  -o-border-radius: 0 0 20px 20px;
  -ms-border-radius: 0 0 20px 20px;
  border-radius: 0 0 20px 20px;
  z-index: 1;
  display: inline-block;
  text-align: center;
}
#current #visu {
  display: inline;
  z-index: 1;
  position: relative;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -o-border-radius: 10px;
  -ms-border-radius: 10px;
  border-radius: 10px;
  margin: 10px;
}
#current .actions {
  display: inline-block;
  z-index: 2;
}
#current a {
  width: 110px;
  height: 110px;
  background: rgba(0, 0, 0, 0.3);
  margin: 0px 10px 0 0;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -o-border-radius: 10px;
  -ms-border-radius: 10px;
  border-radius: 10px;
  letter-spacing: 4000em;
  line-height: 500em;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: inline-block;
  top: -10px;
}
#current a:hover {
  background: rgba(0, 0, 0, 0.6);
}
#current a:before {
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  background: url(iconset.png) no-repeat;
  position: absolute;
  top: 15px;
  left: 15px;
}
#current a.small:before {
  background-position: -320px 0;
}
#current a.big:before {
  background-position: -240px 0;
}
#current a.suppr:before {
  background-position: -400px 0;
}
#current a.front:before {
  background-position: -800px 0;
}
#current a.back:before {
  background-position: -880px 0;
}
#current a.clone:before {
  background-position: -1040px 0;
}
#current a.flip:before {
  background-position: -1120px 0;
}
/* MOBILE */
.mobile #tools .print {
  display: none;
}
/* CURRENT à droite > classe .cl sur le body */
.cl #colo {
  height: 820px;
}
.cl #current {
  width: 130px;
  float: left;
  -webkit-transform-origin: top left;
  -moz-transform-origin: top left;
  -o-transform-origin: top left;
  -ms-transform-origin: top left;
  transform-origin: top left;
  -webkit-border-radius: 0 20px 20px 0;
  -moz-border-radius: 0 20px 20px 0;
  -o-border-radius: 0 20px 20px 0;
  -ms-border-radius: 0 20px 20px 0;
  border-radius: 0 20px 20px 0;
  background: none;
  z-index: -1;
}
.cl #current a {
  margin: 10px 0 0 0;
  background: rgba(0, 0, 0, 0.6);
}
.cl #current a:hover {
  background: rgba(0, 0, 0, 0.8);
}
.cl #wrapper {
  float: left;
}
.cl #colo {
  width: 1190px;
}
#HKpreroll {
  position: fixed;
  top: 10%;
  z-index: 100;
  width: 70%;
  left: 15%;
}
#flechetuto {
  position: absolute;
  z-index: 50;
  width: 60px;
  height: 60px;
  background: url(red-arrow.png) no-repeat top right;
  display: none;
  -webkit-animation: redarrow 1s ease infinite;
  animation: redarrow 1s ease infinite;
}
@-webkit-keyframes redarrow {
  0% {
    padding-left: 0;
  }
  50% {
    padding-left: 20px;
  }
  100% {
    padding-left: 0;
  }
}
/* Standard syntax */
@keyframes redarrow {
  0% {
    padding-left: 0;
  }
  50% {
    padding-left: 20px;
  }
  100% {
    padding-left: 0;
  }
}