/*** Liste animations - pages internes ***/

.pmb-anims-liste-interne .pmb-anim-item{
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.pmb-anims-liste-interne .pmb-anim-logo img{
    max-height: 150px;
    min-width: 150px;
    border-radius: var(--border-radius);
}

.pmb-item-info{
    width: 100%;
}

.pmb-anims-liste-interne .pmb-img img{
    max-width: 180px;
    border-radius: var(--border-radius);
}

.pmb-anims-liste-interne .pmb-type{
    margin-bottom: 0.5rem;
}

.pmb-anims-liste-interne .pmb-item-info .pmb-button{
    margin-top: 0;
}

.pmb-anims-liste-interne .pmb-date, 
.pmb-anims-liste-interne .pmb-localisation,
.pmb-anims-liste-interne .pmb-event-heure{
    margin-block: 0.25rem;
    display: inline-block;
}

.pmb-anims-liste-interne .pmb-resume {
    margin: 0.25rem 0 0.75rem;
    font-size: 1rem;
}

.pmb-anims-liste-interne h3,
.pmb-events-liste-interne h3{
    margin-bottom: 0.75rem;
}

.pmb-anims-liste-interne .pmb-item-details,
.pmb-anims-liste-interne .pmb-item-info{
    margin-block: 0;

}

/* PAGE DES RESULTATS DE RECHERCHES - AFFICHAGE DES ANIMATIONS */
.pmb-buttons-container .pmb-button-container {
  font-size: 1rem;
}

/* PAGE DES RESULTATS DE RECHERCHES - AFFICHAGE DES ANIMATIONS */

#animation_see .pmb-type {
    background-color: #E5E5E5;
    color: #333446;
    padding: 0.5rem 0.75rem;
    margin-block: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

/* Container des animations en résultats de recherche */
.search_universe_segment_result_list_content_animation {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.pmb-agenda-anims-search .pmb-buttons-container {
    flex-direction: column;
    gap: 16px;
}

/* FORMULAIRE D'INSCRIPTION A UNE ANIMATION */

/* Container du formulaire d'inscription */
#registration .form-registration .form-contenu {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Container des boutons d'actions du formulaire : Ajouter une personne, ajouter le contact aux personnes inscrites */
#registration .form-registration .form-contenu .registration_form_registration_subscribe_person_form .registration_form_registration_button_person {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* PAGE D'UNE ANIMATION */

/* Container principal des éléments de la page d'animation */
/* Permet de cibler la section enfant directe de la div avec l'id : animation_see */
#animation_see > section {
	display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Permet de supprimer les <br> parasites de l'affichage */
#animation_see br {
	display: none;
}

/* Container de l'en-tête de l'animation */
#animation_see .pmb-animation-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

/* Container des informations de l'animation */
#animation_see .pmb-animation-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

/* Contenu de l'animation */
#animation_see .pmb-animation-content .pmb-content-section {
    width: 100%;
}

/* Etiquette pour afficher le type de l'animation */
.pmb-type {
    background-color:#F0EFF0;
    color: #333446;
    padding: 8px;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
}

/* Informations générales de l'animation */
.pmb-info-grid-primary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
    gap: 24px 16px;
    padding: 24px;
    background-color: #F0EFF0;
    border-radius: 5px;
    width: 100%;
}

/* Item d'information de l'animation */
.pmb-info-box {
    display: flex;
    align-items: start;
    gap: 12px;
}

/* Titre de l'item d'information de l'animation */
.pmb-info-label {
    font: normal normal bold 16px/20px "Montserrat";
}

/* Section image + description */
.pmb-content-section::after {
    content: "";
    clear: both;
    display: block;
}

/* Image de l'animation */
.pmb-image-wrapper {
	float: left;
    margin-right: 16px;
    margin-bottom: 16px;
    border-radius: 4px;
    overflow: hidden;
    max-width: 300px;
}

/* Styles liés au prix affiché */
.price-value,
.pmb-quota-value {
    font-weight: bold;
}

/* Styles liés au prix affiché */
.price-type,
.pmb-quota-label {
    font-weight: normal;
}

/* <ul> qui affiche les concepts et catégories liés à une animation */
.pmb-animation-concepts-list,
.pmb-animation-categories-list {
    display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

/* Cible les <a> concepts et catégories */
.pmb-animation-concepts-list a,
.pmb-animation-categories-list a {
    display: inline;
}

/* Container du label (Catégories, concepts, champs persos) et son contenu */
.pmb-animation-categories,
.pmb-animation-concepts,
.pmb-animation-p-perso {
    display: flex;
    gap: 4px;
}

.labelAnim span {
    font-weight: 700;
}

/* INFORMATIONS D'INSCRIPTION */

#animation_see .pmb-animation-content .pmb-registration-info {
    padding: 24px;
    background-color: #F0EFF0;
    border-radius: 5px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#animation_see .pmb-animation-content .pmb-registration-info .pmb-registered-persons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#animation_see .pmb-animation-content .pmb-registration-info .pmb-registered-persons .person-name {
    background-color: #FFFFFF;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
}


/* Animations parente */
.pmb-parent-animation {
    display: flex;
	flex-direction: column;
    gap: 16px;
}

.pmb-related-animations {
    padding-top: 32px;
    border-top: 2px solid #F0EFF0;
}

/* Bouton d'inscription - Default */
.pmb-related-card a {
    position: relative;
    background-color: #F9F9F9;
    border: 1px solid #333446;
    font-family: "Montserrat", helvetica, sans-serif;
    padding: 8px 24px;
    border-radius: 5px;
    color: #333446;
    transition: .2s ease-in-out;
    text-decoration: none;
}

/* Bouton d'inscription - Hover */
.pmb-related-card a:hover {
    background-color: #333446;
    border: 1px solid #333446;
    color: #F9F9F9;
}

/* Animations liées à l'animation parente */
#animation_childrens_list {
	display: flex;
    flex-direction: column;
	align-items: flex-start;
    gap: 16px;
}

/* Formulaire pour s'inscrire aux animations liées */
#animation_childrens_list form {
	display: flex;
    flex-direction: column;
	align-items: flex-start;
    gap: 16px;
	width: 100%;
}

/* Tableau affichant les animations liées */
#animation_childrens_list form .pmb-table-child-animation,
#animation_childrens_list form .pmb-table-child-animation table {
	width: 100%;
}

/* Tableau */
.animation.even {
    background-color: #F0EFF0;
}

.descr_childrens_animation thead th {
    background-color: #F0EFF0;
    font-weight: bold;
}

/* RESPONSIVE - Page d'une animation */
@media (max-width: 992px) {

    .pmb-image-wrapper {
        float: inherit;
        width: fit-content;
    }

}

@media (max-width: 768px) {

    .pmb-info-box {
        flex-direction: row;
    }

}