@font-face {
    font-family: Jua;
    src: url("res/Jua-Regular.ttf") format("truetype");
}

body {
	text-align: center;
	/*background-color: #2F2E2E;*/
	
	background-image: url('res/chat_background.png');
	background-repeat: repeat;
	background-size: 200px;
	background-color: #444343;
}

a, a:hover {
	color: #E61E1E;
}

.selection {
	vertical-align: bottom;
	display: block;
	margin: 3%;
	padding-bottom: 3rem;
}
.selection input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	margin: 5px 5px 25px 5px;
	padding: 0;
	border-color: #FFFFFF;
	box-shadow: none;
	outline:none;
}

.selection input[disabled] {
	cursor: default;
}

.selection input.unselected {
	opacity: 0.4;
}

input[type=text]{
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
border: 2px solid #E61E1E;
color: #000000;
width: 250px;
height: 40px;
padding-left: 10px;
text-align:center;
}

input[type=file]{
	font-family: sans-serif;
	font-size: .8rem;
}

.label-file {
cursor: pointer;
color: #000000;
font-weight: bold;
}


aside {
	display: none;
}

.selector {
	display:inline-block;
	width:0px;
	height:0px;
	position:relative;
}
.selector div {
	display:inline-block;
	background:url(./res/selector.png) no-repeat center center;
	background-size:contain;
	width:20px;
	height:20px;
	position:absolute;
	z-index:100;
}

* {
  box-sizing: border-box;
}

#pfcform {
  /*background-color: #ffffff;*/
  background-image: url("res/paper.png");
  background-repeat: repeat;
  background-size: 125px 125px;
  margin: 30px auto;
  font-family: 'Jua', sans-serif;
  padding: 5px 40px 20px;
  width: 90%;
  min-width: 300px;
  border-radius: 20px;
}

/* Hide all steps by default: */
.tab {
  display: none;
  font-size: 1.3em;
}

button {
  background-color: #E61E1E;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 17px;
  font-family: 'Jua', sans-serif;
  cursor: pointer;
  border-radius: 30px;
}

button:hover {
  opacity: 0.8;
}

button:focus {
  outline:0;
}

#prevBtn {
  background-color: #bbbbbb;
}

#picplc {
  image-orientation: from-image;
  max-width: 90%;
  max-height: 300px;
  height: auto;
  width: auto;
  display: none;
} 

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;  
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%; 
  background: #E61E1E;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #E61E1E;
  cursor: pointer;
}

#loader {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(255, 255, 255, 0.8);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

#loader img {
	width: 50px;
	height: 50px;
}

.size-container {
    position: relative;
    width: 35px;   /* largeur fixe ou responsive */
    height: 250px;  /* hauteur totale de ton “totem” */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* colle tout en bas */
    align-items: center;
}

.size-container img {
    width: 100%;
    display: block;
}

#sizeimg {
    position: relative;
    height: 100px; /* valeur par défaut */
}

/* le bottom reste plaqué en bas */
.bottom {
    align-self: flex-end;
}
