
div.blog{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	gap:0 2%; /*Vertical gap on flexbox bugged in firefox */
	width: 100%;
	
}
.blog > h2{
	flex-basis: 100%;
	text-align: center;
	font-weight: bold;
	color:var(--color2);
	margin-bottom: 12vh;
} 

.blog_top{

    padding: var(--pad);
    padding-bottom: 0;
} 

.blog .first{
    flex-basis: 50%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8%;
    width: 50%;
	position: relative;
    max-height: 800px;
}

div.blog_entete{
	display: flex;
    flex-wrap: wrap;
    gap: 2%;
    justify-content: space-between;
	    width: 48%;
}
.blog .first .content{
    border-radius: 25px;
	width: 100%;
}

.articles .sidebar li.current-cat a{
    color: var(--color4);	
}

.blog_entete .article img{
    width: 100%;
    height: 12vw;
    object-fit: cover;
  
}

.blog_entete .article a{
    border-radius: 25px;
}

.content .content_info{
    position: absolute;
    top: 25px;
    left: 25px;
}

.content img {
    filter: brightness(0.7);

    height: 100%;
    object-fit: cover;
	border-radius: 25px;
}

.content .content_info *{
	color: white;
}

.blog .first > a{
	flex-basis: 46%;
	min-width:350px;
	flex-grow: 1;
	margin-bottom: 8vh;
}
/*
.blog .first .content h3{

}
*/
.blog_entete .cat_post a{
    color: var(--color2);
	font-weight: bold;
}

p.cat_post a {
    color: black;
    font-weight: 500;
}

.titre_lien{
	margin-top: 0;
}

p.cat_post {
	margin-bottom: 0;
}

.blog .article h3 a{
	color:inherit;
}

.article p a{
	color: black;
}
/*
.blog .first .content h3 a{
	color:var(--color2);
}
.blog .first .content h3 a:hover{
	text-decoration: underline;
}
*/


span.date{
	text-transform: uppercase;
	display: block;
	position: relative;
	font-weight: bold;
}
.post-more{
	text-transform: uppercase;
	color:var(--color2);
	font-weight:bold;
}
hr{
	width: 100%;
	flex-basis:100%;
	border:0;
	border-top:1px solid var(--color2);
	margin-bottom: 6vh;
}
.blog > h4{
	flex-basis: 100%;
	margin-bottom: 6vh;
    color: var(--color2);
}
.blog > h4 a{
	text-transform: uppercase;
	float: right;
	color:var(--color2);
}
.blog .article{
    margin-bottom: 4vh;
    width: 48%;
}


/*
.modele_archive .blog .article{
	flex-basis: 30%;
	margin-bottom: 4vh;
}
*/
.blog .article > a{
	margin-bottom: 2vh;
	display: block;
}
.blog .article > a:hover{
	text-decoration: underline;
}
.blog .article h5 a{
	color:var(--color2);
}
.blog .article h5{
	margin-top: 4vh;
}
.pagination{
	flex-basis: 100%;
}
nav.pagination{
    width: 100%;
    text-align: center;
    margin-top: 3vw;
}

.page-numbers.current{
	color: var(--vert);
}

.page-numbers:active{
	color: var(--vert);
}

.page-numbers{
	color: black;
}


@media screen and (max-width:1079px){
/*
	.blog .article{
		flex-basis: 30.6666%;
	}
*/
}
@media screen and (max-width:970px){
/*
	.blog .first .content{
		min-width:100%;
	}
	.blog .first > a{
		min-width:100%;
	}
*/
}
@media screen and (max-width:740px){
/*
	.blog .first .content{
		order:2;
	}
	.blog .first > a{
		order:1;
	}
	.blog .article{
		flex-basis: 48%;
	}
*/
}
main .page-header .header_bg{
	height:40vh;
}
main .page-header .header_bg img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}
.modele_archive .page-header-text {
	width: 75%;
}
.modele_archive .page-header-text h1 {
    word-break:normal;
}
.modele_archive .desc{
	padding:6vh 10%;
}
.modele_archive .desc h1{
	max-width:70vw; 
	color:var(--color2);
	margin-bottom: 0;
} 
.articles{
	padding:var(--pad);
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
    flex-wrap: wrap;	
}
.articles .sidebar{
	width: 100%;
    padding-bottom: 5vw;	
}
/* Menu des catégories (widget Current Category Children) */
.articles .sidebar ul{
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin: 0 0 3vw;
	padding: 5px clamp(10px, 3vw, 50px);
	background-color: var(--color1);
	border-radius: 50px;
}
.articles .sidebar li{
	display: flex;
	align-items: center;
	margin-bottom: 0;
}
.articles .sidebar li + li::before{
	content: "|";
	color: white;
	padding: 0 clamp(5px, 1.5vw, 30px);
}
.articles .sidebar li a{
	display: block;
	padding: 15px clamp(8px, 1vw, 25px);
	color: white;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: bold;
	transition: color 500ms linear;
}
.articles .sidebar li a:hover{
color: black;

}

@media screen and (max-width:1024px){
	.articles .sidebar ul{
		padding: 8px 15px;
		border-radius: 30px;
	}
	.articles .sidebar li + li::before{
		content: none;
	}
	.articles .sidebar li a{
		padding: 10px 12px;
		font-size: 15px;
	}
}

@media screen and (max-width:640px){
	.articles .sidebar ul{
		flex-direction: column;
		align-items: stretch;
		padding: 5px 0;
		border-radius: 25px;
	}
	.articles .sidebar li{
		justify-content: center;
		border-bottom: 1px solid rgba(255,255,255,0.3);
	}
	.articles .sidebar li:last-child{
		border-bottom: none;
	}
	.articles .sidebar li a{
		width: 100%;
		padding: 12px 20px;
		font-size: 14px;
		text-align: center;
	}
}
.articles form{
	margin-bottom: 8px;
	position: relative;
}
.articles input[type="submit"]{
	width: 26px;
	height: 26px;
	position: absolute;
	left: 10px;
	top: 10px;
	background-image: url(../img/loupe.png);
	background-size: contain;
	background-position: center center;
	background-color: transparent;
	border:none;
	text-indent: -1000px;
}
.articles input#s{
	background-color: var(--color2);
	padding: 15px 10px 15px 50px;
	border:none;
	width: 100%;
}
/*
.articles input#s::placeholder{
}
*/
/*
@media screen and (max-width:1750px){
	.articles .blog .article {
		flex-basis: 30%;
	}
}
@media screen and (max-width:1250px){
	.articles .blog .article {
		flex-basis: 48%;
	}
}
*/




@media screen and (max-width:960px){
/*
	.articles .sidebar, .articles .blog{
		flex-basis: 100%;
		margin: 6vh 10vw 6vh 10vw;
		padding: 0;
	}
	.articles{
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
	}
*/
}

@media screen and (max-width:860px){
	div.blog_entete {
		width: 100%;
        padding-top: 5vw;		
	}
	
	.blog .first {
		flex-basis: 5100%;
		width: 100%;
	}	
	
	.blog_entete .article img {
		height: 30vw;
	}
}
