.nav {
background: #ffffff;
position: fixed;
height: calc(100% - 60px);
left: -100%;
width: 24rem;
display: flex;
flex-direction: column;
transition: all 0.2s ease-in-out;
bottom: 0;
z-index: 2;
box-shadow: inset 0px 10px 6px -8px rgba(0, 0, 0, 0.1);
}
.open.nav {
left: 0;
}
.nav li a {
color: var(--e-global-color-primary);
display: flex;
align-items: center;
gap: 1rem;
width: 100%;
}
.admin-bar .nav {
height: calc(100% - 60px - 32px);
}
.menu,
.menu ul {
list-style: none;
margin: 0;
padding: 0;
}
.menu>li {
position: relative;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding-right: 1rem;
}
.menu>li>a {
padding: 0.75rem 1rem;
}
.menu>li:hover>a,
.menu>li:hover::after {
color: white;
}
.menu>li>ul {
display: none;
position: fixed;
height: calc(100% - 60px);
left: 24rem;
background: rgb(255, 255, 255);
bottom: 0;
overflow: auto;
padding: 1rem 2rem;
min-width: 550px;
box-shadow: inset 0px 10px 6px -8px rgba(0, 0, 0, 0.1);
}
.admin-bar .menu>li>ul {
height: calc(100% - 60px - 32px);
}
.menu>li:hover>ul,
.menu>li>a:focus+ul {
display: block;
}
.menu>li>ul li>a {
font-weight: 700;
color: var(--e-global-color-primary);
}
.menu>li>ul li>ul>li>a {
font-weight: 400;
margin-left: 1rem;
color: hsla(208, 81%, 24%, 0.8);
margin-bottom: 0.5rem;
}
.menu>li>ul>li a:hover {
text-decoration: underline;
}
.menu>li>ul>li>ul {
padding-left: 1rem;
}
.menu>li>ul>li>ul {}
.menu>li>ul>li>ul>li>ul {
padding-left: 1rem;
}
.menu>li>ul>li>ul>li>ul>li>ul {
padding-left: 1rem;
}
.icon-container {
display: flex;
justify-content: space-between;
}
.icon-box {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: white;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
}
.icon-box a {
padding: 1rem;
}
.icon-box svg {
width: 1.75rem;
}
.icon-box svg path {
fill: var(--e-global-color-primary);
}
.icon-box a {
color: var(--e-global-color-primary);
}
.follow-us-banner {
margin-top: 20px;
margin-bottom: 20px;
text-align: center;
background: #f4f4f4;
padding: 15px;
border-top: 1px solid #ddd;
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
background-color: white;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
color: var(--e-global-color-primary);
}
.flex-justify-container {
margin-top: auto;
padding: 20px;
padding-bottom: 0;
}
.menu-btn {
background-color: var(--e-global-color-primary);
gap: 0.5rem;
color: white;
border: none;
padding: 1.25rem;
display: flex;
align-items: center;
cursor: pointer;
justify-content: center;
min-height: 60px;
left: 0;
top: 0;
}
.admin-bar .menu-btn {
top: 32px;
}
.menu-btn svg {
width: 17px;
height: 17px;
}
.social-icons {
gap: 1rem;
display: flex;
align-items: center;
}
.social-icons img {
display: block;
} @media (min-width: 992px) {
li.urbanisme:hover {
background: var(--urbanisme-logement-commerces);
}
li.urbanisme>ul {
border-left: 4px solid var(--urbanisme-logement-commerces);
background: var(--urbanisme-logement-commerces-secondary);
}
li.publique:hover {
background: var(--tranquillite-publique);
}
li.publique:hover>ul {
border-left: 4px solid var(--tranquillite-publique);
background: var(--tranquillite-publique-secondary);
}
li.famille:hover {
background: var(--famille-et-education);
}
li.famille:hover>ul {
border-left: 4px solid var(--famille-et-education);
background: var(--famille-et-education-secondary);
}
li.associative:hover {
background: var(--vie-associative-culturelle-et-sportive);
}
li.associative:hover>ul {
border-left: 4px solid var(--vie-associative-culturelle-et-sportive);
background: var(--vie-associative-culturelle-et-sportive-secondary);
}
li.action-sociale:hover {
background: var(--action-sociale);
}
li.action-sociale:hover>ul {
border-left: 4px solid var(--action-sociale);
background: var(--action-sociale-secondary);
}
li.cadre-de-vie:hover {
background: var(--cadre-de-vie);
}
li.cadre-de-vie:hover>ul {
border-left: 4px solid var(--cadre-de-vie);
background: var(--cadre-de-vie-secondary);
}
li.vie-municipale:hover {
background: var(--vie-municipale-et-democratie-locale);
}
li.vie-municipale:hover>ul {
border-left: 4px solid var(--vie-municipale-et-democratie-locale);
background: var(--vie-municipale-et-democratie-locale-secondary);
}
li.consultations:hover {
background: var(--consultations-et-demarches-administratives-en-ligne);
}
li.consultations:hover>ul {
border-left: 4px solid var(--consultations-et-demarches-administratives-en-ligne);
background: var(--consultations-et-demarches-administratives-en-ligne-secondary);
}
li.recrute:hover {
background: var(--votre-ville-recrute);
}
li.recrute:hover>ul {
border-left: 4px solid var(--votre-ville-recrute);
background: var(--votre-ville-recrute-secondary);
}
} .nav-mobile {
left: 0;
position: fixed;
bottom: 0;
width: 100%;
height: 80px;
background: white;
box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
display: none;
flex-direction: row;
justify-content: space-between;
padding: 0 1rem;
z-index: 2;
}
.nav-mobile ul {
display: flex;
flex-direction: row;
list-style: none;
margin: 0;
padding: 0;
gap: 0.75rem;
justify-content: space-between;
align-items: center;
width: 100%;
}
.nav-mobile ul li {
flex: 1;
}
.nav-mobile ul li a {
font-size: 0.75rem;
color: var(--e-global-color-primary);
}
.nav-mobile ul li a {
display: flex;
flex-direction: column;
align-items: center;
}
@media (max-width: 992px) {
.menu>li:hover>a, .menu>li:hover::after {
color: var(--e-global-color-primary);
}
.menu>li.reveal>a, .menu>li.reveal::after {
color: white;
}  li.reveal.urbanisme {
background: var(--urbanisme-logement-commerces);
}
li.urbanisme>ul.submenu-open {
border-left: 4px solid var(--urbanisme-logement-commerces);
background: var(--urbanisme-logement-commerces-secondary);
} li.reveal.publique {
background: var(--tranquillite-publique);
}
li.publique>ul.submenu-open {
border-left: 4px solid var(--tranquillite-publique);
background: var(--tranquillite-publique-secondary);
} li.reveal.famille {
background: var(--famille-et-education);
}
li.famille>ul.submenu-open {
border-left: 4px solid var(--famille-et-education);
background: var(--famille-et-education-secondary);
} li.reveal.associative {
background: var(--vie-associative-culturelle-et-sportive);
}
li.associative>ul.submenu-open {
border-left: 4px solid var(--vie-associative-culturelle-et-sportive);
background: var(--vie-associative-culturelle-et-sportive-secondary);
} li.reveal.action-sociale {
background: var(--action-sociale);
}
li.action-sociale>ul.submenu-open {
border-left: 4px solid var(--action-sociale);
background: var(--action-sociale-secondary);
} li.reveal.cadre-de-vie {
background: var(--cadre-de-vie);
}
li.cadre-de-vie>ul.submenu-open {
border-left: 4px solid var(--cadre-de-vie);
background: var(--cadre-de-vie-secondary);
} li.reveal.vie-municipale {
background: var(--vie-municipale-et-democratie-locale);
}
li.vie-municipale>ul.submenu-open {
border-left: 4px solid var(--vie-municipale-et-democratie-locale);
background: var(--vie-municipale-et-democratie-locale-secondary);
} li.reveal.consultations {
background: var(--consultations-et-demarches-administratives-en-ligne);
}
li.consultations>ul.submenu-open {
border-left: 4px solid var(--consultations-et-demarches-administratives-en-ligne);
background: var(--consultations-et-demarches-administratives-en-ligne-secondary);
} li.reveal.recrute {
background: var(--votre-ville-recrute);
}
li.recrute>ul.submenu-open {
border-left: 4px solid var(--votre-ville-recrute);
background: var(--votre-ville-recrute-secondary);
} li.reveal > a{
color:white
}
li.reveal::after{
transform: rotate(180deg);
} .nav li a {
width: fit-content;
}
.menu>li>ul {
display: block;
max-height: 0;
height: unset;
left: unset;
background: rgb(255, 255, 255);
bottom: unset;
overflow: hidden;
padding: unset;
min-width: unset;
position: unset;
transition:  max-height 0.2s ease-in-out;
}
.menu>li>ul.submenu-open {
max-height: 75rem;
width: 100vw;
padding: 1rem;
overflow-y: scroll;
scrollbar-color: rebeccapurple green;
scrollbar-width: thin;
}
.menu>li {
display: block;
}
.menu>li:hover>ul,
.menu>li>a:focus+ul {
display: block;
}
.menu>li:hover {
color: var(--e-global-color-primary);
}
.menu>li.menu-item-has-children > a::after {
content: "arrow_drop_down";
font-family: "Material Symbols Rounded";
position: absolute;
right: 1rem;
z-index: 1;
pointer-events: none;
}
.menu-btn {
flex-direction: column;
}
.admin-bar .nav {
padding-top: 5.5rem;
overflow: auto;
height: calc(100% - 80px);
}
.nav-mobile {
display: flex;
}
.nav {
width: 100%;
top: 52px;
overflow-y: scroll;
scrollbar-color: rebeccapurple green;
scrollbar-width: thin;
}
.admin-bar .menu-btn {
top: unset;
display: flex;
flex-direction: column;
}
.flex-justify-container {
padding-bottom: 72px;
}
.menu-btn {
font-size: 0.8rem;
position: fixed;
bottom: 16px;
left: 50%;
padding: 1rem 1rem;
transform: translateX(-50%);
top: unset;
border-radius: 4px;
height: unset;
z-index: 3;
}
}
.menu-overlay {
display: none;
background: rgba(0, 0, 0, 0.1);
position: fixed;
height: calc(100% - 60px);
left: 0;
right: 0;
bottom: 0;
z-index: 1;
cursor: pointer;
}
.admin-bar .menu-overlay {
height: calc(100% - 60px - 32px);
}
.open.menu-overlay {
display: block;
}
.menu-item-icon {
scale: 1.3;
}