/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP & Krisken
Author URI: https://www.krisken.fr
Description: A child theme for the Kadence Theme.
Version: 1.0.0
*/

/* Generiques */
h2 em{
	display: block;
	color: #246188;
	font-size: 18px;
	font-weight: 300;
	font-style: normal;
	margin-bottom: 16px;
}
body.single h2{
	text-transform: none;
}
hr.wp-block-separator.w60{width: 60px;}
hr.wp-block-separator{height: 5px !important;}
p:not(.has-text-color) strong{
	font-size: 1.2em;
	color: #246188;
}
ul{
	list-style: none !important;
	padding-left: 0;
}
h3{
	margin-bottom: 0 !important;
	position: relative;
	z-index: 5;
}
.wp-block-group{margin-bottom: 0 !important;}
.hidden-lg{display: none;}
.hidden-xs{display: block;}

/* Header - Navigation */
#masthead .site-header-inner-wrap{
	border-bottom: 1px solid #246188;
	transition: all 0.25s linear;
}
#masthead .site-bottom-header-wrap{
	display: none;
	position:absolute;
	top: 77px;
	width: 100%;
	left: 0;
	right: 0;
}
#masthead .site-bottom-header-wrap.appear{display: block;}
#masthead .site-bottom-header-wrap .header-html-inner{
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}
.header-html-inner a{
	background-color: #246188 !important;
	font-weight: normal;
	border-radius: 0;
	margin-right: 1px;
}
.header-html-inner a.phone{
	background: #246188 url(img/white-snake.svg) no-repeat left center/44px;
	padding-left: 50px;
}
.header-html-inner a:hover{background-color: #f9ae23 !important;}
	
.site-header-row-layout-fullwidth>.site-header-row-container-inner>.site-container{max-width: 1290px;}
.site-branding a.brand img.svg-logo-image{margin-left: -50px;}
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover{color: #246188 !important;}

.wp-block-buttons{margin-bottom: 0 !important;}
.wp-block-buttons.phone a.wp-block-button__link{
	position: relative;
	border-radius: 0;
	background: #246188 url(img/white-snake.svg) no-repeat left center/44px;
	padding-left: 50px;
}
.wp-block-buttons.phone a.wp-block-button__link:after{
	content: '';
	display : inline-block;
	height : 0;
	width : 0;
	border-bottom : 22px solid white;
	border-left : 22px solid transparent;
	position: absolute;
	right: 0;
	bottom: 0;
}

/* Home-Page */
.home-headertxt hr.wp-block-separator{
	margin-left: 0;
	height: 5px !important;
	max-width: 220px !important;
}
.btn-link a{
	color: #fff;
	font-weight: 700;
}
section#nos-soins{
	margin-top: -100px;
	position: relative;
	z-index: 1;
}
section#nos-soins .wp-block-columns{gap: 0;}
section#nos-soins .wp-block-column{
	color: #fff !important;
	aspect-ratio: 1/1;
	background: url(img/bg-light-blue.svg) no-repeat center/contain;
	padding: 90px 60px;
}
section#nos-soins .wp-block-column h3,
section#nos-soins .wp-block-column p{
	color: #fff;
	margin-bottom: 0;
	line-height: 1.2;
}
section#nos-soins .wp-block-column:nth-of-type(odd){
	background: url(img/bg-dark-blue.svg) no-repeat center/contain;
}
section#nos-soins .wp-block-column .wp-block-buttons{
	opacity: 0;
	margin-top: 30px;
	transition: all 0.25s linear;
}
section#nos-soins .wp-block-column:hover .wp-block-buttons{opacity: 1;}

/* Pages */
.wp-block-cover .wp-block-cover__image-background{border-bottom: 1px solid #246188;}
.pointers{
	position: relative;
	margin-top: 80px !important;
	margin-bottom: 80px !important;
}
.pointers:before,
.pointers:after{
	content: url(img/points-gris.svg);
	display: block;
	width: 147px;
	height: 147px;
	position: absolute;
	top: 0;
	z-index: -1;
	left: -200px;
}
.pointers:after{
	content: url(img/points-bleu.svg);
	left: 100%;
	margin-left: 46px;
	top: 100%;
	margin-top: -147px;
}

#qui-sommes-nous figure.size-img-square{position: relative;}
#qui-sommes-nous figure.size-img-square:before{
	content: '';
	display: block;
	width: 10px;
	height: 132px;
	background-color: #246188;
	position: absolute;
	top: 100px;
	left: 0;
}
#qui-sommes-nous figure figcaption{
	background-color: #246188;
	color: #fff;
	padding: 2em;
	line-height: 1;
}
#qui-sommes-nous figure figcaption strong{
	font-size: 1.2em;
	text-trasnform: uppercase;
}
#qui-sommes-nous .google-map > p{width: 35%; margin-bottom: 0; line-height: 1;}
#qui-sommes-nous .google-map #btn-googlemap{display: inline-flex; align-items: center;}
#qui-sommes-nous .google-map #btn-googlemap:after{
	content: url(img/btn-googlemap.svg);
	margin-left: 5px;
	height: 38px;
}
#qui-sommes-nous .google-map #btn-googlemap a{line-height: 1;}

#qui-sommes-nous h3.lined{
	display: inline-block;
	width: auto;
	float: left;
	margin-top: 0 !important;
	background: #fff;
	padding-right: 1em;
}
#qui-sommes-nous h3.lined.has-text-align-right{padding-left: 1em; float: right;}
#qui-sommes-nous h3.lined + hr.wp-block-separator{
	height: 1px !important;
	margin-top: -12px;
	position: relative;
	z-index: 1;
	margin-top: 42px;
	border: 0;
}

.bleue{
	position: relative;
	background-color: #246188;
}
.bleue:before,
.bleue:after,
#searcher:after{
	content: '';
	display: block;
	width: 100%;
	width: 100%;
	margin: 0 auto;
	height: 64px;
	background: url(img/before-bleue.png) no-repeat center top/100%;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
}
.bleue:after,
#searcher:after{
	background: url(img/after-bleue.png) no-repeat center top/100%;
	top: 100%;
}

#les-professionnels .pros{
	margin-left: -30px;
	margin-right: -30px;
}
@media (max-width: 1350px){
	#searcher{display: block !important;}
	#les-professionnels{
		padding-left: 30px !important;
		padding-right: 30px !important;
	}
	#les-professionnels .pros{
		margin-left: 0;
		margin-right: 0;
	}
}

@media (max-width: 976px){
	#les-professionnels .pro article .uagb-post__image{
		margin-left: -30px !important;
		margin-right: -30px !important;
	}
}

#les-professionnels .pro article .uagb-post__image a{
	background: #f9ae23;
	overflow: hidden;
	transition: all 0.25s linear;
}
#les-professionnels .pro article .uagb-post__image a:before{
	content: '+';
	text-align: center;
	position: absolute;
	margin: 0 auto;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	font-size: 80px;
	font-weight: 700;
	line-height: 270px;
	color: #fff;
	opacity: 0;
}
#les-professionnels .pro article:hover .uagb-post__image a:before{opacity: 1;}
#les-professionnels .pro article:hover .uagb-post__image a img{
	transition: all 0.25s linear;
	filter: grayscale(100) contrast(2.5);
	opacity: 0.15;
}
#les-professionnels .pro article .uagb-post__title{
	text-transform: capitalize;
}
#les-professionnels .pro article .wp-block-button{
	width: 100%;
	position: relative;
	bottom: -22px;
}
#les-professionnels .pro article .uagb-text-link{
	display: block;
	margin: 0 auto;
	max-width: 180px;
}
#les-professionnels .pro article .uagb-post__taxonomy{
	color: #8c96a0;
	font-size: 20px;
	font-style: italic;
}

#searcher{
	position: relative;
	padding: 70px 15px 50px;
}
#searcher:after{
	background: url(img/searcher-after.svg) no-repeat center top/373px;
}
#searcher figure{margin-bottom: 0 !important; margin-right: 20px;}
#searcher .wp-block-search__inside-wrapper{
	width: 44%;
	min-width: 300px;
	border-radius: 22px;
	height: 44px;
	color: #fff;
	background: rgba(255,255,255,0.25);
	border: 1px solid #fff;
	font-style: italic;
	padding: 0;
}
#searcher .wp-block-search__inside-wrapper input.wp-block-search__input{
	background: transparent;
	border: 0;
	padding: 0 0 0 10px;
	color: #fff;
	font-size: 14px;
}
#searcher .wp-block-search__inside-wrapper .wp-block-search__button{
	padding: 0;
	border-radius: 22px;
	height: 44px;
	width: 44px;
	margin: -1px -1px !important;
}
	::-webkit-input-placeholder {color: #fff !important; opacity: 0.8 !important;}
	::-moz-placeholder {color: #fff !important; opacity: 0.8 !important;}
	::placeholder {color: #fff !important; opacity: 0.8 !important;}
#searcher .wp-block-search__inside-wrapper .wp-block-search__button .search-icon{fill: #246188;}

#ou-sommes-nous{margin-bottom: -22px !important;}
#ou-sommes-nous .wp-block-columns{gap: 0;}
#ou-sommes-nous .wpmapblockrender{border: 2px solid #246188;}
#ou-sommes-nous ul#horaires{
	height: 345px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-transform: uppercase;
}
#ou-sommes-nous ul#horaires li{
	border-bottom: 1px solid #d9d9d9;
	margin-bottom: 5px;
}
#ou-sommes-nous ul#horaires em{
	float: right;
	font-style: normal;
}

/* Footer */
#colophon .site-container{
	max-width: 1290px;
	padding-left: 15px;
	padding-right: 15px;
}
#colophon .site-footer-top-section-1 h3:before{
	content: '';
	display: inline-block;
	background: url(img/cloud-tags-before.svg) no-repeat left bottom/auto 17px;
	width: 34px;
	height: 17px;
}
	p.wp-block-tag-cloud a,
	.entry-tags a.tag-link{
		background: #f9ae23;
		border-radius: 22px !important;
		font-size: 0.85em !important;
		font-weight: bold;
		color: #fff;
		padding: 0.4em 1em;
		display: inline-block;
		transition: all 0.2s ease;
		margin-bottom: 10px;
		border: 0 !important;
		border: 0 !important;
	}
	p.wp-block-tag-cloud a:hover,
	.entry-tags a.tag-link:hover{
		color: #333 !important;
		background: #f9ae23 !important;
	}
#colophon .site-bottom-footer-wrap{
	position: absolute;
	left: 0;
	right: 0;
	margin-top: -80px;
	height: 80px;
}
#colophon .site-bottom-footer-wrap .site-bottom-footer-inner-wrap{align-items: center;}

/* ARTICLES */
body.single .entry-content-wrap{padding: 15px !important;}
.entry.single-entry{
	box-shadow: 0px 15px 15px -15px rgba(0, 0, 0, 0.3) !important;
}
#take-rdv .wp-block-group{
	position: relative;
	border-radius: 20px;
	padding: 50px 200px 30px 50px;
	margin: 120px auto !important;
	background: linear-gradient(to bottom right, #246188, #246188 70%, #112f42 100%);
}
#take-rdv .wp-block-group a{
	font-size: 1.8em;
	text-decoration: none;
}
#take-rdv .wp-block-group:before{
	content: '';
	display: block;
	width: 250px;
	height: 250px;
	position: absolute;
	top: -82px;
	right: 0;
	background: url(img/snake-2.svg) no-repeat left center / 100%;
	}
}

/* RESPONSIVE */
@media (max-width: 767px) {
	.hidden-lg{display: block;}
	.hidden-xs{display: none;}
	h3.has-text-align-right,
	p.h3.has-text-align-right{text-align: left !important;}
	
	#mobile-header{
		position: fixed;
		width: 100%;
		background-color: #fff;
	}
	.site-branding a.brand img.svg-logo-image{margin-left: 0;}
	
	/* Navigation */
	#mobile-drawer .drawer-content{
		padding: 0;
	}
	#mobile-drawer .mobile-html{
		width: 100%;
		/* background-color: #19445F; */
	}
	#mobile-drawer .mobile-html-inner{
		display: flex;
		flex-direction: column;
	}
	#mobile-drawer .mobile-html-inner a{
		background: none;
		padding-top: 1em;
    padding-bottom: 1em;
		text-align: left;
		text-decoration: none;
		text-transform: uppercase;
		font-size: 24px;
		color: rgba(255,255,255,.6);
		border-radius: 0;
	}
	#mobile-drawer .mobile-html-inner a:first-of-type:before{
		display: block;
		content: 'Appelez-nous au';
		font-size: 16px;
	}
	#mobile-drawer .mobile-html-inner a:last-of-type:before{
		display: block;
		content: 'Google Map';
		font-size: 16px;
	}
	
	#primary{margin-top: 78px;}
	.entry-content-wrap{padding: 0 !important;}
	
	/* ACCUEIL */
	.header-home{
		padding-top: 15px !important;
		padding-bottom: 0 !important;
	}
	.header-home img{filter: blur(5px);}
	.header-home .wp-block-columns{
		flex-direction: column-reverse;
		gap: 0;
		margin-top: 30px !important;
	}
	.header-home h1{padding: 2em 0; text-align: center;}
	.home-headertxt{background: rgba(36,97,136,.8) !important;}
	.home-headertxt hr.wp-block-separator{background-color: #fff;}
	
	section#nos-soins{margin: 0 -15px !important;}
	section#nos-soins .wp-block-column{
		padding: 15px 30px;
		aspect-ratio: auto;
		background: #19445F !important;
	}
	section#nos-soins .wp-block-column .wp-block-buttons{opacity: 1;}
	section#nos-soins .wp-block-columns{margin-bottom: 0 !important;}
	.pointers{margin-top: 30px !important; margin-bottom: 30px !important;}
	#ou-sommes-nous{padding-left: 15px; padding-right: 15px;}
	#ou-sommes-nous .wp-block-spacer{height: 20px !important;}
	#ou-sommes-nous #horaires h3{margin-top: 50px;}
	
	/* Footer */
	#colophon .site-bottom-footer-wrap{height: 120px; margin-top: -120px;}
	#colophon .site-bottom-footer-wrap .site-bottom-footer-inner-wrap,
	#footer-menu{
		display: flex;
    flex-direction: column;
		align-items: center;
	}
}