/* Salon de preparation d'une partie : constitution des equipes et choix des
   variantes/apparence/niveau IA (views/fragments/preparation.html). */

#preparation {
	position: absolute;
	height: 100%;
	width: 100%;
	font-family: "Comfortaa";
}

#preparation_partie_top {
	position: absolute;
	top: 7%;
	left: 25%;
	width: 50%;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.43);
	border-radius: 0.6em;
	color: white;
	padding: 0.2em;
	font-size: 0.95em;
}

#preparation_nom_partie {
	font-size: 1.2em;
	color: #7db136;
}

div#bottom_circle {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 50%;
	color: white;
}

div#bottom {
	position: absolute;
	top: 65%;
	left: 1%;
	width: 98%;
	border-radius: 0.5em 0.5em 3em 3em;
	height: 36%;
	background-color: rgba(0, 0, 0, 0.43);
}

/* Constitution des equipes */

#emplacement_preparation_spectateur {
	position: absolute;
	left: 15%;
	top: 75%;
	width: 70%;
	height: 7%;
	background-color: white;
	overflow: auto;
	border: 1px solid #ffffff;
	border-radius: 0.3em;
	z-index: 1;
}

#emplacement_preparation_spectateur:hover {
	-webkit-box-shadow: 0px 6px 25px 3px rgba(255, 255, 255, 0.75);
	box-shadow: 0px 6px 25px 3px rgba(255, 255, 255, 0.75);
}

#preparation_pseudo_spectateur {
	position: absolute;
	text-align: center;
	width: 100%;
	top: 69%;
}

.emplacement_preparation {
	position: absolute;
	height: 6%;
	width: 30%;
	padding-top: 1.5%;
	border-radius: 0.3em;
	color: white;
	z-index: 1;
	font-size: 0.7em;
}

#preparation_0,
#preparation_2 {
	width: 38% !important;
	padding-left: 7% !important;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#preparation_1,
#preparation_3 {
	left: 52% !important;
	width: 38% !important;
	padding-left: 1.5% !important;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.emplacement_preparation:hover {
	-webkit-box-shadow: 0px 6px 25px 3px rgba(255, 255, 255, 0.75);
	box-shadow: 0px 6px 25px 3px rgba(255, 255, 255, 0.75);
}

.emplacement_preparation_IA_0 { font-style: italic; color: #820605; }
.emplacement_preparation_IA_1 { font-style: italic; color: #09314e; }
.emplacement_preparation_IA_2 { font-style: italic; color: #12420c; }
.emplacement_preparation_IA_3 { font-style: italic; color: #905608; }

.preparation_sous_titre {
	color: white;
}

.preparation_pseudo {
	position: absolute;
	text-align: center;
	width: 40%;
}

.preparation_joueur {
	display: inline-block;
	border: 1px solid grey;
	margin-left: 3%;
	padding-left: 1%;
	margin-top: 1%;
	font-size: 0.9em;
	width: 18%;
}

.preparation_titre {
	position: absolute;
	text-align: center;
	top: 15%;
	width: 72%;
	left: 14%;
	font-size: 1.5em;
}

#preparation_sous_titre {
	position: absolute;
	text-align: center;
	top: 22%;
	width: 90%;
	left: 5%;
	line-height: 1.45em;
}

/* Legacy/non utilise actuellement. */
#preparation_astuce {
	position: absolute;
	text-align: center;
	top: 15%;
	width: 100%;
}

.preparation_separation {
	position: absolute;
	text-align: center;
	top: 38%;
	left: 50%;
	width: 0%;
	height: 7%;
	border-right: 0.2em dotted #333;
}

.preparation_separation2 {
	top: 53%;
}

#versus {
	position: absolute;
	text-align: center;
	width: 8%;
	left: 46%;
	top: 47%;
	border: 0.05em solid #333;
}

#bouton_validation_equipes {
	position: absolute;
	top: 93%;
	width: 30%;
	height: 9%;
	left: 35%;
}

.bouton_lancer_imit {
	background-color: #7db136;
	color: white;
	padding: 0.2em;
	border-radius: 0.3em;
}

/* Choix des variantes / apparence / niveau IA */

div#preparation_variantes {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}

#variante_container {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	padding-top: 21%;
}

.variante_nom_carte {
	text-align: center;
	padding-top: 0.2em;
	width: 100%;
	line-height: 1.5em;
	color: white;
}

.img_switch {
	height: 1.5em;
	width: 1em;
	margin-bottom: -0.35em;
	cursor: pointer;
}

#img_switch_right {
	position: absolute;
	display: inline;
	left: 67%;
}

#img_switch_left {
	position: absolute;
	display: inline;
	left: 29%;
}

.variante_content {
	padding-left: 10%;
	padding-right: 10%;
	text-align: center;
	height: 2.9em;
	font-size: 0.9em;
}

.titre_apparence {
	position: absolute;
	top: 66%;
}

#apparence_nom {
	position: absolute;
	top: 73%;
	left: 30%;
	width: 40%;
	text-align: center;
	color: #7db12d;
	font-size: 1.2em;
}

.titre_niveauIA {
	position: absolute;
	top: 79%;
}

#niveauIA {
	position: absolute;
	top: 86%;
	left: 30%;
	width: 40%;
	text-align: center;
	color: #7db12d;
	font-size: 1.2em;
}

#bouton_lancer {
	position: absolute;
	top: 93%;
	width: 30%;
	height: 9%;
	left: 35%;
}

/* Animation evenement TTFC2020 (voir public/js/app/TTFC2020.js) : non
   accrochee a du HTML actuellement (aucun element #eventAnimation/
   #eventBackground/#eventTeam1/2 dans les fragments), garde pour reference. */

#eventAnimation {
	display: none;
	z-index: 10000;
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: black;
}

#eventBackground {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: none;
	background-image: none;
	background-size: cover;
	background-position: center center;
}

.eventTeam {
	font-size: 2em;
	color: white;
	font-family: 'Amaranth';
	font-style: italic;
	position: fixed;
	left: 10%;
	width: 80%;
	text-align: center;
}

#eventTeam1 {
	top: 15%;
}

#eventTeam2 {
	top: 65%;
}
