/*

Theme Name: X – Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

@import url( '../x/framework/dist/css/site/stacks/renew.css' );

@font-face {
    	font-family: 'Source Serif 4';
    	src: url('fonts/SourceSerif4/SourceSerif4-Regular.ttf') format('truetype');
    	font-display: swap;
}

body {
	font-family: "Source Serif 4", "Helvetica Neue", Helvetica, Arial, sans-serif!important;
}
header .x-brand.text {
	font-family: "Source Serif 4", "Helvetica Neue", Helvetica, sans-serif!important;
}
.x-navbar-wrap .x-navbar .x-nav > li > a {
	font-family: "Source Serif 4", "Helvetica Neue", Helvetica, sans-serif!important;
}
.entry-title {
	font-family: "Source Serif 4", "Helvetica Neue", Helvetica, Arial, sans-serif!important;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: "Source Serif 4", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.wp-caption > .wp-caption-text, .wp-caption > .wp-caption-text:last-child, .gallery-item > .wp-caption-text, .gallery-item > .wp-caption-text:last-child {
	font-size: 1.5rem;
	text-transform: none;
}
.h-landmark span, .entry-title.h-landmark span {
	text-align: justify;
}
.blog .h-landmark, .single-post .h-landmark, .blog .entry-title.h-landmark, .single-post .entry-title.h-landmark {
	font-size: 115%;
	width: 110%;
	line-height: 1.3;
	letter-spacing: normal;
}
.format-standard .entry-title:before {
	display: none;
}
.x-header-landmark {
	padding: 20px 0;
}
.mc4wp-form input[type=date], .mc4wp-form input[type=email], .mc4wp-form input[type=tel], .mc4wp-form input[type=text], .mc4wp-form input[type=url], .mc4wp-form select, .mc4wp-form textarea {
	height: 40px;
}
.x-navbar .desktop .x-nav>li>a>span {
	font-size: 16px;
}
.x-brand img {
	margin-top: -13px;
}
p.featured-image {
	text-align: center;
}
.x-menu-item-search {
	display: none;
}

/*
---------------------------

Ajouts Lagouache 19/06/2018	

--------------------------- 
*/

/* general */

.site{
    background-color:#f2f2f2;
}
:focus{
	outline: 1px dotted #aaa;
}


/* header */

.blog .h-landmark, .single-post .h-landmark, .blog .entry-title.h-landmark, .single-post .entry-title.h-landmark {
	font-size: 170%;
	padding-top: 30px;
}


/* content */

.entry-featured, .wp-caption, .gallery-item{
    border:none;
    padding:0;
}
.wp-caption > .wp-caption-text, .wp-caption > .wp-caption-text:last-child, .gallery-item > .wp-caption-text, .gallery-item > .wp-caption-text:last-child {
	color: #777;
	font-style: italic;
}
article.post { 
	background-color: #fff;
	padding: 30px;
}
body.home article.post, body.archive article.post { 
	background-color: transparent;
}
.post_navigation {
	padding: 30px 0;
	font-size: 24px;
	line-height: 100%;
}
.post_navigation p.previous {
	float:left;
	width: 49%;
	text-align: left;
}
.post_navigation p.next {
	float:right;
	width: 49%;
	text-align: right;
}


/* sidebar	*/

.textwidget {
	text-align: justify;
	font-style: italic;
	line-height: 120%;
	color: #e00;
}
.widget ul li,.widget ol li{
    border-bottom:1px solid #e5e5e5;
    background-color:#f2f2f2;
}


/* footer */

footer a, footer ul { color: #fff; }
footer a:hover { color: #fff; text-decoration: underline; }
.x-colophon.bottom .x-nav li:before{
    content:"|";
    margin:0 0.55em 0 0.45em;
    opacity:0.75
}

/*
---------------------------

Ajouts Gaspard 13/12/2019	

--------------------------- 
*/

.entry-header .p-meta span:first-child { display: none!important; }
.entry-header .p-meta span:nth-child(3) { display: none!important; }
.entry-header .p-meta span:nth-child(4) { display: none!important; }
.entry-header .p-meta span:after { display: none!important; }

/*
---------------------------

Hide reCAPTCHA badge 25/07/2023

---------------------------
*/
.grecaptcha-badge { visibility: hidden; }
/*
---------------------------

Hide title icon 04/12/2023

---------------------------
*/
.x-framework-icon:first-child { display: none; }
/*
---------------------------

Set WP Simple Pay button style 27/05/2025

---------------------------
*/
.wp-block-button.is-style-fill.support-diary a { 
    background-color: #e80c0c;
    color: white;
    border: 1px solid #ac1100;
    text-shadow: 0 0.075em 0.075em rgba(0,0,0,0.5);
    padding: .563em 1.125em .813em;
}
.wp-block-button.is-style-fill.support-diary a::before {
    font-family: "FontAwesomePro"; /* or your FA version */
    content: "\f004"; /* Unicode for heart icon */
    font-weight: 900; /* Needed for solid heart icon */
    margin-right: 8px; /* spacing between icon and text */
    display: inline-block;
    vertical-align: middle;
}

.simpay-form-wrap .simpay-styled .simpay-form-control .simpay-btn:not(.stripe-button-el) {
    background-color: #0070f3;
}

.simpay-styled.simpay-checkout-form--overlay .simpay-form-control .simpay-btn:not(.stripe-button-el) {
    background-color: #0070f3;
}

/*
---------------------------

Set newsletter button style 27/05/2025

---------------------------
*/
.wpcf7-form-control[type=submit] {
    background-color: #e80c0c;
    font-size: 14px;
}
