@charset "utf-8";
@import 'https://la-passion.fr/css/normalize.min.css' layer(reset);

@font-face {
    font-family: 'Luciole';
    src: url('../fonts/Luciole-Regular.woff2') format('woff2'),
        url('../fonts/Luciole-Regular.woff') format('woff'),
        url('../fonts/Luciole-Regular.ttf') format('truetype'),
        url('../fonts/Luciole-Regular.eot');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --brown: rgba(137, 55, 7, 0.8);
    --silver: rgba(192, 192, 192, 0.5);
    --white: rgba(255, 255, 255, .9);
    --black: rgba(0, 0, 0, 0.8);
    --red: rgba(255, 0, 0, 0.8);
    --green: rgba(0, 128, 0, 0.8);
    --azure: rgba(93, 74, 74, 0.7);
    --aqua: rgba(0, 255, 255, 0.5);
    --blue: rgba(0, 0, 255, 1);
    --yellow: rgba(252, 248, 11, 0.778);
    --orange: rgba(248, 133, 32, 0.749);
    --beige: rgba(248, 206, 143, 0.8);
    --border-radius: 2rem;
    --raduis-haut: 2rem 2rem 0rem 0rem;
    --raduis-bas: 0rem 0rem 2rem 2rem;
    --shadow: .5rem .5rem .1rem .1rem;
}

/* generale */
* {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    /* 1rem = 10px */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    line-height: 1.7rem;
    background: var(--silver);
    font-family: 'Luciole', sans-serif;
}

body {
    font-size: 1.6rem;
    line-height: 1.7rem;
    margin: 0 auto;
    padding: 0;
    word-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    overflow-y: scroll;
}

pre {
    white-space: pre-wrap;
}

img {
    max-width: 99%;
    height: auto;
}

a,
h1,
h2,
h3,
h4,
legend,
button,
.botton {
    line-height: 1.9rem;
    font-size: 19px;
    font-size: 1.9rem;
}

a,
.botton,
button {

    text-align: center;
    text-decoration: none;
    -webkit-transition: 0.8s;
    -o-transition: 0.8s;
    transition: 0.8s;
    word-break: keep-all;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    hyphens: auto;
}

h1 {
    line-height: 2.5rem;
    font-size: 2.4rem;
    text-align: center;
}

h2 {
    line-height: 2.1rem;
    font-size: 2.0rem;
}

p {
    margin-bottom: 5px;
    margin-top: 5px;
}

.green {
    color: var(--green);
    text-shadow: var(--white) 0.1em 0.1em 0.2em;
}

.red {
    color: var(--red);
    text-shadow: var(--white) 0.1em 0.1em 0.2em;
}

.blue {
    color: var(--blue);
    text-shadow: var(--white) 0.1em 0.1em 0.2em;
}

u,
.u {
    text-decoration: underline;
}

.alert {
    display: block;
    margin: auto;
    min-width: 30%;
    max-width: 70%;
    text-align: center;
    padding: 1rem;
    border-radius: 0.5rem;
}
.droitegauche {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ccc;
    padding: 10px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.gauche {
    float: left;
    width: 47%;
}

.droite {
    float: right;
    width: 47%;
}

.success {
    background-color: var(--green);
    color: var(--white);
    text-shadow: var(--black) 0.1em 0.1em 0.2em;
}

.danger {
    background-color: var(--red);
    color: var(--white);
    text-shadow: var(--black) 0.1em 0.1em 0.2em;
}

.info {
    background-color: var(--blue);
    color: var(--white);
    text-shadow: var(--black) 0.1em 0.1em 0.2em;
}

.container {
    margin: auto;
    width: 99%;
    height: 99%;
}

.header {
    padding: .5em;
    top: .5px;
}

main,
.main {
    margin: auto;
    width: 99%;
    border-radius: 1rem;
}


section {
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
    border-radius: .5em;
    padding: 1rem;
}

article {
    margin: auto;
    padding: .5rem;
    margin: .5rem;
    border-radius: .5rem;
    max-width: 99%;
    -webkit-box-shadow: .2rem .2rem .2rem .2rem var(--silver);
    box-shadow: .2rem .2rem .2rem .2rem var(--silver);
    padding: 1rem;
}

.vertical {
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
}

.article {
    margin: auto;
    padding: .5rem;
    margin: .5rem;
    border-radius: .5rem;
    max-width: 99%;
    -webkit-box-shadow: .2rem .2rem .2rem .2rem var(--silver);
    box-shadow: .2rem .2rem .2rem .2rem var(--silver);

}

.reduit {
    max-width: 40%;
    max-height: auto;
}

.article {

    margin: auto;
    width: 95%;
}

*[hidden],
.hidden {
    display: none;
}

.center {

    text-align: center;
}

input:invalid:required,
textarea:invalid:required {
    border-bottom: var(--red) solid 0.3rem;

}

input:valid:required,
textarea:valid:required {
    border-bottom: var(--green) solid 0.3rem;

}

input:invalid:required+span:after,
textarea:invalid:required+span:after {
    color: var(--red);
    padding-left: 0.5%;
    content: '?';
}

input:valid:required+span:after,
textarea:valid:required+span:after {
    color: var(--green);
    padding-left: 0.5%;
    content: '?';
}


canvas {
    border: 1px solid black;
    max-width: 100%;
    max-height: 100%;
}

input,
textarea,
select {
    max-width: 98%;
    min-width: 5%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border-bottom: solid 0.5rem var(--silver);

}

table {
    word-wrap: break-word;
    vertical-align: middle;
    width: var(--max);
}

thead {
    line-height: 2.0rem;
    font-size: 1.9rem;
    border-radius: var(--radius);
    border-color: var(--white);
    color: var(--white);
    background-color: var(--brown);

    border-bottom: 2px solid var(--azure);
    text-align: center;
    background-color: var(--brown);
    text-shadow: var(--black) var(--shadow) 0.2em;
}

tbody {

    border-radius: var(--radius);
}

caption,
th,
td {
    border-radius: var(--radius);
    border: 1px solid var(--azure);
    padding: var(--pading);
    width: var(--max);
}

tfoot {
    line-height: 2.0rem;
    font-size: 1.9rem;
    border-radius: var(--radius);
    border-bottom-style: solid;
    border-color: var(--white);
    border-top: 2px solid var(--azure);
    border-radius: var(--radius);
    color: var(--black);
    text-align: center;
    background-color: var(--brownC);
    text-shadow: var(--azure) var(--shadow) 0.2em;
}

tbody tr:nth-child(odd) {
    background: var(--beige);
}

tbody tr:nth-child(even) {
    background: var(--silver);
}


table tr.total td:nth-child(2) {
    border-top: 2px solid #eee;
    font-weight: bold;
}

table tr.top table td {
    padding-bottom: 20px;
}

table tr.top table td.title {
    font-weight: bold;
    text-align: center;
    color: var(--silver);
}

table tr.information table td {
    padding-bottom: 40px;
}

table tr.heading td {
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

table tr.details td {
    padding-bottom: 20px;
}

table tr.item td {
    border-bottom: 1px solid #eee;
}

table tr.item.last td {
    border-bottom: none;
}


ul {
    list-style: none;
}

li {
    border-top: 0.1rem solid var(--black);
}

caption
{

    border: 2px solid var(--black);
    padding: 1em;
}

fieldset {

    margin-top: 2em;
    margin-bottom: 2em;
    padding: .5em;
    font-size: 1.6rem;
    border: solid 1px rgba(var(--black), 0.2);
    border-radius: 0.5em;
    -webkit-box-shadow: .2rem .2rem .2rem .2rem var(--silver);
    box-shadow: .2rem .2rem .2rem .2rem var(--silver);
}

legend {
    padding: 1em;
    font-size: 1.9rem;

}

.field {

    padding-top: .5em;
    padding-bottom: .5em;
    border-color: rgba(var(--black), 0.2);

}

.footer {
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 20%;
    width: 99%;
    text-align: center;

    padding: .5rem;
}

.clearfix {
    overflow: auto;
}

.carousel {
    width: 480px;
    overflow: hidden;
    position: relative;
    margin: auto;
    background: var(--beige);
    -moz-border-radius: var(--border-radius);
    -webkit-border-radius: var(--border-radius);
    -khtml-border-radius: var(--border-radius);
    border-radius:var(--border-radius);
    border: var(--azure) .3rem solid;
    -webkit-box-shadow: var(--shadow) var(--silver);
    box-shadow: var(--shadow) var(--silver);
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 99%;

}
.petit {
    width: 8.5rem;
}