@import url('../fonts/webfontkit-BureauGrot/stylesheet.css');
@import url('../fonts/webfontkit-BureauGrotCondensed/stylesheet.css');
@import url('../fonts/fifam-font/styles.css');

html
{
	padding:0;
	margin:0;
}
header
{
	text-align:center;
	background-color:black;
	color:white;
	vertical-align:middle;
	padding:0.4vw;
}
div.avert
{
	color:black;
	background-color:#ffb700;
}
div.valid
{
	color:black;
	background-color:rgb(0, 255, 151);
}
#hc
{
	position: -webkit-sticky;
	position: -moz-sticky;
	position: -ms-sticky;
	position: -o-sticky;
	position: sticky;
	top:0px;
	font-family: "Bureau Grot Condensed", Arial, Helvetica, sans-serif;
}
body
{
	margin:0;
	font-family: "Bureau Grot", Arial, Helvetica, sans-serif;
	font-size:max(2.5vw,2.5vh);
	font-weight: 500;
}
article
{
	text-align:center;
}
a,a:visited
{
	text-decoration:none;
	color:white;
}
a:hover, td.fin a:hover, a#aj:hover
{
	color:rgb(108, 117, 125);
}
.muted {
	color:rgb(108, 117, 125);
}
.current {
	color:rgb(0, 255, 151) !important;
}
small {
	font-size: 50%;
}
a.home
{
	filter: grayscale(1);
}
a.home:hover
{
	filter: grayscale(0);
}
h2, h3, h4, th {
	font-family: "Bureau Grot Condensed", Arial, Helvetica, sans-serif;
}
th {
	font-size: 0.7em;
}
span.frm
{
	display:inline-block;
	background-color:black;
	vertical-align:top;
	color:white;
}
span label
{
	display:block;
	text-align:left;
	padding:0 5% 0 5%;
	font-size:max(1.4vw,1.4vh);
	margin:auto;
	margin-top: 8px;
	margin-bottom: 8px;
	font-weight: 400;
}
span input[type="email"], span input[type="text"], span input[type="password"]
{
	display:block;
	width:90%;
	font-size:max(2vw,2vh);
	text-align:left;
	padding:max(0.5vw,0.5vh);
	margin:auto;
}
input[type="radio"]
{
	display:none;
}
label.rdio
{
	display:inline-block;
	width:max(3vw,3vh);
	font-size:max(2vw,2vh);
	text-align:center;
	padding:0 0 0 0;
	margin:auto;
}
input[type="radio"]+label
{
	border: solid black;
}
input[type="radio"]:checked+label
{
	color:yellow;
	font-weight:bold;
	border: solid rgb(0, 255, 151);
	border-radius:max(2vw,2vh);
}
span input[type="submit"]
{
	display:block;
	width:50%;
	font-size:max(2vw,2vh);
	padding:0 0 0 max(0.5vw,0.5vh);
	margin:max(2vw,2vh) auto max(2vw,2vh) auto;
}
table
{
	border-collapse: collapse;
}
td
{
	border-color:black;
	border:1px solid;
}
td.fin a, a#aj
{
	color:black;
}
td input, td select
{
	border:none;
}
@media (max-width: 768px) {
	table.user
	{
		font-size:max(1.4vw,0.6vh) !important;
	}
}
@media screen and (orientation: landscape)
{
div.avert, div.valid
{
	font-size:max(1.5vw,1.5vh);
}
span.frm
{
	width:47vw;
	margin:2vw 1vw 0 1vw;
}
.mini,.mdpo
{
	font-size:max(1vw,1vh);
}
table
{
	font-size:max(1.4vw,1.4vh);
	margin:auto;
}
td,th
{
	padding-left:0.3vw;
	padding-right:0.3vw;
}
img#prfl
{
	height:2.7vw;
}
header
{
	font-size:max(2.3vw,2.3vh);
}
input,option,select
{
	font-size:max(2.3vw,2.3vh);
}
}
@media screen and (orientation: portrait)
{
div.avert, div.valid
{
	font-size:max(1vw,1vh);
}
span.frm
{
	width:95vw;
	margin:4vw 0 0 0;
}
.mini,.mdpo
{
	font-size:max(1vw,1vh);
}
table
{
	font-size:max(1.5vw,1.5vh);
	margin:auto;
}
td,th
{
	padding-left:0.5vw;
	padding-right:0.5vw;
}
img#prfl
{
	height:2.7vh;
}
header
{
	font-size:max(2.3vw,2.3vh);
}
input,option,select
{
	font-size:max(2.3vw,2.3vh);
}
}
img.vt
{
	display:inline-block;
	width:18vw;
	height:18vw;
	margin:0;
}
.icons {
	color: white;
	font-size: max(2.3vw,2.3vh);
	vertical-align: middle;
}

/* Statistiques utilisateurs */
.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin: 20px 0;
}
@media (max-width: 768px) {
	.stats {
		grid-template-columns: repeat(2, 1fr);
	}
}
.stat-box {
	background: #f5f5f5;
	padding: 15px;
	border-radius: 8px;
	text-align: center;
	border-left: 4px solid #333;
}
.stat-box.actif {
	border-left-color: rgb(0, 255, 151);
}
.stat-box.attente {
	border-left-color: #ffb700;
}
.stat-box.vote {
	border-left-color: #8800ff;
}
.stat-box.non-vote {
	border-left-color: #474747;
}
.stat-number {
	font-size: 2em;
	font-weight: bold;
	margin: 5px 0;
}
.stat-label {
	font-size: 0.7em;
	color: #666;
	font-family: "Bureau Grot Condensed", Arial, Helvetica, sans-serif;
}
.status-oui {
	font-size: 0.7em;
	color: rgb(0, 255, 151);
	font-weight: bold;
	font-family: "Bureau Grot Condensed", Arial, Helvetica, sans-serif;
}
.status-non {
	font-size: 0.7em;
	color: #474747;
	font-weight: bold;
	font-family: "Bureau Grot Condensed", Arial, Helvetica, sans-serif;
}
.status-attente {
	font-size: 0.7em;
	color: #ffb700;
	font-weight: bold;
	font-family: "Bureau Grot Condensed", Arial, Helvetica, sans-serif;
}