/*
Theme Name: La Grange des Eulets
Author: emma.satti
Author URI: https://emmasatti.fr
Version: 1.0.0
*/

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

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,300&family=Oooh+Baby&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Petrona:wght@200;300&display=swap');

@import url('style-perso.css');
:root {
    --principal: #333;
	--secondary: #498632;
    --secondary2: #c8dbc2;
	--texte: #fff;
    --awf: #fff;
        
	--menu: #b3b2b2;
	--menuhover: #fff;
    
    --h1color: #fff;
    --h2color: #fff;
    --h3color: #c8dbc2;
    
    --link: #fff;
    --linkh: #a4c298;
    
    --blockqbckg: #444444;
    --blockqcolor: #fff;
    
    --puce: #c8dbc2;
    
    --tdborder: #aaa;
    
    --hr: #aaa;
    
    --formborder: #e5e5e5;
    --formbckg: #fff;
	
    --footbckg: #fff;
    --foottxt: #ccc;
	
	--grisc: #ccc;
}

/*-----------------------------------------------------
# Typography
-----------------------------------------------------*/
body,
button,
input,
select,
textarea {
	font-family: 'Lato', sans-serif;
	font-size: 17px;
	font-weight: 300;
	color: var(--texte);
	line-height: 1.5em;
}

h1, h2, h3, h4 {
	line-height: 1em;
}

h1 {
	font-family: 'Oooh Baby', cursive;
	font-size: 54px;
	font-weight: 500;
	color: var(--h1color);
	margin: 0 0 15px 0;
}
.entry-title { display: none !important }

h2 {
	font-family: 'Petrona', serif;
	color: var(--h2color);
	font-size: 36px;
	font-weight: 200;
	margin: 0 0 15px 0 ;
}

h3 {
	/*font-family: 'Petrona', serif;*/
	color: var(--h3color);
	font-size: 24px;
	font-weight: 300;
	margin: 0 0 15px 0 ;
}

@media screen and (max-width: 600px) {
h1 { font-size: 44px }
h2 { font-size: 30px }
}

.site-content p {
	margin: 0 0 10px 0;
	text-align: justify;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}
em,
i {
	font-style: italic;
}

blockquote {
	background-color: var(--blockqbckg);
    color: var(--blockqcolor);
    font-weight: 400;
	margin: 0 0 10px 0;
	padding: 15px 15px 10px 15px;
}
blockquote p:last-child { margin: 0 }

address {
	margin: 0 0 1.5em;
}

/*-----------------------------------------------------
# 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: 700;
}

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 {
	width: 100%;
	height: 1px;
	background: var(--hr) !important;
	border: 0;
}

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="checkbox"],
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 var(--tdborder) }
th { font-weight: 700; color: var(--text) }

/*-----------------------------------------------------
# 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;
}

body {
	background: var(--principal);
}

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%;
}

::selection { background: var(--principal); color: #FFF; }
::-moz-selection { background: var(--principal); color: #FFF; }
::-webkit-selection { background: var(--principal); color: #FFF; }

.post-thumbnail { display: none }

/*-----------------------------------------------------
# Forms
-----------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.elementor-button-wrapper .elementor-button,
.site-content .caldera-grid .btn,
.site-content .caldera-grid .btn-default,
.obfx-grid-footer a {
	border: none;
	border-radius: 0;
	background: #444;
	background: #696969;
	color: #FFF !important;
	font-size: 13px;
	font-weight: 400;
	padding: 8px 12px;
	text-transform: uppercase;
	text-decoration: none !important;
	letter-spacing: 0.2em;
}
.cky-btn { letter-spacing: 0 }

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.elementor-button-wrapper .elementor-button:hover,
.site-content .caldera-grid .btn:hover,
.site-content .caldera-grid .btn-default:hover,
.obfx-grid-footer a:hover {
		background: #444;
}
.obfx-grid-footer a, .obfx-grid-footer a:hover {
	text-decoration: none;
	font-size: 11px;
	padding: 5px;
	text-transform: inherit;
}

/*label {
    display: block;
    text-align: left;
    font-weight: 600;
}*/
label {
	font-size: 15px;
	line-height: 28px;
	letter-spacing: 0.02em;
	margin-bottom: 4px;
	display: inline-block;
}

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 */
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,
select /*{
    width: 100%;
    font-size: 18px !important;
	color: var(--principal);
	border: 1px solid var(--formborder);
    background: var(--formbckg);
	padding: 5px;
    font-weight: 400;
}*/
{
	color: #455d58;
	border: 1px solid #ccc;
	border: none;
	border-radius: 0;
	padding: 10px 12px;
	line-height: 20px;
	display: block;
	width: 100%;
	background: #faf7f2;
}

select {
	height: 45px;
	padding: 0 30px 0 16px;
	appearance: none;
	background-image: url("images/angle_down.svg");
	background-repeat: no-repeat;
	background-position: right 20px top 20px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #000;
}

textarea {
	width: 100%;
}

/*-----------------------------------------------------
# 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: var(--principal);
	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: none }
.widget {
	margin: 0 0 1.5em;
}*/

/* 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 var(--tdborder);
}
.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: var(--principal) }
.nav-next { float: right }
.nav-next:after { content: " >"; color: var(--principal) }

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


/* PAGE */
.site-content {
	width: 100%;
	padding: 80px 0 30px 0;
	z-index: 500;
}
.inner-content {
	width: 100%;
	/*max-width: 1140px;*/
	margin: auto;
}

.site-content a {
	position: relative;
	color: var(--link);
	text-decoration: none;
	font-weight: 700;
}
.site-content a:hover {
	color: var(--linkh);
}

.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 .elementor-widget-container li:before {
	display: inline-block;
	content: "";
	width: 8px;
	height: 8px;
	background: var(--puce);
	margin-right: 6px;
	-webkit-transform: rotate(-10deg);
	-moz-transform: rotate(-10deg);
	transform: rotate(-10deg);
}

.site-content .elementor-widget-container .slick-dots li:before { width: 0; height: 0; margin-right: 0 }

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

.page-content,
.entry-content,
.entry-summary {
	margin: 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,
.elementor-image-gallery .gallery-item .gallery-caption {
	margin: 10px 0 0 0 !important;
}

.wp-caption-text {
	font-size: 0.7em;
	text-align: center;
	line-height: 1.1em;
}

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

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
	padding: 7px;
}

.gallery-item img {
	box-shadow: 0 0 5px #ccc !important;
	border-radius: 15px !important;
}
.gallery-item img:hover {
	
}

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

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

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

/*---------------------------------------------------*/
.elementor-widget-image a img[src$=".svg"] {
	width: auto !important;
}