/*!
Theme Name: intranet-espoir
Theme URI: http://underscores.me/
Author: Bertrand GONTARD
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: intranet-espoir
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

intranet-espoir is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #4169e1;
}
a:visited {
  color: #800080;
}
a:hover, a:focus, a:active {
  color: #191970;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  border-color: #ccc #bbb #aaa;
}
button:active, button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=reset]:active,
input[type=reset]:focus,
input[type=submit]:active,
input[type=submit]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}
.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}
.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}
.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}
.main-navigation ul ul a {
  width: 200px;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}
.main-navigation li {
  position: relative;
}
.main-navigation a {
  display: block;
  text-decoration: none;
}
/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
  .main-navigation ul {
    display: flex;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0 0 1.5em;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}
.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
          clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* FONTS */
@font-face {
  font-family: "AvertaPE";
  src: url("fonts/AvertaPE-Black.woff2") format("woff2"), url("fonts/AvertaPE-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AvertaPE";
  src: url("fonts/AvertaPE-Bold.woff2") format("woff2"), url("fonts/AvertaPE-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AvertaPE";
  src: url("fonts/AvertaPE-Extrabold.woff2") format("woff2"), url("fonts/AvertaPE-Extrabold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AvertaPE";
  src: url("fonts/AvertaPE-Extrathin.woff2") format("woff2"), url("fonts/AvertaPE-Extrathin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AvertaPE";
  src: url("fonts/AvertaPE-Light.woff2") format("woff2"), url("fonts/AvertaPE-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AvertaPE";
  src: url("fonts/AvertaPE-Regular.woff2") format("woff2"), url("fonts/AvertaPE-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AvertaPE";
  src: url("fonts/AvertaPE-Semibold.woff2") format("woff2"), url("fonts/AvertaPE-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AvertaPE";
  src: url("fonts/AvertaPE-Thin.woff2") format("woff2"), url("fonts/AvertaPE-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rimouski Sb";
  src: url("fonts/RimouskiSb-Regular.woff2") format("woff2"), url("fonts/RimouskiSb-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "icomoon";
  src: url("fonts/icomoon.eot?tbw473");
  src: url("fonts/icomoon.eot?tbw473#iefix") format("embedded-opentype"), url("fonts/icomoon.ttf?tbw473") format("truetype"), url("fonts/icomoon.woff?tbw473") format("woff"), url("fonts/icomoon.svg?tbw473#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
[class^=icon-],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-facebook1:before {
  content: "\e900";
}

.icon-facebook:before {
  content: "\ea90";
}

/* Variables */
/* STRUCTURE */
.container-fluid {
  margin: 0 auto;
  padding: 0 30px;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 30px;
}
@media screen and (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media screen and (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media screen and (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media screen and (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media screen and (min-width: 1600px) {
  .container {
    max-width: 1320px;
  }
}

.row {
  margin: 0 -15px;
}

.col,
.col13,
.col23,
.col50,
.col14,
.col34 {
  padding: 0 15px;
}

@media screen and (min-width: 992px) {
  .row {
    width: 100%;
    display: flex;
  }
  .reverse {
    flex-direction: row-reverse;
  }
  .col14 {
    width: 25%;
  }
  .col13 {
    width: 33.3333%;
  }
  .col23 {
    width: 66.6666%;
  }
  .col34 {
    width: 75%;
  }
  .col50 {
    width: 50%;
  }
}
/* TRICKS */
.hom {
  display: none;
}
@media screen and (min-width: 992px) {
  .hom {
    display: block;
  }
}

.som {
  display: block;
}
@media screen and (min-width: 992px) {
  .som {
    display: none;
  }
}

/* GENERAL */
*,
h1 {
  margin-top: 0;
}

* button,
.buddypress .buddypress-wrap .activity-read-more a,
.buddypress .buddypress-wrap .comment-reply-link,
.buddypress .buddypress-wrap .generic-button a,
.buddypress .buddypress-wrap a.bp-title-button,
.buddypress .buddypress-wrap a.button,
.buddypress .buddypress-wrap button,
.buddypress .buddypress-wrap ul.button-nav:not(.button-tabs) li a {
  border: none;
  background: transparent;
}
* button:hover,
.buddypress .buddypress-wrap .activity-read-more a:hover,
.buddypress .buddypress-wrap .comment-reply-link:hover,
.buddypress .buddypress-wrap .generic-button a:hover,
.buddypress .buddypress-wrap a.bp-title-button:hover,
.buddypress .buddypress-wrap a.button:hover,
.buddypress .buddypress-wrap button:hover,
.buddypress .buddypress-wrap ul.button-nav:not(.button-tabs) li a:hover {
  background: transparent;
}

.buddypress .buddypress-wrap input[type=button],
.buddypress .buddypress-wrap input[type=reset],
.buddypress .buddypress-wrap input[type=submit] {
  border: solid 1px #0679a8;
  background: #0679a8;
  color: white;
  padding: 5px 15px;
  border-radius: 15px;
}
.buddypress .buddypress-wrap input[type=button]:hover,
.buddypress .buddypress-wrap input[type=reset]:hover,
.buddypress .buddypress-wrap input[type=submit]:hover {
  background: transparent;
  color: #0679a8;
}

.wp-block-search__inside-wrapper {
  display: flex;
  flex: auto;
  flex-wrap: nowrap;
  max-width: 100%;
}

#headerWidgets input {
  flex-grow: 1;
  margin-left: 0;
  margin-right: 0;
  min-width: 3rem;
}

html,
body {
  position: relative;
  font-family: "AvertaPE";
  font-size: 15px;
  color: #1d1e1c;
  scroll-behavior: smooth;
  background-color: rgb(238, 246, 247);
  background-color: #eef6f7;
}
@media screen and (min-width: 992px) {
  html,
  body {
    font-size: 14px;
  }
}
@media screen and (min-width: 1200px) {
  html,
  body {
    font-size: 15px;
  }
}

.bp-messages-wrap * {
  font-family: "AvertaPE";
  font-size: 15px;
}

h1,
body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .entry-title {
  font-weight: 900;
  color: #0679a8;
}

a:visited,
a {
  color: black;
}
a:visited:hover,
a:hover {
  color: #80c8c4;
}

.wp-block-file .wp-block-file__button {
  background: #0679a8;
  color: white;
}
.wp-block-file .wp-block-file__button:visited {
  color: white;
}
.wp-block-file .wp-block-file__button:hover {
  background: #80c8c4;
}

@media screen and (min-width: 992px) {
  #mainWrapper {
    position: relative;
    display: flex;
    padding-top: 80px;
  }
}

.imgContainer {
  position: relative;
  overflow: hidden;
  display: block;
}
.imgContainer img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* HEADER */
#masthead {
  height: 80px;
  border-bottom: solid 1px #d9d9d9;
  background: white;
  z-index: 9999;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
#masthead .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
#masthead .site-branding {
  flex-shrink: 0;
}
#masthead #userInfo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
#masthead #userInfo p {
  display: none;
}
@media screen and (min-width: 992px) {
  #masthead {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }
  #masthead .site-branding,
  #masthead #userInfo {
    width: 270px;
    display: flex;
    align-items: center;
  }
  #masthead .site-branding p,
  #masthead #userInfo p {
    display: block;
    margin-left: 15px;
    margin-bottom: 0;
    font-size: small;
  }
}
#masthead #headerWidgets {
  width: 100%;
  max-width: 620px;
}
@media screen and (min-width: 992px) {
  #masthead #headerWidgets {
    display: flex;
  }
  #masthead #headerWidgets .widget_search {
    width: 100%;
  }
}
#masthead #headerWidgets input::-moz-placeholder {
  text-transform: uppercase;
  color: #0679a8;
  font-size: 0.8rem;
}
#masthead #headerWidgets input::placeholder {
  text-transform: uppercase;
  color: #0679a8;
  font-size: 0.8rem;
}
#masthead input {
  padding: 15px;
}
#masthead .widget {
  margin: 0;
}
#masthead .user-icon {
  border-radius: 50%;
  overflow: hidden;
  width: 50px;
  height: 50px;
  display: inline-block;
  border: none;
  padding: 0;
  cursor: pointer;
}

.site-title,
.site-description {
  display: block;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: 0;
}

/* SIDENAV */
.sidenav {
  height: calc(100vh - 80px);
  position: fixed;
  z-index: 9998;
  overflow-x: hidden;
  transition: 0.4s;
}
.sidenav::-webkit-scrollbar {
  width: 0.5em;
}
.sidenav::-webkit-scrollbar-track {
  background-color: #f2f2f2;
}
.sidenav::-webkit-scrollbar-thumb {
  background-color: #d9d9d9;
}
.sidenav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sidenav ul li {
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
}
.sidenav#sideNavigation {
  background-color: #0679a8;
  left: 0;
  width: 0;
  top: 80px;
}
.sidenav#userNavigation {
  right: 0;
  width: 0;
  top: 80px;
  background-color: white;
}
.sidenav#userNavigation li a {
  color: #0679a8;
}
.sidenav#userNavigation li a:hover {
  color: white;
  padding-left: 30px;
}
.sidenav#userNavigation .current-menu-item > a {
  color: white;
}
@media screen and (min-width: 992px) {
  .sidenav#sideNavigation {
    position: sticky;
    width: 300px;
    top: 80px;
    flex-shrink: 0;
  }
}
.sidenav li {
  position: relative;
}
.sidenav li a {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #fff;
  font-weight: 400;
}
.sidenav li:hover > a {
  background-color: #0a709c;
  padding-left: 30px;
}
.sidenav li button {
  cursor: pointer;
  position: absolute;
  top: 0;
  width: 100%;
  left: 0;
  height: 53px;
  right: 0;
  border-radius: 0;
  border: none;
}
.sidenav li li a {
  text-transform: none;
  background-color: white;
  color: #0679a8;
  font-weight: 400;
}
.sidenav li li a:hover {
  background-color: #0a709c;
}
.sidenav ul .sub-menu {
  display: none;
}
.sidenav .active {
  background-color: #0a709c;
}
.sidenav .current_page_item > a,
.sidenav .current_page_ancestor > a {
  background-color: #0a709c;
  color: white;
}
.sidenav .current_page_item > a li > a,
.sidenav .current_page_ancestor > a li > a {
  background-color: #80c8c4;
}
.sidenav .current_page_item > a {
  background-color: #0a709c;
  color: white;
}
.sidenav ul li li a:hover ul li .current-menu-item > a,
.sidenav ul li li a:hover,
.sidenav ul li .current_page_item > a {
  background-color: #80c8c4;
}
.sidenav .showcurrent,
.sidenav .current-page-ancestor .sub-menu,
.sidenav .current_page_item .sub-menu {
  display: block;
}

.openSidenav #sideNavigation {
  width: 100%;
}

.openUsernav #primary {
  margin-right: 300px;
}
.openUsernav #userNavigation {
  width: 300px;
}

.admin-bar #masthead {
  top: 32px;
}
.admin-bar #userNavigation {
  top: 112px;
}

.sidenav a {
  padding: 15px;
  text-decoration: none;
  color: white;
  display: block;
  transition: 0.4s;
  white-space: nowrap;
}

.sidenav a:hover {
  color: white;
  background: #80c8c4;
}

#primary {
  transition: margin-right 0.4s;
  padding: 20px;
  width: 100%;
}

body {
  overflow-x: hidden;
}

a svg {
  transition: all 0.5s ease;
}

/* accordeon */
.toggle {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  height: 60px;
  width: 45px;
  background-image: url(img/arrow-down.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 30%;
  background-color: transparent;
  border: none;
}
.toggle.on {
  background-image: url(img/arrow-up.svg);
}

.toggleL {
  background-color: transparent;
  background-position: right 15px center;
  background-repeat: no-repeat;
  background-image: url(img/arrow-down.svg);
  background-size: 10px;
}
.toggleL.on {
  background-image: url(img/arrow-up.svg);
}
.toggleL.on:hover {
  background-repeat: no-repeat;
  background-size: 10px;
  background-position: right 15px center;
}

/* Fiche membre */
#header-cover-image {
  background: rgb(128, 200, 196);
}

#buddypress div#item-header #item-header-cover-image #item-header-content {
  display: block;
}

body #buddypress .member-header-actions .generic-button {
  border-radius: 1em;
  outline: solid 1px;
}
body #buddypress .member-header-actions .generic-button button,
body #buddypress .member-header-actions .generic-button a {
  padding: 10px 15px;
  font-size: 0.9rem;
  text-transform: uppercase;
}
body #buddypress .member-header-actions .generic-button:hover {
  outline-color: #80c8c4;
  background-color: #80c8c4;
}
body #buddypress .member-header-actions .generic-button:hover button,
body #buddypress .member-header-actions .generic-button:hover a {
  color: white;
}

/* footer */
.site-footer {
  min-height: 300px;
  background-color: white;
  padding: 30px 0;
}
@media screen and (min-width: 992px) {
  .site-footer .widget {
    margin-bottom: 0;
  }
}

/* PAGE STANDARD */
.page-template-default .post-thumbnail {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 15px;
  width: 100%;
  height: 300px;
}
.page-template-default .post-thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* BUDDYPRESS */
/* members-loop */
.group-names {
  font-size: 0.9rem;
}

#buddypress #item-body {
  padding: 0 20px;
}

/* Groupes */
.group-type-etablissement .request-membership {
  display: none !important;
}

li.group-type-groupe-de-travail {
  background-color: #eef6f7;
}

.group-button.join-group {
  display: none !important;
}

/* menu user */
#user-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
#user-menu li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
}
#user-menu li a:hover {
  color: #000;
}
#user-menu li a::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "";
  display: inline-block;
  margin-right: 10px;
  font-size: 16px;
}
#user-menu li.bp-profile-nav a::before {
  content: "\f007";
}
#user-menu li.bp-activity-nav a::before {
  content: "\f0ae";
}
#user-menu li.bp-notifications-nav a::before {
  content: "\f0f3";
}
#user-menu li.bp-messages-nav a::before {
  content: "\f0e0";
}
#user-menu li.bp-friends-nav a::before {
  content: "\f500";
}
#user-menu li.bp-groups-nav a::before {
  content: "\f0c0";
}
#user-menu li.bp-forums-nav a::before {
  content: "\f086";
}
#user-menu li.bp-settings-nav a::before {
  content: "\f013";
}
#user-menu li.bp-logout-nav a::before {
  content: "\f2f5";
}

/* Home */
article.eael-grid-post .eael-grid-post-holder-inner .eael-entry-media img {
  border-radius: 15px;
}

@media screen and (min-width: 1600px) {
  article.eael-grid-post .eael-grid-post-holder-inner {
    display: flex;
    align-items: flex-start;
  }
  article.eael-grid-post .eael-grid-post-holder-inner .eael-entry-media {
    width: 50%;
    margin-right: 20px;
  }
  article.eael-grid-post .eael-grid-post-holder-inner .eael-entry-media img {
    width: 100%;
    height: auto;
    border-radius: 15px;
  }
  article.eael-grid-post .eael-grid-post-holder-inner .eael-entry-wrapper {
    width: 50%;
  }
}
.eael-grid-post-holder {
  border: none !important;
}

@media screen and (min-width: 783px) {
  body.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content {
    margin-top: 125px;
  }
}
body.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content h1 {
  color: white;
}

body.single-item.groups #buddypress div#item-header #item-header-cover-image {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}
@media screen and (max-width: 779px) {
  body.single-item.groups #buddypress div#item-header #item-header-cover-image .bp-group-type-list {
    display: block;
  }
  body.single-item.groups #buddypress div#item-header #item-header-cover-image .moderators-lists {
    text-align: center;
  }
  body.single-item.groups #buddypress div#item-header #item-header-cover-image .moderators-lists ul {
    margin: 0;
    padding: 0;
  }
}
@media screen and (min-width: 780px) {
  body.single-item.groups #buddypress div#item-header #item-header-cover-image {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
body.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content,
body.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions {
  margin-top: 0;
  float: none;
  max-width: none;
  width: 100%;
}

.activity-update-form {
  border: none;
  box-shadow: none;
  margin: 0;
}

body.buddypress .buddypress-wrap h1.user-fullname {
  margin: 0;
}
@media screen and (min-width: 783px) {
  body.buddypress .buddypress-wrap h1.user-fullname {
    color: white;
  }
}

#buddypress div#item-header-cover-image h2 a,
#buddypress div#item-header-cover-image h2 {
  text-shadow: none;
  color: #80c8c4;
  font-weight: 400;
  font-size: medium;
}

ul.member-header-actions.action {
  margin: 0;
}

body.buddypress .entry-content,
body.activity .entry-content {
  padding: 0 !important;
}

body.activity .entry-content {
  background-color: transparent;
}

.activity-list.bp-list {
  padding: 0 !important;
  border: none;
  background-color: transparent !important;
}
.activity-list.bp-list .avatar {
  border-radius: 50%;
}
.activity-list.bp-list .activity-item {
  list-style: none;
  margin: 10px 0;
  padding: 0.5em 0;
  position: relative;
  padding: 15px;
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16) !important;
  border-radius: 15px !important;
  padding: 30px;
  margin-bottom: 15px;
  border: none;
}
.activity-list.bp-list .activity-meta.action {
  background-color: transparent;
}

/* GROUPES */
.group-type-etablissement .join-group {
  display: none;
}

.bp-block-group.has-description .bp-profile-button {
  text-align: left;
}
.bp-block-group.has-description .bp-profile-button a.button {
  transition: all ease 0.5s;
  display: block;
  float: none;
  display: inline-block;
  text-decoration: none;
  padding: 5px 15px;
  color: #ffffff;
  background: #0679a8;
  border-radius: 5px;
  font-size: 0.9rem;
}
.bp-block-group.has-description .bp-profile-button a.button:hover {
  background: #80c8c4;
}

.moderators-lists {
  padding: 0 15px;
}

.groups-header .desc-wrap {
  background: transparent;
  border: none;
}

.groups-header .desc-wrap .group-description {
  box-shadow: none;
  background-color: #eef6f7;
}

body.buddypress.bp-user .buddypress-wrap .member-header-actions {
  overflow: visible;
}

.buddypress-wrap .bp-navs li:not(.current) a:focus,
.buddypress-wrap .bp-navs li:not(.current) a:hover,
.buddypress-wrap .bp-navs li:not(.selected) a:focus,
.buddypress-wrap .bp-navs li:not(.selected) a:hover {
  background-color: #80c8c4;
  color: white;
}

.group-create-buttons a {
  padding: 5px 15px;
}

/* members-loop */
.buddypress-wrap .grid.bp-list > li .item-avatar img.avatar {
  width: 25%;
}

.buddypress-wrap {
  padding: 15px;
}

.page-template-membres .entry-content .buddypress-wrap {
  padding: 15px;
}

.member-description {
  font-size: 1rem;
}

/*ALLIANCE */
#buddypress .bp-wrap {
  background-color: white;
  box-shadow: 0 3px 20px rgba(29, 38, 38, 0.0509803922);
}
#buddypress #item-header {
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 3px 20px rgba(29, 38, 38, 0.0509803922);
  overflow-wrap: break-word;
  background-color: white;
  margin-bottom: 0;
}
#buddypress #header-cover-image {
  background: #80c8c4;
  background: linear-gradient(90deg, rgb(128, 200, 196) 0%, #0679a8 100%);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  border: 0;
  display: block;
  left: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.item-entry {
  list-style: none;
  margin: 10px 0;
  padding: 0.5em 0;
  position: relative;
  padding: 15px;
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  border-radius: 15px;
  /* background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(242, 242, 242) 30%); */
}

.elementor-column {
  padding: 15px;
}

.elementor-widget-wrap {
  border-radius: 15px;
  box-shadow: 0 3px 20px rgba(29, 38, 38, 0.0509803922);
  padding: 45px !important;
  background-color: #ffffff;
  overflow: hidden;
}
.elementor-widget-wrap h2,
.elementor-widget-wrap h3,
.elementor-widget-wrap h4,
.elementor-widget-wrap h5,
.elementor-widget-wrap .tribe-events-widget-events-list__header-title {
  font-family: "AvertaPE" !important;
  color: #1d1e1c !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  padding-bottom: 1em !important;
  border-bottom: solid 1px #d9d9d9 !important;
  line-height: 1 !important;
}
.elementor-widget-wrap .elementor-widget ul {
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

.buddypress-wrap .grid.bp-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.buddypress-wrap .grid.bp-list::before {
  content: none;
}
.buddypress-wrap .grid.bp-list li {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 15px !important;
  padding: 0;
}
.buddypress-wrap .grid.bp-list li .list-wrap {
  background-color: transparent;
  border: none;
  margin: 0;
}
@media screen and (min-width: 1240px) {
  .buddypress-wrap .grid.bp-list li {
    width: calc(50% - 15px);
  }
}
@media screen and (min-width: 1366px) {
  .buddypress-wrap .grid.bp-list li {
    width: calc(33.333% - 15px);
  }
}
@media screen and (min-width: 1600px) {
  .buddypress-wrap .grid.bp-list li {
    width: calc(25% - 15px);
  }
}

.entry-content {
  border-radius: 15px;
  box-shadow: 0 3px 20px rgba(29, 38, 38, 0.0509803922);
  padding: 45px !important;
  background-color: #ffffff;
}

code {
  color: white;
  padding: 5px 15px;
  box-shadow: 0 3px 20px rgba(29, 38, 38, 0.0509803922);
  background-color: red;
  font-size: 0.8rem;
}

#bbpress-forums,
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results,
#bbpress-forums ul.bbp-topics {
  font-family: "AvertaPE" !important;
  color: #1d1e1c !important;
  font-size: 1rem !important;
}

/* plugins */
.stratum-advanced-posts__post-wrapper .stratum-advanced-posts__post-thumbnail {
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 16/9;
}
@media screen and (min-width: 1320px) {
  .stratum-advanced-posts__post-wrapper {
    display: flex;
  }
}

/* The events calendar */
.tribe-events * {
  font-family: "AvertaPE" !important;
}

.tribe-common .tribe-common-l-container {
  max-width: none;
}

/* Better messages */
.bm-message-content,
.bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack.bm-left-side .bm-content .bm-messages-listing .bm-message .bm-message-content:not(.bm-hide-background) {
  padding: 15px !important;
  border-radius: 15px !important;
  overflow: hidden;
}

/* docs */
#comments .comment-body {
  border-radius: 15px;
  box-shadow: 0 3px 20px rgba(29, 38, 38, 0.0509803922);
  padding: 45px !important;
  background-color: #ffffff;
  overflow: hidden;
  margin-bottom: 15px;
}

/* JOB BOARD */
.wp-block-post-title a,
.wp-block-post-excerpt__more-link {
  text-decoration: none;
  color: #0679a8;
}

/* Hack */
#change-cover-image-personal-li,
#group-cover-image-groups-li {
  display: none;
}

#backtoblog a:nth-child(1) {
  display: none !important;
}

/* ajustements divers */
.ui-accordion .ui-accordion-header {
  padding-left: 30px !important;
}

.bps-form button,
.bps-form [type=button],
.bps-form [type=reset],
.bps-form [type=submit] {
  padding: 0.5em calc(0.5em + 2px) !important;
  background-color: #0679a8 !important;
  color: white !important;
}

.ui-state-active {
  border-color: #80c8c4 !important;
  color: #80c8c4 !important;
}

.search_results #members-stream .item-entry {
  margin-bottom: 15px;
}
.search_results #members-stream .list-wrap {
  padding: 0 15px;
}/*# sourceMappingURL=style.css.map */