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

@font-face {
    font-family: 'amatic-web';
    src: url('font/Amatic-Bold.woff') format('woff');
}

@font-face {
    font-family: 'caracteres-web';
    src: url('font/CaracteresL1.woff') format('woff');
}


:root {
    --noir: #273c6f;
    --vert: #7feda4;
    --rose: #ca70b7;
    --jaune: #f6dd2a;
    --bleu: #6cc7e7;
    --clair: #e4fffe;

    --man: manrope-web, sans-serif;
    --ama: amatic-web, sans-serif;
}

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

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);
    border-radius: 8px;
}

.droit {
    border-radius: 0;
}

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


sup {
    display: inline-block;
    margin-top: -6px;
    position: relative;
    top: 2px;
    font-size: .8em;
}


/*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: flex-end;
    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: 2.3em/1em var(--ama);
    text-transform: uppercase;
    color: var(--noir);
    padding-bottom: 10px;
    text-align: left;
}

#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: 750 1.0em var(--man);
    text-transform: uppercase;
    background: none !important;
    padding: 10px 16px !important;
    display: block;
    color: var(--noir) !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(--vert) !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(--bleu);
    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: 1020px;
    min-height: 600px;
    margin: 0 auto !important;
}

h1 {
    font: 4.5em/1em var(--ama) !important;
    letter-spacing: .02em;
    margin-bottom: 40px !important;
    text-transform: uppercase;
    color: var(--rose);
}

h2 {
    font: 3.0em/1em var(--ama) !important;
    margin: 50px 0 30px;
    color: var(--noir);
}

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 {
    display: inline-block;
    font: 750 .85em/1em var(--man) !important;
    text-transform: uppercase;
    background: none !important;
    color: #fff !important;
    border: 3px solid var(--rose);
    background: var(--rose) !important;
    border-radius: 22px;
    padding: 10px 22px;
    margin-right: 10px;
    transition: .15s;
    text-align: center;
    text-decoration: none !important;
}

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

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

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

main a:hover {
    opacity: .8;
}

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

main li {
    margin: 16px 0;
    line-height: 1.3em;
}

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

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

.block h2,
.block h3 {
    margin-top: 0;
}

.block p:first-child {
    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;
}

/*panneaux*/

span[style="background-color: #e03e2d;"] {
    display: inline-block;
    background: #f2f2f2 !important;
    font: 1.5em caracteres-web, sans-serif;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: .25em;
    color: #111;
    border: .3em solid #d22;
    border-radius: .2em;
    padding: .4em;
    box-shadow: -1px 1px 0px rgba(0,0,0,.2),
                -2px 2px 0px rgba(0,0,0,.2);
}

span[style="background-color: #e03e2d;"] sup {
    position: relative;
    top: -7px;
    font-size: .65em;
}

/*logos*/

.logos {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 32px;
    padding: 0 !important;
}

.logos li {
    display: block;
    width: 241px;
    position: relative;
    padding: 144px 16px 16px;
    margin: 0 !important;
    text-align: center;
    font-size: .8em;
    background: #fff;
    border-radius: 6px;
    box-shadow:0 0 15px rgba(0,0,0,.2);
}

.logos img {
    display: block;
    width: auto !important;
    max-width: 210px;
    max-height: 120px;
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0;
}


/*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(--clair);
    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(--noir);
    padding: 20px 58px 20px 16px;
}

footer p {
    color: var(--rose) !important;
    font: 500 .85em var(--man) !important;
}

footer a {
    color: var(--rose) !important;
    opacity: .8;
}

footer a:hover {
    opacity: 1;
}

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

#footerText {
    display: block !important;
}



#backToTop {
    width: 40px !important;
    height: 36px !important;
    bottom: 12px;
    right: 0px;
    background: #eef !important;
    padding: 0px 0 0;
    border-radius: 18px 0 0 18px !important;
}

.zwiico-up {
    position: relative;
    top: 3px;
    color: var(--rose);
    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: #91abff !important;
}

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

#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;
	z-index: 800;
	border-radius: 5px;
	padding: 8px;
}

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

.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(34, 85, 255, .5);
    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);
} */

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

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