/* Serveur personnel AB 14.03.2023 */

/* dominion.php / Dominion  ------------------------------------------------------------------------ */
section.dominion {
	max-width: 100%;
	color: black;
	}
section.dominion div.kingdom {
	margin-top: 2em;
	}
section.dominion div.base {
	margin-top: 2em;
	font-size: 70%;
	}

/* TITRES */
section.dominion h1 button {
	margin-left: 2em;
	font-size: 80%;
	font-weight: bold;
	}
#logTitle {
	margin-bottom: 0em;
	}

/* FIGURES */
section.dominion figure {
	position: relative;
	display: inline-block;
	margin: 0.1em;
	}
section.dominion figure.split2{
	margin-left: -0.35em;
	}
section.dominion figure a {
	font-size: 0;
	}
section.dominion figure img.card{
	width: 200px;
	height: 320px;
	}
section.dominion figure img.landscape{
	width: 320px;
	height: 200px;
	}
section.dominion figure img.split1{
	width: 140px;
	height: 224px;
	}
section.dominion figure img.split2{
	width: 140px;
	height: 224px;
	}
section.dominion figure img.baseCard{
	width: 140px;
	height: 224px;
	}
section.dominion figcaption {
	color: black;
	font-size: 100%;
	font-weight: bold;
	text-transform: uppercase;
	border: 1px solid black;
	background-color: lightgray;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	width: 198px;
	}
section.dominion figcaption.landscape {
	width: 318px;
	}
section.dominion figcaption.bane {
	background-color: blue;
	color: white;
	vertical-align: top;
	height: 318px;
	width: 18px;
	margin-right: -5px;
	display: inline-block;
	writing-mode: vertical-lr;
	text-orientation: upright;
	border: 1px solid black;
	}
section.dominion figcaption.baneTop {
	width: 218px;
	}
section.dominion div.base figcaption {
	width: 138px;
	}
section.dominion figure a.reroll {
	display: block;
	position: absolute;
	top: 55px;
	right: 15px;
	}

/* FORMULAIRES */
section.dominion div.boutons {
	padding-top: 2px;
	padding-bottom: 2px;
	margin-top: .5em;
	margin-bottom: 1em;
    }
section.dominion div.boutons span.params {
	margin-bottom: .5em;
    }
section.dominion div.boutons input {
	margin-right: 0.5em;
	vertical-align: middle;
    }
section.dominion div.boutons span.catLabel {
	margin-left: 1em;
	margin-right: 0.5em;
	}
section.dominion div.boutons input.number {
	width: 2.5em;
	margin-left: 0;
	margin-right: 0;
    }
section.dominion div.boutons input.slider {
	display: block;
	width: 5em;
	margin: auto;
	margin-bottom: .5em;
    }
section.dominion span.row {
	display: block;
    }
section.dominion div.boutons div.tile{
	display: inline-block;
	vertical-align: top;
	margin-left: .5em;
	margin-right: .5em;
    }
section.dominion form.selector {
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: GhostWhite;
	}
section.dominion form.selector button {
	margin-left: .5em;
	margin-right: .5em;
    }
section.dominion form.presets {
	display: inline-block;
	margin-left: .5em;
	margin-right: .5em;
    }
section.dominion button.audio {
	margin-left: 2em;
	font-size: 100%
    }
section.dominion button.plus {
	width: 1.6em;
    }
section.dominion div.bottomForms {
	margin-top: 3em;
	padding: 2px;
    }
section.dominion div.bottomForms p {
	margin: .5em;
    }
section.dominion form.seed {
	display: inline-block;
    }
section.dominion form.seed button {
	font-size: 80%;
	margin-left: 0.5em;
	color: gray;
    }
section.dominion form.seed input {
	width: 12em;
	font-size: 80%;
	color: gray;
    }
section.dominion form.removedForm {
	margin-top: 1em;
	display: none;
    }
section.dominion form.removedForm input,
section.dominion form.removedForm textarea,
section.dominion form.removedForm button{
	font-size: 80%;
	vertical-align: middle;
	}
section.dominion form.boutons button {
	font-size: 80%;
    }
section.dominion div.logForms {
	display: inline-block;
	margin-left: 1em;
	margin-right: 1em;
	margin-top: .5em;
    }
section.dominion form.log {
	display: inline-block;
	margin-left: .5em;
	margin-right: .5em;
    }
section.dominion form.log button {
	color: gray;
	font-size: 80%;
    }
section.dominion form.log select {
	font-size: 80%;
    }
section.dominion form.review button {
	font-size: 80%;
    }
section.dominion table {
	margin: auto;
	margin-top: 1em;
	margin-bottom: 1em;
	border-collapse: collapse;
	background-color: white;
	}

/* TABLEAUX */
section.dominion table,
section.dominion th,
section.dominion td {
	border: 1px solid black;
	padding: 5px;
	}
section.dominion th {
	background-color: black;
	color: white;
	cursor: pointer;
}
section.dominion table form {
    display: inline;
	}
section.dominion div.complicated {
	width: 80%;
	margin: auto;
	text-align: left;
}
section.dominion div.complicated td {
	border: 1px solid black;
	vertical-align: top;
}

/* COULEURS POUR STATUS DES CARTES */
section.dominion .normal {
	background-color: lightgray;
}
section.dominion .boring {
	background-color: Khaki;
}
section.dominion .overwhelming {
	background-color: LightCoral;
}
section.dominion .removed {
	background-color: black;
	color: white;
}
section.dominion .nonSupply {
	background-color: white;
}

/* AUTRES CONTENUS */
section.dominion div.recommended {
	margin-top: 2em;
}
section.dominion div.links {
	width: 50%;
	margin: auto;
	text-align: left;
}
section.dominion div.recommended a {
	margin: 1em;
	white-space: nowrap;
}

/* Natels */
@media screen and (max-width: 1100px){
	section.dominion {
		font-size: 120%;
		padding-top: 2px;
	}
	section.dominion div.links{
		font-size: 150%;
	}
	section.dominion form{
		font-size: 150%;
		padding: 5px;
	}
	section.dominion figcaption {
		font-size: 90%;
	}
	section.dominion figcaption.bane {
		font-size: 60%;
	}
	section.dominion figcaption.split {
		height: 19px;
		font-size: 60%;
		top: 10px;
	}
	section.dominion h1,
	section.dominion h2,
	section.dominion div.kingdom,
	section.dominion div.base,
	section.dominion div.bottomForms	{
		margin-top: 0.1em;
		margin-bottom: 0.2em;
	}
	section.dominion input[type=checkbox],
	section.dominion input[type=range]{
		transform: scale(2);
	}
	section.dominion a.reroll{
		transform: scale(1.5) translateY(15px);
	}
	section.dominion div.boutons input.slider{
		width: 2em;
		margin-top: 20px;
	}
	section.dominion div.links {
		width: 80%;
	}
	section.dominion form.removedForm span.label,
	section.dominion form.removedForm button,
	section.dominion form.removedForm textArea {
		display: block;
		margin: auto;
		font-size: 70%;
		padding: 5px;
	}
}
