/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/*GENERAL*/

blockquote{
	border-left: 4px solid #387281;
}
#actualites.content,
#articles.content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

#actualites.content > section:first-of-type,
#articles.content > section:first-of-type {
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	background: #00d6cd;
	margin: 0 0 30px 0;
}

#actualites.content > section:first-of-type > div,
#articles.content > section:first-of-type > div {
	width: 100%;
	max-width: 1000px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

#actualites.content > section:first-of-type > div > div:first-of-type,
#articles.content > section:first-of-type > div > div:first-of-type {
	width: 50%;
	min-height: 150px;
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

#actualites.content > section:first-of-type > div > div:first-of-type img,
#articles.content > section:first-of-type > div > div:first-of-type img {
	width: 100%;
	max-width: 350px;
	position: absolute;
	top: 39px;
}

#actualites.content > section:first-of-type > div > div:last-of-type,
#articles.content > section:first-of-type > div > div:last-of-type {
	width: 50%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

#actualites.content > section:first-of-type > div > div a,
#articles.content > section:first-of-type > div > div a {
	width: 100%;
}

#actualites.content > section:last-of-type,
#articles.content > section:last-of-type {
	width: 100%;
	max-width: 1200px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	margin: 30px 0;
}

#actualites.content h1,
#articles.content h1 {
	font-size: 2.2em;
	font-family: 'Montserrat', sans-serif;
	line-height: 150%;
	color: white;
	margin: 0;
}

#actualites.content h2,
#articles.content h2 {
	font-size: 1.6em;
	font-family: 'Montserrat', sans-serif;
	line-height: 125%;
	margin: 20px 0;
}
#actu-a-la-une h2{
	margin: 20px 0 0 0!important;
}
#actualites.content h2 a,
#articles.content h2 a {
	color: black;
}

#actualites.content h3,
#articles.content h3 {
	min-height: 80px;
    font-size: 1.4em;
	font-family: 'Montserrat', sans-serif;
	line-height: 125%;
	margin: 5px 0;
}

#actualites.content h3 a,
#articles.content h3 a {
	color: black;
}

#actualites.content p,
#articles.content p {
	font-family: 'Montserrat', sans-serif;
	line-height: 150%;
	margin: 8px 0;
}
#articles.content p.btn-plus{
	margin-top: 20px;
}

#articles #cat-content ol,
#articles #cat-content  ul{
	margin-bottom: 10px!important;
}
#articles #cat-content ol li,
#articles #cat-content ul li
{
	font-family: 'Montserrat',sans-serif!important; 
    font-weight: 600!important;
    line-height: 150%!important;
    margin: 2px 0!important;
}*/
#articles #cat-content a {
    font-weight: 800;
    color: #387281!important;
}
.content #actu-a-la-une p.btn-plus{
	margin-top: 20px!important;
}
.chapo {
	font-weight: 600;
}

#cat-content {
	width: 100%;
	max-width: 800px;
	padding: 20px;
}

#cat-content.articles {
	padding: 0 20px 20px 20px;
}

#cat-sidebar {
	width: 100%;
	max-width: 400px;
	padding: 20px;
}

#cat-sidebar > div {
	background: rgba(181, 233, 219, 0.7);
}

#cat-content img {
	border-radius: 5px;
	-webkit-box-shadow: 0 1px 6px 0 rgba(32, 33, 36, .28);
	        box-shadow: 0 1px 6px 0 rgba(32, 33, 36, .28);
}

/*CONTENT*/

#actu-a-la-une {
	border-bottom: 1px solid #387281;
	padding: 0 0 10px 0;
	margin: 0;
	margin-bottom:10px;
}

#actu-a-la-une ul,
#actu-a-la-une li {
	list-style: none;
	padding: 0;
	margin: 0;
}

#actus-secondaires ul {
	list-style: none;
	padding: 0;
	margin: 0 -10px;
}

#actus-secondaires li {
	float: left;
	width: 50%;
	min-height: 350px;
	list-style: none;
	padding: 0 10px;
	margin: 0 0 20px 0;
}

#articles-actus-secondaires li,
#actus-secondaires li.ao {
	display: none;
}

#articles-actus-secondaires li:nth-child(1),
#articles-actus-secondaires li:nth-child(2),
#articles-actus-secondaires li:nth-child(3),
#articles-actus-secondaires li:nth-child(4) {
	display: block;
}

#actus-secondaires h2 {
	min-height: 75px;
}

#actus-secondaires p:first-of-type {
	min-height: 75px;
	margin: 20px 0 0 0;
}

#actus-secondaires #toutes-les-actualites {
	min-height: 0;
}

.actus-dates {
	color: #387281;
}

.dates-circle {
    font-size: 5px;
    vertical-align: middle;
    margin: 0 2px 0 6px;
}

.btn-plus a {
	font-weight: 800;
	color: #387281;
}

#page-navigation {
	margin: 20px 0;
}

/*ARTICLES*/

#cat-content.cat-content-articles > div:first-of-type {
	height: 50px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	padding: 10px 0;
}

#article-rs img {
	width: 30px !important;
    height: auto;
	border-radius: 50px;
	padding: 0;
	margin: 20px 0 10px 10px;
}

#cat-content.cat-content-articles > div:first-of-type a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	color: #387281;
}

#cat-content.cat-content-articles > div:first-of-type i {
	font-size: 25px;
	padding: 0 5px;
}

#cat-content #article-thumbnail img {
	width: 100%;
	height: auto;
	border-radius: 5px;
    -webkit-box-shadow: 0 1px 6px 0 rgba(32, 33, 36, .28);
            box-shadow: 0 1px 6px 0 rgba(32, 33, 36, .28);
}

#cat-content .articles-img {
	width: 100%;
	margin: 10px 0;
}

#cat-content .articles-img img {
	width: 100%
}
/*btn call to action sur articles*/
.btn-cta{
    background: #00d6cd;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 6px 0 rgb(32 33 36 / 28%);
    box-shadow: 0 1px 6px 0 rgb(32 33 36 / 28%);
    padding: 10px 20px;
    margin: 0 10px 10px 0;
    box-shadow: -3px 3px 3px #387281;
	color: #387281!important;
}
.btn-cta:hover{
	color: white!important;
}
/*SEARCH*/

#search-title {
	margin: 0 !important;
}

/*SIDEBAR*/

#lien-brief-actu-img {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 30px 0 0 0;
}

#lien-brief-actu-img a {
	width: 100%;
	max-width: 300px;
}

#lien-brief-actu {
	display: flex;
    justify-content: center;
    align-items: center;
    max-height: 67px;
	font-size: 1.4em !important;
	text-align: center;
	background: #387281;
	box-shadow: 0 1px 6px 0 rgba(32,33,36,.28);
	padding: 20px 0;
	margin: 0 0 20px 0 !important;
}

#lien-brief-actu i {
	font-size: 20px;
	margin: 0 5px 0 0;
}

#lien-brief-actu a {
	color: white;
}

#cat-sidebar > div > div:last-of-type {
	padding: 0 20px 20px 20px;
}

#cat-sidebar form {
	height: 50px;
	background: #387281;
	padding: 10px;
}

#cat-sidebar input {
	background: #387281;
	border: 0;
}

#cat-sidebar input[type="text"]::-webkit-input-placeholder {
	font-size: 15px;
	color: #00d6cd !important;
}

#cat-sidebar input[type="text"]::-moz-placeholder {
	font-size: 15px;
	color: #00d6cd !important;
}

#cat-sidebar input[type="text"]:-ms-input-placeholder {
	font-size: 15px;
	color: #00d6cd !important;
}

#cat-sidebar input[type="text"]::-ms-input-placeholder {
	font-size: 15px;
	color: #00d6cd !important;
}

#cat-sidebar input[type="text"]::placeholder {
	font-size: 15px;
	color: #00d6cd !important;
}

#cat-sidebar input[type="submit"] {
	font-size: 15px;
	color: #00d6cd !important;
}

#cat-sidebar h3 {
	width: 100%;
	min-height: 0 !important;
    max-width: 60%;
	color: #387281;
	text-transform: uppercase;
    border-bottom: 4px solid #387281;
    padding: 0 0 5px 0;
	margin: 25px 0 10px 0!important;
	
}

#cat-sidebar > div > div:last-of-type > ul:first-of-type {
	list-style: none;
	padding: 0;
	margin:0;
}

#cat-sidebar #focus {
	border-bottom: 3px solid #387281;
	padding: 0 0 20px 0;
}

#cat-sidebar > div > div:last-of-type > ul:first-of-type li {
	line-height: 150%;
	margin: 5px 0;
}

#cat-sidebar > div > div:last-of-type > ul:first-of-type li a {
	font-weight: 800;
	color: #13aa8a;
}

#cat-sidebar > div > div:last-of-type > ul:last-of-type {
	list-style: none;
	padding: 20px 0;
	margin:0;
}

#cat-sidebar > div > div:last-of-type > ul:last-of-type li {
	float: left;
	background: #00d6cd;
	border-radius: 5px;
	-webkit-box-shadow: 0 1px 6px 0 rgba(32, 33, 36, .28);
	        box-shadow: 0 1px 6px 0 rgba(32, 33, 36, .28);
	padding: 5px 10px;
	margin: 0 10px 10px 0;
}

#cat-sidebar > div > div:last-of-type > ul:last-of-type li a {
	text-transform: uppercase;
	font-weight: 800;
	color: white;
}

#cat-sidebar > div > div:last-of-type > ul:last-of-type li.tag-count-1,
#cat-sidebar > div > div:last-of-type > ul:last-of-type li.tag-count-2 {
	display: none !important;
}
/*navigation*/
.wp-pagenavi a, .wp-pagenavi span{
	color:#387281;
}
/*RESPONSIVE*/

@media screen and (max-width: 992px) {
	
	#actus-secondaires li {
    	width: 100%;
		min-height: 0;
	}
	
}

@media screen and (max-width: 768px) {
	
	#actualites.content > section:last-of-type, 
	#articles.content > section:last-of-type {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}
	
}

@media screen and (max-width: 600px) {
	
	#actualites.content > section:first-of-type, 
	#articles.content > section:first-of-type,
	#actualites.content > section:last-of-type, 
	#articles.content > section:last-of-type {
		margin: 0;
	}
	
	#actualites.content > section:first-of-type > div, 
	#articles.content > section:first-of-type > div {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}
	
	#actualites.content > section:first-of-type > div > div:first-of-type, 
	#articles.content > section:first-of-type > div > div:first-of-type,
	#actualites.content > section:first-of-type > div > div:first-of-type a, 
	#articles.content > section:first-of-type > div > div:first-of-type a,
	#actualites.content > section:first-of-type > div > div:last-of-type, 
	#articles.content > section:first-of-type > div > div:last-of-type {
		width: 100%;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
	}
	
	#actualites.content > section:first-of-type > div > div:first-of-type img, 
	#articles.content > section:first-of-type > div > div:first-of-type img {
    	position: initial;
    	top: initial;
		margin: 20px 0 0 0;
	}
	
	#cat-sidebar {
		max-width: inherit;
	}
	
	#actualites.content h1, 
	#articles.content h1 {
		text-align: center;
		margin: 0 0 20px 0;
	}
	
	#actualites.content h3, 
	#articles.content h3,
	#actus-secondaires p:first-of-type {
		min-height: 0;
	}
	
}