/*
Theme Name: BlankSlate Enfant
Description: Theme enfant de BlankSlate pour Les crayons du jardin.
Author: kactusse
Author URI: https://www.kactusse.com
Template: blankslate
*/

body {
	font-family: "Raleway", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	background-color: #ffffff;
	color: #333333;
	font-size: 1rem !important;
	line-height: 1.5em;
	margin: 0;
	padding: 0;
}
img {max-width:100%;height:auto;}
a {color:#000000;text-decoration:none;}
p {
	margin-bottom: 1.5em;
}
header.no-img {
	background: #124a2f url("images/floral-01.png") no-repeat 20px 0;
	position:relative;
	padding: 12em 0 6em 0;
	margin-top: -8em;
}
header.no-img::after {
	content: '';
	display: block;
	position: absolute;
	width: 30%;
	height: 100%;
	background: url("images/floral-02.png") no-repeat 98% 100px;
	top: 0;
	right: 0;
}
header.no-img h1 {
	font-size: 3em;
	text-align: center;
	line-height: 1.5em;
	margin: 0 auto 0 auto;
	text-shadow: none;
}
h1 {
	font-size: 3em;
	text-align: center;
	line-height: 1.5em;
	margin: 3em auto 4em auto;
	text-shadow: -1px 4px 8px rgba(0,0,0,1);
	width: 60%;
}
h2 {
	font-size: 2em;
	font-weight: 600;
	margin: 1.5em 0;
	line-height: 1.4em;
}
h3 {
	font-size: 1.4em;
	font-weight: 600;
	margin: 1.2em 0;
}
h4, h5 {
	font-size:1.2em;
	font-weight: 600;
	margin:1em 0;
}
strong {
	font-weight: 700;
}
ul {
	list-style: disc;
	padding: 0 30px;
}
ol {
	list-style-type: decimal;
	padding: 0 30px;
}
ul li,
ol li {
	padding: 0 0 0.5em 0;
}
#preheader {
	background-color:#2a7d2e;
	color:#fff;
	position:relative;
	z-index: 20;
}
.info {
	max-width: 100%;
	width: 1500px;
	margin: 0 auto;
	padding: 0 30px;
	box-sizing: border-box;
	text-align: right;
	line-height: 3em;
}
.info span.horaires{
	background-image:url("images/icon-adresse.png");
	background-repeat: no-repeat;
	background-position:5px 50%;
	background-size:20px 20px;
	padding:0 0 0 35px;
	margin:0 0 0 15px;
	display:inline-block;
}
.info a.tel {
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	display: inline-block;
	background-image: url("images/icon-tel.png");
	background-repeat: no-repeat;
	background-position: 1em 50%;
	background-size: 20px 20px;
	padding: 0 1em 0 3em;
	margin: 0 0 0 15px;
}
.info a.devis {
	font-weight:600;
	text-transform: uppercase;
	text-decoration: none;
	padding:0 2em;
	margin:0;
	color:#124a2f;
	background-color:#ffffff;
	display:inline-block;
}
.info a:hover {
	background-color:#71bb5c;
	color:#ffffff;
}
#header {
	background: linear-gradient(180deg,rgba(0, 45, 18, 1) 0%, rgba(0, 45, 18, 0) 100%);
	position: relative;
	z-index: 20;
}
.blog #header {
	background: #124a2f;
}
.blog #header h1 {
	font-size:1em;
	text-align: center;
	line-height: 1.5em;
	margin: 0;
	text-shadow: none;
	width: auto;
}
#header .fd {
	max-width: 100%;
	width: 1500px;
	margin: 0 auto;
	padding: 30px;
	position:relative;
}
#header .fd::after {
	content: '';
	display: block;
	clear:both;
}
#header #branding {
	float:left;
}
#header .menu-main-menu-container{
	float:right;
}
ul.main-menu {
	list-style: none;
	display: flex;
	margin: 0 0 0 3em;
	padding: 0;
	width: 100%;
	text-transform: uppercase;
}
ul.main-menu li {
	text-align: right;
	position: relative;
}
ul.main-menu li a {
	text-decoration: none;
	color: #ffffff;
	padding: 0 1em;
	line-height: 48px;
	display: inline-block;
	font-weight: 500;
	border-radius: 24px;
}
ul.main-menu li a:hover {
	background-color:rgba(0,0,0,0.50);
}
ul.main-menu li.contact a {
	border: 1px solid #ffffff;
	padding: 0 2em;
	margin-left: 1em;
}
ul.main-menu li.contact a:hover{
	border-color:#000000;
}
ul.main-menu li ul.sub-menu {
	display: none;
	position: absolute;
	list-style: none;
	padding: 15px 0;
	right: 0;
	width: 200%;
}
ul.main-menu li:hover ul.sub-menu {
	display:block;
}
ul.main-menu ul.sub-menu li a {
	background-color:#333333;
}
ul.main-menu ul.sub-menu li a:hover {
	background-color:#2a7d2e;
}
/** page **/
.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.full-width img {
	width: 100%;
	position: absolute;
	top: -50em;
	left: 0;
	z-index: 0;
}
.header {
	position:relative;
	z-index:30;
	color:#ffffff;
}
.entry-content {
	background:#ffffff;
	position: relative;
	top: 0;
	width: 100vw;
	height:100%;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.page .entry-content .fd,
.blog .entry-content .fd {
	max-width: 100%;
	width: 1500px;
	margin: 0 auto;
	padding: 3em 30px;
	box-sizing: border-box;
}
.impot {
	padding: 2em;
	background: red;
	border-radius: 15px;
	margin: 2em 0;
}
.single #content {
    width: 100%;
}

.single .single-entry {
	display: flex;
	align-items: flex-start;
	gap: 2rem;
	max-width: 1500px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	background: #ffffff;
	padding: 3em 30px;
}

.single .single-entry > .fd {
    flex: 1;
    min-width: 0;
}

.single .single-entry > #sidebar-right {
    width: 300px;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .single .single-entry {
        flex-direction: column;
    }

    .single .single-entry > #sidebar-right {
        width: 100%;
    }
}
.derniers-articles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#sidebar-right .derniers-articles {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	background: #f6f6f6;
	padding: 15px;
	border-radius: 15px;
}

#sidebar-right .derniers-articles__image img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0.5rem;
}

#sidebar-right .derniers-articles__titre {
    font-weight: bold;
    text-decoration: none;
}
#sidebar-right .widget-devis {
	background: #71bb5c;
	color: #ffffff;
	padding: 50px 15px;
	border-radius: 15px;
}
#sidebar-right .widget-devis .wp-block-button__link {
	background: #124a2f;
	color: #ffffff;
}
#sidebar-right .widget-devis .wp-block-button__link:hover {
	background: #ffffff;
	color:#124a2f;
}
/** hero slider **/
.hero {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	overflow:hidden;
	height:100vh;
}
.page #content,
.blog #content {
	max-width: 100%;
	width: 1500px;
	margin:0 auto;
	padding: 0 30px;
	box-sizing: border-box;
	z-index: 10;
	position: relative;
}
/** mise avant*/
.mise-avant {
	width: 50%;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	height: 86vh;
	padding-top: 6em;
}
/** accueil **/
.mise-avant h1 {
	font-size: 3em;
	line-height: 1.2;
	font-weight: 600;
	margin: 0 0 0.5em 0;
	text-align: left;
}
.mise-avant p {
	text-shadow: -1px 3px 2px rgba(0,0,0,1);
}
.page-template-page-accueil .entry-content {
	background-image: url("images/fd-feuille.png");
	background-size: 85%;
	background-position: right 30%;
	padding: 3em 0;
	background-repeat: no-repeat;
}
.page-template-page-accueil .entry-content .fd {
	padding: 0 30px 3em 30px;
}
.page-template-page-accueil .t-serv {
	text-align: center;
	font-size: 1.8em;
	margin: 0 0 3em 0;
}
.page-template-page-accueil .services {
	display: flex;
	gap: 30px;
	margin-bottom: 6em;
}
.page-template-page-accueil .services .service {
	text-align: center;
	flex: 1;
	position: relative;
	margin-bottom: 2em;
}
.page-template-page-accueil .services .service a {
	display: block;
	color: #ffffff;
	background: #2a7d2e;
	text-decoration: none;
	padding-bottom: 70px;
	transition-duration: 1s;
}
.page-template-page-accueil .services .service a img {
	transition-duration: 1s;
}
.page-template-page-accueil .services .service h3 {
	text-transform: uppercase;
}
.page-template-page-accueil .services .service .extrait-page {
	padding:0 20px;
}
.page-template-page-accueil .services .service::before {
	content: '';
	display: block;
	width: 2px;
	height: 30px;
	background: #ffffff;
	position: absolute;
	bottom: 15px;
	left: 50%;
	transition-duration: 1s;
}
.page-template-page-accueil .services .service::after {
	content: '';
	display: block;
	width: 30px;
	height: 2px;
	background: #ffffff;
	position: absolute;
	bottom: 30px;
	left: 50%;
	margin-left: -15px;
	transition-duration: 1s;
}
.page-template-page-accueil .services .service a:hover img {
	opacity: 0.5;
}
.page-template-page-accueil .services .service a:hover {
	background:#124a2f;
}
.page-template-page-accueil .blog-list {
	display: flex;
	margin-bottom: 2.5em;
}
.page-template-page-accueil .blog-list h3 {
	font-size: 1.2em;
	padding: 0 15px;
}
.page-template-page-accueil .blog-list .wp-block-group{
	padding:0!important;
}
.page-template-page-accueil .talk-about {
	position: relative;
	padding: 9em 1em;
	overflow: hidden;
	background-image: url("images/floral-01.png");
	background-repeat: no-repeat;
	background-position: 90% -60px;
}
.page-template-page-accueil .talk-about::before {
	background-image: url("images/floral-02.png");
	background-repeat: no-repeat;
	background-position: 0 0;
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 15px;
	left: 2em;
}
/** contact  **/
.page-template-page-contact .entry-content .fd {
	display:flex;
}
.page-template-page-contact .coordonnees {
	width: 30%;
	border-radius: 15px;
	font-size: 1.1em;
	text-align: center;
}
.page-template-page-contact .coordonnees div {
	padding: 20px;
	background-color: #f8f8f8;
}
.page-template-page-contact .coordonnees a {
	font-weight:600;
}
.page-template-page-contact .formulaire {
	width: 70%;
	padding: 20px 0 100px 60px;
}
/** blog **/
.blog .post-actu {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 4em;
}
.blog .post-actu .m-av {
	width:32%;
	margin-bottom:2%;
	position:relative;
	background: #2a7d2e;
}
.blog .post-actu .m-av a {
	display: block;
	color: #ffffff;
	background: #2a7d2e;
	text-decoration: none;
	padding-bottom: 30px;
	transition-duration: 1s;
}
.blog .post-actu .m-av h2 {
	font-size: 1.4em;
	padding: 0 30px;
	margin: 15px 0;
	text-align: center;
}
.blog .post-actu .m-av .extrait-page {
	padding:0 30px;
}
.blog .pagination {
	text-align: center;
	margin-bottom: 3em;
	font-weight:600;
}
.blog .pagination .nav-links span {
	display: inline-block;
	padding: 7px 15px;
	margin: 0 5px;
	border: 1px solid #2a7d2e;
	color: #ffffff;
	background: #2a7d2e;
}
.blog .pagination .nav-links a {
	display: inline-block;
	padding: 7px 15px;
	margin: 0 5px;
	border: 1px solid #eeeeee;
	background: #eeeeee;
	color: #2a7d2e;
	text-decoration: none;
}
#footer {
	background-color: #2a7d2e;
	padding: 3em 0 0 0;
	text-align: center;
	color: #ffffff;
}
#footer ul.main-menu {
	display:block;
	margin:2em auto 0 auto;
	font-size:0.8em;
}
#footer ul.main-menu li {
	display:inline-block;
}
#footer ul.main-menu a {
	line-height:30px;
}
#footer .info {
	text-align: center;
}
#footer .info a.tel {
	margin: 0 15px;
	border-radius: 24px;
}
#footer .info a.devis {
	border-radius: 24px;
}
#copyright {
	background-color: #124a2f;
	padding: 0.5em 1em;
	margin-top: 2em;
	font-size:0.9em;
}
#copyright a {color:#ffffff;}
#copyright ul.footer-menu {
	display: inline;
	margin: 0;
	padding: 0;
}
#copyright ul.footer-menu li {
	display: inline-block;
	padding: 0 0 0 20px;
}