/* Notices externes - CSS compatible avec templates externes mis dans la common RGAA */

.notExterne .vignetteDocNot img {
    max-width: 120px;
    max-height: 200px;
}

.notExterne {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
}

.notExterne .record_resume p {
    margin-bottom: 0.25rem;
}

.notExterne h3 {
    margin-bottom: 0;
}

.notExterne .record-lien a {
    padding: 0.5rem;
    border-radius: var(--border-radius-small);
    border: 2px solid var(--c-primary);
    background-color: var(--c-white);
    color: var(--c-primary);
    margin-block: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
}

.notExterne .infoCompl_notCourte .notice-ext-detail>ul {
    display: flex;
    flex-direction: column;
}

.notExterne .notice-ext-detail.is-hidden,
.notExterne .record_resume.is-hidden {
    display: none;
}

.notExterne .button-not-externe {
    align-self: flex-start;
    display: flex;
    gap: 0.5rem;
}

.notExterne .button-not-externe:hover {
    background-color: var(--c-primary);
    color: var(--c-white);
}

.notExterne .notice-ext-detail>ul>li {
    width: 100%;
}

.notExterne .infoCompl_notCourte .button-lien-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    order: 2;
}

.notExterne .labelContent span {
    display: inline-flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.notExterne .record_resume .labelContent span:not(:last-of-type):after,
.notExterne .record_n_gen .labelContent span:not(:last-of-type):after,
.notExterne .record_contenu .labelContent p:not(:last-of-type):after {
    content: none;
}

.notExterne .record_resume .labelContent span,
.notExterne .record_n_gen .labelContent span,
.notExterne .record_contenu .labelContent span {
    display: flex;
    margin-block: 0.25rem;
}

.notExterne .labelContent span:not(:last-of-type):after {
    content: "/";
    display: block;
}

.notExterne .expl-externe ul li {
    display: block;
}

.notExterne .notice-ext-detail .record_resume {
    margin-top: 0;
}

.notExterne li.expl-externe,
.notExterne li.record_docnums {
    margin-top: 1.5rem;
}

.notExterne .expl-items-externe {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.notExterne .expl-item-externe {
    background-color: var(--c-white);
    padding: 1rem;
    border-radius: var(--border-radius-small);
    min-width: 200px;
    max-width: 270px;
}

.notExterne .record_docnums ul {
    display: flex;
    column-gap: 0.75rem;
    row-gap: 1.5rem;
}

.notExterne .record_docnums li a {
    background-color: var(--c-white);
    border-radius: var(--border-radius-small);
    padding: 0.5rem 1rem;
    font-weight: 500;
    text-decoration: none;
}

.notExterne .docnums-ext {
    margin-top: 1rem;
}

.notExterne .record_responsabilites {
    color: var(--c-primary);
}
