.contremarqueContainer {
    margin: 5px;
    padding: 1em;
    background-color: #ffffff;
    display: grid;
    align-items: center;
    grid-template-areas: "t t" "a b" "c b" "e e";
    margin-bottom: 20px;
    /*border: solid 1px #dedede;*/
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.08);
}

.contremarqueTitre {
    grid-area: t;
    margin-left: 20px;
    font-family: titre;
    font-weight: normal;
    font-size: 2em;
}

.contremarqueIllustration {
    grid-area: a;
    border: solid 1px #bcbcbc;
    max-width: 90%;
    margin: 0px auto;
}

.contremarqueTexte {
    grid-area: t;
    padding: 0px 5px;
    margin: 0px;
    margin-bottom: 10px;
}

.contremarqueProductList {
    grid-area: b;
    display: grid;
    grid-gap: 10px;
    grid-template-areas: "t t t" "a b x" "c d x" "p p p";
    align-items: center;
}

.contremarqueInitule1 {
    grid-area: a;
    text-align: right;
}

.contremarqueInitule2 {
    grid-area: c;
    text-align: right;
}

.contremarqueSelector1 {
    grid-area: b;
    width: 4em;
}

.contremarqueSelector2 {
    grid-area: d;
    width: 4em;
}

.contremarquePriceZone {
    grid-area: x;
}

.contremarquePrice {
    background-color: #ffffff;
    display: inline-block;
    font-size: 1.3em;
    text-align: center;
    padding: 4px;
    border: solid 1px #989292;
}

@keyframes priceChange {
    from {
        background-color: #98e38e;
    }
    to {
        background-color: #ffffff;
    }
}

.priceChange {
    animation-name: priceChange;
    animation-duration: 1s;
    animation-iteration-count: 3;
    animation-fill-mode: forwards;
}


.contremarqueBtAjZone {
    grid-area: p;
    text-align: center;
    align-items: center;
    padding-top: 2em;
}

.contremarqueProductAjouter {
    text-align: center;
    display: inline-block;
}

.contremarqueListeHeb {
    margin-top: 1em;
    grid-area: e;
    /*background-color: rgba(232, 232, 232, 0.71);*/
    padding: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    cursor: pointer;
}

.contreMarqueHebergement {
    text-align: center;
    margin: 0em 0.5em;
    animation-name: etiquetteOff;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-duration: 1s;
    padding: 0.2em;
    margin-bottom: 0.5em;
    border-radius: 0.5em;
}

@keyframes etiquetteOn {
    0% {
        background-color: rgba(0, 0, 0, 0);
        color: rgb(134, 90, 19);
    }
    
    100% {
        background-color: rgba(116, 81, 24, 0.35);
        color: #ffffff;
    }
}

@keyframes etiquetteOff {
    0% {
        background-color: rgba(116, 81, 24, 0.35);
        color: #ffffff;
    }
    
    100% {
        background-color: rgba(0, 0, 0, 0);
        color: rgb(134, 90, 19);
    }
}

.contreMarqueHebergement:hover {
    animation-name: etiquetteOn;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-duration: 0.3s;
}

.listeHebergementTitre {
    margin: 0px;
    padding: 0px;
    font-weight: normal;
    letter-spacing: 0.1em;
    font-size: 1.1em;
}

.listeHebergementIntitule {
    margin: 0px;
    padding: 0px;
    font-size: 0.7em;
    font-weight: bold;
}

.listeHebergementDesc {
    margin: 0em 2em;
}

.listeHebergementDesc p{
    font-size: 0.9em; 
    line-height: 1.2em;
}



@media (max-width: 1024px) and (min-width:641px) {
    .contremarqueContainer {
        display: block;
    }   
    
    #hebergementContainer {
        display: block !important;
    }
    
    #hebergementUi {
        width: 100% !important;
    }
    
    #contFiches {
        width: 100% !important;
    }
    
    .contremarqueIllustration {
        margin-left: 25%;
    }
    
    
}

@media (max-width: 640px) {
    .contremarqueContainer {
        display: block;
        text-align: center;
        margin: 0px;
        padding: 0em;
        /*background-color: #efe6dd;*/
        border-radius: 0px;
        margin-bottom: 1em;
        width: 100%;
    }   
    
    .contremarqueIllustration:hover {
        animation-name: none;  
        animation-fill-mode: none;
    }
    
    .contremarqueListeHeb {
        display: flex;   
    }
    
    #hebergementUi {
        padding: 0px;
    }
    
    #contFiches {
        padding: 0px;
    }
    
}