@charset "UTF-8";

/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --accent: #010A73;
    --accent-light: rgb(0, 159, 227);

    --success: rgb(162, 198, 23);
    --warning: #efd500;
    --error: #c00;

    --text-light: #fff;
    --text-dark: #333;
    --border-light: #fff;

    --espace: 20px;
    --rayon: 8px;
}


/* =========================================================
   GÉNÉRAL
   ========================================================= */

body {
    margin: 0;
    background: var(--text-dark);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
}

h1,
h2 {
    color: var(--accent);
}

hr {
    height: 2px;
    margin: var(--espace) 0;
    border: 0;
    background: var(--accent);
}


/* =========================================================
   LIENS
   ========================================================= */

a:link,
a:visited,
a:active {
    color: var(--accent);
}

a:hover {
    color: var(--text-light);
    background: var(--accent);
}


/* =========================================================
   CADRES
   ========================================================= */

.FrameA {
    position: relative;
    background: var(--text-light);
}

.FrameA::before {
    content: "";
    position: absolute;
    top: 15px;
    right: 15px;
    width: 300px;
    aspect-ratio: 300 / 135;
    background: var(--text-light) url("/assets/2025/BIECTR-Logo-15e-Noir.png") no-repeat;
    background-size: 300px;
}

#hebergement1 {
    text-decoration: none;
    page-break-after: always;
}

.detail {
    display: none;
    margin-top: 0;
    padding-top: 0;
}


/* =========================================================
   MESSAGES
   ========================================================= */

.erreur {
    padding: 8px;
    background: var(--warning);
}

.bon {
    padding: 8px;
    background: var(--text-light);
}

.error {
    color: var(--error);
}


/* =========================================================
   TABLEAUX
   ========================================================= */

.tableau td {
    padding: 8px 0;
}

.tableform {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
}


/* =========================================================
   FORMULAIRES
   ========================================================= */

input,
select {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    line-height: normal;
}

input {
    padding: 4px;
}

select {
    padding: 0;
}

input[type="file"],
input[type="button"],
input[type="submit"] {
    min-width: 175px;
    padding: 10px;
    border: 0;
    outline: 0;
    background: var(--accent);
    color: var(--text-light);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

input[type="submit"] {
    padding: 10px 20px;
}


/* =========================================================
   FORMULAIRES CACHÉS / VISIBLES
   ========================================================= */

.hiddenform,
.hiddenform-error {
    padding: 2px;
    border: 1px solid var(--border-light);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    color: #036;
}

.hiddenform-error {
    background: var(--warning);
}

.showform {
    padding: 2px;
    border: 1px solid var(--accent-light);
    background: var(--text-light);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    color: var(--accent-light);
}


/* =========================================================
   SÉLECTION
   ========================================================= */

#selection {
    position: relative;
    top: 300px;
    left: 25px;
    background: #ccc;
}


/* =========================================================
   ÉTATS ACTIFS
   ========================================================= */

.active {
    background: var(--success);
    color: var(--text-light);
}

.active input[type="file"],
.active input[type="button"],
.active input[type="submit"] {
    background: var(--text-light);
    color: var(--accent);
}