.mob_only, .hidden {
	display: none;
}
.no_mob {
	display: initial;
}
.alignleft {float: left;}
.alignright {float: right;}
.clear {clear: both;}
.fixfloat {overflow: hidden;}
strong {font-weight: 700;}
a {
	color: inherit;
}
figure {
	margin: 0;
}
#header a, #footer a, .liste a, .pagination a {
	text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0;
}
h4 + p {
    margin-top: 0;
}
.flex {
	display: flex;
	flex-wrap: wrap;
}
.centre {text-align: center;}
body {
	color: #6f7374;
    font: 400 100%/1.25 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
}
#topmenu {
	display: flex;
	justify-content: space-between;
	margin: 0 12em;
	text-align: center;
}
#topmenu > span {
	background: #fff;
	position: relative;
	z-index: 9;
}
#topmenu a {
    /*background: url('../img/pencil.png') repeat 0 0;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;*/
	color: #6f7374;
	flex: 0;
	font: 700 1em/1.25 'Nunito', sans-serif;
    padding: 2em 1em 0;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}
#topmenu a::before, #topmenu a::after {
    background: url('../img/stroke2.png') repeat-x 0 0;
    content: '';
    height: 0;
    position: absolute;
    top: 0;
    transition: all .25s linear;
    width: 3px;
}
#topmenu a::before {
    left: 0;
}
#topmenu a::after {
    right: 0;
}
#topmenu a.hoverleft::before, #topmenu a.hoverright::after {
    height: 4.5em;
}
#menu_select {
	background: url('../img/stroke.png') repeat-y 50% 50%;
	font: 700 1em/1.25 sans-serif;
    height: 3px;
	margin: 4em 0 0;
	padding: 0;
    pointer-events: none;
	position: absolute;
	transition: all .25s linear;
	width: 0;
}
#menu_select:before, #menu_select::after {
	bottom: -17px;
	position: absolute;
}
#menu_select:before {
	content: url('../img/fleche2.png');
    left: 0;
}
#menu_select:after {
    content: url('../img/fleche.png');
    right: 0;
}

/* CENTRE */
#main {
    transition: all .5s ease;
}
#main > header {
    background: url('../img/bg_contact.jpg') no-repeat 50% 0;
    background-size: cover;
    overflow: hidden;
    position: relative;
}
#main > header .centered {
    align-items: flex-end;
    display: flex;
    justify-content: flex-end;
    height: 16.67vw;
}
#main > header h2 {
    background: rgba(215,143,73,.66);
    color: #fff;
    font-size: 2.5em;
    padding: .4em 2vw .2em 4vw;
    position: relative;
    text-align: right;
    text-transform: uppercase;
    z-index: 50;
}
.centered {
	margin: 0 auto;
	max-width: 1200px;
	width: 90%;
}

/******* REFERENCES ************/
#header_refs {
    background: none;
}
#header_refs .centered {
    height: 25vw;
}
#map_canvas {
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 49;
}
#ol-popup {
    background: #fff;
    cursor: default;
    font-size: 1em;
    font-weight: 700;
    min-width: 250px;
    padding: .5em;
}
.cat_13 {
    border: 5px solid #93f;
}
.cat_14 {
    border: 5px solid #df4005;
}
.cat_15 {
    border: 5px solid #fc3;
}
#ol-popup h3 {
    color: #d78f49;
}
#ol-popup h5 {
    color: #000;
    font-size: 1em;
}
#ol-popup a {
    color: #000;
    float: right;
}
.ol-attribution.ol-uncollapsible {
    opacity: .3;
}
#legende {
    background: #fff;
    line-height: 1.5;
    padding: .5em;
    position: absolute;
    right: 1%;
    top: 4%;
    z-index: 99;
}
#legende img {
vertical-align: top;
}
.liste {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2em 0;
}
.liste_item {
    border: 5px solid #d78f49;
    flex: 0 0 48%;
    margin-bottom: 3%;
}
.liste_item figure {
    height: 240px;
    width: 240px;
}
.intitule {
    overflow: hidden;
    padding: 1rem;
    text-align: center;
}
.descr {
    margin-top: .5em;
    height: 60px;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
}
.descr p {
    margin: 0;
}
.liste_item h3 {
    font-size: 1.3em;
    line-height: 1.5;
    margin: 0 0 .5em;
    transition: all 1s linear;
}
.liste_item:hover h3 {
    padding: 0 0 .4rem;
}
h3.stroke {
    background: url('../img/stroke_orange.png') repeat-x 50% 100%;
    color: #d78f49;
    display: inline-block;
    padding: 0 .8em .4rem;
    position: relative;
    text-transform: uppercase;
}
h3.stroke:before, h3.stroke::after {
    bottom: -22px;
    position: absolute;
}
h3.stroke:before {
    content: url('../img/fleche2_orange.png');
    left: 0;
}
h3.stroke:after {
    content: url('../img/fleche_orange.png');
    right: 0;
}
.liste_item h4 {
    color: #6f7374;
    font-size: 1.3em;
}

.contenu {
    margin: 2em auto;
}
.contenu figure {
    margin-right: 2em;
}
.contenu .header_fiche {
    overflow: hidden;
}
.contenu h3 {
    font-size: 1.8em;
    margin-bottom: 1.5em;
}
.contenu h4 {
    font-size: 1.5em;
    float: right;
}
.galerie {
    align-items: center;
    background: #d78f49;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 1rem;
    padding: 1em;
}
.galerie figure {
    flex: 0 0 15%;
    padding: 0.8%;
    text-align: center;
}
.galerie figure a {
    color: #fff;
    text-decoration: none;
}
.galerie figure img {
    background: rgba(255, 255, 255, .25);
}

/*CONTACT */
#acces {
    float: left;
    margin-right: 5%;
    text-align: center;
    width: 40%;
}
#map_acces {
    height: 400px;
    margin: 1em auto;
    width: 100%;
}

#contact h3 {
    margin-bottom: 1em;
}
#form_contact input, #form_contact textarea {
    border: 1px solid #d78f49;
    color: #d78f49;
    font: 400 1em/1.25 'Nunito', sans-serif;
    margin: 0 0 .77em;
    padding: .25em;
    resize: none;
    width: calc(100% - 1em - 2px);
}
#form_contact label {
    font-weight: 700;
}
#form_contact input#contact_submit, .bouton {
    background: #d78f49;
    border: 1px solid #d78f49;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font: 700 1em/1.25 'Nunito', sans-serif;
    padding: .25em 1.5em;
}
#form_contact input#contact_submit:hover, .bouton:hover {
    background: #fff;
    color: #d78f49;
}

/******** PAGINATION ***********/
.pagination {
    font-weight: bold;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}
.pagination a {
    background: #ffedd6;
    color: #d78f49;
    display: inline-block;
    margin: 0 .25em;
    padding: .25em .5em;
}
.pagination a.active {
    background: #d78f49;
    color: #fff;
}

.popup {
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,.25);
    color: #d78f49;
    left: 50%;
    margin-left:-150px;
    padding: 25px;
    position: fixed;
    text-align: center;
    top: 250px;
    width: 300px;
    z-index: 99;
}
.popup ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
/* FOOTER */
#footer {
    font-weight: 600;
	padding: 1em 0;
	text-align: center;
    transition: all .5s ease;
}
#footer section {
	background: #d78f49;
	color: #fff;
	margin: 1em 0;
    overflow: hidden;
	padding: 2em 0;
	text-align: left;
}
#adresse {
    margin-right: 1.5em;
    width: 40%;
}
#adresse img {
    background: #fff;
    margin: 0 1.5em 0 0;
    padding:  .5rem 0;
}
#footer nav a {
    display: block;
}
.popup {
    background: #d78f49;
    box-shadow: 0 0 15px rgba(0,0,0,.25);
    color: #fff;
    left: 50%;
    margin-left:-150px;
    padding: 25px;
    position: fixed;
    text-align: center;
    top: 250px;
    width: 250px;
    z-index: 99;
}
#cookie {
    background: #d78f49;
    bottom: 0;
    color: #fff;
    display: none;
    font-size: .8em;
    padding: .5em;
    position: fixed;
    text-align: center;
    width: 100%;
    z-index: 99;
}
#accept-cookie {
    background: #fff;
    color: #d78f49;
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    margin: .2rem auto;
    padding: .25rem .5rem;
    text-transform: uppercase;
}

@media screen and (max-width : 1023px) {
    .galerie figure {
        flex: 0 0 24%;
        padding: 1%;
    }
}
@media screen and (max-width: 767px) {
	.mob_only {
		display: block;
	}
	.no_mob {
		display: none;
	}
	#topmenu {
		background: rgba(255,255,255,.1);
        flex-direction: column;
        height: 100vh;
        height: 100%;
        justify-content: flex-start;
        margin: 0;
        opacity: 0;
        padding: 5%;
        pointer-events: none;
        position: fixed;
        top: 0;
        transition: all .5s ease;
        width: 90%;
        z-index: 98;
    }
    #topmenu.ouvert {
        opacity: 1;
        pointer-events: initial;
    }
    .blur {
    	filter: blur(2px);
    }
    #topmenu a {
    	border-right: 1em solid #ffb8a6;
    	color: #fff;
    	line-height: 3;
		margin: .5em 0;
		padding: 0 1em;
    }
    #topmenu a.current {
    	border-right-color: #fff;
    }
    #topmenu a::after {
    	display: none;
    }
	.burger {
        cursor: pointer;
        float: left;
        flex: 0 0 30px;
        margin-right: 1em;
        padding: 1.3em .5em;
        position: relative;
    }
    .burger span, .burger span::before, .burger span::after {
        background: #ffb8a6;
        border: 2px solid #ffb8a6;
        display: inline-block;
        height: 1px;
        position: relative;
        transition: all .2s ease;
        width: 29px;
        z-index: 98;
    }
    .burger span::before, .burger span::after {
        content: '';
        margin-left: -2px;
        position: absolute;
        width: 30px;
    }
    .burger span::before {
        top: -15px;
    }
    .burger span::after {
        top: 11px;
    }
    .cheese {
        z-index: 99;
    }
    .cheese span {
        background: #bc674d;
        border-color: #bc674d;
    }
    .cheese span::before, .cheese span::after {
        background: #ffb8a6;
    	border-color: #ffb8a6;
        height: 2px;
        width: 40px;
    }
    .cheese span::before {
        transform: rotate(-45deg) translate(-13px,5px);
    }
    .cheese span::after {
        transform: rotate(45deg) translate(-13px,-5px);
    }
    .centered {
    	margin: auto;
    	width: 90%;
    }
    .flex {
    	flex-direction: column;
    }
    .galerie figure {
        flex: 0 0 48%;
        padding: 1%;
    }
    #adresse, #footer nav {
        clear: both;
        margin: 1em auto;
        text-align: center;
        width: 100%;
    }
}