@import "bootstrap.min.css";

/**
 * Définition de couleurs
 */
:root {
    --bs-primary: #B85C38;
    --bs-focus-ring-color: #B85C38;
    --bs-primary-rgb: 184, 76, 56;
    --bs-border-color: #B85C38;
    --bs-btn-border-color: #B85C38;
    --bs-body-text-align: left;
    --bs-info-text-emphasis: #5b3712;
    --bs-info-bg-subtle: #fff0dd;
    --bs-info-border-subtle: #5b3712;
}

/**
 * Trick to keep footer at the bottom of the window if not enough text in the main part
 * Thanks to Stephanie Eckles tutorial: https://moderncss.dev/keep-the-footer-at-the-bottom-flexbox-vs-grid/
 */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  flex-grow: 1;
}

footer {
  margin-top: auto;
  font-size: .8rem;
  padding: 1rem 0 .5rem 0;
}

body {
    color: #333;
}

a {
    color: #8a5b4a;
    text-decoration: underline dotted;
}

a:hover {
    color: #5C3D2E;
}

header {
    padding: 2rem 5rem;
}

footer {
    margin-top: 1.4rem;
    padding: .4rem 5rem;
}

header {
    background: #5C3D2E linear-gradient(90deg, #B85C38FF 0%, #5C3D2E 100%);
    color: white;
}
header .link-body-emphasis {
    color: white !important;
}

nav#navbar ul {
    font-size: 1.1rem;
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

nav#navbar ul li {
    display: inline;
}

h1, h2, h3, h4, h5, h6 {
    color: #B85C38;
}

section {
    border-radius: 1rem;
    padding: 1rem 2rem;
}

footer {
    font-size: .7rem;
    text-align: center;
}

/**
 * Reset default bootstrap colors
 */
.text-primary {
    color: #B85C38 !important;
}

.btn-primary {
  --bs-btn-bg: #B85C38;
  --bs-btn-border-color: #B85C38;
  --bs-btn-hover-bg: #a85535;
  --bs-btn-hover-border-color: #a85535;
  --bs-btn-focus-shadow-rgb: 201,107,68;
  --bs-btn-active-bg: #BD5D37;
  --bs-btn-active-border-color: #BD5D37;
  --bs-btn-disabled-bg: #B85C38;
  --bs-btn-disabled-border-color: #B85C38;
}

.form-check-input:checked {
    background-color: var(--bs-border-color);
    border-color: var(--bs-border-color);
}

.border-primary {
    /*border-color: #B85C38 !important;*/
}

.nav-link {
    color: #B85C38;
}
.nav-link:hover {
    color: #9b5234;
}

.nav-underline .nav-link.active {
    color: #B85C38;
}

th.bg-dark {
    background-color: #5C3D2E;
}
thead tr th,
.table > thead > tr > th,
.table > tfoot > tr > th
{
    background-color: #A45F46;
    color: #fff5de;
}
.table > tfoot > tr > td
{
    background-color: #f1e2dd;
}
.table > * > * {
    border-color: #5C3D2E;
}