/* ----- général ---- */
body { 
}

#main {
		background-color: #f9f9f9;
}

article {
		background-color: #fff !important;
}

.single-related-posts {
		background-color: #fff !important;
}

.more-link, .no-post-thumbnail {
    background-color:#ffbbbb !important;
}

.article-content .above-entry-meta .cat-links a, .widget_featured_slider .slide-content .above-entry-meta .cat-links a {
    background-color:#eee !important;
		color: #aaa !important;
}

.article-content .below-entry-meta .byline, .article-content .below-entry-meta .comments, .widget_featured_slider .slide-content .below-entry-meta .byline, .widget_featured_slider .slide-content .below-entry-meta .comments {
        display:none;
    }

/* ----- pages ---- */
.page article {
		background-color: #f9f9f9 !important;
}
@media all and (min-width: 769px) {
		.page article {
		margin-top: 50px !important;
}
}

/* ----- header ---- */
img.custom-logo {
		width: 200px;
}


/* -- baseline header -- */

h4 {
		text-rendering: optimizeLegibility; 
		-webkit-font-smoothing: antialiased; 
		-moz-osx-font-smoothing: grayscale;
}

@media all and (min-width: 769px) {
		h4 {
		color: #808080; 
		font-size: 24px; 
		font-weight: lighter;
		margin-top: 20px;
		letter-spacing: 2px;
}
		}
@media all and (min-width: 415px) and (max-width: 768px) {
		h4 {
		font-size: 16px; 
		font-weight: lighter;
		margin-top: 0px;
		margin-left: 6px;
		letter-spacing: 0.01em;
}
}
@media all and (max-width: 414px) {
		h4 {
		font-size: 15px; 
		font-weight: lighter;
		margin-top: 0px;
		margin-left: 4px;
		letter-spacing: 0.01em;
}
}

/* --- bandeau noir header --- */
@media all and (min-width: 415px) {
.header-image-wrap {
		overflow: hidden !important;
		max-width: 100% !important;
		height: 270px !important;
}

.header-image {
		height: 270px;
    width: 1920px;
		min-width: 1920px;
}

.home .front-page-top-section, .category #primary, .category #secondary, .single #primary, .single #secondary {
		margin-top: -270px;
		z-index: 1;
		position: relative;
}
}

@media all and (max-width: 414px) {
		.header-image-wrap {
				display: none;
		}
		.home .front-page-top-section, .category #primary, .category #secondary, .single #primary, .single #secondary {
		margin-top: 0px;
}
}


/* ----- menu ---- */
#site-navigation {
		background-color: #000;
}

.emailus-styling a {
		color: #666;
}
.emailus-styling a:hover {
		color: #555 !important;
}

.fa-enveloppe {
		color: #fff;
}

.fa-enveloppe a:after {
		font: normal normal normal 14px/1 FontAwesome;
		content: "\f0e0";
		display: inline-block;
		margin-left: 0.5em;
}
/*
.play-styling a {
		color: #ffa400;
}
.play-styling a:hover {
		color: #00bbff !important;
}*/


#masthead.colormag-header-classic .home-icon .fa {
    color: #e4222a;
}


/* ----- layout home ---- */
@media all and (min-width: 769px) {
    .widget_highlighted_posts img {
    	height: 165px;
			object-fit: cover;
    }
    .widget_featured_slider img {
    	height: 340px;
			object-fit: cover;
    }
}
@media all and (min-width: 415px) and (max-width: 768px) {
    .widget_highlighted_posts img {
    	height: 220px;
			object-fit: cover;
    }
		    .widget_featured_slider img {
    	height: 370px;
			object-fit: cover;
    }

}
@media all and (max-width: 414px) {
    .widget_highlighted_posts img {
			object-fit: cover;
    }
    .widget_featured_slider img {
    	height: 170px;
			object-fit: cover;
    }
}

.widget_highlighted_posts .article-content .entry-title a:hover {
		color: #ffffff !important;
		text-decoration: underline;
}

.widget_featured_slider .slide-content .entry-title a:hover {
		color: #ffffff !important;
		text-decoration: underline;
}




/* ----- layout archive ---- */

.archive #content .post:first-child {
		float: left;
		width: 48.7013%;
}

.archive #content .post:nth-child(2n) {
		float: right;
		width: 48.7013%;
		clear:none;
}

.archive #content .post:nth-child(2n+1) {
		float: left;
		width: 48.7013%;
		clear: both;
}

.archive #content .post:first-child .article-content .entry-title {
		font-size: 22px;
}

@media all and (max-width: 414px) {
		.archive #content .post:first-child {
		float: none;
		width: 100%;
}
.archive #content .post:nth-child(2n) {
		float: none;
		width: 100%;
		clear:none;
}
.archive #content .post:nth-child(2n+1) {
		float: none;
		width: 100%;
		clear: both;
}
.archive #content .post:first-child .article-content .entry-title {
		font-size: 22px;
}
}

.taxonomy-description p {
		font-weight: 600;
}

/* ----- layout post ---- */
@media all and (min-width: 769px) {
.single-post .post .featured-image {
		width: 33%;
		float: left;
		margin-right: 15px;
		margin-left: 15px;
		margin-top: 15px;
}
.single-post .post .article-content {
		margin-left: 35%;
		}
		}
@media all and (min-width: 415px) and (max-width: 768px) {
.single-post .post .featured-image {
		width: 49%;
		float: left;
		margin-right: 15px;
		margin-left: 15px;
		margin-top: 15px;
}
}
@media all and (max-width: 414px) {
.single-post .post .featured-image {
		width: 100%;
		float: left;
		margin-right: 15px;
		margin-bottom:15px;
}
}
		
/*.single-post .post .featured-image img {
		height: 230px;
		object-fit: cover;
}*/

.single-post .post .post-custom-link {
		padding: 8px 15px 8px 15px !important;
		background-color: #e4222a;
		border-radius: 5px;
		color: #ffffff;
		font-size: 13px;
		font-weight: bold;
		line-height: 2em;
		vertical-align: baseline;
}
.single-post .post .post-custom-link:hover {
		background-color: #808080;
		text-decoration: none !important;
}

.single-post .post .post-custom-link a {
}
.single-post .post .post-custom-link .fa {
		font-size: 13px;
		color: #fff;
		vertical-align: baseline;
		margin-right: 5px;
}

.single-post .post .post-custom-link a:hover {
		color: #fff;
		text-decoration: none !important;
}


@media all and (min-width: 415px) {
		.related-posts .single-related-posts {
				min-height: 245px;
		}
}

/* ----- layout footer ---- */

@media all {
    .footer-widgets-wrapper {
        border-top: 10px solid #ddd;
        background-color: #000;
    }
    .footer-socket-wrapper {
        padding: 20px 0px 50px;
        background-color: #e4222a;
    }
    .footer-socket-wrapper .copyright {
        color: #fff;
        float: left;
        font-size: 14px;
    }
    .footer-socket-wrapper .copyright a {
        color: #fff;
        border-bottom: 1px solid #fff;
    }
	    .footer-socket-wrapper .copyright a:hover {
        color: #000;
        border-bottom: 1px solid #000;
    }

}

/* -- Newsletter form sidebar -- */

#text-5 .widget-title {
		margin-bottom: 2px !important;
}
#text-5 img {
		width: 100%;
		height: auto;
}
#text-5 p {
		margin-bottom:0;
}
.newsletter_Sidebar .text-widget {
		margin-top : 0px;
}
.newsletter_Sidebar {
		background-color: #5c9815;
		box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
		padding: 15px;
		margin-top: -18px;
}
.newsletter_Sidebar .evf-frontend-row .evf-frontend-grid {
		margin-bottom: 0px;
}
.newsletter_Sidebar .evf-frontend-row label {
		margin-bottom: 0px;
		color: white;
}
.newsletter_Sidebar .evf-frontend-row input {
		height: 35px;		
		background-color: white;
}
.newsletter_Sidebar .evf-frontend-row .evf-frontend-grid .evf-field {
		margin-bottom: 0px;
}

.newsletter_Sidebar .evf-frontend-row .evf-frontend-grid .evf-field ul li label {
		display: inline;
		font-size: 12px;
		color: white !important;
}
.newsletter_Sidebar .evf-submit {
		padding: 5px 30px;
		font-size: 16px;
		font-weight: bold;
		margin-bottom: 0;
		color: #5c9815;
		background-color: white;
}

/* -- Recent post sidebar -- */
/* -- On affiche les posts récents sur la homepage et la les posts de la catégorie actuelle pour les autres pages -- */

#text-2 .widget-title , #recent-posts-5 .widget-title {
		margin-bottom: 0px !important;
}
#text-2 , #recent-posts-5 {
		background-color: #f9f9f900 !important;
		
}
#text-2 ul , #recent-posts-5 ul {
		padding: 15px;
		background-color: #fff;
		box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.archive  #recent-posts-5, .single #recent-posts-5, .page #recent-posts-5 {
		display: none;
}

.home #text-2 {
		display:none;
}