.los-main-container {
  display: flex;
}

#top .los-info i::before {
  padding: 7px;
}

.los-main-content {
  min-width: 75%;
}

#top .los-full-container {
  display: block;
}

/*Tuiles globales*/
.los-content-card {
  transition: 0.1s;
  display: flex;
  flex-direction: row;
  margin-bottom: 2em;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 5px;
  background-color: white;
  border-radius: 7px;
  overflow: hidden;
  width: 100%;
}

.los-content-card:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

/*Entête des tuiles */

/*Image à gauche de la tuile*/
.los-content-image {
  width: 33.33%;
  overflow: hidden;
  border-radius: 7px 0 0 7px;
}

.los-content-line {
  height: 2em;
}

.los-content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.los-content-line {
  display: flex;
  height: 100%;
  align-items: center;
}

.los-separateur {
  margin: -0.1% 1%;
}

#top #wrap_all .main_color .los-icone-a {
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: bold;
}

.los-width-constraint {
  display: inline !important;
}

/*Content à droite de l'image ou absolu*/
.los-card-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-width: 70%;
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
  border-radius: 0 7px 0 0;
}

.los-card-titre-bloc {
  border-radius: 7px 7px 0 0;
}

.los-card-titre {
  padding: 0.5em 0;
  display: flex;
  justify-content: space-between;
  border-bottom: none;
  background-color: #f5f5f5;
  border-radius: 0 7px 0 0;
}

#top #wrap_all .los-card-titre h2 {
  margin: 0;
}

/*Bas des tuiles -> Si besoin */
.los-tuile-footer {
  padding: 0.5%;
  display: flex;
  justify-content: space-between;
}

/*Contenus des tuiles */
.los-tuile-content {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  padding: 1em 0.7em;
}

/*Lignes des badges*/
.los-badge {
  display: inline-block;
  min-width: 10px;
  font-weight: bold;
  color: #000000;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
  border: 1px solid #e1e1e1;
  border-radius: 1rem;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 5px;
  padding: 0.5em;
}

.los-badge-liste {
  display: flex;
  gap: 0.2em;
  flex-wrap: wrap;
  margin: 0.5em 0;
}

#cercle,
.cercle {
  width: 10px;
  height: 10px;
  border-radius: 20px;
  margin-right: 6px;
}

.los-label-statut {
  text-wrap: nowrap;
}

#top .los-badge-cercle.cercle {
  height: 38px;
}

.los-badge-cercle-picto.cercle {
  margin-right: -20px;
}

/*  Modified the second span */
.los-badge-cercle.cercle > span:last-of-type {
  padding: 12px 1rem 12px 1rem;
  border-radius: 20px;
}

.los-badge-cercle {
  padding: 12px 1rem 12px 0;
  display: flex;
  margin: 0 0.5rem;
  font-size: 1rem !important;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  font-weight: bold;
}

.los-badge-cercle-picto {
  background: #878787;
  display: inline-flex;
  margin: 0;
  padding: 12px;
}

#top .los-badge-cercle.los-element-pastille {
  padding: 5px;
  margin: 0;
  background: #edf1f5;
  border-radius: 10px;
  gap: 3px;
  height: fit-content;
}

.los-card-epuree .los-content-line {
  gap: 10px;
  height: fit-content;
}

.los-card-epuree .los-content-line.los-ligne-pastille {
  margin-top: 10px;
}

.los-badge-cercle.los-element-pastille .los-badge-cercle-picto {
  padding: 7px;
}

.los-badge-pastille {
  width: 20px;
  height: 20px;
  border-radius: 20px;
  margin-right: 6px;
  margin: 0.155%;
}

/*Blocs gauche et droite pour header et footer de la tuile */
.los-content-left,
.los-content-right {
  display: flex;
  align-items: center;
  justify-content: end;
}

.los-content-left {
  margin-left: 0.5em;
}

.los-content-right {
  flex-direction: initial;
  gap: 0.5rem;
  margin-right: 0.5em;
}

.los-content-right i {
  font-size: 25px;
  margin: 0;
}

.los-content-right a {
  margin: 0;
}

/*CSS des boutons d'actions */
.los-tuile-btn {
  margin: 0;
  width: 100%;
}

.los-tuile-btn a {
  margin-left: 1.5%;
}

/*CSS pour ligne avec le liseré à droite du texte */
#top .los-card-text {
  margin-top: 10px;
  border-left: 1px solid var(--main_color_primary);
  padding-left: 10px;
  margin-left: 5px;
  gap: 10px;
}

/* TUILE EPUREE */
.los-card-epuree {
  padding: 30px 10px;
  min-height: 300px;
}

.los-card-epuree .los-card-body {
  padding-left: 10px;
  padding-right: 20px;
}

.los-card-flag {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.los-content-flag {
  text-transform: uppercase;
  font-weight: bold;
  font-size: smaller;
  width: 100%;
}

.los-card-epuree .los-card-titre {
  padding: 0;
  flex-direction: column;
  justify-content: baseline;
}

.los-card-epuree .los-card-titre .los-content-left {
  justify-content: start;
}

.los-card-epuree .los-tuile-content {
  gap: 10px;
}

.los-card-epuree .los-content-left {
  margin: 0;
}

.los-card-epuree .los-badge-cercle.cercle {
  margin-right: 25px;
  padding: 0;
}

.los-card-epuree .los-badge-cercle-picto.cercle {
  margin: 0;
}

.los-card-epuree .los-badge-cercle.cercle > span:last-of-type {
  padding: 0;
}

.los-card-epuree .los-content-image {
  padding: 0px 20px;
  width: 44%;
}

.los-card-epuree .los-content-image img {
  border-radius: 0.5em;
}

.los-card-epuree .los-card-titre {
  background-color: unset;
}

.los-card-epuree .los-tuile-content {
  padding: 0;
  height: 100%;
}

#top .los-card-epuree .los-card-text {
  border-left: none;
  padding-left: 0;
  margin-left: 0;
}

.los-card-epuree .los-tuile-btn {
  justify-content: start;
  margin-top: auto;
  margin-bottom: 5px;
}

.los-card-epuree .los-tuile-btn a {
  margin: 0;
}

/* TUILE IMAGE */
#top .los-liste-image {
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.los-content-card.los-card-image {
  flex-direction: column;
  width: 500px;
  height: 350px;
}

.los-card-image .los-content-image {
  width: 100%;
  height: 250px;
}

.los-card-image .los-card-titre {
  background-color: unset;
  padding: 10px 5px;
  height: 120px;
  text-align: center;
  display: block;
}

/*CSS Responsive */
@media (max-width: 768px) {
  .content .entry-content-wrapper {
    max-width: 100%;
  }

  .los-card-titre,
  .los-card-body,
  #top .los-content-image,
  .los-content-img img,
  .los-content-card,
  .los-content-card .card-body,
  .los-card-body {
    width: 100%;
  }

  .los-card-flag {
    display: block;
  }

  .los-card-epuree .los-card-body,
  .los-card-epuree .los-content-image,
  .los-card-epuree .los-tuile-content {
    padding: 0;
  }

  .los-card-epuree .los-badge-cercle.cercle {
    margin: auto;
    width: fit-content;
  }

  .los-content-card.los-card-epuree {
    padding: 10px;
  }

  #top .los-content-flag {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
  }

  #top .los-content-flag span {
    width: 100%;
  }

  .los-content-line {
    height: auto;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.4;
  }

  .los-content-card {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  #top .los-content-card.los-card-epuree,
  #top .los-content-card.los-card-epuree .los-card-body,
  #top .los-content-card.los-card-epuree .los-content-left, #top .los-content-card.los-card-epuree .los-content-right,
  #top .los-content-card.los-card-epuree .los-content-left h2, #top .los-content-card.los-card-epuree .los-content-right h2 {
    text-align: left;
  }

  #top .los-content-card.los-card-epuree .los-content-line {
    align-items: baseline;
  }

  #top .los-content-card.los-card-epuree .los-content-left {
    font-size: small;
  }

  .los-card-epuree .los-content-line.los-ligne-pastille {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    gap: 5px;
  }

  .los-card-body {
    text-align: center;
    border-radius: 0 7px 0 0;
  }

  .los-content-img img {
    max-height: 190;
  }

  .los-card-titre {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    border-radius: 0 7px 0 0;
  }

  .los-tuile-footer {
    align-items: flex-start;
    height: auto;
  }

  .los-content-right {
    flex-direction: revert;
    font-size: 20px;
  }

  #top .los-content-left,
  #top .los-content-right {
    display: block;
    text-align: center;
    width: 100%;
  }

  #top .los-content-left h2,
  #top .los-content-right h2 {
    text-align: center;
  }

  .los-content-right i {
    font-size: 20px;
  }

  .los-content-right i {
    font-size: 20px;
  }

  .los-badge-liste {
    justify-content: center;
  }

  .los-content-right,
  .los-content-left {
    margin: 0;
  }

  .los-dispositif-image {
    width: 100%;
    margin: auto;
  }
}

@media (max-width: 480px) {
  .los-content-left {
    font-size: 18px;
  }

  .los-content-right {
    font-size: 18px;
  }

  .los-content-right i {
    font-size: 18px;
  }

  .colored-tag-label {
    font-size: 14px;
  }
}
