/*
Theme Name: Noria 2023
Author: Happy Dev
Author URI: https://happy-dev.fr
Description: Thème Noria 2023
Requires at least: 6.2
Tested up to: 6.3
Version: 1.54
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: noria
*/

/* general width management */
header.wp-block-template-part .top,
header .yoast-breadcrumbs {
	max-width: var(--wp--style--global--wide-size);
	margin: auto;
}
header.wp-block-template-part .top {
	margin: 30px auto;
	width: calc(100% - 20px);
}
@media (min-width: 781px) {
	header.wp-block-template-part .top {
		width: calc(100% - 60px);
	}
}
@media (max-width: 600px) {
	header.wp-block-template-part .top {
		margin: 15px auto;
		width: 100%;
	}
}
footer.wp-block-template-part > .wp-block-columns {
	padding: 50px 6%;
}
main,
.single footer.wp-block-group {
	max-width: var(--wp--style--global--content-size);
	margin: auto 10px;
}
@media (min-width: 781px) {
	main,
	.single footer.wp-block-group {
		margin: auto 30px;
	}
}
@media (min-width: 1460px) {
	main,
	.single footer.wp-block-group {
		margin: auto;
	}
}

.single main,
.author main,
.page-template-page-with-sidebar main,
.page-template-page-with-two-columns .wp-block-post-content > .wp-block-columns > .wp-block-column:first-child {
	max-width: 720px;
}
.page-template-page-narrow main,
.post-template-cartography main {
	max-width: calc(var(--wp--style--global--content-size) * 0.8);
}
.single aside,
.page-template-page-with-sidebar aside {
	margin: 0 10px;
}
header.wp-block-template-part .main-nav {
	padding-left: 30px;
	padding-right: 30px;
}
@media (min-width: 781px) {
	.single aside,
	.page-template-page-with-sidebar aside {
		margin: 72px 0 0;
	}
}
@media (min-width: 1500px) {
	header.wp-block-template-part .main-nav,
	footer.wp-block-template-part > .wp-block-columns {
		padding-left: calc(50vw - 720px);
		padding-right: calc(50vw - 720px);
	}
	.single aside,
	.page-template-page-with-sidebar aside {
		max-width: 360px;
	}
	.single .wp-site-blocks > .wp-block-columns,
	.page-template-page-with-sidebar .wp-site-blocks > .wp-block-columns,
	.page-template-page-with-two-columns .wp-block-post-content > .wp-block-columns > .wp-block-column:first-child,
	.page-template-page-with-two-columns h1.wp-block-post-title {
		margin: 0 calc(50vw - 720px);
	}
}

.editor-styles-wrapper.block-editor-writing-flow {
	padding: 8px;
}
.editor-styles-wrapper.block-editor-writing-flow .wp-block-post-content > .wp-block-paragraph {
	line-height: 1.875;
}

.wp-block-group.is-content-justification-space-between {
	justify-content: space-between;
}
.wp-block-group.is-content-justification-right {
	justify-content: flex-end;
}

.wp-block-group.has-background {
	padding: 2.22em;
}

.wp-block-post-template.is-layout-grid.columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.has-link-color > a {
	color: inherit;
}

a {
	color: var(--wp--preset--color--orange);
}
a:hover {
	color: #1D1D1B;
}

/* search */
.wp-block-site-logo.is-default-size img {
	height: 34px;
	width: auto;
}

.wp-block-search__inside-wrapper {
	padding: 0;
}

.wp-block-search__button.wp-element-button {
	padding: 10px 15px;
	background: none;
}
.wp-block-search__button.wp-element-button:hover {
	background: none;
}

.wp-block-search__button.has-icon svg {
	min-height: 24px;
	min-width: 24px;
	fill: black;
}

.wp-block-search__button-inside .wp-block-search__input {
	padding-left: 15px;
	background: none;
}

@media (max-width: 600px) {
	.wp-block-navigation__responsive-container-content .wp-block-search {
		width: 100%;
		padding: 30px 42px;
		box-sizing: border-box;
		border-top: solid 1px;
	}

	.wp-block-navigation__responsive-container-content .wp-block-search__button.wp-element-button {
		
	}
}

/* top and main navigation */
header.wp-block-template-part .main-nav {
	border-top: solid 1px black;
	padding-top: 0;
	padding-bottom: 0;
}

header.wp-block-template-part .top .wp-block-navigation-item__content {
	margin-right: 30px;
	text-transform: uppercase;
	color: var(--wp--preset--color--light-grey);
}

header.wp-block-template-part .top .current-lang .wp-block-navigation-item__content {
	color: var(--wp--preset--color--black);
}

header.wp-block-template-part .main-nav .wp-block-navigation-item__content {
	padding: 10px 0;
}

@media (min-width: 600px) {
	header.wp-block-template-part .primary.wp-block-navigation > .wp-block-navigation-item > .wp-block-navigation-item__content {
		margin-left: 50px;
		padding: 20px 0;
	}
	.rtl header.wp-block-template-part .primary.wp-block-navigation > .wp-block-navigation-item > .wp-block-navigation-item__content {
		margin-left: 0;
		margin-right: 50px;
		padding: 20px 0;
	}
}

header.wp-block-template-part .main-nav {
	background-color: var(--wp--preset--color--beige);
}

header.wp-block-template-part .has-small-font-size-16px {
	font-size: 16px;
}

@media (max-width: 600px) {
	header.wp-block-template-part .wp-block-image img {
		height: 19px;
		margin-left: 10px;
	}
}

/* footer */
footer.wp-block-template-part > .wp-block-columns {
	margin-bottom: 0;
}
@media (min-width: 782px) {
	footer.wp-block-template-part .wp-block-group:first-child > .wp-block-heading {
		margin-top: 0;
	}
}
footer.wp-block-template-part .wp-block-navigation {
	line-height: 2.5;
}
footer.wp-block-template-part .wp-block-image {
	margin: 20px 0;
}
.leading-loose {
	line-height: 2;
}
@media (min-width: 782px) {
	footer.wp-block-template-part > .wp-block-columns .wp-block-column:nth-child(2),
	footer.wp-block-template-part > .wp-block-columns .wp-block-column:nth-child(3) {
		margin: 0 5%;
	}
}

/* custom social icons */
.wp-social-link-facebook.is-style-inverse .wp-block-social-link-anchor:before{
	content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' width='29' height='25' viewBox='0 0 29 25'><path fill='currentColor' d='M10.875 8.33333H7.25V12.5H10.875V25H16.9167V12.5H21.3174L21.75 8.33333H16.9167V6.59687C16.9167 5.60208 17.1487 5.20833 18.264 5.20833H21.75V0H17.1487C12.8035 0 10.875 1.64896 10.875 4.80729V8.33333Z'/></svg>");
}
.wp-social-link-facebook.is-style-inverse .wp-block-social-link-anchor:hover:before{
	content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' width='29' height='25' viewBox='0 0 29 25'><path fill='%23FF5C00' d='M10.875 8.33333H7.25V12.5H10.875V25H16.9167V12.5H21.3174L21.75 8.33333H16.9167V6.59687C16.9167 5.60208 17.1487 5.20833 18.264 5.20833H21.75V0H17.1487C12.8035 0 10.875 1.64896 10.875 4.80729V8.33333Z'/></svg>");
}
.wp-social-link-linkedin.is-style-inverse .wp-block-social-link-anchor:before{
	content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' width='29' height='25' viewBox='0 0 29 25'><path fill='currentColor' d='M6.0175 3.64567C6.0175 5.08421 4.67625 6.24984 3.02083 6.24984C1.36542 6.24984 0.0241667 5.08421 0.0241667 3.64567C0.0241667 2.20817 1.36542 1.0415 3.02083 1.0415C4.67625 1.0415 6.0175 2.20817 6.0175 3.64567ZM6.04167 8.33317H0V24.9998H6.04167V8.33317ZM15.6866 8.33317H9.68358V24.9998H15.6878V16.2509C15.6878 11.3863 22.9728 10.9884 22.9728 16.2509V24.9998H29V14.4467C29 6.23838 18.2193 6.53734 15.6866 10.578V8.33317Z'/></svg>");
}
.wp-social-link-linkedin.is-style-inverse .wp-block-social-link-anchor:hover:before{
	content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' width='29' height='25' viewBox='0 0 29 25'><path fill='%23FF5C00' d='M6.0175 3.64567C6.0175 5.08421 4.67625 6.24984 3.02083 6.24984C1.36542 6.24984 0.0241667 5.08421 0.0241667 3.64567C0.0241667 2.20817 1.36542 1.0415 3.02083 1.0415C4.67625 1.0415 6.0175 2.20817 6.0175 3.64567ZM6.04167 8.33317H0V24.9998H6.04167V8.33317ZM15.6866 8.33317H9.68358V24.9998H15.6878V16.2509C15.6878 11.3863 22.9728 10.9884 22.9728 16.2509V24.9998H29V14.4467C29 6.23838 18.2193 6.53734 15.6866 10.578V8.33317Z'/></svg>");
}
.wp-social-link-facebook.is-style-inverse .wp-block-social-link-anchor > svg,
.wp-social-link-linkedin.is-style-inverse .wp-block-social-link-anchor > svg {
	display: none;
}
.wp-social-link:hover {
	color: var(--wp--preset--color--orange) !important;
}
.wp-social-link:hover a[title]::after {
	content: attr(title);
	line-height: 1.2;
	font-size: 12px;
	width: 150px;
	padding: 5px;
	position: absolute;
	bottom: -20px;
	left: 0;
}

footer.wp-block-template-part .wp-social-link {
	margin-right: 30px;
}

/* breadcrumbs */
header .yoast-breadcrumbs {
	font-size: 16px;
	margin: 1em 10px;
	color: var(--wp--preset--color--dark-grey);
}
@media (min-width: 781px) {
	header .yoast-breadcrumbs {
		margin: 1em 30px;
	}
}
@media (min-width: 1500px) {
	header .yoast-breadcrumbs {
		margin-left: auto;
		margin-right: auto;
	}
}

.rtl header .yoast-breadcrumbs,
.rtl header .yoast-breadcrumbs > span {
	display: flex;
}
.rtl header .yoast-breadcrumbs > a {
	margin-left: .3em;
}
.rtl header .yoast-breadcrumbs span {
	margin: 0 0.3em;
}
.rtl header .yoast-breadcrumbs > span {
	margin: 0;
}

header .yoast-breadcrumbs a {
	color: black;
}

/* main content */
.page h1.wp-block-post-title,
.single h1.wp-block-post-title,
.blog h1.wp-block-query-title,
.archive h1.wp-block-query-title,
.error404 h1.wp-block-query-title,
.page-template-network-index h1.wp-block-query-title {
	margin-top: 2em;
	margin-bottom: 1em;
	display: inline-block;
}
.page h1.wp-block-post-title:after,
.single h1.wp-block-post-title:after,
.blog h1.wp-block-query-title:after,
.archive h1.wp-block-query-title:after,
.error404 h1.wp-block-query-title:after,
.page-template-network-index h1.wp-block-query-title:after {
	content: '';
	display: block;
	height: 10px;
	width: 50%;
	max-width: 100%;
	background: var(--wp--preset--color--program);
	margin-top: .5em;
}

.home h1.wp-block-post-title,
.archive.tax-project h1.wp-block-query-title {
	color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--program);
	padding: 25px 30px;
	display: block;
}
@media (max-width: 600px) {
	.home h1.wp-block-post-title,
	.archive.tax-project h1.wp-block-query-title {
		font-size: 24px;
		text-align: center;
		padding-bottom: 110px;
	}
}
.home h1.wp-block-post-title:after,
.archive.tax-project h1.wp-block-query-title:after {
	display: none;
}

.archive.tax-project .wp-block-term-description {
	max-width: 1100px;
}

.single .wp-block-post-content > p,
.single .wp-block-post-content > ul {
	font-size: 16px;
	line-height: 1.875;
}

.page .wp-block-post-content > p,
.page .wp-block-post-content > ul,
.archive main p {
	line-height: 1.875;
}

.single .wp-block-post-content > ul > li::marker,
.page .wp-block-post-content > ul > li::marker {
	color: var(--wp--preset--color--orange);
}

.single main .wp-block-post-terms > a {
	padding: 12px 10px;
	display: inline-block;
	text-decoration: none;
}
.single main .wp-block-post-terms > a + .wp-block-post-terms__separator {
	display: none;
}
.single main .wp-block-post-terms > a:hover {
	text-decoration: underline;
}
.single main .wp-block-post-featured-image {
	margin-bottom: 0;
}

.single .back-to-top:before {
	content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path fill='currentColor' d='M11 18V8.8L7.4 12.4L6 11L12 5L18 11L16.6 12.4L13 8.8V18H11Z'/></svg>");
	display: inline-block;
	vertical-align: middle;
	padding-right: 10px;
}

.wp-block-post-terms.taxonomy-region > a:before {
	content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20'><path fill='%237E7E7E' d='M10.0013 18.3333C8.84852 18.3333 7.76519 18.1146 6.7513 17.6771C5.73741 17.2396 4.85547 16.6458 4.10547 15.8958C3.35547 15.1458 2.76172 14.2639 2.32422 13.25C1.88672 12.2361 1.66797 11.1528 1.66797 9.99999C1.66797 8.84721 1.88672 7.76388 2.32422 6.74999C2.76172 5.7361 3.35547 4.85416 4.10547 4.10416C4.85547 3.35416 5.73741 2.76041 6.7513 2.32291C7.76519 1.88541 8.84852 1.66666 10.0013 1.66666C11.1541 1.66666 12.2374 1.88541 13.2513 2.32291C14.2652 2.76041 15.1471 3.35416 15.8971 4.10416C16.6471 4.85416 17.2409 5.7361 17.6784 6.74999C18.1159 7.76388 18.3346 8.84721 18.3346 9.99999C18.3346 11.1528 18.1159 12.2361 17.6784 13.25C17.2409 14.2639 16.6471 15.1458 15.8971 15.8958C15.1471 16.6458 14.2652 17.2396 13.2513 17.6771C12.2374 18.1146 11.1541 18.3333 10.0013 18.3333ZM9.16797 16.625V15C8.70963 15 8.31727 14.8368 7.99088 14.5104C7.6645 14.184 7.5013 13.7917 7.5013 13.3333V12.5L3.5013 8.49999C3.45964 8.74999 3.42144 8.99999 3.38672 9.24999C3.352 9.49999 3.33464 9.74999 3.33464 9.99999C3.33464 11.6805 3.88672 13.1528 4.99088 14.4167C6.09505 15.6805 7.48741 16.4167 9.16797 16.625ZM14.918 14.5C15.1957 14.1944 15.4457 13.8646 15.668 13.5104C15.8902 13.1562 16.0742 12.7882 16.22 12.4062C16.3659 12.0243 16.477 11.6319 16.5534 11.2292C16.6298 10.8264 16.668 10.4167 16.668 9.99999C16.668 8.63888 16.2895 7.39582 15.5326 6.27082C14.7756 5.14582 13.7652 4.33332 12.5013 3.83332V4.16666C12.5013 4.62499 12.3381 5.01735 12.0117 5.34374C11.6853 5.67013 11.293 5.83332 10.8346 5.83332H9.16797V7.49999C9.16797 7.7361 9.08811 7.93402 8.92838 8.09374C8.76866 8.25346 8.57075 8.33332 8.33463 8.33332H6.66797V9.99999H11.668C11.9041 9.99999 12.102 10.0799 12.2617 10.2396C12.4214 10.3993 12.5013 10.5972 12.5013 10.8333V13.3333H13.3346C13.6957 13.3333 14.0221 13.441 14.3138 13.6562C14.6055 13.8715 14.8069 14.1528 14.918 14.5Z'/></svg>");
	display: inline-block;
	height: 18px;
	vertical-align: middle;
	padding: 1px 10px;
}
.wp-block-post-template .wp-block-post-terms.taxonomy-region > a,
.wp-block-post-template .wp-block-post-terms.taxonomy-region > a:before {
	padding-left: 0;
	padding-top: 0;
}

/* cartography template */
.post-template-cartography h1.wp-block-post-title + .wp-block-group + .wp-block-spacer + .wp-block-group {
	border-top: solid 1px;
}

/* author page */
.author main .avatar {
	float: left;
	margin: 0 20px 20px 0;
}
.author main .wp-block-spacer {
	clear: both;
}

.is-content-justification-center {
	justify-content: center;
}

/* admin bar */
@media (max-width: 600px) {
	#wpadminbar #wp-admin-bar-my-account > .ab-item {
		width: 39px;
	}
	#wpadminbar {
		z-index: 999999;
	}
}

