:root {

    --ev-res-tile-height: 200px;
    --ev-res-tile-width: 300px;
}

.ev_res_container {
    height: 90%;
    grid-area: main;
    display: flex;
    flex-direction: row;
    justify-self: center;
    /*overflow: auto;*/
    align-self: center;
}

.ev_res_list {
   display: flex; 
   flex-direction: row;
   flex-wrap: wrap;
   justify-content: center;
   /*align-items: center;*/
   align-content:first baseline;
   padding: 10;

   max-width: 100%; 
   margin-bottom: 4%;
}

.ev_res_list > .ev_res_list {
   display: flex; 
   flex-direction: row;
   flex-wrap: wrap;
   justify-content: center;
   align-items: center;
   align-content:first baseline;
   padding: 10;

   border-width: 1px;
   border-style: solid;
   border-color: var(--ev-color-apple-tile-grey);
   border-color: red;

   margin: 1%;

   max-width: 60%; 
}

/* Gère la tile; mais la partie la plus extérieure. */
.ev_res_tile {
    /*max-height: var(--ev-tile-height);*/
    /*height: var(--ev-res-tile-height);
    /*width: var(--ev-res-tile-width);*/
    /*max-width: var(--ev-res-tile-width);*/
    width: 40%;
    min-width: 250px;

    flex-grow: 0;
    flex-shrink: 0;

    border-style: solid;
    border-color: #fff;
    border-width: 2px;

    flex-direction: column;

    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;

    /*background: var(--ev-color-apple-tile-grey);*/
    background: #fff;

    /* Gérer l'espace autour des tiles */
    margin: 6 6 6 6;

    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: center;

    padding: 2%;
}

.ev_res_tile ul {
   padding: 10px;
   padding-top: 10px; 
   width: 100%;
   list-style-position: inside;
}

.ev_res_tile li {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    list-style-type: none;
    padding: 10px 0 3px 0;

}

.ev_res_spectre {
    align-self: end;
    font-size: 14px;
    margin-bottom: 4%;
}
.ev_res_spectre ul {
    padding: 0px;
}

.ev_res_spectre li {
    padding: 0px;
    display: block;
    text-align: end;
}

.ev_res_tile li svg {
    min-width: 20px;
    align-self: center;
    cursor: pointer;
    color: var(--ev-color-light-green);
}

.ev_res_aide_name {
    margin-right: 2%;
    font-weight: 300;
}

#ev_list_dispositifs_id {
    margin-bottom: 115px;
}


/*
.ev_res_tile li:not(:first-child):before {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    content: "";
    width: 60%;
    display: block;
    margin: 0 auto;
}
*/

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

.montant_max {
    background-color: rgb(190, 242, 197);
    width: 100%;
    color: rgb(53, 110, 62);
    border: 1px solid;
    border-radius: 0.2rem;
    width: fit-content;
    padding: 0.1rem 0.4rem 0.05rem;
}

.bold {
    font-weight: bold;
}

.ev_res_tile li::marker {
}

.ev_res_infos {
    align-items: center;
    width: 100%;
}

.ev_dispositif_title {
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
}
.ev_res_img {
    display: flex;
    padding-top: 10px;
    height: 100px;
}
.ev_res_img img {
    max-width: 100%;
    max-height: 100%;
    align-self: center;

    pointer-events: none;
    user-select: none;
}


@media (max-width:480px)  { /* smartphones, Android phones, landscape iPhone */

        .ev_res_list {
            margin-bottom: 80px;
        }

        .ev_res_img {
            height: 120px;
            padding: 10px;
        }

        .ev_res_tile {
            padding: 4%;
        }
}