body { 
    margin:0;
}
/* classes utiles */

.border-top {
    border-top: 1px solid #dee2e6 !important;
}
.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}
.border-left {
    border-left: 1px solid #dee2e6 !important;
}
.border-right {
    border-right: 1px solid #dee2e6 !important;
}

[data-filtre] input {
    display: none;
}
[data-filtre] input:checked + .btn-cartouche {
    background-color: var(--color-primary);
}

.btn-cartouche {
    border-radius: 20px;
    background-color: var(--color-light);
    color: var(--color-blank);
    padding: 4px 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.btn-select {
    border-radius: 4px;
    color: var(--color-primary);
    background-color: var(--color-light);
    padding: 4px 4px;
    white-space: nowrap;
    border: 1px solid var(--color-light);
    height: 1.5em;
}

.btn-select:focus {
    height: 7em;   
    position: absolute;
}



.sfw-form input[type="text"].form-small {
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
    font-size: 12px;
}

/* tools */
#toolbarrow {
    display: flex;
    justify-content: space-between;
}

#toolbar {
}

#toolbar .show {
    font-family: var(--ff-bold-secondary)
}
#tooladmin {
    hyphens: none;
    word-break: keep-all;
}
[data-toggle-content] {
    display: none;
}
[data-toggle-content].show {
    display: block;
}

#live-search {
    border: 1px solid var(--color-light);
    border-radius: 3px;
    padding: 2px;
    flex-grow: 2;
}

/* cropper */
#cropper-main {
    display: flex;
    gap: 1rem;
    height: 95vh;
    overflow: hidden;
}
#cropper-imagecontainer {
    width: calc(100% - 4rem);
    position: relative;
}
#cropper-image {
    width:100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain:
}
#cropper-tools {
    width: 4rem;
    word-break: break-all;
}

.cropper-icon {
    background-color: #eee;
    border-radius: 4px;
    padding: 7px 0;
    cursor: pointer;
    text-align: center;
    width: 34px;
    box-sizing: border-box;
    line-height: 0;
}
.cropper-icon img { 
    width: 22px;
    height: auto;
}

/* drag  */
.draggingitems .item {
    cursor: move;
    border: 1px solid var(--color-light);
    background-color: #fff;
}

.item.sortable-chosen {
    background-color: var(--color-light);
    opacity: 0.7;
    animation: glowing 1.5s ease-in infinite;
}

@keyframes glowing {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 0.7;
    }
}

@media print {
    @page  {
        margin: 13mm 8mm;

    }
    #main-frame {
        display: block;
        height: auto;
    }
    main .mosaique-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr !important;
    }
    .print-none {
        display: none !important;
    }
    article.item {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}