
/*
Copyright (C) Rémi Pierronnet - All Rights Reserved
Unauthorized copying of this file, via any medium is strictly prohibited
Proprietary and confidential
Written by Rémi Pierronnet <remi.conception@hotmail.fr>, January 2020 
*/

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

html, body {
	min-height: 100vh;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
}

body {
    background-color: var(--albatre);
    font-family: sans-serif;
    font-size: medium;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    color: var(--aniline);
}

@-ms-viewport {
	width: device-width;
	initial-scale: 1.0;
}

@-o-viewport {
	width: device-width;
	initial-scale: 1.0;
}

@viewport {
	width: device-width;
	initial-scale: 1.0;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bolder;
	margin-top: 0;
	margin-bottom: 0.5em;
}

h1 { 
	font-size: 1.8em; 
	margin-top: 0.5em;
}

h2 { font-size: 1.6em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1.0em; }
h6 { font-size: 0.8em; }

article {
	padding: 0.5em;
}

p {
	margin-top: 0.25em;
	margin-bottom: 0.5em;
	text-indent: 1em;
    text-align: justify;
    word-wrap: break-word;
	letter-spacing: 1px;
}

a {
	font-weight: bold;
	color: var(--electrique);
	text-decoration: none;
}

a:hover {
	color: var(--pomme);
}

ul, ol {
	margin: 0.5em;
	margin-left: 4em;
}

li {
	margin: 0.2em;
	text-align: justify;
    word-wrap: normal;
	letter-spacing: 1px;
}

strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

abbr {
	text-transform: uppercase;
    text-decoration-line: underline;
    text-decoration-style: dotted;
}

blockquote::before {
	content: '“ ';
}

blockquote::after {
	content: ' ”';
}

blockquote {
	display: block;
	margin-top: 0.25em;
	margin-bottom: 0.25em;
	text-align: justify;
	font-style: italic;
}

pre {
	font-family: monospace;
	font-size: 0.8em;
	border: 1px solid var(--cendre);
	border-radius: 3px;
	padding: 0.5em;
}

code {
	font-family: monospace;
	font-size: 0.8em;
	padding: 0.2em;
}

img {
	margin: 0.5em;
}

form {
	font-size: 1em;
}

fieldset {
	border: none;
	margin: 1em;
	padding: 1em;
}

legend {
	font-size: 1.4em;
	font-weight: bold;
	margin-left: 1em;
	margin-right: 1em;
	padding-left: 1em;
	padding-right: 1em;
}

label {
	font-weight: bold;
	padding: 0.25em;
}

input, textarea, select {
	background: none;
	border: 1px solid var(--cendre);
	border-radius: 3px;
	font-size: 1em;
	padding: 0.5em;
	margin: 0.25em;
}

textarea {
	width: 100%;
}

[type=text]:focus, textarea:focus, select:focus {
	border: 4px solid var(--cendre);
	border-radius: 4px;
	border-style: inset;
}

[type=checkbox], [type=radio] {
	width: 1em;
	height: 1em;
}

[type=checkbox]:checked, [type=radio]:checked {
	width: 1.3em;
	height: 1.3em;
}

select, option, optgroup {
	background: none;
}

[type=submit], [type=reset], [type=button] {
	background: var(--ardoise);
	color: var(--albatre);
	font-weight: bold;
	border: 1px solid var(--cendre);
	border-radius: 3px;
	font-size: 1em;
	padding: 0.5em;
	margin: 0.25em;
}

[type=submit]:hover, [type=reset]:hover, [type=button]:hover {
	background: var(--ardoise);
}

table {
	margin-left: 1em;
	margin-right: 1em;
	margin-bottom: 0.5em;
	margin-top: 0.5em;
	min-width: 40vw;
}

table, td, th {
	border-collapse: collapse;
	border: 1px solid var(--cendre);
}

caption {
	display: table-caption;
	text-align: right;
	font-weight: lighter;
	caption-side: top;
}

thead, th {
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	background: var(--ardoise);
}

tbody.bande tr:nth-child(even) td {
    background: var(--anthrasite);
    color: var(--cendre);
}

td, th {
	padding-left: 1em;
	padding-right: 1em;
	padding-bottom: 0.5em;
	padding-top: 0.5em;
	border-left: none;
	border-right: none;
}

td {
	text-align: left;
	vertical-align: bottom;
}

td.numerique {
	text-align: right;
	font-variant: common-ligatures tabular-nums;
}

tfoot {
	font-weight: bold;
}