/* Ce fichier contient les CSS pour */
/* – Typographie / hiérarchie */
/* – Liens et CTA */
/* – Couleurs etc. */
/* – Helper classes Infofauna */
/* – Mise en forme des contenus (paragraphes et composants) */

:root {
	--if-bleu: #034D7C;
	--if-bleu-vif: #0074e8;
	--if-bleu-pale: #e3f3fc;
}

/*  #region TYPOGRAPHY */

.font2,
h1,
h2,
h3,
h4,
h5,
h6,
.viewsreference--view-title {
	font-weight: 300;
	clear: both;
	color: #262626;
}

.bg-neg h1,
.bg-neg h2,
.bg-neg h3,
.bg-neg h4,
.bg-neg h5,
.bg-neg h6,
.bg-neg>.if-box h3,
.bg-neg>.if-box,
.bg-neg .viewsreference--view-title {
	color: #FFF;
}

p {
	clear: both;
	overflow: hidden;
}

h1 {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.service-conseil h1 {
	margin-bottom: 3rem;
}

h2,
.viewsreference--view-title {
	font-size: 2.35rem;
	margin-top: 0;
	margin-bottom: 3.5rem;
}

h3,
.main-content table caption {
	font-size: 1.375rem;
	font-weight: 400;
}

h4 {
	font-size: 1.1rem;
	font-weight: 400;
}

h5 {
	font-size: 0.875rem;
	text-transform: uppercase;
}

p,
.if-content-mw,
.node ul,
.node ol,
.paragraph ul,
.paragraph ol {
	max-width: 60rem;
}

hr {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	border-top: 1px solid var(--if-bleu);
	clear: both;
}

p.grid {
	display: flex;
	flex-flow: row wrap;
	width: 100%;
}

p.grid>.btn {
	flex: 0 1 15%;
	max-width: 15%;
	text-align: center;
}

span.small {
	line-height: 1.2;
}

.clear {
	clear: both;
	overflow: hidden;
}

@media (max-width: 800px) {
	p.grid>.btn {
		flex: 0 1 20%;
		max-width: 20%;
		padding: 1rem 0;
	}
}

@media (max-width: 576px) {
	p.grid>.btn {
		flex: 1 1 25%;
		max-width: 25%;
		padding: 1rem 0;
	}
}

.field__label,
figcaption {
	font-size: .8rem;
	font-weight: 700;
}

.field-label-inline {
	display: inline-block;
}

/* listes contenu */
.text-formatted ul,
.text-formatted ol {
	margin: 1.5rem;
}

ol {
	list-style-type: decimal !important;
}

ol ol {
	list-style-type: lower-latin !important;
}

ol ol ol {
	list-style-type: lower-roman !important;
}

.text-formatted li {
	margin-bottom: .5rem;
}

.if-20px {
	font-size: 1.25rem;
}

.lead,
p.lead {
	font-size: 1.375rem;
	font-weight: 300;
}

.lh-s,
p.lh-s {
	line-height: 1.1;
}

.attention,
blockquote {
	padding: 1rem;
	border: 1px solid #333;
	box-shadow: 0 2px 5px #00000029;
	border-radius: .25rem;
	display: inline-block;
}

.split-parent {
	overflow: hidden;
	line-height: 1.1;
}

small,
.small,
p.small {
	font-size: 80%;
	line-height: 1.2;
}

h3.small {
	font-size: 1rem;
}

.weight-medium {
	font-weight: 500;
}

.uppercase {
	text-transform: uppercase;
	letter-spacing: .15rem;
}

/* citation */


/*  #endregion */

/*  #region LINKS & BTN */

/*  #region LINKS a */

a,
.link,
a.page-link {
	color: var(--if-bleu);
	text-decoration: none;
	transition: all .2s ease-in-out 0s;
}

a:hover,
a:focus,
a.active,
a.is-active,
a.page-link:hover,
.page-item.is-active .page-link,
span.page-link,
.link:hover,
.link:focus {
	color: #333;
	text-decoration: none;
	color: #0074e8;
}

a[href^="mailto"] {
	display: inline-block;
	text-overflow: ellipsis;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	vertical-align: top;
}

/* nav ---- */
.nav-link {
	color: #333;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active,
.nav-link.is-active {
	color: var(--if-bleu);
	/*color: #0074e8;*/
}

/* bg-neg links ------------- */
.bg-neg a,
.bg-neg .link,
.bg-neg .page-link {
	color: #ddd;
}

.bg-neg a:hover,
.bg-neg a:focus,
.bg-neg>.if-box a:hover,
.bg-neg>.if-box a:focus,
.bg-neg a.active,
.bg-neg a.is-active,
.bg-neg a.page-link:hover,
.bg-neg .page-item.is-active .page-link,
.bg-neg .link:hover,
.bg-neg .link:focus {
	color: #fafafa;
}

/* nav ---- */
.bg-neg .nav-link {
	color: #ddd;
}

.bg-neg .nav-link:hover,
.bg-neg .nav-link:focus,
.bg-neg .nav-link.active,
.bg-neg .nav-link.is-active {
	color: #fafafa;
}

/*  #endregion */

/*  #region BTN + CTA */

.btn,
.text-formatted .btn,
.cta a,
.button {
	display: inline-block;
	width: auto;
	text-align: center;
	line-height: 1.2;
	padding: 1rem 2.5em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 3em;
	border: 0;
	color: #fafafa;
	background-color: var(--if-bleu);
	font-size: 1rem;
	font-weight: 300;
	letter-spacing: 0.85px;
	white-space: nowrap;
	transition: .6s;
	margin-right: 1rem;
	margin-bottom: 1rem;
}

.btn:hover,
.text-formatted .btn:hover,
.cta a:hover,
#page .btn:active,
.button:hover {
	color: #FFF;
	text-decoration: none;
	background: #0074e8;
}

.btn-clair,
.btn-clair-wrapper>a.btn {
	background-color: var(--if-bleu-pale);
	color: var(--if-bleu) !important;
}

.btn-clair:hover,
.btn-clair-wrapper>a.btn:hover {
	background-color: var(--if-bleu);
	color: #FFF !important;
}

.btn-compact {
	padding-top: .5rem;
	padding-bottom: .5rem;
	padding-left: 1rem;
	padding-right: 1rem;
}

.btn-compact.btn-icon {
	padding-left: 2.5rem;
}

.btn-compact.btn-icon::before {
	left: .75rem;
	top: auto;
	font-size: 1.25rem;
	line-height: 1.15rem;
}

/* icon buttons */
.btn-icon {
	padding-left: 3.5rem;
	position: relative;
}

.btn-icon::before {
	font-size: 24px;
	line-height: 1rem;
	position: absolute;
	left: 1.5rem;
	top: 1.25rem;
}

/* bg-neg cta */
.bg-neg .btn,
.bg-neg .cta a,
.bg-neg .more-link a,
.bg-neg .node-readmore a,
.bg-neg .p-edit-link a,
.bg-neg .node-readmore a,
.bg-neg .button {
	border-color: #fafafa;
	background-color: #fafafa;
	color: var(--if-bleu);
}

.bg-neg .btn:hover,
.bg-neg .cta a:hover,
.bg-neg .more-link a:hover,
.bg-neg .node-readmore a:hover,
.bg-neg .p-edit-link a:hover,
.bg-neg .node-readmore a:hover,
.bg-neg .button:hover {
	color: #fafafa;
	background: #333;
	border-color: #333;
}

.node-readmore {
	padding: 0;
}

/* edit link */
.p-edit-link {
	margin: .5em 0;
}

.p-edit-link a {
	padding: .5em 1em;
	letter-spacing: .2em;
	font-size: 12px;
}

/*  #endregion */

/*  #region ICON BUTTONS */

/*  #region Icon font */

a[href^="#"] {
	display: inline-flex;
}

[class*="icon-"]:before,
/*[class*="icon-"]:before,*/
.views-ef-fieldset-root>details summary::after,
.btn-icon::before,
.btn-icon::after,
.round-icon::before,
[class^="wrap-icon-"]>a::before,
ul.nav a::after,
.if-main-nav ul ul .menu-item--expanded>a::after,
.if-sc-nav-small ul ul .menu-item--expanded>a::after,
.if-main-nav ul.menu a::after,
.if-sc-nav-small ul.menu .nav-link::after,
.if-arrow-link::after,
.wrap-icon-out a::before,
.nav-parent-link::before,
a[href^="mailto"]::before,
a[href^="tel"]::before,
a[href^="#"]::before {
	font-family: "infofauna" !important;
	font-style: normal !important;
	font-weight: normal !important;
	font-variant: normal !important;
	text-transform: none !important;
	speak: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin-right: .5rem;

}

a.btn-icon::before {
	top: auto;
}

[class^="icon-"]::before,
[class^="wrap-icon-"]>a::before {
	position: relative;
	font-size: 1.2rem;
	top: .15rem;
}

.icon-after::before {
	float: right;
}

.icon-home::before {
	content: "\68";
}

.icon-out::before,
.wrap-icon-out a::before {
	content: "\6f";
}
.small .icon-out::before,
.small .wrap-icon-out a::before  {
	margin-right: 0;
    margin-left: .15em;
    line-height: 1;
}
.icon-info::before,
.icon-reference::before {
	content: "\49";
}


.icon-arrow-e::before,
.wrap-icon-arrow-e>a::before,
.icon-arrow-s::after,
.wrap-icon-arrow-s>a::after {
	content: "\45";
}

.icon-arrow-s::after,
.wrap-icon-arrow-s>a::after {
	transform: rotate(90deg);
}

.icon-chevron-e::before {
	content: "\65";
}

.icon-search:before {
	content: "\66";
}

.icon-ok:before {
	content: "\76";
}

a[href^="mailto"]::before,
.icon-mail:before,
.wrap-icon-mail>a::before {
	content: "\40";
}

.icon-phone::before,
.wrap-icon-phone>a::before,
a[href^="tel"] {
	content: "\70";
}

.icon-people::before {
	content: "\75";
}

.icon-close::before {
	content: "\78";
}

.icon-edit::before {
	content: "\6c";
}

.icon-smartphone::before,
.wrap-icon-smartphone>a::before {
	content: "\6d";
}

.icon-pause::before {
	content: "\22";
}

.icon-play::before {
	content: "\50";
}

.icon-volume::before {
	content: "\56";
}

.icon-download::before {
	content: "\64";
}

.icon-arrow-w::before,
.wrap-icon-arrow-w>a::before {
	content: "\57";
}

.icon-chevron-w::before {
	content: "\77";
}

a[href^="#"]::before,
.icon-chevron-s::before,
.views-ef-fieldset-root>details summary[aria-expanded="false"]::after {
	content: "\73";
}

.icon-chevron-n::before,
.views-ef-fieldset-root>details summary[aria-expanded="true"]::after {
	content: "\6e";
}

/*  #endregion */

.round-icon {
	display: flex;
	align-items: center;

}

.icon-align-top {
	align-items: flex-start;
}

.icon-align-top .pub-title-wrapper {
	line-height: 1.5rem;
	display: flex;
	align-items: baseline;
}

.pub-title-wrapper span p {
	margin-bottom: 0;
	display: inline;
}

.pub-title {
	font-weight: 500;
}

.weight-medium a::before {}

.round-icon:before {
	background: var(--if-bleu);
	width: 2.65rem;
	height: 2.65rem;
	font-size: 1.5rem;
	line-height: 3rem;
	border-radius: 5rem;
	color: #fafafa;
	text-align: center;
	margin-right: 2rem;
	display: block;
	flex-shrink: 0;
}

.round-icon-xs {
	position: relative;
}

.round-icon-xs::before {
	width: 1.15rem;
	height: 1.15rem;
	font-size: .925rem;
	line-height: 1.38rem;
	position: absolute;
	left: 0;
}

.round-icon-xs>* {
	display: inline-block;
	padding-left: 1.5rem;
}

.p-btn span,
.p-btn::before,
.p-btn::after {
	background: var(--if-bleu);
}

/* bg neg */
.bg-neg .p-btn-bg {
	background-color: var(--if-bleu);
}

/* Flèches (espèces)   */
.if-arrow-link {
	position: relative;
	padding-right: 2rem;
	margin-bottom: .25rem;
}

a:hover .if-arrow-link {
	color: var(--if-bleu);
}

.if-arrow-link::after {
	content: '\65';
	font-size: 1.5rem;
	line-height: 1.5rem;
	position: absolute;
	opacity: 0;
	right: 1rem;
	top: 1rem;

	transition: all .25s ease-out 0s;
}

.if-out-wrapper .if-arrow-link::after {
	content: '\6f';
}

.if-arrow-link:hover::after,
.if-box:hover .if-arrow-link::after {
	right: 0rem;
	opacity: 1;
}


/*  #endregion */

/*  #region SOCIAL */

.social-link a {
	display: inline-block;
	width: 45px;
	height: 45px;
	margin-right: 9px;
	margin-top: 5px;
	overflow: hidden;
	background: url('img/sn-ext.svg') no-repeat center center;
	background-size: 33%;
	color: #fafafa;
	text-indent: -1300px;
	font-size: 10px;
	border: 2px solid #FFF;
	border-radius: 60px;
}


.social-link a[href*="linkedin.com/"] {
	background-image: url('img/sn-in.svg');
	background-size: 50%;
}

.social-link a[href^="https://www.facebook.com/"] {
	background-image: url('img/sn-fb.svg');
}

.social-link a[href^="https://www.instagram.com/"] {
	background-image: url('img/sn-insta.svg');
}

/*  #endregion */

/*  #endregion */

/*  #endregion */
.unpublished::after {
	content: '⚠ non publié / unveröffentlicht / inedito';
	position: fixed;
	bottom: 0;
	left: 0px;
	right: 0;
	width: 100%;
	background-color: #e86457;

	font-weight: normal;
	color: #FFF;
	text-transform: uppercase;

	padding: .5rem 0 .75rem 100px;
	box-shadow: 0px 0px 5px #444;
	z-index: 2;
}

/*  #region HELPERS Infofauna */
/* col xxl > 1366 */
@media (min-width: 2400px) {
	.col-xxl-3 {
		max-width: 16.66% !important;
		flex: 0 1 16.66% !important;
	}
}

/* @media (min-width: 1366px) {
	.col-xxl {
		max-width: 25% !important;
		flex: 0 1 25% !important;
	}
} */

/* . 5 colonnes */

@media (min-width: 1200px) {
	.col-512 {
		max-width: 20%;
		flex: 0 1 20%;
	}
}

@media (max-width: 1199.9px) {
	.col-512 {
		max-width: 25%;
		flex: 0 1 25%;
	}
}

@media (max-width: 768px) {
	.col-512 {
		max-width: 33.33%;
		flex: 0 1 33.33%;
	}
}

@media (max-width: 578px) {
	.col-512 {
		max-width: 50%;
		flex: 0 1 50%;
	}
}


.if-image-small {
	max-width: 400px;
	width: 100%;
}

.if-image-default {
	width: 100%;
	max-height: none;

}

.vignette-longue {}

.vignette-longue img {
	margin: 0;
}

.p-relative {
	position: relative;
}

.p-absolute {
	position: absolute !important;
}

.overflow {
	overflow: hidden;
}

.overflow-visible {
	overflow: visible;
}

.parent-cover {}

.parent-cover img {
	width: 100%;
	object-fit: cover;
	object-position: center;
}

.parent-contain img {
	width: auto;
	height: auto;
	max-height: 80vh !important;
	object-fit: contain;
	object-position: left;
}

a.if-back {
	cursor: pointer;
}

.if-no-margin * {
	margin: 0 !important;
}

.border-thick {
	border-top: 6px solid var(--if-bleu);
}




/*  #region Cadre blanc (.if-box) & sans ombre (.if-box-flat) */

.if-box,
.if-box-flat,
figure {
	display: block;
	border-radius: 5px;
	box-shadow: 0px 2px 5px #0000004d;
	overflow: hidden;
	background-color: #FFF;
	height: 100%;
}

a.if-box {
	height: 100%;
}

.if-box-flat {
	box-shadow: none;
}

.bg-blanc .if-box {
	background-color: #FAFAFA;
}

.if-box h3,
.if-box,
.if-box:hover {
	color: #262626;
	line-height: 1.25;
}

.round-img img {
	border-radius: 5px;
	overflow: hidden;
}

/* Override img-fluid pour très grands écrans */
.if-box img,
.if-box-flat img,
.node .if-box img,
.node .if-box-flat img {
	width: 100% !important;
	max-width: none !important;
	display: block;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

/*  #endregion */

/*  #region Listes soulignées (publications et liens) */

.if-items {}

.if-item:first-child {
	border-top: 1px solid #d7d7d7;
}

.max-width-wrapper .if-item:first-child {
	border-top: 0;
}

.if-item,
.embedded-entity {
	padding: 1rem 0;
	border-bottom: 1px solid #d7d7d7;
	width: 100%;
	max-width: 60rem;
}

.embedded-entity {
	margin: 1rem 0;
	border-bottom: 1px solid #d7d7d7;
}

.embedded-entity+.embedded-entity {
	padding-top: 0;
}

div[data-entity-embed-display="view_mode:node.lien_vers_publication"] {
	border: 0;
	padding: 0;
}

td div[data-entity-embed-display="view_mode:node.lien_vers_publication"] {
	margin: 0 0 .33rem;

}

.if-item a {
	font-weight: 500;
	color: #262626;
}

.if-item a:hover {
	color: #0074e8;
}



.if-item p {
	margin: 0 0 .25rem;
	/*margin: 0;*/
}

.if-file-data {
	margin-left: .5rem;
}

.if-trim {
	max-height: 3.1rem;
	/* 2 lignes + petite marge */
	position: relative;
	overflow: hidden;
	margin-bottom: 0;

	transition: all 1s ease-in-out 0s;
}

.if-trim p {
	margin: 0;
}

.if-trim.if-untrimmed {
	max-height: 50rem;
}

.if-untrim {
	display: block;
	/*display: inline-block;
	border: 1px solid #AAA;
	padding: .1rem .5rem;
	border-radius: 1rem;*/
	background: none;
	cursor: pointer;
	height: 1rem;
	line-height: 0;
}

/* Ancres et menus ancres */
.if-anchor {
	height: 0;
	overflow: hidden;
}

.anchor-url-wrapper {
	right: 1rem;
	margin-top: -1rem;
}

.if-copy-link-wrapper {
	position: relative;
	margin-bottom: 1rem;
	text-align: right;
}



.paragraph--type-accordeon .if-copy-link-wrapper {}

.paragraph--type-accordeon .if-copy-link {}

.if-feedback {
	margin-right: 1rem;
	display: none;
	font-size: 12px;
	color: #9cce75;
}

button.if-copy-link {
	font-size: 12px;
	padding: .25rem .75rem;
	background: rgba(255, 255, 255, .5);
	border: 1px solid #EEE;
	border-radius: .33rem;
}

.user-logged-in .if-copy-link-wrapper.copy-public button.if-copy-link {
	background: rgba(200, 0, 0, .2);
}

.user-logged-in .if-copy-link-wrapper.copy-public::before {
	content: '⚠️';
	color: darkred;
	display: inline-block;
	margin: 0 1rem 0 0;
}

/*  #endregion */

/*  #region BADGES */

/* Badge catégorie */

.if-badge {
	display: inline-block;
	margin-left: auto;
	padding: .25rem .75rem;
	border-radius: 2rem;
	font-size: 13px;
	color: #FFF;
}

.if-badge-49 {
	background: #d7d7d7 !important;
	color: #666;
}

/* Badges news */

.if-badge.p-absolute {
	top: 1rem;
	right: 1rem;
}

/*  #endregion */

/*  #endregion */

/*  #region FRONT */

.block-content--type-bloc-bg-image {
	position: relative;
}

.block-content--type-bloc-bg-image .p-title-wrapper {
	bottom: 1rem;
}

.service-conseil .p-title-wrapper {
	bottom: 7vh;
	bottom: 4vh;
}

.service-conseil .p-title-wrapper a.field-group-link {
	color: #FFF;
	opacity: 1;
	display: block;
}

.service-conseil .p-title-wrapper a.field-group-link:hover {
	opacity: .9 !important;
}

.front-title {
	font-weight: 700;
	margin-bottom: .2rem;
	font-size: 4rem;
	color: #FFF;
}


.path-frontpage h2 {
	font-size: 3rem;
	text-align: center;
	max-width: 50rem;
	margin-left: auto;
	margin-right: auto;
}

.front-slogan {
	font-weight: 500;
	font-size: 2rem;
	line-height: 1.15;
}

/*  #endregion */

.simple-title-wrapper {
	margin-top: 10vh;
}

.simple-title-wrapper h1 {
	margin-bottom: 3rem;
}

/*  #region Structure MISC */

/* batch page */
.path-batch {
	min-height: 100%;
	background-color: #fafafa;
}
.path-batch .progress {
	background-color: var(--if-bleu-pale);
	width: 100%;
	display: block;
}
.path-batch .progress__track {
	background-color: var(--if-bleu-pale);
	margin: 0;
}
.path-batch .progress__bar {
	background-color: var(--if-bleu-vif);
	margin: 0;
}
.path-batch .progress__description {
	display: none;
}
.path-batch .main-content {
	margin-top: 40vh;
}
/* Espace avant footer */
.comment-faire {
	padding-bottom: 6rem;
}

.paragraph {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.node--type-page .paragraph {
	padding-top: 6rem;
	padding-bottom: 6rem;
}

.node--type-page .paragraph.bg-blanc:first-child {
	padding-top: 0;
}

.page-sections {
	margin-top: 2rem;
}

.page-sections>div:last-child,
.max-width-wrapper {
	padding-bottom: 12rem !important;
}

.page-sections>div:first-child {
	padding-bottom: 4rem !important;
}

.node-41 .page-sections>div:first-child {
	padding-bottom: 1rem !important;
}

.max-width-wrapper .view-content {
	padding-bottom: 2rem;
	padding-top: 2rem;
}

.views-row-inner {
	height: 100%;
	width: 100%;
}

/*  #endregion */



/* CKeditor iframe */
.paragraph iframe {
	width: 100%;

	border-radius: 5px;
	border: 0 !important;

}

.if-iframe-wrapper iframe {
	min-height: 80vh;
}

.node iframe.if-leaflet-container,
.node iframe[src*="leaflets.infofauna"] {
	overflow: hidden !important;
	border: 1px solid #CCC;
}


/* CKeditor Vidéos */

.embedded-if-video-wrapper,
.if-video-wrapper {
	width: 100%;
	max-width: 45rem;
	margin-left: 0;
	border-radius: 5px;
	overflow: hidden;
	margin: 3rem 0;
}

.embedded-if-video {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-bottom: 56.25%;
	/* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
	display: block;
}

.if-video {
	width: 100% !important;
	height: auto !important;

}

.if-video video {
	border-radius: 5px 5px 0 0;
	overflow: hidden;
}

.embedded-if-video .if-caption {
	margin-top: 56.25%;
}

/* Then style the iframe to fit in the container div with full height and width */
.media-oembed-content {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}

.if-video video {
	width: 100%;
	height: auto;
}

/* CKeditor img */
figure {}

.node figure {
	max-width: 45rem;
}

.node img {
	border-radius: 5px;
	height: auto !important;
}

.node figure img {
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 5px;
}

figure figcaption {
	color: #666;
	font-weight: normal;
}

/* Galeries */
figure figcaption,
.if-caption {
	background-color: #EBEBEB;
	padding: .5rem 1rem;
	font-size: .8125rem;
	/* 13px */
	line-height: 1.125rem
		/* 18px */
	;
}

.bg-teinte .figure figcation,
.bg-teinte .if-caption {
	background-color: #FFF;
}

.swiper-line,
.swiper-line-3 {
	padding: 1rem 0;
}


/* Diapo Views */
.swiper-views {
	overflow: hidden;
	/* Box-shadow hack */
	margin-left: -.5rem;
	margin-right: -.5rem;
}

.swiper-views .if-box {
	margin: .5rem;
	/* Box-shadow hack */
}

.if-thumb-rectangle img {
	max-height: 200px;
	max-height: calc(1160px / 3 * 0.55);
}

/* Vue actualités / projets */
.paragraph .node--type-activite.node--view-mode-teaser,
.paragraph .node--type-groupe-faunistique.node--view-mode-teaser,
.paragraph .node--type-espece.node--view-mode-teaser {
	max-width: 640px;
	padding: 0;
	position: relative;
}

.node--type-activite.node--view-mode-teaser {
	position: relative
}

.node--type-activite.node--view-mode-teaser .if-badge.p-absolute {
	position: absolute !important;
	z-index: 1;
	margin: 0;
}

.node--type-activite.node--view-mode-teaser .if-image-longue+div .if-badge.p-absolute {
	position: absolute !important;
	margin: 0;
}

.actu-teaser .media .contextual,
.activite-teaser .media .contextual {
	display: none !important;
}

.actu-teaser>.contextual,
.activite-teaser>.contextual {
	position: absolute;
	z-index: 50;
}

/*  #region TABLEAUX */

.main-content table {
	background-color: #FAFAFA;
	/* overflow: hidden; */
	border: 0;
	caption-side: top;
	vertical-align: top;
}

.ck table img,
.main-content table img {
	max-width: 240px;
}

.ck table caption,
.main-content table caption {
	font-weight: 300;
	color: #262626;
}

.ck table thead th:first-child,
.main-content table thead th:first-child {
	border-top-left-radius: .75rem;
}

.ck table thead th:last-child,
.main-content table thead th:last-child {
	border-top-right-radius: .75rem;
}

.main-content thead a {
	color: #333 !important;
}

.main-content thead a:hover {
	text-decoration: underline;
}

.ck thead th,
.main-content thead th {
	color: #FFF;
	text-transform: uppercase;
	font-weight: 200;
	font-size: .75rem;
	white-space: nowrap;
	vertical-align: top;
}

.main-content table th,
.main-content table td {
	padding: .5rem 1rem;
	vertical-align: top;
}

.main-content table tbody th {

	border-bottom-width: 1px;
	border-bottom-color: #ebebeb;
}

.main-content table td,
.main-content table tbody th {
	border-bottom: 1px solid #ebebeb;
	border-right: 1px solid #ebebeb;
	font-size: .825rem;
	color: #262626;
}

.main-content table td:last-child {}

.if-table-wrapper td a {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgba(3, 77, 124, .25);
}


.if-table-wrapper {
	width: 100%;
	overflow: auto;
	max-height: 85vh;
	position: relative;
	--table-overflow-wrapper-color: rgba(0, 0, 0, .3);
}




.if-table-wrapper.overflow-w {
	box-shadow: inset 10px 0px 15px -10px rgba(0, 0, 0, .5);
	/* border-left: 2px solid var(--table-overflow-wrapper-color); */
}

.if-table-wrapper.overflow-e {
	box-shadow: inset -10px 0px 15px -10px rgba(0, 0, 0, .5);
	/* border-right: 2px solid var(--table-overflow-wrapper-color); */
}

.if-table-wrapper.overflow-s {
	/* box-shadow: inset 0px -10px 10px -10px rgba(0, 0, 0, .3); */
	border-bottom: 1px solid var(--table-overflow-wrapper-color);
}

.if-table-wrapper.overflow-n {
	/* box-shadow: inset 0px -15px -15px -15px rgba(0, 0, 0, .3); */
	border-top: 1px solid var(--table-overflow-wrapper-color);
}



.if-table-wrapper>table {
	mix-blend-mode: multiply;
}

.if-table-wrapper.overflow-w {}

.main-content table.sticky-header {}

.main-content table.sticky-header thead {}

.if-table-wrapper table {}

.ck td.statut-cr,
.main-content table td.statut-cr {
	background-color: #e46054;
	border-right: 0;
}

.ck td.statut-en,
.main-content table td.statut-en {
	background-color: #f98a3c;
	border-right: 0;
}

.ck td.statut-vu,
.main-content table td.statut-vu {
	background-color: #ffe949;
	border-right: 0;
}

.ck td.statut-nt,
.main-content table td.statut-nt {
	background-color: #a2c500;
	border-right: 0;
}

.ck td.statut-lc,
.main-content table td.statut-lc {
	background-color: #04955f;
	color: #FFF !important;
	border-right: 0;
}

/*  #endregion */

/*  #region Liste d'espèces avec vignettes */

.espece-item {
	display: flex;
}

.espece-item .if-box {
	height: 100%;
}

/*  #endregion */

/* #region FEU ROUGE DEV / PROD */
.bloc-warning-prod {
	position: relative;
	position: fixed;
	z-index: 100;
	bottom: 3rem;
	right: 2rem;
	width: 340px;
}

.bloc-warning-prod .statut-prod {
	margin: 1rem;
	font-size: 2rem;
	width: 100%;
	height: auto;
	border-radius: 0;

	/*display: flex;
	flex-direction: row;
	align-items: center;*/
}

.bloc-warning-prod .statut-prod .emoji {
	float: left;
	display: block;
	margin-right: 10px;
}

.bloc-warning-prod .statut-prod p {
	font-size: .7rem;
	text-transform: uppercase;
	margin: 10px;
	line-height: 1.1;
}

.bloc-warning-prod .views-row-inner>div>div {
	display: flex;
}

.bloc-warning-prod .views-row-inner {
	height: auto;
	padding: 1rem;
}

.bloc-warning-prod .statut-prod a {
	position: absolute;
	bottom: .5rem;
	right: 1rem;

	color: #666;
}

.bloc-warning-prod .statut-vert {
	background-color: #ecf5e3;
	color: #04b904;
	border: 2px solid #04b904;
}

.bloc-warning-prod .statut-rouge {
	background-color: #fce9dc;
	color: #e10707;
	border: 2px solid #e10707;
}

/* #endregion */

/* #region GOOGLE CSE */
.gsce-pub .gsc-control-cse {
	padding: 0;

}

.gsce-pub input.gsc-input {
	padding: .5rem 1rem;
}

.gsce-pub .gsc-control-cse table {
	background: none;
}

.gsce-pub .gsc-control-cse table td {
	border: 0;
	padding: 0;
}

/* .gsc-control-cse table td.gsib_a, */
.gsce-pub .gsc-control-cse .gsc-input-box {
	padding: 1rem 1.5rem;
	border-radius: 3rem;
}

.gsce-pub .gsc-control-cse input {
	height: auto !important;
	color: #666 ! important;
	font-family: 'Inter', Arial, Helvetica, sans-serif;
	font-weight: 200;
	letter-spacing: 0.05em;

}

.gsce-pub .gsc-control-cse .gsc-search-button {
	padding: 1rem;
	border-radius: 3rem;
	background-color: ;
}

/* #endregion */

/* #region NEWSLETTER */
form.inf-form {
	max-width: 50rem;
}

.inf-input-text {
	margin-bottom: 1rem;
}

.inf-input-text input {
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.5;
	color: #212529;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #DDD;
	display: block;
	width: 100%;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 0.25rem;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* #endregion Newsletter */
/* #region SPECIES TABLE and VIEWS */
/* page species-search */
.node-3261 .p-pady {
	padding-top: 0;
}

.feed-icons {
	display: flex;
	column-gap: 10px;
	align-items: center;
}

.species-search table th {
	position: relative;
	padding-right: 2rem;
}

/* .species-search table th.views-field-field-nuesp,
.species-search table td.views-field-field-nuesp {
	display: none;
} */

.if-toggle-col {
	position: absolute;
	right: 5px;
	top: 5px;
	border: 0;
	background: none;
}

table .bi-eye-slash {
	display: none;
}

.species-search td {
	transition: all .5s ease;
	max-width: 300px;
}

.if-col-hidden {
	width: 0px;
	max-width: 0px;
	padding-right: 1.25rem !important;
	overflow: hidden;
	text-overflow: ellipsis;
	background-color: ;
}

td.if-col-hidden {
	background-color: #f1f5f9;
}

.if-col-hidden .if-toggle-col {
	right: 2px;
	top: 8px;
}

.if-col-hidden>span {
	display: none;
}

table .if-col-hidden .bi-eye {
	display: none;
}

table .if-col-hidden .bi-eye-slash {
	display: block;
}

#if-species-search {
	padding: .5rem .5rem .5rem 2.5rem;
	border-radius: 1rem;
	border: 1px solid #E9E9E9;
	min-width: 280px;
	max-width: calc(100% - 8rem);
	background: #FFF url('img/search_pos.svg') no-repeat .75rem center;
}

table td p {
	margin: 0;
}

#if-species-search::placeholder {
	color: #AAA;
}

.if-large-input #if-species-search {
	padding: .75rem .75rem .75rem 3rem;
	border-radius: 1.5rem;
	min-width: 450px;
	max-width: calc(100% - 8rem);
	border-color: #034D7C;
	font-size: 1rem;
	font-weight: 300;
}

.entity-pager-list {
	margin: 0 1rem 0 0;
}

.entity-pager-item {
	margin: 0;
}
.main-content table td.views-field-title {
	position: relative;
	/* padding-right: 2.5rem; */
	/* si absolute */
}
.main-content table td.views-field-field-sp-portrait-1 {
	position: relative;
}
.link-portrait {
	width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	vertical-align: center;
	display: block;
	background-color: #0074e8;
	background: #FFF url('img/bestiole_s.svg') no-repeat center center;
	background-size: cover;
	/* text-indent: -600px; */
	overflow: hidden;
	border-radius: 3rem;
	border: 1px solid var(--if-bleu);
} 
.link-portrait img {
	width: 100%;
	overflow: hidden;
	border-radius: 3rem;
}
td.views-field-title a {
display: block;
}

.entity-pager-item a {
	font-family: Arial, Helvetica, sans-serif;
	display: inline-block;
	background-color: var(--if-bleu-pale);
	border-radius: 1rem;
	width: 2rem;
	height: 2rem;
	line-height: 2rem;
}

.entity-pager-item a:hover {
	color: var(--if-bleu-pale);
	background-color: var(--if-bleu);
}

/* #endregion species */
/*  #region BETTER EXP FILTERS */
.bef-exposed-form {
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;

}

.bef-exposed-form legend,
.bef-exposed-form label {
	cursor: pointer;
	margin-bottom: .25rem;
}

.bef-exposed-form .fieldgroup {
	width: 100%;
	overflow: hidden;
}

.bef-exposed-form legend,
.bef-exposed-form label {
	margin-bottom: 1rem;
}

.bef-exposed-form .form-actions {
	margin-bottom: 2rem;
	text-align: right;
	padding-top: .5rem;
	/*border-top: 1px solid #DDD;*/
	width: 100%;
}

.view-if-activites .bef-exposed-form .form-actions {
	margin-left: 15px;
}

.bef-exposed-form .button {
	padding: .75rem 1.5rem;
	background-color: #999;
	font-size: 12px;
}

.bef-exposed-form .fieldgroup>.fieldset-wrapper {}

.bef-exposed-form .radio input,
.bef-exposed-form .checkbox input {
	display: none;
}

#edit-cat label {
	cursor: pointer;
}

.bef-exposed-form .js-form-type-radio,
.bef-exposed-form .js-form-type-checkbox {
	display: inline-block;
	margin-bottom: 1rem;
	padding-left: 0;
	margin-right: .5rem;
	font-size: 13px;
}

/* View activités*/
@media (min-width:1024px) {
	.view-if-activites .bef-exposed-form {
		display: flex;
		flex-flow: row wrap;
	}

	.view-if-activites .bef-exposed-form fieldset {
		flex: 0 1 25%;
		max-width: 25%;
	}

	.view-if-activites .bef-exposed-form fieldset:first-child {
		flex: 0 1 75%;
		max-width: 75%;
	}
}

.view-if-activites .views-row-inner {
	position: relative;
}

.view-if-activites .view-filters,
.view-if-publications .view-filters {
	background-color: #FFF;
}

.if-date-litteraire+div {
	display: none;
}

.max-width-wrapper .view-if-activites .bef-exposed-form fieldset,
.max-width-wrapper h2 {
	padding-left: 15px;
	padding-right: 15px;
}

.view-if-activites .view-content,
.view-if-publications .view-content {
	padding-top: 2rem;
}

.view-if-publications .view-content {
	padding-left: 15px;
	padding-right: 15px;
}

.view-if-publications fieldset[id^="edit-langue"] .fieldset-legend,
.view-if-publications fieldset[id^="edit-langue"] legend {
	line-height: 36px;
	font-weight: 300;
	display: inline-block;
	margin-bottom: 0;
}

.view-if-publications fieldset[id^="edit-langue"]>* {
	/* display: inline-block;
	width: auto;
	margin-right: 1.5rem;
	height: 36px; */
}

/* fond label */
.bef-exposed-form input+label {
	color: var(--if-bleu);
	background: var(--if-bleu-pale);
	padding: .25rem 1.5rem;
	border-radius: 5rem;
}

.bef-exposed-form input:checked+label,
.bef-exposed-form input+label:hover {
	background-color: var(--if-bleu);
	color: #FFF;
}

.bef-exposed-form input:checked+label {
	padding-left: .75rem;
}

.bef-exposed-form input:checked+label::before {
	content: '✓';
	margin-right: .75rem;
}

.bef-exposed-form .form-actions {
	padding-top: .25rem;
	text-align: left;
}

.bef-exposed-form .form-actions input.form-submit
{
	font-size: 1rem;
	padding-left: 3rem;
	background: var(--if-bleu) url(img/search.svg) no-repeat 1rem center;
}
.bef-exposed-form .form-actions a.btn-reset {
	font-size: 1rem;
	color: var(--if-bleu);
	border: 1px solid var(--if-bleu);
}
.bef-exposed-form .form-actions a.btn-reset:hover {
	background-color: var(--if-bleu-pale);
	color: var(--if-bleu) !important;
}
/* Reset */
.bef-exposed-form .form-actions input.form-submit:nth-child(2),
.bef-exposed-form .form-actions .btn-reset {
	background-color: var(--if-bleu-pale);
	color: var(--if-bleu);
	padding-left: 1.5rem;
	margin-bottom: 0;
}

/* Hovers sont dans les COLORS */


.bef--secondary {
	padding-top: 1rem;
	padding-bottom: 1rem;
	width: 100%;
}

.view-if-activites .bef--secondary summary {
	margin-left: 1rem;
}

.bef--secondary summary,
.bef-exposed-form legend .fieldset-legend,
.bef-exposed-form label {
	font-size: 1rem;
	list-style: none;
	outline: none;
	margin-bottom: .5rem;
	font-weight: 500;
}

.bef--secondary summary::-webkit-details-marker {
	display: none !important;
}


.bef--secondary summary {
	display: inline-block;
	border: 1px solid var(--if-bleu);
	color: var(--if-bleu);
	border-radius: 50px;
	padding: .25rem 1rem;
}

.bef--secondary summary::after {
	content: '\23F7';
	margin-left: 1rem;
}

.bef--secondary fieldset {
	padding-right: .5rem;
}

.bef--secondary fieldset.form-type-select {
	max-width: 50%;
}

.view-if-publications .bef--secondary fieldset.form-type-select {
	padding-right: .5rem;
	max-width: 25%;
	box-sizing: border-box;
	display: inline-block;
}

#views-exposed-form-if-publications-publications-all {
	display: inline-block;
}

.form-item-combine input {
	border-radius: 50px;
	padding: .66rem 1rem;
	max-width: 500px;
}

.form-item-combine input.form-control:focus {
	box-shadow: none;
	border-color: #888;
}

.form-item-combine input::placeholder {
	color: #999;
	font-weight: 300;
}

/* Boutons d'action */

/* #region CHOSEN */
.chosen-container-multi .chosen-choices {
	border: 0;
	outline: none;
	box-shadow: none;
	background: #FFF;
}

.chosen-container-multi .chosen-choices li.search-choice {
	background: #FAFAFA;
	box-shadow: none;
	border: 1px solid #CCC;
	border-radius: .5rem;
	font-size: .875rem;
	color: #444;
	font-weight: 300;

}

.chosen-container-multi .chosen-choices li.search-choice span {
	display: block;
	overflow: hidden;
	max-width: 100%;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* #endregion */


/* #region FACETS */

/* #region STRUCTURE */
.view-species-facets {
	& .view-filters {
		background-color: var(--if-bleu-pale);
		padding-top: 3rem;
		padding-bottom: 3rem;
	}


	& .fieldgroup>.fieldset-wrapper {
		margin-bottom: .33rem;
	}

	& .views-ef-fieldset-container-1 {
		margin-bottom: 1rem;
		padding-bottom: .25rem;
		border-bottom: 1px solid rgba(0, 0, 0, .15);
	}

	& .bef-exposed-form label {
		margin-bottom: .1rem;
	}

	& legend {
		margin-bottom: .25rem;
	}

	& legend .fieldset-legend {
		font-size: 1.0625rem;
		font-size: 1rem;
	}

	& .view-content thead .tablesort {
		/* height: 13px;
		margin-left: 5px; */
		display: none;
	}

	& .bef-exposed-form .form-actions input.form-submit:nth-child(2) {
		border: 1px solid var(--if-bleu);
	}

	& .view-header {
		margin-bottom: 1rem;
	}

	& .if-table-wrapper.x-grabbing {
		cursor: grabbing;
	}

	& .if-table-wrapper.x-dragging {
		user-select: none;
	}

	& table tbody {
		border-left: 1px solid #DDD;
		border-right: 1px solid #DDD;
	}
}

/* #endregion */
/* #region zones et TABLE */
@media (min-with:768px) {
	.max-width-wrapper.view-species-facets .view-content {
		margin-right: 1.5rem;
		padding-top: .5rem;
	}
}



.main-content .view-content thead a {
	color: #FFF !important;
	display: block;
}

.main-content .view-content thead a:hover {
	color: var(--if-bleu-pale) !important;
	text-decoration: none;
}

.main-content .view-content thead a::before {
	content: '↿⇂';
	content: '⥮';
	transform: rotate(90deg);
	font-size: 16px;
	line-height: 13px;
	margin-right: .33rem;
	/* letter-spacing: -.6em; */
}

.main-content .view-content thead th[aria-sort="ascending"] a::before {
	content: '⥡';
}

.main-content .view-content thead th[aria-sort="descending"] a::before {
	content: '⥠';
}

.species-search .views-field-title a {
	white-space: nowrap;
	font-style: italic;
}

.species-search .bef-exposed-form .form-actions {
	margin-bottom: 0 0 1rem;
	padding-bottom: 0;
}

.species-share-copy {
	/* border: 1px solid #CCC;
	font-size: 12px;
	padding: .25rem .75rem;
	background: rgba(255, 255, 255, .5);
	border-radius: .33rem; */
}

/* #endregion TABLE */
/* #endregion STRUCTURE */
/* #region Species Checkboxes override */
.species-search .bef-exposed-form .bef-checkboxes:not(.form--inline) {
	& input+label {
		color: #666;
		background: none;
		padding: 0 0 0 .75rem;
		margin: 0;
		border-radius: 0;
		font-size: .875rem;
		font-weight: 300;
	}


	& input:checked+label,
	& input+label:hover {
		background-color: none;
		color: var(--if-bleu);
	}

	& .js-form-type-radio,
	& .js-form-type-checkbox {
		padding-left: 1.5rem;
		display: flex;
		margin-bottom: 0;
		width: 100%;
	}

	& input:checked+label {
		padding-left: .75rem;
	}

	& input:checked+label::before {
		content: initial;
		margin-right: 0;
	}

	& .radio input,
	& .checkbox input {
		display: block;
	}

}

/* #endregion sp checkboxes */
.form-item-items-per-page {
	display: flex;
	align-items: center;
	/* transform: translateY(5.5rem); */
}

.form-item-items-per-page label {
	font-weight: 300;
}

.form-item-items-per-page .form-select {
	max-width: 80px;
	margin-left: 10px;
}

.views-ef-fieldset-root {
	display: flex;
	flex-flow: row wrap;
}

.views-ef-fieldset-root>div.views-ef-fieldset-container {
	width: 100%;
	display: flex;
	justify-content: flex-start;
	column-gap: 1.25rem;
}

.views-ef-fieldset-root {
	column-gap: 20px;
}

/* #region BEF Details */
.views-ef-fieldset-root>details {
	box-sizing: border-box;
	--sizeNoMargin: calc(25% - 15px);
	max-width: var(--sizeNoMargin);
	flex: 1 1 var(--sizeNoMargin);

	/* margin-right: 1.5rem;  */

	margin-bottom: 1.5rem;
	padding: .5rem 1rem .5rem 1rem;

	border: 0;

	position: relative;
	border-radius: 8px;
	background-color: #FFF;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}
.if-active-filters-badge {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--if-bleu-pale); /* Change to your brand color */
    color: var(--if-bleu);
	border: 1px solid var(--if-bleu);
    border-radius: 50%;
    min-width: 1.1rem;
    height: 1.1rem;
    font-size: 0.66rem;
	font-weight: bold;
    margin-left: 1.25rem;
    padding: 0 .25rem;
    vertical-align: middle;
    line-height: 1;
	transform: translateY(-2px);
}

@media (max-width: 2048px) {
	.views-ef-fieldset-root>details {
		--sizeNoMargin: calc(50% - 10px);
	}
}

@media (max-width: 992px) {
	.views-ef-fieldset-root>details {
		--sizeNoMargin: calc(100%);
	}
}

@media (max-width: 768px) {
	.views-ef-fieldset-root>details {
		--sizeNoMargin: calc(100%);
	}
}


.views-ef-fieldset-root>details[open] {
	position: relative;
	z-index: 2;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;

}

.views-ef-fieldset-root>details[open]:hover {
	z-index: 3;
}

.views-ef-fieldset-root>details[open]>div {
	position: absolute;
	background-color: #FFF;
	box-shadow: 0 5px 5px rgba(0, 0, 0, .3);
	left: 0;
	right: 0;
	max-height: 60vh;
	overflow: auto;
	padding: 1rem;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

.views-ef-fieldset-root>details summary {
	font-size: 1rem;
	text-transform: uppercase;
	color: var(--if-bleu);
	/* font-weight: 500; */
}

.views-ef-fieldset-root>details summary::marker {
	display: none;
	content: '';
}

.views-ef-fieldset-root>details summary::after {
	float: right;
}

.views-ef-fieldset-root>details.empty-details {
	cursor: default;
	pointer-events: none;
}

.views-ef-fieldset-root>details.empty-details summary {
	color: #AAA;
}

.views-ef-fieldset-root>details summary[aria-expanded="false"]::marker {
	/* content: '+'; */
}

.views-ef-fieldset-root>details summary[aria-expanded="true"]::marker {
	/* content: '–'; */
}

/* #endregion BEF details */
/* #endregion */

/*  #endregion BEF */

/* ////////////////////////////// */
/* COMPOSANTS */
/* ////////////////////////////// */

/*  #region TABS CORRESPONDANTS */
.tabs-cantons {
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	align-content: flex-start;
}

.tab-canton {
	margin-right: .5rem;
	cursor: pointer;
	font-size: 1rem !important;
	padding: .33rem 1.1rem;
	margin-bottom: .5rem;

}

.tab-canton:hover,
.tab-canton.tab-canton-active {
	background-color: #333 !important;
}

.close-canton {
	background: none;
	border: 0;
	position: absolute;
	top: 0rem;
	right: 0rem;
	font-size: 2rem;
	color: #888;
	line-height: 1;
}

/*  #endregion */

/*  #region TABBED VIEW (activités) */

.if-view-tabs {
	border-bottom: 1px solid #CCC;
}

.if-view-tab {
	font-size: 1.5rem;
	padding-right: 1rem;
	margin-right: 1rem;
	display: inline-block;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	cursor: pointer;
}

.if-view-tab:hover {}

.if-view-tab.active-view-tab {
	border-bottom: 2px solid #333;
}

.if-view-tab-content:last-child {
	display: none;
}

.if-view-tab-content {
	display: block;
}

.if-view-tab-content .view {}

/*  #endregion */

/*  #region PLAYER audio Infofauna */

.if-audio {
	width: 45%;
	width: calc(50% - 1rem);
	margin: 0 0 1rem;
	float: left;
	padding: 15px;
	background: #FAFAFA;

	margin: .5rem;

}

.if-audio .if-box {}

.if-audio-animation {
	background: transparent url('img/animation_wave_01_infofauna.gif') repeat-x left center;
	background-size: contain;
	opacity: 0;
	flex-grow: 4;
	margin-right: 1rem;
	align-self: stretch;

	transition: opacity .25s ease-out 0s;
}

.running .if-audio-animation {
	opacity: 1;
	/*animation: Equalizer 1s linear 0s infinite;*/
}

/* GIF ou LOTTIE */
@keyframes Equalizer {
	from {
		background-position: left center;
	}

	to {
		background-position: right center;
	}
}

.if-play {
	width: 3rem;
	height: 3rem;
	align-self: center;
	border: 1px solid #CCC;

	color: #CCC;
	border-radius: 10rem;
	margin-left: auto;

	cursor: pointer;

	transition: all .25s ease-in-out 0s;

	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10.145' height='12.363' viewBox='0 0 10.145 12.363'%3E%3Cpath d='M0,1v10.36a1,1,0,0,0,1.54.84l8.14-5.18a1,1,0,0,0,0-1.69L1.54.161A1,1,0,0,0,0,1' transform='translate(0 0)' fill='%23a4bf60'/%3E%3C/svg%3E") no-repeat center center;
}

.running .if-play {
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='12' height='14' viewBox='0 0 12 14'%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Crect width='12' height='14' fill='%23a4bf60'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M2,14a2.006,2.006,0,0,0,2-2V2A2,2,0,0,0,0,2V12a2.006,2.006,0,0,0,2,2M8,2V12a2,2,0,0,0,4,0V2A2,2,0,0,0,8,2' fill='%23a4bf60'/%3E%3C/g%3E%3C/svg%3E") no-repeat center center;
}

.if-player:hover .if-play {
	color: #888;
	border-color: #888;
}

/*  #endregion */

/*  #region BANNER Parallax bg */

/* 
	Utilisé partout, bg ou pas.
	– bannière photo = titre dans le Content
	– bannière blanche = titre dans la bannière 
*/
.p-bg-container {
	position: relative;
	padding-top: 40vh;
	margin: 0 auto;
	display: flex;
}

.node--type-page .p-bg-container {
	padding-top: 30vh;
}

.block-content--type-bloc-bg-image .p-bg-container {
	padding-top: 40vh;
}

.path-frontpage .p-bg-container {
	padding-top: 40vh;
}

.p-title-wrapper {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1rem;
}

.p-bg-wrapper {
	overflow: hidden;
	position: absolute;
	left: 0;
	width: 100%;
	top: 0;
	bottom: 0;
	background-color: #BBB;
}

.p-bg-cover {
	opacity: 1;
	mix-blend-mode: multiply;
}

.sc-pm .p-bg-cover {
	mix-blend-mode: normal;
}

.p-bg-wrapper {
	background-color: #999;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	-webkit-background-size: cover;
}

.p-bg-wrapper.empty-banner {
	background-image: url(../images/default_banner.jpg);
	background-blend-mode: multiply;
}

@media (min-width: 768px) {
	.p-bg-container {
		padding-top: 45vh;
	}
}

/*  #endregion */

/*  #region ACCORDION */
.paragraph--type-accordeon {
	/*padding-top: 0;*/
}

/* Titre */
.p-accordion .group-title {
	padding: 1.5rem 3rem 1.5rem 1.8rem;
	transition: .7s;
	text-transform: uppercase;
	font-size: 1rem;
	margin: 0;
}

.p-accordion .group-wrapper {
	background: #FFF;
}

.p-accordion.accordion-bleu-pale .group-wrapper {
	background: var(--if-bleu-pale);
}

.p-accordion.accordion-bleu-fonce .group-wrapper {
	background: var(--if-bleu);
}

.bg-neg .p-accordion.accordion-bleu-fonce .group-title {
	color: #FFF !important;
}

.p-accordion .group-wrapper:first-of-type .group-title {
	border-top-width: 0;
}

.p-accordion-open .group-title,
.p-accordion .group-title:hover {
	color: var(--if-bleu);
}

.p-accordion-open.accordion-bleu-fonce .group-title,
.p-accordion.accordion-bleu-fonce .group-title:hover {
	color: #FFF;
}

.bg-neg .p-accordion .group-title {
	color: #fafafa;
}

/* Les accordéons de couleur sont plus compacts */
.p-accordion.accordion-bleu-fonce .group-title,
.p-accordion.accordion-bleu-pale .group-title {
	padding: .75rem 3rem .75rem 1.8rem;
}

.p-accordion.accordion-bleu-fonce .group-title .p-btn,
.p-accordion.accordion-bleu-pale .group-title .p-btn {
	top: .75rem;
}

/* Contenu pour padding et bg */
.p-accordion .group-rows-inner {
	padding: .5em 1rem;
}

/*  #endregion */


/*  #region TABS */

/* Titre */
.p-tabs-on .group-title {
	border: 1px solid #888;
	padding: .5rem .8rem 0;
	margin-left: .5rem;

	background: rgba(255, 255, 255, 0.1);
}

.bg-neg .p-tabs .group-title {
	border-color: #fafafa;
}

.p-tabs .group-title>* {
	font-size: 1rem;
}

.p-tabs .group-title:hover {
	color: var(--if-bleu);
}

.p-tabs-open .group-title,
.p-tabs-open .group-title:hover {
	/* couleur du fond pour la bordure */
	border-bottom-color: #fafafa;
	color: var(--if-bleu);
	background: rgba(255, 255, 255, 0);
}

.bg-neg .p-tabs .group-title {
	color: #fafafa;
}

.bg-neg .p-tabs-open .group-title {
	border-bottom-color: var(--if-bleu);
}

/* Contenu pour padding et bg */
.p-tabs .group-rows {
	border-top: 1px solid #888;
}

.bg-neg .p-tabs .group-rows {
	border-top-color: #fafafa;
}

.p-tabs .group-rows-inner {
	padding: 15px 0;
}

/*  #endregion */


/*  #region SWIPER */

/* Slides de la même hauteur*/
.swiper-container {
	margin-left: -1.5rem;
	margin-right: -1.5rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.swiper-views {
	position: relative;
}

.swiper-views .swiper-slide {
	/*align-self: center;*/
}

.swiper-slide {
	height: auto;
	align-self: stretch;
	display: flex;
}

.photoswipe-gallery .swiper-slide {
	align-items: flex-start;
}

.photoswipe-gallery .swiper-slide .if-box {
	height: auto;
}

.swiper-sameheight .views-row-inner {
	padding-bottom: 1rem;
}

.swiper-button-next,
.swiper-button-prev {
	outline: none !important;
	color: var(--if-bleu);
	background-color: rgba(255, 255, 255, 0);
	width: 1.5rem;
	font-size: 2px;
	height: 4rem;
	border-radius: 4rem;
	padding-left: .5rem;
	z-index: 2 !important;

	--swiper-theme-color: var(--if-main-prim);
}

.swiper-button-next {
	right: 0;
}

.swiper-button-prev {
	padding-left: 0;
	padding-right: .5rem;
	left: 0;
}

.swiper-button-next:after,
.swiper-button-prev:after {
	font-size: 1.5rem;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
	display: none;
}

.swiper-pagination-bullet {
	outline: 0;
}


.swiper .swiper-pagination-bullet-active,
.swiper .swiper-scrollbar-drag {
	background-color: var(--if-bleu);
}

.bg-neg .swiper .swiper-pagination-bullet-active,
.bg-neg .swiper .swiper-scrollbar-drag {
	background-color: #fafafa;
}


.swiper-scrollbar {
	position: static;
	height: .25rem;
	margin-top: 1rem;
}

.swiper-scrollbar-drag {
	background-color: var(--if-bleu);
}

/*  #endregion */


/* #region POPUP */

.block-popup {
	position: relative;
	position: fixed;
	z-index: 22;
	right: 0;
	overflow: visible;
	/* right: 0; */
	/* right: -345px; */
	border-bottom-left-radius: 1rem;

	padding: 1rem;
	padding-right: 1.5rem;
	bottom: 20vh;
	overflow: visible;
	box-shadow: 0px 3px 10px rgba(0, 0, 0, .2);
	width: 360px;

	-webkit-transition: all .4s ease-out;
	-moz-transition: all .4s ease-out;
	-ms-transition: all .4s ease-out;
	-o-transition: all .4s ease-out;
	transition: all .4s ease-out;
}

.popup-icon {
	position: absolute;
	width: 36px;
	height: 48px;

	cursor: pointer;

	padding: .75rem .5rem;

	border-bottom-left-radius: 1rem;
	border-top-left-radius: 1rem;


	left: -35px;
	top: 0;
}

#close-drawer {
	position: absolute;
	top: .5rem;
	right: .5rem;
	font-size: 1.5rem;
	line-height: 1;
	background: none;
	border: 0;
	color: #FFF;
}

.block-popup.closed {
	right: -345px;
}

/* .block-popup.autopop {
	right: 0;
} */
.block-popup.init-closed {
	right: -345px !important;
}


/* #endregion */



/* ////////////////////////////// */
/* COULEURS ET CONTEXTES */
/* ////////////////////////////// */
/* VARIABLES dans STYLES:CSS */
/* ////////////////////////////// */
/*  #region COLORS  */

.c-color {
	color: var(--if-bleu);
}

.gris {
	color: #808080;
	color: #000;
	opacity: .55;
	/* Plus joli sur le bleu, meilleur contraste en général*/
}

.gris-content p,
.gris-content h2,
.gris-content h3,
.gris-content h4 {
	color: #808080;
}

.gris-content a,
.gris-content img {
	opacity: 1;
}

.bg-gris {
	background: #fafafa;
}
.bg-blanc {
	background: #ffffff;
}

.bg-teinte {
	background: var(--if-bleu-pale);
}

.bg-if-sombre {
	background: #023657;
}

.bg2,
.c-bg,
.main-content table thead {
	background-color: var(--if-bleu);
}

.bg-neg {
	color: #fafafa;
}

/* LINKS */
.service-conseil a.btn {
	color: #FFF;
}

.karch-amphi a {
	/*color: var(--if-amphi-prim);*/
}

.c-border {
	border-color: var(--if-bleu);
}

/* Mollusques tid_pub 280 tid_news 279 tid_main 278 */
/* Neozoa tid_pub 2168 tid_news 277 tid_main 2167 */


.color-41 .c-border,
.karch-amphi .c-border,
.karch-amphi hr {
	border-color: var(--if-amphi-prim);
}

.color-42 .c-border,
.karch-reptiles .c-border,
.karch-reptiles hr {
	border-color: var(--if-reptiles-prim);
}

.color-43 .c-border,
.sc-castors .c-border,
.sc-castors hr {
	border-color: var(--if-castor-prim);
}

.color-44 .c-border,
.sc-loutres .c-border,
.sc-loutres hr {
	border-color: var(--if-loutre-prim);
}

.color-266 .c-border,
.sc-insectes .c-border,
.sc-insectes hr {
	border-color: var(--if-insectes-prim);
}


.color-263 .c-border,
.sc-pm .c-border,
.sc-pm hr {
	border-color: var(--if-pm-prim);
}

.color-278 .c-border,
.sc-pm .c-border,
.sc-pm hr {
	border-color: var(--if-moll-prim);
}

.color-277 .c-border,
.color-2167 .c-border,
.sc-neo .c-border,
.sc-neo hr {
	border-color: var(--if-neo-prim);
}



/* BG & BTN */
.karch-amphi .c-bg,
.karch-amphi .btn,
.karch-amphi .main-content table thead,
.karch-amphi .round-icon:before,
.karch-amphi .if-badge:not(.if-badge-49),
.karch-amphi .region-highlighted .bg-neg .cta a {
	background-color: var(--if-amphi-prim) !important;
}

.karch-reptiles .c-bg,
.karch-reptiles .btn,
.karch-reptiles .main-content table thead,
.karch-reptiles .round-icon:before,
.karch-reptiles .if-badge:not(.if-badge-49),
.karch-reptiles .region-highlighted .bg-neg .cta a {
	background-color: var(--if-reptiles-prim) !important;
}

.sc-loutres .c-bg,
.sc-loutres .btn,
.sc-loutres .main-content table thead,
.sc-loutres .round-icon:before,
.sc-loutres .if-badge:not(.if-badge-49),
.sc-loutres .region-highlighted .bg-neg .cta a {
	background-color: var(--if-loutre-prim) !important;
}

.sc-castors .c-bg,
.sc-castors .btn,
.sc-castors .main-content table thead,
.sc-castors .round-icon:before,
.sc-castors .if-badge:not(.if-badge-49),
.sc-castors .region-highlighted .bg-neg .cta a {
	background-color: var(--if-castor-prim) !important;
}

.sc-pm .c-bg,
.sc-pm .btn,
.sc-pm .main-content table thead,
.sc-pm .round-icon:before,
.sc-pm .if-badge:not(.if-badge-49),
.sc-pm .region-highlighted .bg-neg .cta a {
	background-color: var(--if-pm-prim) !important;
}

.sc-insectes .c-bg,
.sc-insectes .btn,
.sc-insectes .main-content table thead,
.sc-insectes .round-icon:before,
.sc-insectes .if-badge:not(.if-badge-49),
.sc-insectes .region-highlighted .bg-neg .cta a {
	background-color: var(--if-insectes-prim) !important;
}

.sc-moll .c-bg,
.sc-moll .btn,
.sc-moll .main-content table thead,
.sc-moll .round-icon:before,
.sc-moll .if-badge:not(.if-badge-49),
.sc-moll .region-highlighted .bg-neg .cta a {
	background-color: var(--if-moll-prim) !important;
}

.sc-neo .c-bg,
.sc-neo .btn,
.sc-neo .main-content table thead,
.sc-neo .round-icon:before,
.sc-neo .if-badge:not(.if-badge-49),
.sc-neo .region-highlighted .bg-neg .cta a {
	background-color: var(--if-neo-prim) !important;
}

.region-highlighted .bg-neg .cta a {
	color: #FFF !important;
	padding: .5rem 1rem;
}

.region-highlighted .bg-neg .cta a:hover {
	color: #FFF !important;
}

/* BEF */

.bef-exposed-form input[value="82"]+label,
.bef-exposed-form input[value="23"]+label {
	background-color: var(--if-amphi-prim);
	color: #262626;
}

.bef-exposed-form input[value="83"]+label,
.bef-exposed-form input[value="25"]+label {
	background-color: var(--if-castor-prim);
	color: #FFF;
}

.bef-exposed-form input[value="84"]+label,
.bef-exposed-form input[value="26"]+label {
	background-color: #72B1AD;
	color: #FFF;
}

.bef-exposed-form input[value="85"]+label,
.bef-exposed-form input[value="24"]+label {
	background-color: var(--if-reptiles-prim);
	color: #262626;
}

.bef-exposed-form input[value="264"]+label,
.bef-exposed-form input[value="265"]+label {
	background-color: var(--if-pm-prim);
	color: #FFF;
}

.bef-exposed-form input[value="267"]+label,
.bef-exposed-form input[value="268"]+label {
	background-color: var(--if-insectes-prim);
	color: #FFF;
}

.bef-exposed-form input[value="279"]+label,
.bef-exposed-form input[value="280"]+label {
	background-color: var(--if-moll-prim);
	color: #FFF;
}

.bef-exposed-form input[value="2168"]+label,
.bef-exposed-form input[value="277"]+label {
	background-color: var(--if-neo-prim);
	color: #FFF;
}

/* HOVERS */
.karch-amphi .btn:hover,
.karch-amphi .tab-canton:hover,
.karch-amphi .tab-canton.tab-canton-active,
.bef-exposed-form input[value="82"]:checked+label,
.bef-exposed-form input[value="82"]+label:hover,
.bef-exposed-form input[value="23"]:checked+label,
.bef-exposed-form input[value="23"]+label:hover,
.karch-amphi .region-highlighted .bg-neg .cta a:hover {
	background-color: var(--if-amphi-sombre) !important;
	color: #FFF;
}

.karch-reptiles .btn:hover,
.karch-reptiles .tab-canton:hover,
.karch-reptiles .tab-canton.tab-canton-active,
.bef-exposed-form input[value="85"]:checked+label,
.bef-exposed-form input[value="85"]+label:hover,
.bef-exposed-form input[value="24"]:checked+label,
.bef-exposed-form input[value="24"]+label:hover,
.karch-reptiles .region-highlighted .bg-neg .cta a:hover {
	background-color: var(--if-reptiles-sombre) !important;
	color: #FFF;
}

.sc-loutres .btn:hover,
.sc-loutres .tab-canton:hover,
.sc-loutres .tab-canton.tab-canton-active,
.bef-exposed-form input[value="84"]:checked+label,
.bef-exposed-form input[value="84"]+label:hover,
.bef-exposed-form input[value="26"]:checked+label,
.bef-exposed-form input[value="26"]+label:hover,
.sc-loutres .region-highlighted .bg-neg .cta a:hover {
	background-color: var(--if-loutre-sombre) !important;
}

.sc-castors .btn:hover,
.sc-castors .tab-canton:hover,
.sc-castors .tab-canton.tab-canton-active,
.bef-exposed-form input[value="83"]:checked+label,
.bef-exposed-form input[value="83"]+label:hover,
.bef-exposed-form input[value="25"]:checked+label,
.bef-exposed-form input[value="25"]+label:hover,
.sc-castors .region-highlighted .bg-neg .cta a:hover {
	background-color: var(--if-castor-sombre) !important;
}

.sc-pm .btn:hover,
.sc-pm .tab-canton:hover,
.sc-pm .tab-canton.tab-canton-active,
.bef-exposed-form input[value="264"]:checked+label,
.bef-exposed-form input[value="264"]+label:hover,
.bef-exposed-form input[value="265"]:checked+label,
.bef-exposed-form input[value="265"]+label:hover,
.sc-pm .region-highlighted .bg-neg .cta a:hover {
	background-color: var(--if-pm-sombre) !important;
}

.sc-insectes .btn:hover,
.sc-insectes .tab-canton:hover,
.sc-insectes .tab-canton.tab-canton-active,
.bef-exposed-form input[value="267"]:checked+label,
.bef-exposed-form input[value="267"]+label:hover,
.bef-exposed-form input[value="268"]:checked+label,
.bef-exposed-form input[value="268"]+label:hover,
.sc-insectes .region-highlighted .bg-neg .cta a:hover {
	background-color: var(--if-insectes-sombre) !important;
}

.sc-moll .btn:hover,
.sc-moll .tab-canton:hover,
.sc-moll .tab-canton.tab-canton-active,
.bef-exposed-form input[value="279"]:checked+label,
.bef-exposed-form input[value="279"]+label:hover,
.bef-exposed-form input[value="280"]:checked+label,
.bef-exposed-form input[value="280"]+label:hover,
.sc-moll .region-highlighted .bg-neg .cta a:hover {
	background-color: var(--if-moll-sombre) !important;
}

.sc-neo .btn:hover,
.sc-neo .tab-canton:hover,
.sc-neo .tab-canton.tab-canton-active,
.bef-exposed-form input[value="277"]:checked+label,
.bef-exposed-form input[value="2167"]+label:hover,
.bef-exposed-form input[value="2168"]:checked+label,
.bef-exposed-form input[value="2168"]+label:hover,
.sc-neo .region-highlighted .bg-neg .cta a:hover {
	background-color: var(--if-neo-sombre) !important;
}

.toujours-noir {
	color: #262626 !important;
}

/* HOVERS LINKS */
a:hover .toujours-noir {
	color: var(--if-bleu) !important;
}

.karch-amphi .main-content a:not(.btn):hover,
.karch-amphi a:hover .if-arrow-link,
.karch-amphi a:hover .toujours-noir {
	color: var(--if-amphi-sombre) !important;
}

.karch-reptiles .main-content a:not(.btn):hover,
.karch-reptiles a:hover .if-arrow-link,
.karch-reptiles a:hover .toujours-noir {
	color: var(--if-reptiles-sombre) !important;
}

.sc-loutres .main-content a:not(.btn):hover,
.sc-loutres a:hover .if-arrow-link,
.sc-loutres a:hover .toujours-noir {
	color: var(--if-loutre-sombre) !important;
}

.sc-castors .main-content a:not(.btn):hover,
.sc-castors a:hover .if-arrow-link,
.sc-castors a:hover .toujours-noir {
	color: var(--if-castor-sombre) !important;
}

.sc-pm .main-content a:not(.btn):hover,
.sc-pm a:hover .if-arrow-link,
.sc-pm a:hover .toujours-noir {
	color: var(--if-pm-sombre) !important;
}

.sc-insectes .main-content a:not(.btn):hover,
.sc-insectes a:hover .if-arrow-link,
.sc-insectes a:hover .toujours-noir {
	color: var(--if-insectes-sombre) !important;
}

.sc-moll .main-content a:not(.btn):hover,
.sc-moll a:hover .if-arrow-link,
.sc-moll a:hover .toujours-noir {
	color: var(--if-moll-sombre) !important;
}

.sc-neo .main-content a:not(.btn):hover,
.sc-neo a:hover .if-arrow-link,
.sc-neo a:hover .toujours-noir {
	color: var(--if-moll-sombre) !important;
}

/* BG teintés & Hovers menus SC*/

.karch-amphi .bg-teinte,
.karch-amphi .bg-blanc .if-box {
	background-color: var(--if-amphi-pale) !important;
}

.karch-amphi .c-bg .nav-item a:hover,
.karch-amphi .c-bg .nav-item .active {
	background-color: var(--if-amphi-sec);
}

.karch-reptiles .bg-teinte,
.karch-reptiles .bg-blanc .if-box {
	background-color: var(--if-reptiles-pale) !important;
}

.karch-reptiles .c-bg .nav-item a:hover,
.karch-reptiles .c-bg .nav-item .active {
	background-color: var(--if-reptiles-sec);
}

.sc-loutres .bg-blanc .if-box,
.sc-loutres .bg-teinte {
	background-color: var(--if-loutre-pale) !important;
}

.sc-loutres .c-bg .nav-item a:hover,
.sc-loutres .c-bg .nav-item .active {
	background-color: var(--if-loutre-sec);
}

.sc-castors .bg-blanc .if-box,
.sc-castors .bg-teinte {
	background-color: var(--if-castor-pale) !important;
}

.sc-castors .c-bg .nav-item a:hover,
.sc-castors .c-bg .nav-item .active {
	background-color: var(--if-castor-sec);
}

.sc-pm .bg-blanc .if-box,
.sc-pm .bg-teinte {
	background-color: var(--if-pm-pale) !important;
}

.sc-pm .c-bg .nav-item a:hover,
.sc-pm .c-bg .nav-item .active {
	background-color: var(--if-pm-sec);
}

.sc-insectes .bg-blanc .if-box,
.sc-insectes .bg-teinte {
	background-color: var(--if-insectes-pale) !important;
}

.sc-insectes .c-bg .nav-item a:hover,
.sc-insectes .c-bg .nav-item .active {
	background-color: var(--if-insectes-sec);
}

.sc-moll .bg-blanc .if-box,
.sc-moll .bg-teinte {
	background-color: var(--if-moll-pale) !important;
}

.sc-moll .c-bg .nav-item a:hover,
.sc-moll .c-bg .nav-item .active {
	background-color: var(--if-moll-sombre);
}

.sc-neo .bg-blanc .if-box,
.sc-neo .bg-teinte {
	background-color: var(--if-neo-pale) !important;
}

.sc-neo .c-bg .nav-item a:hover,
.sc-neo .c-bg .nav-item .active {
	background-color: var(--if-neo-sombre);
}

/* COLOR TXT */
.karch-reptiles .c-color,
.karch-reptiles .c-color a,
.karch-reptiles .main-content a:not(.btn),
.karch-reptiles .region-content a,
.karch-reptiles .p-accordion-open .group-title,
.karch-reptiles .p-accordion .group-title:hover,
.karch-reptiles .swiper-button-next,
.karch-reptiles .swiper-button-prev {
	color: var(--if-reptiles-prim);
}

.karch-amphi .c-color,
.karch-amphi .c-color a,
.karch-amphi .main-content a:not(.btn),
.karch-amphi .region-content a,
.karch-amphi .p-accordion-open .group-title,
.karch-amphi .p-accordion .group-title:hover,
.karch-amphi .swiper-button-next,
.karch-amphi .swiper-button-prev {
	color: var(--if-amphi-prim) !important;
}

.sc-loutres .c-color,
.sc-loutres .c-color a,
.sc-loutres .main-content a:not(.btn),
.sc-loutres .p-accordion-open .group-title,
.sc-loutres .p-accordion .group-title:hover,
.sc-loutres .swiper-button-next,
.sc-loutres .swiper-button-prev {
	color: var(--if-loutre-prim);
}

.sc-castors .c-color,
.sc-castors .c-color a,
.sc-castors .main-content a:not(.btn),
.sc-castors .p-accordion-open .group-title,
.sc-castors .p-accordion .group-title:hover,
.sc-castors .swiper-button-next,
.sc-castors .swiper-button-prev {
	color: var(--if-castor-prim);
}

.sc-pm .c-color,
.sc-pm .c-color a,
.sc-pm .main-content a:not(.btn),
.sc-pm .p-accordion-open .group-title,
.sc-pm .p-accordion .group-title:hover,
.sc-pm .swiper-button-next,
.sc-pm .swiper-button-prev {
	color: var(--if-pm-prim);
}

.sc-insectes .c-color,
.sc-insectes .c-color a,
.sc-insectes .main-content a:not(.btn),
.sc-insectes .p-accordion-open .group-title,
.sc-insectes .p-accordion .group-title:hover,
.sc-insectes .swiper-button-next,
.sc-insectes .swiper-button-prev {
	color: var(--if-insectes-prim);
}

.sc-moll .c-color,
.sc-moll .c-color a,
.sc-moll .main-content a:not(.btn),
.sc-moll .p-accordion-open .group-title,
.sc-moll .p-accordion .group-title:hover,
.sc-moll .swiper-button-next,
.sc-moll .swiper-button-prev {
	color: var(--if-moll-prim);
}

.sc-neo .c-color,
.sc-neo .c-color a,
.sc-neo .main-content a:not(.btn),
.sc-neo .p-accordion-open .group-title,
.sc-neo .p-accordion .group-title:hover,
.sc-neo .swiper-button-next,
.sc-neo .swiper-button-prev {
	color: var(--if-neo-prim);
}

/* EQUALIZERS */
.karch-amphi .if-audio-animation {
	background-image: url('img/animation_wave_02_amphibiens.gif');
}

.karch-reptiles .if-audio-animation {
	background-image: url('img/animation_wave_03_reptiles.gif');
}

.sc-castors .if-audio-animation {
	background-image: url('img/animation_wave_04_castors.gif');
}

.sc-loutres .if-audio-animation {
	background-image: url('img/animation_wave_05_loutres.gif');
}


* .main-content a.btn:not(.btn-clair) {
	color: #FFF !important;
}

* .main-content .btn-clair-wrapper a.btn {
	color: var(--if-bleu) !important;
}

* .main-content .btn-clair-wrapper a.btn:hover {
	color: #FFF !important;
}

.if-badge.if-badge-49 {
	background-color: #CCC !important;
}




/* Highlight dans un bg-teinte */
.bg-teinte .bg-teinte {
	background: rgba(255, 255, 255, .8);
}

/*  #endregion */


@media (max-width:767.9px) {
	html {
		font-size: 16px;
	}

	h1 {
		font-size: 1.75rem;
	}

	h2,
	.path-frontpage h2 {
		font-size: 1.75rem;
	}

	h3 {
		font-size: 1.0625rem;
	}

	.lead,
	p.lead {
		font-size: 1.2rem;
	}

	.front-title {
		font-size: 2rem;
	}

	.front-slogan {
		font-size: 1.25rem;
		font-weight: 400;
	}

	.if-audio {
		width: auto;
	}

	.if-audio-animation {
		flex-grow: 0;
		margin-right: 0rem;
		display: none;
	}

	.btn,
	.text-formatted .btn,
	.cta a,
	.button,
	.if-badge {
		font-size: 12px;
	}

	/* Banner Service Conseil + home */
	.block-content--type-bloc-bg-image .p-bg-container {
		padding-top: 60vh;
	}

	.contact xs {
		display: ;
	}

	.actu-teaser>a,
	.contact-xs a {
		display: flex !important;
		flex-flow: row wrap;
		align-items: stretch;
	}

	.actu-teaser>a>div.media,
	.contact-xs>a>.xs-portrait {}



	.contact-xs>a>.xs-portrait {
		flex: 0 1 25%;
	}

	.actu-teaser>a>div.p-3 {
		/*flex: 0 1 66.666%;*/
	}

	.contact-xs>a>div.p-3 {
		flex: 0 1 75%;
	}

	.actu-teaser .parent-cover {}

	.actu-teaser .parent-cover img {
		max-width: none !important;
		width: 100% !important;
		height: 100% !important;
		max-height: none !important;
		object-fit: cover
	}

	.d-flex {
		flex-flow: row wrap;
	}

	.d-flex>* {
		margin-bottom: .75rem;
	}

	.btn {
		white-space: normal;
		text-align: left;
	}

	.if-box-flat {
		margin-bottom: 1rem;
	}




	.round-icon {}

	.round-icon::before {
		flex: 0 1 2.65rem;
	}

	.round-icon>div {
		flex: 0 1 80%;
	}

	.pub-title-wrapper {
		display: ;
		flex-direction: column;
	}

	.if-file-data {
		margin-left: 0;
		margin-bottom: .5rem;
	}

	.p-bg-cover {
		opacity: 1;
		mix-blend-mode: multiply;
		top: 0;
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
	}

	.sc-pm .p-bg-cover {
		mix-blend-mode: normal !important;
	}

	/* VIEWS */
	.bef-exposed-form .js-form-type-radio,
	.bef-exposed-form .js-form-type-checkbox {
		margin-bottom: .5rem;
	}

	/* TABS Correpondants*/
	.tab-canton-content {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		height: auto;
		max-height: 60vh;
		overflow: auto;
		overflow-x: hidden;
	}

	.tab-canton-content .if-box {}

	/* FOOTER */
	.site-footer_bottom {
		background-color: rgba(0, 0, 0, .4);
		padding-bottom: 3rem;
	}

	.region-footer-bottom {
		flex-direction: column;
	}

	.if-footer-menu {
		margin-bottom: 3rem;
	}

	#block-copyright p,
	#block-designby p {
		text-align: left !important;
		margin: 0 0 .25rem;

	}

	/* SWIPER */
	.swiper-wrapper {
		width: auto;
		height: auto;
		flex-direction: column;
	}

	/* Aïe aïe aïe*/
	.swiper-line+div+.swiper-button-next,
	.swiper-line+.swiper-button-prev {
		display: none !important;
	}

}

@media (max-height:800px) {
	/* Adaptations écrans bas */

	#block-menusecondaire {
		margin-top: 1rem !important;
	}

	ul.nav>li.menu-icon>a,
	.if-sec-nav>ul>li a {
		margin-bottom: .25rem;
	}

	#search-block-form {
		padding-top: .5rem;
		padding-bottom: 0rem;
	}

	#search-block-form .form-actions {
		top: .5rem;
	}
}

@media (max-width: 540px) {

	.sc-item .parent-cover img,
	.actu-teaser .parent-cover img {

		width: 100%;
		width: calc(100vw - 30px) !important;
		height: 33vh !important;
	}
}


/* #region SPECIES */

/* TODO migrate to icons */

.if-portrait-default {
	width: 100%;
	aspect-ratio: 1/1;
	background: #d6dce1 url('img/bestiole_l.svg') no-repeat center center;
	background-size: cover;
}
.species-header h1 {
	margin-left: -0.15em;
}

.species-right {
	margin-top: 3rem;
}
.map-hidden {

}
@media (min-width: 1200px) {
	.species-right {
		margin-top: -5rem;
	}
}

#scroll-portrait {
	padding: .75rem .75rem .66rem 3.5rem;
	margin-bottom: .5rem;
}

#scroll-portrait:focus {
	box-shadow: none;
}

#scroll-portrait::before {
	content: '';
}

#scroll-portrait::after {
	margin-left: .5rem;
}

#scroll-portrait .species-avatar {
	display: block;
	aspect-ratio: 1/1;
	width: 56px;
	height: 56px;
	background: #FFF url('img/bestiole_s.svg') no-repeat center center;
	background-size: ;
	border: 5px solid var(--if-bleu);
	border-radius: 50px;
	overflow: hidden;
	position: absolute;
	left: 0;
	top: -8px;

}
#scroll-portrait .species-avatar img {
	border-radius: 50px;
	overflow: hidden;
}

#scroll-portrait {}

/* Table like data */
.if-tr-container p {
	margin: 0;
}

.if-tr-container {
	border-bottom: 1px solid #e9e9ee;
	padding: .25rem 0;
}

.if-tr-container:last-child {
	border: 0;
}

.if-tr-label {
	color: #999999;
}

.fake-fieldgroup {
	margin-top: 1rem;
}

.fake-fieldgroup legend {
	font-size: 1.1rem;
	font-weight: 600;
	width: auto;
	margin-right: 7px;
}
.fake-fieldgroup .if-info-container {
	clear: both;
	width: 100%;
}

.map-hidden {
	aspect-ratio: 4/3;
	width: 100%;
	background: var(--if-bleu) url('img/map_blank.jpg') no-repeat center center;
	background-size: cover;
	background-blend-mode: soft-light;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--if-bleu) !important;
	font-weight: bold;
	font-size: 1.2rem;
}


.sp-class-indent {
	padding-left: 1.5rem;
	line-height: 1.8;
}

.sp-class-indent li {
	list-style-type: '┗ ';

}

/* "infobulle" info container by field */
.if-btn-info {
	cursor: pointer;
	display: inline-block;
	margin-left: 4px;
	font-size: 14px;
}

.if-btn-info>.if-info-close {
	display: none;
}

.if-btn-info.if-info-shrink>.if-info-open {
	display: none;
}

.if-btn-info.if-info-shrink>.if-info-close {
	display: block;
}

.if-info-container {
	display: none;
}

#edit-group-altitude img.img-fluid {
	width: 100%;
	aspect-ratio: 500/376;
	object-fit: contain;
}

.node--type-species {
	& .horizontal-tabs {
		border: 0;
	}

	& .horizontal-tabs-list {
		position: relative;
		z-index: 1;
	}

	& .horizontal-tabs-panes {
		position: relative;
		z-index: 2;
	}

	& .horizontal-tabs-panes .horizontal-tabs-pane {
		padding: 0;
		position: relative;
		z-index: 1;
		padding: 0 0 .5rem;
		border-radius: 8px;
		border-top-left-radius: 0;
		box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
	}

	& .horizontal-tabs .horizontal-tabs-list {
		background: transparent;
		border: 0;
		margin-bottom: -7px
	}

	& .horizontal-tabs li.horizontal-tab-button {
		border: 0;
		background-color: transparent;

	}

	& .horizontal-tabs li.horizontal-tab-button a strong {
		font-weight: normal;
	}

	& .horizontal-tabs li.horizontal-tab-button a::before {
		display: none;
	}

	& .horizontal-tabs li.horizontal-tab-button a {
		color: var(--if-bleu);
		background-color: var(--if-bleu-pale);
		font-weight: normal;
		text-transform: uppercase;
		border-top-right-radius: 8px;
		border-top-left-radius: 8px;
		box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
		padding: 0.4em 1em;

		cursor: pointer;

		position: relative;
	}

	& .horizontal-tabs li.horizontal-tab-button a.btn:hover,
	& .horizontal-tabs li.horizontal-tab-button.selected a {
		color: #FFF;
		background-color: var(--if-bleu);
		text-transform: uppercase;
		z-index: 1;
		padding: 0.4em 1em;
	}

	/* PANES */
	& .horizontal-tabs .horizontal-tabs-panes {
		background-color: var(--if-bleu);
		border-bottom-left-radius: 8px;
		border-bottom-right-radius: 8px;
	}

	& .horizontal-tabs .horizontal-tabs-panes * {
		color: #FFF;
	}

	.pastille {
		display: inline-block;
		font-weight: 700;
		width: 1.5em;
		min-width: 1.5em;
		max-width: 1.5em;
		flex-grow: 2;
		height: 1.5em;
		font-size: .75rem;
		border-radius: 1rem;
		background-color: #2FB636;
		margin-right: .33rem;
		text-align: center;
	}
	.pastille.conn-2 {
		background-color: #eb9e23;
		border-radius: 0;
		clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
		line-height: 1.95em;

	}

	.remove-margins p {
		margin: 0 !important;
	}
}

/* #endregion */