/* ANNUAIRE */
#annuaire-moteur-recherche #results_form {
    display: flex;
    max-width: 100% !important;
    padding: 0 !important;
}
#annuaire-moteur-recherche #results_form .col {
    flex: 1 1;
    display: flex;
    flex-direction: column;
}
#annuaire-moteur-recherche #results_form .col-list-results {
    background: #dee2e6;
    padding: 20px 50px;
    height: fit-content;
}
#annuaire-moteur-recherche #results_form .cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10% 5%;
    margin: 15px 0;
    padding-bottom: 100px;
}
#annuaire-moteur-recherche #results_form .card img.logo_fiche {
    border-radius: 50px;
    position: absolute;
    top: -15px;
    background: #fff;
    padding: 5px;
}
#annuaire-moteur-recherche #results_form #map .card img.logo_fiche {
    top: -75px;
}
#annuaire-moteur-recherche #results_form .card h3 {
    margin-top: 25px;
}
#annuaire-moteur-recherche #results_form #map .card h3 {
    margin-top: 50px;
}
#annuaire-moteur-recherche #results_form .count-results {
    padding: 20px 0;
}
#annuaire-moteur-recherche #results_form .count-results span.larger {
    font-size: xx-large;
}
#annuaire-moteur-recherche #results_form .pagination {
    display: flex;
    justify-content: center;
    padding: 20px;
}
#annuaire-moteur-recherche #results_form .pagination a {
    padding: 8px 16px;
    margin: 0 4px;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #000;
}
#annuaire-moteur-recherche #results_form .pagination a:hover {
    background-color: #ddd;
}
#annuaire-moteur-recherche #results_form .pagination .current-page {
    padding: 8px 16px;
    margin: 0 4px;
    background-color: #0073aa;
    color: #fff;
    border: 1px solid #0073aa;
}

@media (max-width: 900px) {
    #annuaire-moteur-recherche #results_form {
        flex-direction: column-reverse;
    }
}

/* PROFIL ANNUAIRE */
.fiche .tabs_titles {
    border: solid #dee2e6;
    padding: 1.5rem !important;
    border-width: 1px;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}
.fiche .tabs_titles nav {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
}

/* INSCRIPTION */
.form_members .block {
    margin: 1rem 0;
    background: #dee2e6;
    padding: 30px;
}
.form_members .alert {
    margin: 1rem 0;
    border: 2px solid #dee2e6;
    padding: 10px;
    text-align: center;
}
.form_members .block h3,
.form_members .alert h3 {
    text-transform: uppercase;
}


/* TEMPLATE MEDIATHEQUE */
.template-mediatheque .row {
    display: flex;
    margin: 25px 0;
}
.template-mediatheque .col-33 {
    width: 33%;
    margin-right: 1%;
}
.template-mediatheque .border-right {
    border-right: 1px solid #dee2e6;
}
.template-mediatheque .col-66 {
    width: 66%;
}
.template-mediatheque-list .pagination {
    display: flex;
    justify-content: center;
    padding: 20px;
}
.template-mediatheque-list .pagination a {
    padding: 8px 10px;
    margin: 0 4px;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #000;
}
.template-mediatheque-list .pagination a:hover {
    background-color: #ddd;
}
.template-mediatheque-list .pagination .dots,
.template-mediatheque-list .pagination .current-page {
    padding: 8px 10px;
    margin: 0 4px;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    color: #000;
}
.template-mediatheque-list .pagination .current-page {
    background-color: var(--global-palette1);
    color: #fff;
    border: 1px solid var(--global-palette1);
}

/* TEMPLATE ANNONCES */
.template-annonces-list .row,
.template-annonce .row {
    display: flex;
    margin: 25px 0;
}
.template-annonces-list .col-33,
.template-annonce .col-33 {
    width: 30%;
}
.template-annonces-list .col-66,
.template-annonce .col-66 {
    width: 65%;
    margin-right: 5%;
}
.template-annonces-list div.annonce > a {
    display: flex;
}
.template-annonces-list div.annonce > a .col-20 {
    width: 20%;
}
.template-annonces-list div.annonce > a .col-80 {
    width: 75%;
    margin-left: 5%;
}
.template-annonces-list .block,
.template-annonce .block {
    margin: 1rem 0;
    background: #dee2e6;
    padding: 30px;
}
.template-annonces-list .filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
    width: 100%;
    padding: 25px 5%;
    background: #bebebe;
}
.template-annonces-list .filters a {
    color: #000;
}
.template-annonces-list .filters div.subelement {
    display: none;
    position: absolute;
    background: #bebebe;
    padding: 20px;
    margin-left: -20px;
    max-height: 350px;
    overflow: auto;
}
.template-annonces-list div.annonce span.type,
.template-annonces-list div.annonce span.category,
.template-annonces-list div.annonce span.profession {
    background: #1a1e21;
    color: #fff;
    padding: 5px 15px;
    margin-right: 10px;
}
.mes_annonces {
    display: flex;
}
.mes_annonces > div.annonce {
    background: #dee2e6;
    padding: 25px;
    margin: auto;
    position: relative;
}
.mes_annonces > div.col-33 {
    width: 31%;
    margin: 1%;
}
.mes_annonces > div.annonce span.status_annonce,
.form_annonces span.status_annonce {
    position: absolute;
    background: #dee2e6;
    padding: 0 15px;
    border-radius: 100px;
}
.mes_annonces > div.annonce span.status_annonce {
    top: 35px;
    left: 35px;
}
.form_annonces span.status_annonce {
    left: 50%;
    top: 0;
}
.mes_annonces > div.annonce span.status_annonce > i,
.form_annonces span.status_annonce > i {
    border-radius: 100px;
    width: 5px;
    height: 5px;
    display: block;
    float: left;
    margin-top: 10px;
    margin-right: 10px;
}
.mes_annonces > div.annonce span.status_annonce > i.text-danger,
.form_annonces span.status_annonce > i.text-danger {
    background: red;
}
.mes_annonces > div.annonce span.status_annonce > i.text-warning,
.form_annonces span.status_annonce > i.text-warning {
    background: orange;
}
.mes_annonces > div.annonce span.status_annonce > i.text-success,
.form_annonces span.status_annonce > i.text-success {
    background: green;
}
.mes_annonces > div.annonce span.status_annonce > i.text-secondary,
.form_annonces span.status_annonce > i.text-secondary {
    background: black;
}

form .d-none { display: none; }

.spinner_cpts {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}