/*
Theme Name: Pauline Champetier
Theme URI: 
Author: Mathilde Rivoire
Author URI: 
Description: Thème crée à partir de TT5
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pauline-champetier
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}
/* ------------ MATHILDE THEME------------ */
body{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    }
.wp-block-button.is-style-fleche:after {
content: "\ea07";
vertical-align: middle;
padding-left: 10px;
}
.wp-block-button.is-style-fleche:hover, .wp-block-button.is-style-fleche a:hover {
color:var(--wp--preset--color--accent-4);
}

blockquote.wp-block-quote.is-layout-flow.wp-block-quote-is-layout-flow p{
    font-size: var(--wp--preset--font-size--x-large) !important;
}

/* ------------ HEADER ------------ */
.wp-block-search.wp-block-search__button-only .wp-block-search__button {
    margin-left: -30px;
}
li.wp-block-navigation-item.current-menu-item.wp-block-navigation-link {
    font-weight: 700;
}
:where(.wp-site-blocks *:focus) {
    outline-width: 0px!important;
}
/* multilingue weglot */
.country-selector.weglot-dropdown, .country-selector.weglot-dropdown ul {
    background-color: transparent!important;
}
.country-selector.weglot-dropdown .wgcurrent {
    border: none;
}
.country-selector.weglot-dropdown .wgcurrent:after {
    top: 16px;
}
.country-selector.weglot-dropdown .wgcurrent a, .country-selector.weglot-dropdown .wgcurrent span {
    padding-right: 30px;
}
.country-selector.weglot-dropdown a, .country-selector.weglot-dropdown span {
    font-size: 14px;
}
/* menu mobile */
#modal-2.has-base-background-color {
    background-color: var(--wp--preset--color--accent-5) !important;
}

.wp-block-search__inside-wrapper {
    margin-right: -35px;
}
/* ------------ FOOTER ------------ */
footer.wp-block-template-part a {
    text-decoration: none;
}
/* icônes */
@font-face {
    font-family: 'pauline';
    src: url('fonts/pauline.eot');
    src: url('fonts/pauline.eot') format('embedded-opentype'),
         url('fonts/pauline.woff2') format('woff2'),
         url('fonts/pauline.woff') format('woff'),
         url('fonts/pauline.ttf') format('truetype'),
         url('fonts/pauline.svg') format('svg');
  }
  .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-icon.cmplz-open::after , a.shared-counts-button.email.no-scroll.shared-counts-no-count:before, .wp-block-button.is-style-fleche:after, span.stk--svg-wrapper:before, button.fancybox-button.fancybox-button--close:before, .fancybox-navigation .fancybox-button--arrow_left:before, .fancybox-navigation .fancybox-button--arrow_right:before {
    font: normal normal normal 1em/1 'pauline';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
       font-size: 30px;
    }

/* catégories */
.wp-block-post-terms:is(.is-style-tw-outline,.is-style-tw-outline-pill,.is-style-tw-outline-rounded) a {
    padding: 0.2rem 0.5rem;
}

/*visual portfolio */
.vp-portfolio__preloader::after, .vp-portfolio__preloader {
    display: none!important;
}
/* ------- ACCUEIL PROJETS ---------- */
.vp-pagination__style-minimal .vp-pagination__item>*, .vp-portfolio__items-style-fade .vp-portfolio__item-meta-title{
text-transform:uppercase;
font-weight: 400!important; 
font-size:0.7em;
letter-spacing: 0.5px;
color:var(--wp--preset--color--contrast)!important;
opacity: 1!important;
font-family: var(--wp--preset--font-family--albert-sans);
}
.h2-accueil .vp-portfolio__items-style-fly .vp-portfolio__item-meta-title{
    font-family:var(--wp--preset--font-family--baskervville)!important;
    text-transform: none!important;
    font-size:1.9em!important;
    letter-spacing: 0px!important;
} 
.vp-portfolio__item-meta-excerpt {
    text-transform: uppercase!important;
    font-size:0.9em!important;
}
/* ------- ACTUALITES ---------- */
.col-actualites:hover{
opacity:.8;
text-decoration:none!important;
}
.col-actualites img.attachment-large.size-large.wp-post-image:hover{
    zoom:1.09!important;
}
.wp-block-post-featured-image :where(img):hover {
    zoom:1.09!important;
}
.wp-block-post-title a:hover{
text-decoration:none!important;
}
p.wp-block-post-excerpt__excerpt {
    font-size: 1rem!important;
}
.vp-portfolio__item-meta {
    color:var(--wp--preset--color--contrast)!important;
}
.vp-portfolio__items-style-default h2.vp-portfolio__item-meta-title{
    font-family: var(--wp--preset--font-family--baskervville)!important;
    text-transform:none!important;
    font-size:1.1em!important;
}
.vp-portfolio__item-meta-title{
    margin-bottom:20px!important;
}
.vp-portfolio__item-meta-excerpt {
    font-size: 0.8em;
}
.vp-portfolio__items-style-default .vp-portfolio__item-caption a:focus, .vp-portfolio__items-style-default .vp-portfolio__item-caption a:hover {
    color: var(--wp--preset--color--accent-4);
}
/*  overlay  */
.vp-portfolio__items-style-fly figcaption.vp-portfolio__item-overlay {
    background:rgb(255 255 255 / 80%) !important;
}
.vp-portfolio__items-style-fade .vp-portfolio__item-overlay {
    background:rgb(255 255 255 / 80%) !important;
}
/*  lightbox  */
:root :where(.wp-block-button.is-style-fleche--4 .wp-block-button__link):after, span.stk--svg-wrapper:before, button.fancybox-button.fancybox-button--close:before, .fancybox-navigation .fancybox-button--arrow_left:before, .fancybox-navigation .fancybox-button--arrow_right:before {
    font: normal normal normal 1em/1 'pauline';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
       font-size: 30px;
    }
.fancybox-button, .fancybox-button:link, .fancybox-button:visited {
    color:var(--wp--preset--color--contrast);
}
.fancybox-button {
    background: transparent;
    font-family: 'mat';
}
.fancybox-is-open .fancybox-bg {
    opacity: 1;
}
/* icônes page et bouton */
.fancybox-toolbar {
    right: 10px;
}
button.fancybox-button.fancybox-button--close:before {
   content: "\ea10";
}
.fancybox-navigation .fancybox-button--arrow_left:before {
   content: "\ea06";
}
.fancybox-navigation .fancybox-button--arrow_right:before {
   content: "\ea07";
}
span.stk--svg-wrapper:before {
    font-size: 23px;
    vertical-align: middle;
}
.fancybox-navigation .fancybox-button{
   padding: 20px;
}
.fancybox-button svg, svg.svg-inline--fa.fa-arrow-right.fa-w-14 {
    display: none;
}
.fancybox-button:hover, .fancybox-button:focus  {
   color:var(--wp--preset--color--contrast)!important;
    background-color: transparent!important;
    /* border-color: var(--color-blanc)!important; */
}
/* ------- ARTICLE ---------- */
div#seokey-breadcrumbs {
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    font-size: 0.55em;
    letter-spacing: 0.2px;
    margin: 20px 30px;
}
div#seokey-breadcrumbs a{
    text-decoration: none;
}
/* shared-counts- */
.shared-counts-wrap.after_content.style-icon {
    margin-top: 200px;
    display: flex;
}
.shared-counts-wrap.after_content.style-icon:before {
    content: "Vous aimez ? Alors partagez !";
    position: absolute;
    margin-top: -42px;
}
.shared-counts-wrap.after_content.style-icon:before {
    text-transform: uppercase;
    font-size: 0.7em;
    letter-spacing: .09em;
    padding-bottom: 1em;
}

.shared-counts-wrap.style-icon .shared-counts-button .shared-counts-icon {
    text-align: left;
    width: 60px;
}
.shared-counts-wrap.style-icon .shared-counts-button .shared-counts-icon svg {
    fill: var(--wp--preset--color--contrast);
    width: 20px;
    height: 20px;
}
a.shared-counts-button.email.no-scroll.shared-counts-no-count:before {
    content: "\ea0c";
    font-size: 20px;
}
a.shared-counts-button.email.no-scroll.shared-counts-no-count span.shared-counts-icon{
    display:none;
}
a.shared-counts-button.email.no-scroll.shared-counts-no-count {
    text-decoration: none;
}
/* ------- RECHERCHE ---------- */
:root :where(.wp-block-search .wp-block-search__input) {
    border: 1px solid var(--wp--preset--color--contrast);
    background: transparent;
}
/* ------- COMPLIANZ ---------- */

.page-id-9709 div#cmplz-cookiebanner-container {
    display:none!important;
}
.cmplz-cookiebanner{
    /* font-family: var(--wp--preset--font-family--baskervville); */
    padding: 0px 50px 20px 30px!important;
    right: -25px !important; 
    bottom: 50px !important; 
      background: rgba(255, 255, 255, 1)!important;
      grid-row-gap: 0px!important;
  }
.cmplz-cookiebanner.cmplz-show {
    box-shadow: rgb(0 0 0 / 0%) 0px 10px 20px, rgb(0 0 0 / 5%) 0px 6px 50px!important;
}

.cmplz-cookiebanner .cmplz-message {
        /* font-size: 0.1em !important; */
      line-height: 1.3em!important;
      margin-bottom: -5px!important;
      /* font-weight: 300; */
      /* text-transform: uppercase; */
  }
  .cmplz-cookiebanner .cmplz-message p {
    font-size: 1.2em !important;
    padding-top: 15px;
}
  .cmplz-cookiebanner .cmplz-links .cmplz-link {
      text-decoration: none!important;
    }
  a.cmplz-link.privacy-statement {
      display: none;
    }
  .cmplz-cookiebanner .cmplz-links.cmplz-documents {
      justify-content: flex-start!important;
      padding: 5px 0px 7px 0px !important;
    }
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
font-family: var(--wp--preset--font-family--albert-sans)!important;
      font-size: 12px!important;
      letter-spacing: 0.8px!important;
      text-transform: uppercase;
      text-align: left!important;
      padding: 0px!important;
      background-color: transparent!important;
      border: 1px solid transparent!important;
    }
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn:hover{
    text-decoration: underline 1px!important;
    text-underline-offset: .25em!important;
  }
  .cmplz-cookiebanner .cmplz-categories .cmplz-category{
      background-color:rgba(255, 255, 255, 0)!important;  
    }
    .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header {
      padding: 10px 10px 10px 0px !important;
    }
  .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-icon.cmplz-open {
      opacity: 0.3;
    }
    
  #cmplz-manage-consent .cmplz-manage-consent {
    border-right:1px solid var(--color-texte)!important;
    }
  .cmplz-cookiebanner .cmplz-categories .cmplz-category  summary:after{
    display:none;
  } 
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-icon.cmplz-open::after {
      content: "\ea08";
      vertical-align: middle;
      margin: 0 0 -1px 10px;
      font-size: 20px;
      color:var(--wp--preset--color--contrast)!important;
  }
    span.cmplz-icon.cmplz-open svg {
      display:none;
  }
  button.cmplz-blocked-content-notice.cmplz-accept-category.cmplz-accept-marketing {
    width: 200px;
    height: 200px;
    border-radius: 100%;
    background: #333333 !important;
    line-height: 1.5em;
    letter-spacing: 0;
    font-family: var(--wp--preset--font-family--albert-sans);
    cursor:pointer;
  }


  @media (max-width: 768px) {
    .cmplz-cookiebanner {
      left: 32px!important;
    }
  }

