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

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

	Castine-En-Plaine // CSS
	NetConception 2020
	
//////////////////////////////////////////////////////////////////////////// */

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

    GLOBAL

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

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

body {
	transform-origin: top;
	animation: transitionIn 0.8s;
}

@keyframes transitionIn {
	from {
		opacity: 0;
		transform: rotateX(-15deg);
	}
	to {
		opacity: 1;
		transform: rotateX(0);
	}
}	

html, body {
	width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
	-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 */
}

body {
	background: #FFF;
	font-family: 'Encode Sans', sans-serif;
	scroll-behavior: smooth;
	/* Attention les fonctions JS scroll ne marcheront pas avec overflow-x: hidden; */
    /*overflow-x: hidden;*/
}

::selection { color: #fff; }
::-moz-selection { color: #fff; }
::selection { background-color:rgba(190, 22, 34, 0.6); }
::-moz-selection { background-color: rgba(190, 22, 34, 0.6); }

p, div, td, li {
	color:#454544;
	font-weight: 400;
	font-size: 2.0rem;
}

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

a:hover {
	text-decoration:none;
}

h1, h2, h3, h4, h5, h6 {

}

img {
	max-width: 100%;
}

@-webkit-keyframes background-animate {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes background-animate {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-o-keyframes background-animate {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes background-animate {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

/* ----- VARIABLES ----- */
:root {
	--default-spacing: 60px;
}

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

    NORMALIZE

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

main {
  display: block;
  min-height: 500px;
}

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

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

    CLASSES GÉNÉRALES

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

.container {
	max-width:1730px;
	margin: 0 10%;
}

.spacer {
	clear: both;
}

.flexRow {
	display: flex;
	flex-flow: row nowrap;
}

.flexColumn {
	display: flex;
	flex-flow: column nowrap; 
}

.noscroll {
	overflow-x: hidden;
}

.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;
}

.visually-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.visually-hidden-2 {
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; 
  width: 1px;
}

.scroll-touch {
  -webkit-overflow-scrolling: touch; /* on laisse le défilement se poursuivre */
}

.scroll-auto {
  -webkit-overflow-scrolling: auto; /* on arrête le défilement immédiatement */
}

.selector {
  font-size: 2.4rem;
  /* clamp(MIN, VAL, MAX) */
  font-size: clamp(1.8rem, 1.2vw, 2.4rem);
}

@supports (object-fit: cover) {
  /* IF object-fit IS SUPPORTED */
  .selector {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

.fadeInDown {
	-webkit-animation-name: fadeInDown;
	animation-name: fadeInDown;
}

.fade-in {
	animation: fadeIn ease 20s;
	-webkit-animation: fadeIn ease 20s;
	-moz-animation: fadeIn ease 20s;
	-o-animation: fadeIn ease 20s;
	-ms-animation: fadeIn ease 20s;
}
@keyframes fadeIn {
	0% {opacity:0;}
	100% {opacity:1;}
}
	
@-moz-keyframes fadeIn {
	0% {opacity:0;}
	100% {opacity:1;}
}
	
@-webkit-keyframes fadeIn {
	0% {opacity:0;}
	100% {opacity:1;}
}
	
@-o-keyframes fadeIn {
	0% {opacity:0;}
	100% {opacity:1;}
}

@-ms-keyframes fadeIn {
	0% {opacity:0;}
	100% {opacity:1;}
}

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

    HEADER

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

header {
	position: relative;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

header.isNotHome {
	padding-bottom: 30px;
}

header.layout > .container {
	z-index: 10;
}

header > * {
	position: relative;
	z-index: 1;
}

header::after {
	content: '';
	position: absolute;
	z-index: 0;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.2);
}

header .header {
	display: flex;
	justify-content: space-between;
}

.header__side--left {
	position: relative;
	flex: none;
	max-width: 235px;
	min-width: 210px;
	width: 13vw;
}

.btn-menu-resp {
	display: none;
	justify-content: center;
	align-items: center;
	line-height: 1;
	text-transform: uppercase;
    min-height: 30px;
	height: 5vw;
	max-height: 40px;
	letter-spacing: 1px;
	font-weight: 400;
	font-size: 1.6rem;
	color: #FFF;
	background: rgb(190,22,34);
	background: -moz-linear-gradient(135deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	background: -webkit-linear-gradient(135deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	background: linear-gradient(135deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#be1622",endColorstr="#b1117f",GradientType=1);
		border: none;
	margin: 0 0 0 15px;
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.4);
	box-shadow: 0 0 10px rgba(0,0,0,0.4);
	cursor: pointer;
}

.header__side--right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin-left: 15px;
}

header.isNotHome .header__side--right {
	justify-content: space-between;
}

/* ------------------------------------------
	SITE BRANDING
------------------------------------------ */

.header__logo {
	display: block;
}

.header__logo img {
	display: block;
	width: 100%;
}

.tagline {
	position: absolute;
	color: #FFF;
	font-size: 2.4rem;
	/* clamp(MIN, VAL, MAX) */
	font-size: clamp(1.6rem, 1.1vw, 2.0rem);
	font-weight: 300;
	line-height: 1.4;
	padding: 20px 0 0 0;
	text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

header.isNotHome .tagline {
	width: 540px;
	left: 100%;
	bottom: 0%;
	padding: 0 0 0 20px;
}

.tagline span {
	white-space: nowrap;
}

.tagline span.bold {
	display: block;
	font-weight: 500;
	text-transform: uppercase;
}

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

nav#menu-principal {
	position: relative;
	background: rgb(190,22,34);
	background: -moz-linear-gradient(90deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	background: -webkit-linear-gradient(90deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	background: linear-gradient(90deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#be1622",endColorstr="#b1117f",GradientType=1);
	-webkit-box-shadow: 0 2px 20px rgba(0,0,0,0.4);
            box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

nav#menu-principal ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* ----- 1ER NIVEAU ----- */

nav#menu-principal ul.menu-lvl-1 {
	display: flex;
}

nav#menu-principal ul.menu-lvl-1 .menu-item-lvl-1 > a {
	position: relative;
	z-index: 20;
	display: block;
	color: #FFF;
	border: 1px solid transparent;
	border-top: none;
	border-bottom: none;
	text-transform: uppercase;
	font-size: 1.8rem;
	/* clamp(MIN, VAL, MAX) */
	font-size: clamp(1.4rem, 1.0vw, 1.8rem);
	letter-spacing: 2px;
	text-align: center;
	padding: 12px 15px;
}

@media (hover: none) {
	/* the device cannot hover over elements */
	nav#menu-principal ul.menu-lvl-1 .menu-item-lvl-1 > a {
		/*pointer-events: none;*/
	}
}

nav#menu-principal ul.menu-lvl-1 .menu-item-lvl-1:hover > a {
	background-color: #FFF;
	color: #BE1622;
	border-color: #BE1622;
}



nav#menu-principal ul.menu-lvl-1 .menu-item-lvl-1:hover > a::before{
	opacity: 1;
}

nav#menu-principal ul.menu-lvl-1 .menu-item-lvl-1 > a::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	display: block;
	width: 100%;
	height: 1px;
	background-color: #FFF;
	transition: 0.2s ease all;
	opacity: 0;
}

nav#menu-principal ul.menu-lvl-1 .menu-item-lvl-1:hover > a::after,
nav#menu-principal ul.menu-lvl-1 .menu-item-lvl-1:hover + .menu-item-lvl-1 > a:after {
	opacity: 0;
}

nav#menu-principal ul.menu-lvl-1 .menu-item-lvl-1 > a::after {
	content: '';
	position: absolute;
	top: 0;
	left: -1px;
	bottom: 0;
	height: 60%;
	display: block;
	width: 2px;
	margin: auto;
	background-color: rgba(255, 255, 255, 0.6);
	transition: 0.2s ease all;
}

nav#menu-principal ul.menu-lvl-1 .menu-item-lvl-1:first-child > a::after {
	display: none;
}

/* ----- 2ND NIVEAU ----- */

nav#menu-principal ul.menu-lvl-1 .menu-item-lvl-1:hover ul.menu-lvl-2 {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

nav#menu-principal ul.menu-lvl-2 {
	position: absolute;
	z-index: 99;
	top: 100%;
	left: 0;
	width: 100%;
	background: #FFF;
	border: 1px solid #BE1622;
	padding: 10px;

	-webkit-column-count: 3;
       -moz-column-count: 3;
            column-count: 3;
	-webkit-column-gap: 20px;
	   -moz-column-gap: 20px;
			column-gap: 20px;
	
    line-height: 3.0rem;
	-webkit-box-shadow: 0 2px 20px rgba(0,0,0,0.4);
            box-shadow: 0 2px 20px rgba(0,0,0,0.4);

	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: 0.2s ease all;
}

nav#menu-principal ul.menu-lvl-2.avecImage {
	padding-left: 230px;
}

nav#menu-principal ul.menu-lvl-2 > * {
	
}

nav#menu-principal ul.menu-lvl-2 .menu-item-lvl-2 {
	display: block;
	color: #575656;
	line-height: 1.2;
	padding: 10px 0;
	-webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
          page-break-inside: avoid; /* Firefox */
               break-inside: avoid; /* IE 10+ */
               break-inside: avoid-column; /* W3C */ 
	
}

nav#menu-principal ul.menu-lvl-2 .menu-item-lvl-2 ul {
	list-style: disc;
}

nav#menu-principal ul.menu-lvl-2 .menu-item-lvl-2 > a {
	display: block;
	color: inherit;
	font-size: 1.6rem;
	font-weight: 600;
	margin-bottom: 5px;
}

nav#menu-principal ul.menu-lvl-2 .menu-item-lvl-2 > a:hover {
	color: #BE1622;
}

nav#menu-principal ul.menu-lvl-2 .menu-item-lvl-3 {
	display: block;
	color: #575656;
	line-height: 1;
	margin-bottom: 2px;
}

nav#menu-principal ul.menu-lvl-2 .menu-item-lvl-3 > a {
	color: inherit;
	font-size: 1.4rem;
}

nav#menu-principal ul.menu-lvl-2 .menu-item-lvl-3 > a:hover {
	color: #BE1622;
}

nav#menu-principal ul.menu-lvl-2 .menu-item-lvl-2--image {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 230px;
}

nav#menu-principal ul.menu-lvl-2 .menu-item-lvl-2--image img {
	display: block;
	width: 100%;
	height: auto;
	padding: 10px 25px 10px 10px;
}

.items_lateral,.sousitems_lateral{
	list-style: none;
}
.items_lateral a,.sousitems_lateral a{
	color:grey;
}
.items_lateral{
	font-size:18px;
	margin-bottom:8px;
	margin-top:8px;
	font-weight:600;	
}
.sousitems_lateral{
	font-size:16px;
	margin-bottom:5px;
	margin-top:5px;
	margin-left:15px;
}

.menu_lateral .is-active>a {
	font-weight: 600;
	color: #BE1622;
}
.items_lateral:before {
	content:"›";
	font-weight: 600;
	/*color: #BE1622;*/
	color: grey;
	margin-right:0px;
	margin-left: -10px;
}

.items_lateral {
	margin-left:10px;
}
.items_lateral .sousitems_lateral:last-child{
	
	/*margin-bottom:15px;*/
}


.sousitems_lateral:before {
	content:"•";
	color: #202020;
	margin-right:0px;
	margin-left: -10px;
}
.sousitems_lateral:before {
    transition: all 0.2s ease;
}
.sousitems_lateral:hover:before {
	margin-left: -5px;
	margin-right: -5px;
	color: #BE1622!important;	
}
.sousitems_lateral:hover a{
	padding-left: 0px!important;
	margin-left: 0px!important;
	color: #BE1622!important;
}

.items_lateral a:hover, .sousitems_lateral a:hover,.items_lateral a:hover:before, .sousitems_lateral a:hover:before{
	color: #BE1622!important;
	
}
.is-active:before {
	color: #BE1622;
}


.menu-item-lvl-2>a{
	color:yellow;
	padding-left: 10px;
}
.menu-item-lvl-2>a:before {
	content:"›";
	font-weight: 600;
	margin-left: -10px;
	margin-right: 05px;
}
.menu-item-lvl-3{
	margin-left: 12px;
}
.menu-item-lvl-3:before {
	content:"•";
	margin-left: -13px;
}
.menu-item-lvl-2>ul{
	margin-left:12px!important;
}

/* ------------------------------------------
	FORMULAIRE DE RECHERCHE
------------------------------------------ */

#search-form {
	display: flex;
	color: #454544;
	margin: 4% 0 0 0;
	border-radius: 100px;
	-webkit-box-shadow: 0 2px 20px rgba(0,0,0,0.4);
            box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

#search-form input {
	border: none;
	padding: 0 5px 0 8%;
	font-size: 2.0rem;
	font-size: clamp(1.6rem, 1.1vw, 2.0rem);
}

#search-form input[type="search"] {
	width: 330px;
	height: 100%;
	border-top-left-radius: 100px;
	border-bottom-left-radius: 100px;
	background-color: #FFF;
}

#search-form #search-submit {
	position: relative;
	display: block;
	min-width: 30px;
	min-height: 30px;
	width: 5vw;
	height: 5vw;
	max-width: 50px;
	max-height: 50px;
}

#search-form input[type="submit"] {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border-radius: 100px;
	background-color: hsl(195.6,88.8%,31.4%);
	background-image: url('../images/assets/icon-search-25x.svg');
	background-position: center center;
	background-size: 50%;
	background-repeat: no-repeat;
	cursor: pointer;
	transition: all 0.2s ease;
}
#search-form input[type="submit"]:hover {
	background-color: hsl(195.6,88.8%,20%);
}

#search-form #search-submit::after {
	content: '';
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	display: block;
	width: 50%;
	height: 100%;
	background-color: #FFF;
}

/* ----- PLACEHOLDER ----- */
#search-form input[type="search"]::-webkit-input-placeholder {
	color: #454544;
	opacity: 1;
}
#search-form input[type="search"]::-moz-placeholder {
	color: #454544;
	opacity: 1;
}
#search-form input[type="search"]:-ms-input-placeholder {
	color: #454544;
	opacity: 1;
}
#search-form input[type="search"]::-ms-input-placeholder {
	color: #454544;
	opacity: 1;
}
#search-form input[type="search"]::placeholder {
	color: #454544;
	opacity: 1;
}

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

	ACTUALITES : ACCUEIL

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

#actualites {
	padding: 0 0 30px 0;
}

.actualites__wrapper {
	display: flex;
}

.actualites__entete {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	padding: 0 12% 30px 0;
}

.big-title {
	line-height: 1;
	font-size: 3.0rem;
	font-size: clamp(2.0rem, 1.6vw, 3.0rem);
	font-weight: 300;
	letter-spacing: 3px;
	color: #FFF;
}

.big-title .very-big {
	display: block;
	line-height: 1;
	font-size: 8.5rem;
	font-size: clamp(5.0rem, 4.55vw, 8.5rem);
	font-weight: 600;
	letter-spacing: -1px;
	margin: 0 0 10px 0;
}

.big-title span {
	white-space: nowrap;
}

.actualites__entete .big-title {
	margin-bottom: 6%;
	text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.link {
	font-size: 1.6rem;
	line-height: 1.2;
	color: #FFF;
	padding: 10px 14px;
	background-color: hsl(195.6,88.8%,31.4%);
	transition: all 0.2s ease;
}

.link:hover {
	background-color: hsl(195.6,88.8%,20%);
}

.actualites__entete .link {
	text-align: center;
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.4);
            box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.actualites__listing {
	display: flex;
	height: auto!important;
	padding-bottom: 60px!important;
	padding-bottom: var(--default-spacing);
}

.actualites__item {
	position: relative;
	background-color: #FFF;
	display: flex;
	flex-direction: column;
	top: 0;
	transition: all 0.4s ease;
}

.actualites__item.active {
	top: 60px;
	top: var(--default-spacing);
}

.actualites__item-image {
	display: block;
	padding: 0;
	margin: 0;
}

.actualites__item-image::after {
	content: '';
	display: block;
	width: 100%;
	height: 6px;
	background: rgb(190,22,34);
	background: -moz-linear-gradient(90deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	background: -webkit-linear-gradient(90deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	background: linear-gradient(90deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#be1622",endColorstr="#b1117f",GradientType=1);
}

.actualites__item-image picture {
	display: block;
	height: 280px;
	overflow: hidden;
}

.actualites__item-image picture img {
	display: block;
	width: 100%;
	/*border: 6px solid #FFF;*/
	border: 0px solid #FFF;
}

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


	.actualites__item-image picture.imagePortrait img, .agenda__item-image  picture.imagePortrait img {
	  width: 100%;
	  height: 100%;
	  object-fit: contain;
	  object-position: center center;
	}
	
	
	

	picture.classContain img {
	  width: 100%!important;
	  height: 100%!important;
	  object-fit: contain!important;
	  object-position: center center!important;
	}
	picture.classCover img {
	  width: 100%!important;
	  height: 100%!important;
	  object-fit: cover!important;
	  object-position: center center!important;
	}
	picture.classImageTop img,picture.classTop img {
	  object-position: top center!important;
	}
	picture.classImageMiddle img,picture.classMiddle img {
	  object-position: center center!important;
	}
	picture.classImageBottom img,picture.classBottom img {
	  object-position: bottom center!important;
	}
	.imagePdfDetail img {
		max-width: 318px;
		max-height: 500px;
	}
.actualites__item-titre {
	flex: auto;
}

.actualites__item-titre h2 {
	padding: 0;
	margin: 0;
	height: 100%;
}

.actualites__item-titre a {
	display: flex;
	height: 100%;
	justify-content: space-between;
	align-items: center;
	color: #454544;
	font-size: 2.0rem;
	/* clamp(MIN, VAL, MAX) */
	font-size: clamp(1.8rem, 1.1vw, 2.0rem);
	font-weight: 400;
	padding: 15px;
}

.actualites__item-titre a::after {
	content: '';
	flex: none;
	display: block;
	width: 40px;
	height: 40px;
	margin: 0 0 0 20px;
	opacity: 0.2;
	background-image: url('../images/assets/icon-more-50x.svg');
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	transition: all 0.2s ease;
}

.actualites__item-titre a:hover:after {
	opacity: 1;
}

#actualites .lSSlideOuter {
	position: relative;
	bottom: 30px;
}

#actualites .lSSlideWrapper {
	overflow: visible;
}

/* ----- LIGHTSLIDER : CONTROLS ----- */

#actualites .lSAction {
	position: absolute;
	right: 0;
	display: flex;
	justify-content: space-between;
	width: 100px;
	padding: 5px 0;
}

#actualites .lSAction > a {
	position: static;
}

.lSAction > a {
	z-index: 1;
	width: 40px;
	height: 40px;
	background-image: url('../images/assets/icon-right-40x.svg');
	opacity: 1;
	margin: 0;
	background-repeat: no-repeat;
	border-radius: 100px;
	-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.6);
			box-shadow: 0 2px 4px rgba(0,0,0,0.6);
	transition: all 0.2s ease;
}

.lSAction > a:hover {
	opacity: 0.6;
}

#actualites .lSAction > .lSPrev,
#actualites .lSAction > .lSNext {
	left: unset;
	right: unset;
}

.lSAction > .lSPrev,
.lSAction > .lSNext {
	background-position: center;
	background-size: 100%;
}

.lSAction > .lSPrev {
	transform: rotate(180deg);
}

/* ----- LIGHTSLIDER : PAGER ----- */

#actualites .lSSlideOuter .lSPager.lSpg {
	display: flex;
	width: calc(100% - 100px);
	padding: 15px 0;
	margin: 0!important;
}

.lSSlideOuter .lSPager.lSpg {
	margin: 15px 0!important;
}

.lSSlideOuter .lSPager.lSpg > li {
	padding: 0 10px 0 0;
}

.lSSlideOuter .lSPager.lSpg > li a {
	display: block;
	width: 20px;
	height: 20px;
	background-color: #FFF;
	border: 1px solid #FFF;
	-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.6);
			box-shadow: 0 2px 4px rgba(0,0,0,0.6);
	transition: all 0.2s ease;
}

.lSSlideOuter .lSPager.lSpg > li.active a,
.lSSlideOuter .lSPager.lSpg > li:hover a {
	background-color: #097297;
}

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

    EN 1 CLIC

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

.animate-gradient {
    background: linear-gradient(-45deg, #BE1622, #B1117F, #BE1622);
    background-size: 300% 300%;

    -webkit-animation: background-animate 5s ease infinite;
    -moz-animation: background-animate 5s ease infinite;
    -o-animation: background-animate 5s ease infinite;
    animation: background-animate 5s ease infinite;
}

#enUnClic {
	border-top: 10px solid #F5F5F6;
	padding: 30px 0 15px 0;
}

.isPage #enUnClic {
	margin-bottom: 30px;
	padding: 30px 0;
}

.enUnClic__wrapper {
	position: relative;
	padding-left: 9%;
}

.isPage .enUnClic__wrapper {
	padding-left: 6%;
}

.enUnClic__wrapper::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 9%;
	height: 100%;
	background-image: url('../images/assets/click-200x300.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
}

.isPage .enUnClic__wrapper::before {
	width: 6%;
}

#enUnClic h3 {
	margin-left: 2%;
}

h3.title-line {
	color: #FFF;
	font-size: 4.0rem;
    font-size: clamp(2.4rem, 2.2vw, 4.0rem);
	font-weight: 400;
	line-height: 1;
	padding: 0;
	margin: 0;
}

h3.title-line span {
	display: flex;
	align-items: center;
	white-space: nowrap;
}

h3.title-line span::after {
	content: '';
	display: block;
	width: 100%;
	height: 5px;
	margin: 0 0 0 40px;
	background: rgb(255,255,255);
	background: -moz-linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.4) 100%);
	background: -webkit-linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.4) 100%);
	background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.4) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
}

.enUnClic__listing {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 15px 0 0 2%;
}

.enUnClic__item {
	flex: 1;
	padding: 15px;
}

.enUnClic__item a {
	display: block;
	text-align: center;
}

.isPage .enUnClic__item a {
	display: flex;
	align-items: center;
}

.enUnClic__item .icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 80px;
	height: 80px;
	margin: 0 auto 15px auto;
	border-radius: 140px;
	background-color: rgba(255,255,255,1);
	border: solid 4px #FFF;
	-webkit-box-shadow: 0 2px 10px rgba(100,100,100,0.2);
			box-shadow: 0 2px 10px rgba(100,100,100,0.2);
	transition: all 0.2s ease;
}

.isPage .enUnClic__item .icon {
	flex: none;
	margin: 0;
	width: 60px;
	height: 60px;
}

.enUnClic__item a:hover .icon {
	transform: scale(1.1);
	background-color: rgba(255,255,255,0.8);
	-webkit-box-shadow: 0 2px 10px rgba(100,100,100,0.5);
			box-shadow: 0 2px 10px rgba(100,100,100,0.6);
}

.enUnClic__item .icon > img {
	width: 100%;
	max-width: 46px;
	transition: all 0.2s ease;
}

.isPage .enUnClic__item .icon > img {
	max-width: 36px;
}

.enUnClic__item a:hover .icon > img {
	transform: scale(1.1);
}

.enUnClic__item .label {
	color: #FFF;
	font-size: 2.0rem;
	/* clamp(MIN, VAL, MAX) */
	font-size: clamp(1.6rem, 1.1vw, 2.0rem);
	font-weight: 400;
	text-transform: uppercase;
}

.page-content .enUnClic__item .label {
	text-align: left;
}
.isPage .enUnClic__item .label {
	/*text-align: left;*/
	margin: 0 0 0 10px;
	font-size: 1.8rem;
	/* clamp(MIN, VAL, MAX) */
	font-size: clamp(1.6rem, 1.0vw, 1.8rem);
}

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

    CARTE ET AGENDA

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

#carte-et-agenda {
	padding: 30px 0;
}

.layout-row {
	display: flex;
	flex-wrap: wrap;
}

.layout-row > * {
	flex: 1 0 0;
	min-height: 150px;
}

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

h3.title-icon {
	display: flex;
	align-items: center;
	color: #097297;
	font-size: 4.0rem;
	font-size: clamp(2.4rem, 2.15vw, 4.0rem);
	line-height: 1;
	font-weight: 400;
	padding: 0;
	margin: 0 0 30px 0;
}

h3.title-icon img {
	margin-right: 2%;
	width: 40px;
	width: clamp(30px, 2.15vw, 40px);
}

/* ------------------------------------------
	CARTE
------------------------------------------ */

#carte-et-agenda .carte {
	display: flex;
	flex-direction: column;
}

#carte-et-agenda .carte .block-link {
	flex: auto;
	background-image: url('../images/assets/cartographie.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	min-height: 25vh;
}

.block-link {
	position: relative;
	display: block;
	width: 100%;
}

.block-link:hover .label {
	background-color: rgba(9,114,151, 0.8);
}

.block-link .label {
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #FFF;
	letter-spacing: 1px;
	line-height: 1;
	font-size: 2.0rem;
	/* clamp(MIN, VAL, MAX) */
	font-size: clamp(1.6rem, 1.1vw, 2.0rem);
	font-weight: 600;
	background-color: rgba(9,114,151, 0.6);
	padding: 15px;
	margin: 0;
	transition: all 0.2s ease;
}

.block-link .label::after {
	content: '';
	display: block;
	width: 30px;
	height: 30px;
	background-image: url('../images/assets/icon-right-40x.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

@supports (backdrop-filter: blur(6px)) {
	/* IF backdrop-filter IS SUPPORTED */
	.block-link .label {
	  backdrop-filter: blur(6px);
	}
  }

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

.agenda__listing {
	/*padding: 20px 0 0 0;*/
}
.agenda__listing article{
  transition: transform .2s; /* Animation */
}
.agenda__listing article:hover  {
	/*transform: scale(1.02);*/
}
.agenda__listing .agenda__item-image{
	margin: 0 0 0 0 ;
}

.agenda__item {
	position: relative;
	display: flex;
	padding: 0 0 0 0;
}

.agenda__listing > * + * {
	margin: 40px 0 0 0;
}

.agenda__item-image {
	display: flex;
	width: calc(240px + 6px);
	min-height: 140px;	
	flex: none;
	margin: 0;
}

.agenda__item-image::after {
	content: '';
	display: block;
	width: 6px;
	height: 100%;
	background: rgb(190,22,34);
	background: -moz-linear-gradient(0deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	background: -webkit-linear-gradient(0deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	background: linear-gradient(0deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#be1622",endColorstr="#b1117f",GradientType=1);
}

.agenda__item-image picture {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.agenda__item-image img {
	display: block;
	width: 100%;
}

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

.agenda__item time {
	position: absolute;
	z-index: 5;
	top: -20px;
	left: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 70px;
	height: 70px;
	background: rgb(190,22,34);
	background: -moz-linear-gradient(135deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	background: -webkit-linear-gradient(135deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	background: linear-gradient(135deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#be1622",endColorstr="#b1117f",GradientType=1);
}

.agenda__item time::after {
	content: '';
	position: absolute;
	z-index: 1;
	top: 0;
	right: -10px;
	display: block;
	width: 10px;
	height: 20px;
	background-image: url('../images/assets/angle-10x20.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px 20px;
}


.agenda__item time.time_fin {
	background: rgb(9,114,151);
	background: -moz-linear-gradient(135deg, rgba(9,114,151,1) 0%, rgba(6,73,96,1) 100%);
	background: -webkit-linear-gradient(135deg, rgba(9,114,151,1) 0%, rgba(6,73,96,1) 100%);
	background: linear-gradient(135deg, rgba(9,114,151,1) 0%, rgba(6,73,96,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#097297",endColorstr="#064960",GradientType=1);
}

.agenda__item time.time_fin::after {
	background-image: url('../images/assets/angle-10x20_bleu.svg');
}

.agenda__item time.time_fin {	
	z-index: 4;
	left: unset;
	right:15px;
}

.agenda__item time.time_fin::after {
	  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
	right: unset;
	left:-10px;
	
}


.agenda__item time span {
	display: block;
	color: #FFF;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
	font-size: 1.2rem;
}

.agenda__item time span.date-jour {
	font-size: 3.2rem;
}

.agenda__item-texte {
	position: relative;
	display: block;
	flex: auto;
	background-color: #F5F5F6;
	padding: 15px;
}
/*
.agenda__item-texte::after {
	content: '';
	position: absolute;
	right: 15px;
	bottom: 15px;
	display: block;
	width: 40px;
	height: 40px;
	opacity: 0.2;
	background-image: url('../images/assets/icon-more-50x.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: all 0.2s ease;
}
.agenda__item-texte:hover:after {
	opacity: 1;
}
/**/


.agenda__item-texte .bouton_plus {
	content: '';
	position: absolute;
	right: 15px;
	bottom: 15px;
	display: block;
	width: 40px;
	height: 40px;
	opacity: 0.2;
	background-image: url('../images/assets/icon-more-50x.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: all 0.2s ease;
}
.agenda__item-texte:hover  .bouton_plus  {
	opacity: 1;
}

.document_article::after {
	display:none;	
}

.agenda__item-texte h2 {
	font-size: 2.0rem;
	/* clamp(MIN, VAL, MAX) */
	font-size: clamp(1.6rem, 1.1vw, 2.0rem);
	font-weight: 600;
	color: #454544;
	margin: 0 0 10px 0;
}

.document_article h2{
	margin: 0 0 10px 0;
	
}

.agenda__item-texte .summary {
	padding-right: 55px;
}

.agenda__item-texte .summary > * {
	font-size: 1.8rem;
	font-size: clamp(1.6rem, 1.0vw, 1.8rem);
	font-weight: 400;
	line-height: 1.6;
	color: #454544;
	margin: 0;
}

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

footer {
	padding: 30px 0 0 0;
	background-color: #616065;
}

footer .label-col {
	display: inline-block;
	color: #FFF;
	font-weight: 400;
	line-height: 1;
	font-size: 2.4rem;
	/* clamp(MIN, VAL, MAX) */
	font-size: clamp(2.0rem, 1.3vw, 2.4rem);
	background-color: #575656;
	padding: 10px 15px; 
	margin: 0 0 20px 0;
}

footer .horaires {
	line-height: 1.4;
	margin: 0 0 15px 0;
}
footer .horaires p{
	line-height: 1.4;
	margin: 0 0 15px 0;
}

.footer__infos {
	display: flex;
	justify-content: space-between;
}

.footer__infos a {
	position: relative;
	left: 0;
	display: block;
}

.footer__infos a:hover {
	left: 5px;
	opacity: 0.6;
}

.footer__infos * {
	color: #FFF;
	font-size: 2.0rem;
	/* clamp(MIN, VAL, MAX) */
	font-size: clamp(1.8rem, 1.6vw, 2.0rem);
	font-weight: 400;
	font-style: initial;
	line-height: 1.6;
}

.footer__infos address {
	margin-bottom: 15px;
}

.footer__numero {
	padding: 0 0 30px 0;
}

.footer__numero a {
	display: inline-block;
	font-size: 2.0rem;
	/* clamp(MIN, VAL, MAX) */
	font-size: clamp(1.8rem, 1.6vw, 2.0rem);
	font-weight: 500;
	color: #FFF;
	background-color:hsl(0, 0.6%, 33.9%);
	padding: 10px 15px; 
	transition: all 0.2s ease;
}

.footer__numero a:hover {
	background-color: hsl(0, 0.6%, 20%);
}

.footer__mentions {
	text-align: center;
	color: #FFF;
	background-color: #575656;
	padding: 10px;
}

.footer__mentions a:hover {
	opacity: 0.6;
}

.footer__mentions * {
	font-size: 1.6rem;
	font-weight: 400;
	color: inherit;
	margin: 0;
}

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

main.isPage {
	background-color: #F5F5F6;
}

.page-layout {
	display: flex;
	padding: 30px 0 30px 0;
}

.page-layout .col-left,
.page-layout .col-right {
	
}

.page-layout .col-left {
	flex: 0 0 300px;
	margin-right: 30px;
}

.page-layout .col-right {
	flex: auto;
}

/* ------ MENU PAGE LATERAL ------ */

.menu-page {
	background: #FFF;
	padding: 30px 0 30px 30px;
}

.netc-editor h2 {
	clear: both;
}

ul.grilleElus {
	clear:both;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

ul.grilleElus li{	
  /*width:31%;
  float:left;  /**/
  width:auto;
  border:1px solid grey;
  margin:2%;
  padding:0;
  list-style-type: none;
  text-align:center;
}
.photoElu{
	width:300px;
	height:300px;
	object-fit:cover;
	object-position: top;
	
}
.label{
	display:block;
	width:100%;
	font-weight:bold;
	
}
.sous_label{
	display:block;
	width:100%;
	margin-bottom: 10px;
	font-size: 1.6rem!important;
}

.ville {
	color: #FFF;
	display: block;
	font-size: 1.4rem!important;
}

.menu-page h2 {
	position: relative;
	display: flex;
	align-items: center;
	font-size: 3.0rem;
	/* clamp(MIN, VAL, MAX) */
	font-size: clamp(2.0rem, 1.6vw, 3.0rem);
	font-weight: 400;
	color: #BE1622;
	margin: 0 0 20px 0;
}

.menu-page h2 > span {
	margin-right: 30px;
}

.menu-page h2::after {
	content: '';
	flex: auto;
	height: 5px;
	background: rgb(190,22,34);
	background: -moz-linear-gradient(90deg, rgba(190,22,34,1) 0%, rgba(255,255,255,1) 100%);
	background: -webkit-linear-gradient(90deg, rgba(190,22,34,1) 0%, rgba(255,255,255,1) 100%);
	background: linear-gradient(90deg, rgba(190,22,34,1) 0%, rgba(255,255,255,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#be1622",endColorstr="#ffffff",GradientType=1);
}

.menu-page ul {
	list-style: none;
	padding: 0 30px 0 0;
	margin: 0;
}

.menu-page ul > * + * {
	margin-top: 10px;
}

.menu-page ul li a {
	position: relative;
	left: 0;
	font-size: 1.8rem;
	
	font-size: clamp(1.6rem, 1.0vw, 1.8rem);
	font-weight: 400;
	color: #575656;
}

.menu-page ul li a:hover {
	left: 5px;
	color: #202020;
}

.menu-page ul li.is-active a {
	font-weight: 600;
	color: #BE1622;
}

/* ------ FIL D'ARIANE ------ */

.breadcrumb {
	display: flex;
	justify-content: flex-start;
	margin: 0 0 30px 0;
}

.breadcrumb ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 5px 10px;
	margin: 0;
	background-color: #FFF;
}

.breadcrumb li a {
	display: inline-block;
	font-size: 1.6rem;
	color: #454544;
	font-weight: 500;
	padding: 2px;
}

.breadcrumb li a:hover {
	opacity: 0.6;
}

/** /
.breadcrumb li:last-child a {
	color: #097297;
}
.breadcrumb li:last-child .chevron {
	display: none;
}
/**/

.breadcrumb a {	
    color: #454544;
}

.breadcrumb strong {
    font-size: 1.6rem;
    font-weight: 500;
	color: #097297;
}/*
.breadcrumb li:last-child .chevron {
	display: none;
}
/* ------ PAGE CONTENT ------ */

.page-content,.page-content2 {
	background-color: #FFF;
	padding: 20px;
}

.page-content h1,.page-content2 h1 {
	font-size: 3.0rem;
	/* clamp(MIN, VAL, MAX) */
	font-size: clamp(2.0rem, 1.6vw, 3.0rem);
	font-weight: 600;
	color: #BE1622;
	padding: 0;
	margin: 0;
	line-height: 1.2;
}

.page-content h2,.page-content2 h2 {
	font-size: 2.4rem;
	/* clamp(MIN, VAL, MAX) */
	font-size: clamp(2.0rem, 1.6vw, 2.4rem);
	font-weight: 500;
	color: #097297;
	line-height: 1.2;
	padding: 0;
	margin: 20px 0;
}


.page-content p {
	/*margin: 20px 0;*/
	margin: 10px 0;
}


.page-content2 h2 {
	margin: 0 0 20px 0;
	font-size: 1.7rem;
}
.page-content2 p {
	/*margin: 20px 0;*/
	margin: 10px 0;
	font-size: 1.6rem;
	/*font-size: clamp(1.6rem, 1.0vw, 1.6rem);*/
	color:#BE1622;
	font-weight:500;
}

.lienVoirPDF span,.lienTelechargerPDF  span{
	margin-right:10px;
}


.lienVoirPDF p,.lienTelechargerPDF p{
	background-color: #BE1622;	
	color:white;
	padding:5px 15px;
	margin:5px 0px;
	border-radius:5px;
	display:inline-block;
}


.lienVoirPDF:hover p,.lienTelechargerPDF:hover p{
	background-color: #b1117f;	
}

.lienDocumentTelechargement span{
	width:15px;
	display:inline-block;
	text-align:center;
}
.lienDocument{
	color: #BE1622;	
}

.netc-editor {
	/*margin: 20px 0;*/
	margin: 10px 0;
}
.netc-editor a {
	color: #BE1622;
	font-weight: 600;
	text-decoration: underline;
}
.netc-editor #map_conteneur a {
	color: black;
	font-weight: 300;
	text-decoration: none;
}
.leaflet-control-attribution a{
	/*display:none;*/
    color: #0078A8!important;
	font-size: 11px!important;
}
.netc-editor,.netc-editor > *, .netc-editor > * *{
	font-size: 1.8rem;
	font-size: clamp(1.6rem, 1.0vw, 1.8rem);
	line-height: 1.6;
}
.lien1clic{
	color:#BE1622!important;
	text-decoration:none;
	font-weight:700!important;
}
.lien1clic:hover{
	color:#B1117F!important;
}



.sousPages li{
	color: #BE1622;
}
.sousPages a{
	color: #BE1622;
	text-decoration:none;
}

.sousPages>li>a{
	font-weight:600;
}
.sousPages>li{
	font-weight:600;
	margin-top:10px;
	margin-bottom:10px;
}

.sousPages h2{
	font-size:16px;
	/*margin-bottom:-5px !important;*/	
	/*margin-top:10px !important;*/
}
.sousPages h2:first-child{
	/*margin-top:0px !important;*/
}
.sousPages ul{
	/*margin-bottom:5px !important;*/
	/*margin-top:-5px !important;*/
}

.imageDroiteListe{
}
.imageDroiteListe img{
	float:right;	
	max-width:400px;
	/*max-height:1000px;*/
	height:auto;
}


pre{
	margin-top:-5px!important;
	margin-bottom:0px!important;
	color:#be1622;
	font-family: 'Open Sans', sans-serif;
	font-size:13px;
	font-weight:600;
}


.titreRecherche a{
	font-size: 2rem;
	font-size: clamp(1.8rem, 1.0vw, 2rem);
	line-height: 1.8;
    font-weight: 600;
    color: #BE1622;
    padding: 0;
    margin: 0;
	text-transform:initial;
}

.urlRecherche{
    color: #BE1622;	
}
.imagePDF,.document_article{
	border:1px solid #BE1622;	
}
.slug-actualites .imagePDF,.slug-actualites .document_article,.slug-agenda .imagePDF,.slug-agenda .document_article{
	border:0px !important;	
}
.slug-actualites .agenda__item-image picture,.slug-actualites .agenda__item-image picture img,.slug-agenda .agenda__item-image picture,.slug-agenda .agenda__item-image picture img{
	max-height: calc(240px + 6px);
}

.agenda__item-texte .summary p a{
    font-size: 1.8rem;
    font-size: clamp(1.6rem, 1.0vw, 1.8rem);
    font-weight: 400;
    line-height: 1.6;
    color: #454544;
}

.slug-compte-rendus,.slug-lettre,.slug-bulletins	{
	padding:0!important;
	display: flex;
	flex-wrap: wrap;
}

.slug-compte-rendus > article,.slug-lettre > article,.slug-bulletins > article {
    flex: 0 0 calc( 33.33% - 40px);
    padding: 0px 0px 0 0px;
    margin: 0px 20px 40px 20px;
    flex-direction: column;
    background-color: #f5f5f6;
}

.slug-compte-rendus > article > .agenda__item-image,.slug-lettre > article > .agenda__item-image,.slug-bulletins > article .agenda__item-image {
	margin:auto!important;
}
.slug-compte-rendus > article > .agenda__item-image::after,.slug-lettre > article > .agenda__item-image::after,.slug-bulletins > article .agenda__item-image::after {
	display:none;
}
.slug-compte-rendus > article > .agenda__item-texte,.slug-lettre > article > .agenda__item-texte,.slug-bulletins > article .agenda__item-texte {
	border-top:6px solid #BE1622;
	min-height: 150px;
}

.slug-actualites > article{
	border:1px solid #cccccc;
}
.slug-actualites .agenda__item-image,.slug-agenda .agenda__item-image {
	max-height:calc(240px + 6px);
	position:relative;
	min-width: 180px;
}
.slug-compte-rendus .agenda__item-image,.slug-lettre .agenda__item-image,.slug-bulletins .agenda__item-image {
	width:100%;/*calc(360px + 6px);*/
	/*height: calc(100% - 150px);*/
	height: 500px;
	background-color:white;
}

.calendrierAgenda td a span {
	color:#444444;
}
.calendrierAgenda td a span font{
	color:#eeeeee;
}
.calendrierAgenda th,.calendrierAgenda td{
	text-align:center;
}
.calendrierAgenda th{
	font-weight:600;
}
.calendrierAgenda .navCalendrier{
	color:#BE1622;
}
.calendrierAgenda .navCalendrier:first-child{
	float:left;
	margin-left:7px;
}
.calendrierAgenda .navCalendrier:last-child{
	float:right;
	margin-right:7px;
}
.calendrierAgenda th.moisAnnee{
	color:#BE1622;
	font-weight:700;
	padding-bottom:6px;
	font-size:20px;
}
.calendrierAgenda td span{
	/*border:1px solid grey;*/
	border-radius:20px;
	height:34px;
	width:34px;
	display:block;
	padding-top:2px;
	
}
.calendrierAgenda td.actif span{
	border:1px solid #BE162211;
	background-color:#BE162211;
	/*border:1px solid #BE1622;*/
	color:#BE1622;
	font-weight:400;
}
.calendrierAgenda td.premier span{
	border:1px solid #BE1622;
	background-color:#BE1622;
	color:white;
	font-weight:700;
	background: rgb(190,22,34);
	background: -moz-linear-gradient(135deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	background: -webkit-linear-gradient(135deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	background: linear-gradient(135deg, rgba(190,22,34,1) 0%, rgba(177,17,127,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#be1622",endColorstr="#b1117f",GradientType=1);
	
	
	background: linear-gradient(-45deg, #BE1622, #B1117F, #BE1622);
    background-size: 300% 300%;
    -webkit-animation: background-animate 5s ease infinite;
    -moz-animation: background-animate 5s ease infinite;
    -o-animation: background-animate 5s ease infinite;
    animation: background-animate 5s ease infinite;

}
.calendrierAgenda td.aujourdhui span{
	border:1px solid #097297;
	background-color:#09729711;
	color:#097297;
	font-weight:700;
}

/**/
.calendrierAgenda td.premier.aujourdhui span{
	background: rgb(9,114,151);
	background: -moz-linear-gradient(135deg, rgba(9,114,151,1) 0%, rgba(9,114,151,1) 100%);
	background: -webkit-linear-gradient(135deg, rgba(9,114,151,1) 0%, rgba(9,114,151,1) 100%);
	background: linear-gradient(135deg, rgba(9,114,151,1) 0%, rgba(9,114,151,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#097297",endColorstr="#097297",GradientType=1);

	border:1px solid #097297!important;
	background-color:#097297!important;
	color:white!important;
	
}
/**/

article.invisible{
	display:none;
}

.agenda__listing  .calendrierAgenda{
	margin:-50px auto 0px auto;
}
.slug-agenda .agenda__item time.passe, #carte-et-agenda time.passe, .detailEvenement time.passe{	
	background: rgb(200,200,200)!important;
	background: -moz-linear-gradient(135deg, rgba(200,200,200,1) 0%, rgba(200,200,200,1) 100%)!important;
	background: -webkit-linear-gradient(135deg, rgba(200,200,200,1) 0%, rgba(200,200,200,1) 100%)!important;
	background: linear-gradient(135deg, rgba(200,200,200,1) 0%, rgba(200,200,200,1) 100%)!important;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#686868",endColorstr="#686868",GradientType=1)!important;
}
.slug-agenda .agenda__item time.passe:after, #carte-et-agenda time.passe:after, .detailEvenement time.passe:after{
	filter: brightness(500%) grayscale(1);
}

#carte-et-agenda .agenda__item-image{
	max-height:200px;
}
#carte-et-agenda picture.imagePortrait img{
	max-height:200px;
}
#carte-et-agenda .agenda__item-image{
	position:relative;
}
 .calendrierAgenda td{
	padding: 4px;
}

#carte-et-agenda  .calendrierAgenda{
	margin:-20px auto 0px auto;
}

.listePoints{
	padding:15px 8px 8px 8px;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: repeat(5, 1fr);
	grid-column-gap: 015px;
	grid-row-gap: 015px;
}

.detailPoint {
	height:120px;
	position:relative;
	margin:0px;
	border:1px solid grey;
}

.detailPoint div.point{
	position:absolute;
	width: 100%;
	bottom:30px;
	text-align:center;
}

.detailPoint h2{
	font-size:14px!important;
	text-align:center;
	padding:0px;
	margin:0px;
	height:34px;
	font-weight:bold;
	color:rgba(190,22,34,1);	
	display: flex;
	justify-content:center;
	align-content:center;
	flex-direction:column;

}

.detailPoint .point_commune{
	font-size:12px!important;
	width:100%;
	position:absolute;
	bottom:0;
	text-align:center;
	color:white;
	padding:5px;
}
#map_lieux{
	z-index:1;
}

.lg-on{
	overflow:hidden;
}
.lg-backdrop{
	background-color: #000000BB!important;
}
.pdf-viewer .lg-object {	
	padding-top: 47px;
	padding-bottom: 47px;
	height:calc (100% - 94px);
}

.detailEvenement{	
	float:right;
	width:200px;
}


.infobulle{
    position: absolute;   
    visibility : hidden;
    border: 1px solid #BE1622;
    /*margin: 0px 0px 0px 0px;*/
	margin-left:25px;
	margin-top:0px;
    padding: 10px ;
    font-family: Verdana, Arial;
    font-size: 10px;
    /*background-color: #FFFFCC;*/
	border-radius:8px;
    background-color: #fbeff0;
	color:#BE1622;
    border: 1px solid #fbeff0;
	background-color:#BE1622;
    color: #fbeff0;
	background: linear-gradient(-45deg, #BE1622, #B1117F, #BE1622);
    background-size: 300% 300%;
    -webkit-animation: background-animate 5s ease infinite;
    -moz-animation: background-animate 5s ease infinite;
    -o-animation: background-animate 5s ease infinite;
    animation: background-animate 5s ease infinite;
	
}

.lienVoirPDF {
	display:none;
}

.listeDocuments {
  display: flex;
  flex-wrap: wrap;
}

.bloc_document {
  /*flex: 1 0 17%; */
  margin: 1%;
  height: 200px;
  text-align:center;
  width:18%;
}

.bloc_document .lienPDF img{
	height:100px;
	width:auto;
	max-width:200px;
	text-align:center;
	padding:3px;
}