/* CLASSES UTILITAIRES */
/* ------------------------------------------------------------------------------ */
.hide {
	display: none !important;
}
.show {
	display: block !important;
}
.full-width {
	width: 100% !important;
}
.select {
	width: 100% !important;
}


/* ELEMENTS DE LA PAGE */
/* ------------------------------------------------------------------------------ */
body {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 13px;
	color: #222;
	margin: 0;
}

.content {
	margin: 10px 50px;
	overflow-x: auto;
	height: calc(100vh - 250px);
}

#malkav {
	padding: 0 90px;
}

.personnage {
	width: fit-content;
	text-align: center;
	position: relative;
}

.informations-personnage {
	position: relative;
	margin: 0 5px 25px;
	min-width: 42px;
	height: 20px;
}

.contenu {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	padding: 25px 30px;
	background-color: white;
	margin: auto;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0,0,0,.1);
	z-index: 99;
	display: none;
}
.gen-3 > .contenu,
.gen-4 > .contenu,
.gen-5 > .contenu {
	bottom: -110px;
	height: fit-content;
}
.contenu.isHover,
.contenu.isClick {
	display: block;
}
.contenu.isHover {
	z-index: 999;
}

.nom {
	font-size: 15px;
	font-weight: 600;
	color: #90005a;
	letter-spacing: .25px;
	line-height: 1.2;
	white-space: nowrap;
	overflow-x: hidden;
}

.generation-origine {
	display: none;
}

.descendance {
	display: flex;
}


/* MODIFICAIONS LORS DE SELECTIONS */
/* ------------------------------------------------------------------------------ */
.open > .informations-personnage .contenu {
	box-shadow: 0 4px 8px rgba(0,0,0,.2);
}

.open > .informations-personnage .nom {
	white-space: normal;
}

.open > .informations-personnage .generation,
.open > .informations-personnage .secte,
.open > .informations-personnage .situation {
	display: block;
}


/* PUCES ET FILETS */
/* ------------------------------------------------------------------------------ */

/* Puce */
.puce {
	position: absolute;
	display: block;
	width: 11px;
	height: 11px;
	border-radius: 100%;
	left: 50%;
	transform: translateX(-50%);
	cursor: pointer;
}
.puce::before {
	content: "";
	display: block;
	position: absolute;
	background-color: #222;
	width: 2px;
	height: 15px;
	top: -15px;
	left: 50%;
	transform: translateX(-75%);
}
.actif {
	background-color: #ff0000;
}
.en-torpeur {
	background-color: #876954;
}
.detruit {
	background-color: #222;
}
.en-voyage {
	background-color: #32CD32;
}
.etat-inconnu {
	background-color: #1560BD;
}
.actif.a-diable {
	background-color: #a00ce3;
}


/* Filets verticaux */
.informations-personnage::before {
	content: "";
	display: block;
	position: absolute;
	background-color: #222;
	width: 2px;
	height: 20px;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	z-index: -1;
}
.personnage.no-after > .informations-personnage::before {
	display: none;
}

/* Filets horizontaux */
.border-horizontal {
	height: 2px;
	display: block;
	background-color: #222;
	position: absolute;
	top: 28px;
}
.after-1 > .descendance > .border-horizontal {
	display: none;
}


/* LEGENDES */
/* ------------------------------------------------------------------------------ */
.legend {
	text-align: center;
	margin-top: 30px;
}

.legend-actif,
.legend-torpeur,
.legend-detruit,
.legend-voyage,
.legend-inconnu,
.legend-actif-diable {
	display: inline-block;
	padding: 0 50px 0 20px;
	position: relative;
}
.legend-actif::before,
.legend-torpeur::before,
.legend-detruit::before,
.legend-voyage::before,
.legend-inconnu::before,
.legend-actif-diable::before {
	content: "";
    display: block;
    position: absolute;
    background-color: black;
    width: 11px;
    height: 11px;
    border-radius: 100%;
    top: 2px;
    left: 0;
}
.legend-actif::before {
	background: #ff0000;
}
.legend-torpeur::before {
	background: #876954;
}
.legend-detruit::before {
	background: #222;
}
.legend-voyage::before {
	background: #32CD32;
}
.legend-inconnu::before {
	background: #1560BD;
}
.legend-actif-diable::before {
	background: #a00ce3;
}


/* RETOUR A L'ACCUEIL */
/* ------------------------------------------------------------------------------ */
.retour {
	text-align: right;
}
.retour a {
	padding: 15px 30px 17px;
	display: inline-block;
	background: #333;
	color: white;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: .5px;
}


/* ACCUEIL */
/* ------------------------------------------------------------------------------ */
#index {
	margin: 50px 0;
}
#index div {
	text-align: center;
}
#index div .btn {
	margin: 0;
	padding: 20px 50px 24px;
	background: #333;
	color: white;
	font-size: 16px;
	letter-spacing: 1px;
	text-decoration: none;
	width: 180px;
	margin: 15px 0;
}
#index div .btn:hover {
	background-color: #003366;
}
