.mds-h1.med-heading,
h1.med-heading{
    margin: 24px 0;
}
.mds-h2.med-heading,
h2.med-heading{
    margin: 20px 0;
}
.mds-h3.med-heading,
h3.med-heading{
    margin: 16px 0;
}
.mds-h4.med-heading,
h4.med-heading{
    margin: 12px 0;
}
.mds-h5.med-heading,
h5.med-heading{
    margin: 8px 0;
}
.mds-h6.med-heading,
h6.med-heading{
    margin: 4px 0;
}

@media (min-width: 900px) {
    .mds-h1.med-heading,
    h1.med-heading{
        margin: 32px 0;
    }
    .mds-h2.med-heading,
    h2.med-heading{
        margin: 24px 0;
    }
    .mds-h3.med-heading,
    h3.med-heading{
        margin: 20px 0;
    }
    .mds-h4.med-heading,
    h4.med-heading{
        margin: 16px 0;
    }
    .mds-h5.med-heading,
    h5.med-heading{
        margin: 12px 0;
    }
    .mds-h6.med-heading,
    h6.med-heading{
        margin: 8px 0;
    }
}
.cke_editable > .mds-link.med-link.mds-link--reverse {
    color: var(--color-use--9);
}

.med-link:not(.mds-link--standalone):not(.mds-link--reverse){
    background-color: transparent;
}

.med-link:not(.mds-link--standalone){
    text-decoration: underline;
}
.med-paragraphe > p {
  margin: 0;
  margin-bottom: 4px;
  margin-top: 4px;
}

@media (min-width: 56.25em) {
  .med-paragraphe > p {
    margin: 0;
    margin-bottom: 8px;
    margin-top: 8px;
  }
}
/* Gestion des espacements pour les listes DS */
ul.mds-list--styled.med-list,
ol.mds-list--styled.med-list{
    padding: 0;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}
.med-espacementBouton.mds-btn,
a[role="button"].med-bouton.mds-btn{
  margin: 0;
  margin-bottom: 16px;
  margin-top: 16px;
}

@media (min-width: 900px) {
    .med-espacementBouton.mds-btn,
  a[role="button"].med-bouton.mds-btn{
    margin: 0;
    margin-bottom: 20px;
    margin-top: 20px;
  }
}

.mds-container :not(.mds-display--flex) > .mds-display--flex:has(> .med-espacementBouton.mds-btn) + .mds-display--flex:has(> .med-espacementBouton.mds-btn) .med-espacementBouton.mds-btn:only-child,
.mds-container-fluid :not(.mds-display--flex) > .mds-display--flex:has(> .med-espacementBouton.mds-btn) + .mds-display--flex:has(> .med-espacementBouton.mds-btn) .med-espacementBouton.mds-btn:only-child {
    margin-top: 0;
}

.mds-hero__body .med-page-contact__boutons .med-espacementBouton {
  margin-top: 0;
  margin-bottom: 0;
}

.mds-container .mds-display--flex:has(> .med-espacementBouton.mds-btn:only-child) {
  padding-top: 0!important;
  padding-bottom: 0!important;
}
.med-etoiles {
    width: fit-content;
    font-size: 0;
}

.med-notation svg {
    margin: 0 0.1rem;
}

.med-notation button {
    background-color: transparent;
    margin: 0;
    padding: 0 1px;
}

.med-notation button:focus {
    outline: 0;
}

.med-etoiles:hover:not(.med-etoiles-disabled) button:not([aria-disabled="true"]) svg *,
.med-etoiles:not(.med-etoiles-disabled) [aria-disabled="true"] svg *,
.med-etoiles:not(.med-etoiles-disabled) button:focus svg path {
    fill: var(--bleu-macif-blason);
}

.med-etoiles button:hover:not(.med-etoile-choisie):not([aria-disabled="true"]) ~ button polygon,
.med-etoiles:not(:hover) polygon,
.med-etoiles .med-etoile-choisie ~ button[aria-disabled="true"] polygon,
.med-etoiles-disabled polygon {
    fill: var(--gris-clair-de-lune);
}

.med-etoiles button:hover:not(.med-etoile-choisie):not([aria-disabled="true"]) ~ button path,
.med-etoiles:not(:hover) path,
.med-etoiles .med-etoile-choisie ~ button[aria-disabled="true"]  path,
.med-etoiles-disabled path
{
    fill: var(--gris-600);
}

.med-notation [aria-disabled=true] {
    pointer-events: none;
}

.med-notation-message {
    color: var(--success);
    margin-top: 16px;
}

.med-border--0 {
    border: 0 !important;
}
