/*
Theme Name: mpe-PYRMED
Theme URI: https://mde-pyrmed.eu/themes/pyrmed/
Author: Anne-laure FIGUERAS
Description: Site web de l'association Maison de l'Europe Pyrénées Méditerranée
Requires PHP: 7.2
Version: 0.1
*/

*, *::before, *::after{
    box-sizing: border-box;
}
html{
    font-size:14px;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    line-height:1.2;
    background-color: #ffffff;
    margin:0;
}
a{
    color:inherit;
    text-decoration: none;
    transition: color .3s;

}
p{
    text-align:justify;
    line-height: 1.5;
	margin:10px 0;
}
li{
	 line-height: 1.5;
}
h3{
	color:#4c7fb1;
	font-size:1.2rem;
	padding:0;
	margin-top: 25px;
}
.title-h3{
	font-size: 1.3rem;
	text-transform: uppercase;
	display: block;
	padding: 1rem;
	background-color: #f1f1f1;
	margin-top: 2rem;
}
	
.header{
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.menu{
    font-size: 1.2rem;
    text-transform:uppercase;
    margin:3rem;
    text-align: center;
    font-size: 16px;
	list-style-type: none;
}

.menu a{
    text-decoration: none;
    color: #333;
    display: block; 
    border-radius: 5px;
    transition: background-color 0.3s, padding-left 0.2s;
	padding: 5px;

}
.menu a:hover{
    background-color: #005a87;
    color: #fff;
}
.topbar{
	display:flex;
	justify-content:center;
}
.logo img{
    height:70px;
    width:auto;
}
.logo img:hover{
	border-radius: 5px; 
	background-color: rgba(0, 0, 0, 0.05);
}

.menu-item{
    display: inline-block;
    margin:0;
    list-style: none;
}

.menu-button{
    background-color: #4c7fb1;
    padding:7px 15px;
    color: #fff !important;
}
.menu-button a{
    color:#ffffff;
}
.container{
    margin:0 auto;
    max-width: 1025px;

}
.home-section{
max-width:1025px;
margin:0 auto;
}
.diaporama img{
    width:100%;
}
.block-body{
padding:2rem;
}
.title{
    font-size: 18px;
    color:#4c7fb1;
}
.content-category{
	margin-top:1rem;
	width:100%;
	display:inline-block;
}
.category{
	padding:1rem;
	margin-top:1rem;
}
.contact-button{
    background-color: #00a679;
    padding:5px 8px;
    color:#ffffff;
    text-transform: uppercase;
}
.block-social{
    border-top: #4c7fb1 1px solid;
    margin-top: 10px;
    padding:5px 5px;
}

.block-contact{
    margin-top:1rem;
}
.more{
    background-color:#00528d;
    padding:5px 8px;
    color:#ffffff;
    text-transform: uppercase;
    float: left;
    width: 25%;
    margin-bottom: 1rem;
}
.block-contact{
    display:flex;
    justify-content: space-between;
    align-items:center;
    margin:0 auto;
  }

.social-button img{
    width:30px;
    height:30px;
}
.bloc-missions{
    margin-top: 1rem;

}

.mission-button{
    padding:15px;
    display: block;
    margin:10px 0;
    }
.mission-title{
	display: block;
    text-transform: uppercase;
    font-weight: 600;
	text-align : center;
	font-size:1rem;
	padding-bottom: 1rem;
}	
	
.mission1{
background-color: #4c7fb1;
color:#FFF;
}
.mission2{
    background-color: #00a679;
    color:#FFF;
}
.mission3{
    background-color: #f8ed31;
    color:#474747;
}
.mission4{
    background-color: #00528d;
    color:#FFF;
}
.bloc-partenaires{
    margin-bottom:1rem;
}
.partenaires {
    display: flex;
    justify-content: space-between; /* Répartit les logos sur toute la largeur */
    align-items: center;
    flex-wrap: wrap; /* Permet le passage à la ligne sur petits écrans */
    padding: 20px; /* Espacement autour */
}

.partenaires .partenaire-button {
    flex: 1; /* Permet une répartition équitable */
    max-width: 200px; /* Définit une largeur maximale pour éviter l’étirement */
    text-align: center; /* Centre le logo à l’intérieur */
}

.partenaires .partenaire-button img {
max-width: 100%; /* Empêche l’image de dépasser son conteneur */
    height: 150px; /* Hauteur fixe */
    object-fit: contain; /* Garde les proportions du logo */

}
.article img{
    width:100%;
	height: auto;
}
.article-home img{
    width:100%;
	height: auto;
}

.contact-link{
background-color: #00528d;
display:flex;
text-align: center;
flex-wrap: wrap;
align-items:center;
padding: 1rem;
margin-bottom: 1rem;
}
.contact-link img{
    width: 30px;
    height: 30px;
    margin-right:1rem;
}
.contact-link span{
    width: 80%;
    text-align: left;
    color:#fff;
}

.footer-content{
    background-color: #4c7fb1;
   float:left;
   padding: 2rem;
   width:100%;
}
.footer-title{
    text-transform: uppercase;
    font-weight: 600;
    color:#fff;
    display: block;
    font-size: 1rem;
}
.footer-link{
    width: 100%;
    float: left;
    padding: 5px 0;
}
.footer-block{
    color:#fff;
    list-style-type: none;
    padding: 0 2rem;
}
.footer-link li{
    display: block;
    margin:0;
    list-style: none;
}
.menu{
    width:100%;
    margin:0;
    list-style: none;
    padding:0;
}
.menu-lien ul li{
list-style: none;
padding-top:5px;
}


.sidebar{
    background-color: #f4f4f4; /* Couleur de fond claire */
    padding: 20px; /* Espacement autour des éléments */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Ombre subtile */
    border-radius: 5px; /* Coins arrondis */
    list-style: none;

}

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

.sidebar li {
    display: block;
    margin-bottom: 10px;
}

.menu.sidebar li {
    display: block !important;
}





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

.logo{
	text-align: center;
}
/*.menu{
    display:flex;
	justify-content: center;
	align-items:center;
	max-width: 1025px;
    margin:0 auto;
	padding-top: 5px;
	gap: 20px; 
}*/
.container {
    max-width: 1025px;
    margin: 0 auto;
}
.content {
    float: right;
    width: 78%;
	margin-top:10px;
}

  .sidebar {
    width: 25%;
    float: left;
    padding-top: 10px;
    margin-right:1rem;
    font-size: 1.5rem;
    list-style: none;
  }

    .diaporama {
        width: 100%;
        height: 259px;
        margin-top: 38px;
      }
    .block-body{
        display:flex;
        justify-content: space-between;
        padding: 2rem 0;
    }

    .block-social{
        width: 37%;
        border:none;
        padding: 2rem;
    }
    .block-img img{
        width:100%;
    }
    .missions{
        display:flex;
        justify-content: space-between;
        align-items:center;
        width: 100%;
        }
    .mission-button{
        width:24%;
        height:230px;
		line-height:1.5;
    } 
    .block-articles{
        display:flex;
        justify-content: space-between;
        align-items:initial;
    } 
	.article{
    width: 100%;
	display: inline-block;
	margin: 2rem 0;
    }  
    .article-home{
        width: 48%;
    } 
	.img-block{
	width:370px;
	height:auto;
	float:left;
	}
	
	.article-image{
	width: cover;
	float: left;
	margin-right: 10px;
	}
    .contact-block {
        display: flex;
        justify-content: space-between;
      }
    .contact-link{
        width: 220px;
      }  
      .contact-link span {
        width: 73%;
        text-align: left;
      }  
    .footer{
		width:100%;
    }  
	.footer-content{
        margin:0 auto;
        max-width: 1025px;
        display: flex;
        justify-content: space-between;
        padding: 0;
    } 
    .footer-block{
        width:30%;
        color:#fff;
		list-style-type: none;
		padding: 0 2rem;
    }
.block-accueil{
    width: 75%;
}
}