@charset "utf-8";
/* CSS responsive */

@media (min-width: 1080px) {

    header {
        position: sticky;
        top:0px;
    }

    #contenu > form,
    #contenu > div:not(.cadre_titre):not(.clear):not(.no-result):not(#applied_filters),
    ol .box_ligne,
    ul .box_ligne,
    #liste_articles .box_ligne {
        /*padding: 10px 30px;*/
    }

    .box_ligne {
        padding: 10px 0;
    }

    .bt_actions a {
        margin-right: 20px;
    }

    .bt_actions a:hover {
        padding: 0rem 1rem;
        background-color: #FFF;
        color: #34b5bf;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    }
}

.pc-only {
    display: none;
}

@media (min-width: 1281px) {
    .pc-only {
        display: initial;
    }
}


@media (max-width: 1024px) {

    menu:not(.smaller) .sous_menu {
        /*display: none;*/
        display: none;
        position: initial;
        width: 100%;
        border-radius: 0;
    }

    menu:not(.smaller) .sous_menu a {
        padding-left: 30px;
        font-size: 11px;
        line-height: 30px;
    }

    .menu div:first-child a {
        padding: 4px 0 0 25px;
    }

    menu.smaller .menu div:first-child a {
        padding: 4px 0 0 17px;
    }
}

/*media queries pour le responsive liste*/
@media (max-width: 1280px) {

    header form * {
        max-width: 100% !important;
    }

    .cadre_titre {
        padding: 10px 20px;
        font-size: 12px;
        line-height: 20px;
        border-radius: 0;
    }

    .box_ligne.titres {
        display: none;
    }

    .box_ligne {
        padding: 5px 45px 5px 20px !important;
        position: relative;
        min-height: 80px;
        display: flex;
        flex-direction: column;
    }

    .col_g, .col_d {
        width: 100%;
        margin-right: 0;
    }

    .c_70,
    .c_80,
    .c_45,
    .c_35,
    .c_10,
    .c_30,
    .c_40,
    .c_20,
    .c_25,
    .c_15,
    .c_05,
    .c_03,
    .c_50 {
        width: 100%;
        position: initial;
        text-align: left;
    }

    .c_10 {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .titre-item {
        font-weight: 700;
        padding-left: 0 !important;
        font-size: 1.1rem;
        line-height: 1.4;
    }

    /*liste des boutons que l'on trouve dans les listes*/
    .btn-save-item ,
    .btn-duplicate-item,
    .btn-edit-item,
    .btn-delete-item {
        box-shadow: 1px 1px 5px #CCCCCC;
        width: 32px;
        text-align: center;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        position : absolute;
        right: 4px;
    }

    /*specificiter de placement et de taille de chacun des boutons*/
    .btn-edit-item {top: calc(50% - 35px); }

    .btn-delete-item { bottom: calc(50% - 35px); transform: scale(0.8); }

    .btn-duplicate-item { bottom: calc(5%); transform: scale(0.8); }

    .circle-is-active { position: absolute; left: -6px; width: 20px; }

    .btn-save-item { top: calc(20% - 40px); transform: scale(0.8); }

    #contenu > div:not(.cadre_titre):not(.clear):not(.no-result):not(#applied_filters) {
        /*padding: 5px 0;*/
        padding: 0;
    }

    .center {
        text-align: left;
    }

    body:not(.display-list-full) .full-only {
        display: none;
    }

    body:not(.display-list-full) .btn-save-item,
    body:not(.display-list-full) .btn-duplicate-item,
    body:not(.display-list-full) .btn-edit-item,
    body:not(.display-list-full) .btn-delete-item  {
       width: 28px;
       height: 28px;
        font-size: 11px;
    }

    /*la div contenant les boutons duplicate et save ne sert plus à rien*/
    .h-0 {
        height: 0;
    }

    /*le bouton qui permet de passer d'un mode d affichage à lautre*/
    #toogleDisplayListMode {
        padding: 5px;
        display: inline-block;
        float: right;
        margin-right: 20px;
        background-color: #34b5bf;
        font-size: 14px;
    }

    .mobile-only {
        /*display: initial;*/
        display: inherit;
        font-size: 1rem;
    }

    span.mobile-only {
        display: initial;
    }


    /*btn, input validation*/
    input[type=submit], input[type=button], a.bouton, a.button {
        padding: 0.3rem 1rem !important;
        font-size: 12.5px;
        margin: 0.3rem 0;
    }

}

@media (max-width: 768px) {

    #contenu > form {
        padding: 10px;
    }

    menu {
        width: 200px;
        border-radius: 0 5px 5px 0;
        margin-left: 0;
        position: fixed;
        top: 0;
        left: 0;
        transition: 0.4s;
        min-height: 100vh;
    }

    menu.hidden-mobile {
        margin-left: -200px;
        transition: 0.4s;
    }

    .toggler-menu-size {
        display: none;
    }

    .toggler-menu-mobile {
        display: block;
    }


    #main {
        padding: 20px;
    }

    #droite {
        padding:0;
        border-radius: 8px;
    }

    .menu div:first-child a {
        padding: 2.5px 0 2.5px 25px;
    }


}

/* Téléphones (portrait) */
@media (max-width: 480px) {
    .menu div:first-child a {
        padding: 2px 0 2px 25px;
    }

    #main { padding: 10px; }

    /*les filtres dans le header prennent chacun une ligne*/
    header, header input[type=text], header input[type=search], header select {
        width: 100% !important;
    }

    #login_cadre {
        width: 90%;
    }

}

/*@media (max-width: 360px) {*/
@media (max-width: 360px) {
    .menu div:first-child a {
        padding: 0 0 0 25px;
    }
    .sous_menu a {
        line-height: 24px !important;
        font-size: 16px;
    }

}