/*
Theme Name:  GeneratePress Enfant
Description:  Thème enfant de GeneratePress
Author:  Lysiane Binet
Author URI:  https://lysianebinet.fr
Template:  generatepress
Version:  1.0         
*/

/** TYPOGRAPHIE **/

/* shadows-into-light-two-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Shadows Into Light Two';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/generatepress-enfant/font/shadows-into-light-two-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* neucha-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Neucha';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/generatepress-enfant/font/neucha-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inconsolata-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inconsolata';
  font-style: normal;
  font-weight: 200;
  src: url('/wp-content/themes/generatepress-enfant/font/inconsolata-v36-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inconsolata-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inconsolata';
  font-style: normal;
  font-weight: 300;
  src: url('/wp-content/themes/generatepress-enfant/font/inconsolata-v36-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inconsolata-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inconsolata';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/generatepress-enfant/font/inconsolata-v36-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/** GENERAL **/

body {
	background-color: #ffffff;
	word-break: break-word;
}

p, li {
	font-size: 0.9em;
}

#page {
	background-color: #EFEFEF;
}

body:not(.home) #primary {
	max-width: 880px;
	margin: 0 auto;
}

.entry-content {
	padding-left: 2em;
	padding-right: 2em;
}

.entry-content figure.aligncenter img {
	margin-bottom: 1.3em;
}

/** COMPO TEXTE & MEDIA **/

.wp-block-media-text {
	background-color: #ffffff;
	margin-bottom: 2em;
	padding-bottom: 1em;
}
.wp-block-media-text figure {
	text-align: center;
}

@media (min-width: 980px) {
	.wp-block-media-text img {
		max-height: 400px;
		width: auto;
	}
}

.wp-image-137 {
	padding-top: 1em;
	padding-bottom: 1em;
}

.bloc-page-dessins {
	margin-top: 3em;
}
.bloc-page-dessins img {
	max-width: 400px;
}

/** BLOCS AVEC FOND BLANC **/

.bloc-fond-blanc {
	background-color: #ffffff;
}

/** TITRES **/

article h1, article h2 {
	/* font-family: 'Inconsolata'; */
	text-align: center;
	font-weight: 100;
}
article h1 {
	font-size: 2em;
}
article h2 {
	font-size: 2em;
	padding-top: 1em;
	padding-bottom: 1em;
}

@media (min-width: 680px) {
	article h1 {
		padding-top: 0.5em;
		padding-bottom: 0.5em;
	}
}

@media (max-width: 580px) {
	article h1.entry-title {
		padding-left: 10px;
		padding-right: 10px;
	}
}

/** BOUTONS **/

.wp-block-button__link {
	border-radius: 0;
}

/** HEADER **/

#masthead {
	background-image: url("https://lysianebinet.fr/wp-content/themes/generatepress-enfant/img/bandeau-01-cerf-H600px.jpg");
	background-repeat: no-repeat;
	background-size: contain;
}

.main-title a {
	font-family: 'Shadows Into Light Two';
	color: #00788A;
	font-size: 1.7em;
	font-weight: 100;
	letter-spacing: 0.05em;
}
.site-description {
	font-family: 'Inconsolata';
	font-size: 1.13em;
	font-weight: 200;
	padding-top: 10px;
	text-transform: uppercase;
	letter-spacing: 0.10em;
}

@media (min-width: 980px) {
	.home #masthead {
		height: 600px;
		max-width: 1000px;
		margin: 0 auto;
	}
	body:not(.home) #masthead {
		height: 200px;
		max-width: 800px;
		margin: 0 auto;
	}
	.site-branding {
		text-align: left;
		margin-right: 3em;
		margin-top: 2.5em;
	}
}

@media (min-width: 580px) and (max-width: 979px) {
	.main-title {
		font-size: 1em;
	}
	.site-description {
		font-size: 1em;
	}
}

@media (max-width: 579px) {
	#masthead {
		height: 200px;
	}
	.main-title {
		font-size: 1em;
	}
	.site-description {
		font-size: 1em;
	}
}

body:not(.home) .site-branding {
}

/** MENU **/

#site-navigation {
	border-top: solid 1px #EAECED;
	border-bottom: solid 1px #EFEFEF;
}

#primary-menu a {
	text-transform: uppercase;
}

/** PAGE ACCUEIL **/

.home #main {
	background-color: #ffffff;
}
.home #main .entry-header {
	background-color: #EFEFEF;
	padding-bottom: 3em;
}
.one-container .site-content {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.home .entry-content {
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 2em;
	padding-bottom: 2em;
}
.home .entry-content h2 {
	font-size: 1.5em;
	text-align: left;
}

/** PAGES LEGALES **/

.page-id-218 .entry-content h2,
.page-id-3 .entry-content h2,
.page-id-225 .entry-content h2,
.page-id-218 .entry-content h3,
.page-id-3 .entry-content h3,
.page-id-225 .entry-content h3 {
	text-align: left;
	padding-top: 0;
	padding-bottom: 0;
}

.page-id-218 .entry-content h2,
.page-id-3 .entry-content h2,
.page-id-225 .entry-content h2 {
	font-size: 1.5em;
}

.page-id-218 .entry-content h3,
.page-id-3 .entry-content h3,
.page-id-225 .entry-content h3 {
	font-size: 1.2em;
	font-weight: 100;
}

.page-id-225 h1 {
	padding-left: 1em;
	padding-right: 1em;
}

/** FOOTER **/

#footer-widgets {
	border-top: solid 1px #EFEFEF;
}

#footer-widgets h2 {
	font-family: 'Courier';
	text-transform: uppercase;
	font-size: 1.8em;
}

.icones-reseaux img {
	margin-right: 6px;
}

/** FORMULAIRE NEWSLETTER **/

@media (max-width: 580px) {
	#block-6 iframe {
		min-width: 270px;
		max-width: 270px;
	}
} /* à vérifier et améliorer */

/* Pages processus newsletter */

.page-id-51 #content,
.page-id-54 #content {
	background-color: #ffffff;
}

/** BARRE PIED DE PAGE **/

.site-info {
	background-color: #6C6C6C;
}
.site-info, .site-info a {
	color: #ffffff;
}
.site-info a {
	text-decoration: none;
}
.site-info a:hover {
	text-decoration: underline;
}

/** COOKIES **/

@media (max-width: 425px) {
	.cmplz-cookiebanner .cmplz-header .cmplz-title {
    display: block !important;
	}
	.cmplz-cookiebanner .cmplz-header {
    grid-template-columns: 100% !important;
    display: inline !important;
		text-align: center;
	}
}

.cmplz-cookiebanner .cmplz-title {
	font-size: 1.5em !important;
	font-weight: 100 !important;
}

.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept {
	background-color: #6C6C6C !important;
	border-color: #6C6C6C !important;
}

.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept:hover {
	background-color: #3F4047 !important;
	border-color: #3F4047 !important;
}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny:hover,
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences:hover,
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences:hover {
	background-color: #3F4047;
	color: #ffffff;
}

#cmplz-document {
	min-width: 100% !important;
}
#cmplz-document h2 {
	font-size: 2.2em !important;
}
#cmplz-document p,
#cmplz-document li {
	font-size: 1.2em !important;
}
#cmplz-document p.cmplz-subtitle {
	font-weight: 100 !important;
	font-size: 1.8em !important;
}
