

/* FONTS---------------*/

:root {
    --fond: #d6edff;
    --rouge: #8b1c1d;
    --noir: #003463;
}

.suppr {
    color: var(--noir);
    opacity: .5;
    display: inline-block;
    margin-top: 16px;
    font-size: .9em;
}


/* GENERAL---------------*/

* {
    margin: 0;
    box-sizing: border-box;
    outline: none;
}

*:focus-visible {
    outline: 3px solid #f90;
}

button::-moz-focus-inner {
    border: 0;
}

body {
    background: var(--fond) url(img/couronne.jpg);
    font: 1.2em/1.4em serif;
    color: var(--noir);
    display: grid;
    grid-template-rows: 1fr auto;
    grid-template-columns: 100%;
    min-height: 100vh;
}

/*IE*/
_:-ms-fullscreen, :root body {
    display: block;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
    display: block;
    color: rgba(0,0,0,.2);
}

.tableau {
    overflow-x: auto;
}

table {
    border-collapse: collapse;
    font-size: 1em;
}

th,
td {
    background: #eee;
    padding: 7px 10px;
}

th {
    text-align: left;
    background: #333;
    color: #eee;
}

tr:nth-child(2n) td {
    background: #ddd;
}

iframe {
    border: 0;
    max-width: 100%;
}

ul {
    list-style: none;
    padding-left: 0;
}

hr {
    border: 0;
    height: 1px;
    background: #788;
    margin: 20px 0;
}

sup {
    display: inline-block;
    margin-top: -6px;
    position: relative;
    top: 2px;
    font-size: .8em;
}

h1,
h2,
h3 {
    text-align: left;
}

h1 {
    font: bold 2em/1em serif;
    margin-bottom: 40px;
}

h2 {
    font: bold 1.2em/1em serif;
    margin: 30px 0;
    color: var(--rouge);
}

::selection {
    background: var(--rouge);
    color: #fff;
}

a {
    color: var(--rouge);
}

a:hover {
    opacity: .8;
}

a[href^=mailto] {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

a[href^=tel] {
    font-size: 1.2em;
    font-weight: bold;
}

.ancre {
    position: absolute;
    margin-top: -50px;
}

.centre {
    width: 1100px;
    margin: 0 auto;
    position: relative;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}


/* INPUTS---------------*/

input[type=submit],
main button,
.bouton,
a em,
em a {
    font: bold 1em serif;
    background: linear-gradient(#c30003, #c30003, var(--rouge));
    color: #fff;
    text-shadow: 0 -2px 0 #830000;
    padding: 12px 15px 13px;
    border: 1px solid #7c0000;
    border-radius: 8px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    white-space: normal;
    -webkit-appearance: none;
}

input[type=submit]:hover,
main button:hover,
.bouton:hover,
a em:hover,
em a:hover {
    opacity: .8;
}

input[type=text],
input[type=password],
input[type=email],
input[type=tel],
input[type=number],
textarea,
select {
    font: inherit;
    font-size: 1.1em;
    background: #fff;
    color: var(--noir);
    padding: 10px 10px;
    border: 1px solid #aaa;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    margin-bottom: 10px;
    box-shadow: inset 5px 5px 5px #eee;
}

select,
label {
    cursor: pointer;
}

label {
    display: block;
    font-size: .9em;
    text-align: left;
}

textarea {
    width: 100% !important;
}

.erreur {
    color: #800;
    margin-top: 10px;
}

/* HAUT----------------------*/
header {
    background: #fff;
    width: 100%;
    height: 80px;
    box-shadow: 0 5px 5px rgba(0,0,0,.1);
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 1000;
}

#logo {
    padding: 10px;
    max-width: 70px;
    transition: .2s;
}

#nom {
    line-height: 1em;
}

#nom b {
    color: #a00;
    font-size: 1.2em;
}

.pousse {
    flex: 1;
}

/*menu*/

#menu {
    display: flex;
    flex-direction: column;
}

#principal {
    display: flex;
}

#principal li a,
#principal li button {
    display: block;
    padding: 8px 15px 10px;
    cursor: pointer;
    position: relative;
    font: inherit;
    font-weight: bold;
    border: 0;
    background: none;
    -webkit-appearance: none;
    color: var(--rouge);
}

#principal a {
    font-weight: bold;
}

.opacite-menu {
    opacity: .24;
}

/*menu fixe*/

/* .fixe {
    position: fixed !important;
}

.fixe #logo {
    padding: 0px 10px;
    max-width: 55px !important;
} */


/* MILIEU--------------------*/

#normale {
    padding: 140px 0 40px;
}

#normale ul {
    padding-left: 1em;
    list-style: circle;
}

#normale li {
    margin: 7px 0;
}

#normale span[style*='underline'] {
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1.4em;
    text-decoration: none !important;
}

.bento {
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    margin-bottom: 24px;
}

.bento h2 {
    margin-top: 0 !important;
}

.bento i {
    font-style: normal;
    font-size: .9em;
    opacity: .6;
}

.rond {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin-right: 8px;
}

.tete {
    align-items: center;
    margin-bottom: 16px;
}

.tete h2 {
    flex: 1;
    margin-bottom: 0;
}

/* BAS-----------------------*/
footer {
    background: var(--rouge);
    padding: 30px 0;
}
