/*
Theme Name: CM Parquets
Template: astra
Description: Thème enfant d'Astra reprenant la présentation de l'ancien thème X (Integrity Light).
Version: 1.0.0
Text Domain: cmparquets
*/

/* -----------------------------------------------------------------------------
 * Base (X Integrity Light : Lato, 18px, gris #f3f3f3)
 * -------------------------------------------------------------------------- */

/* Les grands titres peuvent déborder sur mobile (comme avec X) : on coupe sans
 * créer de zone défilable horizontalement. */
.site-content {
	overflow-x: hidden;
	overflow-x: clip;
}

body {
	font-family: "Lato", sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.7;
	color: #333;
	background-color: #f3f3f3;
}

.site,
.site-content,
.ast-plain-container,
.ast-plain-container .site-content {
	background-color: transparent;
}

a {
	color: #00471d;
	text-decoration: none;
}

a:hover,
a:focus {
	color: #444;
}

p,
.entry-content p {
	margin: 0 0 1.313em;
}

h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
	margin: 1.25em 0 0.2em;
	font-family: "Lato", sans-serif;
	font-style: normal;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	color: #555;
	overflow-wrap: normal;
	word-wrap: normal;
	hyphens: manual;
}

h2, .entry-content h2 {
	font-size: 60px;
	line-height: 70px;
	letter-spacing: -0.019em;
}

h3, .entry-content h3 {
	font-size: 30px;
	line-height: 35px;
	letter-spacing: -0.024em;
}

/* -----------------------------------------------------------------------------
 * En-tête (navbar X fixe, 90px)
 * -------------------------------------------------------------------------- */

#masthead .ast-primary-header-bar {
	border-bottom: 1px solid #ccc;
	background-color: #fff;
	box-shadow: 0 0.15em 0.35em 0 rgba(0, 0, 0, 0.135);
	font-size: 18px;
}

#ast-desktop-header .site-primary-header-wrap {
	width: 90%;
	max-width: 1200px;
	min-height: 90px;
	margin: 0 auto;
	padding: 0;
}

#ast-mobile-header .ast-primary-header-bar {
	min-height: 91px;
	padding: 0 5%;
}

#masthead .site-branding {
	padding: 0;
}

#masthead .site-logo-img {
	padding: 0;
}

#masthead .custom-logo-link img {
	width: 100px;
	max-width: 100px;
	height: auto;
}

#ast-desktop-header .site-logo-img {
	align-self: flex-start;
	margin-top: 10px;
}

#ast-desktop-header .site-header-primary-section-left {
	align-self: flex-start;
}

#ast-desktop-header .main-header-menu > .menu-item > .menu-link {
	display: block;
	height: 90px;
	padding: 34px 17px 0;
	font-family: "Lato", sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.167em;
	text-transform: uppercase;
	color: #555;
	transition: none;
}

#ast-desktop-header .main-header-menu > .menu-item > .menu-link:hover,
#ast-desktop-header .main-header-menu > .current-menu-item > .menu-link {
	color: #008c19;
	box-shadow: inset 0 4px 0 0 #00471d;
}

@media (min-width: 980px) {
	body {
		padding-top: 91px;
	}

	.admin-bar #masthead {
		top: 32px;
	}

	#masthead {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1030;
	}
}

/* Mobile : bouton « hamburger » et menu déroulant de X */

#ast-mobile-header .site-primary-header-wrap {
	align-items: flex-start;
}

#ast-mobile-header .site-logo-img {
	margin-top: 10px;
}

#ast-mobile-header .menu-toggle {
	margin-top: 20px;
	padding: 0.458em 0.625em;
	border: 0;
	border-radius: 4px;
	font-size: 24px;
	line-height: 1;
	color: #b7b7b7;
	background-color: #fff;
	box-shadow: inset 0 0 0 transparent, 0 1px 5px rgba(0, 0, 0, 0.25);
}

#ast-mobile-header .menu-toggle:hover,
#ast-mobile-header .menu-toggle.toggled {
	color: #919191;
	background-color: #f7f7f7;
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.25);
}

#ast-mobile-header .menu-toggle .ast-mobile-svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

#ast-mobile-header .ast-mobile-header-content,
#ast-mobile-header .ast-builder-menu-mobile .main-navigation {
	background-color: #fff;
}

/* Comme X : le menu ouvert pousse le contenu au lieu de le recouvrir. */
#ast-mobile-header .ast-mobile-header-content {
	position: static;
	width: auto;
	padding: 0 5%;
	border: 0;
	box-shadow: none;
}

#ast-mobile-header .main-header-menu {
	margin: 25px 0;
	border: 0;
}

#ast-mobile-header .main-header-menu .menu-item > .menu-link {
	margin: 0 0 -1px;
	padding: 1em 0;
	border: 1px solid #f2f2f2;
	border-left: 0;
	border-right: 0;
	font-family: "Lato", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: 0.167em;
	text-transform: uppercase;
	color: #b7b7b7;
	background-color: transparent;
}

#ast-mobile-header .main-header-menu .menu-item > .menu-link:hover,
#ast-mobile-header .main-header-menu .current-menu-item > .menu-link {
	color: #272727;
}

/* -----------------------------------------------------------------------------
 * Contact Form 7 (champs et bouton de X)
 * -------------------------------------------------------------------------- */

.entry-content .wpcf7 p {
	margin-bottom: 0.32825em;
}

.wpcf7 label,
.wpcf7 .wpcf7-list-item-label {
	font-size: 100%;
	line-height: 1.7;
}

.wpcf7 label {
	display: block;
	margin-bottom: 2px;
}

.wpcf7 .wpcf7-form-control:not([type="submit"]):not(.wpcf7-checkbox):not(.wpcf7-captchac) {
	display: inline-block;
	width: 100%;
	height: 2.65em;
	margin-bottom: 9px;
	padding: 0 0.65em;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-family: "Lato", sans-serif;
	font-size: 13px;
	line-height: normal;
	color: #555;
	background-color: #fff;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	transition: border linear 0.2s, box-shadow linear 0.2s;
}

.wpcf7 textarea.wpcf7-form-control:not([type="submit"]):not(.wpcf7-checkbox):not(.wpcf7-captchac) {
	height: auto;
	padding-top: 6px;
	padding-bottom: 6px;
	line-height: 1.3;
	vertical-align: top;
}

.wpcf7 .wpcf7-form-control:not([type="submit"]):focus {
	border-color: rgba(0, 0, 0, 0.3);
	outline: 0;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 0, 0, 0.2);
}

.wpcf7 input[type="checkbox"] {
	width: 13px;
	height: 13px;
	margin: 10.2px 0;
	vertical-align: middle;
}

.wpcf7 img {
	vertical-align: middle;
}

.wpcf7 .wpcf7-list-item {
	margin: 0;
}

.wpcf7 input[type="submit"] {
	display: inline-block;
	margin: 0;
	padding: 0.563em 1.125em 0.813em;
	border: 1px solid #fff;
	border-radius: 100em;
	font-family: "Lato", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
	color: #fff;
	background-color: #00471d;
	text-shadow: 0 0.075em 0.075em rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.wpcf7 input[type="submit"]:hover {
	border-color: #fff;
	color: #fff;
	background-color: #008929;
}

.wpcf7 form .wpcf7-response-output {
	margin: 18.382px 0 0;
	padding: 11px 16px 14px;
	border: 1px solid #f6dca7;
	border-radius: 4px;
	font-size: 14px;
	line-height: 21px;
	color: #c09853;
	background-color: #fcf8e3;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
	box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.8), 0 2px 3px 0 rgba(0, 0, 0, 0.067);
}

/* -----------------------------------------------------------------------------
 * Pied de page (colophon X)
 * -------------------------------------------------------------------------- */

#colophon {
	border-top: 1px solid rgba(0, 0, 0, 0.085);
	background-color: transparent;
	box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
}

#colophon .site-below-footer-wrap {
	padding: 10px 0;
	border: 0;
	background-color: transparent;
}

#colophon .site-below-footer-inner-wrap {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	min-height: 0;
}

#colophon .ast-footer-copyright,
#colophon .ast-footer-copyright p {
	font-family: "Lato", sans-serif;
	font-size: 10px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 2px;
	text-align: center;
	color: #7a7a7a;
}

#colophon .ast-footer-copyright p {
	margin: 30px 0 10px;
	padding-bottom: 13px;
}
