/* --- FEUILLE DE STYLE --- */

/* ////////////////////////////////////////////////////////////////////////////

	Cambes en Plaine // CSS
	NetConception 2021
	
//////////////////////////////////////////////////////////////////////////// */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: inherit;
}

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  color: #727272;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */

  -moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	-webkit-box-sizing:border-box;
  box-sizing:border-box;
	font-size: 62.5%; /* Ré-équilibrage du Rem face au Pixel pour des calculs simples / 1.0rem = 10px */
  font-weight: 300;
  font-family: 'Signika', sans-serif;
}

body {
  background: #F0F0F0;
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  /* Attention les fonctions JS scroll ne marcheront pas avec overflow-x: hidden; */
  /*overflow-x: hidden;*/
  font-size: 1.8rem;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #94C121;
  color: #FFF;
  text-shadow: none;
}

::selection {
  background: #94C121;
  color: #FFF;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

a {
	text-decoration:none;
	transition: all 0.2s ease;
}

/* ==========================================================================
   Normalize
   ========================================================================== */

img {
	max-width: 100%;
}

main {
  display: block;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  outline: none;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

.alignleft {
	float: left;
	margin: 0 40px 20px 0;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignright {
	float: right;
	margin: 0 0 20px 40px;
}

.color-blue {
  color: #2996D4;
}

.color-green {
  color: #94C121;
}

.container {
	width: 1370px;
	margin: auto;
}

#cdu_close {
  position: absolute;
  top: 88px!important;
  border-top: 1px solid #000!important;
}

#cdu_close button {
  font-size: 1.2rem!important;
  padding: 4px 8px!important;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*-------------- HEADER */

.btn-aside {
  position: fixed;
  bottom: 3%;
  right: 3%;
  z-index: 200;
  display: none;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #94C121;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 20px 2px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.btn-aside:hover {
  opacity: 0.6;
}

.btn-aside img {
  display: block;
  width: 60%;
}

.btn-aside .img-moins {
  display: none;
}

.btn-aside.is-active .img-moins {
  display: block;
}
.btn-aside.is-active .img-plus {
  display: none;
}

header.layout {
  
}

.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  background-color: #FFF;
  -webkit-box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.25);
  box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.25);
  padding: 0 5%;
}

.branding {
  display: block;
  padding: 8px 0;
}

#logo_footer {
    width:180px;
}

.nom-ville {
  font-size: 4.6rem;
  font-size: clamp(2.6rem, 2.5vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}

.baseline {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 300;
  color: #333333;
  line-height: 1;
  margin: 0 0 0 2px;
  white-space: nowrap;
}

.baseline img {
  margin-right: 5px;
}

/*-------------- NAVIGATION */

.btn-menu-resp {
  display: none;
  height: 100%;
  justify-content: center;
  align-items: center;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-menu-resp:hover {
  opacity: 0.6;
}

.btn-menu-resp span {
  font-weight: 300;
  color: #333333;
  margin-right: 6px;
}

.btn-menu-resp img {
  width: 20px;
}

.main-nav {
}

.main-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  height: 100%;
}

.main-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 30px;
  margin-left: clamp(10px, 1.6vw, 30px);
}

.main-nav__link {
  text-decoration: none;
  color: #333333;
  font-size: 2.0rem;
  font-size: clamp(1.6rem, 1.1vw, 2.0rem);
  font-weight: 400;
}

.main-nav__item:hover .main-nav__link,
.main-nav__link:hover,
.main-nav__item.is-active .main-nav__link {
  color: #FFA72F;
}

.main-lvl2-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background-color: #FFA72F;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  padding: 15px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: all 0.2s ease;
}

.main-nav__item:nth-last-child(1) .main-lvl2-nav__list,
.main-nav__item:nth-last-child(2) .main-lvl2-nav__list,
.main-nav__item:nth-last-child(3) .main-lvl2-nav__list {
  left: unset;
  right: 0;
}

.main-lvl2-nav__item {
  display: block;
}

.main-lvl2-nav__item + .main-lvl2-nav__item {
  margin: 5px 0 0 0;
}

.main-lvl2-nav__link {
  display: block;
  color: #FFF;
  font-size: 1.8rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.4rem, 1.1vw, 1.8rem);
  padding: 4px;
  border-radius: 4px;
}

.main-lvl2-nav__link:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.main-nav__item:hover .main-lvl2-nav__list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/*--------------- HEADER BANDEAU */

.header-bandeau {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.header-bandeau .lSSlideOuter {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.header-bandeau .lSSlideWrapper {
  width: 100%;
  height: 100%;
}

.header-bandeau .js-slider-fade {
  width: 100%!important;
  height: 100%!important;
  padding-bottom: 0!important;
}

.js-slider-fade {
  background-color: #333333;
}

.js-slider-fade picture {
  display: block;
  width: 100%;
  height: 100%;
}

.js-slider-fade picture img {
  width: 100%;
}

@supports (object-fit: cover) {
  /* IF object-fit IS SUPPORTED */
  .js-slider-fade picture img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}

/*----------------- HEADER ACTIONS (SEARCH) */

.header-actions {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  flex-direction: row-reverse;
  width: 100%;
  padding: 400px 10px 0 10px;
  padding: clamp(60px, 25vw, 340px) 10px 0 10px;
  margin: auto 0 15px auto;
}

.form-search {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 40px;
  height: 4vw;
  max-height: 50px;
  margin: 0 5px;
  -webkit-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

.form-search__input {
  width: 100%;
  min-width: 380px;
  height: 100%;
  border: none;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  font-size: 1.8rem;
  color: #333333;
  background-color: rgba(255,255,255,0.85);
  padding: 0 10px 0 15px;
}

.form-search__submit {
  flex: none;
  min-width: 40px;
  width: 4vw;
  max-width: 50px;
  height: 100%;
  border: none;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: #2996D4;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-search__submit:hover {
  background-color: #055E93;
}

.form-search__submit img {
  width: 24px;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #333333;
  opacity: 1; /* Firefox */
  font-size: 1.8rem;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #333333;
  font-size: 1.8rem;
}
::-ms-input-placeholder { /* Microsoft Edge */
  color: #333333;
  font-size: 1.8rem;
}

/*----------------- HEADER ACTIONS (BUTTONS) */

.actions__list {
  position: relative;
  z-index: 1;
  right: 0;
  bottom: 0;
  list-style: none;
  padding: 0;
  margin: 0 5px;
  display: flex;
  justify-content: center;
}

.actions__list > li {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  /* clamp(MIN, VAL, MAX) */
  margin: 0 clamp(5px, 2vw, 10px);
}

.actions__list > li:nth-child(odd) > a {
  background-color: #94C121;
}

.actions__list > li:nth-child(odd) > a:hover {
  background-color: #557600;
}

.actions__list > li > a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  min-height: 40px;
  width: 4vw;
  height: 4vw;
  max-width: 50px;
  max-height: 50px;
  background-color: #2996D4;
  border-radius: 100px;
  
  -webkit-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);

  transition: all 0.2s ease;
}

.actions__list > li > a:hover {
  background-color: #055E93;
}

.actions__list > li > a > img {
  width: 60%;
  height: auto;
}

.actions__list > li:hover .tooltip {
  transform: translateY(-100%);
  opacity: 1;
} 

.actions__list .tooltip {
  position: absolute;
  z-index: 1;
  top: -4px;
  font-size: 1.4rem;
  font-weight: 400;
  color: #FFF;
  background-color: rgba(51, 51, 51, 0.8);
  padding: 6px 10px;
  margin: 0;
  border-radius: 4px;

  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);

  opacity: 0;
  transition: all 0.2s ease;
}

/*----------------- COLONNE ASIDE */

.col {
  flex: none;
  width: 400px;
}

/* The emerging W3C standard
that is currently Firefox-only */
.col {
  scrollbar-width: thin;
  scrollbar-color: #94C121 #F0F0F0;
}

/* Works on Chrome/Edge/Safari */
.col::-webkit-scrollbar {
  width: 6px;
  border-radius: 20px;
}
.col::-webkit-scrollbar-track{
  background: #F0F0F0;
}
.col::-webkit-scrollbar-thumb {
  background-color: #94C121;
  border-radius: 20px;
}


.col-wrapper {
  background-color: #FFF;
  border-radius: 4px;
  padding: 30px 15px;
}

.col > .col-wrapper + .col-wrapper {
  margin-top: 30px;
}

.col .colored-title {
  display: block;
  font-size: 2.0rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.6rem, 1.1vw, 2.0rem);
  padding: 0;
  margin: 0 0 15px 0;
}

.col-item {
  position: relative;
}

.col-wrapper > * + * {
  padding: 30px 0 0 0;
}

.col-wrapper > * + *::before {
  content: '';
  display: block;
  height: 2px;
  margin: 0 0 30px 0;
  background-image: repeating-linear-gradient(0deg, #FFDFB2, #FFDFB2 12px, transparent 12px, transparent 32px, #FFDFB2 32px), repeating-linear-gradient(90deg, #FFDFB2, #FFDFB2 12px, transparent 12px, transparent 32px, #FFDFB2 32px), repeating-linear-gradient(180deg, #FFDFB2, #FFDFB2 12px, transparent 12px, transparent 32px, #FFDFB2 32px), repeating-linear-gradient(270deg, #FFDFB2, #FFDFB2 12px, transparent 12px, transparent 32px, #FFDFB2 32px);
  background-size: 2px 100%, 100% 2px, 2px 100% , 100% 2px;
  background-position: 0 0, 0 0, 100% 0, 0 100%;
  background-repeat: no-repeat;
}

.btnlink-icon {
  display: flex;
}

.btnlink-icon:hover .icon {
  background-color: #FFA72F;
}

.btnlink-icon:hover .label {
  color: #FFA72F;
  border-color: #FFA72F;
  background-color: #FFF;
  
}

.btnlink-icon .icon {
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FFC97F;
  padding: 15px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  transition: all 0.2s ease;
}

.btnlink-icon .icon img {
  flex: none;
  min-width: 20px;
  min-height: 20px;
  width: 1.6vw;
  max-width: 30px;
  max-height: 30px;
}

.btnlink-icon .label {
  display: flex;
  flex: auto;
  align-items: center;
  color: #B06600;
  font-weight: 400;
  font-size: 1.8rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.4rem, 1.1vw, 1.8rem);
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border: 1px solid transparent;
  background-color: #FFA72F;
  padding: 5px 10px;
  transition: all 0.2s ease;
}

.acces-rapides {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  grid-gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.acces-rapides > li {
  margin: 0 0 10px 0;
}

@supports (display: grid) {
  .acces-rapides > li {
    margin: 0;
  }
  
}

.acces-rapides .btnlink-icon {
  height: 100%;
}

.acces-rapides .btnlink-icon .icon {
  padding: 10px;
  background-color: #78BEE7;
}

.acces-rapides .btnlink-icon .label {
  color: #333;
  font-size: 1.6rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.4rem, 1.1vw, 1.6rem);
  background-color: #FFF;
  border-color: #78BEE7;
}

.acces-rapides > li:nth-child(4n) .btnlink-icon .icon,
.acces-rapides > li:nth-child(4n+1) .btnlink-icon .icon {
  background-color: #ADD447;
}

.acces-rapides > li:nth-child(4n) .btnlink-icon .label,
.acces-rapides > li:nth-child(4n+1) .btnlink-icon .label {
  border-color: #ADD447;
}

.acces-rapides .btnlink-icon:hover .icon,
.acces-rapides > li:nth-child(4n) .btnlink-icon:hover .icon,
.acces-rapides > li:nth-child(4n+1) .btnlink-icon:hover .icon {
  background-color: #FFA72F;
}

.acces-rapides .btnlink-icon:hover .label,
.acces-rapides > li:nth-child(4n) .btnlink-icon:hover .label,
.acces-rapides > li:nth-child(4n+1) .btnlink-icon:hover .label {
  color: #FFA72F;
  border-color: #FFA72F;
}

.magazine-municipal {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}

.magazine-municipal > li {
  width: calc(50% - 7.5px);
}

.magazine-municipal__item {
  display: block;
}

.magazine-municipal__item img {
  display: block;
  width:100%;
  border-radius: 4px;
  border: 1px solid #C4C4C4;
  padding: 10px;
  transition: 0.2s ease all;
}
.magazine-municipal__item:hover img {
  border-color: #FFA72F;
}

.magazine-municipal__item .label {
  font-weight: 300;
  font-size: 1.6rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.4rem, 1.1vw, 1.6rem);
  text-align: center;
  margin: 5px 0 0 0;
  color: #333333;
  transition: all 0.2s ease;
}
.magazine-municipal__item:hover .label {
  color:#FFA72F;
}

.magazine-municipal__item .label span:first-child {
  font-weight: 600;
}

.edito {
  text-align: justify;
  font-weight: 300;
  font-size: 1.6rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.4rem, 1.1vw, 1.6rem);
}

.edito .see-more {
  display: block;
  text-align: right;
}

/*----------------- HOME */

.layout-col {
  display: flex;
  width: 100%;
}

.layout-col > * + * {
  margin-left: 30px;  
}

.content {
  flex: 1 1 auto;
}

.layout-col .content {
  flex: 1 1 auto;
  /*
  Préciser pour garder l'intégrité de la structure avec Lightslider
  400px : colonne droite
  30px : gap
  */
  width: calc(100% - 430px);
}

.colored-title {
  position: relative;
  display: inline-block;
  font-size: 3.0rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(2.0rem, 1.6vw, 3.0rem);
  font-weight: 600;
  text-transform: uppercase;
  background-color: #FFF;
  padding: 8px 20px 8px 20px;
  margin: 0 0 30px 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.content .colored-title {
  padding-left: 0;
}

.content .colored-title::after {
  content: '';
  position: absolute;
  top: 0;
  right: 100%;
  bottom: 0;
  display: block;
  background-color: #FFFFFF;
  height: 100%;
  /*
  7.5px : scrollbar
  1370px/2 = 685px : container
  */
  width: calc(50vw - 685px);
}

/*----------------- FIL D'ACTUALITE */

.article {
  position: relative;
  color: #333333;
}

.article__title {
  text-transform: uppercase;
  color: #94C121;
  font-size: 2.0rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.6rem, 1.1vw, 2.0rem);
  font-weight: 600;
  margin: 0;
}

.article-list li:nth-child(even) .article__title {
  /*color: #2996D4;*/
}

.article__link {
  display: block;
  color: #333333;
}

.article__link:hover .see-more {
  transform: translateX(5px);
}
.article__link:hover .article__img-wrapper picture img {
  transform: scale(1.05);
}
.article-highlighted .article__link:hover .article__content {
  background-color: rgba(51, 51, 51, 0.7);
}

.article__content {
  background-color: #FFF;
  padding: 20px 20px 16px 20px;
  border: 1px solid #94C121;
  border-top: none;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.article-list li:nth-child(even) .article__content {
  border-color: #2996D4;
}

.article__summary * {
  font-size: 1.8rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.4rem, 1.1vw, 1.8rem);
  font-weight: 300;
  line-height: 1.5;
  margin: 10px 0;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px -4px 0 -4px;
}

.article__meta > * {
  padding: 4px;
}

.article__time {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
}

.see-more,
.content-page .see-more {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333333;
  line-height: 1;
  transition: all 0.2s ease;
}

.see-more::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 5px 0 0;
  background-image: url('../images/assets/icon-arrow-8x.svg');
  background-position: center;
  background-size: contain;
}

.article__img-wrapper {
  position: relative;
  margin: 0;
  height: 0;
  overflow: hidden;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding-bottom: 66%;
}

.article__img-wrapper::after {
  content: '';
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  right: 0;
  display: block;
  width: 100%;
  height: 20px;
  background-color: rgba(148,193,33,0.4);
  /*
  -webkit-clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 100%);
  */
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.article-list li:nth-child(even) .article__img-wrapper::after {
  background-color: rgba(41,150,212,0.4);
}

.article__img-wrapper picture {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
}

.article__img-wrapper picture img {
  width: 100%;
  transition: all 0.2s ease;
}

.article-highlighted {
  margin-bottom: 30px;
}

.article-highlighted .article__title {
  color: #FFF;
}

.article-highlighted .article__content {
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  border: none;
  color: #FFF;
  background-color: rgba(51, 51, 51, 0.4);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: all 0.2s ease;
}

.article-highlighted .article__meta {
  margin-top: 10px;
}

.article-highlighted .see-more {
  color: #FFF;
}

.article-highlighted .article__img-wrapper {
  z-index: 0;
  border-radius: 4px;
  /* RATIO 16/9 */
  padding-bottom: 56.25%;
}

.article-highlighted .article__img-wrapper::after {
  display: none;
}

@supports (object-fit: cover) {
  /* IF object-fit IS SUPPORTED */
  .article__img-wrapper picture img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}

.article-container {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

/* Liste d'articles dans un carroussel */

.article-list.js-carroussel {
  display: flex;
}

.article-list.js-carroussel article {
  height: 100%;
}

.article-list.js-carroussel .article__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-list.js-carroussel .article__content {
  flex: auto;
  display: flex;
  flex-direction: column;
}

.article-list.js-carroussel .article__summary {
  margin-bottom: 10px;
}

.article-list.js-carroussel .article__meta {
  margin-top: auto;
}

/* ---- */

.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
  height: auto!important;
  padding-bottom: 0!important;
}

.lSAction > a {
  width: 40px;
  height: 40px;
  /*background-color: rgba(255,255,255,0.6);*/
  background-color:#FFC107;
  border-radius: 40px;
  top: 20px;
  margin-top: 0;
  -webkit-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  opacity: 1;
  transition: all 0.2s ease;
}

.lSAction > a:hover {
  background-color: rgba(51, 51, 51, 0.4);
}

.lSAction > .lSPrev {
  left: 20px;
  background-position: center;
  background-size: 30px;
  background-image: url('../images/assets/icon-chevron-l-30x.svg');
}

.lSAction > .lSNext {
  right: 20px;
  background-position: center;
  background-size: 30px;
  background-image: url('../images/assets/icon-chevron-r-30x.svg');
}

@media (max-width: 801px) {
    .lSAction > a {
        bottom:20px;
        top:initial;
    }
}

.article-container .lSSlideOuter,
.article-container .lSSlideWrapper {
  width: 100%!important;
  max-width: 100%;
}

.see-all-wrapper {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.see-all {
  display: flex;
}

.see-all:hover .label {
  color: #FFA72F;
  background-color: #FFF;
}
.see-all:hover .icon {
  background-color: #FFA72F;
}

.see-all .label {
  display: inline-block;
  text-transform: uppercase;
  color: #FFF;
  line-height: 1.4;
  font-size: 1.8rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.4rem, 1.1vw, 1.8rem);
  background-color: #FFA72F;
  border: 1px solid #FFA72F;
  border-left: none;
  padding: 7px 12px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  transition: all 0.2s ease;
}

.see-all .icon {
  flex: none;
  display: inline-block;
  width: 40px;
  background-color: #FFC97F;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  background-position: center;
  background-size: 14px;
  background-repeat: no-repeat;
  transition: all 0.2s ease;
}

.see-all .icon-more {
  background-image: url('../images/assets/icon-plus-14x.svg');
}

/* Listing Page */

.content-page .listing-els a {
  text-decoration: none;
}
.content-page .listing-els a:hover {
  text-decoration: none;
}

ul.listing-els {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 -15px;
}
ul.listing-els > li,
ul.listing-els.col-2 > li {
  width: calc(50% - 30px);
  margin: 0 15px 30px 15px;
}

ul.listing-els.col-3 > li {
  width: calc(33.33% - 30px);
}

.listing-docs .no-capture {
  background-color: #F0F0F0;
  border-radius: 4px;
  padding: 10px 10px 20px 10px;
}

.listing-docs .label {
  color: #333;
  font-weight: 600;
}

.content-page .listing-els .article {
  height: 100%;
}

.content-page .listing-els .article__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.content-page .listing-els .article__content {
  flex: auto;
  display: flex;
  flex-direction: column;
}

.content-page .listing-els .article__summary {
  margin-bottom: 10px;
}

.content-page .listing-els .article__meta {
  margin-top: auto;
}

/*----------------- AGENDA */

.agenda-wrapper {
  display: flex;
}

.agenda-wrapper > * + * {
  margin-left: 30px;
}

.agenda-wrapper > * {
  width: 50%;
}

.article-agenda {
  position: relative;
}

.article__time__start-end {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  min-width: 65px;
  min-height: 65px;
  width: 6vw;
  height: 6vw;
  max-width: 100px;
  max-height: 100px;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: rgba(41,150,212,0.6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 100px;
}


.article__time.start-time,
.article__time.end-time {
  position: relative;
  color: #FFF;
  padding: 10%;
}

.article__time.end-time::before {
  content: '';
  position: absolute;
  top: 0;
  left: -3.5px;
  bottom: 0;
  display: block;
  margin: auto;
  width: 7px;
  height: 7px;
  background-image: url('../images/assets/mini-chevron-r-7x.svg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.article__time.start-time span,
.article__time.end-time span {
  display: block;
  text-align: center;
  text-transform: uppercase;
  line-height: 1;
  color: #FFF;
}

.article__time.start-time span:first-child,
.article__time.end-time span:first-child {
  font-size: 1.8rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.6rem, 1.1vw, 1.8rem);
  font-weight: 600;
}

.article__time.start-time span:last-child,
.article__time.end-time span:last-child {
  font-size: 1.4rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.2rem, 0.9vw, 1.4rem);
  font-weight: 300;
}

.article-agenda .article__link {
  height: 100%;
  
}

.article-agenda .article__content {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(41,150,212,0.6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: none;
}

.article-agenda .article__meta {
  justify-content: flex-end;
  margin: 5px -4px 0 -4px;
}

.article-agenda  .article__img-wrapper {
  padding: 0;
  height: 100%;
  border-radius: 4px;
  background-color: #333;
}

.article-agenda .article__img-wrapper::after {
  display: none;
}

.article-agenda .article__title {
  color: #FFF;
}

.article-agenda .see-more {
  color: #FFF;
}

.listing-els  .article-agenda .article__img-wrapper {
  height: 0;
  padding-bottom: 100%;
}

/*----------------- PAGE */

.page .layout-col {
  flex-direction: row-reverse;
}

.page .layout-col > * + * {
  margin-left: 0;
  margin-right: 30px;
}

#breadcrumb {
  background-color: #FFF;
  border-radius: 4px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 5px 15px;
  margin: 0 0 30px 0;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  color: #94C121;
  font-size: 1.4rem;
  font-weight: 300;
}

.breadcrumb__item > a {
  display: flex;
  align-items: center;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  padding: 7px 0;
}

.breadcrumb__item + .breadcrumb__item {
  padding-left: 10px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '›';
  padding-right: 10px;
  color: #557600;
}

.breadcrumb__item img {
  margin-right: 10px;
}

.content-page {
  background-color: #FFF;
  border-radius: 4px;
  padding: 15px 20px;
}

.side-nav__lvl-1,
.side-nav__lvl-2 {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-nav__lvl-1__item + .side-nav__lvl-1__item {
  margin-top: 15px;
}

.side-nav__lvl-1__link {
  display: inline-block;
  color: #FFA72F;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2.0rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.6rem, 1.1vw, 2.0rem);
  padding: 0 0 8px 0;
}

.side-nav__lvl-1__link:hover {
  color: #333333;
}

.side-nav__lvl-2__link {
  display: block;
  color: #333333;
  font-weight: 300;
  font-size: 1.8rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.4rem, 1.1vw, 1.8rem);
  padding: 5px 15px;
  margin: 0 0 2px 0;
  background-color: #FFF;
  border-radius: 4px;
}

.side-nav__lvl-2__link:hover,
.side-nav__lvl-2__link.is-active {
  color: #FFA72F;
  background-color: #FFF4E5;
}

.side-nav__lvl-2__link.is-active {
  font-weight: 600;
}

.content-page p,
.content-page span,
.content-page div,
.content-page ul,
.content-page ol,
.content-page table {
  color: #727272;
  font-weight: 300;
  font-size: 1.8rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.4rem, 1.1vw, 1.8rem);
  line-height: 1.4;
}

.content-page a {
  color: #2996D4;
  font-weight: 600;
  /*text-decoration: underline;*/
}
.content-page a:hover {
  text-decoration: underline;
}

.content-page h1 {
  color: #333333;
  font-weight: 700;
  font-size: 3.0rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(2.0rem, 1.6vw, 3.0rem);
  text-transform: uppercase;
  margin: 0 0 20px 0;
}

.content-page h2 {
  color: #94C121;
  font-weight: 600;
  font-size: 2.4rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(2.0rem, 1.3vw, 2.4rem);
}

/*----------------- FOOTER */

footer.layout {
  padding-top: 30px;
  margin-top: 30px;
  background-color: #333333;
  min-height: 100px;
}

footer.layout .branding {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 30px;
}

footer.layout .branding img {
  border-radius: 4px;
  margin-right: 20px;
}

footer.layout .branding .nom-ville,
footer.layout .branding .baseline {
  color: #FFF;
}
footer.layout .branding .nom-ville {
  max-width: 160px;
  font-size: 4.0rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(2.4rem, 2.2vw, 4.0rem);
  white-space: normal;
  margin: 0 0 7px 0;
}

footer.layout .actions__list {
  position: relative;
  margin: 0 0 20px 0;
}

footer.layout .actions__list::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  height: 10px;
  width: 100%;
  margin: auto;
  background-color: rgba(0,0,0,0.2);
}

footer.layout .actions__list > li {
  z-index: 1;
  margin: 0 clamp(5px, 2vw, 10px);
}

footer.layout .actions__list > li > a {
  position: relative;
  z-index: 2;
  min-width: 30px;
  min-height: 30px;
  max-width: 40px;
  max-height: 40px;
}

footer.layout .actions__list .tooltip {
  padding: 0;
}

footer.layout  .actions__list > li:hover .tooltip {
  margin: 2px 0 0 0;
}

.footer-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-item {
  margin: 10px 25px;
   /* clamp(MIN, VAL, MAX) */
  margin: 10px clamp(10px, 1.5vw, 25px);
}

.footer-item * {
  color: #FFF;
  font-size: 1.8rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.4rem, 1.1vw, 1.8rem);
  font-weight: 300;
  font-style: normal;
  line-height: 1.4;
}

.footer-item p.label {
  font-size: 2.0rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.6rem, 1.1vw, 2.0rem);
  font-weight: 600;
  margin: 0 0 15px 0;
}

.footer-item p {
  margin: 0;
}

.footer-item a:hover {
  opacity: 0.6;
}

.footer-item.infos-mairie a {
  text-decoration: underline;
}

.footer-item.infos-horaires ul {
  border-left: 1px solid #FFF;
  padding-left: 10px;
  margin: 20px 0;
}

.footer-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bottom-bar {
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 10px;
  margin: 20px 0 0 0;
}

.bottom-bar * {
  font-size: 1.6rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.4rem, 1.1vw, 1.6rem);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  padding: 0;
  margin: 0;
}

.bottom-bar a:hover {
  opacity: 0.6;
}