/*
 Theme Name:   Twenty Twenty Child
 Theme URI:    https://association-camille-guerin.com/twenty-fifteen-child/
 Description:  Twenty twentytwenty Child Theme add post-formats native wp support and custom CSS for assocamilleguerin
 Author:       Hubert Souchaud
 Author URI:   http://hubertsouchaud.fr
 Template:     twentytwenty
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         post-formats
 Text Domain:  twentytwentychild
*/

/* TODO
	add colors: css var + classes;
	add post formats classes
	add jetpack portfolio small devices modifiers
*/

/* <!--start 2020 parent css customizer intial copy: */

body {
	font-family: "Alegreya";
}

.screen {
  display: block;
  position: relative;
  width: auto;
  margin: 10vh auto;
}

.screen figcaption {
	position: absolute;
}

.qe-faqs-filters-container {
	display:none;
}

.ratio-16-9 {
    padding-top: 56.25%;
    max-height: 80vh;
}

.footer-nav-widgets-wrapper h2.widget-title {
	display: none;
}
.home .simcal-default-calendar-list ul.simcal-events {
	margin: 0;
}
.home .jetpack-portfolio-shortcode h2.portfolio-entry-title {
	font-size: 1.25em;
}
.ratio-16-9 iframe {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	bottom: 0px;
	right: 0px;
	left: 0px;
	border: none;
}
.wp-block-cgb-block-algori-pdf-viewer {
	max-width: 100% !important;
}
.wp-block-cgb-block-algori-pdf-viewer-iframe {
	width: 100% !important;
	height: 50vh !important;
}
.attachment-post-thumbnail {
	max-height: 80vh;
	width: auto;
}
.archive .attachment-post-thumbnail,
.blog .attachment-post-thumbnail {
	max-height: 50vh;
}
.more-page-list {
	list-style: none;
	margin: 0;
	padding-left: 0;
	display: flex;
	flex-wrap: wrap;
	max-width: 100% !important;
	justify-content: center;
}
.wsp-jetpack-portfolios-title{
	display: none;
}
.post-1043 .size-large img {
	max-height: 80vh !important;
	width: auto;
	max-width: 80% !important;
}
.category--revue-de-presse .wp-block-quote::before {
	content: "📰";
	display: block;
	position: absolute;
	left: calc((100% - 58rem - 25rem)/2);
	top: 1;
	margin-top: -.333em;
	font-size: 3em;
}

.category--revue-de-presse .wp-block-quote > p:first-child::first-letter {
	color: #b41717;
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 5.1em;
	font-weight: 800;
	margin: 0.05em 0.1em 0 0;
	float: left;
	line-height: .68;
	text-transform: uppercase;
	font-style: normal;
}

.category--revue-de-presse .wp-block-quote cite {
	border: 4px solid #b41717;
	padding: .5em;
	border-radius: 4px;
}
.category--revue-de-presse .wp-block-quote cite::after {
    content: "✚ lire l'article original dans son intégralité";
    padding-top: .5em;
    display: inline-block;
}
.category--revue-de-presse .wp-block-quote cite a {
	display: block;
	font-size: 1.5em;
}
.category--revue-de-presse .wp-block-quote cite a::before {
	display: inline;
	font-size: 1em;
	content: "▸ ";
}
.category--revue-de-presse .wp-block-quote cite a::after {
	display: block;
	font-size: .75em;
	content: "© " attr(href) " ";
	color: graytext;
	text-decoration: none;
}
.link-image,
.attachment-post-thumbnail,
.wp-block-image img {
	background: white;
	border-radius: 8px;
}
.home .attachment-post-thumbnail {
	background: transparent;
}
.yrc-content{
	color: #e2cec7;
	background-color: black;
	font-size: 1.25em;
}
.yrc-content .yrc-menu {
	text-align: center;
}
.yrc-content .yrc-menu li {
	color: #e2cec7 !important;
	font-weight: bold;
	font-size: 1.5em;
}
.yrc-content .yrc-item-meta.pb-inline {
	padding: .5em !important;
}
.yrc-content .pb-inline.yrc-menu-item.yrc-active {
	text-decoration: underline;
}
.yrc-content .pb-inline.yrc-menu-item:hover {
	text-decoration: underline;
}
#site-content #infinite-handle span button, #site-content #infinite-handle span button:hover, #site-content #infinite-handle span button:focus {
	font-size: 1.25em;
}
.home .simcal-default-calendar-light .simcal-nav-button {
	color: white;
	font-size: 1.5em;
}
.home .asso-evt-description {
	font-size: 1.25em;
}
.home .wp-block-jetpack-mailchimp .wp-block-button__link {
	padding: .25em .5em;
}
.mc4wp-form * {
	font-size: 1.0em;
}
.entry-content .qe-faq-toggle {
    margin-bottom: 8px;
}
.qe-faq-toggle:nth-child(odd) .qe-toggle-title {
	background-color: #746169;
	color: #ffffff;
}
.qe-faq-toggle:nth-child(odd) .qe-toggle-title:hover {
	color: black;
	background-color: #ffffff;
}
.qe-faq-toggle:nth-child(odd) .qe-toggle-title:hover h4 {
	color: #000000;
	background-color: #ffffff;
}
/* end 2020 parent css customizer intial copy --> */

