/**
* Single header > Global Layout
*/
.single-header {
    position: relative;
	padding-top: 0;
	display: block;
}

body.single .single-header {
	background-color: var(--color_2);
}

body.single .single-header .inner {
	padding-top: 10px;
	min-height: 500px;
}

@media (max-width:992px) {
	.single-header > .inner {
		padding-top: 120px;
	}

	.single-header > div {
		padding-left:0;
		padding-right:0;
	}
}

body.page .single-header .background-mask,
body.page .single-header .background-mask .after svg path {
	background-color: unset;
	fill:none;
}
/**
* Single header > Inner content
*/
.single-header > .inner {
	padding-top: 80px;
	z-index: 2;
	align-items: center;
	color:var(--color_1);
	position: relative;
}

@media (max-width:992px) {
	.single-header > .inner {
		padding-top: 120px;
	}

	.single-header > .inner > div {
		padding-left:0;
		padding-right:0;
	}
}

/**
* Single header > Background
*/
.single-header .background {
	position: absolute;
	z-index: 1;
	top:80px;
	right:0;
	height: calc(100% - 80px);
	width: 100%;
	background-color: var(--color_3);
	background-color: var(--page-color-background);
}

.single-header .background:before,
.single-header .background:after {
	content:'';
	display: block;
	position: absolute;
	z-index: 2;
	left:0;
	height: 100%;
	width: 100%;
}

.single-header .background:before {
	top:0;
	box-shadow: inset 0 150px 50px rgba(0,0,0,.1);
}

.single-header .background:after {
	bottom:0;
	box-shadow: inset 0 -300px 99px rgba(0,0,0,.1);
}

.single-header .background > picture,
.single-header .background > img {
	height: 100%;
	width: 55%;
	object-fit: cover;
	position: absolute;
	right: inherit;
	top:0;
}

.single-header .background picture img {
	object-fit: cover;
    height: 100%;
    width: 100%;
}

@media (max-width:992px) {
	.single-header .background > picture, .single-header .background > img {
		width: 100%;
		position: relative;
	}

	body.single .single-header .inner {
		min-height: auto;
		padding-top: 120px;
	}

	.single-header.align-center .title-wrapper {
		text-align: left;
	}
}
/**
* Breadcrumb
*/
.breadcrumb {
    text-align: left;
    padding-top: 10px;
    font-size: 12px;
    line-height: 14px;
}

/**
* Single header > Inner content > Title
*/
.single-header .title-wrapper {
	padding-top: 80px;
	padding-bottom: 20px;
}

.post-type-page .single-header .title-wrapper {
	padding-bottom: 40px;
	padding-top: 40px;
}

.single-header.align-left .title-wrapper {
	text-align: left;
}

.single-header.align-center .title-wrapper {
	text-align: center;
}

.single-header.align-right .title-wrapper {
	text-align: right;
}

.single-header .title-wrapper .title {
	font-family: var(--title-font);
	font-style: normal;
	font-weight: 700;
	font-size: 36px;
	line-height: 40px;
	position: relative;
}

body.page .single-header .title-wrapper .title:after {
	content:'';
	display: block;
	margin: 20px auto 30px 0;
	width: 20px;
	height: 20px;
	background:var(--page-color-background);
	border-radius: 4px;
	transform: rotate(45deg) translateX(10px);
}

body.page .single-header.align-center .title-wrapper .title:after {
	margin: 20px auto 30px;
}

body.page .single-header.align-right .title-wrapper .title:after {
	margin: 20px 0 30px auto;
}

.single-header .title-wrapper .subtitle {
	font-family: var(--title-font);
	font-style: normal;
	font-weight: 700;
	font-size: 20px;
	line-height: 24px;
	position: relative;
}

/**
* Single header > Inner content > Category
*/
.single-header .post-terms {
	display: flex;
	flex-wrap: wrap;
}

.single-header .post-terms.tag {
	justify-content: center;
}

.single-header.align-left .post-terms.tag {
	justify-content: flex-start;
}

.single-header.align-right .post-terms.tag {
	justify-content: flex-end;
}

.single-header .post-terms.tag .term-link {
	font-family: var(--special-font);
	font-weight: 700;
	font-size: 12px;
	line-height: 14px;
	padding:5px 10px;
	border-radius: 15px;
	color:var(--color_2);
	background-color: var(--page-color-background);
	display: inline-flex;
	align-items: center;
	margin-right:7px;
	margin-bottom:10px;
}

.single-header .post-terms.category {
	position: relative;
	padding-left: 0px;
	margin-bottom: 30px;
	justify-content: center;
}

.single-header .post-terms.formation-format {
	padding-left:0;
}

.single-header .post-terms.formation-format:before {
	content:'';
	position: absolute;
	display: block;
	height: 25px;
	width: 25px;
	background-image: var(--formation-format-image);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	left: 0;
	top:50%;
	transform: translateY(-50%);
	padding-left: 50px;
}

.single-header .post-terms.category.formation-format:before {
	background-image: var(--formation-format-image);
}

.single-header .post-terms.category .term-link {
	font-size: 20px;
	line-height: 24px;
	color:var(--page-color-background);
	font-weight: 700;
}

.single-header .post-terms.category .term-link + .term-link {
	text-transform: lowercase;
}

@media (max-width:992px) {

	.single-header .title-wrapper .title {
		font-size: 22px;
		line-height: 24px;
	}

	.single-header .background-mask {
		display: none;
	}

	.single-header .background {
		position: relative;
		height: 200px;
		width: auto;
		padding-top: 0;
		margin-left: -15px;
		margin-right: -15px;
	}

	.single-header .title-wrapper {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.single-header .post-terms.category.formation-format {
		padding-left: 30px;
	}

	.single-header .post-terms.category.formation-format:before {
		height: 25px;
    	width: 25px;
		padding-left: 0;
	}

	.single-header .post-terms.category .term-link {
		display: block;
		font-size: 16px;
		line-height: 18px;
	}

}

