/*cleaning*/
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
a,
a:visited {
  margin: 0;
  color: var(--darker-c);
  -webkit-tap-highlight-color: transparent;
  hyphens: none;
}

/*
li {
  list-style-type: "\2192";
  padding-left: 1rem;
}
.uagb-tabs__panel li {
  list-style-type: none !important;
}
ul {
  padding-left: 1.5rem;
}*/

.liste-nopuce {
  padding-left: 0;
  margin-left: 0;
}

figure {
  margin: 0;
}
.post-thumbnail {
  display: none;
}
.entry-summary {
  margin: 0;
}
.entry-content {
  margin-top: 0;
}

html,
body {
  background-color: var(--bg-color);
  color: var(--darker-c);
  line-height: 1.5;
  overflow-x: hidden;
}

.wp-block-button a,
.wp-block-button a:visited,
.reg-button a,
.reg-buttona:visited {
  color: var(--lighter-c);
  transition: all 0.3s ease-in-out;
}

.reg-button a:hover {
  background: var(--darker-c) !important;
}
.big-button a {
  font-size: 1.4rem !important;
}
.form-button {
  margin-top: 1.5rem;
}
.form-button a {
  padding: 10px 20px;
  background-color: var(--darker-c);
  color: var(--lighter-c);
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 0 !important;
  width: 100%;
  display: inline-block;
}
.form-button a:hover {
  background-color: var(--medium-c);
}
.form-button-grey p {
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 0 !important;
  background-color: rgba(128, 128, 128, 0.367) !important;
  color: rgb(128, 128, 128) !important;
  width: 100%;
  display: inline-block;
}
.forminator-row {
  display: flex;
  justify-content: space-between !important;
  margin-bottom: 0 !important;
}
.forminator-field input {
  height: 1.2rem;
}
.form-button .forminator-label {
  display: none !important;
}
.forminator-label {
  font-size: 1.4rem;
  font-weight: 600;
}
.forminator-custom-form {
  filter: drop-shadow(0 0 0.5rem #2e3d7e34);
  border-radius: 8px;
  padding: 1rem !important;
  background-color: var(--bg-color);
}

a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/*setting basic borders*/
img {
  border-radius: 8px;
  transition: all ease-in-out var(--main-time);
}
/* Effet sur l'image lors du survol de l'élément parent contenant le h1 */
.wp-block-group.over-effect:hover + .wp-block-uagb-image img {
  border-radius: 20px;
  transition: all ease-in-out var(--main-time);
}

/* Effet sur l'image lors du survol direct */
.wp-block-uagb-image:hover img {
  border-radius: 20px;
  transition: all ease-in-out var(--main-time);
}
/* Effet hover sur le conteneur .over-effect */
.over-effect,
.over-effect img {
  transition: all ease-in-out var(--main-time);
}
.over-effect:hover {
  border-radius: 20px; /* Applique un border-radius lors du survol */
  transition: all ease-in-out var(--main-time);
}

/* Optionnel : Style de transition sur d'autres enfants si nécessaire */
.over-effect:hover img {
  border-radius: 20px 20px 0 0; /* Applique un border-radius lors du survol */
  transition: all ease-in-out var(--main-time);
}

/*test*/
/* Effet hover sur le conteneur `.over-effect` */

/* Effet hover sur les éléments <li> */
.wp-block-latest-posts li {
  padding-bottom: 0.75rem;
  border-radius: 8px;
  transition: all ease-in-out var(--main-time);
}
.wp-block-latest-posts li:hover {
  border-radius: 20px;
  transition: all ease-in-out var(--main-time);
}

/* Effet hover aussi sur l'image dans <li> */
.wp-block-latest-posts li:hover .wp-block-latest-posts__featured-image img {
  border-radius: 20px 20px 0 0; /* Applique un border-radius lors du survol */
  transition: all ease-in-out var(--main-time);
}
/* Appliquer un border-radius sur .grid-item-box lorsqu'il est survolé */
.grid-item-box {
  transition: all ease-in-out var(--main-time);
}
.grid-item-box {
  height: 100%;
}
.grid-item-box:hover {
  border-radius: 20px;
  transition: all ease-in-out var(--main-time);
}

/* Appliquer un border-radius et un effet de zoom sur l'image contenue dans .imagette */
.grid-item-box:hover .imagette img {
  border-radius: 20px 20px 0 0;
  transition: all 0.3s ease-in-out;
}

/*test end*/

.round {
  border-radius: 8px;
}
.round-padding {
  padding: 1rem !important;
}
.round-mid-padding {
  padding: 1.5rem !important;
}
.no-padding-top {
  padding-top: 0 !important;
}
/*setting basic shadow*/

.shadow {
  filter: drop-shadow(0 0 0.5rem #2e3d7e34);
}
.shadow p {
  filter: none;
}
.text-shadow {
  filter: drop-shadow(0 0 0.75rem #2e3d7e88);
}
.bg {
  background-color: var(--bg-color);
}
.page-header-flex-container {
  align-items: first baseline;
  width: 100%;
}
/*margins*/

#masthead {
  padding: 1rem var(--side-margins-medium) 1rem var(--side-margins-medium);
}
main,
.page-coming-soon {
  padding: 0 var(--side-margins-medium) 1rem var(--side-margins-medium);
}
#colophon {
  padding: 0 var(--side-margins-medium);
}

/*margins end*/

/* font settings */
h1,
h2,
h3,
h4,
h1 a,
h2 a,
h3 a,
h4 a {
  font-family: var(--font-title);
  font-weight: 700;
  padding-bottom: 0.5rem;
}
h4,
h5,
h6,
h4 a,
h5 a,
h6 a {
  font-weight: 600;
}
h5,
h6,
p,
label,
a {
  font-family: var(--font-text);
}
h1,
h1 a {
  font-size: var(--h1-fontsize);
  padding-bottom: 0.5rem;
  padding-bottom: 1rem;
  line-height: 1;
}
h2,
h2 a {
  font-size: var(--h2-fontsize);
  padding-bottom: 0.3rem;
  padding-bottom: 1rem;
  line-height: 1;
}
h3,
h3 a {
  font-size: var(--h3-fontsize);
  padding-bottom: 0.3rem;
  padding-bottom: 1rem;
  line-height: 1;
}
h4 {
  font-size: var(--text-fontsize);
  padding-bottom: 1rem;
  line-height: 1;
}

p,
a,
label {
  font-size: var(--text-fontsize);
  margin-bottom: 0.8rem;
  font-weight: var(--text-fontweight);
}

.has-small-font-size,
.has-small-font-size a,
.has-small-font-size li a,
.has-small-font-size p {
  font-size: var(--text-fontsize-small);
}
li {
  font-size: var(--text-fontsize);
  margin-bottom: 0.5rem;
  font-weight: var(--text-fontweight);
}
b,
strong {
  font-weight: 500;
}

ul {
  padding: 0 0 0.5rem 2rem;
  margin: 0;
}
.glink,
.menu-item a {
  font-size: 1.1rem;
  font-family: var(--font-title);
}
.glink:hover {
  color: var(--medium-c);
}
.smallfont,
.smallfont li,
.wp-block-navigation-item__label {
  font-size: 1rem;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  font-family: var(--font-title);
}

.white a {
  color: var(--lighter-c);
}
.news-home .wp-block-latest-posts__list li a.full-li-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* font settings end */

/*header*/

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 1.5rem 0 1rem 0;*/
}
#masthead {
  background-color: var(--bg-color);
  z-index: 11;
  top: 0;
}
.site-description,
.site-title {
  position: absolute;
  left: -10000px;
}
.main-navigation {
  width: auto;
}
#primary-menu {
  display: flex;
}
#primary-menu li {
  padding: 0.4rem;
  margin-bottom: 0;
}
#primary-menu ul li {
  padding: 0;
  margin: 0;
}
.site-branding {
  max-width: 16rem;
}
#primary-menu a {
  font-family: var(--font-title);
  font-weight: 450;
  transition: all ease-in-out var(--main-time);
  margin: 0;
}
#primary-menu a:hover {
  color: #626d9e;
}
#site-navigation {
  display: flex;
  align-items: first baseline;
}
.main-navigation .menu-menu-1-container {
  padding-bottom: 0;
}

/*language menu*/
.header-widget .gtranslate_wrapper {
  display: flex;
}
.menu-mobile-area .gtranslate_wrapper {
  display: flex;
  justify-content: center;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.mobile-menu a,
.mobile-menu p {
  margin-bottom: 0;
}
.main-navigation ul ul a {
  width: fit-content;
  min-width: 200px;
}

.gtranslate_wrapper a {
  margin-bottom: 0;
  margin-left: 0.5rem;
}
.mobile-menu .gtranslate_wrapper a {
  margin-left: 0;
  margin-right: 0.5rem;
  font-size: var(--menu-mob-fontsize-ul1);
}

/*menu*/
#primary-menu ul {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-color);
  margin: 0 -1rem;
  padding: 1rem;
  filter: drop-shadow(0 0 0.1rem #2e3d7e34);
  border-radius: 6px;
}
.menu-container {
  display: flex;
  align-items: flex-end;
}
#header-widget {
  margin-left: 0.75rem;
}

#menuToggle {
  display: none;
  position: absolute;
  /*compense par les marges du #menu*/
  top: 1.5rem;
  right: 3.3rem;
  z-index: 2;
  -webkit-user-select: none;
  user-select: none;
}
#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;

  cursor: pointer;

  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */

  -webkit-touch-callout: none;
}
/*
 * Just a quick hamburger
 */
#menuToggle span {
  display: block;
  /* display:none;*/
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: var(--darker-c);
  border-radius: 3px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: var(--darker-c);
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu {
  position: fixed;
  width: 100vw;
  margin: 0;
  padding: 0;
  padding-top: 0;
  height: 100vh;
  background: var(--bg-color);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transform-origin: 0% 0%;

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  top: 0;
  right: 0;
  /*display: none;*/
  transform: translate(100%, 0);
  padding: 4rem 6vw;
  overflow: hidden;
}
/**
#menu li {
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: baseline;
}
.mobile-menu ul a {
  display: flex;
  justify-content: flex-end;
  justify-content: flex-end;
}

#header-mobile-menu-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row;
}
#menu-menu-1 .menu-item {
  width: 100%;
}
.menu-item a {
  width: 100%;
}*/
/*


/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ div {
  transform: translate(0%, 0);
}

.sub-menu li {
  padding-top: 1rem;
}
#menu .sub-menu {
  left: 0 !important;
  position: relative !important;
  top: 0 !important;
  box-shadow: none;
}
.main-navigation ul ul a {
  margin: auto;

  width: max-content;
  min-width: 200px;
}
.widget.mobile-menu {
  width: 100%;
}
.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}
.mobile-menu ul li a {
  font-size: var(--menu-mob-fontsize-ul1);
}
.mobile-menu ul li ul li a {
  font-size: var(--menu-mob-fontsize-ul2);
  margin-right: 0;
}

/**
test
*/

#menu {
  overflow-y: scroll;
}

.mobile-menu .menu-toggle {
  display: none;
}

.mobile-menu.toggled .menu-toggle {
  display: block;
}

.mobile-menu.toggled ul {
  display: block;
}

.mobile-menu .submenu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 0 0.5rem;
  font-weight: 450;
  font-family: var(--font-title) !important;
}
.mobile-menu .submenu-toggle::after {
  font-weight: 450;
  font-family: var(--font-title) !important;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu .submenu-toggle::after {
  content: "\27E8"; /* Flèche droite */
  padding-left: 0.5rem;
  display: inline-block;
  transition: all ease-in-out var(--main-time);

  font-weight: 450;
  font-family: var(--font-title) !important;
  font-weight: 700;
  font-size: 1.5rem;
}
.mobile-menu .submenu-toggle[aria-expanded="true"]::after {
  content: "\27E8"; /* Flèche bas */
  transform: rotate(-90deg) translate(-0.5rem, 0);
  padding-left: 1rem;
}

.mobile-menu .sub-menu {
  display: none;
}

.main-navigation.toggled ul li ul {
  display: none;
}

.mobile-menu .sub-menu.toggled-on {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.menu-item {
  display: block;
}
.menu-item-wrapper {
  display: flex;
  align-items: first baseline;
  justify-content: center;
}
.menu-menu-1-container {
  display: flex;
  justify-content: center;
  padding-bottom: 1rem;
}
#menu-menu-1 {
  display: flex;
  align-items: center;
}
.menu-item-wrapper a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.submenu-toggle {
  color: var(--darker-c);
}
.mobile-menu .sub-menu li {
  padding: 0;
  margin: 0.5rem 0;
}
/*header end here*/

/*dirty cleaning*/
.header-widget p {
  display: none;
}
.entry-header {
  position: absolute;
  left: -10000px;
}
/*templates*/

/*archive*/
.archive-description {
  position: absolute;
  left: -10000px;
}
.page-header,
.page-header-flex-container {
  display: flex;
  justify-content: space-between;
  align-items: first baseline !important;
}
#menu-archive-sub-menu,
.page-sub-menu {
  padding: 0;
  display: flex;
}
#menu-archive-sub-menu li {
  padding-left: 0.75rem;
}
.archive-grid.grid {
  margin: 0 -0.5rem 2rem -0.5rem;
  display: flex;
  flex-wrap: wrap;
}
.grid-item {
  width: calc(100% / 2);
  padding: 0.5rem;
}
.post-date {
  margin: 0;
  font-size: 1rem;
}
.imagette {
  padding-bottom: 0.5rem;
}

.imagette img,
.wp-block-latest-posts__featured-image img {
  max-width: 100%;
  width: 100%;
  display: block; /* Cela enlève l'espace en dessous de l'image qui est dû à l'alignement en ligne par défaut */
  border-radius: 8px 8px 0 0;
}
.grid-item-box,
.wp-block-latest-posts__list li {
  background: var(--lighter-c);
  border-radius: 8px;
  filter: drop-shadow(0 0 0.5rem #2e3d7e34);
}

.wp-block-latest-posts__post-title,
.wp-block-latest-posts__post-excerpt {
  padding: 0 1rem;
}
/* Assurez-vous que le titre et le texte des descriptions prennent tout l'espace vertical disponible */
.grid-item-content {
  flex: 1;
}
.archive-grid-contenu {
  padding: 0 1rem 1rem 1rem;
}

/* Élément pour l'espace de remplissage si nécessaire */
.grid-item-fill {
  flex-grow: 1;
}
.imagette img {
  max-width: 100%;
  width: 100%;
}
.grid-item a {
  text-decoration: none;
}

/*archive end*/
.wp-block-latest-posts__list {
  margin: 0;
}
.wp-block-tiptip-hyperlink-group-block {
  margin: 0;
}
/*custom classes*/

.zero-margin {
  margin: 0;
}
.wp-block-heading.over-title,
.over-title {
  position: relative;
  z-index: 10;
  bottom: 4.5rem;
  left: 0rem;
  height: 0;
  padding: 0;
}
.two-columns {
  column-count: 2;
}
.extrait a {
  font-size: 1rem;
  padding-right: 10%;
}
.white {
  color: var(--bg-color);
}
.gmap {
  height: 300px;
  width: 100%;
}
.gmap-60 {
  height: 300px;
  width: 60%;
}
.w-100 {
  width: 100%;
}
.w-60 {
  width: 60%;
}
.uagb-google-map__iframe {
  border-radius: 8px;
}
.wp-block-navigation-item.wp-block-navigation-link {
  margin-bottom: 0;
}
.banner {
  width: 100%;
  filter: drop-shadow(0 0 0.5rem #2e3d7e34);
  margin: 0 -0.5rem !important;
  max-width: none;
  width: calc(100% + var(--compensed-margins));
  padding-bottom: 0.5rem;
}
.chapo {
  max-width: 1000px;
  hyphens: none;
  font-size: var(--chapo-fontsize);
  font-weight: 500;
  padding-bottom: 0.75rem;
}

.chapo-alt {
  font-size: var(--h3-fontsize);
}
.full-width {
  width: 100%;
}
/*rend tout le bouton clicable dans le formulaire du choix de cours */
.uagb-tabs-list {
  display: block !important;
}

.uagb-tab:hover {
  background-color: var(--medium-c) !important;
}
.uagb-tab:active {
  background-color: var(--darker-c) !important;
}

p {
  hyphens: none;
}

.social-info {
  width: 290px;
}
.ol-attribution {
  visibility: hidden;
}

.produit {
  mix-blend-mode: darken;
}
.sponsors-grid {
  width: 100%;
}
.sponsors-grid-home img {
  width: calc(100% / 1.2) !important;
  /*max-width: 160px !important;*/
  margin: auto;
}
.map {
  border: transparent !important;
  border-radius: 8px;
}
.wp-block-table.tablo {
  width: fit-content;
}
.wp-block-table td {
  border-color: transparent;
}

.liste-nopuce {
  list-style: none;
  padding: 0;
}

.reduce {
  width: 96%;
}

.round-top img,
.round-top {
  border-radius: 8px 8px 0 0;
}
.no-text-deco {
  text-decoration: none;
}
.no-border,
.no-border img {
  border-radius: 0 !important;
}
.wp-element-caption {
  margin-top: 0;
}
.small-padding-bottom {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.small-padding-side {
  padding-bottom: 0.75rem;
}
.display-none {
  display: none !important;
}
.rs-logo a {
  margin-bottom: 0;
}
.mobile-menu a {
  font-family: var(--font-title);
}
/* Appliquer le gras aux éléments de menu de premier niveau actifs */
.page-header .current_page_item a,
.page-header .current-menu-item a,
.page-header-flex-container .current_page_item a,
.page-header-flex-container .current-menu-item a,
#primary-menu > .current_page_item > a,
#primary-menu > .current-menu-item > a,
#primary-menu > .current-menu-parent > a,
#primary-menu > .current-menu-ancestor > a {
  font-weight: 700 !important;
}

/* Appliquer le gras aux éléments de sous-menu spécifiquement sélectionnés */
#primary-menu .sub-menu .current_page_item > a,
#primary-menu .sub-menu .current-menu-item > a {
  font-weight: 700 !important;
}
/* Appliquer le gras aux éléments parents actifs dans le menu mobile */
#menu .menu-item.current-menu-parent > .menu-item-wrapper > a,
#menu .menu-item.current-menu-ancestor > .menu-item-wrapper > a {
  font-weight: 700 !important;
}

/* Appliquer le gras aux éléments de sous-menu spécifiquement sélectionnés */
#menu .sub-menu .menu-item.current-menu-item > .menu-item-wrapper > a,
#menu .sub-menu .menu-item.current-category-item > .menu-item-wrapper > a {
  font-weight: 700 !important;
}

/* Assurez-vous que les autres éléments restent avec un style normal */
#menu .menu-item > .menu-item-wrapper > a {
  font-weight: normal;
}

/*custom classes end*/

/*footer*/

.credits {
  position: absolute;
  left: -10000px;
}
.force-flex-baseline {
  align-items: first baseline !important;
}

.site-info a,
.site-info a p,
.site-info p,
.social-info,
.site-info .wp-block-tiptip-hyperlink-group-block,
.social-info a,
.social-info a p,
.social-info p {
  text-decoration: none;
  font-family: var(--font-title) !important;
  font-weight: 500 !important;
}
.wp-block-tiptip-hyperlink-group-block {
  text-decoration: none;
}
.site-info img {
  border-radius: 0;
  width: 30px;
}
.site-branding img {
  border-radius: 0;
}
.site-branding {
  margin-right: 1rem;
}
.entry-footer,
.post-navigation {
  position: absolute;
  top: -10000px;
}

.rs-logo,
.rs-logo img {
  width: 24px;
  border-radius: 0;
  margin-bottom: 2px;
}
.custom-logo-link {
  margin: 0;
}
/*footer end*/
/*home page*/
.wp-block-latest-posts__post-title {
  font-family: var(--font-title);
  font-size: var(--h3-fontsize);
  font-weight: 700;
}
.wp-block-latest-posts__post-excerpt {
  font-size: 1rem;
}
.wp-block-latest-posts__featured-image a {
  margin: 0;
}
.boats-grid .wp-block-group {
  justify-content: space-around;
}
.uagb-tabs-list.uagb-tabs__icon-position-left {
  margin: 0.5rem;
}
.uagb-tabs__body-wrap {
  border: none !important;
}

@media screen and (min-width: 1200px) {
  .header-content {
    margin: 0 var(--side-margins-large);
    max-width: calc(1200px - var(--side-margins-medium));
    padding: 0;
  }
  main,
  #colophon {
    margin: 0 var(--side-margins-large);
    max-width: calc(1200px - var(--side-margins-medium));
    padding: 0;
  }
}
/*menu-mobile-test*/
@media screen and (max-width: 900px) {
  .two-columns {
    column-count: 1;
  }
  p,
  .smallfont,
  .smallfont li,
  .wp-block-navigation-item__label {
    font-size: var(--text-fontsize-mobile);
  }
  /*margins*/

  .wp-block-latest-posts__list {
    display: block !important;
  }
  .wp-block-latest-posts__list li {
    width: 100% !important;
  }
  .wp-block-latest-posts__post-excerpt {
    padding: 0 1rem 2rem 1rem;
  }
  #masthead {
    padding: 1rem var(--side-margins-tablet) 1rem var(--side-margins-tablet);
  }
  main,
  .page-coming-soon {
    padding: 0 var(--side-margins-tablet) 1rem var(--side-margins-tablet);
  }
  #colophon {
    padding: 0 var(--side-margins-tablet);
  }
  /*menu toggle position*/
  #menuToggle {
    right: var(--side-margins-tablet);
  }
  /*archive*/
  .archive-grid.grid {
    margin: 0 -0.5rem;
    display: flex;
    flex-wrap: wrap;
  }
  .grid-item {
    width: calc(100% / 2);
    padding: 0.5rem;
  }
  /*HEADERR*/
  #menuToggle {
    display: block;
  }
  /*sticky header on mobile*/
  #masthead {
    position: fixed;
    width: 100vw;
  }
  /*balance le sticky header*/
  #primary {
    margin-top: 5.5rem;
  }

  /*making desktop-menu hidden*/
  #primary-menu,
  #header-widget {
    display: none;
  }
  #mega-menu-wrap-menu-1 .mega-menu-toggle + #mega-menu-menu-1 {
    z-index: 10000;
  }
  #mega-menu-wrap-menu-1:has(.mega-menu-open)
    #mega-menu-menu-1[data-effect-mobile^="slide_left"]
    + button.mega-close {
    right: 1rem;
    left: auto;
  }
  .page-header-flex-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }
  .wp-block-latest-posts__post-title {
    font-size: 1.4rem !important;
  }
}
@media screen and (max-width: 700px) {
  /*fonts*/
  h1 {
    font-size: var(--h1-fontsize-mobile);
    padding-bottom: 0.75rem;
  }
  h2 {
    font-size: var(--h2-fontsize-mobile);
    padding-bottom: 0.5rem;
  }
  h3 {
    font-size: var(--h3-fontsize-mobile);
    padding-bottom: 0.5rem;
  }
  .chapo {
    font-size: var(--chapo-fontsize-mobile);
  }
  td {
    font-size: 0.8rem;
  }

  .wp-block-heading.over-title,
  .over-title {
    position: relative;
    z-index: 10;
    bottom: 0rem;
    left: 0rem;
    height: inherit;
    color: var(--darker-c);
    filter: none;
    padding-bottom: 0.75rem;
  }

  /*archive*/

  .grid-item {
    width: calc(100%);
  }
  /*footer*/
  #colophon {
    display: flex;
    flex-direction: column;
  }
  .site-info p {
    font-size: 1rem;
  }

  /*margins*/
  #masthead {
    padding: 1rem var(--side-margins-mobile) 1rem var(--side-margins-mobile);
  }
  main {
    padding: 0 var(--side-margins-mobile) 1rem var(--side-margins-mobile);
  }
  #colophon {
    padding: 0 var(--side-margins-mobile);
  }

  /*menu toggle position*/
  #menuToggle {
    right: var(--side-margins-mobile);
  }
  .flex-bloc {
    display: flex;
    flex-direction: column;
  }
  .reverse-flex {
    flex-direction: column-reverse;
  }

  .flex-bloc-2-column {
    display: block !important;
  }
  .flex-bloc-2-column .wp-block-group {
    margin-bottom: 1rem !important;
  }
  .vertical-spacer {
    display: none;
  }
  .custom-logo {
    /*max-width: 60vw;*/
  }
  .page-header,
  .page-header-flex-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  #menu-archive-sub-menu li {
    padding-right: 0.75rem;
    padding-left: 0;
  }

  .wp-block-latest-posts.is-grid li {
    margin: 0 0 1rem 0;
  }
  .gmap-60 {
    width: 100%;
  }
  .boats-grid .wp-block-group {
    width: 100%;
  }
}

/*temporaire*/
.a-corr {
  color: rgb(235, 107, 169);
}
.bigger-p {
  font-size: 1.4rem;
}
