templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. {% set canEdit = canEdit|default(is_granted('ROLE_MANAGER')) %}
  3. <html lang="{{ app.request.locale|split('_')[0] }}">
  4.    <head>
  5.       <meta charset="UTF-8">
  6.       <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7.       <meta http-equiv="Cache-Control" content="max-age=0">
  8.       <meta http-equiv="Cache-Control" content="no-store">
  9.       <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
  10.       <meta http-equiv="Cache-Control" content="no-cache">
  11.       <meta http-equiv="Pragma" content="no-cache">
  12.       <meta http-equiv="Expires" content="0">
  13.       <meta name="viewport" content="width=device-width, initial-scale=1.0">
  14.       <title>
  15.          {% block title %}
  16.          Welcome!
  17.          {% endblock %}
  18.       </title>
  19.       {% block meta %}
  20.       {% if  content.blocks[1]["description"] is defined  %}  
  21.       <meta name="description" content="{{content.blocks[1]["description"]|striptags}}"> 
  22.       {% else %}
  23.       <meta name="description" content="">
  24.       {% endif
  25.       %} {% endblock %}
  26.       {% block keywords %}
  27.       {% if  content.blocks[1]["keywords"] is defined  %}  
  28.       <meta name="keywords" content="{{content.blocks[1]["keywords"]|striptags}}"> 
  29.       {% else %}
  30.       <meta name="keywords" content="">
  31.       {% endif
  32.       %} {% endblock %}
  33.       <link href="https://fonts.googleapis.com/css2?family=Inter:wght@700&display=swap" rel="stylesheet">
  34.       <link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css"rel="stylesheet">
  35.       <link rel="preconnect" href="https://fonts.googleapis.com">
  36.       <link rel="stylesheet" href="https://unpkg.com/swiper@9/swiper-bundle.min.css">
  37.       <script src="https://unpkg.com/swiper@9/swiper-bundle.min.js"></script>
  38.       <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  39.       <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;600&display=swap" rel="stylesheet">
  40.       {#
  41.       <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" integrity="sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm" crossorigin="anonymous">
  42.       #}
  43.       <style> @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');</style>
  44.       <link href="https://fonts.cdnfonts.com/css/billion-dreams" rel="stylesheet">
  45.       <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==" crossorigin="anonymous" referrerpolicy="no-referrer" />
  46.       <link href="https://code.jquery.com/ui/1.13.1/themes/base/jquery-ui.css" rel="stylesheet">
  47.       <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jstree/3.3.12/themes/default/style.min.css" />
  48.       <link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
  49.       {% block stylesheets %}
  50.       {{ encore_entry_link_tags('tailwind') }}
  51.       {{ encore_entry_link_tags('acoa') }}
  52.       {{ encore_entry_link_tags('app') }}
  53.       {% endblock %}
  54.       <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  55.       <script src="https://cdnjs.cloudflare.com/ajax/libs/jstree/3.3.12/jstree.min.js"></script>
  56.       <script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
  57.       <style>
  58.          html, body{
  59.            width:100%;
  60.            overflow-x: clip;
  61.          }
  62.          @supports not (overflow: clip){
  63.            html, body{ overflow-x: hidden; }
  64.          }
  65.          #loading {
  66.          position: fixed;
  67.          left: 0px;
  68.          top: 0px;
  69.          width: 100%;
  70.          height: 100%;
  71.          z-index: 9999;
  72.          opacity: 0.9;
  73.          background: url("{{ asset('/images/Preloader_2.gif') }}") center no-repeat #fff;  
  74.          }
  75.          .home-nav-overlay {
  76.          position: absolute;
  77.          top: 0;
  78.          left: 0;
  79.          right: 0;
  80.          z-index: 50;
  81.          background: transparent;
  82.          }
  83.          .hero {
  84.          position: relative;
  85.          margin-top: 0;
  86.          }
  87.          .hero-slide {
  88.          position: relative;
  89.          min-height: 80vh;
  90.          }
  91.          .hero-slide::before {
  92.          content: "";
  93.          position: absolute;
  94.          inset: 0;
  95.          background: var(--bg) center/cover no-repeat;
  96.          z-index: 0;
  97.          }
  98.          .hero-overlay {
  99.          position: absolute;
  100.          inset: 0;
  101.          background: rgba(7,51,73,.55); 
  102.          z-index: 1;
  103.          }
  104.          .hero-content {
  105.          position: relative;
  106.          z-index: 2; 
  107.          padding-top: 180px;
  108.          }
  109.          :root{
  110.          --topbar-h: 50px;     
  111.          --pill-h: 64px;       
  112.          --ribbon-h: 28px;     
  113.          --gap: 8px;           
  114.          --nav-offset: 22px; 
  115.          }
  116.          .home-nav-overlay{
  117.          position: absolute;
  118.          top: var(--topbar-h);   
  119.          left: 0; right: 0;
  120.          z-index: 50;
  121.          background: transparent;
  122.          }
  123.          .is-home #navbarindex > .container{
  124.          margin-top: var(--nav-offset);
  125.          }
  126.          .hero{ position: relative; margin-top: 0; }
  127.          .hero-slide{ position: relative; min-height: 80vh; }
  128.          .hero-slide::before{
  129.          content:""; position:absolute; inset:0;
  130.          background: var(--bg) center/cover no-repeat; z-index:0;
  131.          }
  132.          .hero-overlay{ position:absolute; inset:0; background:rgba(7,51,73,.55); z-index:1; }
  133.          .hero-content{
  134.          position:relative; z-index:2;
  135.          padding-top: calc(var(--topbar-h) + var(--nav-offset) + var(--pill-h) + var(--ribbon-h) + var(--gap));
  136.          }
  137.          @media (max-width: 768px){
  138.          :root{ --topbar-h: 46px; --ribbon-h: 24px; --nav-offset: 14px; }
  139.          }
  140.          :root{
  141.          --ribbon-h: 24px;         
  142.          --ribbon-radius: 9999px; 
  143.          }
  144.          .home-event-ribbon{
  145.          margin-top: 10px;                
  146.          height: var(--ribbon-h);
  147.          border-radius: var(--ribbon-radius);
  148.          background: #F14816;
  149.          display: flex;
  150.          align-items: center;
  151.          justify-content: center;
  152.          box-shadow: 0 3px 8px rgba(0,0,0,.15);
  153.          }
  154.          .home-event-text{
  155.          color: #fff;
  156.          font-weight: 700;
  157.          text-transform: uppercase;
  158.          letter-spacing: .04em;
  159.          font-size: 11px;
  160.          line-height: 1;
  161.          white-space: nowrap;      
  162.          }
  163.          @media (max-width: 768px){
  164.          :root{ --ribbon-h: 20px; }
  165.          .home-event-text{ font-size: 10px; letter-spacing: .03em; }
  166.          }
  167.          .home-event-ribbon{
  168.          width: 100%;                
  169.          margin: 10px 0 0 0;       
  170.          height: var(--ribbon-h, 24px);
  171.          border-radius: 9999px;
  172.          background: #F14816;
  173.          display: flex;
  174.          align-items: center;
  175.          justify-content: center;
  176.          box-shadow: 0 3px 8px rgba(0,0,0,.15);
  177.          }
  178.          #navbarindex > .container { padding-left: .75rem; padding-right: .75rem; } 
  179.          .home-event-text{
  180.          color:#fff; font-weight:700; text-transform:uppercase;
  181.          letter-spacing:.04em; font-size:11px; line-height:1;
  182.          white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  183.          }
  184.          .home-event-ribbon--editable form,
  185.          .m-ribbon--editable form{
  186.          display:flex;
  187.          align-items:center;
  188.          width:100%;
  189.          }
  190.          .home-event-ribbon--editable .home-event-text,
  191.          .m-ribbon--editable .home-event-text{
  192.          flex:1;
  193.          border:0;
  194.          background:transparent;
  195.          color:#fff;
  196.          font-weight:700;
  197.          text-transform:uppercase;
  198.          letter-spacing:.04em;
  199.          font-size:11px;
  200.          line-height:1;
  201.          padding:0 12px;
  202.          outline:none;
  203.          }
  204.          .home-event-save{
  205.          border:0;
  206.          background:rgba(255,255,255,.25);
  207.          color:#fff;
  208.          border-radius:9999px;
  209.          padding:4px 10px;
  210.          margin-left:8px;
  211.          font-size:11px;
  212.          font-weight:600;
  213.          cursor:pointer;
  214.          white-space:nowrap;
  215.          }
  216.          .home-event-save:hover{
  217.          background:rgba(255,255,255,.35);
  218.          }
  219.          @media (max-width: 768px){
  220.          .m-ribbon--editable .home-event-text{
  221.          font-size:10px;
  222.          padding:0 8px;
  223.          }
  224.          .home-event-save{
  225.          font-size:10px;
  226.          padding:3px 8px;
  227.          }
  228.          }
  229.          :root { --nav-offset: 22px; }
  230.          .home-event-ribbon { margin-top: 10px; } 
  231.          .home-event-ribbon {
  232.          margin: 0 auto;
  233.          margin-top: 8px;      
  234.          max-width: 80%;       
  235.          background: #F14816;  
  236.          border-radius: 9999px;
  237.          text-align: center;
  238.          padding: 6px 20px;
  239.          font-weight: 700;
  240.          color: #fff;
  241.          font-size: 0.875rem;
  242.          }
  243.          :root{
  244.          --tabW: 42px;          
  245.          --tabH: 117px;         
  246.          --tabR: 20px;          
  247.          --chevW: 10px;          
  248.          --chevH: 8px;          
  249.          }
  250.          .hero-nav{
  251.          position: absolute;
  252.          top: 50%;
  253.          transform: translateY(-50%);
  254.          z-index: 3;
  255.          width: var(--tabW);
  256.          height: var(--tabH);
  257.          box-sizing: border-box;
  258.          background: rgba(217,217,217,.30);
  259.          border: 1px solid rgba(255,255,255,.30);
  260.          box-shadow: 0 2px 8px rgba(0,0,0,.20);
  261.          backdrop-filter: blur(2px);
  262.          -webkit-backdrop-filter: blur(2px);
  263.          display: grid;           
  264.          place-items: center;
  265.          cursor: pointer;
  266.          line-height: 0;
  267.          }
  268.          .hero-nav.prev{
  269.          left: 0;
  270.          border-radius: 0 var(--tabR) var(--tabR) 0;  
  271.          }
  272.          .hero-nav.next{
  273.          right: 0;
  274.          border-radius: var(--tabR) 0 0 var(--tabR);  
  275.          }
  276.          .hero-nav::before{
  277.          content: "";
  278.          width: 0; height: 0;
  279.          border-top: var(--chevH) solid transparent;
  280.          border-bottom: var(--chevH) solid transparent;
  281.          }
  282.          .hero-nav.prev{ left:0; }
  283.          .hero-nav.next{
  284.          right:0;
  285.          border-radius: 20px 0 0 20px;
  286.          }
  287.          .hero-nav:hover{ box-shadow: 0 3px 12px rgba(0,0,0,.28); }
  288.          @media (max-width:768px){
  289.          :root{ --tabW:36px; --tabH:100px; }
  290.          }
  291.          .hero { position: relative; }
  292.          .hero-nav{
  293.          position:absolute;
  294.          top:50%;
  295.          transform:translateY(-50%);
  296.          z-index:5;
  297.          width:42px;
  298.          height:117px;
  299.          border:1px solid rgba(217,217,217,.30);
  300.          background: rgba(141,156,165,.85);       
  301.          border-radius: 0 20px 20px 0;            
  302.          box-shadow:
  303.          0 6px 14px rgba(0,0,0,.18),
  304.          inset 0 1px 0 rgba(255,255,255,.25);
  305.          display:flex;
  306.          align-items:center;
  307.          justify-content:center;
  308.          font-size:0;
  309.          color:transparent;
  310.          }
  311.          .hero-nav.prev{ left:-1px; }              
  312.          .hero-nav.next{
  313.          right:-1px;
  314.          border-radius: 20px 0 0 20px;            
  315.          }
  316.          .hero-nav::before{
  317.          content:"";
  318.          display:block;
  319.          width:0; height:0;
  320.          border-top:8px solid transparent;
  321.          border-bottom:8px solid transparent;
  322.          }
  323.          .hero-nav.prev::before{
  324.          border-right:10px solid #fff;
  325.          margin-left:2px;                         
  326.          }
  327.          .hero-nav.next::before{
  328.          border-left:10px solid #fff;
  329.          margin-right:2px;                       
  330.          }
  331.          .hero-nav:hover{
  332.          background: rgba(141,156,165,.95);
  333.          box-shadow:
  334.          0 8px 16px rgba(0,0,0,.22),
  335.          inset 0 1px 0 rgba(255,255,255,.3);
  336.          }
  337.          :root{
  338.          --paddle-h: 72px;       
  339.          }
  340.          .hero-nav{
  341.          height: var(--paddle-h);
  342.          }
  343.          .hero-nav.prev{  border-radius: 0 16px 16px 0; }
  344.          .hero-nav.next{  border-radius: 16px 0 0 16px; }
  345.          @media (max-width: 768px){
  346.          :root{ --paddle-h: 64px; }
  347.          .hero-nav.prev{ border-radius: 0 14px 14px 0; }
  348.          .hero-nav.next{ border-radius: 14px 0 0 14px; }
  349.          }
  350.          .boxFooter{ max-width:1280px }
  351.          .footer-grid{
  352.          display:grid;
  353.          grid-template-columns: repeat(3, 1fr);
  354.          gap: clamp(28px, 4vw, 60px);
  355.          align-items:start;
  356.          }
  357.          .footer-col{ min-width:0 }
  358.          .footer-title{
  359.          margin: 0 0 10px 0;
  360.          font-weight:700;
  361.          font-size: clamp(20px, 2.3vw, 34px);
  362.          line-height:1.1;
  363.          text-transform:none;
  364.          }
  365.          .footer-text{ color:#E8F2F7; line-height:1.8; margin:0 }
  366.          .footer-list{ margin:14px 0 0 0; padding:0; list-style:none }
  367.          .footer-list li{
  368.          position:relative;
  369.          margin: 12px 0 0 0;
  370.          padding-left: 18px;
  371.          }
  372.          .footer-list li::before{
  373.          content:""; position:absolute; left:0; top:.62em;
  374.          width:6px; height:6px; border-radius:2px; background:#6CA1B8;
  375.          }
  376.          .footer-logo img{ width:auto; height:64px; display:block; margin:0 0 24px 0; background:#fff; padding:4px 6px; border-radius:4px }
  377.          .qualio-badge{ height:125px; width:auto; display:block; margin: 6px 0 0 0 }
  378.          .news-form{ margin-top:6px }
  379.          .news-row{
  380.          display:grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px;
  381.          margin: 6px 0 12px 0;
  382.          }
  383.          .news-row input{
  384.          height:44px; border-radius:10px; border:1px solid rgba(255,255,255,.25);
  385.          background: #0f4b67; color:#fff; padding:0 12px;
  386.          }
  387.          .news-row input::placeholder{ color:#C8D8E1 }
  388.          .news-submit{
  389.          display:inline-flex; align-items:center; justify-content:center;
  390.          min-height:44px; padding:0 22px; border-radius:9999px; border:0;
  391.          background:#F14816; color:#fff; font-weight:700;
  392.          box-shadow:0 10px 22px rgba(241,72,22,.25);
  393.          }
  394.          .news-submit:hover{ filter:brightness(1.06); transform:translateY(-1px) }
  395.          @media (max-width: 1024px){
  396.          .footer-grid{ grid-template-columns: 1fr; }
  397.          .news-row{ grid-template-columns: 1fr; }
  398.          }
  399.          .boxFooter{ max-width:1280px }
  400.          .footer-grid{
  401.          display:grid;
  402.          grid-template-columns: 1.2fr 1.2fr 1fr 1fr;
  403.          gap: clamp(24px, 4vw, 56px);
  404.          align-items:start;
  405.          }
  406.          .footer-col{ min-width:0 }
  407.          .footer-title{
  408.          margin: 0 0 10px 0;
  409.          font-weight:700;
  410.          font-size: clamp(14px, 1.4vw, 18px);
  411.          line-height:1.2;
  412.          text-transform:none;
  413.          color:#fff;
  414.          }
  415.          .footer-text{ color:#E8F2F7; line-height:1.8; margin:0 }
  416.          .footer-list{ margin:12px 0 0 0; padding:0; list-style:none }
  417.          .footer-list li{ position:relative; margin:10px 0 0 0; padding-left:16px }
  418.          .footer-list li::before{
  419.          content:""; position:absolute; left:0; top:.6em;
  420.          width:6px; height:6px; border-radius:2px; background:#6CA1B8;
  421.          }
  422.          .footer-list a{ color:#E8F2F7; }
  423.          .footer-list a:hover{ color:#fff; text-decoration:underline }
  424.          .footer-logo img{ height:64px; width:auto; background:#fff; padding:4px 6px; border-radius:4px; display:block; margin-bottom:16px }
  425.          .footer-logo--secondary img{ height:56px; margin-top:14px; margin-bottom:0; }
  426.          .qualio-badge{ height:125px; width:auto; display:block }
  427.          .news-form{ margin-top:6px }
  428.          .news-col{ display:grid; grid-template-columns:1fr; gap:8px; max-width:280px }
  429.          .news-col input{
  430.          height:38px; border-radius:6px; border:1px solid rgba(255,255,255,.25);
  431.          background:#0f4b67; color:#fff; padding:0 10px; width:100%;
  432.          }
  433.          .news-col input::placeholder{ color:#C8D8E1 }
  434.          .news-submit{
  435.          margin-top:10px;
  436.          display:inline-flex; align-items:center; justify-content:center;
  437.          min-height:36px; padding:0 18px; border-radius:9999px; border:0;
  438.          background:#F14816; color:#fff; font-weight:700;
  439.          box-shadow:0 10px 22px rgba(241,72,22,.25);
  440.          }
  441.          .news-submit:hover{ filter:brightness(1.06); transform:translateY(-1px) }
  442.          @media (max-width: 1100px){
  443.          .footer-grid{ grid-template-columns: 1fr 1fr; }
  444.          }
  445.          @media (max-width: 640px){
  446.          .footer-grid{ grid-template-columns: 1fr; }
  447.          }
  448.          .footer-col--news .news-col input{
  449.          background:#fff;
  450.          color:#BA501D;
  451.          border:1px solid rgba(10,42,69,.18);
  452.          }
  453.          .footer-col--news .news-col input::placeholder{
  454.          color:#6B7280; opacity:1;
  455.          }
  456.          @media (max-width:768px){
  457.          #navbarindex{ display:none !important; }      
  458.          }
  459.          @media (min-width:769px){
  460.          .m-header, #m-drawer, .m-ribbon{ display:none !important; } 
  461.          }
  462.          .m-header{ position:sticky; top:0; z-index:60; background:#fff; box-shadow:0 1px 0 rgba(0,0,0,.06); }
  463.          .m-burger,.m-account{ display:grid; place-items:center; width:40px; height:40px; border:0; background:none; cursor:pointer; }
  464.          .m-burger span{
  465.          display:block;
  466.          width:22px;
  467.          height:3px;
  468.          background:#F14816;
  469.          border-radius:2px;
  470.          margin:3px 0;
  471.          box-shadow:0 0 0 1px rgba(241,72,22,.08) inset;
  472.          }
  473.          .m-burger:focus-visible{ outline:2px solid #F14816; outline-offset:2px; }
  474.          .m-account i{
  475.          color:#F14816 !important;
  476.          font-weight:900;
  477.          font-size:1.25rem;
  478.          }
  479.          .m-ribbon{
  480.          height:22px; display:flex; align-items:center; justify-content:center;
  481.          background:#F14816; color:#fff; font-weight:700; font-size:10px; letter-spacing:.03em;
  482.          }
  483.          .m-drawer{ position:fixed; inset:0; z-index:70; }
  484.          .m-drawer[hidden]{ display:none !important; }
  485.          .m-drawer__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.45); z-index:0; }
  486.          .m-drawer__panel{
  487.          position:absolute; top:0; left:0; bottom:0; width:min(84vw,360px);
  488.          background:#fff; box-shadow:0 10px 30px rgba(0,0,0,.25);
  489.          padding:18px 14px; transform:translateX(-102%); transition:transform .2s ease;
  490.          z-index:1;
  491.          }
  492.          .m-drawer.open .m-drawer__panel{ transform:translateX(0); }
  493.          .m-drawer__close{ position:absolute; top:8px; right:8px; width:36px; height:36px; border:0; background:#f5f5f6; border-radius:8px; font-size:20px; }
  494.          .m-drawer__nav{ list-style:none; margin:48px 0 0; padding:0; display:grid; gap:10px; }
  495.          .m-drawer__nav a{
  496.          display:block; padding:12px 10px; border-radius:10px; color:#BA501D; font-weight:700; text-decoration:none;
  497.          }
  498.          .m-drawer__nav a:hover{ background:#f3f6f9; }
  499.          @media (max-width:768px){
  500.          .hero .container.hero-content{
  501.          display:flex; flex-direction:column; align-items:flex-start; gap:10px;
  502.          padding:140px 16px 88px !important;
  503.          text-align:left;
  504.          }
  505.          .hero .hero-kicker{ order:1; font-size:12px; }
  506.          .hero .hero-title{ order:2; font-size:clamp(22px,7vw,30px); margin:8px 0 4px; }
  507.          .hero .hero-ctas{ order:99; margin-top:6px; }   
  508.          .hero .hero-ctas .btn{ padding:12px 20px; }
  509.          .hero .hero-nav{ display:none !important; }    
  510.          .hero .hero-dots{ bottom:16px; }
  511.          }
  512.          @media (max-width: 640px){
  513.          .footer-grid{
  514.          display: grid !important;
  515.          grid-template-columns: 1fr;
  516.          gap: 20px;
  517.          align-items: start;
  518.          }
  519.          .footer-col{
  520.          display:block !important;
  521.          min-width:0;
  522.          }
  523.          .footer-col--about .footer-logo,
  524.          .footer-col--quality .qualio-badge{
  525.          justify-self:center;
  526.          margin-left:auto;
  527.          margin-right:auto;
  528.          }
  529.          .footer-col--about .footer-logo img,
  530.          .footer-col--about .footer-logo--secondary img,
  531.          .footer-col--quality .qualio-badge{
  532.          height:125px;
  533.          width:auto;
  534.          }
  535.          .footer-title{
  536.          text-align:center;
  537.          font-size:14px;
  538.          }
  539.          .footer-text,
  540.          .footer-list{
  541.          font-size:13px;
  542.          line-height:1.6;
  543.          }
  544.          .footer-col--news .news-col{
  545.          max-width:320px;
  546.          margin:8px auto 0;
  547.          display:grid;
  548.          grid-template-columns:1fr;
  549.          gap:10px;
  550.          }
  551.          .footer-col--news .news-submit{
  552.          display:block;
  553.          margin:10px auto 0;
  554.          min-width:180px;
  555.          border-radius:9999px;
  556.          }
  557.          }
  558.          @media (max-width: 767.98px){
  559.          #topnav{ display:none !important; }
  560.          :root{ --topbar-h: 0px !important; } 
  561.          }
  562.          :root{--aoca-orange:#BA501D}
  563.          .bg-aoca-orange{background-color:var(--aoca-orange)!important}
  564.          .aoca-orange-bar{background-color:var(--aoca-orange)}
  565.          .navbar .nav-link{font-size:14px;line-height:1.1}
  566.          .navbar-brand img{max-height:32px;width:auto;height:auto}
  567.          @media (width:1920px) and (height:1080px), (min-width:1920px){
  568.            #navbarindex ul{font-size:12px}
  569.            #navbarindex a.py-2{padding-top:.375rem;padding-bottom:.375rem}
  570.          }
  571.          html, body{
  572.   max-width:100%;
  573.   overflow-x:hidden;
  574. }
  575.          .nav-dd{ position:relative; }
  576.          .nav-dd__trigger{
  577.            display:inline-flex;
  578.            align-items:center;
  579.            gap:.5rem;
  580.            border:0;
  581.            background:transparent;
  582.            cursor:pointer;
  583.            padding: .5rem 0;
  584.            color: inherit;
  585.            font: inherit;
  586.            letter-spacing: inherit;
  587.            text-transform: inherit;
  588.            line-height: inherit;
  589.          }
  590.          .nav-dd__chev{ width:14px; height:14px; display:inline-block; transition:transform .15s ease; }
  591.          .nav-dd__menu{
  592.            display:none;
  593.            position:absolute;
  594.            left:50%;
  595.            top:100%;
  596.            transform:translateX(-50%);
  597.            margin-top:14px;
  598.            min-width: 360px;
  599.            max-width: min(520px, 80vw);
  600.            background:#fff;
  601.            border:1px solid rgba(229,231,235,1);
  602.            border-radius: 18px;
  603.            box-shadow: 0 18px 40px rgba(0,0,0,.12);
  604.            padding: 12px 0;
  605.            z-index: 1000;
  606.          }
  607.          .nav-dd__menu::before{
  608.            content:"";
  609.            position:absolute;
  610.            left:0;
  611.            right:0;
  612.            top:-14px;
  613.            height:14px;
  614.          }
  615.          .nav-dd:hover .nav-dd__menu,
  616.          .nav-dd:focus-within .nav-dd__menu{ display:block; }
  617.          .nav-dd:hover .nav-dd__chev,
  618.          .nav-dd:focus-within .nav-dd__chev{ transform: rotate(180deg); }
  619.          .nav-dd__menu a{
  620.            display:block;
  621.            padding: 12px 18px;
  622.            color:#4B5563;
  623.            font-weight:600;
  624.            text-transform:none;
  625.            letter-spacing:0;
  626.            white-space:nowrap;
  627.          }
  628.          .nav-dd__menu a:hover{
  629.            background:#F3F6F9;
  630.            color:#111827;
  631.          }
  632.          .nav-dd__menu a.is-active{ color:#F14816; }
  633.          .m-subnav__btn{
  634.            width:100%;
  635.            display:flex;
  636.            align-items:center;
  637.            justify-content:space-between;
  638.            padding:12px 10px;
  639.            border-radius:10px;
  640.            color:#BA501D;
  641.            font-weight:700;
  642.            background:transparent;
  643.            border:0;
  644.            cursor:pointer;
  645.          }
  646.          .m-subnav__btn:hover{ background:#f3f6f9; }
  647.          .m-subnav__list{
  648.            list-style:none;
  649.            padding:0;
  650.            margin: 6px 0 0;
  651.            display:grid;
  652.            gap:6px;
  653.          }
  654.          .m-subnav__list[hidden]{ display:none !important; }
  655.          .m-subnav__list a{
  656.            display:block;
  657.            padding:10px 10px 10px 14px;
  658.            border-radius:10px;
  659.            color:#4B5563;
  660.            font-weight:700;
  661.            text-decoration:none;
  662.          }
  663.          .m-subnav__list a:hover{ background:#f3f6f9; color:#111827; }
  664.          .m-subnav__list a.is-active{ color:#F14816; }
  665.       </style>
  666.       <script>
  667.          function onReady2(callback) {
  668.              var intervalId = window.setInterval(function() {
  669.                  if (document.getElementsByTagName('body')[0] !== undefined) {
  670.                  window.clearInterval(intervalId);
  671.                  callback.call(this);
  672.                  }
  673.              }, 100);
  674.          }
  675.          
  676.          function setVisible2(selector, visible) {
  677.              document.querySelector(selector).style.display = visible ? 'block' : 'none';
  678.          }
  679.          
  680.          window.onload = function(e){ 
  681.              onReady2(function() {
  682.                  setVisible2('#loading', false);
  683.              });
  684.          }
  685.       </script>
  686.    </head>
  687.    {% set route_name = app.request.attributes.get('_route') %}
  688.    {% set is_home = route_name in ['home','homepage','app_home','website_home','front_home'] %}
  689.    <body class="{{ is_home ? 'is-home' : '' }}">
  690.       <div id="loading"></div>
  691.       <div class="mx-auto overflow-x-hidden {% if route_name == 'student_lms_course_read' %}StudentContainer{% endif %}">
  692.          {% set route_name = app.request.attributes.get('_route') %}
  693.          {% set is_home = route_name in ['home','homepage','app_home','website_home','front_home'] %}
  694.          {% set route_name = app.request.attributes.get('_route') %}
  695.          {% set path      = app.request.pathinfo %}
  696.          {% set locale    = app.request.locale|split('_')[0] %}
  697.          {% set is_home =
  698.          route_name in ['home','homepage','app_home','website_home','front_home'] 
  699.          or path == '/'                                                             
  700.          or path == '/' ~ locale
  701.          %}
  702.          {% set eventRibbonText = eventRibbonText|default(
  703.          'JEUDI 5 ET VENDREDI 6 DÉCEMBRE 2024 · HÔTEL ARAWAK · GOSIER, GUADELOUPE'
  704.          ) %}
  705.          <header class="{{ is_home ? 'absolute top-0 left-0 right-0 z-50' : 'relative z-10' }}">
  706.             {% block header %}
  707.             <div id="topnav" style="background-color: #041F60;">
  708.                <div class="container mx-auto px-3">
  709.                   <div class="flex flex-wrap items-center gap-x-6 gap-y-2 py-2 text-white">
  710.                      <div class="text-left font-[600]">
  711.                         Avez-vous une question?
  712.                      </div>
  713.                      <div class="flex items-center gap-2 whitespace-nowrap text-sm">
  714.                         <a href="tel:+0590445599"> Tel: 05 90 44 55 99</a>
  715.                      </div>
  716.                      <div class="flex items-center gap-2 text-sm">
  717.                         <a href="mailto:contact@acoa.fr">contact@acoa.fr</a>
  718.                      </div>
  719.                      <div class="flex items-center gap-2 min-w-0 flex-1 text-sm">
  720.                         <p class="truncate xl:whitespace-normal">
  721.                            7 Immeuble Plein Sud – rue Claude Emmanuel Blandin – ZAC de Moudong Sud 97122 BAIE-MAHAULT (Guadeloupe)
  722.                         </p>
  723.                      </div>
  724.                      <div class="ml-auto md:flex">
  725.                         {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  726.                         <div id="login" class="mt-2">
  727.                            <button class="loginConnected h-8 rounded-full -mt-1 text-white inline-flex items-center justify-center gap-2 px-4">
  728.                            <a href="{{ path('backend_my_account') }}">Mon compte</a>
  729.                            <span class="px-1" aria-hidden="true">|</span>
  730.                            <a href="{{ path('app_logout') }}">Deconnexion</a>
  731.                            </button>
  732.                         </div>
  733.                         {% else %}
  734.                         <div id="login" class="mt-2">
  735.                            <button class="loginDeconnected h-8 rounded-full -mt-1 text-white inline-flex items-center justify-center gap-2 px-4">
  736.                            <i class="fa-solid fa-user text-[#F14816] text-base leading-none align-middle"></i>
  737.                            <a href="{{ path('login') }}">Login</a>
  738.                            <span class="px-1" aria-hidden="true">|</span>
  739.                            <a href="{{ path('login') }}">Inscription</a>
  740.                            </button>
  741.                         </div>
  742.                         {% endif %}
  743.                      </div>
  744.                   </div>
  745.                </div>
  746.             </div>
  747.            <div class="m-header md:hidden">
  748.   <div class="container mx-auto px-3 h-14 flex items-center justify-between">
  749.     <button class="m-burger" style="height:20px;" type="button"
  750.             aria-controls="m-drawer" aria-expanded="false"
  751.             aria-label="Ouvrir le menu">
  752.       <span></span><span></span><span></span>
  753.     </button>
  754.     <a class="m-brand" href="{{ path('homepage') }}" aria-label="Accueil">
  755.       <img src="{{ asset('/images/logo_acoa.png') }}" style="height:30px;" alt="ACOA" class="h-7 w-auto">
  756.     </a>
  757.     {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  758.       <a class="m-account" href="{{ path('backend_my_account') }}" aria-label="Mon compte">
  759.         <i class="fa-solid fa-user text-[#F14816] text-xl font-black"></i>
  760.       </a>
  761.     {% else %}
  762.       <a class="m-account" href="{{ path('login') }}" aria-label="Se connecter">
  763.         <i class="fa-solid fa-user text-[#F14816] text-xl font-black"></i>
  764.       </a>
  765.     {% endif %}
  766.   </div>
  767.  {% if is_home %}
  768.   <div class="m-ribbon">
  769.     <span class="home-event-text">{{ eventRibbonText }}</span>
  770.   </div>
  771. {% endif %}
  772. </div>
  773.             <nav id="m-drawer" class="m-drawer md:hidden" hidden>
  774.                <div class="m-drawer__panel" role="dialog" aria-modal="true" aria-label="Navigation">
  775.                   <button class="m-drawer__close" type="button" aria-label="Fermer le menu">×</button>
  776.                   {% set current_path = app.request.pathInfo %}
  777.                   {% set dom_paths = [
  778.                     '/organisation-sociale-medico-social',
  779.                     '/management',
  780.                     '/evolution-transition-pro',
  781.                     '/gestion-des-risques',
  782.                     '/mobilisation-et-cohesion-d-equipes',
  783.                     '/equipe-cadres-managers',
  784.                     '/organisation-travail-approche-qualite',
  785.                     '/elaboration-et-conduite-de-projet',
  786.                     '/sante-au-travail'
  787.                   ] %}
  788.                   {% set pre_routes = ['catalog_professionnel','catalog_entreprise'] %}
  789.                   <ul class="m-drawer__nav" role="list">
  790.                      <li><a href="{{ path('homepage') }}">Accueil</a></li>
  791.                      <li><a href="/about">Qui sommes-nous ?</a></li>
  792.                      <li class="m-subnav">
  793.                         <button class="m-subnav__btn" type="button" aria-expanded="false" aria-controls="m-subnav-dom">
  794.                           <span>Domaines de compétences</span>
  795.                           <i class="fa-solid fa-chevron-down" aria-hidden="true"></i>
  796.                         </button>
  797.                         <ul id="m-subnav-dom" class="m-subnav__list" hidden>
  798.                           <li><a class="{% if current_path == '/organisation-sociale-medico-social' %}is-active{% endif %}" href="/organisation-sociale-medico-social">Organisation sociale &amp; médico sociale</a></li>
  799.                           <li><a class="{% if current_path == '/management' %}is-active{% endif %}" href="/management">Management des ressources humaines</a></li>
  800.                           <li><a class="{% if current_path == '/gestion-des-risques' %}is-active{% endif %}" href="/gestion-des-risques">Gestion globale des risques, des crises &amp; développement durable</a></li>
  801.                           <li><a class="{% if current_path == '/evolution-transition-pro' %}is-active{% endif %}" href="/evolution-transition-pro">Évolution et transition professionnelle</a></li>
  802.                           <li><a class="{% if current_path == '/mobilisation-et-cohesion-d-equipes' %}is-active{% endif %}" href="/mobilisation-et-cohesion-d-equipes">Mobilisation et cohésion d’équipes</a></li>
  803.                           <li><a class="{% if current_path == '/equipe-cadres-managers' %}is-active{% endif %}" href="/equipe-cadres-managers">Equipe de cadres et managers</a></li>
  804.                           <li><a class="{% if current_path == '/organisation-travail-approche-qualite' %}is-active{% endif %}" href="/organisation-travail-approche-qualite">Organisation du travail par l’approche qualité</a></li>
  805.                           <li><a class="{% if current_path == '/elaboration-et-conduite-de-projet' %}is-active{% endif %}" href="/elaboration-et-conduite-de-projet">Élaboration et conduite de projet</a></li>
  806.                           <li><a class="{% if current_path == '/sante-au-travail' %}is-active{% endif %}" href="/sante-au-travail">Santé au travail</a></li>
  807.                         </ul>
  808.                      </li>
  809.                      <li class="m-subnav">
  810.                         <button class="m-subnav__btn" type="button" aria-expanded="false" aria-controls="m-subnav-pre">
  811.                           <span>Prestations</span>
  812.                           <i class="fa-solid fa-chevron-down" aria-hidden="true"></i>
  813.                         </button>
  814.                         <ul id="m-subnav-pre" class="m-subnav__list" hidden>
  815.                           <li><a class="{% if route_name == 'catalog_professionnel' %}is-active{% endif %}" href="{{ path('catalog_professionnel') }}">Actions de formation</a></li>
  816.                           <li><a class="{% if route_name == 'catalog_entreprise' %}is-active{% endif %}" href="{{ path('catalog_entreprise') }}">Interventions en entreprise</a></li>
  817.                         </ul>
  818.                      </li>
  819.                      <li><a href="{{ path('_contact') }}">Contact</a></li>
  820.                   </ul>
  821.                </div>
  822.                <div class="m-drawer__backdrop" tabindex="-1" aria-hidden="true"></div>
  823.             </nav>
  824.             {% block navbar %}
  825.             {% set route_name = app.request.attributes.get('_route') %}
  826.            <style>
  827. #navbarindex .nav-logo{display:flex;align-items:center;justify-content:center;height:64px;padding-left:16px;padding-right:24px;line-height:0}
  828. #navbarindex .nav-logo img{height:38px;width:auto;display:block}
  829. @media (min-width:768px){
  830.   #navbarindex .nav-logo img{height:40px}
  831. }
  832. @media (width:1920px) and (height:1080px), (min-width:1920px){
  833.   #navbarindex .nav-logo img{height:32px}
  834. }
  835. </style>
  836. {% set current_path = app.request.pathInfo %}
  837. {% set dom_paths = [
  838.   '/organisation-sociale-medico-social',
  839.   '/management',
  840.   '/gestion-des-risques',
  841.   '/evolution-transition-pro',
  842.   '/mobilisation-et-cohesion-d-equipes',
  843.   '/equipe-cadres-managers',
  844.   '/organisation-travail-approche-qualite',
  845.   '/elaboration-et-conduite-de-projet',
  846.   '/sante-au-travail'
  847. ] %}
  848. {% set pre_routes = ['catalog_professionnel','catalog_entreprise'] %}
  849. {% set dom_active = current_path in dom_paths %}
  850. {% set pre_active = route_name in pre_routes %}
  851. <div id="navbarindex" class="{{ is_home ? 'home-nav-overlay' : 'bg-white shadow' }}">
  852.   <div class="container mx-auto px-3">
  853.     <div class="bg-white rounded-full shadow-md border border-gray-100 flex items-center min-h-[64px] px-3 sm:px-4">
  854.       <a href="{{ path('homepage') }}" class="nav-logo shrink-0">
  855.         <img src="{{ asset('/images/logo_acoa.png') }}" alt="acoa">
  856.       </a>
  857.       <nav class="flex-1">
  858.         <ul class="flex justify-center items-center gap-6 lg:gap-10 text-[#BA501D] font-semibold uppercase text-sm md:text-base">
  859.           <li><a class="py-2 {% if route_name == 'homepage' %}text-[#F14816]{% endif %}" href="{{ path('homepage') }}">ACCUEIL</a></li>
  860.           <li><a class="py-2 {% if app.request.pathInfo == '/about' %}text-[#F14816]{% endif %}" href="/about">QUI SOMMES-NOUS ?</a></li>
  861.           <li class="nav-dd">
  862.             <button type="button" class="nav-dd__trigger {% if dom_active %}text-[#F14816]{% endif %}" aria-haspopup="true">
  863.               <span>DOMAINES DE COMPÉTENCES</span>
  864.               <svg class="nav-dd__chev" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  865.                 <path fill-rule="evenodd" d="M5.23 7.21a.75.75 0 0 1 1.06.02L10 10.94l3.71-3.71a.75.75 0 1 1 1.06 1.06l-4.24 4.24a.75.75 0 0 1-1.06 0L5.21 8.29a.75.75 0 0 1 .02-1.08z" clip-rule="evenodd"></path>
  866.               </svg>
  867.             </button>
  868.             <div class="nav-dd__menu" role="menu" aria-label="Domaines de compétences">
  869.               <a role="menuitem" class="{% if current_path == '/organisation-sociale-medico-social' %}is-active{% endif %}" href="/organisation-sociale-medico-social">Organisation sociale &amp; médico sociale</a>
  870.               <a role="menuitem" class="{% if current_path == '/management' %}is-active{% endif %}" href="/management">Management des ressources humaines</a>
  871.               <a role="menuitem" class="{% if current_path == '/gestion-des-risques' %}is-active{% endif %}" href="/gestion-des-risques">Gestion globale des risques, des crises &amp; développement durable</a>
  872.               <a role="menuitem" class="{% if current_path == '/evolution-transition-pro' %}is-active{% endif %}" href="/evolution-transition-pro">Évolution et transition professionnelle</a>
  873.               <a role="menuitem" class="{% if current_path == '/mobilisation-et-cohesion-d-equipes' %}is-active{% endif %}" href="/mobilisation-et-cohesion-d-equipes">Mobilisation et cohésion d’équipes</a>
  874.               <a role="menuitem" class="{% if current_path == '/equipe-cadres-managers' %}is-active{% endif %}" href="/equipe-cadres-managers">Equipe de cadres et managers</a>
  875.               <a role="menuitem" class="{% if current_path == '/organisation-travail-approche-qualite' %}is-active{% endif %}" href="/organisation-travail-approche-qualite">Organisation du travail par l’approche qualité</a>
  876.               <a role="menuitem" class="{% if current_path == '/elaboration-et-conduite-de-projet' %}is-active{% endif %}" href="/elaboration-et-conduite-de-projet">Élaboration et conduite de projet</a>
  877.               <a role="menuitem" class="{% if current_path == '/sante-au-travail' %}is-active{% endif %}" href="/sante-au-travail">Santé au travail</a>
  878.             </div>
  879.           </li>
  880.           <!--<li class="nav-dd">
  881.             <button type="button" class="nav-dd__trigger {% if pre_active %}text-[#F14816]{% endif %}" aria-haspopup="true">
  882.               <span>PRESTATIONS</span>
  883.               <svg class="nav-dd__chev" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  884.                 <path fill-rule="evenodd" d="M5.23 7.21a.75.75 0 0 1 1.06.02L10 10.94l3.71-3.71a.75.75 0 1 1 1.06 1.06l-4.24 4.24a.75.75 0 0 1-1.06 0L5.21 8.29a.75.75 0 0 1 .02-1.08z" clip-rule="evenodd"></path>
  885.               </svg>
  886.             </button>
  887.             <div class="nav-dd__menu" role="menu" aria-label="Prestations">
  888.               <a role="menuitem" class="{% if route_name == 'catalog_professionnel' %}is-active{% endif %}" href="{{ path('catalog_professionnel') }}">Actions de formation</a>
  889.               <a role="menuitem" class="{% if route_name == 'catalog_entreprise' %}is-active{% endif %}" href="{{ path('catalog_entreprise') }}">Interventions en entreprise</a>
  890.             </div>
  891.           </li>-->
  892.           <li><a class="py-2 {% if route_name == '_contact' %}text-[#F14816]{% endif %}" href="{{ path('_contact') }}">CONTACT</a></li>
  893.         </ul>
  894.       </nav>
  895.       <div class="shrink-0 w-10 md:w-14"></div>
  896.     </div>
  897.   </div>
  898. </div>
  899.             {% endblock %}
  900.             <script>
  901.                document.getElementById('navToggle')?.addEventListener('click', () => {
  902.                  const el = document.getElementById('mobileNav');
  903.                  el.classList.toggle('hidden');
  904.                });
  905.             </script>
  906.             {% endblock %}
  907.          </header>
  908.          <main>
  909.             {% block content %}{% endblock %}
  910.          </main>
  911.          {% block footer %}
  912.          <footer class="flex flex-col {% if route_name == 'student_lms_course_read' %}StudentFooter{% endif %}">
  913.   <div class="text-white" style="background:#16235E; font-family:Poppins;">
  914.     <div class="boxFooter mx-auto py-10 px-6">
  915.       <div class="footer-grid">
  916.         <section class="footer-col footer-col--about">
  917.           <div class="footer-logo">
  918.             <img src="{{ asset('/images/logo_acoa.png')|replace({' ': '%20'}) }}" alt="ACOA">
  919.           </div>
  920.           <p class="footer-text">
  921.             Pour toute prestation ou partenariat, bénéficiez d'un accompagnement adapté et des
  922.             solutions d'une équipe dédiée pour tous vos projets d'entreprise. Nous avons sûrement
  923.             une solution pour vous.
  924.           </p>
  925.           <div class="footer-logo footer-logo--secondary">
  926.             <img src="{{ asset('assets/img/logo-guadeloupe.png')|replace({' ': '%20'}) }}" alt="ACOA - L’énergie du changement">
  927.           </div>
  928.         </section>
  929.         <section class="footer-col footer-col--quality">
  930.           <h3 class="footer-title">Qualité et certification</h3>
  931.           <a href="https://www.dropbox.com/scl/fi/zkw0uqey6dkpu2iws7536/Certificat-Qualiopi-ACOA-SARL.pdf?rlkey=dovm2ge3x9joont4i8fp4tqx5&e=1&dl=0" target="_blank" rel="noopener noreferrer" aria-label="Ouvrir le certificat Qualiopi (nouvel onglet)">
  932.             <img src="{{ asset('assets/img/new-logo-qualiopi.png')|replace({' ': '%20'}) }}" alt="Qualiopi" class="qualio-badge">
  933.           </a>
  934.           <p class="footer-text mt-4">
  935.             La certification Qualiopi a été délivrée au cabinet ACOA au titre des catégories d’actions suivantes&nbsp;:
  936.           </p>
  937.           <ul class="footer-list">
  938.             <li>Action de formation</li>
  939.             <li>Bilan de compétences</li>
  940.           </ul>
  941.         </section>
  942.         <section class="footer-col footer-col--links">
  943.           <h3 class="footer-title">À propos de nous</h3>
  944.           <ul class="footer-list">
  945.             <li><a href="/about">Qui sommes-nous</a></li>
  946.             <li><a href="{{ path('_contact') }}">Contact</a></li>
  947.             <li><a href="/politique-de-confidentialite">Politique de confidentialité</a></li>
  948.             <li><a href="/conditions-generales-de-vente">Conditions Générales de ventes</a></li>
  949.           </ul>
  950.         </section>
  951.         <section class="footer-col footer-col--news">
  952.           <h3 class="footer-title">ABONNEZ VOUS A NOTRE NEWSLETTER</h3>
  953.           <form class="news-form" action="#" method="post">
  954.             <div class="news-col">
  955.               <input type="text" name="lastname" placeholder="Nom">
  956.               <input type="text" name="firstname" placeholder="Prénom">
  957.               <input type="email" name="email" placeholder="Email">
  958.             </div>
  959.             <button type="submit" class="news-submit">Abonnez-vous</button>
  960.           </form>
  961.         </section>
  962.       </div>
  963.     </div>
  964.   </div>
  965. </footer>
  966.          {% block javascripts %}
  967.          <script src="https://unpkg.com/flowbite@1.3.4/dist/flowbite.js"></script>
  968.          {{ encore_entry_script_tags('app') }}
  969.          <script>
  970.             const btn = document.querySelector('.btn');
  971.             
  972.                 btn.addEventListener('click', () => {
  973.             
  974.                     window.scrollTo({
  975.                         top: 0,
  976.                         left: 0,
  977.                         behavior: "smooth"
  978.                     })
  979.             
  980.                 })
  981.                 
  982.          </script>
  983.          <script>
  984.             window.onscroll = function() {myFunction()};
  985.             
  986.                
  987.                 var header = document.getElementById("navbarindex");
  988.             
  989.                
  990.                 var sticky = header.offsetTop;
  991.             
  992.                 function myFunction() {
  993.                 if (window.pageYOffset > sticky) {
  994.                     header.classList.add("sticky");
  995.                 } else {
  996.                     header.classList.remove("sticky");
  997.                 }
  998.             }
  999.             
  1000.             function DisplayFond() {
  1001.                 var x = document.getElementById('MenuM');
  1002.                 var fdnoir = document.getElementById('fdBlack');
  1003.                 
  1004.                 if (x.style.display === 'none') {
  1005.                     x.style.display = 'block';
  1006.                     fdnoir.style.display = 'block';
  1007.                 } else {
  1008.                     x.style.display = 'none';
  1009.                     fdnoir.style.display = 'none';
  1010.                 }
  1011.             }
  1012.             function DisplayMenu() {
  1013.                 var x = document.getElementById('MenuM');
  1014.                 var fdnoir = document.getElementById('fdBlack');
  1015.                 x.style.display = 'block';
  1016.                 fdnoir.style.display = 'none';
  1017.             }
  1018.             
  1019.             function HideMenu() {
  1020.                 var x = document.getElementById('MenuM');
  1021.                 var fdnoir = document.getElementById('fdBlack');
  1022.                 x.style.display = 'none';
  1023.                 fdnoir.style.display = 'none';
  1024.             }
  1025.             
  1026.             function sayHi(){
  1027.                 var largeur = window.innerWidth;
  1028.                
  1029.                 if(largeur > 767) {
  1030.                     DisplayMenu();
  1031.                 }
  1032.                 if(largeur < 768) {
  1033.                     HideMenu();
  1034.                 }
  1035.             }
  1036.             
  1037.             window.onresize = sayHi;
  1038.             
  1039.             
  1040.             
  1041.          </script>
  1042.          <script type="application/javascript">
  1043.             const btnShow = document.querySelectorAll('div.input-eye i');
  1044.             
  1045.             btnShow.forEach(item =>{
  1046.                 let show = false;
  1047.                 item.addEventListener('click', ()=>{
  1048.                     show = !show;
  1049.             
  1050.                     item.parentElement.children[0].setAttribute(
  1051.                         'type',
  1052.                         show ? 'text' : 'password'
  1053.                     );
  1054.             
  1055.                     item.parentElement.children[1].setAttribute(
  1056.                         'class',
  1057.                         show ? 'fa-solid fa-eye-slash' : 'fa-solid fa-eye'
  1058.                     );
  1059.                 });
  1060.             });
  1061.             
  1062.          </script>
  1063.          <script src="https://code.jquery.com/jquery-3.6.0.js"></script>
  1064.          <script src="https://code.jquery.com/ui/1.13.1/jquery-ui.js"></script>
  1065.          <script type="text/javascript">
  1066.             document.addEventListener("DOMContentLoaded", function() {
  1067.                 const navigation = $( "div.navigation" );
  1068.                 navigation.addClass("w-full flex justify-center mx-auto mt-2 pt-2"); 
  1069.                 
  1070.                 const pagination = $("div.pagination"); 
  1071.                 pagination.addClass("flex mx-1 px-1 inline-flex items-center -space-x-px");
  1072.                 pagination.children().addClass('h-6 px-5 text-gray-600 bg-white border border-gray-600');
  1073.                 const current = $("span.current"); 
  1074.                 current.addClass("h-6 px-5 bg-gray-400 border border-gray-500");
  1075.             });
  1076.             
  1077.          </script>
  1078.          <script>
  1079.             function onReady(callback) {
  1080.                 var intervalId = window.setInterval(function() {
  1081.                     if (document.getElementsByTagName('body')[0] !== undefined) {
  1082.                     window.clearInterval(intervalId);
  1083.                     callback.call(this);
  1084.                     }
  1085.                 }, 1000);
  1086.             }
  1087.             
  1088.             function setVisible(selector, visible) {
  1089.                 document.querySelector(selector).style.display = visible ? 'block' : 'none';
  1090.             }
  1091.             
  1092.             window.onload = function(e){ 
  1093.                 onReady(function() {
  1094.                     setVisible('#loading', false);
  1095.                 });
  1096.             
  1097.                 document.getElementById("MenuDropImg").onclick = function(){
  1098.                     DisplayFond();
  1099.                 }; 
  1100.                 document.getElementById("fdBlack").onclick = function(){
  1101.                     DisplayFond();
  1102.                 }; 
  1103.             }
  1104.             
  1105.             function set_alpha_lock()
  1106.             {
  1107.                 $(".numeric_input").keypress(function(event)
  1108.                 {
  1109.                     var allowed_list = ["0","1","2","3","4","5","6","7","8","9",".",","];
  1110.                     var x = event.key;
  1111.                     
  1112.                     if (allowed_list.indexOf(x)==-1) {
  1113.                         return false;
  1114.                     }
  1115.                 });
  1116.             }
  1117.             
  1118.             $(document).ready(function() {
  1119.                     set_alpha_lock();
  1120.                 });
  1121.                 
  1122.          </script>
  1123.          <script>
  1124.             (function () {
  1125.               const drawer   = document.getElementById('m-drawer');
  1126.               const burger   = document.querySelector('.m-burger');
  1127.               const closeBtn = drawer?.querySelector('.m-drawer__close');
  1128.               const backdrop = drawer?.querySelector('.m-drawer__backdrop');
  1129.             
  1130.               if (!drawer || !burger) return;
  1131.             
  1132.               function open(){
  1133.                 drawer.hidden = false;
  1134.                 requestAnimationFrame(()=> drawer.classList.add('open'));
  1135.                 burger.setAttribute('aria-expanded','true');
  1136.                 document.body.style.overflow = 'hidden';
  1137.               }
  1138.               function close(){
  1139.                 drawer.classList.remove('open');
  1140.                 burger.setAttribute('aria-expanded','false');
  1141.                 document.body.style.overflow = '';
  1142.                 setTimeout(()=>{ drawer.hidden = true; }, 200);
  1143.               }
  1144.             
  1145.               burger.addEventListener('click', () => drawer.hidden ? open() : close());
  1146.               closeBtn?.addEventListener('click', close);
  1147.               backdrop?.addEventListener('click', close);
  1148.               document.addEventListener('keydown', e => { if (e.key === 'Escape' && !drawer.hidden) close(); });
  1149.             })();
  1150.          </script>
  1151.          <script>
  1152.             document.addEventListener('DOMContentLoaded', function(){
  1153.               const btns = document.querySelectorAll('.m-subnav__btn');
  1154.               btns.forEach(function(btn){
  1155.                 btn.addEventListener('click', function(){
  1156.                   const controls = btn.getAttribute('aria-controls');
  1157.                   const panel = controls ? document.getElementById(controls) : null;
  1158.                   if(!panel) return;
  1159.                   const isOpen = !panel.hasAttribute('hidden');
  1160.                   if(isOpen){
  1161.                     panel.setAttribute('hidden','hidden');
  1162.                     btn.setAttribute('aria-expanded','false');
  1163.                   }else{
  1164.                     panel.removeAttribute('hidden');
  1165.                     btn.setAttribute('aria-expanded','true');
  1166.                   }
  1167.                 });
  1168.               });
  1169.             });
  1170.          </script>
  1171.          <script>
  1172.             document.addEventListener('DOMContentLoaded',function(){
  1173.               var track=document.querySelector('.hero-track');
  1174.               if(!track)return;
  1175.               var slides=Array.prototype.slice.call(track.querySelectorAll('article[data-scope]'));
  1176.               if(!slides.length)return;
  1177.               var index=0;
  1178.               var prevBtn=document.querySelector('.hero-nav.prev');
  1179.               var nextBtn=document.querySelector('.hero-nav.next');
  1180.               function getRibbonText(slide){
  1181.                 return slide.getAttribute('data-ribbon-text')||'';
  1182.               }
  1183.               function getRibbonScope(slide){
  1184.                 return slide.getAttribute('data-ribbon-scope')||'';
  1185.               }
  1186.               function updateRibbon(slide){
  1187.                 var text=getRibbonText(slide);
  1188.                 var scope=getRibbonScope(slide);
  1189.                 var ribbons=[document.querySelector('.home-event-ribbon'),document.querySelector('.m-ribbon')];
  1190.                 ribbons.forEach(function(ribbon){
  1191.                   if(!ribbon)return;
  1192.                   var input=ribbon.querySelector('input.home-event-text');
  1193.                   var span=ribbon.querySelector('span.home-event-text');
  1194.                   var scopeInput=ribbon.querySelector('input[name="scope"]');
  1195.                   if(input)input.value=text;
  1196.                   if(span)span.textContent=text;
  1197.                   if(scopeInput)scopeInput.value=scope;
  1198.                 });
  1199.               }
  1200.               function goTo(i){
  1201.                 index=(i+slides.length)%slides.length;
  1202.                 slides.forEach(function(slide,idx){
  1203.                   if(idx===index){
  1204.                     slide.removeAttribute('hidden');
  1205.                     slide.classList.add('is-active');
  1206.                   }else{
  1207.                     slide.setAttribute('hidden','hidden');
  1208.                     slide.classList.remove('is-active');
  1209.                   }
  1210.                 });
  1211.                 updateRibbon(slides[index]);
  1212.               }
  1213.               if(prevBtn)prevBtn.addEventListener('click',function(){goTo(index-1);});
  1214.               if(nextBtn)nextBtn.addEventListener('click',function(){goTo(index+1);});
  1215.               goTo(0);
  1216.             });
  1217.          </script>
  1218.          {% endblock %}
  1219.          {% endblock %}
  1220.       </div>
  1221. <style></style>
  1222.    </body>
  1223. </html>