/* ============== MAIN ==================== */


html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background: #332f35;
  font-family: roboto;
   color: var(--glow-color) 
}

.imgCount {
  display: none;
}

.sub-menu p {
  display: block;
  font-family: roboto;
  color: var(--glow-color);
  text-align: center;
  padding: 0 10px;
  margin: 2px 0;
}

/* ========================= BOUTONS ACTIONS ========================================= */

div.action-buttons {
  position: fixed;
  bottom: 10px;
  height: 3vh;
  margin: 0px;
  right: 0;
  left: 0;
  justify-content: center;
  text-align: center;
}

.action-buttons {
  position: fixed;
  top: 10px;
}

.glowing-btn {
  display: inline-block;
  color: var(--glow-color);
  cursor: pointer;
  padding: 0.3vh 1vh;
  border: 0.2vh solid var(--glow-color);
  border-radius: 1vh;
  background: none;
  font-family: "Raleway", sans-serif;
  font-size: 1.4vh;
  font-weight: 900;
  margin-left: 1vh;
  margin-right: 1vh;
  height: 3vh;
  box-shadow: 0 0 0.5vh black;
  text-size: 1rem;
  text-align: center;
  text-transform: uppercase;
}

.glowing-btn-active,
.glowing-btn:hover {
  color: rgba(0, 0, 0, 0.8);
  animation: none;
}

.glowing-btn-active {
  background-color: var(--glow-color);
  cursor: cell;
}

.glowing-btn:hover {
  box-shadow: 0 0 0.5vh var(--glow-color);
  background-color: var(--glow-color);
}

.glowing-btn-inactive {
  opacity: 0.25 !important;
  cursor: not-allowed;
}



.sub-menu {
  position: absolute;
  top: 5vh;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0;
  margin: 0;
  font-size: 1vh;
}

.select-count {
  position: fixed;
  font-size: 12px;
  top: 10px;
  right: 10px;
}


/* ========================== BOUTONS FILTRES ========================================= */

.filter-selector {
  position: absolute;
  top: 6vh;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0;
  margin: 0;
  font-size: 1vh;
}

.image-infos form {
  display: inline-block;
  z-index: 110;
}


input[type=radio] {
  position: absolute;
  visibility: hidden;
  display: none;

}

p.infos,
label {
  color: var(--glow-color);
  display: inline-block;
  cursor: pointer;
  font-weight: bold;
  padding: 5px 20px;
}

label {
  text-transform: capitalize;
}

div.wait {
  background-image: url("wait.gif");
  background-size: cover;
  background-position: center;
  position: fixed;
  width: 100%;
  height: 100%;
  display: none;
  text-align: center;
  font-size: 10vh;
  padding: 41vh 0;
  font-weight: bold;
  color:var(--glow-color);
  justify-content: center;
  align-items: center;
  text-shadow: 0 0 5vh black, 0 0 2vh black, 0 0 1vh black;
}


label:hover {
  color: #332f35;
  background-color: var(--glow-color);
  animation: none;
}


input[type=radio]:checked + label {
  color: #332f35;
  background: var(--glow-color);
}

label + input[type=radio] + label {
  border-left: solid 3px var(--glow-color);

}

.radio-group {
  border: solid 3px var(--glow-color);
  display: inline-block;
  margin: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.filter-selector form {
  display: inline-block;
}

@import url('https://fonts.googleapis.com/css?family=Roboto');


div.page-number {
  display: flex;
  position: fixed;
  justify-content: center;
  align-items: center;
  bottom: 0px;
  height: 4vh;
  font-size: 1vh;
  color: var(--glow-color);
  text-transform: uppercase;
}

div.next,
div.prev {
  position: absolute;
  top: 14vh;
  width: 10vh;
  height: 39vw;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  cursor: pointer;
}

div.prev {
  left: 9px;
  background-image: url("prev.png");
}

div.next {
  right: 9px;
  background-image: url("next.png");
}


div.next:hover,
div.prev:hover {
  opacity: 1;
}



div.main {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 14vh;
  left: 50%;
  width: 90vw;
  padding: 0;
  text-align: center;
  transform: translate(-50%, 0);
}

div.mode-selection img.thumb {
  cursor: pointer;
}

div.mode-magnify img.thumb {
  cursor: zoom-in;
}
 

img.thumb {
  display: inline-block;
  margin: 0.5vw;
  width: 12vw;
  border-radius: 1vw;
  box-shadow: 0 0 1vh black;
}

img.selected {
  border: 0.5vh solid var(--glow-color);
  box-shadow: 0 0 0.25vh black, 0 0 2vh var(--glow-color);
}

.details {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  background: #332f35;
  display: none;
  z-index: 100;
  text-align: center;
}

div.image-full {
  position: absolute;
  top: 10vh;
  height: 80vh;
  width: 80vh;
  border-radius: 3vh;
  box-shadow: 0 0 10px black;
  padding: 0px;
  left:50%;
  margin-left: -40vh;
  text-align: center;
  display: inline-block;
  overflow: hidden;
  z-index: 100;

}

img.image-full {
  display: inline-block;
  width: 80vh;
  height: 80vh;
  top: 0;
  left: 0;
  z-index: 100;
  cursor: zoom-out;

}

.image-infos {
  display: block;
  position: absolute;
  justify-content: center;
  align-items: center;
  top: 85vh;
  left: 40vh;
  right: 40vh;
  z-index: 110;
}

.wait {
  height: 80vh;
  border-radius: 2.5vh;
  box-shadow: 0 0 5vh black;

}

.version {
  position: fixed;
  display: block;
  top: 5px;
  left: 15px;
  font-size: 6pt;
  font-variant: italic;
  z-index: 1000;
  opacity: 0.25;
}


.form-dialog {
  position: fixed;
  top: 15vh;
  margin-left: auto;
  margin-right: auto;
  width: 400px;
  height: 400px;
  font-size: 1em;
  font-family: "Raleway", sans-serif;
  color: var(--glow-color);
  text-align: center;
  padding: 30px;
  border: 0.15em solid var(--glow-color);
  border-radius: 0.45em;
}

.form-inside input[type="password"],
.form-inside input[type="text"] {
  width: 50%;
  border: 0;
  border-bottom: 1px solid  var(--glow-color);
  border-radius: 3px;
  background: rgba(0,0,0,0.25) !important;
  text-align: center;
  padding: 5px;
  font-size: 1em;
  font-family: "Raleway", sans-serif;
  color: 1px solid  var(--glow-color);;
}

.add-user-dialog {
  opacity: 0;
  background: #332f35;
  height: 500px;
}

.add-user-dialog-hidden {
  display: none;
}

.form-inside input.large {
  width: 100%;
}

.form-inside input.short {
  width: 3em;
  margin-right: 5px;
  margin-left: 5px;
}

