/*!
Theme Name: cnpp70ans
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cnpp70ans
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

cnpp70ans is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
@font-face {
  font-family: 'Roboto-Regular';
  src: url('assets/fonts/roboto/Roboto-Regular.ttf');
}
@font-face {
  font-family: 'Roboto-Bold';
  src: url('assets/fonts/roboto/Roboto-Bold.ttf');
}
@font-face {
  font-family: 'Roboto-ExtraLight';
  src: url('assets/fonts/roboto/Roboto-ExtraLight.ttf');
}
@font-face {
  font-family: 'Roboto-Light';
  src: url('assets/fonts/roboto/Roboto-Light.ttf');
}
@font-face {
  font-family: 'Roboto-Medium';
  src: url('assets/fonts/roboto/Roboto-Medium.ttf');
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.clear:before,.clear:after { content:' '; display:table; }
.clear:after { clear:both; }
.clear { zoom:1;}
ul, ol {
  list-style: none;
}
img {
  width: 100%;
}
a {
  text-decoration: none;
  color: #000;
}
:root {
	--bleu-fonce : #153d8a;
	--bleu-clair :#009fe3;
	--blanc : white;
	--orange : #e84e0f;
	--violet : #80357b;
	--orange-clair : #fbba00;
	--rouge: #e40520;
	--gris : #f0f0f2;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
	font-size: 14px;
	font-family: 'Roboto-Regular', sans-serif;
	background-color: white;
	/* background: #2A7B9B;
	background: linear-gradient(90deg, rgba(42, 123, 155, 1) 0%, rgba(228, 5, 32, 1) 56%, rgba(251, 186, 0, 1) 100%); */
}
.flex {
	display: flex;
}
.wrap {
	max-width: 800px;
	margin: 0 auto;
	background-color: white;
	bottom: 0;
	top: 150px;
	left: 0;
	right: 0;
	
}
.titre {
	padding: 1rem;
	border-top: 1px solid var(--bleu-clair);
	border-bottom: 1px solid var(--bleu-clair);
	width: 90%;
	margin: 0 auto;
	margin-top: 1rem;
	margin-bottom: 2rem;
	text-align: center;
} 
.titre h1 {
	font-family: 'Roboto-Medium' ;
	font-size: 1rem;
	text-align: center;
}
.titre p {
	margin-top: 10px;
}
button, a {
  outline: none;
  -webkit-tap-highlight-color: transparent; /* pour iOS et Android */
}
/* ///////////					Header 			////////////////*/
#masthead.site-header.fixed {
    background-image: url(assets/img/ellipse.svg);
    background-size: contain;
	background-position: top center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100px;
    top: 0;
    z-index: 1000;
	background-color: white;
	position: fixed;
	max-width: 800px;
}
#masthead.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}
.header-spacer {
	height: 100px;
	width: 100%;
	background-color: none;
}
.header-spacer.page-plan {
	display: none;
}
#masthead.site-header.fixed.page-plan {
	background-color: transparent;
}
#masthead .custom-logo {
	max-height: 100px;
}
/* ////////////////
// logo gestionnaire cookie
///////////// */
.cky-revisit-bottom-left {
	left: auto !important;
	top: 55px;
	right: 10px;
}

/* ////////////
// Bar zoom leaflet
//////////////// */
.leaflet-touch .leaflet-bar {
	top: 120px;
	margin-left: 20px;
}
/* ///////////					Footer 			////////////////*/
#colophon {
	position: fixed ;
	bottom: 0;
	left: -1px;
	width: 101%;
	z-index: 1000;
	background-color: white;
	padding-bottom: 20px;
	max-width: 800px;
	left: 50%;
    transform: translateX(-50%);
}
#colophon.page-plan {
	background-color: transparent;
}
#colophon #nav {
	position: relative;
	width: 95%;
	height: 65px;
	background: linear-gradient(90deg, var(--bleu-clair), var(--bleu-fonce));
	border-radius: 15px;
	display: flex;
	align-items: center;
	margin: 1rem auto;
	justify-content: center;
	padding: 0 1rem;
}
#colophon .img_picto:hover {
	opacity: 70%;
}
#colophon .bubble {
	background: url('assets/img/bulle_menu.svg') center / contain no-repeat;
	height: 90%;
	width: 120px;
	bottom: -1px;
	position: absolute;
	transition: left 0.25s cubic-bezier(0.4,0,0.2,1), width 0.25s cubic-bezier(0.4,0,0.2,1);
}
#colophon .menu_footer_picto {
	width: 120px;
	height: 80px;
	align-items: center;
	justify-content: center;
}
#colophon .img_picto {
	width: 35px;
	height: 35px;
	z-index: 10;
	margin-top: 10px;
}
.footer-spacer.page-plan {
	display: none;
}
.footer-spacer {
	height: 150px;
	width: 100%;
}
/* ///////////					Page accueil 			////////////////*/
/* ///////////////// */
/* // Compte a rebours 
////////// */
#compte_rebours .countdown {
	font-size: 2em;
	display: flex;
	justify-content: center;
}
#compte_rebours .time-box {
	background: var(--blanc);
	padding: 5px 20px 3px 20px;
	border-radius: 8px;
	min-width: 40px;
}
#compte_rebours .number {
	font-size: 32px;
	font-family: 'Roboto-Bold', sans-serif;
}
#compte_rebours .label {
	font-size: 10px;
}
#compte_rebours {
	text-align: center;
	padding: 1rem;
	border-top: 1px solid var(--bleu-clair);
	border-bottom: 1px solid var(--bleu-clair);
	width: 90%;
	margin: 0 auto;
	margin-top: 1rem;
	/* margin-top: 200px; */
}
#compte_rebours h1 {
	font-size: 14px;
}
#compte_rebours h2{
	margin-bottom: 5px;
}

/* ///////////// */
/* Categories 
//////////////// */
#primary-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 90%;
	margin: 0 auto;
	padding: 1rem 0;
}
#primary-menu h2 {
	font-size: 14px;
	margin-top: 5px;
}
#primary-menu p {
	font-size: 9px;
	font-family: 'Roboto-EtraLight', sans-serif;
	margin-top: 5px;
}
#primary-menu li a {
    display: block;
    text-decoration: none;
	color: black;
	height: 100%;
}
#primary-menu li {
	width: 48%;
	background-color: var(--gris);
	padding: 1rem;
	border-radius: 30px;
	margin-top: 1rem;
	height: 120px;
	min-width: 160px;
	max-width: 300px;
	transition: transform .2s;
}
#primary-menu li:hover {
transform: scale(1.1);
}
#primary-menu .menu-item {
    width: 30px;
    height: 30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
}
.inactives.ok  {
	position: relative;
	opacity: 0.5;
	filter: grayscale(100%);
	pointer-events: none;
	cursor: not-allowed;
	overflow: hidden;
}
.inactives.ok::after {
	content: "À venir";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 2px;
}
#primary-menu li.inactives {
  position: relative;
}
/* ///////////////
Section notif
///////// */
#notif .bandeau_notif, #notif .bandeau2 {
	background-color: black;
	margin-top: 2rem;
	color: var(--blanc);
	align-items: center;
	justify-content: space-around;
	padding: 1rem;
}
#notif .bouton p, #notif .bouton a {
	padding: 5px;
	background-color: white;
	border-radius: 10px;
	display: block;
	align-items: center;
	text-align: center;
}
#notif .bouton p {
	margin-bottom: 10px;
	background-color: var(--orange);
	height: 25px;
}
#notif .texte {
	max-width: 60%;
}
#notif p.titre_bandeau {
	color: var(--orange);
	margin-bottom: 5px;
}
#notif p.nom_atelier {
	margin-bottom: 5px;
}
#notif a.details {
	background-color: #80357A;
	color: white;
	height: 25px;
}
#notif a.details:hover {
	opacity: 70%;
}
#notif .bandeau2.inactives  {
	position: relative;
	opacity: 0.5;
	filter: grayscale(100%);
	pointer-events: none;
	cursor: not-allowed;
	overflow: hidden;
	padding: 3rem;
	margin-top: 2rem;
	background-color: black;
}
#notif .bandeau2 {
	text-align: center;
	padding: 2rem;
	color: var(--orange-clair);
}
#notif .bandeau2.inactives::after {
	content: "Aucun évènement à venir";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: bold;
	letter-spacing: 2px;
}
/* ///////////					Page plan 			////////////////*/
#map {
    height: 100%;
    width: 100%;
	bottom: 0;
	top: 0;
	background-color: white;
}
/* Personnalisation du popup  */
.leaflet-popup-content-wrapper {
  border-radius: 15px;
  background: rgba(255 255 255 / 0.1);
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255 255 255 / 0.3);
  box-shadow: 0 4px 30px rgba(0 0 0 / 0.1);
  color: #000;
}
.leaflet-popup-close-button {
    display: none;
}
.leaflet-popup-tip {
    display: none;
}
/* ///////////					Page ateliers 			////////////////*/
#ateliers .one_atelier {
	width: 43%;
	background-color: var(--gris);
	padding: 1rem;
	border-radius: 30px;
	margin-top: 1rem;
	height: 120px;
	min-width: 160px;
	max-width: 400px;
	transition: transform .2s;
}
#ateliers .one_atelier:hover {
	transform: scale(1.1);
}
#ateliers h2 {
	font-size: 14px;
} 
#ateliers .texte {
    padding-top: 5px;
    width: 80%;
    margin: 0 auto;
    text-align: center;
}
#ateliers p {
	font-size: 9px;
	font-family: 'Roboto-EtraLight', sans-serif;
	margin-top: 5px;
}
#ateliers .boxs_atelier {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}
#ateliers .boxs_atelier a {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	display: block;
	text-align: center;
}
.picto_atelier {
	width: auto;
	height: 50%;

}
/* ///////////					Page programme			////////////////*/
#programme {
	position: relative;
	padding-bottom: 150px;
}
#programme .trait_horizaontal {
    position: absolute; 
    top: 0;
    left: 20px;
    width: 3px;
    height: 100%;
    min-height: 100vh;
    background-color: #D7D7D7;
}
#programme .point {
	position: absolute;
	left: 14px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
}
#programme .one_programme {
	width: 80%;
	margin: 0 auto;
	margin-top: 1rem;
	padding: 1rem;
	border-radius: 15px;
}
#programme h2 {
	font-size: 14px ;
	font-family: 'Roboto-Bold' ;
}
#programme .flex {
	align-items: center;
	justify-content: space-between;
}
#programme .statut {
	padding: 5px;
	border-radius: 15px;
	color: white;
	font-size: 12px;
	font-family: 'Roboto-Medium';
}
#programme p.p1 {
	font-size: 12px;
	margin-top: 5px;
}
#programme p.p2 {
	font-size: 10px;
	font-family: 'Roboto-Light';
	margin-top: 5px;
}
.categories_programme {
	justify-content: center;
	gap: 1rem;
	padding: 1rem;
}
/* .one_categorie {
	padding: 5px;
	border-radius: 15px;
	width: 100px;
	font-size: 12px;
	font-family: 'Roboto-Medium';
	text-align: center;
	color: white;
} */
.filtre {
	display: flex;
	justify-content: center;
	align-items: center;
}
.select_filtre {
	text-align: center;
}
/* ///////////					Page adresse			////////////////*/
#adresse .bouton_gps {
	text-align: center;
	margin-bottom: 2rem;
}
#adresse .bouton_gps a {
	color: white;
	display: inline;
	background-color: var(--violet);
	padding: 1rem;
	border-radius: 15px;
	font-size: 12px;
}
/* Retirer la mise en forme des selects sur iphone */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: 1px solid #ccc;
  padding: 0.5em;
}

/* ///////////					Page photos			////////////////*/
#gallery-1 img {
	width: 100%;
	height: 100px;
	display: block;
	object-fit: cover;
	border-radius: 4px;
	padding: 3px;
}

/* ///////////					Page infos			////////////////*/
#infos .mentions {
	justify-content: space-around;
}
#infos img {
	width: 100px;
	height: 60px;
}
#infos .reseaux {
	text-align: center;
}
#infos .mentions {
	text-align: center;
	margin-top: 1rem;
}
#infos h2 {
	font-family: 'Roboto-Medium';
    font-size: 1rem;
	margin-top: 2rem;
	margin-bottom: 1rem;
}
#infos .logos_reseaux {
	justify-content: center;
	gap: 1rem;
}
/* ///////////					Page Detail atelier			////////////////*/

.fleche_retour {
	width: 45px;
	height: 45px;
	top: 55px;
	left: 10px;
	position: absolute;
	z-index: 1000;
	position: fixed;
}
.btn_afficher_animation {
    background-color: var(--violet);
    padding: 1rem;
    border-radius: 15px;
    color: white;
    display: block;
    width: fit-content;
    margin: 0 auto;
}
.fond_blanc {
	background-color: white;
}

/* ///////////					Page detail animation			////////////////*/
.horaire_animation {
	text-align: center;
}

/* ///////////					Page 404			////////////////*/
.cnpp-404-container.page-plan {
	padding-top: 180px;
}
.cnpp-404-container {
	text-align: center;
	padding: 80px 20px;
	font-family: Arial, sans-serif;
}
.cnpp-404-title {
	font-size: 48px;
	margin-bottom: 20px;
}
.cnpp-404-message {
	font-size: 20px;
	margin-bottom: 30px;
}
.cnpp-404-link a {
	display: inline-block;
	padding: 12px 30px;
	background-color: var(--bleu-clair);
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.3s ease;
}
.cnpp-404-link a:hover {
	background-color: var(--bleu-fonce);
}

@media screen and (min-width: 900px){
	#programme .point {
		left: 54px;
	}
	#programme .trait_horizaontal {
		left: 60px;
	}
	#adresse img {
		width: 60%;
	}
	#adresse .image {
		text-align: center;
	}
	#primary-menu h2 {
		font-size: 16px;
	}
	#primary-menu p {
		font-size: 12px;
	}
	#ateliers h2 {
		font-size: 16px;
	}
	.titre h1 {
		font-size: 18px;
	}
	img.fleche_retour {
		display: none;
	}
	.footer-spacer {
		height: 80vh;
	}
	.footer-spacer.page-pogramme {
		height: 150px;
	}
		body {
		background-color: gainsboro;
	}
}
@media screen and (max-width: 420px){
	#gallery-1 {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
		gap: 2px;
		padding: 0;
		margin: 0;
	}

	#gallery-1 figure.gallery-item {
		margin: 0;
		overflow: hidden;
	}
	#gallery-1 img {
		width: 100%;
		height: 100px;
		display: block;
		object-fit: cover;
		border-radius: 4px;
	}


}

