:root {
  --bleu: #204c9e;
  --bleu2: #05409c;
  --blanc: #fff;
  --noir: #000;
  --gris: #ececec;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  margin: 0;
}

header {
  background-color: var(--blanc);
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  /* padding: 20px 0; */
}

header img {
  display: block;
  max-width: 1024px;
  width: 100%;
}

/* Bandeau loi 96 */
#bandeau-alerte-anglais {
  margin-bottom: 40px;
  padding: 16px 0px;
  background-color: #dae6f0;
}

#bandeau-alerte-anglais .container {
  max-width: 1054px;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
}

#bandeau-alerte-anglais p {
  color: #223654;
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: normal;
  font-family: 'Open Sans', sans-serif;
  margin: 0;
}

#bandeau-alerte-anglais a {
  color: #095797;
  text-decoration: underline;
  cursor: pointer;
}

#bandeau-alerte-anglais a:hover {
  text-decoration: none;
}

/* Intro */
#intro-container {
  margin: 0px 20px;
}

#intro {
  border: 1px solid var(--bleu);
  padding: 10px 20px;
  margin: 0 auto 40px auto;
  max-width: 1024px;
}

#intro .center {
  text-align: center;
}

/* Filtre */
#filtre {
  background-color: var(--blanc);
  margin: 0 auto;
  max-width: 1024px;
  padding: 10px 20px;
  position: relative;
  width: 100%;
}

#filtre.fixed {
  position: fixed;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
}

select {
  appearance: none;
  background: transparent;
  background-image: url('../images/crochet-bas.svg');
  background-size: 0.75em 0.75em;
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) calc(0.5em + 5px),
    calc(100% - 10px) calc(0.5em + 0px), 100% 0;
  border-radius: 0;
  border: 1px solid var(--bleu);
  color: var(--bleu);
  height: 40px;
  font-size: 18px;
  padding-left: 15px;
  padding-right: 30px;
  outline: none;
  width: 100%;
}

/* .fleches {
  position: absolute;
  right: 30px;
  bottom: 5px;
}

.fleches:after {
  content: '';
  border: 7px solid transparent;
  border-color: var(--bleu) transparent transparent transparent;
} */

/* Category */
.category,
.partners-title {
  background-color: var(--bleu);
  color: var(--blanc);
  padding: 20px 10px;
}

.partners-title {
  margin-bottom: 40px;
}

.category p,
.partners-title p {
  margin: 0;
}

.partners-container {
  text-align: center;
}

.partners-container img {
  display: block;
  /*margin: 0 auto 80px auto;
  width: 300px;*/
}

@media (min-width: 768px) {
  .partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 0px 100px;
  }
  /*.partners-container img {
    width: auto;
    margin: 0;
  }*/
}

/* Entreprise */
#liste-entreprise {
  margin: 40px auto;
  padding: 0 20px;
  max-width: 1024px;
}

.entreprise {
  border-bottom: 1px solid var(--bleu);
  padding: 30px 0px;
}

.entreprise:first-child {
  padding-top: 0px;
}

.entreprise .img {
  text-align: center;
}

.entreprise .img img {
  display: inline-block;
  /* width: 100%; */
}

.entreprise .details a {
  color: var(--bleu);
  font-weight: bold;
}

.entreprise .details a:hover {
  text-decoration: none;
}

.entreprise .details p:first-child,
.entreprise .details p:nth-child(2) {
  text-align: center;
}

.entreprise .details p:has(strong) {
  margin-bottom: 5px;
}

.entreprise .details p:has(strong) + p {
  margin-top: 5px;
}

@media (min-width: 768px) {
  .entreprise {
    align-items: center;
    display: flex;
    gap: 40px;
  }

  .entreprise .img {
    max-width: 300px;
    display: flex;
    flex-basis: 35%;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
  }

  .entreprise .img img {
    display: block;
  }

  .entreprise .details {
    flex-basis: 65%;
  }

  .entreprise .details p:first-child,
  .entreprise .details p:nth-child(2) {
    text-align: left;
  }
}

/* For more info */
.for-more-info {
  background-color: var(--bleu);
  font-size: 24px;
  padding: 20px;
  text-align: center;
}

.for-more-info a {
  color: var(--blanc);
}

/* Footer */
footer {
  background-color: var(--gris);
  font-size: 10.5px;
  text-align: center;
  padding: 40px 0;
}

footer p {
  margin: 0;
  padding: 0;
}

footer a {
  color: #095da6;
  text-decoration: none;
}

footer img {
  height: 35px;
}
