/*Container du demon*/

.containerPiece {
    padding-left: 10px;
    padding-right: 10px;
}

@media screen and (max-width: 1260px) {

    .parent-containerChangementTitulaire {
        justify-content: center !important;
    }

    .containerTitreExemple1 {
        display: none !important;
    }

    .containerTitreExemple2 {
        display: none !important;
    }

    .containerTitreExemple3 {
        display: none !important;
    }

    .containerTitreExemple4 {
        display: none !important;
    }

    .containerTitreExemple5 {
        display: none !important;
    }

    .containerTitreExemple6 {
        display: none !important;
    }

    .containerTitreExemple7 {
        display: none !important;
    }

    .containerTitreExemple8 {
        display: none !important;
    }

    .containerTitreExemple9 {
        display: none !important;
    }

    .containerTitreExemple10 {
        display: none !important;
    }

    .containerTitreExemple11 {
        display: none !important;
    }

    .containerTitreExemple12 {
        display: none !important;
    }

    .containerTitreExemple13 {
        display: none !important;
    }

    .containerTitreExemple14 {
        display: none !important;
    }

    .containerTitreExemple15 {
        display: none !important;
    }
}

@media screen and (max-width: 700px) {
    .pieceTitle {
        font-size: 20px !important;
    }

    .example {
        font: 10px !important;
    }

    .example {
        display: none !important;
    }
}

@media screen and (max-width: 450px) {
    .pieceTitle {
        font-size: 14px !important;
    }

    .example {
        font: 6px !important;
    }

    .pieceDesc {
        font-size: 13px !important;
    }
}

@media screen and (max-width: 360px) {
    .pieceTitle {
        font-size: 12px !important;
    }

    .example {
        font: 6px !important;
    }

    .pieceDesc {
        font-size: 11px !important;
    }
}

/*Fin du container du demon*/

.container-title-docs {
    display: flex;
    padding-left: 22px;
    flex-direction: row;
    align-items: center;
}

.titreDoc {
    color: rgb(255, 255, 255) !important;
    font-size: 16px;
    margin: 0;
}

@media screen and (min-width: 1261px) {
    .titreDoc {
        display: none;
    }

    .container-title-docs {
        display: none;
    }
}

.link-title-docs img {
    height: 38px;
    margin-left: 16px;
}

.content {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    background-color: white;
    display: flex;
    align-items: center;
}

/*FIN BANDEAU ROUGE*/

.ImgEx {
    padding-top: 90px;
}

/*GROS TITRE A DROITE AVEC L EXEMPLE*/

.parent-containerChangementTitulaire {
    display: flex;
    justify-content: space-between; 
    width: 100%;
    padding-left: 10%;
    padding-right: 10%;
}


#header-apropos {
    padding-top: 40px;
}


.title-text {
    font-weight: 700;
    margin-right: 10px;
}

.pdf-container {
    display: flex;
    justify-content: center; 
    align-items: center;
    text-align: center;
    margin: 20px 0; 
    text-decoration: none;
}

@media (max-width: 1170px) {
    .pdf-container {
    padding-top: 10px;
      height: 50px;
      padding: 16px;
    }
  }


.pdf-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #cf0b5d; 
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-left: 10px;
}

@media screen and (max-width: 1260px) {
    .row {
        display: flex;
        justify-content: center;
    }
}


.pdf-link:focus, 
.pdf-link:active {
    color: #fff; 
    text-decoration: none; 
    outline: none; 
}

.pdf-link:hover {
    background-color: #C50063;
    text-decoration: none;
    color: white;
    transform: scale(1.02); 
}

.pdf-link p {
    margin: 0;
}


.pdf-link i {
    font-size: 20px; 
}


.icon-text-container {
    display: flex;
    align-items: center;
}

.icon-text-container svg {
    margin-right: 10px;
}

/* Texte du bouton */
.icon-text-container p {
    margin: 0;
    font-size: 1rem;
}

/* Responsivité pour les écrans plus petits */
@media (max-width: 768px) {
    .pdf-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .icon-text-container svg {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }

    .icon-text-container p {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 450px) {
    .pdf-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {

    .pdf-link {
        justify-content: center;
        width: 200px;
    }

    .iconDLdocs {
        display: none !important;
    }

    .icon-text-container {
        flex-direction: column;
    }

    .icon-text-container svg {
        margin: 0 0 5px 0;
        width: 16px;
        height: 16px;
    }

    .icon-text-container p {
        font-size: 0.8rem;
    }
}


@media screen and (min-width: 1550px) {

    .secondbtnDuplicata {
        display: none !important;
        visibility: hidden !important;
    }

    .secondImmatWW {
        display: none !important;
        visibility: hidden !important;
    }
}

@media screen and (max-width: 480px) {
    .btnimmat {
        display: none !important;
        visibility: hidden !important;
    }

    .btdupli {
        display: none !important;
        visibility: hidden !important;
    }   
}



/*FIN GROS TITRE A DROITE AVEC L EXEMPLE*/


.bigContainer {
    max-width: 800px;
}

.content pieceAFournir {
    background-color: red !important;
}

.row {
    width: 100%;
    max-width: 800px;
}

.content {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    background-color: white;
    display: flex;
    align-items: center;
}

.pieceNumero {
    margin-right: 10px;
}

.content .fa-circle {
    color: #cd0b5d;
}

.content .fa-layers-text {
    font-weight: 900;
    color: white;
}

.pieceDetails {
    flex-grow: 1;
}

.pieceTitle {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.example {
    color: #007bff;
    cursor: pointer;
}

.pieceSubTitle {
    color: #ff006a;
}
    
.pieceDesc {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    transform: scaleY(0.9);
    transform-origin: top;
}



.pieceAFournir {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 200ms;
}

.pieceAFournir:hover,
.pieceAFournir.active {
    cursor: pointer;
    border: 2px solid #cd0b5d;
}

.pieceDesc.open {
    max-height: 1000px;
    opacity: 1;
    transform: scaleY(1);
    transition: max-height 0.6s ease, opacity 0.6s ease, transform 0.6s ease;
}




@media (min-width: 1170px) {

.icon-text-container {
    display: flex;
    align-items: center; 
  }
  
  .icon-text-container svg {
    margin-right: 8px;
  }
  
  .icon-text-container p {
    margin: 0; 
  }
}

@media (max-width: 1210px) {
    #containerPiece {
        display: flex;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        padding-left: 0;
        padding-right: 0;
    }

    #docPageMainHeader_menu {
        width: 100%;
    }

    .demarcheContainer {
        margin: 0 auto;
    }
}


/* Conteneur parent avec suffisamment de hauteur pour faire défiler la page */
.parent-containerChangementTitulaire {
    position: relative;
}


/* Styles communs pour les éléments sticky */
[class^="containerTitreExemple"] {
    position: sticky;
    height: 107vh;
    overflow-y: hidden;
    top:30px;
    padding: 10px;
    overflow-x: hidden;
}

#mandatDimmatOrgFinancemement {
    max-height:0px!important;
}