@charset "UTF-8";

/* ----------------------------------------------------------
  Filters
---------------------------------------------------------- */

.samse-annonces-select {
    display: flex;
    flex-direction: row;
    margin-bottom: 50px;
    gap: 20px;
}

@media (max-width:1024px) {
    .samse-annonces-select {
        flex-direction: column;
        margin-bottom: 30px;
        gap: 10px;
    }
}

.samse-annonces-select > * {
    flex: 1;
}

.samse-annonces-select select {
    width: 100%;
}

/* ----------------------------------------------------------
  Pagers
---------------------------------------------------------- */

.samse-annonces-pagination {
    padding: 20px;
    text-align: center;
}

.samse-annonces-pagination a {
    display: inline-block;
    z-index: 1;
    position: relative;
    margin: 0 0.3em;
}

.samse-annonces-pagination a:before {
    content: '';
    z-index: 1;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: -1em;
}

.samse-annonces-pagination a[data-enabled="0"] {
    text-decoration: none!important;
    color: inherit!important;
    cursor: default!important;
}

/* ----------------------------------------------------------
  Empty
---------------------------------------------------------- */

.samse-annonces-empty {
    margin: 0 0 50px;
    text-align: center;
}

.samse-annonces-empty input[type="reset"] {
    margin-top: 10px;
    max-width: 100px;
}

/* ----------------------------------------------------------
  Table
---------------------------------------------------------- */

@media (max-width:1024px) {
    .samse-annonces-table {
        border: 1px solid #eee!important;
    }

    .samse-annonces-table thead {
        display: none;
    }

    .samse-annonces-table,
    .samse-annonces-table tbody,
    .samse-annonces-table th,
    .samse-annonces-table tr,
    .samse-annonces-table td {
        display: block;
    }

    body .samse-annonces-table tr {
        padding: 1em!important;
    }

    body .samse-annonces-table tr + tr {
        border-top: 1px solid #eee!important;
    }

    body .samse-annonces-table td {
        padding: 0!important;
        border: 0!important;
    }

    body .samse-annonces-table td:not(.td-btn):before {
        content: attr(data-th) ' : ';
        font-weight: bold;
    }

    body .samse-annonces-table td a.btn-samse {
        margin: 10px 0;
    }
}
