/* CSS Home */

#header-entete-raccourcis {
    margin-top:-120px;
}

#header-entete-raccourcis .container {
    background:none;
}

h1#header-entete {
    color:#FFF;
    margin-left:40px;
}

#header-raccourcis, #footer-raccourcis {
    display:flex;
    justify-content: center;
    align-items:center;
    gap:30px;
}

#header-raccourcis a, #footer-raccourcis a {
    background-color:#fff;
    text-decoration:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content: center;
    gap:5px;
    width:110px;
    height:110px;
    border-radius:50%;
    transition:0.5s all ease-in;
    margin:10px 0;
    
-webkit-box-shadow: 0px 2px 10px 0px rgba(184,184,184,0.7);
-moz-box-shadow: 0px 2px 10px 0px rgba(184,184,184,0.7);
box-shadow: 0px 2px 10px 0px rgba(184,184,184,0.7); 
}

#header-raccourcis a:hover, #footer-raccourcis a:hover {
    
-webkit-box-shadow: 0px 2px 10px 0px rgba(184,184,184,1);
-moz-box-shadow: 0px 2px 10px 0px rgba(184,184,184,1);
box-shadow: 0px 2px 10px 0px rgba(184,184,184,1); 
}

#header-raccourcis a img, #footer-raccourcis a img {
    width:40px;
}
#header-raccourcis a span, #footer-raccourcis a span {
    text-align:center;
    color:#0aa2c7;
    font-size: 1.3rem;
    min-height:34px;  
}

#footer-raccourcis a span {
    text-transform:uppercase;
    font-size: 1.1rem;
}

.home-rubrique {
    margin:0 0 20px 0;
}

.home-rurique-entete {
    display:flex;
    justify-content: space-between;
    align-items:center;

}

.home-rurique-entete h2 {
    text-transform:uppercase;
    font-size:2.6rem;
    font-weight:600;
    letter-spacing:4px;
    display:flex;
    align-items:center;
    margin: 0;
}

.home-rurique-entete-a {
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
}
.home-rurique-entete-a:hover {
    text-decoration:none;
}

.home-rurique-entete-icon {
    background-image:url('../images/assets/plus-rec.svg');
    background-repeat:no-repeat;
    background-position:center; 
    
    background-color:#000;
    width:36px;
    height:36px;
    border-radius:5px;
}

.home-rurique-entete-a span {
    color:#000;
    font-size:1.4rem;    
}



.home-rurique-entete h2::before {
    content: '\2022';
    display: block;
    color:#000;
    font-size:4rem;
    margin-right:10px;
}

#home-publications-agenda {
    display:flex;
    gap:30px;
}
#home-publications {
    flex:1.5;
}
#home-agenda {
    flex:2.5;
}

#home-actualites .home-rurique-entete h2, #home-actualites .home-rurique-entete h2::before {
    color:rgb(208,51,130);
}
#home-actualites .home-rurique-entete-icon {
    background-color:rgba(208,51,130,0.8);
}
#home-actualites .home-rurique-entete-a:hover .home-rurique-entete-icon {
    background-color:rgba(208,51,130,1);
}

#home-actualites .home-rurique-entete-a span {
    color:rgba(208,51,130,0.8);
}
#home-actualites .home-rurique-entete-a:hover span {
    color:rgba(208,51,130,1);
}



#home-publications .home-rurique-entete h2, #home-publications .home-rurique-entete h2::before {
    color:rgb(10,164,200);
}
#home-publications .home-rurique-entete-icon {
    background-color:rgba(10,164,200,0.8);
}
#home-publications .home-rurique-entete-a:hover .home-rurique-entete-icon {
    background-color:rgba(10,164,200,1);
}
#home-publications .home-rurique-entete-a span {
    color:rgba(10,164,200,0.8);
}
#home-publications .home-rurique-entete-a:hover span {
    color:rgba(10,164,200,1);
}



#home-agenda .home-rurique-entete h2, #home-agenda .home-rurique-entete h2::before {
    color:rgb(146,187,7);
}
#home-agenda .home-rurique-entete-icon {
    background-color:rgba(146,187,7,0.8);
}
#home-agenda .home-rurique-entete-a:hover .home-rurique-entete-icon {
    background-color:rgba(146,187,7,1);
}
#home-agenda .home-rurique-entete-a span {
    color:rgba(146,187,7,0.8);
}
#home-agenda .home-rurique-entete-a:hover span {
    color:rgba(146,187,7,1);
}



/* small screen */

@media (max-width: 1025px) {


  #header-entete-raccourcis {
      margin-top:0;
  }
  
   h1#header-entete {
    display:none;   
   }
  
  #header-raccourcis {
    display:flex;
    flex-wrap:wrap;
    align-items: unset;
    gap:20px;
    padding: 20px;
    background-color:rgba(200,200,200,0.1);
    border-radius:10px;
    margin:20px 20px 0 20px;
  }
  
  #header-raccourcis a, #footer-raccourcis a {
    /*flex-direction: row;*/
    border-radius:10px;
    width: calc(25% - 15px);
    height:auto;
    padding:10px;
    margin:0;
    box-shadow: none;
  }
  #header-raccourcis a span, #footer-raccourcis a span {
    min-height:0;
  }
  
  #footer-raccourcis {
    display:flex;
    flex-wrap:wrap;
    gap:20px;  
    align-items: unset;
  }
  
  #actualites-wrapper {
    flex-wrap:wrap;
  }
  .actualites--item {
    width: calc(50% - 10px);
  }  
  
  #home-publications-agenda {
    flex-direction:column-reverse;
  }
}

@media (max-width: 600px) {


   
    .home-rurique-entete {
        margin-bottom:10px;
    }
    
    .home-rurique-entete-icon {
      width:30px;
      height:30px;
    }
    
    .home-rurique-entete h2::before {
        content: ''!important;
        display:none;
        margin-right: 0px;
    }     

    #actualites-wrapper {
        display:block;
    }
  .actualites--item {
    width:100%;
    margin-bottom:20px;
  }   
  #header-raccourcis a, #footer-raccourcis a {
    flex-direction: column;
    box-shadow: none;
    width: calc(50% - 15px);
  }
  
  /*
  #publications-wrapper {
    display:block;
  }
  .publications--item {
    width:100%;
    margin-bottom:20px;
  }
  */
}

@media (max-width: 400px) {
  #publications-wrapper {
    display:block;
  }
  .publications--item {
    width:100%;
    margin-bottom:20px;
  }
}