/*
Theme Name: MR Bruxelles
Author: Robin CUVILLIER
Author URI: https://www.robincuvillier.be
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 0.1
*/

/*
 * 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
*/



#modal-1-content ul li:last-child a {
  width: fit-content;
  padding: 10px 20px;
  background-color: #ffffff;
  border-radius: 5px;
  transform: skew(-16deg);
  transition: all 0.3s ease-in-out;

}

#modal-1-content ul li:last-child a span {
  transform: skew(16deg);
  font-weight: bold;
  color: #002eff;
  display: block;
  transition: all 0.3s ease-in-out;

}

#modal-1-content ul li:last-child a:hover {
  background: #000064;
  text-decoration: none;
}

#modal-1-content ul li:last-child a:hover span {
  text-decoration: none;
  color: #ffffff;
}



.more-link {
  width: fit-content;
  padding: 10px 20px;
  background-color: #002eff;
  border-radius: 5px;
  transform: skew(-16deg);
  display: block;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  color: white;
}

.wp-block-button {
  width: fit-content;
  padding: 10px 20px;
  background-color: #002eff;
  border-radius: 5px;
  transform: skew(-16deg);
  margin-top: 1.2em;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  color: white;
}

.wp-element-button a {
  transform: skew(16deg);
}

.more-link:hover {
  background-color: #000064;
}

.more-link span {
  transform: skew(16deg);
  color: #ffffff;
  font-weight: bold;
  display: block;
}

.wp-block-button__link {
  transform: skew(16deg);
  font-weight: bold;
}

.wp-block-read-more {
  width: fit-content;
  padding: 5px 10px;
  background-color: #ffffff;
  color: #002eff;
  border-radius: 5px;
  transform: skew(-16deg);
  margin-top: 10px;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  font-size: 16px;
}

.read-all-articles {
  background: white;
  width: 75vw;
}

.read-all-articles:hover {
  background: #002eff;
}

.read-all-articles:hover a {
  color: white;
}

.read-all-articles a {
  padding: 0;
  background: transparent;
  color: #002eff;
}

.read-all-articles a:hover {
  padding: 0;
  background: transparent;
}

.sections-locales a {
  color: white;
}

.sections-locales:hover {
  background: #000064;
}

.wp-block-read-more:hover {
  background-color: #002eff;
  color: #ffffff;
}

.blog .wp-block-read-more {
  background-color: #002eff;
  color: #ffffff;
}

.blog .wp-block-read-more:hover {
  background-color: #000064;
}

.blog .btn-rd-mr {
  padding-left: 0px;
}



img {
  clip-path: polygon(100% 6.202%, 88.492% 88.363%, 88.492% 88.363%, 88.145% 90.367%, 87.689% 92.225%, 87.135% 93.922%, 86.492% 95.442%, 85.769% 96.771%, 84.975% 97.893%, 84.121% 98.792%, 83.215% 99.453%, 82.268% 99.861%, 81.288% 100%, 2.196% 100%, 2.196% 100%, 1.766% 99.91%, 1.368% 99.653%, 1.009% 99.246%, 0.694% 98.71%, 0.43% 98.062%, 0.224% 97.321%, 0.082% 96.505%, 0.01% 95.634%, 0.014% 94.725%, 0.102% 93.798%, 11.596% 11.637%, 11.596% 11.637%, 11.943% 9.633%, 12.398% 7.775%, 12.953% 6.078%, 13.596% 4.558%, 14.319% 3.229%, 15.113% 2.107%, 15.967% 1.208%, 16.872% 0.547%, 17.82% 0.139%, 18.799% 0%, 97.906% 0%, 97.906% 0%, 98.336% 0.09%, 98.734% 0.347%, 99.094% 0.754%, 99.409% 1.29%, 99.672% 1.938%, 99.879% 2.679%, 100.021% 3.495%, 100.093% 4.366%, 100.088% 5.275%, 100% 6.202%);
}

.blog .a-la-une img {
  clip-path: polygon(100% 100%, 2.347% 100%, 2.347% 100%, 1.889% 99.91%, 1.464% 99.651%, 1.08% 99.244%, 0.744% 98.706%, 0.462% 98.057%, 0.241% 97.316%, 0.087% 96.501%, 0.009% 95.631%, 0.012% 94.726%, 0.104% 93.803%, 12.393% 11.632%, 12.393% 11.632%, 12.764% 9.627%, 13.251% 7.768%, 13.842% 6.071%, 14.529% 4.552%, 15.3% 3.224%, 16.147% 2.104%, 17.059% 1.206%, 18.025% 0.546%, 19.037% 0.139%, 20.084% 0%, 100% 0%);
}

.a-la-une .wp-block-group>.wp-block-columns:first-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 1) 100%);
  border-radius: 20px;
}

.a-la-une figure {
  height: 100%;
  width: 100%;
}

.a-la-une .taxonomy-category a {
  text-decoration: none;
  color: #696969;
  font-weight: 300;
}

.a-la-une .taxonomy-category a:hover {
  text-decoration: none;
  color: #000064;
  font-weight: 600;
}

.all-articles .taxonomy-category,
.all-articles h3 {
  margin-top: .5em;
}

.all-articles .taxonomy-category a {
  color: white;
  text-decoration: none;
  font-weight: 300;
}

.all-articles .taxonomy-category a:hover {
  color: #002eff;
  font-weight: 600;
}

@media (max-width: 781px) {
  .a-la-une img {
    z-index: 2;
    position: relative;
  }

  .a-la-une .wp-block-group>.wp-block-columns:first-child {
    background: transparent;
  }

  .a-la-une .wp-block-column:last-child {
    background-color: white;
    padding: 30px 30px 30px 13vw;
    margin-top: -78px;
    clip-path: polygon(100% 6.202%, 88.492% 88.363%, 88.492% 88.363%, 88.145% 90.367%, 87.689% 92.225%, 87.135% 93.922%, 86.492% 95.442%, 85.769% 96.771%, 84.975% 97.893%, 84.121% 98.792%, 83.215% 99.453%, 82.268% 99.861%, 81.288% 100%, 2.196% 100%, 2.196% 100%, 1.766% 99.91%, 1.368% 99.653%, 1.009% 99.246%, 0.694% 98.71%, 0.43% 98.062%, 0.224% 97.321%, 0.082% 96.505%, 0.01% 95.634%, 0.014% 94.725%, 0.102% 93.798%, 11.596% 11.637%, 11.596% 11.637%, 11.943% 9.633%, 12.398% 7.775%, 12.953% 6.078%, 13.596% 4.558%, 14.319% 3.229%, 15.113% 2.107%, 15.967% 1.208%, 16.872% 0.547%, 17.82% 0.139%, 18.799% 0%, 97.906% 0%, 97.906% 0%, 98.336% 0.09%, 98.734% 0.347%, 99.094% 0.754%, 99.409% 1.29%, 99.672% 1.938%, 99.879% 2.679%, 100.021% 3.495%, 100.093% 4.366%, 100.088% 5.275%, 100% 6.202%);
    z-index: 0;
    display: block;
    position: relative;
  }

}

.a-la-une h2,
.a-la-une p {
  color: #002eff;
}

h2 a {
  font-style: italic;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;
}

h2 a:hover {
  text-decoration: none;
  color: #000064;
}

span.read-more-btn {
  transform: skew(16deg);
  display: block;
  font-weight: bold;
}


#vsel {
  color: white;
}

.vsel-no-events {
  text-align: center;
}

.vsel-meta {
  display: flex;
  width: 100% !important;
  justify-content: center;
  flex-wrap: wrap;
}

.vsel-content h3.vsel-meta-title {
  width: 100vw;
  text-align: center;
}

.vsel-info {
  width: 100% !important;
}

#vsel .more-link {
  margin: 0 auto;
}

#vsel .vsel-meta div {
  font-size: 0px;
  padding-bottom: 15px;
}

#vsel .vsel-meta div span {
  font-size: 13px;
  padding-bottom: 15px;
}

#vsel .vsel-meta-date::before {
  content: " \1F4C6 ";
  padding-right: 5px;
  font-size: 13px;
}

#vsel .vsel-meta-time::before {
  content: " \1F553 ";
  padding-right: 5px;
  font-size: 13px;
}

#vsel .vsel-meta-location::before {
  content: " \1F4CD ";
  padding-right: 5px;
  font-size: 13px;
}

#vsel .vsel-meta div::after {
  content: "•";
  padding: 0 10px;
  font-size: 13px;
}

#vsel .vsel-meta div:last-child:after {
  content: "";
}

#vsel .vsel-content {
  border-bottom: none;
  padding-bottom: 50px;
}

#vsel a.more-link {
  background: white;
}

#vsel a.more-link span {
  color: #002eff;
}

#vsel a.more-link:hover {
  background: #002eff;
}

#vsel a.more-link:hover span {
  color: #ffffff;
}

.mc4wp-form .mc4wp-form-fields {
  display: flex;
  align-items: center;
}

.mc4wp-form input#email {
  border: none;
  background-color: #002eff1A;
  height: 38px;
  padding: 2px 20px 2px 10px;
  color: #002eff;
  width: 50%;
}

.mc4wp-form input#email::placeholder {
  color: #002eff;
}

.mc4wp-form .more-link {
  margin-left: -10px;
}

.mc4wp-form .more-link input {
  border: none;
  transform: skew(16deg);
  background: none;
  color: white;
  font-weight: bold;
}

#footer a {
  font-weight: 400;
  text-decoration: none;
}

#footer a:hover {
  font-weight: 800;
}

@media (max-width:800px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: block;
  }

  .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
    display: none;
  }

}


.nom-titre-quote {
  background: #000064;
  transform: skew(-16deg);
}

.nom-titre-quote {
  background: #000064;
  transform: skew(-16deg);
  width: fit-content;
  border-radius: 10px;
  padding: 10px 20px;
  line-height: 1.2;
  margin-top: -10px;
}

.nom-titre-quote p {
  transform: skew(16deg);
  margin: 0px;
}


.nom-titre-quote p {
  padding-left: 13px;
  font-size: .8em;
}

.nom-titre-quote p:first-child {
  font-weight: 800;
  text-transform: uppercase;
  padding-left: 0px;
  font-size: 1em;
}

.group-photo-quote {
  margin-top: -200px !important;
}

blockquote {
  margin-top: 125px !important;
  margin-bottom: 50px !important;
  margin-left: 10%!important;
  margin-right: 10%!important;
  padding: 50px 25px !important;
}

blockquote figure {
  margin-top: 60px!important;
}

blockquote img {
  width: 225px;
  margin-bottom: -30px;
}

blockquote .text-quote::before {
  content: '"';
  margin-left: -60px;
  font-size: 5em;
  position: absolute;
  font-weight: bold;
  margin-top: -40px;
}

.top-image-featured img {
  max-height: 400px;
  clip-path: none;
}

.wp-singular .wp-block-post-featured-image img {
  max-height: 400px;
}

.main-header .attention-button-mainmenu a {
  background-color: #002eff!important;
}

.main-header .attention-button-mainmenu a span {
color: white!important;
}

.main-header .attention-button-mainmenu a:hover {
  background-color: #000064!important;
}

.page-section-locale .presentation {
  margin-bottom: 50px;
}

/* .page-section-locale .presentation h3 {
  text-transform: uppercase;
  font-weight: 900;
  font-style: italic;
}

.page-section-locale .presentation p:first-of-type {
  margin-top: 0px;
}

.page-section-locale .presentation a {
  font-size: 0.75em!important;
}

.page-section-locale .presentation img {
  object-fit: cover!important;
  width: 400px!important;
  height: 200px!important;
  object-position: 0 25%!important;
} */

.page-child h1 {
  text-transform: uppercase;
  font-style: italic;
}

.social-networks p {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1;
}



.page-id-13 h1 {
  font-style: italic;
}

.page-id-13 .people img, .parent-pageid-386 .people img {
  clip-path: circle();
}



.page-id-13 .naming h2, .parent-pageid-386 .naming h3 {
  text-transform: uppercase;
  font-style: italic;
  text-align: center;
  font-size: 18px;
  color: white;
}

.page-id-13 .naming p, .parent-pageid-386 .naming p {
  text-align: center;
  margin-top: 0;
  color: white;
}

.page-id-13 .naming, .parent-pageid-386 .naming {
  width: 90%;
  padding: 10px 20px;
  background-color: #000064;
  border-radius: 5px;
  transform: skew(-16deg);
  margin-top: 1.2em;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  color: white;
  margin-top: -50px;
  margin-bottom: 15px;
}

.page-id-13 .people, .parent-pageid-386 .people {
  padding: 1em;
}

.page-id-13 .people p, .parent-pageid-386 .people p {
  text-align: center;
}

.page-id-13 .people p, .parent-pageid-386 .people p{
  margin-top: 0;
}