:root{
	--color-white: #ffffff;
	--color-light-grey: #fbf2ee;
	--color-grey: #474466;
	--color-dark-grey: #6a6a6a;
	--color-blue: #241e5e;
	--color-brown: #e5aa8f;
	/* --color-brown: #8C4521; */
	--color-rose: #ec5274;
	--color-black: #000000;
}

.shadow{box-shadow: 0 3px 8px rgb(0 0 0 / 16%); padding: 15px;}
.shadow > .wp-block-image{width: calc(100% + 30px); margin-left: -15px; margin-right: -15px; margin-top: -15px; height: 225px; position: relative;}
.shadow > .wp-block-image img{width: 100%; height: 100%; object-fit: cover; -o-object-fit: cover;}
.shadow > .wp-block-image figcaption{position: absolute; margin: 0; padding: 10px; top: 15px; right: 15px; background: var(--color-rose); border-radius: 50%; font-size: 1.2rem; color: #fff; width: 80px; height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0px 2px 5px rgb(0 0 0 / 50%)}
.shadow > .wp-block-image figcaption strong{font-size: 1.8rem; white-space: nowrap}
.h-inline{font-size: inherit !important; color: inherit !important; display: inline !important; font-family: "Open Sans", sans-serif !important;}


.wp-block-table table tfoot tr{background: var(--color-blue);}
.wp-block-table table tfoot tr td{color: var(--color-white); font-weight: bold;}
/* .wp-block-table table tr td:last-child{white-space: nowrap;} */
.wp-block-table table tr td .dashicons{color: var(--color-brown);}
@media(min-width: 782px){
	.wp-block-table.table-m{max-width: 75%; margin-left: auto; margin-right: auto;}
}

.aligncenter{text-align: center;}

/**
*	Colors CSS
*/
.has-grey-background-color {background-color: var(--color-grey) !important;}
.has-grey-color {color: var(--color-grey) !important;}
.has-light-grey-background-color {background-color: var(--color-light-grey) !important;}
.has-light-grey-color {color: var(--color-light-grey) !important;}
.has-dark-grey-background-color {background-color: var(--color-dark-grey) !important;}
.has-dark-grey-color {color: var(--color-dark-grey) !important;}
.has-blue-background-color {background-color: var(--color-blue) !important;}
.has-blue-color {color: var(--color-blue) !important;}
.has-brown-background-color {background-color: var(--color-brown) !important;}
.has-brown-color {color: var(--color-brown) !important;}
.has-rose-background-color {background-color: var(--color-rose) !important;}
.has-rose-color {color: var(--color-rose) !important;}
.has-white-background-color {background-color: var(--color-white) !important;}
.has-white-color {color: var(--color-white) !important;}
.has-black-background-color {background-color: var(--color-black) !important;}
.has-black-color {color: var(--color-black) !important;}

.-mt-50{margin-top: -50px;}
.-mt-100{margin-top: -100px;}

.py, section:not(header):not(footer):not(#header):not(#primary){padding-top: 50px !important; padding-bottom: 50px;}
section:not(header):not(footer):not(#header):not(#primary):not(.has-background) + section:not(header):not(footer):not(#header):not(#primary):not(.has-background){padding-top: 0 !important}

.px{padding-left: 25px !important; padding-right: 25px;}
/* @media(min-width: 1440px){
	.py{padding-top: 80px !important; padding-bottom: 80px;}
} */

.suptitle, .is-style-suptitle{color: var(--color-dark-grey); font-weight: 600; position: relative; font-size: 1.5rem; margin-bottom: 5px; display: block; font-family: inherit}
.suptitle:before, .suptitle:after,
.is-style-suptitle:before, .is-style-suptitle:after{content:''; width: 10px; height: 1px; background: var(--color-dark-grey); position: relative; display: inline-block; vertical-align: middle; margin: 0 10px; font-size: 1.5rem;}
.suptitle.has-white-color:before, .suptitle.has-white-color:after, .is-style-suptitle.has-white-color:before, .is-style-suptitle.has-white-color:after{background: var(--color-white);}
.suptitle.has-blue-color:before, .suptitle.has-blue-color:after, .is-style-suptitle.has-blue-color:before, .is-style-suptitle.has-blue-color:after{background: var(--color-blue);}
.suptitle + h2, .suptitle + h3, .suptitle + p,
.is-style-suptitle + h2, .is-style-suptitle + h3, .is-style-suptitle + p{margin-top: 0;}

.boxes-1{}
.boxes-1 .wp-block-column{background: var(--color-white); padding: 2em;}
.boxes-1 .wp-block-column figure{height: 350px; width: calc(100% + 4em); overflow: hidden; margin-left: -2em; margin-top: -2em; position: relative;}
.wp-admin .boxes-1 .wp-block-column figure > *{height: 100% !important;}
.boxes-1 .wp-block-column figure img{height: 100%; width: 100%; object-fit: cover; -o-object-fit: cover; -webkit-transition: all 0.4s ease-out 0s;
    -moz-transition: all 0.4s ease-out 0s;
    -ms-transition: all 0.4s ease-out 0s;
    -o-transition: all 0.4s ease-out 0s;
    transition: all 0.4s ease-out 0s;}
.boxes-1 .wp-block-column figure:hover img{transform: scale(1.1);}
.boxes-1 .wp-block-column h3{width: 100%; display: block; margin-top: -50px; margin-bottom: 25px; background: var(--color-brown); color: var(--color-white); position: relative; z-index: 9; padding: 25px; text-align: center;}
.boxes-1 .wp-block-column p{font-family: "PT Serif", serif; }


/**
*	En bref
**/
.wp-block-group.is-style-resume, .wp-block-group.resume,
.wp-block-quote.is-style-resume, .wp-block-quote.resume{padding: 0.5em 1em;}
.wp-block-group.is-style-resume h2, .wp-block-group.resume h2,
.wp-block-quote.is-style-resume h2, .wp-block-quote.resume h2{font-size: var(--wp--preset--font-size--default); color: inherit; font-family: inherit;}
@media(min-width: 782px){
	.wp-block-group.is-style-resume, .wp-block-group.resume,
	.wp-block-quote.is-style-resume, .wp-block-quote.resume{max-width: 75%;}
}


/**
*	Column
**/
.wp-block-column.has-background{padding: 15px;}
.wp-block-column.has-background > .wp-block-heading{margin-top: 0;}
	
	
/**
*	Buttons
**/
.wp-block-button.is-style-link > .wp-block-button__link{background: none !important; padding: 0; color: var(--color-grey); text-align: unset;}
.wp-block-button.is-style-link > .wp-block-button__link:before{content: "\f344"; margin-right: 5px; font-family: dashicons; display: inline-block; vertical-align: middle;}

/**
*	Résidences
**/
.residence-item{display: flex; flex-direction: column; background: var(--color-light-grey);}
.residence-item > *{flex-grow: 1; flex-basis: 100%;}
.residence-item figure{margin-top: 0; margin-bottom: 0;}
.residence-item figure > img{height: 100%; width: 100%; object-fit: cover; -o-object-fit: cover;}
.residence-item h3{margin-top: 0;}
.residence-item .residence-note{display: block; font-weight: 600;}
.residence-item .residence-description{padding: 25px;}

@media(min-width: 782px){
	.residence-item{flex-direction: row;}
	.residence-item figure{flex-basis: 40%; flex-grow: 0;}
	.residence-item .residence-description{flex-basis: 60%; flex-grow: 1}
}


/**
*	News
**/
article.post-item a{text-decoration: none;}
.news-container{display: flex; flex-direction: column; gap: 2em;}
.news-container article{flex-basis: 100%;}
.news-container article figure{width: 100%;}
.news-container article figure img{width: 100%; height: 100%; object-fit: cover;}

@media(min-width: 782px){
	.news-container{flex-direction: row; flex-wrap: wrap;}
	.news-container article{flex-basis: calc(50% - 2em);}
}
@media(min-width: 1280px){
	.news-container article{flex-basis: calc(33% - 2em);}
}

.news-container.news-container-list{flex-direction: column;}
.news-container-list article.post-item{display: flex; flex-wrap: no-wrap; margin-bottom: 25px;}
.news-container-list article.post-item:last-child{margin-bottom: 0;}
.news-container-list article.post-item > a{flex-basis: 25%; flex-grow: 0;}
.news-container-list article.post-item .post-thumbnail{margin: 0; padding: 0; max-height: 150px;}
.news-container-list article.post-item > .post-content{flex-basis: 75%; flex-grow: 1;}

.news-container.news-container-cover article{background-repeat: no-repeat; background-size: cover; width: 100%; flex-basis: 100%; padding: 150px 10px; color: #fff;}
.news-container.news-container-cover article a{display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;}
.news-container.news-container-cover article .post-title{color: #fff; text-transform: uppercase;}
.news-container.news-container-cover article:hover .post-title{color: #fff;}
.news-container.news-container-cover article .post-title:after{display: none;}
@media(min-width: 782px){
	.news-container.news-container-cover article{flex-basis: 100%;}
}


.news-container.news-container-sticky{width: 100%}
.news-container.news-container-sticky > .slick-list{width: 100%}
.news-container.news-container-sticky .slick-track .slick-slide.slick-cloned:not(article){display: none !important;}
.news-container.news-container-sticky article{display: flex; flex-direction: column; width: 100%; gap: 0; flex-basis: 100%;}
.news-container.news-container-sticky article figure{height: 350px; margin: 0;}
.news-container.news-container-sticky article figure img{height: 100%; width: 100%; object-fit: cover; -o-object-fit: cover;}
.news-container.news-container-sticky article .post-container{ padding: 8% 5%;}
.news-container.news-container-sticky article .post-content button{margin-top: 25px; text-decoration: none; color: var(--color-white);}

@media(min-width: 782px){
	.news-container.news-container-sticky .slick-track{display: flex !important;}
	.news-container.news-container-sticky .slick-track .slick-slide{height: inherit !important;}
	.news-container.news-container-sticky article{flex-direction: row; flex-basis: 100%;}
	.news-container.news-container-sticky article > *{flex-basis: 50%; flex-grow: 0;}
	.news-container.news-container-sticky article figure{height: 100%;}
}

.wp-admin article.post-item h3{margin: 0;}


/**	Kwanko	**/
iframe{max-width: 100%;}
.kwanko-container{max-width: 100%; height: auto !important;}