/*
Theme Name: aem
Description: Thème - Les ateliers d'écriture de Marianne
Author: Digicalys
Author URI: https://digicalys.fr
Template: rife-free
*/


/*********************** GLOBAL  ***********************/

@font-face {
	font-family: 'Faradisa';
	src: url('fonts/Faradisa.ttf') format("truetype");
	font-weight: normal;
	font-style: normal;
}

h1.page-title, div.real-content h2 {
	font-family: 'Faradisa', sans-serif !important;
}

div.real-content h2 ~ h3 {
	font-size: 1.15em;
	color: #041509;
}

div.real-content p {
	text-align: justify;
}

div.real-content a:hover {
	background-color: #badcc259;
	color: #0D401A;
	text-decoration: none;
	transition: 0.7s;
}

abbr[title] {
    border-bottom: 1px dotted;
    text-decoration: none;
}


.foot-text {
	line-height: 26px;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	line-height: 0px !important;
}
div#pdp {
	display: flex;
	flex: 0 0 100%;
	flex-wrap: wrap;
	overflow: hidden;
	color: #fff;
	align-items: center;
}

div#pdp #pdp-1 {
	flex-grow: 1;
}


.foot-items .foot-text a:hover {
	background-color: #fff;
	color: #22AB45;
	text-decoration: none;
	transition: 0.7s;
}

/*********************** PAGES ***********************/

/******** Page d'accueil  ********/

.elementor-40 .elementor-element.elementor-element-efef5b6 .a13ree-written-headline .written-lines, .elementor-40 .elementor-element.elementor-element-efef5b6 .typed-cursor {
	font-size: 1.2em;
}

.bricks-frame .formatter, .post_theme_options .formatter {
    padding: 20px !important;
}


/******** Pages Ateliers ********/

.elementor-62 .elementor-element.elementor-element-28743ec .elementor-heading-title {
	font-family: 'Faradisa', sans-serif !important;
	font-size: 36px;
}

/******** Page Qui est Marianne ?  ********/

blockquote.quiestm {
	background-color: #badcc2;
	border-radius: 5px;
	padding: 25px 20px;
	margin: 10px 0 40px;
	text-align: justify;
	color: #041509;
}

blockquote.quiestm p:last-child {
	text-align: right;
}

blockquote.quiestm::before,
blockquote.quiestm::after {
	font-family: georgia, sans-serif;
	color:#22AB45;
	font-size: 150px;
}

blockquote.quiestm::before {
	top: -29px;
	left: -6px;
}

blockquote.quiestm::after {
	display: block;
	position: absolute;
	content: "\0201E" !important;
	right: -8px !important;
	bottom: -64px;
}

div.elementor-tabs a {
	color: #b97739;
}

ul li {
	list-style-position : inside;
}

h2#mm-ligne, p#mm-ligne {
	display: inline;
	padding-right: 10px;
}


/******** Page Publications ********/

p#roman-clo {
	font-size: 16px;
}

p#resume-clo {
	font-size: 14.5px;
	margin-bottom: 0px;
}

/******** Page On en parle ********/


/******** Page Contact ********/

h2#titre-ml {
	text-align: center;
	color: #041509;
	position:relative;
}

p#tel {
	text-align: center;
	font-weight: bold;
}

/*********************** BLOG ***********************/

/******** Pages Catégorie ********/

.post-meta + h2.post-title a {
	font-family: 'Faradisa', sans-serif;
	font-size: 1.2em;
}

div.entry-summary p:last-child  {
	text-align: right;
}

/* Articles > Textes de participants */

.single-post .title-bar.outside .overlay-color {
	padding-top: 120px !important;
	padding-bottom: 80px !important;
}

.single-post .title-bar.outside {
	background-position: 25% 45% !important;
}

/******** Articles > Témoignages ********/

/* Hauteur des temoignages */
.elementor-element-4299f87 .formatter {
	height:500px;
}

/* Sidebar */

#secondary {
	background: #badcc2;
}

#secondary .widget h3.title {
	font-family:'Faradisa', sans-serif;
	font-size: 2em;
}

#secondary .widget a {
	color: #22AB45;
	font-size: 1.2em;
}


/**** Divers ****/
.archive-item .post-title:first-child {
	font-family: 'Faradisa', sans-serif;
	color: #22AB45;
}

.object-item > a, .object-item .caption > a:hover {
	color: #badcc2 !important;
}

/********************************/
/* ******** Responsive ******** */
/********************************/

/******** Responsive 1024  *********/
@media all and (max-width: 1024px) {
	
	.wp-caption img {
		/* object-fit: cover; */ /*magic*/
		/* width:100%; */
		text-align: center;
		margin-left:auto;
		margin-right: auto;
		margin:0px;
		padding:0px;
	}

	.elementor-element.elementor-element-14cac44 {
		width: 100% !important;
	}

	.before-written {
		display:block;
	}

	h2#titre-ml {
		text-align: center;
		color: #041509;
		position:relative;
		font-size: 1.8em;
	}

	.elementor-element-9fb4bc6 {
		margin-bottom: 0px !important;
	}

	p#tel {
		text-align: center;
		font-weight: bold;
	}

}
/******** Responsive 770  *********/
@media all and (max-width: 770px) {
	
	.elementor-22 .elementor-element.elementor-element-8d39e10:not(.elementor-motion-effects-element-type-background) > .elementor-widget-wrap {
		background-size: contain !important;
		position:relative;
	}
	
	.elementor-element.elementor-element-8d39e10 img {
		width: 40%;
		padding-top: 0 !important;
	}

	.elementor-element.elementor-element-8d39e10 .elementor-widget-container {
		padding-top: 0em;
	}

	h2#titre-ml {
		font-size: 3em;
		margin-top: 2em;
	}

	p#tel {
		text-align: center;
		font-weight: bold;
		font-size: 3em;
		padding:0px;
		margin:0.5em 0 0 0;
	}

	/* Bouton vert */
	.elementor-element-7bc11d6 .elementor-widget-container {
		text-align: center;
	}

	img.alignleft, img.alignright  {
		float:none;
		/* object-fit: cover; */ /*magic*/
		/* width:100%; */
		margin:0px;
		padding:0px;
		text-align: center;
		margin-left:auto;
		margin-right: auto;
		display:block;
		margin-bottom:1em;
	}

	/* Modification A. */
	.layout-packery .formatter {
		min-height:610px !important;
	}
}

/******** Responsive 150 => 500  *********/
@media all and (min-width: 150px) and (max-width: 500px) {
	h2#titre-ml {
		font-size: 2em;
		margin-top: 1em;
	}

	p#tel {
		text-align: center;
		font-weight: bold;
		font-size: 2em;
		padding:0px;
		margin:0.5em 0 0 0;
	}
}

