.nav-notices li {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}
.nav-notices .button-quaternary{
    width: 100%;
    display: block;
    font-size: 18px;
}
#accordionNotices {
    -moz-box-shadow: 0px 0px 1px 1px rgba(182, 182, 182, 0.25);
    -webkit-box-shadow: 0px 0px 1px 1px rgba(182, 182, 182, 0.25);
    box-shadow: 0px 0px 1px 1px rgba(182, 182, 182, 0.25);
    /* clip-path: inset(0px 1px -5px 1px);
    -webkit-clip-path: inset(0px -5px -5px -5px); */
} 
#accordionNotices .card-header{
    background-color: transparent;
    border-bottom: none;
    font-size: 16px;
    font-weight:500;
    cursor: pointer;
}
#accordionNotices .card-body{
    height: 0;
}
#accordionNotices .show .card-body{
    height: 100%;
}
#accordionNotices .show{
    flex-grow: 1
}
#accordionNotices .card-header[aria-expanded="true"] > div:first-of-type {
    border-bottom: 1px solid #3F3E3E;
    padding-bottom: 1rem;
}
#accordionNotices .card-header[aria-expanded="false"] > div:first-of-type {
    border-bottom: 1px solid #FFFFFF;
    padding-bottom: 1rem;
}

#accordionNotices .card-header[aria-expanded="true"] + .collapsing{
    flex-grow: 1;
}
.collapsing {
    transition: 1s;
}

#accordionNotices .card-header[aria-expanded="true"], #accordionNotices .card-header[aria-expanded="true"] svg * {
    color: #E44200 !important;
    stroke: #E44200;
    background-color: transparent !important;
}
#accordionNotices .card-header[aria-expanded="false"], #accordionNotices .card-header[aria-expanded="false"] svg * {
    color: #FFFFFF !important;
    stroke: #FFFFFF;
    background-color: #3F3E3E !important;
}

#accordionNotices .card-header[aria-expanded="true"]::before{
    content:">" !important;
    transform: rotate(90deg);
    float: right;
    color: #E44200;
    font-weight: 700;
}

#accordionNotices .card-header[aria-expanded="false"]::before{
    content:">" !important;
    float: right;
    font-weight: 700;
    color: #FFFFFF;
}

#accordionNotices .card-body {
    padding-top: 0;
    padding-bottom: 0;
}

#accordionNotices .card {
    background-color: transparent;
    border: none;
} 
.img-module-inspiration{
    width: 100%;
}
.choix-notice {
    font-size: 14px;
}
.choix-notice.active {
    font-size: 14px;
    color: #E44200;
}
.accordion-nev .card-header {
    font-size: 18px;
    font-weight: 500;
    background-color: #F0F0F0;
}
.accordion-nev .card-header[aria-expanded="true"]::before{
    content:">" !important;
    transform: rotate(90deg);
    float: right;
    font-weight: 500;
}

.accordion-nev .card-header[aria-expanded="false"]::before{
    content:">" !important;
    float: right;
    font-weight: 500;
}


.document-container {
    display: flex;
    align-items: stretch;
    padding: 15px;
    margin-bottom: 20px;
}

.document-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.document-description {
    flex: 2;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.block-documents{
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.document-description .card-img-top{
    width:auto;
    max-width: 200px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Couleur de fond semi-transparente */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    color: white;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.deuxtiers-image:hover .overlay {
    opacity: 1;
    color:white;
}
.deuxtiers-image:hover h2.left-barre, .deuxtiers-image:hover  h3{
    color:white;
    background: rgba(255, 255, 255, 0) !important;
}
.row-documents a.custom-for-hover h2.left-barre {
    background: rgba(255, 255, 255, 0.5);
}

.overlay h3, .overlay p {
    margin: 0;
    padding: 5px;
}
.row-documents .deuxtiers-image {
    display: flex !important;
}
.container-services .deuxtiers-image:hover h2.left-barre, .container-services .deuxtiers-image:hover  h3{
    color:black !important;
}

.card-file .card-text {
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-in-out;
}

.card-file:hover .card-text {
    opacity: 1;
}