/* ----- général ---- */

#main {
		background-color: #f9f9f9;
}

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

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

.more-link, .no-post-thumbnail {
    background-color:#babfff !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;
    }

@media all {
    blockquote {
      padding: 10px 10px 10px 45px;
      margin-bottom: 20px;
      background-color: #ffffff !important;
      color: #666;
      border-radius: 5px;
			font-style: italic;
    }
    blockquote p:first-child::before {
        content: "\f10d";
        font-family: FontAwesome;
        font-style: normal;
        font-weight: normal;
        text-decoration: inherit;
        color: #eee;
        font-size: 60px;
        position: absolute;
        top: 0px;
        left: -27px;
    }
		blockquote p {
				font-size: 1.1em;
		}
}

@media all and (max-width: 415px) {
		    blockquote {
      padding: 10px 10px 10px 10px;
      margin-bottom: 20px;
      background-color: #ffffff !important;
      color: #666;
      border-radius: 5px;
			font-style: italic;
    }
    blockquote p:first-child::before {
        content: "\f10d";
        font-family: FontAwesome;
        font-style: normal;
        font-weight: normal;
        text-decoration: inherit;
        color: #eee;
        font-size: 40px;
        position: absolute;
        top: 10px;
        left: -10px;
    }
		blockquote p {
				font-size: 1.1em;
		}

}

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


/* -- 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: 20px; 
		font-weight: lighter !important;
		margin-top: 20px;
		letter-spacing: 2px;
}
		    #masthead.colormag-header-classic #header-text-nav-wrap #header-left-section #header-logo-image, #masthead.colormag-header-classic #header-text-nav-wrap #header-left-section #header-text {
        float: left;
        padding-right: 0;
    }
    #masthead.colormag-header-classic #header-text-nav-wrap #header-right-section {
        display: block;
    }

		}
@media all and (min-width: 415px) and (max-width: 768px) {
		h4 {
		font-size: 17px; 
		font-weight: lighter;
		margin-top: 15px;
		letter-spacing: 0.07em;
}
				    #masthead.colormag-header-classic #header-text-nav-wrap #header-left-section #header-logo-image, #masthead.colormag-header-classic #header-text-nav-wrap #header-left-section #header-text {
        float: left;
        padding-right: 0;
				margin-bottom: 20px;
				margin-top: 20px;
    }

		    #masthead.colormag-header-classic #header-text-nav-wrap #header-right-section {
        display: block;
				float: right;
				margin-top: 50px;
    }

}
@media all and (max-width: 414px) {
		h4 {
		font-size: 14px; 
		font-weight: lighter;
		margin-top: 0px;
		letter-spacing: 0.07em;
}
						    #masthead.colormag-header-classic #header-text-nav-wrap #header-left-section #header-logo-image, #masthead.colormag-header-classic #header-text-nav-wrap #header-left-section #header-text {
				margin-top: 20px;
    }

		    #masthead.colormag-header-classic #header-text-nav-wrap #header-right-section {
        display: block;
				margin-top: 20px;
    }

}



/* ----- menu ---- */
.emailus-styling a {
		color: #808080 !important;
}
.emailus-styling a:hover {
		color: #656fbf !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: #656fbf !important;
}
.play-styling a:hover {
		color: #656fbf !important;
}
.custom-logo {
		height: 66px;
		width: auto
}
#masthead.colormag-header-classic .home-icon .fa { /* ----- ajout version test ---- */
    color: #656fbf;
}

@media all and (min-width: 769px) {
		
#masthead.colormag-header-classic #header-text-nav-wrap #header-left-section {
		text-align: left;
}
.main-navigation {
		text-align: left;
}

#masthead.colormag-header-classic .main-navigation a {
		font-weight: 500;
		padding-left: 0px;
		padding-right: 0px;
		margin-right: 30px;
}

#masthead.colormag-header-classic .main-navigation li {
}
  
#masthead.colormag-header-classic .main-navigation a { /* ----- ajout version test ---- */
    margin-right: 25px;
}

}
/* ----- 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;
}

/*
.widget_featured_posts  p {
		font-weight: bold;
}
*/


/* ----- 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 BLOG ---- */

.category-blog #main {
		background-color: #f6f6ff;
}

.archive.category-blog #content .post .article-content .byline {
		display: inline;
}

.category-blog #content .post .article-content .below-entry-meta .byline {
		display: inline;
}


.archive.category-blog #content .post:first-child {
		float: none;
		width: 100% !important;
}
.archive.category-blog #content .post:first-child .article-content {
		padding: 15px 80px 50px 80px;
}
.archive.category-blog #content .post:first-child img {
		margin-top: 80px;
}
.archive.category-blog #content .post:first-child .entry-title {
		font-size: 30px !important;
}


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

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


@media all and (max-width: 414px) {
		.archive.category-blog #content .post:first-child .article-content {
		padding: 15px 15px 15px 15px;
}
.archive.category-blog #content .post:first-child img {
		margin-top: 0px;
}
.archive.category-blog #content .post:first-child .entry-title {
		font-size: 22px !important;
}

		
		.archive.category-blog #content .post:first-child {
		float: none;
		width: 100%;
}
.archive.category-blog #content .post:nth-child(2n) {
		float: none;
		width: 100%;
		clear:none;
}
.archive.category-blog #content .post:nth-child(2n+1) {
		float: none;
		width: 100%;
		clear: both;
}
}

@media all and (min-width: 415px) and (max-width: 768px) {
		.archive.category-blog #content .post:first-child .article-content {
		padding: 15px 20px 15px 20px;
}
		.archive.category-blog #content .post:first-child img {
		margin-top: 20px;
}
		.archive.category-blog #content .post:first-child .entry-title {
		font-size: 30px !important;
}

}


.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: 70px;
		margin-top: 70px;
}
.single-post .post .article-content {
/*		margin-left: 35%;*/
		margin-left: 0%;
		}
.single-post .post .entry-content {
		margin-top: 15px;
		}
.single-post #content .post .article-content	{
				padding: 60px 70px 70px 70px;
		}	
}
@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;
}
.single-post .post .entry-content {
		margin-top: 45px;
		}
}
@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: #656fbf;
		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: #989ff4;
		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: #232642;
    }
    .footer-socket-wrapper {
        padding: 20px 0px 50px;
        background-color: #656fbf;
    }
    .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: #232642;
        border-bottom: 1px solid #232642;
    }

}

/* -- Pub sidebar -- */

.journal-widget {
		background-color: #fff !important;
		margin: 0px;
		padding: 0px;
}





/* -- 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 les posts de la catégorie actuelle pour les autres pages -- */

#text-12 .widget-title , #recent-posts-5 .widget-title , #archives-5 .widget-title {
		margin-bottom: 0px !important;
}
#text-12 , #recent-posts-5 , #archives-5 {
		background-color: #f9f9f900 !important;
}
#text-12 ul , #recent-posts-5 ul , #archives-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-12 {
		display:none;
}

/* -- Affichage blog sidebar -- */
#text-14 {
		background-color: #f9f9f9 !important;
}
#text-14 .widget-title {
		margin-bottom: 0px !important;
}
#text-14 .textwidget {
		padding: 10px 20px 0px 20px !important;
		background-color: #fff;
}
#text-14 .tg-module-info {
		width: 280px;
}
#text-14 .tg-module-info .tg-module-comments {
		display: none;
}
#text-14 .tg-module-wrapper {
		margin-bottom: 0px;
}
#text-14 .entry-date, #text-15 .tg-post-auther-name {
		font-size: 10px;
}
.category-blog #text-14 {
		display: none;
}