/*
Theme Name: CoquelicotFootStep Theme
Text Domain: CoquelicotFtF
Version: 1.3
Description: Theme Site Coquelicot Following their Footsteps ! 
Author: Ethan Genevriez


*/

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}
body {
    overflow-x:hidden;
}

header {
    width: 100%;
    height: 90px;
    background: #fefefe;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 100px;
    position: relative;
    z-index: 2;
}

.hamburger {
    display: none;
}
.menu-navigation-container {
    z-index: 3;
    position: relative;
}
.menu-navigation-container ul {
    display: flex;
}
.menu-navigation-container li {
    position: relative;
}
.menu-navigation-container ul ul {
    display: none;
    position: absolute;
    top: 3em;
    left: 0;
    z-index: 99999;
    width: 300px;
    background: #fff;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
}

.menu-navigation-container ul li:hover > ul {
    display: block;
}

.menu-navigation-container ul li a {
    display: block;
    color: rgb(248, 40, 40);
    font-size: 20px;
    padding: 10px 25px;
    border-radius: 50px;
    transition: 0.2s;
    margin: 0 5px;
}
.menu-navigation-container ul li a:hover {
    color: rgb(156, 77, 77);
    transition: 0.5s;
    
}

.menu-navigation-container li.menu-item-has-children > a:after {
    content: '\25BE'; /* Utilisation de l'entité HTML de la flèche vers le bas */
    display: inline-block;
    margin-left: 5px;
}

.menu-navigation-container .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    padding: 10px;
  }
  
.menu-navigation-container li.menu-item-has-children:hover .sub-menu {
    display: block;
}

#menu-item-146 ul {
    width: 95px;
}

#menu-item-143 ul {
    width: 95px;
}

.menu-navigation-container .sub-menu li a {
    font-size: 18px;
}


@media only screen and (max-width: 1500px) {
    header {
        padding: 0 40px;
    }
}

@media only screen and (max-width: 1390px) {
    header {
        padding: 0 20px;
    }
    .menu-navigation-container ul li a {
        font-size: 15px;
    }
}

@media only screen and (max-width: 1150px) {
    header {
        padding: 0 10px;
    }
    .menu-navigation-container ul li a {
        font-size: 13px;
    }
}
@media only screen and (max-width: 975px) {
    header {
        padding: 0 10px;
    }

}

@media only screen and (max-width: 965px) {
    .hamburger {
        display: block;
        cursor: pointer;
    }
    .hamburger .line {
        width: 30px;
        height: 3px;
        background: red;
        margin: 6px 0;
    }

    .menu-navigation-container {
        height: 0;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        width: 100vw;
        background: #fefefe;
        transition: 0.2s; 
        overflow: hidden;
        
        
    }
    .menu-navigation-container.active {
        height: auto;
        padding:  10px;

    }

    @media only screen and (max-width: 965px) {
    .hamburger {
        display: block;
        cursor: pointer;
    }
    .hamburger .line {
        width: 30px;
        height: 3px;
        background: red;
        margin: 6px 0;
    }

    .menu-navigation-container {
        height: 0;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        width: 100vw;
        background: #fefefe;
        transition: 0.2s; 
        overflow: hidden;
        
        
    }
    .menu-navigation-container.active {
        height: auto;
        padding:  30px;

    }

    .menu-navigation-container ul {
        display: block;
        margin: 0;
        text-align: center;
        transition: 0.5s;
        opacity: 0;
        transform: translateY(-10px);
        display: flex;
        flex-direction: column;
        align-items: center;
      }

    .menu-navigation-container.active ul {
        opacity: 1;
        transform: translateY(0);
        
    }
    .menu-navigation-container ul li {
        position: relative;
        text-align: center;
      }
    
    .menu-navigation-container ul li a {
        margin-bottom: 12px;
        font-size: 20px;
    }
    .menu-navigation-container ul ul {
        position: static;
        display: none;
        background: none;
        box-shadow: none;
      }
    
      .menu-navigation-container li.menu-item-has-children:hover > ul {
        display: none;
        position: static;
        opacity: 1;
        transform: none;
      }
    }
    

    

}

.SectionSlider h2 {
    animation-duration: 2s;
    animation-name: animate-fade;
    animation-delay: 0.5s;
    animation-fill-mode: backwards;
}
.SectionSlider p {
    animation-duration: 3s;
    animation-name: animate-fade;
    animation-delay: 0.5s;
    animation-fill-mode: backwards;
}
.SectionSlider a {
    animation-duration: 4s;
    animation-name: animate-fade;
    animation-delay: 0.5s;
    animation-fill-mode: backwards;
}
  
@keyframes animate-fade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}


/* 

CSS Footer Menu

*/


.footer_container {
    max-width: 1170px;
    margin: auto;
}
.footer_row {
    display: flex;
    flex-wrap: wrap;
}

.footer {
    background-color: #24262b;
    padding: 70px 0;
}

.footer_col {
    width: 25%;
    padding: 0 15px;
}
.footer_col h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer_col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #e91e63;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer_col ul li:not(:last-child){
    margin-bottom: 10px;

}

.footer_col ul li a{
    font-size: 16px;
    text-transform: capitalize;
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
}

.footer_col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer_col .social-media a{
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255,255,255,0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;

}


.footer_col .contactus a {
    color: white;
    text-decoration: none;
    
}


.footer_col .social-media a:hover {
    color: #24262b;
    background-color: #ffffff;
}

@media(max-width: 767px) {
    .footer_col {
        width: 50%;
        margin-bottom: 30px;
    }
}

@media(max-width: 574px) {
    .footer_col {
        width: 100%;
        margin-bottom: 40px;
        text-align: center;
    }
    .footer_col h4::before {
        content: '';
        position: absolute;
        bottom: -10px;
        background-color: #e91e63;
        height: 2px;
        box-sizing: border-box;
        width: 50px;
        left: calc(50% - 25px);
    }
}


/* 

Section Presentation 

*/

.Titre_Presentation h2::before {
    content: '';
    position: absolute;
    bottom: -10px;
    background-color: #ffffff;
    height: 2px;
    box-sizing: border-box;
    width: 100px;
    left: calc(50% - 50px);
}

#Button_Presentation {
    border-radius: 50px;
}

#Button_Presentation:hover {
    color: #ffffff;
    background-color: #24262b;
    transition: 0.5s;
}

/* 

Section ActionLocales

*/

#Button_AL {
    border-radius: 50px;
}

#Button_AL:hover {
    background-color: #24262b;
    transition: 0,5s;
}

#Button_AllAction {
    border-radius: 50px;
}


/*

ActionsLocales Page

*/

.ActionPage_content {
    width: 90%;
    margin: 30px auto 30px;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;

}

.Actions_content {
    width: 100%;
}


.post-title {
    margin: auto;
    text-align: center;
    color: red;
}

.post {
    width: 70%;
    height: 270px;
    margin: 35px auto;
    border-radius: 5px;
    background: rgb(231, 230, 230);
    position: relative;
}

.Post_title {
    text-decoration: none;
}
.Post_title a {
    text-decoration: none;
    color: inherit;
}


.post .read-more {
    position: absolute;
    bottom: 10px;
    right: 10px;
    border: 1px solid red;
    background: transparent;
    border-radius: 0px;
    color: black;
}

.article_img {
    width: 40%;
    height: 100%;
    float: left;
}

.post-preview {
    width: 60%;
    padding: 10px;
    float: right;
}
.post-preview p {
    padding-top: 15px;
}

.btn {
    padding: .5rem 1rem;
    background: red;
    color: white;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.btn:hover {
    color: white;
    background: red;
}

@media (max-width: 850px) {
    .post {
      width: 90%;
      height: auto;
      margin: 35px auto;
      display: flex;
      flex-direction: column;
    }
  
    .article_img {
      width: 100%;
      float: none;
    }
  
    .post-preview {
      width: 100%;
      float: none;
    }
    .post .read-more {
        position: relative;
        bottom: 0px;
    }    
  }
  
  /* Styles pour les téléphones */
  @media (max-width: 480px) {
    .post {
      width: 90%;
      height: auto;
      margin: 35px auto;
    }
  
    .article_img {
      width: 100%;
      float: none;
    }
  
    .post-preview {
      width: 100%;
      float: none;
      
    }
    .post .read-more {
        position: relative;
        bottom: 0px;
        
    }   
  }
    


