.apg-responsive .apg-menu-toggle { display: none; }

@media screen and (max-width: 960px) {
  .apg-responsive #conteneur { width: 100%; max-width: 100%; height: auto; }
  .apg-responsive #banniere {
    position: relative; height: auto; aspect-ratio: 924 / 101;
    background-size: 100% auto;
  }
  .apg-responsive #banniere a { top: 0; height: 100%; }
  .apg-responsive #banniere #link1 { left: 0; width: 12%; }
  .apg-responsive #banniere #link2 { left: 84%; width: 12%; height: 50%; }
  .apg-responsive #banniere #link3 { left: 82%; width: 15%; top: 50%; height: 50%; }

  .apg-responsive #menu {
    position: relative; top: auto; left: auto; width: 100%; padding: 0;
    background: #ffcc00;
  }
  .apg-responsive #menu dl { float: none; width: 100%; margin: 0; }
  .apg-responsive #menu dt { height: auto; min-height: 44px; }
  .apg-responsive #menu dt a, .apg-responsive #menu li a,
  .apg-responsive #menu .apg-submenu-toggle {
    box-sizing: border-box; height: auto; min-height: 44px; padding: 12px 16px;
    text-align: left; font: 600 1rem/1.3 system-ui, sans-serif;
  }
  .apg-responsive #menu .apg-submenu-toggle {
    display: block; width: 100%; border: 0; background: transparent; color: #242424; cursor: pointer;
  }
  .apg-responsive #menu dd li { padding-bottom: 0; }
  .apg-responsive #menu #smenu2 li:not(:has(a)):not(:empty) {
    padding-inline: 16px;
    text-align: left;
  }
  .apg-responsive #menu dd li a {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding-block: 5px;
  }
  .apg-responsive #menu.apg-menu-ready dl > dd { display: none !important; }
  .apg-responsive #menu.apg-menu-ready dl > dd[data-apg-open] { display: block !important; }
  .apg-responsive .apg-menu-toggle {
    display: block; width: 100%; min-height: 44px; padding: 10px 16px;
    background: #143b4f; color: white; text-align: left; border: 0;
    font: 600 1rem/1.3 system-ui, sans-serif; cursor: pointer;
  }
  .apg-responsive #menu.apg-menu-ready:not([data-apg-open]) > dl { display: none; }
  .apg-responsive #menu button:focus-visible, .apg-responsive #menu a:focus-visible,
  .apg-responsive .apg-scroll:focus-visible { outline: 3px solid #19739a; outline-offset: -3px; }

  .apg-responsive #site {
    position: relative; inset: auto; box-sizing: border-box; width: 100%; max-width: 100%;
    padding: 12px; overflow-x: auto;
  }
  .apg-responsive #site form :is(input, select, textarea) {
    box-sizing: border-box; max-width: 100%;
  }
  .apg-responsive #site form :is(input:not([type=hidden]), select, textarea) {
    min-height: 32px; font-size: 16px;
  }
  .apg-responsive .apg-scroll { display: block; width: 100%; max-width: 100%; overflow-x: auto; }
  .apg-responsive .apg-scroll > table { margin-inline: auto; }
  .apg-responsive #elementdefilant2 { max-width: calc(100vw - 60px); }

  .apg-responsive[data-apg-page=home] #contenu { margin-top: 12px; }
  .apg-responsive[data-apg-page=home] #contenu > table,
  .apg-responsive[data-apg-page=home] #contenu > table > tbody,
  .apg-responsive[data-apg-page=home] #contenu > table > tbody > tr,
  .apg-responsive[data-apg-page=home] #contenu > table > tbody > tr > td {
    display: block; box-sizing: border-box; width: 100%;
  }
  .apg-responsive[data-apg-page=home] :is(#colonne1, #colonne2, #colonne3) {
    width: 100%; margin-inline: 0; overflow-x: auto;
  }
  .apg-responsive[data-apg-page=home] :is(#colonne1, #colonne2, #colonne3) table { max-width: 100%; }
  .apg-responsive[data-apg-page=home] #contenu img { max-width: 100%; height: auto; }
}

@media (min-width: 961px), print { .apg-responsive .apg-scroll { display: contents; } }

@media screen and (min-width: 961px) {
  .apg-responsive #menu.apg-menu-ready {
    display: flex; max-width: 924px; align-items: flex-start;
  }
  .apg-responsive #menu.apg-menu-ready.sticky { top: -101px; }
  .apg-responsive #menu.apg-menu-ready > dl {
    position: relative; float: none; flex: 1 1 0; min-width: 0;
  }
  .apg-responsive #menu.apg-menu-ready dt {
    height: auto; min-height: 19px; display: grid; align-items: stretch;
  }
  .apg-responsive #menu.apg-menu-ready dl > dd {
    position: absolute; top: 100%; left: 0; width: 100%; box-sizing: border-box;
    display: none !important;
  }
  .apg-responsive #menu.apg-menu-ready dl > dd[data-apg-open] { display: block !important; }
  .apg-responsive #menu .apg-submenu-toggle {
    display: block; width: 100%; height: 100%; margin: 0; padding: 0;
    border: 0; background: transparent; color: #242424; cursor: pointer; font: inherit;
  }
  .apg-responsive #menu.apg-menu-ready dd li { padding: 0; }
  .apg-responsive #menu.apg-menu-ready dd a {
    box-sizing: border-box; height: auto; padding: 2px 0;
    line-height: 1.15; overflow-wrap: anywhere;
  }
}

@media screen and (min-width: 961px) {
  .apg-responsive[data-apg-page="home"] #site {
    box-sizing: border-box;
    padding-inline: 16px;
  }
}

.apg-responsive[data-apg-page="home"] #bloccommentaires > table {
  width: 100%;
  table-layout: fixed;
}

.apg-responsive[data-apg-page="home"] #bloccommentaires > table > tbody > tr:first-child > td:first-child {
  width: 20px;
}

.apg-responsive[data-apg-page="home"] #elementdefilant2 {
  width: 100% !important;
}

@media screen and (min-width: 961px) {
  .apg-home-columns {
    display: block;
    width: 100%;
  }
  .apg-home-columns > tbody {
    display: block;
  }
  .apg-home-columns > tbody > tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 195px);
    gap: 12px;
  }
  .apg-home-columns :is(#colonne1, #colonne2, #colonne3, #blocconnect, #partenaires, #blocinfos) {
    max-width: 100%;
    margin-inline: 0;
  }
  .apg-home-columns > tbody > tr > td {
    min-width: 0;
  }
  .apg-home-columns :is(#element1, #element2) > table,
  .apg-home-columns :is(#element1, #element2) .cadre > table {
    width: 100%;
    table-layout: fixed;
    overflow-wrap: anywhere;
  }
  .apg-home-columns :is(table, img) {
    max-width: 100%;
  }
  .apg-home-columns img {
    height: auto;
  }
  .apg-home-columns img.cadreimage {
    max-width: calc(100% - 25px);
  }

  .apg-calendar {
    width: calc(100% - 32px);
    margin-inline: auto;
    table-layout: fixed;
    overflow-wrap: anywhere;
  }
}
