/*
Theme Name: Twenty Twenty Child
Theme URL: http://anybug.fr/
Description: Twenty Twenty Child pour les Agribains
Author: Anybug
Author URL: http://anybug.fr/
Template: twentytwenty
Version: 1.0.0
Text Domain: twentytwenty-child
*/ 
/* Custom CSS goes after this line */

html {
	--primary-color: #e79D2E;
}

body {
	font-family: "Ubuntu", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	color:#e79D2E;
	font-family: "Margarine", sans-serif;
	font-weight: normal;
}

h2.entry-title {
	color:#e79D2E;
	font-size:3.6rem;
	font-family: "Margarine", sans-serif !important;
}

h1.entry-title, 
.entry-content h1, 
h1.entry-title.agribains-title
{
	color:#e79D2E;	
	font-size:4.8rem;
	font-family: "Margarine", sans-serif !important;
	margin-top: 0.75em;
}

.entry-categories a,
.entry-title a,
a.wp-block-latest-posts__post-title,
.wp-block-post-title a,
.color-accent, 
.color-accent-hover:hover, 
.color-accent-hover:focus, :root .has-accent-color, .has-drop-cap:not(:focus):first-letter, .wp-block-button.is-style-outline
{
	color:#e79D2E !important ;
}

.hvr-icon , .eb-social-share-icon {
	color:#ffffff !important;
}

.wp-block-post-title a {
	font-size: 3.2rem;
}

a.wp-block-latest-posts__post-title,
.wp-block-latest-posts__post-excerpt {
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
	color:#555;
}

.admin-bar .search-modal.active {
	top: 0px;
}

body:not(.overlay-header) .primary-menu ul {
	background-color: #fff !important;
}

ul.primary-menu, 
.primary-menu ul {
	color: #555;
}

.primary-menu ul::before, 
.primary-menu ul::after {
	display: none;
}

.search-toggle .toggle-icon, 
.search-toggle svg 
{
	color: #555;
}

.singular .entry-header {
	padding: 0;
}

.footer-nav-widgets-wrapper {
	display:none
}
body:not(.overlay-header) .primary-menu > li > a, 
body:not(.overlay-header) .primary-menu > li > .icon, 
.modal-menu a, 
.footer-menu a, 
.footer-widgets a, 
#site-footer .wp-block-button.is-style-outline, 
.wp-block-pullquote:before, 
.singular:not(.overlay-header) .entry-header a, 
.archive-header a, 
.header-footer-group .color-accent, 
.header-footer-group .color-accent-hover:hover {
	color: #555 !important;
}

body:not(.overlay-header) .primary-menu > li.menu-item-1033 
{
	background-color: #4f933c;
	border-radius: 4px;
	padding-left: 6px;
	padding-right: 6px;
}

#menu-item-1132
{
	background-color: #e79D2E;
	border-radius: 4px;
	padding-left: 6px;
	padding-right: 6px;
}
#menu-item-1132 > a{
	color: white !important;
}

body:not(.overlay-header) .primary-menu > li.menu-item-1033 > a 
{
	color: #fff !important;
}

.primary-menu ul {
	top: calc(100% + 0.8rem);
	text-align: left;
	width: 22rem;
}


.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6, .entry-content cite, .entry-content figcaption, .entry-content table, .entry-content address, .entry-content .wp-caption-text, .entry-content .wp-block-file {
	font-family: "Margarine", sans-serif;
	font-size:3rem;
	color:#e79D2E;
}

.entry-content {
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
	letter-spacing: normal;
	font-weight: normal;
	color:#555;
}

.entry-content>:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
	max-width: 100rem;
	width: calc(100% - 4rem);
}
.featured-media img {
	margin: 0 auto;
}

svg, img, embed, object {
	display: block;
	height: auto;
	max-width: 100rem;
}
.alignement{
	align-items: center !important;
	width:200px;
}

#site-header {
	background:#ffff;
	z-index:999;
	margin:0 auto;
	border-bottom:1px solid #dadada;
	width:100%;
	/* height: 60px; */
	text-align: center;
	position: sticky;
	top:0;
	left:0;
	right:0;
	margin-bottom: 0.78em;
	box-shadow: 0 1px 10px -6px rgb(0 0 0 / 42%), 0 1px 10px 0 rgb(0 0 0 / 12%), 0 4px 5px -2px rgb(0 0 0 / 10%)
}

/* @media (max-width: 1475px) {
	#site-header {
		height: 400px;
	}
} */

body:not(.overlay-header) .primary-menu ul {
	background-color: #fff;
	border-style: groove;
	border: none;
	box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
}

.title, .arrow, a.url, .entry-categories-inner, .entry-content figcaption{
	color:#e79D2E !important;
	font-family: "Margarine", sans-serif !important;
}

.do-not-scroll.comment-reply-link, #submit, .search-submit, .wpcf7-submit{
	background-color:#e79D2E !important;
	color: #fff !important;
	font-family: "Margarine", sans-serif !important;
}

blockquote{
	border-color: #e79D2E !important;
}

em,
.wp-block-verse em,
.wp-block-quote cite,
.wp-block-quote p{
	font-family:serif !important;
	font-weight:100;
}

.section-inner, #email-notes, .required-field-message{
	color:#555 !important;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
}

/* copier le lien ("https...") de l'image dans la mediatheque et modifier (.wp-image-"id_image") */
.wp-image-3592:hover {
	background: url("https://www.lesagribains.org/wp-content/uploads/2023/06/Partager-les-ressources-2.webp")no-repeat ;
	background-position: 0px 0px;
	background-size: 100% 100%;
	display: inline;
}

input[type="submit"]{
	background-color: #e79D2E !important;
}

.wp-image-3597:hover {
	background: url("https://www.lesagribains.org/wp-content/uploads/2023/06/Prendre-soin-de-la-terre-2.webp")no-repeat ;
	background-position: 0px 0px;
	background-size: 100% 100%;
	display: inline;
}


.wp-image-3595:hover {
	background: url("https://www.lesagribains.org/wp-content/uploads/2023/06/Prendre-soin-de-lhumain-2.webp")no-repeat ;
	background-position: 0px 0px;
	background-size: 100% 100%;
	display: inline;
}