.med-tabs button:focus:not(:focus-visible) {
    outline: none;
}
.med-tabs ul{
    margin: 0;
    padding: 0;
}

.med-tabs ul.med-tabs-onglet  {
    list-style: none;
}
.med-image__figure {
    margin: 0 0 .625rem;
}

.med-image__img-desktop, .med-image__img-mobile {
    margin-bottom: 0.3125rem;
    line-height: 1;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-style: none;
}

.med-image-figure--a-gauche,
.med-image-figure--a-droite,
.med-image-figure--centree{
    display: flex;
}


.med-image-figure--a-gauche {
    justify-content: flex-start;
}

.med-image-figure--a-droite {
    justify-content: flex-end;
}

.med-image-figure--centree {
    justify-content: center;
}
.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-video--youtube{
    width: 100%;
}

.med-video--youtube > iframe {
    aspect-ratio: 16/9;
    width: 100%;
}

.youtube-full-height {
    height: 100%;
}

.med-video--tiktok{
    aspect-ratio: 9 / 16;
    height: auto;
}

.med-video--tiktok > iframe {
    width: 100%;
    height: 100%;
}

.med-video--tiktok > .med-video--tiktok-consent {
    color: #fff;
    background-color: #333333;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.med-video--tiktok > .med-video--tiktok-consent > h2{
    color: #fff;
}

.med-video--tiktok > .med-video--tiktok-consent > p{
    text-align: center;
}

.med-video--tiktok > .med-video--tiktok-consent > button {
    font-family: "Montserrat", sans-serif;
    line-height: normal;
    border-radius: 4px;
    min-height: 3rem;
    padding: 0 20px;
    display: inline-flex;
    text-decoration: none;
    align-items: center;
    text-align: center;
    max-width: 100%;
    min-width: 3rem;
    box-sizing: border-box;
    color: #fff;
    border: 2px solid #fff;
    background-color: transparent;
    cursor: pointer;
}

.med-video--tiktok-full-width {
    width: 100%
}

.mds-hero__video-container .med-video--youtube{
    display: flex;
}
