/*
Theme Name: Pti chat 29
Theme URI:  https://www.wpserveur.net
Author:     Mary
Author URI: https://www.ptichat29.com
Template:   pet-care-zone
Version:    1.0
License:    GNU General Public License v2 or later
*/

/*************************************************************************
Résolution mobile first
*/

/*
Principal
*/

html {
    height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.category-evenements .liste-annonces {
   padding : 30px;
}


/* Espacement entre les cartes événements */
.container-evenements {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

/* Affichage sur mobile */
@media (max-width: 768px) {
    .container-evenements {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}


.annonce > a.article-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.article-card {
    height: 100%;
    cursor: pointer;
}


/* Lien de la carte adoption */
.annonce .annonce-decouvrir {
    display: block;
    text-align: left;
    color: #ec0e7d;
    font-weight: 700;
    margin-top: 12px;
    text-decoration: none;
}


#page,
.site {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-area,
.site-content {
    flex: 1;
}


.wpcf7-not-valid-tip {
   margin-top: -18px;
}


/* LISTE DES EVENEMENTS */
.container-annonces {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.article-evenement-date {
   padding: 10px 0 10px 0;
    font-weight: 600;
}

.article-evenement-description {
   padding: 50px 0 0 0;
}


.evenement-card {
    border: solid 2px #eeeeee;
    padding: 15px;
    margin-bottom: 25px;
    box-shadow: 0 6px 25px rgb(12 89 219 / -1%);
}


.evenement-card:hover {
    border: solid 2px #eab802;
    cursor: pointer;
}

.evenement-card:hover  img {
    opacity: 0.6;
}

.evenement-lien {
   display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    flex-direction: column;
}

/* CALENDRIER */
.evenement-date {
    padding: 0 20px 0 20px;
    flex: 0 0 49px;
    height: 100px;
    background: #eab801;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #333;
}


.evenement-mois {
    font-size: 16px;
    font-weight: bold;
}

.evenement-jour {
    font-size: 35px;
    font-weight: 800;
    line-height: 1.1;
}

.evenement-annee {
    font-size: 12px;
}

.evenement-date-complete {
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
    text-align: center;
    line-height: 1.2rem;
}

/* IMAGE */
.evenement-image {
    flex: 0 0 150px;
}

.evenement-image img {
    width: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* TEXTE */
.evenement-contenu {
    flex: 1;
}

.evenement-contenu h2 {
    margin: 0 0 12px;
    color: #333;
    font-size: 22px;
}

.evenement-extrait {
    color: #666;
    line-height: 1.6;
}

.evenement-lire-suite {
    color: #ec0e7d;
    font-weight: bold;
}

/* FICHE EVENEMENT */
.annonce-date {
    color: #b07800;
    font-weight: bold;
    margin-bottom: 20px;
}

.photo-principale img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 25px;
}

.photo-secondaire img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.video-annonce video {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 25px auto;
}

/* MOBILE */
@media (max-width: 650px) {

    .evenement-lien {
        flex-wrap: wrap;
        padding: 18px;
        gap: 15px;
    }

    .evenement-date {
        flex: 0 0 65px;
        height: 80px;
    }

    .evenement-jour {
        font-size: 28px;
    }

    .evenement-image {
        flex: 1;
    }

    .evenement-image img {
        width: 100%;
        height: 100px;
    }

    .evenement-contenu {
        flex: 0 0 100%;
    }
}

/*********************************************** HEADER ********************************************/

.menu-main {
    display:flex;
    flex-direction: row;
}


.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: block;
}


.close-mobile-menu {
    position: absolute;
    top: 15px;
    right: 20px;

    background: transparent;
    border: none;

    color: #FFF;
    font-size: 32px;
    cursor: pointer;

    z-index: 999999;
}

.banniere-cover-footer {
    background-image: url(img/fond-transparent-abstrait-vague-grise-elegante_1055-10481.png);
    width: 100%;
    position: absolute;
    background-size: cover;
    height: 300px;
    opacity: 0.6;
    background-position: 0px -400px;
}


.banniere-cover {
    background-image: url(img/fond-transparent-abstrait-vague-grise-elegante_1055-10481.png);
    width: 100%;
    position: absolute;
    background-size: cover;
    height: 214px;
    opacity: 0.6;
    background-position: -3px -3px;
}

.main_header .container {
    height: 64px;
}

.header-inner {
    z-index: 99999;
    display: flex;
    flex-direction: row;
}

.navbar-brand {
    width: 30%;
}

.site-navigation {
    display: none;
}

.site-navigation .primary-menu > li > a,
.link-icon-wrapper a {
    font-size: 18px;
    color: #FFF;
}

.site-navigation .primary-menu-wrapper > li a {
    color: #FFF;
}

.site-navigation .primary-menu .menu-item:hover::after {
    position: absolute;
    content: '';
    width: 100%;
    left: 0;
    top: 53px;
    height: 10px;
    background-color: #ec0e7d;
}

.current-menu-item::after {
    position: absolute;
    display: none;
    content: '';
    width: 100%;
    left: 0;
    top: 53px;
    height: 10px;
    background-color: #ec0e7d;
}

.menu-boutons-header-container {
    position:absolute;
    display: flex;
    flex-direction: column;
    margin: 0;
    right: 40%;
    top: 0;
    padding: 0;
    list-style: none;
    height: 64px;
}



.menu-boutons-header-container.mobile-only .texte-menu {
    font-size: 12px;
    padding: 0;
    color: #FFF;
    position: absolute;
    top: 35px;
    left: 5px;
}

.menu-boutons-header-container .menu {
    display: none;
    flex-direction: row;
}

#sub-footer .current-menu-item::after {
    display: none;
}


.menu-boutons-header-container .menu .sub-menu {
    display: none;
}

.menu-boutons-header-container .menu li {
    position: relative;
}

.menu-boutons-header-container .menu li a {
    font-size: 18px;
    color: #FFF;
    text-decoration: none;
}

.menu-boutons-header-container .menu li:nth-last-child(2) {
    list-style: none;
    padding: 0 22px 0 38px;
    line-height:63px;
    position: relative;
    height: 63px;
    background-color: #ec0e7d;
    cursor:pointer;
}

.menu-boutons-header-container .menu li:last-child {
    list-style: none;
    padding: 0 14px 0 44px;
    line-height:63px;
    position: relative;
    height: 63px;
    background-color: #eab801;
    cursor:pointer;
}

.menu-boutons-header-container .menu li:nth-last-child(2):hover {
    background-color: #9d0350;
}

.menu-boutons-header-container .menu li:last-child:hover {
    background-color: #a78404;
}

.menu-boutons-header-container .menu li:nth-last-child(2)::before {
    position: absolute;
    content: url(img/adopter.png);
    top: 7px;
    right: 98px;
    z-index: 100;
}

.menu-boutons-header-container .menu li:last-child::before {
    position: absolute;
    content: url(img/evenement.png);
    top: 9px;
    right: 116px;
    z-index: 100;
}

.link-icon-wrapper i {
    font-size: 11px;
    color: #FFF;
}

a {
    color: #ec0e7d;
    text-decoration: underline;
}

.aioseo-breadcrumbs a {
    color: #FFF;
    text-decoration: underline;
}


.single-post .aioseo-breadcrumbs a {
    color: #000;
    text-decoration: underline;
}

.single-post .aioseo-breadcrumbs {
    text-align: left;
}


.banniere-association, .objectif-association, .famille-accueil, .devenir-famille-accueil {
    padding: 0 0 40px;
}


.association-page {
    position: relative;
}

  .banniere-adoption {
        padding: 50px 0;
    }



.objectif-association {
    padding-top: 50px;
}

.bloc-asso-don {
   padding : 40px;
   text-align: center;
} 


/* Notification de confirmation Contact Form 7 */
.contact-page .wpcf7 form.sent .wpcf7-response-output {
    position: fixed !important;
    top: 125px;
    right: 25px;
    left: auto;
    bottom: auto;
    z-index: 99999;
    width: min(380px, calc(100vw - 40px));
    margin: 0 !important;
    padding: 18px 22px;
    border: none !important;
    border-left: 5px solid #278a55 !important;
    border-radius: 10px;
    background: #eaf7ef;
    color: #245c3c;
    box-shadow: 0 5px 20px rgba(0,0,0,.15);
    font-weight: 600;
    text-align: left;
    animation: notification-arrivee .4s ease;
}

@keyframes notification-arrivee {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .contact-page .wpcf7 form.sent .wpcf7-response-output {
        top: 15px;
        right: 15px;
        width: calc(100vw - 30px);
    }
}

.bloc-familles {
   padding-bottom: 30px;
} 


.famille-accueil .container, .bloc-hello-asso, .bloc-familles {
    background-color: #eeeeee;
    padding: 30px 20px;
} 

.bloc-familles .bloc-wrapper {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
} 
 
.bloc-familles .bloc-wrapper .picture {
    padding: 10px;
    margin: 0 15px 15px 0;
    border: 6px solid #FFF;
    box-shadow: 0 6px 4px rgb(12 89 149 / 19%);
} 
 

.bloc-video-fa {
    padding: 40px;
    text-align: center;
}


.primary-menu.theme-menu {
    line-height: 64px;
} 

.video-container iframe {
    height: 350px;
} 

.bloc-video-fa {
    padding-bottom: 40px;
} 


.video-annonce {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
}

.video-annonce video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 12px;
    background: #000;
}

/*********************************************** MENU MOBILE ********************************************/

.menu-toggle {
    display: block;
    font-size: 32px;
    margin: -8px 10px 0 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}   

.mobile-menu {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    width: 90%;
    background: -webkit-linear-gradient(178deg, #000000,#1e1f1f,#000000);/* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(178deg, #000000,#1e1f1f,#000000);/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */                                             
    z-index: 9999;
    padding: 20px;
    height: 900px;
}

.mobile-header-buttons .menu li:nth-last-child(2) {
    list-style: none;
    padding: 0 14px 0 44px;
    line-height:63px;
    position: relative;
    height: 63px;
    background-color: #eab801;
}


.mobile-header-buttons .menu li:nth-last-child(2) a,  .mobile-header-buttons .menu li:last-child a  {
    color: #FFF;
    text-decoration: none;
    font-weight: 600;
}


#masthead {
    margin-bottom: 0;
}

.mobile-header-buttons .menu li:last-child {
    list-style: none;
    padding: 0 14px 0 44px;
    line-height:63px;
    position: relative;
    height: 63px;
    background-color: #ec0e7d;
}

.mobile-menu.active {
    display:block;
}

.single-post #secondary.widget-area, .navigation.post-navigation .nav-links {
    display: none;
}


.mobile-navigation ul {
    margin:0;
    padding:0;
    list-style:none;
}

.mobile-navigation li {
    border-bottom:1px solid rgba(255,255,255,0.1);
}


.mobile-navigation a {
    display:block;
    padding:16px 0;
    color:#FFF;
    text-decoration:none;
    font-size:18px;
}

.mobile-header-buttons {
    margin-top:20px;
}

.mobile-header-buttons ul {
    margin:0;
    padding:0;
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.mobile-header-buttons ul ul {
    display: none;
}

.mobile-header-buttons li:nth-child(1)::before{
    content:url(img/adopter.png);
    position:absolute;
    left: 10px;
    top: 60%;
    transform:translateY(-50%);
}

.mobile-header-buttons li:nth-child(2)::before {
    content:url(img/evenement.png);
    position:absolute;
    left: 7px;
    top: 60%;
    transform:translateY(-50%);
}

.photos-secondaires img {
    width: 100%;
}

/*********************************************** FOOTER ********************************************/

.pre-footer {
    background-image: url(img/riy6d4ibt4h41.jpg);
    background-size: cover;
    background-position: 0px -10px;
    height: 200px;
    width: 100%;
}

.footer-container {
    background-color: #000;
    width: 100%;
    margin-top: auto;
}

#sub-footer {
    position: relative;
    background-color: black;
    display: flex;
    flex-direction: column;
    width: 100%;
}

#sub-footer .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 980px;
    padding: 0;
    margin: auto;
}

.sub-footer-left,
.sub-footer-middle,
.sub-footer-right {
    padding: 0 30px 12px 30px;
}

.footer-reseaux {
    padding: 20px 30px 12px 30px;
}

.sub-footer-left {
    width: 100%;
    padding-top: 90px;
}

.sub-footer-left span {
    position: relative;
}

.sub-footer-left span::before {
    content:url(img/logo-footer.png);
    position: absolute;
    top: -43px;
    left: 0;
}

#sub-footer span {
    font-size: 18px;
    color: #ec0e7d;
    padding: 17px 0;
    font-weight: 800;
}

#sub-footer p,
#sub-footer a {
    color: #FFF;
}

#sub-footer a {
    text-decoration: none;
}

#sub-footer a:hover {
    text-decoration: underline;
}

#sub-footer ul {
    padding: 0;
    list-style: none;
}

#sub-footer ul > ul {
    padding: 0 10px;
}

.footer-reseaux {
    background: #eb9749;
    background: linear-gradient(180deg, rgba(235, 151, 73, 1) 1%, rgba(245, 163, 86, 1) 55%, rgba(234, 184, 1, 1) 100%);
}

#sub-footer .footer-reseaux span {
    color: #000;
}

#sub-footer .footer-reseaux a.facebook,
#sub-footer .footer-reseaux a.X, #sub-footer .footer-reseaux a.insta {
    position: relative;
}

.footer-reseaux a.facebook::before {
    content:url(img/facebook.png);
    position:absolute;
    top: -7px;
    left: -46px;
}

.footer-reseaux a.X::before {
    content:url(img/twitter.png);
    position:absolute;
    top: -7px;
    left: -46px;
}

.footer-reseaux a.insta::before {
    content:url(img/instagram.png);
    position:absolute;
    top: -7px;
    left: -46px;
}


#sub-footer .footer-reseaux li.facebook,
#sub-footer .footer-reseaux li.X, #sub-footer .footer-reseaux li.insta {
    padding: 20px 0 0 43px;
}

#sub-footer .footer-reseaux li.contact {
    text-align: center;
    padding: 10px;
    background-color: #000;
    border : 2px solid transparent;
    font-weight : 500;
}

#sub-footer .footer-reseaux li.contact:hover {
    background-color: transparent;
    border : 2px solid #000;
}

#sub-footer .footer-reseaux li.contact:hover a {
   text-decoration: none;
}


#sub-footer li.contact:hover a {
    color: #000;
}

.legacy-footer {
    background-color: #2a2a2a;
    padding: 20px 30px 12px 0;
}

.legacy-footer a {
   color: #FFF;
   text-decoration: none;
}

.legacy-footer a:hover {
    text-decoration: underline;
 }

.menu-footer-menu-legacy-container ul {
    padding-left: 1rem;
 }


 .menu-boutons-header-container .current-menu-item::after {
    display: none;
}
/*********************************************** TITRES ********************************************/

.aioseo-breadcrumbs {
    padding : 10px 0;
}

h1,
#skip-content h1 {
    position: relative;
    font-family: 'dashicons';
    font-weight: 700;
    font-size: 2.5rem;
    color: #ec0e7d;
    padding: 20px 0 20px 0;
}

.banniere-accueil h1 {
    padding: 34px 21px 0 40px;

}  

.home .banniere-adoption {
       padding: 50px 0;
}


h2 {
    position: relative;
    font-family: 'dashicons';
    color: #a78404;
    font-size: 28px;
    padding-bottom: 30px;
    font-weight: 600;
}

h3 {
    font-family: 'dashicons';
    font-size: 24px;
}

.intro .container H1 {
    color: #FFF;
 }

 .banniere-FA {
    text-align:center;
 }

 .introduction-famille-accueil, .banniere-contact {
    color: #FFF;
    background-color: #eab801;
    padding: 20px;
    text-align:center;
 }


 .introduction-famille-accueil h2, .banniere-contact H1 {
    color: #FFF;
 }

 .bloc-engagement, .bloc-exigences, .bloc-communication {
    padding: 40px 20px;
    text-align:center;
 }

 .bloc-contact-famille-accueil {
    color: #FFF;
    background-color: #eab801;
    padding: 20px;
    text-align:center;
 }


 #comments {
    display: none;
 }

 .bloc-contact-famille-accueil H2 {
    color: #FFF;
 }

.bloc-engagement H2::before,
.bloc-exigences H2::before,
.bloc-communication H2::before {
    position: absolute;
    content: "";
    top: -53px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.bloc-engagement H2::before {
    background-image: url(img/coeur.png);
}

.bloc-exigences H2::before {
    background-image: url(img/batiment.png);
}

.bloc-communication H2::before {
    background-image: url(img/bulle.png);
}

 .content-area .site-main {
    padding: 20px;
    text-align:center;
 }

 .form-contact {
    padding: 30px;
 }

 .form-contact input,  .form-contact textarea {
    background-color: #f1f5ff;
 }

 input.wpcf7-submit {
    margin: 20px 0;
    background-color: #000;
    border : 2px solid transparent;
    text-align: center;
    padding: 18px;
    width: 96%;
    color: #FFF;
    font-weight: 600;
   
}

input.wpcf7-submit:hover {
    background-color: #FFF;
    border: 2px solid #000;
    color: #000;
    font-weight: 600;
}

.navbar-brand {
    width: 100%;
   
}

.navbar-brand {
    width: 100%;
    text-align:left;
}

.site-navigation ul.primary-menu.theme-menu li a:hover {
    color: #FFF !important;
}



/*********************************************** CONTENUS ********************************************/

.introduction {
    display:flex;
    flex-direction: column;
    padding: 50px 11px;
    text-align: center;
}

.banniere-accueil {
    background-position: -747px -520px;
    height: 216px;
}

.banniere-accueil .container {
    padding: 12px 26px;
}


.banniere-adoption {
    position: relative;
}

.article-card h3{
    text-decoration: none;
    padding: 5px;
}

.container-chats-adoption .annonce a {
    text-decoration: none;
}

.article-card h3,
.article-card h3 a {
    text-decoration: none !important;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.article-card a:hover h3 {
    color: #ec0e7d !important;
}

.article-card h3 {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.article-card img {
    padding: 5px;
}



.famille-accueil-home {
position: relative;;
}


.aioseo-breadcrumbs {
    display: none;
}

.bloc-engagement {
    margin-top: 70px;
}

.banniere-famille-accueil, .devenir-famille-accueil {
    padding: 13px;
    background: #eb9749;
    background: linear-gradient(180deg, rgba(235, 151, 73, 1) 1%, rgba(245, 163, 86, 1) 55%, rgba(234, 184, 1, 1) 100%);
    color: #FFF;
    text-align: center;
    padding: 60px 0;
   
}


.banniere-accueil .container {
    padding: 0;
    margin: auto;
}  

/*banniere haut de page */

 .introduction-famille-accueil, .banniere-contact, .banniere-categ, .banniere-FA, .banniere-association, .banniere-hello-asso {
    padding: 13px;
    background: #eb9749;
    background: linear-gradient(180deg, rgba(235, 151, 73, 1) 1%, rgba(245, 163, 86, 1) 55%, rgba(234, 184, 1, 1) 100%);
    color: #FFF;
    text-align: center;
    min-height: 310px;
    text-align: left;
}

.banniere-hello-asso .titre-page {
    color:white;
}

.fiche-adoption {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

.fiche-titre {
    text-align: center;
    margin-bottom: 20px;
}

.fiche-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 25px;
}

.fiche-texte {
    font-size: 16px;
    line-height: 1.7;
}

/* paragraphes propres */
.fiche-texte p {
    margin-bottom: 15px;
}

.fiche-texte p:last-child {
    margin-bottom: 0;
}


.contenu-libre .banniere-accueil {
    padding: 13px;
    background: #eb9749;
    background: linear-gradient(180deg, rgba(235, 151, 73, 1) 1%, rgba(245, 163, 86, 1) 55%, rgba(234, 184, 1, 1) 100%);
    color: #FFF;
    text-align: center;
    height: 159px;
}

.contenu-libre .banniere-accueil H1, .banniere-FA H1, .banniere-association h1 {
    color: #FFF;
}

.devenir-famille-accueil h2 {
    color: #FFF;
  
}

 #skip-content .banniere-categ h1 {
    color: #FFF;

}

.banniere-famille-accueil h2 {
    color: #FFF;
}


.introduction .left-container,
.introduction .right-container {
    width: 100%;
    padding: 0 10px;
    position:relative;
    padding-bottom: 30px;
}

.content_area {
    margin-top: 30px;
}

.wp-block-group {
    padding: 16px 10px;
}

.wp-block-group__inner-container {
    max-width: 980px;
    margin: auto;
}

.wp-block-media-text {
    margin-bottom: 1.5em;
    display: flex;
    flex-direction: column;
}

.wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__content {
    padding: 7px;
}

.wp-block-media-text *:last-child {
    margin-bottom: 0;
    width: 100%;
}

.photo-principale {
    display: flex;
    justify-content: center;
    height: 360px;
    background-size: cover;
    width: 100%;
    margin-bottom: 30px;
}

.photos-secondaires {
    display: flex;
    flex-direction: column;
}

.photo-2,
.photo-3, .photo-4, .photo-5, .photo-6  {
    padding: 10px 0;
}

.container-chats-adoption {
    display: flex;
    flex-direction: column;
}

.container-chats-adoption .article-card {
    width: 100%;
    padding: 15px;
}

.article-card {
    border: solid 2px #eeeeee;
    padding: 15px;
    margin-bottom: 25px;
    box-shadow: 0 6px 25px rgb(12 89 219 / -1%);
}

.article-card:hover {
    border: solid 2px #eab802;
    cursor:pointer;
}

.article-card a {
    text-decoration: none;
}

.bouton-savoir-plus {
    margin: 20px 0;
    background: #000;
    border : 2px solid transparent;
    text-align: center;
    padding: 18px;
    width: 100%;
    cursor: pointer;
}

.bouton-savoir-plus a {
    color: white;
    text-decoration:none;
    font-weight: 700;
}

.bouton-savoir-plus:hover {
    background: #FFF;
    border : 2px solid #000;
}

.bouton-savoir-plus:hover a {
    color: #000 !important;
}

.menu-footer-menu-legacy-container ul {
    display: flex;
    flex-direction: column;
    justify-content: space-around;

}

.video-annonce {
    margin-top: 50px;
}


.video-annonce iframe {
    height: 300px;
}


.objectif-image {
   padding-bottom: 20px;
}


.article-card img {
   width:100%;
}


.banniere-adoption {
        text-align: center;
}

.association-page {
    text-align: center;
}

.objectif-image {
    margin: auto;
}


.menu-footer-menu-legacy-container .current-menu-item::after {
    display: none;
} 


.texte-libre {
    padding: 30px 0;
} 

.contexte .container {
    text-align: center;
    padding-top: 50px;
    font-weight: 700;
} 

.liste-annonces .content_area {
    display:flex;
    flex-direction: row;
}

.annonce-card {
    width: 50%;
    margin: 0 10px;
}



.mobile-menu {
    position: fixed;
    top: 0px;
    right: 0;
    width: 90%;
    height: 100%;
    overflow-y: auto;
    z-index: 9999999;
}

.mobile-navigation {
    padding-top: 60px;
}


.liste-annonces .article-card-adoption img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
}

/* Organisation intérieure des cartes */
.container-chats-adoption .article-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    height: 100%;
    box-sizing: border-box;
}

/* Images de même hauteur */
.container-chats-adoption .article-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    flex-shrink: 0;
}

.article-card img {
    object-position: center;
}

/* Descriptif sous le titre */
.container-chats-adoption .annonce-extrait {
    margin-top: 0;
    margin-bottom: 0;
}

/* Lien rose en bas de toutes les cartes */
.container-chats-adoption .annonce-decouvrir {
    display: block;
    margin-top: auto;
    padding-top: 20px;
    color: #ec0e7d;
    font-weight: 700;
    text-align: right;
}
/* Mobile */

    .slug {
        display: none;
    }

    .mobile-back-link {
        display: block;
        padding: 20px 10px;
        text-align: left;
    }

    .mobile-back-link a {
        color: #FFF;
        text-decoration: none;
        font-weight: 700;
        font-size: 16px;
    }

    .single-post .mobile-back-link a {
        color: #000;
    }

    /* Barre admin WordPress */
.admin-bar .main_header {
    top: 0;
}


.adoption-tabs {
    display: flex;
    gap: 15px;
    margin: 20px 0 40px;
    justify-content: left;
    flex-wrap: wrap;
}

.adoption-tabs a {
    padding: 5px 14px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 0;
    transition: 0.3s;
}


.titre-sous-categorie {
    width: 90%;
    margin: auto;
}


.adoption-tabs a:hover {
    background: #eab802;
    color: #FFF;
}

.adoption-tabs a.active {
    background: #000;
    color: #ffffff;
}


.bloc-filtres-adoption {
    padding: 20px 0 1px 20px;
    margin : 32px 0;
    background-color: #e6e6e6;
}


.bloc-filtres-adoption .label-filtre{
    font-weight: 600;
}


.annonce-card {
    width: 95%;
    margin: 0 10px;
}


.container-chats-adoption .annonce {
    display: flex;
    width: 100%;
}

/* Texte des cartes adoption */
.article-card-adoption .article-link {
    color: #000;
    text-decoration: none;
}

/* Espacement entre les cartes d'adoption */
.liste-annonces {
    column-gap: 30px;
    row-gap: 35px;
}

/* Lien rose et gras */
.article-card-adoption .annonce-decouvrir {
    display: block;
    margin-top: auto;
    padding-top: 20px;
    color: #ec0e7d;
    font-weight: 700;
    text-align: right;
}

/* Survol */
.article-card-adoption .article-link:hover .annonce-decouvrir {
    text-decoration: underline;
}

@media screen and (min-width: 992px) {

    .container-chats-adoption .annonce {
        width: calc(33.333% - 14px);
    }
     .banniere-adoption {
        padding: 50px 0;
    }

}

.bloc-derniers-articles-adoption {
   padding: 30px 0;
}

.article-card img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.article-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ec0e7d;
}


.entry-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

.article-card:hover img {
  opacity: 0.6;
}

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

@media screen and (min-width: 390px) {
    .banniere-accueil .container {
        padding: 0;
    }
}

@media screen and (min-width: 412px) {

       .page-template .banniere-accueil .container {
        padding: 0;
    }

    .home .banniere-accueil .container {
        padding: 0;
        width: 85%;
        padding-top: 32px;
    }

  
}


@media screen and (min-width: 414px) {

    .banniere-accueil .container {
        padding: 0;
    }
}


@media screen and (max-width: 540px) {

    .menu-boutons-header-container {
        right: 45%;
 
   }
}


@media screen and (max-width: 560px) {
    .navigation.post-navigation .nav-links {
        display: none;
    }
}


/* MOBILE UNIQUEMENT */
@media (max-width: 767px) {

    .texte-mobile-reductible {
        max-height: 50px;
        overflow: hidden;
        position: relative;
        transition: max-height 0.4s ease;
    }

    .texte-mobile-reductible::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 80px; 
    }

    .texte-mobile-reductible.open {
        max-height: 3000px;
    }

    .texte-mobile-reductible.open::after {
        display: none;
    }

    .btn-lire-suite {
        margin-top: 15px;
        background: transparent;
        color: #FFF;
        border: none;
        padding:0;
        font-weight: 700;
        cursor: pointer;
        border-radius: 6px;
    }

    .btn-lire-suite:hover {
        background: transparent;
        text-decoration: underline;
    }
}

@media (min-width: 768px) {

         .photo-principale {
         height: 960px;
    }


    .banniere-accueil h1 {
    padding: 19px 0 0;
}

    h1,
#skip-content h1 {
    font-size: 3.5rem;

}

    .contenu-libre .banniere-accueil {
    height: 199px;
}

    .home .banniere-accueil .container {
        padding-top: 83px;
        width: 70%;
    }

    .btn-lire-suite {
        display: none;
     }

    .banniere-accueil .container {
        padding: 0;
        margin: auto;
    }  

    .introduction {
        padding: 50px 0;
     }

    .container .introduction {
       width: 90%;
       margin: auto;
    }


    .introduction .left-container, .introduction .right-container {
        width: 100%;
        padding: 0;
    }

    .menu-footer-menu-legacy-container ul {
        display: flex;
        flex-direction: row;
        justify-content: space-around;

    }

    #sub-footer .right-container  {
        display:flex;
        flex-direction : row;
    }

    #sub-footer .sub-footer-middle,  #sub-footer .sub-footer-right  {
        width: 50%;
    }

    #sub-footer .footer-reseaux {
        width: 50%;
    }

    .menu-boutons-header-container {
        right: 47%;
     
    }
    .banniere-cover {
        height: 284px;
    }

    .banniere-cover-footer {
        background-position: 0px -590px;
    }


    .pre-footer {
        background-position: 0px -210px;

    }

    .menu-boutons-header-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    margin: 0;
    right: 47%;
    top: 0;
    padding: 0;
    list-style: none;
    height: 64px;
    }

    .bloc-engagement H2::before, .bloc-exigences H2::before, .bloc-communication H2::before {
            right: 40%;
    }

    .legacy-footer {
        background-color: #2a2a2a;
        padding: 5px;
    }

    .container {
        max-width: 980px;
    }

    .banniere-accueil {
        background-position: -2px -197px;
        background-size: cover;
        height: 285px;
    }

    #sub-footer .container {
        flex-direction: row;
        justify-content: space-between;
    }
}



@media (min-width: 783px) {

/* Barre admin WordPress */
.admin-bar .main_header {
    top: 32px;
    }
}


@media (min-width: 912px) and (orientation: portrait) {

    .pre-footer {
        background-position: 0px -210px;
    }

    .banniere-cover-footer {
        background-position: 0px -750px;
    }

} 



@media (min-width: 992px) {

    .menu-boutons-header-container {
        right: 0;
    }
    
    .pre-footer {
        background-position: 0px -490px;
        height: 280px;
    }

    .navbar-brand {
        width: 30%;
    }

    .sub-footer-left, .sub-footer-middle, .sub-footer-right {
        width: 33%;
    }

    .form-contact textarea, .form-contact input {
        min-width: 942px;
    }

    .wpcf7-form-control.wpcf7-submit.has-spinner{
        width: 26%;
        margin: auto;

    }

    .mobile-menu {
        width: 50%;
        height: 1270px;
    }


    .menu-boutons-header-container.mobile-only {   
        margin-right: 50%;
    }

    .sub-footer-left {
        width: 100%;
        padding-top: 90px;
    }

    .col-lg-12 {
        flex: 0 0 auto;
        width: 89%;
        margin: auto;
    }

    #sub-footer .footer-reseaux li.contact {
        width: 100%;
        cursor: pointer;
    }

    .menu-boutons-header-container .menu {
        display: flex;
        flex-direction: row;
    }

    .slug {
        display: block;
    }

    .wp-block-media-text.is-stacked-on-mobile {
        display: flex;
        flex-direction: row;
    }

    .wp-block-media-text .wp-block-media-text__media,
    .wp-block-media-text__content {
        width: 50%;
    }

    .wp-block-media-text *:last-child {
        width: 75%;
    }

    .container-chats-adoption {
        flex-direction: row;
    }
}


@media screen and (min-width: 991px) {

.container-chats-adoption .article-card img {
        height: 190px;
    }
}

@media screen and (min-width: 1000px) {

    .bloc-familles .bloc-wrapper {
        width: 90%;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    } 
     
    
    .bloc-familles .bloc-wrapper .picture {
        padding: 10px;
        margin: 0 25px 15px 0;
    } 
     
    .introduction .left-container,
    .introduction .right-container {
        width : 100%;
        padding : 15px;
        text-align:left;
    }


    .icone-container {
        margin: auto;
        width: 95px;
    }

    .banniere-association .container {
        text-align: left;
    }

    .points-attention {
        display: flex;
    flex-direction: row;
    }

    .points-attention .bloc-exigences, .points-attention .bloc-communication {
      width: 50%
    }

    .banniere-FA {
        text-align: left;
    }

    .archive-header .banniere-categ, .banniere-contact .container {
        text-align: left;
    }

    .banniere-famille-accueil , .introduction-famille-accueil, .banniere-contact, .banniere-categ, .devenir-famille-accueil {
        text-align: center;
    }
    
    .contenu-libre .banniere-accueil {

        text-align: left;
    }


    .mobile-back-link {
        display: none;
    }

    .bloc-contact-famille-accueil {
            padding: 60px;

    }

    .banniere-cover-footer {
        background-position: 0px -500px;
    }

    .pre-footer {
        background-position: 0px -370px;
    }

    .aioseo-breadcrumbs {
        display: block;
    }

    .bouton-savoir-plus {
        width: 46%;
        margin: auto;
    }

    .category-description, .category-nous-aider .contenu-page {
        width :90%;
    }

    .introduction {
        display: flex;
        flex-direction: row;

    }

    .right-container .bouton-savoir-plus {
        width: 76%;
        margin: auto;
        cursor: pointer;
    }

    .banniere-famille-accueil .bouton-savoir-plus {
        width: 20%;
        margin: auto;
        cursor: pointer;
    }

    .banniere-famille-accueil {
        padding: 53px;
    }

  
    .annonce {
        margin: 10px;
    }

    .liste-annonces, .container-chats-adoptions {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding-bottom: 40px;
    }
    

    .banniere-adoption .bouton-savoir-plus {
        width: 28%;
        margin: auto;
    }

}



@media (min-width: 1110px) and (orientation: portrait) {

    .banniere-cover-footer {
        background-position: 0px -770px;
    }


} 


@media (min-width: 1024px) and (orientation: portrait) {

    .banniere-cover-footer {
        background-position: 0px -770px;
    }
    .sub-footer-left {
        width: 100%;
        padding-top: 90px;
    }

} 
  

@media screen and (min-width: 1200px) {

     .banniere-accueil .container {
        width: 80%;
    }

     .texte-mobile-reductible p {
        width :80%;
    }

    .page-template-page-templateassociation-template-php .chat-banniere {
   background-image: url(img/chaton-tabby.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    position: absolute;
    height: 200px;
    width: 300px;
    right:150px;
    top: 122px;
}

    .home .chat-banniere {
   background-image: url(img/chaton-curieux.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    position: absolute;
    height: 200px;
    width: 300px;
    right:150px;
    top: 196px;
}

    .category-nous-aider .chat-banniere {
   background-image: url(img/chat-noir-blanc.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
   position: absolute;
        height: 270px;
        width: 300px;
        right: 90px;
        top: 156px;
}

    .page-template-contact-template .chat-banniere {
   background-image: url(img/chat-roux.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
   position: absolute;
    height: 270px;
        width: 480px;
        right: 100px;
        top: 224px;
}


    .category-evenements .chat-banniere {
   background-image: url(img/chat-gris.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
   position: absolute;
    height: 270px;
        width: 450px;
        right: 60px;
        top: 205px;
}

.texte-hello-asso  {
        padding-bottom: 20px;
    }

    .page-template-famille-accueil-template .chat-banniere {
        background-image: url(img/chat-noir.png);
        background-repeat: no-repeat;
        background-position: right center;
        background-size: contain;
      position: absolute;
        height: 270px;
        width: 410px;
        right: 150px;
        top: 165px;
}


.category-adoption .chat-banniere {
              background-image: url(img/chat-tigre-gris.png);
        background-repeat: no-repeat;
        background-position: right center;
        background-size: contain;
        position: absolute;
        height: 500px;
        width: 440px;
        right: 70px;
        top: 36px;
    }



.contenu-hello-asso {
        padding-top: 50px;
    }

    .pre-footer {
        background-position: 0px -410px;
    }

    .main-container {
        display: flex;
        flex-direction: column;
    }

    .banniere-accueil {
        background-position: -2px -267px;
    }

    .banniere-cover-footer {
        background-position: 0px -280px;
    }

    .banniere-cover {
        background-image: url(img/fond-transparent-abstrait-vague-grise-elegante_1055-10481.png);
        width: 100%;
        position: absolute;
        background-size: cover;
        height: 283px;
        opacity: 1.6;
        background-position: 0px -289px;

    }

    .menu-boutons-header-container {
        right: 0;
    }

    .menu-boutons-header-container.mobile-only .texte-menu {
       display: none;
    }

    .menu-toggle {
        display:none;
    }

    #sub-footer {
        display: flex;
        flex-direction: row;
    }

    .mobile-menu {
        display:none !important;
    }

    .site-navigation {
        display:flex;
    }

    .current-menu-item::after {
        display:block;
    }

    .photos-secondaires {
        flex-direction: column;
    }

    .introduction {
        flex-direction: column;
    }

    h1,
    .h1 {
        font-size: 3.5rem;
    }

    .footer-reseaux {
        width: 100;
        padding: 73px 30px 2px 30px;
    }

    .sub-footer-middle,
    .sub-footer-right,
    .footer-reseaux {
        width: 33%;
    }

    .bouton-savoir-plus {
        width: 21%;
    }

    .introduction .bouton-savoir-plus {
        width: 50%;
        padding: 20px;
    }


}


@media screen and (min-width: 1500px) {
    .pre-footer {
        background-position: 0px -500px;
    }

    .banniere-accueil {
        background-position: -2px -427px;
    }
}


@media screen and (min-width: 1900px) {
    .pre-footer {
        background-position: 0px -890px;
    }

    .banniere-accueil {
        background-position: -2px -427px;
    }

}


.main_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    background: rgba(0,0,0,0.95);
}



.liste-annonces .article-card-adoption {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.liste-annonces .article-card-adoption .article-link {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.liste-annonces .article-card-adoption .annonce-decouvrir {
    margin-top: auto;
    padding-top: 20px;
}


.page-template-page-templatefamille-accueil-template-php .bloc-familles img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}


.page-template-page-templatefamille-accueil-template-php .bloc-video-fa  video {
     max-height: 650px;
     width: 90%;
}

/* Empêche le contenu de passer sous le header */
body {
    padding-top: 64px;
}