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


/** GENERAL **/

#masthead .inside-header,
.site-footer .footer-widgets-container,
#primary {
	max-width: 980px;
	margin: auto;
}

#primary {
	padding-bottom: 2em;
	font-size: 0.9em;
	line-height: 1.7;
}

/** TYPOGRAPHIE **/

/* open-sans-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: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/generatepress-enfant/font/open-sans-v44-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
	font-family: 'Open Sans', sans-serif;
}

/** TITRES **/

h1, h2, h3 {
	color: #61821b;
}

#primary h1,
#primary h2,
#primary h3 {
	text-align: center;
}

.page-id-36 .inside-article h2,
.page-id-36 .inside-article h3 {
	text-align: left;
}

.home h1.entry-title {
	display: none;
}

.home h1.wp-block-heading {
	padding-top: 0.8em;
}

.home h2.wp-block-heading {
	font-size: 1.6em;
}

h1.entry-title,
h1.wp-block-heading,
#primary h1 {
	font-size: 1.7em;
	margin-bottom: 2em;
	margin-top: 1em;
}

.home h1.wp-block-heading {
	margin-top: 2em;
}

.entry-content h1 {
	font-size: 1.7em;
}

.entry-content h2 {
	font-size: 1.4em;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

/** LIENS **/

#page a,
.site-footer a {
	text-decoration: none;
}
#page a:hover,
.site-footer a:hover {
	text-decoration: underline;
	color: #1e73be;
}

/** BOUTONS **/

.wp-block-buttons {
	margin-top: 2em;
}

a.wp-block-button__link:hover {
	color: #ffffff !important;
	text-decoration: none !important;
}

/** LISTES **/

@media (max-width: 580px) {
	#primary ul {
		margin-left: 0;
		padding-left: 1em;
	}
}

/** HEADER **/

.main-title a {
	font-size: 0.9em;
	font-weight: 400;
}
.main-title a:hover {
	color: gray;
}
.site-description {
	font-size: 0.8em;
	color: #363636;
}

/** MENU **/

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

#primary-menu li:hover {
}

/** BANDEAU **/

body:not(.home) #diaporama {
	display: none;
}

.featured-image {
	max-height: 400px;
	overflow: hidden;
}

@media (min-width: 1200px) {
	.featured-image img {
		position: relative;
		bottom: 100px;
	}
}

/** PAGE D'ACCUEIL **/

.home .site-content {
	padding-top: 0px;
}

/** PAGE METHODE **/

.page-id-68 h1.entry-title {
	display: none;
}

/** FOOTER **/

.site-footer .footer-widgets-container .inner-padding {
	padding-right: 40px;
}

#footer-widgets h2 {
	text-transform: uppercase;
	font-weight: 400;
	font-size: 1.2em;
	color: #ffffff;
}

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

#footer-widgets a:hover {
	color: #ffffff;
}

footer .copyright {
	font-size: 0.9em;
}

/** 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-weight: bold !important;
	font-size: 1.5em !important;
}

.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept {
	background-color: #61821b !important;
}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept:hover {
	background-color: gray !important;
	border-color: gray !important;
}

.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny,
.cmplz-cookiebanner .cmplz-buttons .cmplz-view-preferences {
	background-color: gray !important;
	color: #ffffff !important;
}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny:hover,
.cmplz-cookiebanner .cmplz-buttons .cmplz-view-preferences:hover {
	background-color: #a7a7a7 !important;
}

.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences {
	color: gray !important;
	border-color: gray !important;
}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences:hover {
	color: #ffffff !important;
	background-color: #cdcdcd !important;
}

.cmplz-cookiebanner .cmplz-links .cmplz-link:hover {
	text-decoration: none;
}

#cmplz-document {
	min-width: 100% !important;
}

#cmplz-document p,
#cmplz-document li {
	font-size: 1.2em !important;
}
#cmplz-document p.cmplz-subtitle {
}

.cmplz-service-header h3 {
	text-align: left !important;
}