/*
Theme Name: ColorMag Pro Child Theme
Theme URI: http://themegrill.com/themes/colormag/
Description: Child Theme for ColorMag Pro
Author: ThemeGrill
Author URI: http://themegrill.com
Template: colormag-pro
Version: 1.0
*/

.single-title-above-header .entry-title {
    font-size: 14px;
}


/* Taille de titre modifiée */
.single-title-above-header .entry-title {
    font-size: 22px;
}

.widget_featured_posts .following-post .article-content .entry-title {
	font-size: 14px;
}

.image-ticker-news .article-content .above-entry-meta, .image-ticker-news .article-content .below-entry-meta {

}

.home .cm-first-post {
	width:100%;
}

.archive #content .post:first-child {
	float: left;
	width: 48.7013%;
	clear: both;
}

.archive #content .post:nth-child(2n) {
	float: right;
	width: 48.7013%;
			 
}

.archive #content .post:nth-child(2n+1) {
	float: left;
	width: 48.7013%;
	clear: both;
}

#content .post .article-content .entry-title {
	padding: 5px 0 0;
	font-size: 22px;
}

/* Bandeau Latest */

.breaking-news {
	background-color:transparent;
	width:100%;
	font-size:16px!important;
	padding-left: 0px;
}

.breaking-news .breaking-news-latest {
	color: #fff;
  background-color: #666;
  font-weight: normal;
  padding: 0 5px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  margin-bottom: 5px;
}

.breaking-news .newsticker {
	max-width:none;	
}

.breaking-news,
.breaking-news .newsticker li {
	line-height: 25.6px;
}

.breaking-news-main {
	padding-bottom:0px;
}

.cm-content {
	padding-top: 30px;
  padding-bottom: 20px;
}

/* Article avec liste */

.type-page .cm-entry-title {
	font-size: 34px;
	line-height: 1.2;
}

.cm-entry-summary li {
  line-height: 1.3;
  font-size: 15px;
}

/* Bouton de recherche dans le menu */


.cm-header-actions .cm-top-search i { 
	height:42px;
	width:42px;
}

.search-form-top.show {
	top:50px;
}

/* MENU */
header #menu-main-menu li {
	height: 43.2px;
	padding: 8px 12px;
}

header #cm-primary-nav .cm-home-icon svg {
	font-size: 27px;
}

header #cm-primary-nav .cm-container > .cm-row {
	height:43.2px;
}

/* Publicité en haut à droite */

#header-right-section {
	position:absolute;
	right:0px;
}


/* Bouton accueil dans le menu */

.cm-home-icon.front_page_on {
	background-color:rgb(56, 110, 179);
}

/* Page d'accueil news */
.edr-news .widget.cm-featured-posts .cm-first-post {
	flex-basis : auto;
}

.cm-post-content .cm-author,
.cm-post-content .cm-entry-header-meta,
.widget.cm-featured-posts .cm-entry-header-meta,
.edr-news .widget.cm-featured-posts .cm-entry-summary,
.widget.cm-featured-posts .cm-post-content .cm-author {
	display:none;
}

.edr-news .widget.cm-featured-posts .cm-post-content {
	margin-top: -160px;
	background-color: rgba(0, 0, 0, 0.6);
	position: relative;
}

.edr-news .widget.cm-featured-posts .cm-post-date svg {
	fill:white;
}

.edr-news .widget.cm-featured-posts .cm-post-date a,
.edr-news .widget.cm-featured-posts .cm-entry-title a {
	color: white !important;
}

.more-news .widget-title,
.edr-news .widget-title {
	border-bottom: 2px solid #de2506;
	padding-bottom: 3.2px;
}

.cm-primary .cm-one-half.cm-one-half-last .cm-widget-title {
	border-bottom: 2px solid #837789;
	padding-bottom: 3.2px;
}

.cm-primary .cm-one-half.cm-one-half-last .cm-widget-title span {
	background-color:#837789;
}


.cm-primary .cm-one-half.cm-one-half-last .cm-widget-title span,
.cm-secondary h3.cm-widget-title span,
.more-news .cm-widget-title span,
.edr-news .widget-title span {
  color: #fff;
  padding: 6px 12px;
  font-weight: 400;
  font-size:18px;
  line-height: 23.4px;
}

.cm-entry-title {
	font-weight:400;
	
}

.cm-featured-posts .cm-entry-title a {
	line-height: 26.4px;
}

.more-news .cm-breaking-news ul li h3 a {
	line-height:19.6px;
	font-weight:400;
}

.more-news .cm-featured-posts .cm-post-content {
	padding: 0px 10px;
}

.more-news svg.cm-icon {
	background-color: transparent;
  fill: #386eb3;
  border: none;
  padding:0px;
  width: 1.2em;
  height: 1.2em;
}

.cm-featured-posts--style-4.cm-featured-posts .cm-entry-title {
	font-size:22px;
}

section ul {
	list-style:none;
}

#colormag_featured_posts_small_thumbnails-11 .cm-post-content {
	padding: 0px 16px;
}

/* Footer */
#cm-footer ul {
	list-style:none;
}

#cm-footer ul li a {
	color: #b1b6b6;
	text-decoration:none;
}

#cm-footer ul li a:hover {
	color: #FFF;
}

#cm-footer > .cm-footer-bar {
	background: linear-gradient(#242424, #4D4C4C) !important;
}

#cm-footer .footer-social-icons ul li > div 
{
  display: flex;
  justify-content: center;
  align-items: center;
}

h2.cm-entry-title a {
	font-size:22px;
}

/* Page edr mag */
.category-edr-mag .cm-layout-1-style-1 .cm-featured-image {
	flex-basis:35%;
}

/* Article */
.single-post .cm-entry-header h1.cm-entry-title {
	padding: 5px 0 0;
  font-size: 22px;
  line-height: 1.2;
}

.single-post h2 {
	font-weight: 400;
	line-height:24px;
}

.single-post ul.default-wp-page {
	flex-direction: column;
}

.single-post .cm-entry-summary p {
	font-size:15px;
}

.single-post .cm-entry-summary {
	padding: 0 15px;
}

.single-post .cm-featured-image img {
	width:100%;
}




/* Mobile */ 
@media (max-width: 1160px) {
	/* Publicité en haut à droite */
	#header-right-section {
		position:relative;
	}
	
	/* MENU */
	header #menu-main-menu li {
		height: auto;
	}

	header #cm-primary-nav .cm-container > .cm-row {
		height:auto;
	}
	
	.cm-breaking-news li {
		flex-direction: column;
		gap: 10px;
	}
}