/*
Theme Name: HUMANSCONCRET
Theme URI: https://www.human-s.concret.mg
Author: Judela RAHARISON
Author URI: https://www.human-s.concret.mg
Template: twentyseventeen
Text Domain: twentyseventeen-child
Description: Twenty twenty one  brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device.
Version: 2.3
*/

@font-face {
    font-family: 'Nexa';
    src: url('fonts/NexaLight.otf') format('truetype');
	font-display: swap;
}

@font-face {
    font-family: 'NexaRegular';
    src: url('fonts/NexaRegular.otf') format('truetype');
	font-display: swap;
}

@font-face {
    font-family: 'NexaHeavy';
    src: url('fonts/NexaHeavy.otf') format('truetype');
	font-display: swap;
}

@font-face {
    font-family: 'NexaBold';
    src: url('fonts/NexaBold.otf') format('truetype');
	font-display: swap;
}

@font-face {
    font-family: 'NexaBook';
    src: url('fonts/NexaBookItalic.otf') format('truetype');
	font-display: swap;
}


@font-face {
    font-family: 'NexaBookItalic';
    src: url('fonts/NexaBookItalic.otf') format('truetype');
	font-display: swap;
}



@font-face {
    font-family: 'NexaTextBook';
    src: url('fonts/NexaTextBook.otf') format('truetype');
	font-display: swap;
}

@font-face {
    font-family: 'NexaTextBookBold';
    src: url('fonts/NexaTextBold.otf') format('truetype');
	font-display: swap;
}

@font-face {
    font-family: 'NexaTextBookExtraBold';
    src: url('fonts/NexaTextExtraBold.otf') format('truetype');
	font-display: swap;
}

@font-face {
    font-family: 'NexaBlack';
    src: url('fonts/Fontfabric - Nexa Text Black.otf') format('truetype') ;
	font-display: swap;
}


h1::before,
h2::before{
	display:none!important;
}

.center {
    text-align: center;
}

p.copyright {
    color: #FFF;
    font-family: 'NexaTextBook';
    font-size: 15px;
    text-align: right;
}

ul.ul_footer {
    list-style-type: none;
}

ul.ul_footer li {
    color: #FFF;
    font-family: 'NexaTextBook';
    font-size: 15px;
}

div#bloc_image_home {
    padding: 30px;
    padding-top: 150px;
    border-radius: 20px;
}

div#bloc_image_home::before{
    border-radius: 20px;
}

div#cta_plus a {
    color: #000;
    background: #FFF;
    font-family: 'NexaTextBook';
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
}

div#sous_titre p {
    color: #FFF;
    font-family: 'NexaTextBook';
    font-size: 18px;
}

div#titre_h2 h2 {
    color: #FFF;
    font-family: 'NexaBold';
    font-size: 45px;
}

div#menu_parent_bloc {
    box-shadow: 0 0 7px rgba(0, 0, 0, .1) !important;
    background: #008791!important;
    position: fixed;
}
a.home {
    font-family: 'NexaBold';
    text-transform: uppercase;
    color: #FFF;
    font-size: 22px;
}

div#menu_principal {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
}

div#menu_principal ul li a {
    font-family: NexaTextBook;
    color: #ffffff;
    font-size: 18px !important;
    position: relative;
    z-index: 999;
}

div#titre_h1_new h1, 
div.titre_h1_new h1{
    font-family: 'NexaTextBookExtraBold';
    font-size: 33px;
    color: #88ac2e!important;
}

ul.ul_footer li a {
    color: #FFF !important;
}

.galerie-card::before {
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(2deg, #000000, transparent);
    display: block;
    position: absolute;
}

.beneficiaire-image::before {
	content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(2deg, #000000, transparent);
    display: block;
    position: absolute;
}

p, ul li {
    color: #000;
    font-size: 16px;
    font-family: NexaTextBook;
}

div#logo_concret {
    box-shadow: 0 0 4px rgba(0, 0, 0, .1) !important;
    background: #013d43;
    border-radius: 5px;
    position: relative;
    top: 41px;
}

h1.titre_h1 {
    font-family: 'NexaTextBookExtraBold';
    color: #88ac2f;
    text-transform: uppercase;
    font-size: 32px;
}

p.p_content {
    font-family: 'NexaTextBook';
    font-size: 16px;
    color: #5c5b5b;
}

.latest-posts {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h2.titre_h2 {
    font-family: 'NexaTextBookExtraBold' !important;
    font-size: 30px;
    text-transform: uppercase;
    color: #035158;
    font-weight: bold;
}

.center {
    text-align: center;
}

.img_actus {
    height: 350px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    object-fit: fill;
    border-radius: 10px;
    position: relative;
}

.latest-post-item {
    position: relative;
    max-width: 100%;
    margin-right: 20px;
}


a#cta_vert {
    background: #88ac2f;
    padding-left: 31px;
    padding-right: 31px;
    border-radius: 12px;
    border: none;
    font-family: 'NexaTextBook';
    font-size: 15px;
    text-transform: uppercase;
    transition: all ease-in-out 1s;
}

a#cta_vert:hover {
    background: #035158;
}

div#home_right::before {
    content: '';
    width: 100%;
    height: 100%;
    background: #88ac2f61;
    transition: all ease-in-out 1s;
}

div#pre_title span {
    text-transform: uppercase;
    color: #000;
    font-family: 'NexaTextBook';
    font-weight: 600;
    font-size: 20px;
}

div#titre_vert h2 {
    font-size: 48px;
    font-family: 'NexaTextBook';
    color: #008791;
}

div#pcontent p {
    color: #000;
    font-size: 16px;
    font-family: NexaTextBook;
}

.post-date.actualites {
    position: absolute;
    bottom: 139px;
    right: 0;
    background: #88ac2f;
    padding: 5px;
    color: #FFF;
    border-radius: 10px 0px;
    font-family: 'NexaTextBook';
    font-size: 15px;
}

div#home_right {
    position: relative;
    border-radius: 10px;
    background-color: #9ab9bc;
}

.gs_logo_single:hover:before {
    background: #88ac2fb8;
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    transition: all ease-in-out 1s;
}

.gs_logo_single {
    position: relative;
    overflow: hidden;
    transition: all ease-in-out 1s;
    background: #FFF;
}

h2.titre_h2 span {
    background: #035158;
    color: #FFF;
    padding: 5px;
    border-radius: 5px;
    transform: rotate(-1deg);
    display: inline-block;
}

.beneficiaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 2em 0;
}
.beneficiaire-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 15px;
    text-align: center;
}
.beneficiaire-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.beneficiaire-title {
    font-size: 1.2em;
    margin: 10px 0 5px;
}
.beneficiaire-description {
    font-size: 0.95em;
    color: #444;
}


form#form_contact {
    border: 1px solid #9ab9bc;
    padding: 35px;
    background: #c4c4c4;
    border-radius: 5px;
    position: relative;
    z-index: 9999;
}

form#form_contact input {
    font-family: 'NexaTextBook';
    font-size: 14px;
    color: #000;
}

.article-item {
    padding: 29px !important;
}

.liste-articles .article-item:hover {
    background: #f2f2f2;
    transition: background 0.3s ease;
    padding: 10px;
    border-radius: 10px;
}

.liste-articles .article-item:nth-child(odd) {
    background-color: #b9d7cd; /* fond vert très clair */
    padding: 10px;
    border-radius: 10px;
}

.liste-articles .article-item:nth-child(odd) h2 {
	color:#000!important;
	font-family:NexaTextBook;
	font-weight:900;
	font-size:20px;
}

.liste-articles .article-item:nth-child(odd) p {
	color:#000!important;
	font-family:NexaTextBook;
	font-size:16px;
}

.liste-articles .article-item:nth-child(odd) a {
	color:#FFF!important;
	font-family:NexaTextBook;
	font-size:16px;
	background-color:#000!important;
}

.liste-articles .article-item:nth-child(even) h2 {
	color:#057d6e!important;
	font-family:NexaTextBook;
	font-weight:900;
	font-size:20px;
}

.beneficiaire-image {
    position: relative;
    height: 232px;
    border-radius: 10px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 25px;
}

.beneficiaire-card p {
    color: #000;
    font-family: 'NexaTextBook';
    text-align: left;
}

.beneficiaire-image h3 {
    color: #FFF;
    position: absolute;
    bottom: 14px;
    font-family: 'NexaTextBookExtraBold';
    left: 15px;
}

.liste-articles .article-item:nth-child(even) p {
	color:#057d6e!important;
	font-family:NexaTextBook;
	font-size:16px;
}

.liste-articles .article-item:nth-child(even) a {
	color:#FFF!important;
	font-family:NexaTextBook;
	font-size:16px;
	background-color:#057d6e!important;
}

.liste-articles .article-item:nth-child(even) {
   background-color: #f3f3f37a;
    padding: 10px;
    border-radius: 10px;
}

.galerie_concrete {
    background: #a1c483cc;
}

.galerie_concrete figure.gallery-item {
    margin-bottom: 22px !important;
    background: #ffffff !important;
    padding: 9px;
    margin: 9px !important;
}

.article-item {
    padding: 29px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center;
}

.liste-galeries .galerie-item:nth-child(odd) {
    background-color: #e6f2ed;
    padding: 10px;
    border-radius: 10px;
}

.liste-galeries .galerie-item:nth-child(even) {
    background-color: #f2f2f2;
    padding: 10px;
    border-radius: 10px;
}


.img_article {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    max-width: 250px !important;
    overflow: hidden !important;
}

.img_article img {
	width:100%;
	height:100%;
	border-radius:10px;
	 object-fit: cover;
	 object-position: center;
}

.current-menu-item a {
    color: #035158 !important;
}

.current-menu-item::after {
    content: '';
    width: 100%;
    height: 3px;
    background: #035158;
    display: block;
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
}

.grid-posts {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    width: 100%;
    color: #FFF !important;
    background: #9ab9bc;
}

form#form_contact textarea {
    font-family: 'NexaTextBook';
    font-size: 14px;
    color: #000;
    resize: none;
    height: 119px;
}

h1.titre_h1 {
    font-family: 'NexaTextBookExtraBold';
    color: #88ac2f;
    text-transform: uppercase;
    font-size: 32px;
}

div#list_contact span {
    font-family: Nexa;
    font-size: 15px;
    color: #000;
    margin-bottom: 10px;
}

h1.titre_h1 span {
    background: #88ac2f;
    color: #FFF;
    padding: 5px;
    border-radius: 5px;
    transform: rotate(-1deg);
    display: inline-block;
}

.latest-posts h2 {
    padding-top: 13px;
    font-family: NexaBold;
    color: #035158;
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 19px;
}

p.detail_poste {
    font-size: 15px;
    font-family: 'NexaTextBook';
}

.img_actus::before {
    content: '';
    width: 100%;
    height: 350px;
    background: #03515857;
    display: block;
    border-radius: 10px;
    transition: all ease-in-out 1s;
}

.img_actus:hover:before {
    content: '';
    width: 100%;
    height: 350px;
    background: rgb(136 172 47 / 48%);
    display: block;
    transition: all ease-in-out 1s;
    border-radius: 10px;
}

.grid-posts .latest-post-item {
    margin-bottom: 35px;
}

.grid-posts h2 {
    text-transform: uppercase;
    font-family: NexaTextBook;
    font-size: 18px;
    font-weight: 900;
    color: #048995;
}

.beneficiaire-card a {
    color: #FFF;
}

span.post-category {
    position: absolute;
    top: 0;
    right: 0;
    background: #88ac2fcc;
    padding: 10px;
    border-radius: 0 10px;
    color: #FFF;
    font-family: NexaBold;
    font-size: 14px;
}

.grid-posts span.post-date {
    position: absolute;
    right: 0;
    bottom: -50px;
    font-family: 'NexaTextBook';
    font-size: 12px;
    color: #000;
    font-weight: 900;
}

a.next.page-numbers {
    float: none !important;
    background: none !important;
    font-family: 'NexaTextBook' !important;
    font-size: 14px;
    color: #000;
}

p.p_footer span {
    background: #ffffff;
    color: #035158;
    padding: 6px;
    border-radius: 4px;
    transform: rotate(-2deg);
    display: inline-block;
    margin-right: 2px;
    font-weight: 900;
    font-family: 'NexaTextBookExtraBold';
}

p.p_footer {
    color: #FFF;
    font-family: 'NexaTextBook';
    font-weight: 400;
    text-align: center;
    font-size: 15px;
    text-transform: uppercase;
    border-radius: 5px;
    padding: 14px;
}

a.next.page-numbers:hover {
    color: #035158!important;
}

p.detail_poste span {
    display: block;
    font-family: 'NexaTextBookExtraBold';
    text-align: left;
    margin-top: 19px;
    color: #FFF;
    background: #048995;
    width: max-content;
    padding: 9px;
    padding-right: 20px;
    padding-left: 20px;
}

 .galerie-grid {
	 display: grid;
	 grid-template-columns: repeat(3,1fr);
	 gap: 20px;
	 margin-bottom: 30px;
}
.galerie-card {
	position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 278px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    max-width: 385px;
    margin: 30px;
}
.galerie-card:hover {
	transform: scale(1.02);
}
.galerie-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 15px;
	background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
	color: #fff;
	font-size: 14px;
}

@media(min-width:1500px) {
	.e-con-inner {
		max-width: 1300px !important;
		width: 100%;
	}
}

@media(max-width:1440px) {
    div#logo_concret {
        position: fixed;
        top: 41px;
        left: 19px;
        width: 325px;
    }

    div#logo_concret img {
        width: 100%!important;
    }
}

@media (min-width:1025px) {
    .grid-posts .latest-post-item {
        width: 48%;
    }

}


@media (max-width:1024px) {
	
	div#conteneur_menu_droite nav {
		background: #FFF;
		width: 100% !important;
		position: fixed;
		left: 0 !important;
		right: 0 !important;
		top: 131px !important;
	}
	
	div#conteneur_menu_droite ul li a {
		background-color: #ff000000 !important;
		color: #008791;
	}
	
	div#container_logo {
		width: 50%;
	}
	
	div#conteneur_menu_droite{
       width: 50%;
    }
	
	div#menu_parent_bloc {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		width:100%;
	}
	
	.galerie-grid {
		display: grid;
		grid-template-columns: 1fr;
	}
    .grid-posts .latest-post-item {
        width: 100%;
    }
	
	.article-item {
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items: center;
	}
	
	.liste-articles {
		width: 90%;
		margin: auto;
	}

}