@import url(//fonts.googleapis.com/css?family=Lora|Handlee);

/* ** Colors ** */
/*
  http://paletton.com/palette.php?uid=35o0u0kk1wA4YREduG5qaumvYpC

  #E35582
  #B5003A
  #989C97

*/

#map {
    height: 600px;
    width: 600px;
}


/* ************* */
/* ** GENERAL ** */
:root {
    --bs-primary: #B5003A;
    --bs-primary-rgb: 181, 0, 58;
    --bs-link-color: #B5003A;
    --bs-link-color-rgb: 181, 0, 58;
    --bs-link-hover-color: #E35582;
    --bs-link-hover-color-rgb: 227, 85, 130;
    --bs-body-font-family: "Lora", serif;
}

body {
    font-family: "Lora", serif;
    font-weight: 400;
    font-size: 1rem;
}

/* Hauteur "dynamique" : suit la barre d'adresse des navigateurs mobiles
   (min-vh-100 = 100vh reste le repli pour les navigateurs plus anciens) */
@supports (min-height: 100dvh) {
    body.min-vh-100 {
        min-height: 100dvh !important;
    }
}

a {
    text-decoration: none;
}

.text-justify {
    text-align: justify;
}

.overflow-auto {
    overflow: auto;
    margin-bottom: 10px;
}

h1 {
    color: #B5003A;
    font-family: "Handlee", sans-serif;
    font-size: 2.5em;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 25px;
}

a {
    color: #B5003A;
}

a:hover,
a:active,
a:focus {
    color: #E35582;
    text-decoration: none;
}


/* ** Bootstrap Buttons ** */
.btn-primary.btn-pink {
    border-color: #E35582;
}

.btn-pink {
    color: #fff;
    /*background-image: -webkit-linear-gradient(#E35582 0%, #B5003A 100%);*/
    /*background-image: -o-linear-gradient(#E35582 0%, #B5003A 100%);*/
    background-image: linear-gradient(#E35582 0%, #B5003A 100%);
    /*filter: progid:DXImage:;Transform.Microsoft.gradient(startColorstr='#E35582', endColorstr='#B5003A', GradientType=0);*/
    /*filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);*/
    background-repeat: repeat-x;
    background-color: #E35582;
    /*margin-top: 4px;*/
}

.btn-pink:hover,
.btn-pink:focus {
    color: #fff;
    background-color: #B5003A;
    background-position: 0 -15px;
}

.btn-pink:active,
.btn-pink.active {
    color: #fff;
    background-color: #B5003A;
    border-color: #245580;
}

/* ** End Bootstrap Buttons ** */

input[type=checkbox] {
    accent-color: #B5003A;
}

/* ** Checkboxes ** */
.form-check-input:checked {
    background-color: #B5003A;
    border-color: #B5003A;
}

.form-check-input:focus {
    border-color: #E35582;
    box-shadow: 0 0 0 .25rem rgba(181, 0, 58, .25);
}

.form-check-input:checked + .form-check-label {
    font-weight: bold;
}

/* ** End Checkboxes ** */


/* ** Forms ** */
.form-control {
    border-radius: 0;
}

.form-control:focus {
    border-color: #B5003A;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(181, 0, 58, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(181, 0, 58, .6);
}

/* CKEditor 5 */
:root {
    --ck-color-focus-border: #E35582;
    --ck-color-button-on-color: #B5003A;
    --ck-color-button-on-background: rgba(227, 85, 130, .15);
    --ck-color-button-on-hover-background: rgba(227, 85, 130, .25);
    --ck-color-link-default: #B5003A;
}

.ck-editor__editable_inline {
    min-height: 150px;
}

.ck.ck-editor {
    font-family: "Lora", serif;
}

/* ** End Forms ** */


/* ** Pagination ** */
.pagination {
    --bs-pagination-color: #B5003A;
    --bs-pagination-hover-color: #fff;
    --bs-pagination-hover-bg: #E35582;
    --bs-pagination-hover-border-color: #E35582;
    --bs-pagination-focus-color: #B5003A;
    --bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(181, 0, 58, .25);
    --bs-pagination-active-bg: #B5003A;
    --bs-pagination-active-border-color: #B5003A;
}

/* ** End Pagination ** */
/* ** END GENERAL ** */
/* ***************** */


/* ****************** */
/* ** NAVIG-ACTION ** */
.logo {
    height: 70px;
    margin: 5px;
}

#main-nav {
    font-family: 'Handlee', sans-serif;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 1px solid #E35582;
}

#main-nav .navbar-brand {
    font-family: 'Handlee', sans-serif;
    color: #777;
    margin-bottom: 0;
    padding-left: 0;
    font-size: 1em;
    white-space: normal;
}

#main-nav .navbar-toggler {
    color: #fff;
    background-color: #E35582;
}

#main-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 .25rem rgba(181, 0, 58, .25);
}

#main-nav .dropdown-toggle::after {
    display: none;
}

#main-nav .dropdown-menu {
    --bs-dropdown-link-active-bg: #B5003A;
    --bs-dropdown-link-hover-bg: rgba(227, 85, 130, .2);
    font-family: "Lora", serif;
    margin-top: 0;
}

/* --- Bureau (≥ 992px) : navbar horizontale, icône au-dessus du libellé --- */
@media (min-width: 992px) {
    #main-nav .navbar-nav .nav-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #777;
        padding: 10px 12px;
        white-space: nowrap;
        border-top: 5px solid transparent;
    }

    #main-nav .navbar-nav .nav-link:hover {
        color: #000;
        border-top-color: #B5003A;
    }

    #main-nav .navbar-nav .nav-link.active,
    #main-nav .navbar-nav .nav-link.show,
    #main-nav .navbar-nav .nav-link.active:hover {
        color: #fff;
        background-color: rgba(227, 85, 130, .5);
        border-top-color: #B5003A;
    }

    #main-nav .navbar-nav > .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* --- Mobile / tablette (< 992px) : en-tête fixe + panneau latéral --- */
@media (max-width: 991.98px) {
    /* L'en-tête reste visible en haut de l'écran.
       z-index > backdrop de l'offcanvas (1040) pour que le panneau, contenu dans l'en-tête, passe au-dessus du voile. */
    #nav-container {
        position: sticky;
        top: 0;
        z-index: 1045;
        background-color: #fff;
    }

    #main-nav {
        min-height: 60px;
    }

    #main-nav .logo {
        height: 48px;
        margin: 6px 8px 6px 0;
    }

    #main-nav .navbar-brand.brand-short {
        font-size: 1.5rem;
        color: #B5003A;
        padding: 0;
    }

    #main-nav .navbar-toggler {
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        font-size: 1.25rem;
    }

    #menu {
        --bs-offcanvas-width: min(320px, 85vw);
        font-family: "Lora", serif;
    }

    #menu .offcanvas-header {
        border-bottom: 1px solid #E35582;
    }

    #menu .offcanvas-title {
        font-family: 'Handlee', sans-serif;
        color: #B5003A;
        line-height: 1.2;
    }

    #menu .logo-small {
        height: 40px;
    }

    #menu .offcanvas-body {
        padding: .5rem 0;
    }

    #menu .nav-link {
        display: flex;
        align-items: center;
        gap: .75rem;
        min-height: 48px;
        padding: .5rem 1.25rem;
        font-size: 1.05rem;
        color: #333;
        border-left: 4px solid transparent;
        background: none;
    }

    #menu .nav-link .fa {
        color: #E35582;
        font-size: 1.15rem;
    }

    #menu .nav-link:hover,
    #menu .nav-link:focus-visible {
        background-color: rgba(227, 85, 130, .1);
        color: #B5003A;
    }

    #menu .nav-link.active {
        color: #B5003A;
        font-weight: bold;
        background-color: rgba(227, 85, 130, .15);
        border-left-color: #B5003A;
    }

    #menu .nav-section {
        margin-top: .5rem;
        padding-top: .5rem;
        border-top: 1px solid #eee;
    }

    #menu .nav-section-title {
        display: flex;
        align-items: center;
        gap: .75rem;
        padding: .5rem 1.25rem;
        font-size: .8rem;
        text-transform: uppercase;
        letter-spacing: .05em;
        color: #989C97;
    }

    #menu .nav-section .nav-link {
        padding-left: 2.25rem;
    }
}

.nav-pills {
    --bs-nav-pills-link-active-bg: #B5003A;
    --bs-nav-link-color: #B5003A;
    --bs-nav-link-hover-color: #B5003A;
}

.nav-pills .nav-link {
    transition: background-color .15s ease-in-out, color .15s ease-in-out;
}

.nav-pills .nav-link:not(.active):hover,
.nav-pills .nav-link:not(.active):focus-visible {
    background-color: rgba(227, 85, 130, .25);
}

.nav-tabs .nav-link {
    color: #B5003A;
}

/* ** END NAVIGATION ** */
/* ******************** */


/* ********************************************************** */
/* ADMIN */

.admin-menu .nav-link {
    color: #B5003A;
    border-left: 5px solid transparent;
    border-radius: 4px;
}

.admin-menu .nav-link:hover {
    background-color: pink;
    border-left-color: #B5003A;
}

.admin-menu .nav-link.active {
    background-color: #fff;
    border-left-color: #B5003A;
}

/* Boutons d'action (Editer / Supprimer...) alignés dans les tableaux */
td > a,
td > form {
    display: inline-block;
    margin: 0 2px 2px 0;
}

/* END ADMIN */
/* ********************************************************** */


/* ********** */
/* ** HOME ** */
#accueil-text {
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 25px;
}

#accueil-text .fa {
    color: #BF0068;
    font-size: 1.5em;
    margin: 4px;
}

#accueil-text p {
    margin-top: 10px;
}

#accueil-text p:nth-child(1) {
    margin-top: 25px;
    margin-left: 0;
}

#accueil-text p:nth-child(2) {
    margin-left: 30px;
}

#accueil-text p:nth-child(3) {
    margin-left: 60px;
}

#accueil-text p:nth-child(4) {
    margin-left: 90px;
    margin-bottom: 25px;
}

/* Fin de la 4e phrase : sur grand écran, à la ligne et décalée pour prolonger l'escalier */
/*#accueil-text .accueil-suite {*/
/*    display: block;*/
/*    margin-left: 45px;*/
/*}*/

/* #accueil-text est un enfant direct de .row : Bootstrap 5 lui impose width: 100%,
   qui s'ajoutait à la marge gauche (débordement horizontal). */
#accueil > .row > #accueil-text {
    width: auto;
    flex: 1 1 auto;
}

/* Mobile / tablette (< 992px, même seuil que le menu) : pas d'escalier, tout est aligné.
   L'icône est placée dans la marge pour que les lignes suivantes s'alignent sur le texte. */
@media (max-width: 991.98px) {
    #accueil > .row > #accueil-text {
        margin: 1.5rem 0 1rem;
        text-align: left;
    }

    #accueil-text p,
    #accueil-text p:nth-child(n) {
        position: relative;
        margin: 0 0 1rem;
        padding-left: 2.25rem;
    }

    #accueil-text .fa {
        position: absolute;
        left: 0;
        top: 0;
        width: 1.75rem;
        margin: 0;
        text-align: center;
        font-size: 1.3em;
    }

    /* La 4e phrase se lit d'un seul tenant */
    #accueil-text .accueil-suite {
        display: inline;
        margin-left: 0;
    }
}

/* Carousel */
#carousel-home .carousel-control-prev,
#carousel-home .carousel-control-next {
    font-size: 2em;
    color: #B5003A;
    opacity: .8;
}

#carousel-home .carousel-control-prev:hover,
#carousel-home .carousel-control-next:hover {
    color: #E35582;
    opacity: 1;
}

#carousel-home .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #B5003A;
    background-color: transparent;
    opacity: 1;
}

#carousel-home .carousel-indicators .active {
    background-color: #B5003A;
}

.carousel-img {
    border-radius: 20px;
    height: 400px;
}

#carousel-one {
    background: url('../img/pregnant-collection/pregnant-looking-up.jpg') no-repeat center bottom;
}

#carousel-two {
    background: url('../img/pregnant-collection/pregnant-couple-1140.jpg') no-repeat center center;
}

#carousel-three {
    background: url('../img/pregnant-collection/belly-painting-africa-1140.jpg') no-repeat center center;
}

/* End Carousel */
/* ** END HOME ** */
/* ************** */


/* ****************** */
/* ** NOTRE METIER ** */
#notremetier h2 {
    margin-bottom: 20px;
}

#notremetier .row {
    margin-bottom: 50px;
}

#notremetier img {
    box-shadow: 1px 1px 5px #B5003A;
}

#notremetier ul {
    list-style-type: none;
}

#notremetier ul li {
    margin: 2px;
}

.info {
    color: #B5003A;
    font-size: 1.1em;
}

.info:hover {
    color: #E35582;
    cursor: pointer;
}

.pulsing-circle {
    margin-right: 5px;
    -webkit-animation: info-catcher-pulse .8s infinite alternate;
    animation: info-catcher-pulse .8s infinite alternate;
}

@-webkit-keyframes info-catcher-pulse {
    from {
        -webkit-transform: scale3d(0.5, 0.5, 1);
    }
    to {
        -webkit-transform: scale3d(1, 1, 1);
    }
}

@keyframes info-catcher-pulse {
    from {
        -webkit-transform: scale3d(0.5, 0.5, 1);
        transform: scale3d(0.5, 0.5, 1);
    }
    to {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

.whoooshh {
    position: fixed;
    left: -100%;
    right: 100%;
    top: 15%;
    opacity: 0;
    -webkit-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
    font-size: .8em;
}

.whoooshh-active {
    left: 0;
    right: 0;
    z-index: 999;
    opacity: 1;
}

.whoooshh-close {
    font-family: "Handlee", cursive;
    font-size: 1.5em;
    color: #B5003A;
    margin-right: 25px;
    cursor: pointer;
}

.whoooshh-close:hover {
    color: #E35582;
}

#notremetier .overlay {
    position: fixed;
    z-index: 500;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(247, 208, 221, .5);
}

#notremetier .metier-content {
    height: 150px;
    overflow: hidden;
    margin: 20px;
    background: #e35583;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

#notremetier .metier-content h4 {
    margin-top: 0;
    margin-bottom: 15px;
}


#notremetier .content-head {
    text-align: center;
}

#notremetier .content-body p {
    text-align: justify;
    font-family: "Handlee", cursive;
}

#notremetier .row .whoooshh-row {
    margin-bottom: 0;
    background: rgba(181, 0, 58, .9);
    -webkit-box-shadow: 0 2px 5px #000;
    box-shadow: 0 2px 5px #000;
}

#notremetier #preparation {
    height: 325px;
}

/* --- Mobile (< 768px) : chaque section devient une carte (image, titre, liste, détails dépliables) --- */
@media (max-width: 767.98px) {
    #notremetier > .row:not(.metier-section) {
        margin-bottom: .5rem;
    }

    #notremetier .metier-section {
        margin: 0 0 2rem;
        background-color: #fff;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(181, 0, 58, .15);
    }

    #notremetier .metier-section > [class*="col-"] {
        padding: 0;
    }

    #notremetier .metier-section .img-col img {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        border-radius: 0 !important;
        box-shadow: none;
    }

    #notremetier .metier-section h2 {
        font-size: 1.5rem;
        color: #B5003A;
        margin: 1.25rem 1.25rem .75rem;
    }

    #notremetier .metier-section ul {
        margin: 0;
        padding: 0 1.25rem 1.25rem;
    }

    #notremetier .metier-section ul li {
        position: relative;
        margin: 0 0 .35rem;
        padding-left: 1.1rem;
    }

    #notremetier .metier-section ul li::before {
        content: '';
        position: absolute;
        left: 0;
        top: .6em;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: #E35582;
    }

    /* "Plus d'info" devient un vrai bouton */
    #notremetier .metier-section ul li.info {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
        margin-top: .75rem;
        padding: .4rem 1rem;
        border: 1px solid #E35582;
        border-radius: 999px;
        font-size: .95rem;
    }

    #notremetier .metier-section ul li.info::before {
        display: none;
    }

    #notremetier .metier-section ul li.info[aria-expanded="true"] {
        color: #fff;
        background-color: #E35582;
    }

    #notremetier .metier-section ul li.info[aria-expanded="true"] .pulsing-circle {
        animation: none;
    }

    /* Les fiches de détail s'affichent dans la carte au lieu du panneau animé */
    #notremetier .whoooshh {
        position: static;
        display: none;
        opacity: 1;
        transition: none;
        font-size: 1rem;
    }

    #notremetier .whoooshh.whoooshh-open {
        display: block;
    }

    #notremetier .row .whoooshh-row {
        margin: 0;
        padding: 0 1rem 1rem;
        background: none;
        box-shadow: none;
    }

    #notremetier .whoooshh-row > [class*="col-"] {
        padding: 0;
    }

    #notremetier .metier-content,
    #notremetier #preparation {
        height: auto;
        margin: 0 0 .75rem;
        padding: 1rem;
        border-radius: 14px;
    }

    #notremetier .whoooshh h4 {
        font-size: 1.1rem;
    }

    #notremetier .content-body p {
        text-align: left;
        margin-bottom: .5rem;
    }

    #notremetier .overlay {
        display: none;
    }
}

/* ** END NOTRE METIER ** */
/* ********************** */


/* ****************** */
/* ** NOUS TROUVER ** */
#panel {
    position: absolute;
    top: 5px;
    left: 50%;
    margin-left: -180px;
    z-index: 5;
    background-color: #fff;
    padding: 5px;
    border: 1px solid #999;
}

#noustrouver-subtext {
    margin-bottom: 25px;
    margin-left: 100px;
    margin-right: 100px;
}

#noustrouver-subtext .fa-external-link {
    color: #B5003A;
}

.map_container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /*Ratio 16:9 ( 100%/16*9 = 56.25% )*/
    height: 550px;
}

.map_container .map_canvas {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
}

#table-sf {
    overflow-x: hidden;
}

/* Bootstrap 5.3 colore les cellules de .table via ses variables (--bs-table-*),
   avec un sélecteur plus spécifique : on passe donc par ces variables. */
.table > tbody > tr > td.activity-td-selected,
.table > tbody > tr > td.sf-tr-selected {
    --bs-table-bg-state: #E35582;
    --bs-table-color-state: #fff;
    color: #fff;
}

.sf-hov > tbody > tr > td:hover {
    border-top: 3px solid #B5003A;
    font-weight: bold;
    cursor: pointer;
}

.table > thead > tr > th {
    border-bottom: none;
}

#table-height {
    /*min-height: 100px;*/
    max-height: 600px;
    overflow: auto;
}

/* ** END NOUS TROUVER ** */
/* ********************** */


/* *************** */
/* ** USER ** */
.textarea-subtext {
    color: #989C97;
    font-size: .9em;
}

#user-show dt {
    color: #989C97;
}

#user-show ul {
    border-left: 1px solid #B5003A;
    margin-left: 30px;
    padding-left: 15px;
}

#user-show li {
    list-style: none;
}

#user-show #user-description {
    border-left: 1px solid #B5003A;
    margin-left: 30px;
    padding-left: 15px;
}

#user-show #contact-img {
    margin-top: 32px;
}

#messagerie h3 {
    color: #E35582;
}

.messagerie-form {
    border: 1px solid #B5003A;
    padding: 10px;
    box-shadow: 0 0 5px #B5003A;
    margin-bottom: 25px;
    display: block;
}

.hide-form {
    display: none;
}

.message-author {
    color: #989C97;
}

/* ** END USER ** */
/* ******************** */


/* ****************** */
/* ** LIENS UTILES ** */
.liens-intro {
    text-align: center;
    color: #777;
    margin: -10px auto 1.5rem;
}

#liensutile hr {
    margin: 0.5rem 0;
}

/* L'image reste visible à côté de la liste pendant le défilement */
.liensutile-img {
    position: sticky;
    top: 1rem;
}

/* Adresse et téléphone sur une même ligne, qui passe à la ligne si nécessaire */
.lien-meta {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1rem;
    justify-content: space-between;
    row-gap: .1rem;
    margin-top: .2rem;
    font-size: .85rem;
    color: #555;
}

.lien-meta .fa {
    color: #E35582;
}

/* ** END LIENS UTILES ** */
/* ********************** */


/* ************** */
/* ** CONTACT ** */
#contact-map {
    border: 1px solid #989C97;
    height: 460px;
    width: 100%;
}

#nous-h3 {
    margin-top: 0;
}

/* Adresse : les morceaux passent à la ligne proprement au lieu de déborder */
#contact-add {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.25rem;
    row-gap: .25rem;
    border-left: 1px solid #B5003A;
    font-size: 1.1em;
    font-style: normal;
    margin-bottom: 20px;
    padding: 20px;
    margin-left: clamp(0px, 6vw, 70px);
}

/* Sur petit écran : pas de liseré rose, l'adresse et le formulaire prennent toute la largeur,
   la carte passe sous le formulaire */
@media (max-width: 991.98px) {
    #contact-add {
        border-left: 0;
        margin-left: 0;
        padding: 0 0 20px;
    }

    #contact-map {
        height: 300px;
    }
}

#contact-add .numbers {
    color: #989C97;
}

/* ** END CONTACT ** */
/* ***************** */


/* **************** */
/* ** CALENDRIER ** */
#jourj {
    font-size: 4.5em;
    font-family: "Handlee", cursive;
    color: #E35582;
    text-shadow: #ccc 0 1px 0,
    #c9c9c9 0 2px 0,
    #bbb 0 3px 0,
    #b9b9b9 0 4px 0,
    #aaa 0 5px 0;
}

#ani-j {
    position: relative;
    opacity: 0;
    animation-name: fromtop;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@-webkit-keyframes fromtop {
    0% {
        top: -100px;
        opacity: 0;
    }
    50% {
        top: 0;
        opacity: .5;
    }
    75% {
        top: 5px;
        opacity: .75;
    }
    100% {
        top: 0;
        opacity: 1;
    }
}

@-o-keyframes fromtop {
    0% {
        top: -100px;
        opacity: 0;
    }
    50% {
        top: 0;
        opacity: .5;
    }
    75% {
        top: 5px;
        opacity: .75;
    }
    100% {
        top: 0;
        opacity: 1;
    }
}

@-moz-keyframes fromtop {
    0% {
        top: -100px;
        opacity: 0;
    }
    50% {
        top: 0;
        opacity: .5;
    }
    75% {
        top: 5px;
        opacity: .75;
    }
    100% {
        top: 0;
        opacity: 1;
    }
}

@keyframes fromtop {
    0% {
        top: -100px;
        opacity: 0;
    }
    50% {
        top: 0;
        opacity: .5;
    }
    75% {
        top: 5px;
        opacity: .75;
    }
    100% {
        top: 0;
        opacity: 1;
    }
}

.ani-minus {
    position: relative;
    opacity: 0;
    animation-name: fromright;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@-webkit-keyframes fromright {
    0% {
        right: -50%;
        opacity: 0;
    }
    5% {
        opacity: .25;
    }
    75% {
        right: 1%;
        opacity: .75;
    }
    100% {
        right: 0;
        opacity: 1;
    }
}

@-o-keyframes fromright {
    0% {
        right: -50%;
        opacity: 0;
    }
    5% {
        opacity: .25;
    }
    75% {
        right: 1%;
        opacity: .75;
    }
    100% {
        right: 0;
        opacity: 1;
    }
}

@-moz-keyframes fromright {
    0% {
        right: -50%;
        opacity: 0;
    }
    5% {
        opacity: .25;
    }
    75% {
        right: 1%;
        opacity: .75;
    }
    100% {
        right: 0;
        opacity: 1;
    }
}

@keyframes fromright {
    0% {
        right: -50%;
        opacity: 0;
    }
    5% {
        opacity: .25;
    }
    75% {
        right: 1%;
        opacity: .75;
    }
    100% {
        right: 0;
        opacity: 1;
    }
}

#ani-nbr {
    position: relative;
    opacity: 0;
    font-size: 0;
    animation-name: toglow;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
    animation-timing-function: linear;
    animation-delay: 2s;
    animation-fill-mode: forwards;
}

@-webkit-keyframes toglow {
    0% {
        font-size: 0;
        opacity: 0;
    }
    5% {
        font-size: .05em;
        opacity: .05;
    }
    25% {
        font-size: .25em;
        opacity: .25;
    }
    75% {
        font-size: .75em;
        opacity: .75;
    }
    100% {
        font-size: 1em;
        opacity: 1;
    }
}

@-o-keyframes toglow {
    0% {
        font-size: 0;
        opacity: 0;
    }
    5% {
        font-size: .05em;
        opacity: .05;
    }
    25% {
        font-size: .25em;
        opacity: .25;
    }
    75% {
        font-size: .75em;
        opacity: .75;
    }
    100% {
        font-size: 1em;
        opacity: 1;
    }
}

@-moz-keyframes toglow {
    0% {
        font-size: 0;
        opacity: 0;
    }
    5% {
        font-size: .05em;
        opacity: .05;
    }
    25% {
        font-size: .25em;
        opacity: .25;
    }
    75% {
        font-size: .75em;
        opacity: .75;
    }
    100% {
        font-size: 1em;
        opacity: 1;
    }
}

@keyframes toglow {
    0% {
        font-size: 0;
        opacity: 0;
    }
    5% {
        font-size: .05em;
        opacity: .05;
    }
    25% {
        font-size: .25em;
        opacity: .25;
    }
    75% {
        font-size: .75em;
        opacity: .75;
    }
    100% {
        font-size: 1em;
        opacity: 1;
    }
}

#legend {
    margin-top: 15px;
    padding-bottom: 1px;
    list-style-type: none;
    border-left: 1px solid #B5003A;
    margin-left: 30px;
    padding-left: 15px;
}

.legend-div {
    margin: 20px;
}

.conception,
.naissance,
.consultation,
.medical,
.administratif,
.maternite {
    text-align: center;
    width: 40px;
    border: 1px solid;
    color: #fff;
    padding: 5px;
    border-radius: 2px;
    float: left;
    margin-right: 15px;
}

.conception,
.naissance {
    background-color: #A140A8;
    border-color: #7C0185;
}

.consultation {
    background-color: #80DD53;
    border-color: #39B100;
}

.medical {
    background-color: #FFB45F;
    border-color: #CC6C00;
}

.administratif {
    background-color: #5654B4;
    border-color: #17158F;
}

.maternite {
    background-color: #3DA294;
    border-color: #00806E;
}

#list-div {
    max-height: 250px;
    overflow-y: auto;
}

#mylist {
    margin-top: 15px;
    color: #989C97;
}

/* ** END CALENDRIER ** */
/* ******************** */


/* ************ */
/* ** FOOTER ** */
footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #E7E7E7;
    font-size: 0.7em;
}

/* ** END FOOTER ** */
/* **************** */


/* ******************* */
/* ** MEDIA QUERIES ** */
@media all and (max-width: 1205px) {
    #main-nav {
        font-size: .9em;
    }

    #main-nav .navbar-brand {
        font-size: .7em;
    }

}


@media all and (max-width: 995px) {
    body {
        font-size: .95rem;
    }

    .whoooshh {
        font-size: 1.1em;
    }

    .whoooshh h4 {
        font-size: 1.3em;
    }
}

@media all and (max-width: 767px) {
    /* nous trouver */
    #noustrouver .table-responsive {
        font-size: 1.2em;
        white-space: normal;
    }

    #noustrouver-subtext {
        text-align: justify;
        margin: 0 0 20px;
    }

    .map_container {
        display: none;
    }

    #contact-img {
        display: none;
    }



    /* calendrier */
    #legend {
        display: none;
    }


    /* espace pro */
    #espacepro img {
        display: none;
    }

}

/* Carrousel sur mobile/tablette : hauteur proportionnelle à l'écran, images recadrées pour remplir la zone */
@media (max-width: 767.98px) {
    .carousel-img {
        height: clamp(200px, 60vw, 400px);
        border-radius: 14px;
        background-size: cover !important;
    }

    #carousel-home .carousel-control-prev,
    #carousel-home .carousel-control-next {
        width: 15%;
        font-size: 1.6em;
    }
}

@media all and (max-width: 420px) {
    /* nous trouver */
    #noustrouver .table-responsive {
        font-size: 1em;
    }
}

@media all and (max-width: 0px) {
}


/* ** END MEDIA QUERIES ** */
/* *********************** */


/* ** TESTING ** */
