
body {
  font-family: "Aclonica";
  text-align: center;
  background-color: #527756;
  color: white;
  margin: 0;
}

header {
  position: absolute;
  text-align: center;
  height: 30px;
  line-height: 30px;
  width: 100%;
  /*padding: 3px;*/
  background-color: white;
  color: #527756;
  font-size: 12px;
  z-index: 999;
  border-bottom: 1px solid #527756;
}

#title {
  font-size: 20px;
}

a {
  text-decoration: none;
  color: #527756 !important;
}

/* styles de base si JS est activé */
.input-file-container {
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  width: 80%;
  text-align: center;
  border-radius: 10px;
  background: white;
  color: #527756;
  padding: 14px;
}
.input-file-trigger {
  display: block;
  font-size: 1em;
  cursor: pointer;
  border-radius: inherit;
}
.input-file {
  display: none;
  width: 100%;
  padding: 14px 0;
  opacity: 0;
  cursor: pointer;
}

.preview {
  max-width: 100%;
  display: none;
  position: absolute;
  text-align: center;
}

#preview-wrapper {
  display: none;
  max-width: 80%;
  margin: 20px;
  border: 3px solid white;
  border-radius: 5px;
}

#btn-send {
  background-color: white;
  padding: 10px;
  color: #527756;
  cursor: pointer;
}

.img-status-show {
  opacity: 0;
  visibility: visible;
}


@media screen and (min-width: 680px) {
   .thumbnail {
     margin-left: 20px;
     margin-right: 20px;
  }
}

.thumbnail {
  position: relative;
  background-color: black;
  display: inline-block;
  margin-bottom:20px;
  text-align: center;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  z-index: 998;
  cursor: pointer;
}

.thumbnail img.thumbnail-file {
  opacity: 1;
  vertical-align: middle;
  -webkit-transition: opacity 0.5s; /* Safari */
  transition: opacity 0.5s;
}

.thumbnail video {
  opacity: 1;
  -webkit-transition: opacity 0.5s; /* Safari */
  transition: opacity 0.5s;
}

.thumbnail-delete img.thumbnail-file {
  opacity: 0.3;
}

.thumbnail-delete video {
  opacity: 0.3;
}

.thumbnail-delete .thumbnail-btn-delete {
  visibility: visible;
}

.thumbnail-btn-delete {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  visibility: hidden;
  -webkit-transition: visibility 0.2s; /* Safari */
  transition: visibility 0.2s;
  z-index: 999;
  cursor: pointer;
}

.thumbnail-upload-knob-wrapper {
  display: none;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.waiting {
  display: none;
}

#diaporama {
  display: none;
  text-align: center;
  width: 100%;
  height: 100%;
  padding-top: 70px;
  padding-bottom: 70px;
}

table {
  margin: 0;
}

#toolbar {
  height: 50px;
  width: 100%;
  line-height: 50px;
  position: fixed;
  bottom: 0;
  background-color: white;
  border-top: 1px solid #527756;
  text-align: center;
  z-index: 999;
}

#toolbar .btn {
  font-size: 11px;
  font-family: "Aclonica";
  min-width: 120px;
  background-color: #527756;
  color: white;
  border: none;
  border-radius: 2px;
  padding: 5px;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 10px 0 rgba(0,0,0,0.19);
  cursor: pointer;
}

#div-upload {
  position: absolute;
  left: 25%;
  transform: translateX(-50%);
}

#div-top {
  position: absolute;
  left: 75%;
  transform: translateX(-50%);
}

#div-ok {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 50px;
}

#img-ok {
  display: none;
  width: 35px;
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

#new-content-button {
  width: 150px;
  height: 30px;
  line-height: 30px;
  position: fixed;
  display: none;
  left: 50%;
  top: 20px;
  margin-left: -75px;
  border-radius: 10px;
  background-color: silver;
  border: 1px solid black;
  font-size: 10px;
  z-index: 1001;
  cursor: pointer;
}

#nb-new-content {
  font-weight: bold;
}

.flip {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

#div-loading {
  position: absolute;
  top:50%;
  left:50%;
  transform: translateX(-50%) translateY(-50%);
}

#gif-loading {
  border: 1px solid white;
  border-radius: 5px;
  width: 150px;
}

#view-original-img{
  vertical-align: middle;
  opacity: 1;
}

#full-screen-viewer {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index:1000;
  position:fixed;
  top:50%;
  left:50%;
  transform: translateX(-50%) translateY(-50%);
  display: none;
  vertical-align: middle;
}

.fit { /* set relative picture size */
  max-width: 100%;
  max-height: 100%;
}
