body {
  background-color: #282828;
  overflow-x: hidden;
}

#content {
  height: 100%;
}

.choice_modal{
    margin: 10% auto 0 auto;
    width: 900px;
}

a.vimeo_link{
    width: 33.333333333%;
    width: calc(100% / 3);
    height: 150px;
    display: inline;
    color : white;
    float : left;
    text-align: center;
    font-size: large;
    padding : 40px;
    font-weight: bold;
}

a.vimeo_link:hover{
    text-shadow: -1px -1px 1px #fff, 1px 1px 1px #000;
    color : #FFEB3B ;
}

.link1 {
    background-color: #73347C;
}

.link2 {
    background-color: #61BFBD;
}

.link3 {
    background-color: #C1304C;
}

.linkend {
    margin-right: -3px;
}

.add_link{
    width: 33.333333333%;
    width: calc(100% / 3);
    height: 150px;
    display: inline;
    color : white;
    float : left;
    text-align: center;
    font-size: large;
    padding : 40px;
    font-weight: bold;
}

.add_link:hover{
    text-shadow: -1px -1px 1px #fff, 1px 1px 1px #000;
    color : #FFEB3B ;
}

#instagramButton {
    background-image:url('../img/instagramLogo.png');
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: 230px;
    text-align: left;
}

.modal-content {
  overflow: hidden;
}

.modal {
  z-index: 2050;
}

.modal-backdrop {
  z-index: 2040;
}

#swal2-checkbox {
    margin: 0 4px 0;
}

#toolbox {
  width:18%;
  margin:0;
  padding: 1%;
  display: block;
  float:right;
  height: 300px;
  background: #FFF;
  background: rgba(255,255,255,0.7);
}

#box {
  display: block;
  float: left;
  width: 78%;
  height: 100%;
  margin: 1%;
  padding: 0;
  background: rgba(255,255,255,0.9);
}


#preload {
  display: none;
}

#mask_canvas {
  background-image:  url("/static/img/arrow_down.png");
  background-repeat: no-repeat !important;
  background-position: 50% !important;
}

.dropBg {
    background-image:  url("/static/img/candrop.png") !important;
    background-repeat: no-repeat !important;
    background-position: 50% !important;
}

.sidebar {
  top: 41px;
  right: 0;
  /* right: 0; */
  overflow: auto;
  overflow-x: hidden;
  border-left: 2px solid #3a3a3a;
  width: 60px;
  transition: opacity ease-in-out 200ms,
              right   ease-in-out 400ms;
}

.sidebar, .bottombar {
  z-index: 1000;
  display: block;
  padding: 0px;
  background-color: #535353;
  color: #f4f0ec;
  position: fixed;
  bottom: 0;
}

.bottombar h4 {
  margin: 0;
}

.bottombar .progress {
  margin-top: 5px;
  margin-bottom: 5px;
}

#informations_bar {
  left: 0;
  width: 100%;
  height: 55px;
  z-index: 500;
  margin: 0px;
  padding-left: 5px;
  padding-top: 3px;
  box-sizing: content-box;
}

#informations_bar .progress {
  width: 100%;
}

#informations_bar h2 {
  padding-top: 0;
  margin-top: 0;
}

#sidebar-opener {
  word-wrap: break-word;
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;
  cursor: pointer;
  padding-top: 40px;
  top: 60px;
  box-sizing: content-box;
}

#sidebar-opener span {
  font-size: 30pt;
}

#side-general .title h3 {
  cursor: pointer;
}

#side-general div {
  color: #f4f0ec !important;
}

#fixedSizeChoose > option {
    color: #f4f0ec !important;
    background-color: #535353
}

#fixedSizeChoose {
  color: #f4f0ec !important;
}

#sidebar {
  width: 300px;
  right: -300px;
  opacity: 0.85;
  top: 90px;
}

.sidebarImage{
  width: 300px;
  left: -300px;
  top: 90px;
  direction: rtl;
}

.info-button{
    width: 15%;
    float : left;
}

.thumb, .thumbF{
    width: 60px;
    height: 60px;
    float: left;
    margin: 5px 5px 5px 5px;
    background-size: 60px 60px;
    cursor : pointer;
}

#sidebar:hover {
  opacity: 1;
}

.nav-sidebar > div > a {
    padding-right: 20px;
    padding-left: 20px;
}
.nav-sidebar > .active > a {
    color: #fff;
    background-color: #428bca;
}

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

#canvasContainer {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  color: white;
}

canvas {
  position: absolute;
  display: inline-block;
  background-color: #D3D3D3;
}

#overlay {
  z-index: 3;
  box-shadow: inherit;
  -webkit-box-shadow: 0 0 7px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 7px 5px rgba(0, 0, 0, 0.2);
  background: transparent none repeat scroll 0% 0%;
}

#borders {
  z-index: 2;
  background: transparent;
}

#content {
  display: table;
  width: 100%;
  background: #282828;
}

#canvas {
  display: inline-block;
  background: #ffffff;
}

.canvasBox {
    height: 100%;
    width: 100%;
    padding-top: 90px;
}

#progress-percent {
  font-weight: bold;
}

.progress-bar {
    -webkit-transition : none;
    -moz-transition    : none;
    -ms-transition     : none;
    -o-transition      : none;
    transition         : none;
}

#side-general {
  margin-right: 0px;
}

#side-general > div {
  padding-left: 15px;
  padding-right: 10px;
  padding-top: 5px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

#borderWeight div {
  border-bottom-left-radius: 0px;
}

#sidebar button {
  width: 200px;
}

div.title {
  padding-top: 0px !important;
}

.text-white {color:white;}
.text-white:hover {color: white;}
.text-white:focus {color: white;}

.color-emerald {background-color: #2ECC71;}
.color-emerald:hover {background-color: #27AE60;}

.color-amethyst {background-color: #9B59B6;}
.color-amethyst:hover {background-color: #8E44AD;}

.color-river {background-color: #3498DB;}
.color-river:hover {background-color: #2980B9;}

.color-asphalt {background-color: #34495E;}
.color-asphalt:hover {background-color: #2C3E50;}

.defaultPlace {
  width: inherit;
  margin: inherit;
}

.halfSize {
  width: 50% !important;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.bar {
  background-color: black;
  height: 2px;
  margin-top: 10px;
}

.valueHighlight {
  color: white;
  padding: 2px;
  border-radius: 3px;
  min-width: 28px;
  display: inline-block;
  text-align: center;
  border: 1px white;
  -webkit-box-shadow: inset 0px 1px 1px 0px rgba(255, 255, 255, 0.2), 0px 2px 4px 0px rgba(0,0,0,0.4);
  -moz-box-shadow: inset 0px 1px 1px 0px rgba(255, 255, 255, 0.2), 0px 2px 4px 0px rgba(0,0,0,0.4);
  box-shadow: inset 0px 1px 1px 0px rgba(255, 255, 255, 0.2), 0px 2px 4px 0px rgba(0,0,0,0.4);
  background: #2B353E;
}

li.posterOption {
  display: none;
}

#infoNumber{
    text-align : center;
}

#sendTitle{
    text-align : left;
    margin-top : 10px;
}

#toolboxProgress{
    margin-bottom : 1px;
}

#areasWarn {
  display: none;
  margin-top: 15px;
}

.tutorialStep {
  position: absolute;
  z-index: 2006;
  color: white;
  display: none;
}

#canvasContainer > .tutorialStep{
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px 1px gray;
  border-radius: 5px;
  padding: 5px;
  width: 50%;
  left: 25%;
}

#sidebar > .tutorialStep {
  left: -600px;
  width: 520px;
  text-align: justify;
  top: 50px;
}

#borderWidth {
  width: 140px;
}

.tutorial {
  transition: box-shadow ease-out 300ms;
}

#sidebarMask {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2002;
  display: none;
}

#tutorial_mask {
  position: fixed;
  display: none;
  z-index: 2004;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.8);
}

#redraw.actualStep {
  box-shadow: 0px 0px 15px 1px #ffffff !important;
}

.actualStep {
  z-index: 2005 !important;
  box-shadow: 0px 0px 15px 1px #ffffff !important;
}

.actualStep2 {
  z-index: 2004 !important;
}

#sidebar .btn:hover {
  color: white;
}

#sidebar .btn:focus {
  color: white;
}

#imagePanel .preview {
  padding: 0px;
}

#imagePanel .thumbnail {
  margin: 0px;
}

#imgName {
  word-break: break-all;
}

#debug {
  float: left;
  position: absolute;
  width: 400px;
  height: 75%;
  z-index: 999;
  opacity: 0.5;
  transition: opacity 300ms ease-in-out;
  overflow: auto;
  display: none;
  margin-top: 30px;
}

#debug:hover {
  opacity: 1;
}

.btn-group .halfSize {
  margin-top: 0 !important;
}

.spinner {
  margin: 30px auto 30px;
  width: 70px;
  text-align: center;
}

.spinner > div {
  width: 18px;
  height: 18px;
  background-color: #333;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
  animation: bouncedelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0.0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes bouncedelay {
  0%, 80%, 100% {
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 40% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

.glow {
  animation-name: glow;
  animation-duration: 4s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: none;
  }
  50% {
    box-shadow: 0px 0px 15px 1px #FFF;
  }
}

#side-general input {
  color: #E1ECE8 !important;
}

.noBg {
  background-image: none !important;
}

#mask_canvas {
  z-index: 4;
  background-color: transparent !important;
}

.ruler {
  background-color: inherit;
}

.ruler.bottom {
  bottom: -17px;
}

.ruler.left {
  margin-left: -17px;
}

#canvasContainer .canvasWrapper {
  position: relative;
}

.canvasWrapper {
  display: none;
}

.dropzoneWrapper {
  height: 465px;
  width: 700px;
  padding: 10px;
  text-align: center;
  color: white;
  font-size: 18pt;
}

.textDrop {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.firstUploadBox {
  float: left;
  position: relative;
}

.firstUploadBox .dropzone {
  position: absolute;
  top:0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  padding: 10px;
  background: rgba(0,0,0,0.1);
  z-index: 1;
}

.firstUploadBox button {
  background: #FFEB3B;
  border: none;
  border-radius: 5px;
  width: 250px;
  height: 60px;
  line-height: 60px;
}

.firstUploadBox input {
  display: none;
}

#AddPictureZone button {
    color:black !important;
    background: #FFEB3B;
}

#AddPictureZoneComputer input {
  display: none;
}

.shiny{
    position: absolute;
    top: -105px;
    left: 0;
    mix-blend-mode: screen;
    z-index: -1;
}

#ReplacePictureZone input {
  display: none;
}

#ReplacePictureZone {
  display: initial;
}

.firstUploadBox .slider {
  position: absolute;
  top:0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  z-index: 1;
}

.slides-img {
  width: 100%;
  height: 100%;
}

.clear {
  clear: both;
}

.flexslider {
    margin : unset;
    border : unset;
}

.flyingButton{
    cursor:pointer;
    border:none;
    width:60px;
    height:60px;
}

#imgDelete {
    background:url('../img/create/Supprimer.png');
    background-size: 60px 60px;
    background-repeat: no-repeat;
}

#imgEdit {
    background:url('../img/create/Modifier.png');
    background-size: 60px 60px;
    background-repeat: no-repeat;
}

#imgReplace {
    background:url('../img/create/Remplacer.png');
    background-size: 60px 60px;
    background-repeat: no-repeat;
}

#imgTeinte {
    background:url('../img/create/Color.png');
    background-size: 60px 60px;
    background-repeat: no-repeat;
}

#modifButton{
    display:none;
    position: absolute;
    z-index: 100;
}

#NewAlgo {
    text-align-last: center;
}
    
#showNewImage{
    margin-top : 5px;
}

#dontShowImage{
    margin-top : 5px;
}

#showMyImage{
    margin-top : 5px;
}

div.flyingTeintePicker {
    display: none;
}

.closeSidebarImage{
    margin-bottom: 10px;
    margin-top: 10px;
}

.sidebarButton{
    margin-bottom: 10px;
}

.sidebar .button-medium-action{
    border-radius: 25px;
    font-size: 16px;
    height: 38px;
    line-height: 38px;
}

.algo {
    width : 200px;
    height : 255px;
    display: inline-block;
    background-size: 180px 180px;
    background-repeat: no-repeat;
    background-position: 10px 10px;
}

.borderChoice {
    width : 200px;
    height : 255px;
    display: inline-block;
    background-size: 180px 180px;
    background-repeat: no-repeat;
    background-position: 10px 10px;
}

#geopica{
    background-image: url("/static/img/create/algo_random.jpg");
}

#color{
    background-image: url("/static/img/create/algo_teinte.jpg");
}

#oneBig{
    background-image: url("/static/img/create/algo_one_big.jpg");
}

#chrono{
    background-image: url("/static/img/create/algo_chrono.jpg");
}

#colorBorderChoice{
    background-image: url("/static/img/create/algo_bordure_pleine.jpg");
}

#fadeBorderChoice{
    background-image: url("/static/img/create/algo_bordure_fondu.jpg");
}

#fadeRange{
    margin-top: 4px;
    margin-bottom: 4px;
}

.algoName {
    margin: 0px;
    text-align: center;
    top: 200px;
    position: relative;
    color: #f4f0ec;
}

.algo{
    cursor: pointer;
}

.borderChoice{
    cursor: pointer;
}

#algoBar {
    margin-bottom: 58px;
    margin-left: 15%;
    bottom: -400px;
}

#borderBar {
    margin-bottom: 58px;
    margin-left: 30%;
    bottom: -400px;
}

.disabledAlgo{
    cursor: not-allowed;
}

.currentAlgo{
    background-color: green;
}

#validDate {
    float: right;
    margin: 10px 0 10px 0;
}

#newDateLabel{
    text-align: right;
}

#newDateInput{
    width: 400px;
}

#sidebar .sidebarLargeButton{
    width: 250px;
}

#reverseDateLabel{
    margin : 0;
}