
@font-face {
    font-family: 'manrope-web';
    font-weight: 200 900;
    src: url('font/Manrope-VF.woff2') format('woff2-variations');
}

@font-face {
    font-family: 'montserrat-web';
    font-weight: 100 900;
    src: url('font/Montserrat-VF.woff2') format('woff2-variations');
}

@font-face {
    font-family: 'bevan-web';
    src: url('font/Bevan-Italic.woff2') format('woff2');
}

:root {
    --noir: #333;
    --vert2: #2baf97;
    --rouge: #c6050a;
    --jaune: #ecedc9;
    --jaune2: #fffcdd;

    --ms: montserrat-web, sans-serif;
    --man: manrope-web, sans-serif;
    --bev: bevan-web, sans-serif;
}

html {
    background: var(--vert2);
}

body {
    font: 500 1.1em/1.45em var(--man);
    background: #fff;
    color: var(--noir);
}

#site {
    margin: 0 !important;
    background: #fff;
    overflow: unset !important;
}

a:hover {
    text-decoration: none;
}

img {
    display: block;
    color: rgba(0,0,0,.2);
}

::selection {
    background: var(--jaune);
    color: var(--noir);
}


/*HAUT*/

/*evitement*/

#evitement a {
    position: absolute;
    top: -100px;
    z-index: 2020;
    width: 100%;
    text-align: center;
    background: var(--noir);
    padding: 5px 15px;
    display: inline-block;
    color: #fff;
}

#evitement a:focus {
    top: 0;
}

*:focus-visible,
button:focus-visible {
    outline: 3px solid #f66;
}

/*logo*/

header {
    height: auto !important;
    min-height: auto !important;
    overflow: unset !important;
    background: #fff;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1250;
    box-shadow: 0 0 10px rgba(0,0,200,.2);
}

#bar {
    position: fixed !important;
    right: 0;
    padding: 7px !important;
    z-index: 1300 !important;
}

#logo {
    display: flex;
    align-items: center;
    padding: 10px 0 10px 10px;
}

#logo img {
    height: 100px;
    transition: height .3s;
}

#logo span {
    display: block;
    /* width: 100px; */
    font: 730 1.2em/1em var(--ms);
    text-transform: uppercase;
    color: var(--noir);
    padding-bottom: 5px;
}

#logo:hover {
    text-decoration: none;
    opacity: .9;
}

#pousse {
    flex: 1;
    height: 120px;
    transition: height .3s;
}

/*menu*/

#menu {
    padding: 0px 10px;
}

#menu ul {
    padding: 0 !important;
    margin: 0 !important;
}

#menu > ul {
    display: flex !important;
    align-items: center !important;
}

#menu li {
    list-style: none;
    margin: 0 !important;
}

#menu a,
#menu button {
    font: 700 1.1em var(--ms);
    text-transform: uppercase;
    background: none !important;
    padding: 10px 16px !important;
    display: block;
    color: var(--vert2) !important;
    position: relative;
    border-radius: 0;
}

#menu > ul > li > a,
#menu button {
    height: 60px;
}

#menu > ul > li > a {
    padding-top: 18px !important;
}

#menu a:hover {
    opacity: .7;
}

#menu button:after {
    display: block;
    content: '';
    width: 13px;
    height: 8px;
    background: url(img/fleche-bas.svg) no-repeat;
    background-size: 100%;
    opacity: .5;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 1px);
    margin-top: 2px;
}

#menu > ul > li:last-child a {
    background: var(--vert2) !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 22px !important;
    height: auto !important;
    margin-left: 10px;
}

#menu > ul > li:last-child a:hover {
    opacity: .8;
}

.opacite-menu {
    opacity: .65 !important;
}

/*sous menu*/

.navSub {
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    background: var(--vert2);
    box-shadow: 0 10px 10px rgba(0,0,200,.2);
    display: none;
    /* display: grid; */
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
    transition: top .3s;
}

.navSub li {
    border-right: 1px solid rgba(0,0,0,.2);
    border-bottom: 1px solid rgba(0,0,0,.2);
    display: flex;
    align-items: center;
    min-height: 100%;
}

#menu .navSub a {
    color: #fff !important;
    display: block;
    padding: 32px !important;
    opacity: .9;
}

#menu .navSub a:hover {
    opacity: 1;
}

#menu .navSub img {
    margin-bottom: 16px;
}


/*fixe*/
.fixe #logo img {
    height: 40px;
}

.fixe #pousse {
    height: 60px;
}

.fixe .navSub {
    top: 60px;
}

.fixe #burger {
    padding-top: 18px;
}

/*MAIN----------------*/

main {
    padding: 160px 0 40px;
}

section {
    width: 1100px;
    min-height: 600px;
    margin: 0 auto !important;
}

h1 {
    font: 3em/1.2em var(--bev) !important;
    margin-bottom: 40px !important;
    text-transform: uppercase;
    color: var(--vert2);
}

h2 {
    font: 700 2.0em/1em var(--ms) !important;
    margin: 50px 0 30px;
    color: var(--vert2);
}

h2 a:hover {
    opacity: .8;
    text-decoration: none !important;
}

h3 {
    font: 800 1.1em/1em var(--man) !important;
    margin: 25px 0 15px;
    color: var(--noir);
    display: inline-block;
    text-transform: uppercase;
}

b,
strong,
strong a {
    font-weight: 900 !important;
}

a em,
em a,
.bouton,
main button {
    display: inline-block;
    font: 750 .85em/1em var(--ms) !important;
    text-transform: uppercase;
    background: none !important;
    color: var(--vert2) !important;
    border: 3px solid var(--vert2);
    border-radius: 22px;
    padding: 10px 22px;
    margin-right: 10px;
    transition: .3s;
    text-align: center;
    text-decoration: none !important;
}

a em:hover,
em a:hover,
.bouton:hover,
main button:hover {
    text-decoration: none;
    background: var(--vert2) !important;
    color: #fff !important;
    opacity: 1 !important;
}

span[style="text-decoration: underline;"] {
    text-decoration: none !important;
    font-size: 1.3em;
    line-height: 1.4em;
    font-weight: 700;
}

a[href^="tel:"] {
    padding-left: 25px;
    background: url(img/tel.svg) 0 5px no-repeat;
    font-size: 1.3em;
    font-weight: 700;
    text-decoration: none;
}

main p {
    text-align: justify;
    margin-bottom: 20px;
}

main a {
    text-decoration: underline;
    color: var(--vert2);
    font-weight: 600;
}

main a:hover {
    opacity: .8;
}

main ul {
    padding-left: 23px;
    list-style: url(img/puce.svg);
}

main li {
    margin: 14px 0;
    line-height: 1.2em;
}

.bulle {
    display: inline-block;
    position: relative;
    top: -5px;
    margin-left: 2px;
    font-size: .8em;
    font-weight: 800;
}

.block {
    background: var(--jaune2);
    border: 0 !important;
    padding: 32px;
    margin-bottom: 32px !important;
}

.block h2 {
    margin-top: 0;
}

.block p:last-child {
    margin-bottom: 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    font-size: 1em !important;
    margin: 0 !important;
}

.row > div {
    flex: 1;
    font-size: 1em !important;
    padding: 0 !important;
    margin-right: 32px;
}

.row > div:last-child {
    margin-right: 0;
}

/*conseil municipal*/
.col3 {
    margin-bottom: 32px;
}

.col3 img {
    object-fit: cover;
    width: 100%;
    height: 300px;
}

.col3 p {
    margin: 0;
}


table {
    border-collapse: collapse;
    font-size: 1em;
}

th,
td {
    background: #e7eddf;
    padding: 7px 10px;
}

th {
    text-align: left;
    background: var(--noir);
    color: #eee;
}

tr:nth-child(2n) td {
    background: #d7dfcd;
}

strong a[href^=tel] {
    font-size: 1.4em;
    font-weight: 900;
}


/*BLOG--------------*/

/*liste*/
#blog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
    grid-gap: 32px;
}

#blog article {
    background: #fff;
    box-shadow: 0 0 16px rgba(0,0,200,.15);
}

#blog .image {
    background: var(--jaune2);
    height: 240px;
    display: block;
}

#blog img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#blog .texte {
    display: block;
    padding: 20px;
}

#blog a {
    text-decoration: none;
    opacity: 1 !important;
}

#blog a:hover {
    opacity: .9 !important;
}

#blog .date {
    color: var(--gris);
    font-size: .8em;
    margin-bottom: 5px;
}

#blog h2 {
    font-size: 1.6em !important;
    margin: 0;
}


/*article seul*/

#article .date {
    color: var(--gris);
    font-size: .9em;
    margin: -24px 0 16px;
}

#article .image {
    margin-bottom: 32px;
}


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

footer {
    ;
    background: var(--vert2);
    padding: 20px 58px 20px 16px;
}

footer p {
    color: #95d7cb !important;
    font: 500 .85em/1.45em var(--man) !important;
    text-align: center !important;
}

footer a {
    color: #fff !important;
    opacity: .5;
}

footer a:hover {
    opacity: 1;
}

#footersite > div {
    margin: 0 !important;
}

#footerText {
    display: block !important;
}



#backToTop {
    width: 36px !important;
    height: 36px !important;
    bottom: 12px;
    right: 0px;
    z-index: 1000;
    background: #eee !important;
    padding: 0px 0 0;
    border-radius: 0 !important;
}

.zwiico-up {
    position: relative;
    top: 4px;
    color: var(--vert2);
    font-size: 1.5em !important;
    text-align: center;
    display: block;
}

.editorWysiwyg {
    background: #fff !important;
}

#notification {
    z-index: 2010;
}

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

#carte {
	height: 600px;
    margin-top: 20px;
    background: var(--vert2) !important;
}

#carte a {
	color: var(--vert2);
}

#plein-ecran {
	width: 44px;
	height: 44px;
	background: rgba(255,255,255,.9) !important;
	border: 2px solid rgba(0,0,0,.2);
	background-clip: padding-box;
	cursor: pointer;
	position: absolute;
	top: 10px;
	right: 10px;/*70*/
	z-index: 800;
	border-radius: 5px;
	padding: 8px;
}

#plein-ecran svg {
	fill: var(--vert2);
}

.leaflet-container:after {
    color: #fff;
    font-size: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(43, 175, 151,.8);
    z-index: 500;
    pointer-events: none;
    animation: leaf .8s;
}

.leaflet-gesture-handling-touch-warning:after,
.leaflet-gesture-handling-scroll-warning:after {
    animation: leaf .8s;
}

@keyframes leaf {
    0% {
        opacity: 0;
    }
}

.leaflet-gesture-handling-touch-warning:after {
    content: attr(data-gesture-handling-touch-content);
}

.leaflet-gesture-handling-scroll-warning:after {
    content: attr(data-gesture-handling-scroll-content);
}

.geoportail {
    width: 100%;
    height: 500px;
}

/*FORMULAIRE----------*/

.captcha {
    max-width: 250px;
    text-align: left;
    margin: 20px 0 !important;
    padding: 16px !important;
    background: var(--jaune2);
}
