#cartesFav { /* le conteneur  de toutes les entrées */
    padding-right: 0.75%; /* pour ne pas avoir de collision avec scrollbar */
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    justify-content: center;

    display: grid;
    grid-template-columns: 1fr ;
    grid-template-rows: repeat(auto-fit, minmax(50px, 50px));

}
/* effet graphique sur les entrées pour différencier */
#cartesFav > ul:nth-child(odd){
    background-color: #f6f6f6 ;
}
#cartesFav > ul:nth-child(even){
    background-color: #ffffff ;
}

#cartesFav > ul {
    display: grid;
    grid-template-columns: 0.14fr 1fr repeat(2, 2fr) 1.75fr;



    li{
        min-height: 50px;
        max-height: 50px;
    }
}

#cartesFav > ul > li:first-child, #cartesFav > ul > .action > .actionsFav > .switch  {
    pointer-events: auto;
    user-select: auto;
    min-width: 20px;
}


.ligneResultatAdmin > li{
    overflow-x: hidden;
}
.draggable {
    position: relative;
    cursor: move;
    pointer-events: none;
    user-select: none;
}
.draggable.dragging {
    opacity: 0.5;
}
.dragIcon {
    /*position: absolute;
    left: 0;
    top: 0;*/

    height: 100%;
    width: 20px;
    /*border-radius: 5px;*/

    background-color: gainsboro;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../images/biblio/admin/dragIcon.png");
    background-size: contain;

}

.ordreCartes {
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../images/biblio/admin/fleche-entete.png");
    background-size: contain;
}


#cartesFav > ul > .sublien {
    width: inherit;
    height: inherit;
    max-height: 50px;
    font-family: Jost;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;

}

#cartesFav > ul > .photo{
    pointer-events: none;
    user-select: none;
}

#cartesFav > ul:first-child{
    z-index: 1;
    position: sticky;
    top: 0px;

    pointer-events: auto;
    user-select: auto;

    font-size: 16px;
    background-color: #333333;
    color: #FFFFFF;
    .info2{
        font-size: inherit; /* forcer la taille a 16 pour uniformiser avec le reste */
    }
}
#cartesFav > ul:first-child:hover{
    border: unset;
}
#cartesFav > ul:hover{
    border-color: #007838;
    border-width: 1px;
    border-style: solid;
}
#cartesFav .imgLigneAdmin{
    cursor: unset;
}

.actionsFav{
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}


/* BOUTON SWITCH CODE */
/* The switch - the box around the slider */
.switch {


    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    padding: 0; /* pour contrer form.css*/
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    z-index: 0;
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #d4aa2e;
}

input:focus + .slider {
    box-shadow: 0 0 1px #d4aa2e;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
#nomCarteEntete{
    cursor: unset;
}