/*

Theme Name: Le thème à Christine

*/

:root {

	--logo-vert: #537256;
	--logo-brun1: #9f835e;
	--logo-brun2: #b67e5b;

	--text-color: #382640;

	--topbar-bg-color: #ae72b8;
	--topbar-fg-color: white;

	--menu-bg-color: white;
	--menu-bg-hover: #eee;
	--menu-fg-color: #b67d5b;
	--sub-menu-width: 200px;

	--footer-bg-color: #537256;
	--footer-fg-color: #fff;
	--footer-fg-link: #bbb;

	--title-color: #537256;
}


.has-vert-background-color { background-color: #537256; }
.has-brun1-background-color { background-color: #9f835e; }
.has-brun2-background-color { background-color: #b67e5b; }
.has-blanc-color { color: #fff; }

.pad p,
.pad h2{
	padding: 10px 20px;
}

.wp-block-column p {
	padding-right: 20px;
}

body {
	color: var(--text-color);
	font-family: Lato, sans-serif;
	margin: 0;
	font-weight: 300;
	letter-spacing: 0.035em;
	text-align: justify;
}

div.clr {
	clear: both;
}


th, b, h1, h2, h3, h4 {
	font-weight: 400;
	color: var(--title-color);
	text-align: left;
}
th {
	background-color: var(--menu-bg-color);
}


.wp-block-table thead {
	border-color: var(--menu-fg-color);
	border-bottom: 1.6px dotted;
}

.PriceTable th,
.PriceTable td {
	min-width: 60px;
	font-size: .9em;
}

/*
 * top bar
 */
div.topbar {
	display: none;
	background-color: var(--topbar-bg-color);
	color: var(--topbar-fg-color);
	text-align: center;
	padding: 10px;
}

/*
 * menu
 */

div#menuWrap {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	margin: 20px;
}
div#menuWrap > img.custom-logo {
	width: 170px;
	margin-left: 80px;
	flex-direction: column;
}
div#menuWrap ul.menu {
	flex-direction: column;
	margin-left: 100px;
}

ul.menu, ul.sub-menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
	background-color: var(--menu-bg-color);
}
ul.menu > li,
ul.sub-menu > li {
	display: inline-block;
	padding: 0; margin: 0;
	background-color: var(--menu-bg-color);
	color: var(--menu-fg-color);
	position: relative;
}

ul.menu li.respMenu {
	display: none;
}

ul.menu > li > a {
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: .8em;
	font-weight: 400;
}

ul.menu > li > a,
ul.sub-menu > li > a {
	display: block;
	padding: 20px 30px;
	text-decoration: none;
	color: var(--menu-fg-color);
}

ul.sub-menu > li > a {
	width: var(--sub-menu-width);
	padding: 10px 30px;
}


ul.menu > li > ul {
	display: none;
	position: absolute;
	top: 55px;
	width: var(--sub-menu-width);
	list-style-type: none;
}
ul.menu > li:hover > ul {
	display: block;
}

ul.menu li:hover > a {
	background-color: var(--menu-bg-hover);
}

ul.menu li.current-menu-item {
	font-weight: 600;
}

ul.menu li.current-menu-item li {
	font-weight: 400;
}


/*
 * site header
 */
#site-header {
	width: 100%;
	height: 450px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 0% 50%;
}

/*
 * Galeries
 */

.wp-block-gallery.has-nested-images figure.wp-block-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
	max-height: 300px;
}

.wp-block-gallery.has-nested-images figure.wp-block-image img {
	margin: 10px;
    max-height: 250px;
    object-fit: contain; /* Ensures image maintains aspect ratio */
    display: block; /* Removes unwanted inline spacing */
	align-self: center;
}



/*
 * content
 */
div.content {
	width: 1200px;
	margin: 30px auto;
}

div.content img.image_m_avant {
	width: 90%;
}

/*
 * footer
 */
div.footer-box {
	float: left;
	width: 32%;
	padding-right: 1%;
	padding: 0 20px;
	margin: 20px 0;
}

footer {
	background-color: var(--footer-bg-color);
	color: var(--footer-fg-color);
	padding: 20px 20px 40px 20px;
}

footer a {
	color: var(--footer-fg-link);
}

footer h1, footer h2, footer h3 {
	font-weight: normal;
	color: var(--footer-fg-color);
}


/*
 * tarifs
 */
div.wp-block-column {
	position: relative;
}
a:hover img {
	opacity: .7;
}
.tarif div.wp-block-column {
	background-color: #efefef;
	padding-bottom: 15px;
	padding: 0 10px 100px 10px;
}
.tarif div.wp-block-column:hover {
	background-color: #fafafa;
}
.tarif div.wp-block-column p,
.tarif div.wp-block-column h2 {
	padding-left: 10px;
	padding-right: 10px;
}

.tarif blockquote {
	position: absolute; bottom: 10px;
	width: 100%;
	margin-left: -10px;
}
.tarif blockquote p {
	margin: 10px 20px;
	padding: 20px;
}

@media screen and (max-width: 1200px){
	div.content {
		width: auto;
		padding: 25px;
	}
}

@media screen and (max-width: 800px),
@media handheld {
	img.custom-logo {
		max-width: 100%;
	}
	#site-header {
		width: 100%;
		height: 200px;
		background-size: cover;
		background-repeat: no-repeat;
		background-position: 50% 50%;
	}

	div.content {
		width: auto;
		padding: 25px;
	}
	div.footer-box {
		width: auto;
		float: none;
	}
	div#menuWrap {
		display: block;
	}
	div#menuWrap ul.menu {
		margin: 0;
	}
	ul.menu li {
		display: none;
		clear: both;
	}
	ul.menu li.respMenu {
		min-height: 50px;
	}
	ul.menu li.respMenu a {
		float: right;
		font-size: 1.2em;
		background-color: rgba(255,255,255,.6);
	}
	ul.menu li.respMenu:hover a {
		background-color: var(--menu-bg-hover);
	}
	ul.menu li.shown,
	ul.menu li.respMenu {
		display: block;
	}
	ul.menu > li > ul {
		display: block;
		position: static;
		margin-left: 20px;
	}
	ul.menu li a {
		text-align: left;
	}
	ul.sub-menu > li > a {
		padding: 20px 30px;
		width: 100%;
	}

}
