/*
 Theme Name:   GeneratePerf
 Theme URI:    https://generatepress.com/premium/?ref=4657
 Description:  Thème enfant GeneratePress optimisé pour la web performance et le SEO. Intègre des fonctionnalités avancées qui n’impactent pas les temps de chargement et améliorent l’architecture du site.
 Author:       Agence Web Performance
 Author URI:   https://agencewebperformance.fr/
 Template:     generatepress
 Text Domain:  generateperf
 Version:      1.7.0
*/
/* ------------------------
Optimisations de la performance
------------------------ */
img[width][height] {
  content-visibility: auto;
}

.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 400px;
}

@media(min-width: 768px) {
  .site-footer {
    contain-intrinsic-size: 300px;
  }
}

.site-content ins {
  display: block;
  height: 280px;
  width: 100%;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

/* ------------------------
Utilisé par GeneratePerf
------------------------ */
html {
  -webkit-tap-highlight-color: transparent;
}

body.overlayed {
  overflow: hidden;
  height: 100%;
}

@media(min-width: 769px){
  .one-container.right-sidebar .site-main, .one-container.both-right .site-main {
    margin-right: 40px;
  }
}

svg.icon {
  vertical-align: top;
}

.entry-content p a[target="_blank"]::after,
.entry-content li a[target="_blank"]::after {
  display: inline-block;
  margin-left: .25em;
  width: .75em;
  height: .75em;
  vertical-align: -.125em;
  content: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" fill="%231B42D1"/></svg>');
}

[data-goto]:hover,
.gb-query-loop-item {
  cursor: pointer;
}

[data-goto]:not(.button):not(.gb-button):hover {
  text-decoration: underline;
}

.o50 {
  opacity: 50%;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  max-width: 100%;
  z-index: 99999;
  height: 5px;
}

p[role="doc-subtitle"] {
  margin-top: 1em;
}

.featured-image + .caption {
  text-align: right;
  opacity: .75;
  margin-top: -1.5em;
}

button, input, textarea {
  border-radius: var(--border-radius) !important;
}

/* ------------------------
Style global
------------------------ */
/* ------------------------
Entête
------------------------ */

.site-branding-container {
  cursor: pointer;
}

/*
body::before {
    content: "";
    width: 400px;
    height: 400px;
    background-color: var(--accent);
    position: absolute;
    right: -200px;
    top: -200px;
    border-radius: 50%;
    z-index: -1;
    opacity: .1;
}


@media(min-width: 768px){
	body::before {
    width: 1000px;
    height: 1000px;
	right: -400px;
    top: -400px;
}
}
*/

/* ------------------------
Contenus
------------------------ */

h1 img {
	border-radius: 50%;
}

.no-featured-image-padding .featured-image {
  margin-left: 0 !important;
}

@media(max-width: 768px) {
  .is-right-sidebar {
    margin-top: 40px;
  }
}

ol.wp-block-latest-comments {
  margin-left: 0;
}

.paging-navigation,
.text-center {
  text-align: center;
}

/* ------------------------
Pied de page
------------------------ */

.yoast-breadcrumbs,
.yoast-breadcrumbs a {
  color: #666666;
}

.yoast-breadcrumbs a:hover {
  text-decoration: underline;
}

.footer-links {
	list-style-type: none;
	margin-left: 0;
}