:root {
    --primary-color:#6BB025;
    --rgba-primary-color-image:rgba(107,176,37,0.8);
    --rgba-primary-color-menu:rgba(107,176,37,0.95);
    --background-color: #F1F7ED;
    --rgba-background-color:rgba(241,247,237,0.95);
    --dark-color:#192E0A;
    --light-color: white;
    --danger-color: #D60012;

    --box-shadow:0px 4px 32px 8px rgba(163, 180, 146, 0.1);
    --box-shadow-zoom:0px 4px 32px 16px rgba(163, 180, 146, 0.1);
    --border-radius:20px;
    --blur: 4px;

    --max-width-content: 1500px;
    --max-width-paragraph:700px;


    --font-size: 16px;
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size:1.3rem;
    --h4-size:1.2rem;
    --text-size: 1rem;
    --smallText-size:0.9rem;
    --caption-size:0.8rem;

    --line-height: 1.6rem;
}

html
{
    font-family: "Raleway", sans-serif;
    box-sizing: border-box;
    line-height: var(--line-height);
    font-size: var(--font-size);
}
body
{
    min-width: 320px;
    margin: 0 auto;
    overflow-x: hidden;
}
::-webkit-scrollbar {
       width: 0px;
       background: transparent; /* make scrollbar transparent */
}
button {
    background-color: transparent;
    padding: 0;
}
ul
{
    padding-left: 0px;
}
.wrapTri
{
    max-width: 520px;
    margin: 0px auto;
}
nav {
    box-sizing: border-box;
    background-color: white;
    box-shadow: var(--box-shadow);
}
.nav, .navAdmin
{
    box-sizing: border-box;
    margin-bottom: 16px;
    position: sticky;
    top: 0;
    z-index: 2;
    margin: 0 auto;
    background-color: white;
}

.navAdmin {
    display: flex;
    align-items:center;
    justify-content: space-between;
    position: static;
    flex-wrap: nowrap;
    flex-direction: row;
    max-width: var(--max-width-content);
}

a
{
    text-decoration: none;
    color: var(--dark-color);
}

/* textes */

strong
{
    font-family: "Raleway", sans-serif;
    font-weight: 600;
}
h1
{
    font-size: var(--h1-size);
    font-weight: 800;
    line-height: 1.5em;
}

h2
{
    font-size: var(--h2-size);
    font-weight: 700;
    line-height: 1.5em;
}
h3
{
    font-size: var(--h3-size);
    font-weight: 700;
    line-height: 1.25em;
}
h4
{
    font-size: var(--h4-size);
    font-weight: 400;
    line-height: 1.25em;
}

p {
    max-width: var(--max-width-paragraph);
}
.commonText
{
    font-size: var(--text-size);
    font-weight: 400;
    line-height: 1.6em;
    margin: 0;
}
.highlightCommonText
{
    font-size: var(--text-size);
    font-weight: 600;
    line-height: 1.4em;
    margin: 0;
    white-space : nowrap
}
.smallText
{
    font-size: var(--smallText-size);
    font-weight: 400;
    color: var(--dark-color);
    line-height: 1.3em;
    margin: 0;
}
.highlightSmallText
{
    font-size: var(--smallText-size);
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.3em;
    margin: 0;
}
.smallCaption
{
    font-size: var(--caption-size);
    font-weight: 400;
    color: var(--dark-color);
    line-height: 1.1em;
    margin: 0;
}
.type
{
    color:var(--primary-color);
}
.dark {
    color: var(--dark-color);
}
.center {
    text-align: center;
}


/* Entete de la page */


    /* Composition du background */
    .feuillages {
        width: 100%;
        overflow-x: clip;
        height: 100%;
        position: absolute;
        z-index: -1;
    }

    .feuillage {
        z-index: -1;
        overflow: hidden;
    }

    .feuillage1 {
        width: 300px;
        height: auto;
        position: absolute;
        top: -220px;
        transform: rotate(110deg);
        left: calc(-70px + 3%);
    }
    .feuillage2 {
        width: 300px;
        height: auto;
        position: absolute;
        top: -100px;
        right: -100px;
        transform: rotate(300deg);
    }
    .feuillage3 {
        width: 300px;
        height: auto;
        position: absolute;
        top: -150px;
        left: 20%;
    }
    .feuillage3bis {
        width: 300px;
        height: auto;
        position: absolute;
        top: -150px;
        left: calc(80% - 300px);
        transform:scaleX(-1);
    }
    .feuillage4 {
        width: 300px;
        height: auto;
        position: absolute;
        top: -50px;
        left: calc(-249px + 3%);
        z-index: -2;
        transform: rotate(45deg);
    }
    .feuillage5 {
        width: 300px;
        height: auto;
        position: absolute;
        top: -310px;
        right: 7%;
        transform: rotate(220deg);
    }

.background {
    width: 100%;
    height: 100%;
    object-fit:cover;
}

.logo, .logoAdmin {
    margin: 0px auto 0px auto;
    display: flex;
    flex-direction: row;
    height: 140px;
    position: relative;
}

.logoAdmin {
    height: 60px;
    margin: 0;
    margin-left: 12px;
}

.Entete {
    margin: auto auto auto auto;
    max-width: 270px;
    padding-bottom: 25px;
    text-align: center;
}

.menu, .menuAdmin {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    margin: 0 auto;
    width: 50%;
}

.menuAdmin {
    margin: 0;
}

.menuMobile, .menuMobileToggle {
    display: none;
}

.menuItem {
    display: flex;
    font-size: var(--h3-size);
    font-weight: 400;
    text-decoration: none;
    margin: 24px 0px;
    line-height: 1.4em;
    border-radius: 20px;
    padding: 10px;
    text-align: center;
    background-color: var(--background-color);
    cursor: pointer;
}

.menuItem:hover, .active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.menuItem:target {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.menuItemSelected {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    border-radius: 20px 20px 0 0;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
}

li {
    list-style: none;
    position: relative;
}


/* Menu deroulant des arbres */
.menuDeroulant {
    background-color: var(--rgba-primary-color-menu);
    border-radius: 0 0 20px 20px;
    color: var(--light-color);
    position: absolute;
    top: 70px;
    left: 0;
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    z-index: 1;
}

.menuItem .icon {
    width: 20px;
    height: auto;
    padding: 0;
    background-color: inherit;
    color: inherit;
    margin: 0;
    padding-left: 5px;
}

.listeType {
    display: flex;
    flex-direction: column;
}

.itemType {
    cursor: pointer;
    padding: 20px;
    display: block;
    color: var(--light-color);
}

.itemType:last-of-type {
    border-radius: 0 0 20px 20px;
}

.itemType:hover {
    color: var(--primary-color);
    background-color: var(--light-color);
    cursor: pointer;
}


/* Sections Home */

section {
    width: 100%;
    position: relative;
    overflow: hidden;
}
.content {
    max-width: var(--max-width-content);
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 20px;
}

.rowList {
    display: flex;
    flex-direction: column;
}

.columnList, .columnListEvenement {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 400px));
    justify-content: center; /* centre les lignes complètes */
    gap: 1rem;
}

/* section introduction */

.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 96px;
}

/* section Evenement */ 

.sectionEvenement {
    color: var(--light-color);
}
.sectionEvenementFond {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: -1;
    object-fit: cover;
}
.cardEvenement {
    background-color: white;
    color: var(--dark-color);
    padding: 20px;
    border-radius: 10px;
    margin: 10px;
    max-width: 350px;
    box-shadow: var(--box-shadow);
    display: block;
    position: relative;
}
.listWrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* section présentation */
.sectionPresentation {
    width: 100%;
    margin: 0 auto;
    --text-size: 1rem;
}
.sectionPresentation .content, .sectionIntroduction .content {
    max-width: var(--max-width-content);
}

/* section contact */
.sectionContact {
    background-color: var(--rgba-primary-color-image);
    color: var(--light-color);
}

.sectionContact .content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.lienContact {
    color: white;
    display: flex;
    align-items: center;
}

.icon {
    width: 30px;
    height: 30px;
    background-color: var(--light-color);
    color:var(--primary-color);
    border-radius: 20px;
    padding: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}


/* Boutons */

.btn-primary
{
    font-size: var(--text-size);
    font-weight: 600;
    height: 43px;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color:white;
    padding: 12px;
    text-align: center;
    box-sizing: border-box;
    width: 30%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-secondary {
    text-align: center;
    font-size: var(--text-size);
    color: var(--primary-color);
    padding: 12px;
    cursor: pointer;
}
.btn-terciary
{
    display: block;
    font-size: var(--text-size);
    font-weight: 400;
    color: var(--primary-color);
    text-decoration: none;
    margin: 24px 0px;
    line-height: 1.4em;
    border-radius: 20px;
    border: 2px solid;
    padding: 5px 10px 5px 10px;
    text-align: center;
    background-color: white;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    text-decoration: underline;
}

.btn-terciary:hover
{
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.btn-terciary:target
{
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.btn-back
{
    position: absolute;
    display: block;
    height: 24px;
    width: 24px;
    left: 26px;
    margin-top: 14px;
}

.btn-infos
{
    display: block;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    margin: 24px 0px;
    line-height: 1.4em;
    border-radius: 20px;
    
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 7px 5px 7px;
    
    position: fixed;
    right: 10%;
    bottom: 26px;
    
    z-index: 1;
}
.btn-infos:hover
{
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-color);
    background-color: white;
    text-decoration: none;
    margin: 24px 0px;
    line-height: 1.4em;
    border-radius: 20px;
    border: 2px solid;
    padding: 3px 5px 3px 5px;
}
.bnt-profil img
{
    width: 24px;
    height: 24px;
}

.rightAlign {
    display: flex;
    width: 100%;
    justify-content: end;
}

.centerAlign {
    display: flex;
    width: 100%;
    justify-content: center;
}

.btn-danger {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: var(--danger-color);
    text-decoration: none;
    margin: 24px 0px;
    line-height: 1.4em;
    padding: 5px 10px 5px 10px;
    text-align: center;
    background-color: white;
    cursor: pointer;
}

.btn-danger:hover {
    text-decoration: underline;
}

/* Formulaire */

.sectionForm {
    max-width: var(--max-width-paragraph);
    margin: 0px auto;
    padding-bottom: 20px;   
}

.form-group
{
    width: 100%;
    padding-bottom: 12px;
}

form
{
    width:100%;
    max-width: var(--max-width-paragraph);
    margin: 0 auto;
}

label {
    display: block;
    margin-top: 24px;
}

input, textarea
{
    box-sizing: border-box;
    display: block;
    font-size: 16px;
    padding: 12px;
    -webkit-appearance: none;
    box-shadow: 0px 0px 0px 1px var(--primary-color) inset; 
    border-radius: var(--border-radius);
    width: 100%;
    border: none;
    line-height: 1.5rem;
}
input:focus
{
    box-shadow:0px 0px 0px 2px var(--primary-color) inset;
    outline: none;
}

textarea {
    overflow-y: hidden;
    resize: none;
    min-height: 2rem;
}

select {
    width: 100%;
    padding: 12px;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0px 0px 0px 1px var(--primary-color) inset; 
}

[type="checkbox"] {
    width: 24px;
    height: 24px;
}

[type="checkbox"]:checked {
    background-color: var(--primary-color);
}

.groupCheckbox {
    display: flex;
    align-items: end;
    gap: 12px;
}

.dividerSmall {
    border-bottom: 1px solid var(--background-color);
    margin-top: 40px;
}


/* Alertes */
.alert.alert-danger
{
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

/******** Page détail **********/

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
}

.flex > * {
    margin: 0;
}

.actionsListes
{
    display: flex;
    flex-direction: row;
    max-width: 100%;
}
.actionsListes form
{
    margin-left: 8px;
}
.subDetail
{
    margin: 8px 0;
}
.porteGreffe
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}
.porteGreffeDetail
{ 
    margin-right: 16px;
    position: relative;
}
.porteGreffeStock
{
    margin-top: 3px;
    width: 84px;
}
.modale
{   
    display: none;
    position: absolute;
    width: 300px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-top: auto;
    margin-bottom: auto;
    padding: 5px;
    bottom: 65px;
    left:-100px;
    background-color: var(--rgba-primary-color-image);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    color: var(--light-color);
    z-index: 1;
}
.modaleText
{  
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3em;
    text-align: center;
}
.modaleHighlightText
{
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4em;
    text-align: center;
}
.subDetail .highlightCommonText
{
    margin-bottom: 4px;
}

/* détail contenu */

.wrapInfosMedia ul
{
    box-sizing: border-box;
    list-style: none;
    display: flex;
    padding: 0;
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
}
.wrapInfosMedia li
{
    box-sizing: content-box;
    float: left;
    white-space: nowrap;
    flex: 0;
    padding: 4px 0;
}

.detailImg, .detailImgAdmin {
    background-color: var(--background-color);
    object-fit: cover;
    border-radius: 20px;
}

.detailImg{
    height: 100%;
    width: 100%;
}

.detailImgAdmin {
    width: 50%;
    margin-top: 24px;
}

.subDetail {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: baseline;
}

.ListePorteGreffe {
    flex-wrap: wrap;
}

.sectionType {
    grid-template-columns: repeat(auto-fill, 600px);
    gap: 40px;
}

.cardType {
    display: flex;
    flex-direction: column;
    width: 600px;
    position: relative;
}

.cardType .wrapInfosMedia {
    margin: 0;
    width: 100%;
}

.cardDetailImg {
    width: 100%;
    height: 370px;
    background-color: var(--background-color);
    object-fit: cover;
    border-radius: 20px;
}

/* Sommaire les arbres */

.sectionLesArbres {
    max-width: var(--max-width-content);
    margin: 0px auto;
    padding-bottom: 20px;
}

.sectionLesArbres .columnList {
    column-gap: 60px;
    row-gap: 40px;
}

.cardLienArbre {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    align-items: center;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.cardImg {
    width: 100%;
    height: 247px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    background-color: var(--background-color);
}

.no-image {
    width: 300px;
    height: 185px;
    background: linear-gradient(135deg, #e7efe1, var(--background-color));
    background-size: cover;
    background-blend-mode: soft-light;
    border-radius: var(--border-radius);
  }


/* Administration arbres */

.sectionLarge {
    max-width: var(--max-width-content);
    margin: 0px auto;
    padding: 15px;
    padding-bottom: 20px;
    width: calc(100% - 30px);
}

.cardAdmin, .cardAdminType {
    display: flex;
    flex-direction: column;
    max-width: 300px;
    position: relative;
}

.cardAdminType {
    border: 1px solid var(--primary-color);
    padding: 8px;
    border-radius: var(--border-radius);
}

.cardAdmin > div {
    width: 100%;
}

.cardAdminImg {
    width: 100%;
    height: 247px;
    object-fit: cover;
    border-radius: var(--border-radius);
    height: 185px;
    background-color: var(--background-color);
}

.cardTitle {
    width: 70%;
    margin-top: 0;
}

.containerLien {
    display: block;
    width: 100%;
}

.cardDotsWrap {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-top: 12px;
    position: relative;
}

.menuDots {
    position: absolute;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    top: 38px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1;
    box-shadow: var(--box-shadow);
}

.menuDotsElement, .menuDotsElementFin {
    color: var(--dark-color);
    text-align: left;
    padding: 24px;
    cursor: pointer;
    width: auto;
    display: inline-block;
}

.menuDotsElementFin {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.menuDotsElement:hover, .menuDotsForm:hover, .menuDotsElementFin:hover {
    background-color: var(--rgba-background-color);
}

.menuDotsElementFin:hover {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.menuDotsForm {
    padding: 0;
    margin: 0;
    width: 100%;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.menuDotsElementDanger {
    color: var(--danger-color);
    cursor: pointer;
    text-align: left;
    padding: 24px;
    cursor: pointer;
    width: 100%;
    display: inline-block;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.menuDots > :last-child:hover {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.cardDotsWrap .icon {
    margin: 0;
    padding: 4px;
    display: flex;
    justify-content: end;
    border-radius: var(--border-radius);
    color: var(--dark-color);
    cursor: pointer;
}

.cardDotsWrap .icon:hover {
    background-color: var(--background-color);
}

.sectionLarge .cardImg {
    height: 185px;
}

.sectionLarge .columnList,.sectionForm .columnList {
    grid-template-columns: repeat(auto-fill, 300px);
    gap: 2rem;
    justify-content: space-between;
}
.sectionLarge .columnList {
    margin-bottom: 100px;
}

.cardAdminTitle {
    display: block;
    height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.iconDanger {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: absolute;
    top: 10px;
    right: 5px;
    cursor: pointer;
    width: 30px;
    height: 30px;
}

.iconDanger svg {
    background-color: var(--light-color);
    color: var(--danger-color);
    border-radius: var(--border-radius);
    width: 20px;
    height: 20px;
    padding: 5px;
}

.wrapRecherche {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.arbresGreffes {
    display: grid;
    grid-template-columns: repeat(auto-fill, 200px);
    justify-content: space-between;
    gap: auto;
}

.cardGreffe {
    display: flex;
    flex-direction: column;
    max-width: 200px;
    align-items: center;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    padding: 10px;
    box-shadow: 0px 0px 0px 1px var(--primary-color) inset; 
}

.cardGreffe button {
    text-align: center;
    font-size: var(--text-size);
    color: var(--danger-color);
    padding: 12px;
    cursor: pointer;
}

.images > div, .images > li {
    display: flex;
    flex-direction: column;
    max-width: 280px;
    align-items: center;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    padding: 10px;
    box-shadow: 0px 0px 0px 1px var(--primary-color) inset; 
}

.vich-image img {
    border-radius: var(--border-radius);
    width: 100%;
}

.spacerTop {
    margin-top: 24px;
}



@media (min-width: 521px) {

    .btn-back
    {
        top: 28px;
    }
    .btn-infos
    {   
        right: 10%;
    }

    /* Login */
    .blockForm
    {
        max-width: 412px;
        margin: 0 auto;
        padding: 0;
    }
    .blockForm h1
    {
        text-align: center;
        margin: 26px auto;
    }
    .blockForm h3
    {
        margin: 12px 0;
    }

    /* detail */
    .wrapDetailPage
    {
        display: flex;
        margin: 0 auto;
        max-width: 780px;
        padding: 26px;
    }
    
    .wrapDetailPage .aside {
        max-height: 300px;
    }

    .aside
    {
        width: 35%;
        max-width: 450px;
    }
    .wrapInfosMedia
    {
        width: 65%;
        margin-left: 7%;
    }
    .wrapInfosMedia h1
    {
        margin-top: 0;
        margin-bottom: 16px;
    }
    iframe
    {
        margin: 16px 0;
    }

}

@media (max-width:930px) {
    .menu {
        width: 100%;
    }
}

@media (max-width:870px) {
    .sectionContact .content {
        flex-wrap: wrap;
    }

    .sectionContact .content > * {
        margin: 0 auto;
    }

    .feuillage3, .feuillage3bis {
        display: none;
    }

    .feuillage1 {
        top: -150px;
    }

}

@media (max-width: 520px) {

    /* Nav bar mobile  */

    .nav {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .feuillages {
        width: 100%;
        overflow-x: clip;
        height: 100%;
        position: absolute;
        z-index: 0;
    }

    .menu {
        display: none;
    }

    .menuMobileToggle {
        background-color:unset;
        position: absolute;
        right: 5%;
        color: var(--primary-color);
        padding: 20px;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        z-index: 3;
        display: flex;
        justify-content: center;
    }

    .menuMobileSelected {
        background-color: var(--rgba-primary-color-menu);
        color: var(--light-color);
        width: 258px;
        display: flex;
        justify-content: end;
        z-index: 1;
    }

    .menuMobileToggle .icon {
        margin: 0;
        padding: 0;
    }

    .menuMobileSelected .icon {
        background-color: var(--primary-color);
        color: var(--light-color);
    }

    .menuMobile {
        margin: 0;
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 85px;
        right: 5%;
        color: var(--light-color);
        background-color: var(--rgba-primary-color-menu);
        box-shadow: var(--box-shadow);
        border-radius: 0 0 20px 20px;
        padding: 20px;
        overflow-y: scroll;
        z-index: 1;
        width: calc(258px - 40px);
        padding-top: 0;
        
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
    }

    .menuItemMobile .icon {
        width: 20px;
        height: auto;
        padding: 0;
        background-color: inherit;
        color: inherit;
        margin: 0;
        padding-left: 5px;
    }

    .menuItemMobile {
        display: flex;
        font-size: var(--h3-size);
        font-weight: 400;
        text-decoration: none;
        line-height: 1.4em;
        padding: 10px;
        color: inherit;
    }

    .itemType {
        color: inherit;
    }

    .itemType:hover {
        border-radius: 0;
        color: inherit;
        background-color: inherit;
    }

    .logo, .logoAdmin {
        margin: 0;
        height: 100px;
        z-index: 1;
    }

    .logoAdmin {
        height: 64px;
        margin-left: 12px;
        margin-top: 18px;
        margin-bottom: 18px;
    }

    .feuillage1  {
        z-index: 1;
        left: -100px;
        top: -280px;
        transform: rotate(135deg);

        width: 300px;
        height: auto;
        position: absolute;
    }

    .feuillage5 {
        z-index: 1;
        transform: rotate(300deg);
        right: -20px;
        top: -280px;
    }

    .feuillage2, .feuillage3, .feuillage3bis, .feuillage4 {
        display: none;
    }


    .btn-back
    {
        top: 16px;
    }

    .btn-infos
    {   
        right: 26px;
    }

    /* feed */
    .blockRecherche .blockForm
    {
        max-width: 468px;
        padding: 0;
    }
    .blockRecherche
    {
        padding: 12px 26px;
    }
    .cardWrap
    {
        border-bottom: 1px solid #D6D6D6;
    }
    .test
    {
        box-shadow: none;
    }
    .stock
    {
        left: 60%;
    }

    /* Page detail */

    .wrapDetailPage
    {
        display: flex;
        flex-direction: column;
        margin: 26px 26px;
    }
    .detailImgAdmin
    {
        width: 100%;   
    }
    .porteGreffe {
        position: relative;
    }
    .porteGreffeDetail {
        position:static;
    }
    .modale
    {
        left: 0;
        bottom:auto;
        top: -120px
    }

    .sectionForm {
        padding: 10px;
        width: calc(100% - 20px);
    }

    .sectionLarge .columnList,.sectionForm .columnList {
        justify-content: center;
    }

    .wrapRecherche {
        flex-wrap: wrap;
    }

    .btn-primary {
        width: 100%;
    }
    
    .rightAlign {
        justify-content: center;
    }

    .row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .aside {
        width: 100%;
    }

    .sectionType {
        grid-template-columns: repeat(auto-fill, minmax(300px, 400px));
    }

    .cardType {
        width: 100%;
    }
}

@media (min-width: 1040px) {

    .Logo
    {
        margin: 0px auto 0px 25%;    
    }     
    .cardWrap
    {
        width: 450px;
    }

    .btn-infos
    {   
        right: 10%;
    }

    .wrapTri
    {
        max-width: var(--max-width-content);
        display: block;
        margin: 0px auto;
    }
}

/* Animations */

.fadeInLong {
    opacity: 0;
    animation: fadeIn 1.4s ease forwards;
}

.fadeInShort {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}
  
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.fadeInDown {
    opacity: 0;
    transform: translateY(-20px); /* petit décalage vers le bas */
    animation: fadeInDown 0.9s ease forwards;
}   
  
@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.staggerItem {
    opacity: 0;
    transform: scale(0.8) translateY(-20px) translateX(-20px);
    animation: fadeZoomIn 1.1s ease forwards;
}
  
@keyframes fadeZoomIn {
    to {
        opacity: 1;
        transform: scale(1) translateY(0) translateX(0);
    }
}

.delay06 {
    animation-delay: 0.6s;
}

.delay12 {
    animation-delay: 1.2s;
}

.shineCheck {
    position: relative;
    overflow: hidden;
    animation-delay: 1.3s;
}
  
  /* Le pseudo-élément "lumière" */
.shineCheck.shine::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;      /* Commence à gauche hors de la vue */
    width: 50%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    animation: shine 3s ease-in-out;
}
  
@keyframes shine {
    0%   { left: -75%; }
    50%  { left: 100%; }
    100% { left: 100%; }
}

.zoom {
    transform: scale(1);
}
.zoom:hover {
    animation: zoomIn 0.2s ease forwards;
}

@keyframes zoomIn {
    to {
        transform: scale(1.05);
        box-shadow: var(--box-shadow-zoom);
    }
}
  


.opacity0 {
    opacity: 0;
}

.moving {
    position: relative;
}

.hidden {
    display: none;
}

