/*
Theme Name: Cabane la Fontaine du Figuier
Author: emma.satti
Author URI: https://emmasatti.fr
Version: 1.0.0
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Bebas+Neue&display=swap');
@import url('style-perso.css');

@font-face {
    font-family: 'academy_engraved_letplain';
    src: url('fonts/academyengravedletplain-webfont.woff2') format('woff2'),
         url('fonts/academyengravedletplain-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/*--------------------------------------------------------------*/

:root {
	--vert: #78b994;
	--vertc: #8cc0a2;
	--violet: #a369a3;
	--violetc: #b998b9;
    --blanc: #fff;
	--h1: #6d967f;
	--h2: #444;
	--h3: #666;
	--text: #666;

}

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

site { width: 100% }

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 600;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img { border: none }
.site-content img {
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
	border-top: 1px dotted #707866;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="cFIGUIERkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #CCC;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

th, td { padding: 8px; border-bottom: 1px solid #aaa }
th { font-weight: 600 }

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	font-family: "Barlow", sans-serif;
	font-size: 17px;
	font-weight: 300;
	font-optical-sizing: auto;
	line-height: 1.4em;
	color: var(--text);
}

h1 {
	font-family: "Bebas Neue", sans-serif;
	font-size: 48px;
	line-height: normal;
	font-weight: normal;
	color: var(--h1);
	letter-spacing: 1px;
	margin: 0;
}
@media screen and (max-width: 520px) { h1 { font-size: 36px }}

/* masquage titre */
.entry-title { display: none }

h2 {
	font-size: 24px;
	color: var(--h2);
	font-weight: 500;
	line-height: 1.3em;
	margin: 0 0 10px 0;
}

h3 {
	font-size: 18px;
	color: var(--h3);
	font-weight: 700;
	line-height: 1.3em;
	margin: 0 0 10px 0;
}
.site-content p {
	margin: 0 0 10px 0;
}

em,
i {
	font-family: "Whisper", cursive;
	font-style: normal;
	font-size: 33px;
	opacity: 0.7;
}

blockquote {
	margin: 0 0 10px;
	background: var(--vert);
	padding: 10px;
	color: #FFF;
}

address {
	margin: 0 0 1.5em;
}

.MAJ { text-transform: uppercase }
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

/* fond */
body {
	background: white;
}
@media screen and (max-width: 500px) {
	body { background-size: 1600px }
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.elementor-button-wrapper .elementor-button,
button.age-gate-button, button.age-gate-submit-no, button.age-gate-submit-yes, button.age-gate__button, button.age-gate__submit--no, button.age-gate__submit--yes,
.obfx-grid-footer a {
	background-color: white;
	color: var(--vert);
	border: 1px solid var(--vert);
	border-radius: 0;
	font-size: 13px;
	font-weight: 500;
	padding: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.cky-consent-container button.cky-btn, .cky-modal button.cky-btn, .cky-modal button.cky-accordion-btn { color: #000 !important }
.cky-consent-container button.cky-btn-accept, .cky-modal button.cky-btn-accept { color: #fff !important }

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover ,
.elementor-button-wrapper .elementor-button:hover,
button.age-gate-button:hover, button.age-gate-submit-no:hover, button.age-gate-submit-yes:hover, button.age-gate__button:hover, button.age-gate__submit--no:hover, button.age-gate__submit--yes:hover,
.obfx-grid-footer a:hover {
	background: var(--violet);
	border: 1px solid var(--violet);
	color: #fff !important;
}
.obfx-grid-footer a, .obfx-grid-footer a:hover {
	text-decoration: none;
	font-size: 11px;
	padding: 5px;
	text-transform: inherit;
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border: 1px solid #ccc;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	width: 100%;
	padding: 3px;
	background: #F2F2F2;
	color: var(--text);
	font-weight: 300;
	border: none;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*------------------------------------------------------------*/
/* Contact Form 7
/*------------------------------------------------------------*/
.wpcf7 p { margin: 0 0 20px 0; font-weight: 500 }
.wpcf7-list-item { margin: 0 0 10px 0 }
.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--vert);
	background: var(--vert);
	color: #fff;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #CCC;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #707866;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	float: left;
	margin-right: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget-area { display: inline-block}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0;
}

.entry-header, .entry-footer { font-size: 0.7em }

.post { 
	padding-bottom: 20px;
	border-bottom: 1px solid #aaa;
}
.post:last-child { border-top: none }

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}
.post-navigation { font-size: 0.8em }
.nav-previous, .nav-next { display: block; float: left }
.nav-previous:before { content: "<< "; color: #707866 }
.nav-next { float: right }
.nav-next:after { content: " >"; color: #707866 }

.share-icon {margin-left: 30px }
.sd-content ul li:before { content: "" }
.sd-content ul li { width: 32px }


/* PAGE */
.site-content {
	width: 100%;
	margin: -80px auto 0 auto;
}
.elementor a,
.site-content a {
	color: var(--violet);
	text-decoration: none !important;
}
.site-content h1 a, .site-content h2 a, .site-content h3 a { text-decoration: none !important }
.elementor a:hover,
.site-content a:hover {
	color: var(--violet);
}
.elementor .elementor-button-link { text-decoration: none !important }

.site-content ul,
.site-content ol {
    padding-left: 15px;
    text-indent: -15px;
	margin: 0 0 10px 0;
}

.site-content ul {
	list-style: none;
}

.site-content ol {
	list-style: decimal;
}

.site-content li:before {  content: "● "; color: var(--violet); font-weight: 700 }

.site-content li {
	margin: 0 0 10px 0;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	line-height: 30px;
	padding: 0 12px;
	color: rgba(255,255,255,0.6);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 0 10px;
	text-align: left;
	background-image: url("images/onglet-legende-blanc-trsp.svg");
	background-repeat: no-repeat;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
	margin: 1%;
}

.gallery-columns-2 .gallery-item {
	max-width: 48%;
}

.gallery-columns-3 .gallery-item {
	max-width: 31.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 23%;
}

.gallery-columns-5 .gallery-item {
	max-width: 18%;
}

.gallery-columns-6 .gallery-item {
	max-width: 14.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 12.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 10.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 9.11%;
}

.gallery-caption {
	display: block;
}


/*-------------------------------------------*/
/* Contact Form 7
/*-------------------------------------------*/
.wpcf7 p { margin: 0 0 20px 0; font-weight: 400; text-align: left }
.wpcf7-list-item { margin: 0 0 10px 0 }
.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--vert);
	background: var(--vert);
	color: #fff;
}
/*----------------------------------------------*/
/* Cookie Yes
/*----------------------------------------------*/
.cky-consent-container { border-left: 8px solid var(--vert); box-shadow: 0 0 20px rgba(0,0,0,0.4) }

.cky-consent-container button.cky-btn,
.cky-consent-container button.cky,
.cky-prefrence-btn-wrapper button { border: 2px solid var(--vert) !important; color: var(--vert) !important }

.cky-consent-container button.cky-btn-accept,
.cky-consent-container button.cky-btn-reject,
.cky-modal button.cky-btn-accept,
.cky-modal button.cky-btn-reject,
.cky-modal button.cky-btn-preferences { color: #fff !important; background-color: var(--vert) !important }

.cky-consent-container a { color: var(--vert) !important; text-decoration: none !important }
.cky-consent-container a:hover { color: var(--violet) !important;	border-bottom-color: var(--violet) !important }

button.cky-accordion-btn:not(:hover):not(:active), button.cky-banner-btn-close:not(:hover):not(:active), button.cky-btn-revisit:not(:hover):not(:active), button.cky-btn-close:not(:hover):not(:active) { color: var(--vert) !important }
button.cky-accordion-btn:hover:not(:active), button.cky-banner-btn-close:hover:not(:active), button.cky-btn-revisit:hover:not(:active), button.cky-btn-close:hover:not(:active) { color: #ccc !important }


