/*!
Theme Name: Kadence Child Theme
Description: A child theme for the Kadence Theme.
Author: Nomad
Author URI: http://www.agencenomad.com/
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Version: 1.0.0
Text Domain: kadence-child
Domain Path: /languages
*/


/*--------------------------------------------------------------
COMMON
--------------------------------------------------------------*/

/**
 * Variables
 */


/*--------------------------------------------------------------
HEADER
--------------------------------------------------------------*/



/*--------------------------------------------------------------
CONTENT
--------------------------------------------------------------*/


/**
 * Tags
 */

.single-content p:not(.form-row):not(:last-child),
.entry .single-content ul:not(:last-child), 
.entry .single-content ol:not(:last-child) {
	margin-bottom: 1em;
}
.entry .single-content li ul, 
.entry .single-content li ol {
	margin-bottom: 0;
}


/**
 * Titles
 */

.custom_title::before,
.page h1.entry-title::before,
.single h1.entry-title::before {
	content: '';
	background-image: url('data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAZCAMAAABaQ73FAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAByFBMVEUAAACXvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2Xvw2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jp0kXLq2czIQLQ4ZuzZ5eDJ19VmLEFsQM7v0TJk6ymzxl2rREoSo1FtmpGCoAUZgiWgesbmUAAAAASUVORK5CYII=');
	background-size: contain;
	display: inline-block;
	margin-right: 0.5em;
}

h2.custom_title,
.page h1.entry-title {
	font-size: 45px;
}
h2.custom_title::before,
.page h1.entry-title::before {
	width: 60px;
	height: 25px;
	line-height: 25px;
}

h3.custom_title,
.single h1.entry-title {
	font-size: 35px;
}
h3.custom_title::before,
.single h1.entry-title::before {
	width: 46px;
	height: 19px;
	line-height: 19px;
}

h4.custom_title {
	font-size: 25px;
}
h4.custom_title::before {
	width: 33px;
	height: 14px;
	line-height: 14px;
}

@media only screen and (max-width: 719px)
{
	h2.custom_title,
	.page h1.entry-title {
		font-size: 28px;
	}
	h2.custom_title::before,
	.page h1.entry-title::before {
		width: 43px;
		height: 18px;
		line-height: 18px;
	}

	h3.custom_title,
	.single h1.entry-title {
		font-size: 24px;
	}
	h3.custom_title::before,
	.single h1.entry-title::before {
		width: 33px;
		height: 14px;
		line-height: 14px;
	}

	h4.custom_title {
		font-size: 20px;
	}
	h4.custom_title::before {
		width: 27px;
		height: 18px;
		line-height: 11px;
	}
}


/*--------------------------------------------------------------
SIDEBAR
--------------------------------------------------------------*/



/*--------------------------------------------------------------
HOMEPAGE
--------------------------------------------------------------*/



/*--------------------------------------------------------------
ATELIER
--------------------------------------------------------------*/

.page-atelier .videos-flex-portrait .wp-block-kadence-videopopup {
	width: 33.3333333333%;
	margin-right: 2px;
}

.page-atelier #glightbox-body .plyr__video-wrapper {
	padding-bottom: 180% !important;
}

.mfp-kt-blocks #glightbox-body .gslide-video {
	max-height: 90vh;
}


/*--------------------------------------------------------------
PORTFOLIO (Réalisations)
--------------------------------------------------------------*/

.wp-block-kadence-portfoliogrid .portfolio-hover-item-link:focus ~ .kb-portfolio-overlay-color {
	background: rgba(113,140,18,.5); /* Kadence set :hover but not :focus */
}

.kb-portfolio-content-item-inner {
	opacity: .8;
}

/* Relative posts */
.entry-related .entry-content-wrap {
	padding: 1em 2em;
}

.entry-related .entry-content-wrap .entry-header {
	margin-bottom: 0;
}

.entry-related .entry-content-wrap .entry-header .entry-title {
	font-size: 1.2em;
	font-weight: 500;
}


/*--------------------------------------------------------------
FOOTER
--------------------------------------------------------------*/


/**
 * Footer Main
 */

#colophon .footer-logo img {
	-webkit-filter: drop-shadow(1px -1px 1px rgba(0, 0, 0, .4));
	filter: drop-shadow(1px -1px 1px rgba(0, 0, 0, .4));
}

@media only screen and (max-width: 719px)
{
	.site-footer-row-container-inner .site-footer-row.site-footer-row-mobile-column-layout-row .site-footer-section:nth-child(1) {
		order: 2;
	  }
	.site-footer-row-container-inner .site-footer-row.site-footer-row-mobile-column-layout-row .site-footer-section:nth-child(2) {
		order: 1;
	  }
	  .site-footer-row-container-inner .site-footer-row.site-footer-row-mobile-column-layout-row .site-footer-section:nth-child(3) {
		order: 3;
	  }
}


/**
 * Footer Copyright
 */

#copyright p {
	display: inline-block;
	margin: 0 0 .3em;
}
@media only screen and (max-width: 719px)
{
	#copyright p {
		display: block;
	}
}