/*
Theme Name: mls
Theme URI: http://underscores.me/
Author: l'Agence secrète
Author URI: http://agencesecrete.com/
Description: Description
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mls
Tags:

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

mls is based on Underscores http://underscores.me/, (C) 2012-2016 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 http://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# General
    ## Normalize
    ## Typography
    ## Elements
    ## Forms
    ## Navigation
        ### Links
        ### Menus
    ## Accessibility
    ## Alignments
    ## Clearings
    ## Content
        ### Posts and pages
        ### Comments
    ## Infinite scroll
    ## Media
        ### Captions
        ### Galleries
# Modules
    ## Module - Layout
    ## Module - Themes
    ## Module - Buttons
# Pages
    ## Front page
    ## Articles
# Templates
    ## Template - Header
    ## Template - Footer
    ## Template - Page
    ## Template - Sidebar
    ## Template - 404
# Template parts
    ## Template - Content
    ## Template - Pagination
# Components
    ## Component - Social-networks
# Plugins
    ## Plugin - SiteOrigin Panels
    ## Plugin - Gravity Form
    ## Plugin - Slick
    ## Plugin - FontAwesome
# Widgets
    ## Widget - Texte
    ## Widget - Vidéo
# Blocs
    ## Bloc - Réalisations intro
# Media Query
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Temporaire
--------------------------------------------------------------*/
.grid {
    min-height: 600px;
}
.acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
	margin: 20px 0;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}


/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

::-moz-selection {
    background: var(--couleur-primaire);
    color: #fff;
}

::selection {
    background: var(--couleur-primaire);
    color: #fff;
}

body.no-scroll {
    position: fixed;
    width: 100%;
    overflow-y: scroll;
}

#loader {
    z-index: 999999;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e4e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: url("../mls/images/loader.svg") 50% 50% no-repeat #fff;*/
}
.loader {
    width: 100px;
    height: 100px;
    background: linear-gradient(
      165deg,
      rgba(255, 255, 255, 1) 0%,
      rgb(220, 220, 220) 40%,
      rgb(170, 170, 170) 98%,
      rgb(10, 10, 10) 100%
    );
    border-radius: 50%;
    position: relative;
  }

  .loader:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 100%;
    border-bottom: 0 solid #ffffff05;
    box-shadow: 0 -10px 20px 20px #ffffff40 inset,
      0 -5px 15px 10px #ffffff50 inset, 0 -2px 5px #ffffff80 inset,
      0 -3px 2px #ffffffbb inset, 0 2px 0px #ffffff, 0 2px 3px #ffffff,
      0 5px 5px #ffffff90, 0 10px 15px #ffffff60, 0 10px 20px 20px #ffffff40;
    filter: blur(2px);
    animation: 1s rotate linear infinite;
  }

  @keyframes rotate {
    100% { transform: rotate(360deg) }
  }
      

/*--------------------------------------------------------------
## Normalize
--------------------------------------------------------------*/
:root {
    --couleur-primaire:#384e4c;
    /*--bluelight: #aeb7be;*/
    /*--bluedark: #1b2f4a;*/
    --boxshadow:-15px 0 30px #b3a7a7;
    --height-header: calc(100vh - 100px);
}

html {
    font-family: "area-normal", sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

abbr[title] {
    border-bottom: 1px dotted;
}

a {
    background-color: transparent;
}

b,
strong {
    /*font-weight: 900;*/
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border-style: none;
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
    line-height: normal;
	margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: none;
    cursor: pointer;
}

button[disabled],
html input[disabled],
input[type="button"][disabled],
input[type="reset"][disabled],
input[type="submit"][disabled] {
    cursor: default;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
    border: 0;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

fieldset {
    border: 1px solid #ccc;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
    border: 0;
	white-space: normal;
}

textarea {
    overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

input[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

small {
    font-size: 80%;
}

big {
    font-size: 125%;
}

/*--------------------------------------------------------------
## Identité, branding
--------------------------------------------------------------*/
.box-shadow {
    box-shadow: var(--boxshadow);
}
.box-shadow-top {
    position:relative;
}
.box-shadow-top::after {
    content:"";
    top:-100px;
    left:0;
    right:0;
    width: 100%;
    box-shadow: 0 0 20px red;
}
.separateur {
    width: 100%;
    height: 2px;
    background-color: #000;
    margin: 5px 0 10px 0;
}
svg.fa-arrow-right-long {
    font-size: 3em;
}
.btn-fleche {
    display: block;
    transition:0.3s;
}
.btn-fleche img {
    width: 70px;
    display: block;
    margin: 20px 0 10px 0;
}



/*--------------------------------------------------------------
## Typography
--------------------------------------------------------------*/

body,
button,
input,
select,
optgroup,
textarea {
    color: #000;
    font-family: "area-normal", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.6em;
}

h1 {
    font-family: "area-normal", sans-serif;
    font-weight: 600;
    font-size: 1.1em;
    line-height: 1;
    color: #fff;
    margin-top: 5px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

h1.h1-alt {
    font-family: "area-normal", sans-serif;
    font-weight: 600;
    font-size: 1.6em;
    line-height: 1.5em;
    text-transform: inherit;
    color: #000;
    margin-top: 5px;
    margin-bottom: 10px;
}

h2 {
    font-family: "area-normal", sans-serif;
    font-weight: 600;
    font-size: 1em;
    letter-spacing: 0px;
    line-height: 1.3em;
    text-transform: uppercase;
    color: #000;
    margin-top: 5px;
    margin-bottom: 10px;
}

h2.h1 {
    position: absolute;
    right: 20px;
    top: 90px;
    color: #fff;
    font-size: 1.1em;
    z-index: 9;
} 

h3 {
    font-family: "area-normal", sans-serif;
    font-weight: 300;
    font-size: 1.4em;
    line-height: 1.5em;
    color: #000;
    margin-top: 5px;
    margin-bottom: 10px;
}

h4 {
    font-family: "area-normal", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.2em;
    line-height: 1.2;
    color: #000;
    margin-top: 5px;
    margin-bottom: 5px;
}

h5 {
    font-family: "area-normal", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.4em;
    line-height: 1.4;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    margin-bottom: 10px;
}

h6 {
    font-family: "area-normal", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1em;
    line-height: 1.4;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    margin-bottom: 10px;
}

p {
    font-family: "area-normal", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.6em;
    margin-bottom: 1.2em;
}

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

blockquote {
    font-style: italic;
    color: #999;
    border-left: solid 5px #ccc;
    padding-left: 1em;
    
    margin: 0 1.5em;
}

address {
    font-style: normal;
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    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;
    font-size: 15px;
    font-size: 0.9375rem;
}

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

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

.vertical-text {
    transform: rotate(-180deg);
    writing-mode: vertical-lr; /* Vertical - Left to Right */
}

/*--------------------------------------------------------------
## Elements
--------------------------------------------------------------*/

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
    background: #fff;
    /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

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: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    width: auto;
   	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
    margin: 1em 0;
    /* Extra wide images within figure tags don't overflow the content area. */
}

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

.gradient-blue {
    background: rgb(0,44,72);
    background: -moz-linear-gradient(124deg, rgba(0,44,72,1) 0%, rgba(0,32,58,1) 49%, rgba(0,16,41,1) 100%);
    background: -webkit-linear-gradient(124deg, rgba(0,44,72,1) 0%, rgba(0,32,58,1) 49%, rgba(0,16,41,1) 100%);
    background: linear-gradient(124deg, rgba(0,44,72,1) 0%, rgba(0,32,58,1) 49%, rgba(0,16,41,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#002c48",endColorstr="#001029",GradientType=1);
}
.gradient-blue-alt {
    background: rgb(0,44,72);
    background: -moz-linear-gradient(281deg, rgba(0,44,72,1) 0%, rgba(0,32,58,1) 49%, rgba(0,16,41,1) 100%);
    background: -webkit-linear-gradient(281deg, rgba(0,44,72,1) 0%, rgba(0,32,58,1) 49%, rgba(0,16,41,1) 100%);
    background: linear-gradient(281deg, rgba(0,44,72,1) 0%, rgba(0,32,58,1) 49%, rgba(0,16,41,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#002c48",endColorstr="#001029",GradientType=1);
}

.box-shadow {
    box-shadow: var(--boxshadow);
}

.mappe-territoire {
    padding:0 40px!important;
}

/*--------------------------------------------------------------
## Forms
--------------------------------------------------------------*/

::-webkit-input-placeholder {
    color: #000;
    font-size: 0.9em;
    opacity: 1;
}

::placeholder {
    color: #000;
    text-transform: uppercase;
    font-size: 0.9em;
    opacity: 1;
    
}

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,
select,
body .gform_wrapper .gform_body .gform_fields .gfield input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
body .gform_wrapper .gform_body .gform_fields .gfield select,
body .gform_wrapper .gform_body .gform_fields .gfield textarea {
    color: #394d4c;
    border:none;
    border-bottom:solid 1px #000;
    border-radius: 0px;
    padding: 16px 12px;
    font-size: 0.9em;
    outline-color:var(--couleur-primaire);
    outline:none;
}

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,
select:focus,
body .gform_wrapper .gform_body .gform_fields .gfield input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus,
body .gform_wrapper .gform_body .gform_fields .gfield select:focus,
body .gform_wrapper .gform_body .gform_fields .gfield textarea:focus {
    color: #111;
}

input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="url"]:disabled,
input[type="password"]:disabled,
input[type="search"]:disabled,
input[type="number"]:disabled,
input[type="tel"]:disabled,
input[type="range"]:disabled,
input[type="date"]:disabled,
input[type="month"]:disabled,
input[type="week"]:disabled,
input[type="time"]:disabled,
input[type="datetime"]:disabled,
input[type="datetime-local"]:disabled,
input[type="color"]:disabled,
textarea:disabled,
select:disabled {
    background-color: #ccc;
}

textarea {
    width: 100%;
}

label {
    color: #000;
    font-size: 1em;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
}

input[type="checkbox"],
input[type="radio"] {
    display: none!important;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
    position: relative;
	padding-left: 2.5em!important;
    
    text-transform: none;
    font-weight: 400;
}

input[type="checkbox"] + label::before,
input[type="radio"] + label::before,
input[type="checkbox"] + label::after,
input[type="radio"] + label::after {
    content: "";
    display: block;
	position: absolute;
	left: 0;
	top: 0;
    width: calc(1em * 1.5 - 1px);
    height: calc(1em * 1.5 - 1px);
	border: 1px solid #000;
    
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

input[type="checkbox"] + label::after,
input[type="radio"] + label::after {
    background-color: #000;
    
    opacity: 0;
}

input[type="checkbox"] + label:hover::before,
input[type="radio"] + label:hover::before {
    border-color: #000;
}

input[type="checkbox"]:checked + label::before,
input[type="radio"]:checked + label::before {
    opacity: 0;
}

input[type="checkbox"]:checked + label::after,
input[type="radio"]:checked + label::after {
    opacity: 1;
}

input[type="radio"] + label::before,
input[type="radio"] + label::after {
	border-radius: 100%;
}

/*--------------------------------------------------------------
## Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
### Links
--------------------------------------------------------------*/

a {
    color: #595151;
    
    outline: 0;
    text-decoration: none!important;
    
    -webkit-transition: color 0.2s;
	-moz-transition: color 0.2s;
	-o-transition: color 0.2s;
	transition: color 0.2s;
}

a:visited {
    color: #000;
}

a:hover,
a:focus,
a:active {
    color: #000;
}

/*--------------------------------------------------------------
### Menus
--------------------------------------------------------------*/

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul {
    display: block;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul li {
    position: relative;
    display: inline-block;
    line-height: 1;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

#menu-menu-principale a {
    display: block;
    transition:1s;
}

#menu-menu-principale a:hover {
    transform: translateX(5px);
    color:var(--couleur-primaire);
    transition:0.3s;
}

.main-navigation ul li a {
    position: relative;
    margin: 0.6em 1.2em;
    
    font-size: 1em;
    font-family: "area-normal", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #000;
    line-height: 1.4;
    text-transform: uppercase;
    outline: 0;
    
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

.main-navigation ul li a::before {
    display: block;
    position: absolute;
    content: '';
    height: 1px;
    bottom: -3px;
    margin: 0 auto;
    left: -0.05rem;
    width: 0;
    background: #000;

    backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    -o-transition: width 0.3s;
    transition: width 0.3s;
}

.main-navigation ul li:hover a::before {
    width: 100%;
}

.main-navigation .sub-menu li a::before {
    content: none;
}

.main-navigation .sub-menu li a:hover {
    color: #848484;
}

.main-navigation ul li a:hover,
.main-navigation ul li a.focus { }

.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-page-item > a,
.main-navigation ul li.current_page_ancestor > a,
.main-navigation ul li.current-menu-ancestor > a { }

.main-navigation ul ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 99999;
    
    min-width: 260px;
    padding-top: 20px;
    background-clip: content-box;
    background-color: #eee;
    
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.main-navigation ul ul li {
    display: block;
}

.main-navigation ul ul li a {
    font-size: 1em;
    padding: 0.8em;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    display: block;
}

.main-navigation ul ul li:hover > a,
.main-navigation ul ul li.focus > a,
.main-navigation ul ul li.current-menu-item > a,
.main-navigation ul ul li.current-page-item > a,
.main-navigation ul ul li.current_page_ancestor > a,
.main-navigation ul ul li.current-menu-ancestor > a {
}

.main-navigation ul ul ul {
    left: 100%;
    top: 0;
    
    margin-left: -1px;
    padding-top: 0;
    background-clip: border-box;
}

.main-navigation .button-sub-menu {
    display: none;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}

/* --- */

.mobile-navigation {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /*text-align: center;*/
    
    position: fixed;
    top: 0;
    right: 0;
    float: none;
    padding: 100px 40px 20px 60px;
    z-index: 998;
    
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.85);
    
    opacity: 0;
    visibility: hidden;
    
    -webkit-transition: opacity 0.3s, visibility 0.3s;
    -moz-transition: opacity 0.3s, visibility 0.3s;
    -o-transition: opacity 0.3s, visibility 0.3s;
    transition: opacity 0.3s, visibility 0.3s;
}

body.menu-opened .mobile-navigation {
    opacity: 1;
    visibility: visible;
}

body.menu-opened .menu-button {
    background:transparent;
}

body.menu-opened .menu-button .menu-bar {
    /*background-color: var(--yellow);*/
}

body.menu-opened .nav-wrap {
    box-shadow: none;
}

body.menu-opened header .reseaux-sociaux-wrap {
    visibility: hidden;
}

body.menu-opened .nav-wrap.fixed {
    background:transparent;
}

.mobile-navigation ul li {
    opacity: 0;
}

.mobile-navigation ul li a {
    position: relative;
    /*padding: 0.6em 0;*/
    
    font-size: 1.4em;
    font-weight: 700;
    line-height: 2.2;
    outline: 0;
    
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

.mobile-navigation ul li a:hover {
    color: #000;
}

.mobile-navigation ul li a:hover {
    color: #000;
}

.mobile-navigation .sub-menu {
    display: none;
}

.mobile-navigation .menu-item.focus > .sub-menu {
    padding: 0;
    margin: 0;
}

.mobile-navigation .menu-item.focus > .sub-menu li {
    list-style: none;
}

.mobile-navigation .menu-item.focus > .sub-menu li a {
    font-size: 1.5em;
    text-transform: none;
}

.mobile-navigation .menu-item-has-children {
    position: relative;
}

.button-sub-menu {
    display: initial;
    position: absolute;
    right: -24px;
    margin: 25px 12px 12px 12px;
}

.button-sub-menu svg {
    color: #000;
    font-size: 1.8em;
}

.mobile-navigation .menu-item.focus > .button-sub-menu  {
    transform: rotate(180deg);
}

.mobile-navigation .menu-item.focus > .sub-menu {
    display: block;
}

/*--------------------------------------------------------------
## Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */

#content[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
## Alignments
--------------------------------------------------------------*/

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

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

/*--------------------------------------------------------------
## Clearings
--------------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/*--------------------------------------------------------------
## Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
### Posts and pages
--------------------------------------------------------------*/

.sticky {
    display: block;
}

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

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

.single-post article .entry-content p:first-child:not(:only-child),
.widget .textwidget p:first-child:not(:only-child) {
    font-size: 1.25em;
}

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

.related-posts {
    margin-top: 60px;
}

/*--------------------------------------------------------------
### Comments
--------------------------------------------------------------*/

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

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
## Infinite scroll
--------------------------------------------------------------*/

/* Globally hidden elements when Infinite Scroll is supported and in use. */

.infinite-scroll .posts-navigation,
/* Older / Newer Posts Navigation (always hidden) */

.infinite-scroll.neverending .site-footer {
    /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */

.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
## 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 embeds and iframes fit their containers. */

embed,
iframe,
object {
    max-width: 100%;
}

/*--------------------------------------------------------------
### 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;
}

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

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Modules
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Module - Layout
--------------------------------------------------------------*/

.gauche,
.left {
    text-align: left;
}

.droite,
.right {
    text-align: right;
}

.centre,
.center {
    text-align: center;
}

.full {
    width: 100%;
    margin-right: auto!important;
    margin-left: auto!important;
}

.boxed-wide {
    width: 100%;
    max-width: 1500px!important;
    margin-right: auto!important;
    margin-left: auto!important;
}

.boxed {
    width: 100%;
    max-width: 1250px;
    margin-right: auto!important;
    margin-left: auto!important;
}

.boxed-half-left {
    margin-left: calc((100vw - 1250px) / 2);
}

.boxed-half-right {
    margin-right: calc((100vw - 1250px) / 2);
}

.gap {
    gap:30px;
}

.layout-flex {    
    display: flex;
    flex-wrap: wrap;
}

.layout-flex > * {
    padding-left: 30px;
    padding-right: 30px;
}

.layout-flex.layout-gapless {
    margin-left: 0;
    margin-right: 0;
}

.layout-flex.layout-gapless > * {
    padding-left: 0;
    padding-right: 0;
}

.layout-flex.layout-full > * {
    flex-grow: 1;
}

.layout-flex.flex-direction-row {
    flex-direction: row;
}

.layout-flex.flex-direction-row-reverse {
    flex-direction: row-reverse;
}

.layout-flex.flex-direction-column {
    flex-direction: column;
}

.layout-flex.flex-direction-column-reverse {
    flex-direction: column-reverse;
}

.layout-flex.flex-wrap {
    flex-wrap: wrap;
}

.layout-flex.flex-wrap-nowrap {
    flex-wrap: nowrap;
}

.layout-flex.align-items-flex-start {
    align-items: flex-start;
}

.layout-flex.align-items-center {
    align-items: center;
}

.layout-flex.align-items-flex-end {
    align-items: flex-end;
}

.layout-flex.justify-content-flex-start {
    justify-content: flex-start;
}

.layout-flex.justify-content-center {
    justify-content: center;
}

.layout-flex.justify-content-flex-end {
    justify-content: flex-end;
}

.layout-flex.flex-direction-row-reverse {
    flex-direction: row-reverse;
}

.layout-flex.justify-content-space-between {
    justify-content: space-between;
}

.layout-flex.justify-content-space-around {
    justify-content: space-around;
}

.layout-flex.justify-content-evenly {
    justify-content: space-evenly;
}

.align-self-flex-start {
    align-self: flex-start;
}

.align-self-center {
    align-self: center;
}

.align-self-flex-end {
    align-self: flex-end;
}

.layout-flex .layout-fit {
    min-width: 0;
    
    -webkit-flex: 1; /* Safari 6.1+ */
    -ms-flex: 1; /* IE 10 */ 
    flex: 1;
}

.layout-flex .layout-max {
    min-width: 0;
    
    -webkit-flex: 1 1 auto; /* Safari 6.1+ */
    -ms-flex: 1 1 auto; /* IE 10 */ 
    flex: 1 1 auto;
}

.layout-flex .layout-min {
    min-width: 0;
    
    -webkit-flex: 0 0 auto; /* Safari 6.1+ */
    -ms-flex: 0 0 auto; /* IE 10 */ 
    flex: 0 0 auto;
}

.layout-100 {
    width: 100%;
}

.layout-95 {
    width: 95%;
}

.layout-90 {
    width: 90%;
}

.layout-85 {
    width: 85%;
}

.layout-80 {
    width: 80%;
}

.layout-75 {
    width: 75%;
}

.layout-70 {
    width: 70%;
}

.layout-66 {
    width: 66.66%;
}

.layout-65 {
    width: 65%;
}

.layout-60 {
    width: 60%;
}

.layout-55 {
    width: 55%;
}

.layout-50 {
    width: 50%;
}

.layout-45 {
    width: 45%;
}

.layout-40 {
    width: 40%;
}

.layout-35 {
    width: 35%;
}

.layout-33 {
    width: 33.33%;
}

.layout-30 {
    width: 30%;
}

.layout-25 {
    width: 25%;
}

.layout-20 {
    width: 20%;
}

.layout-15 {
    width: 15%;
}

.layout-10 {
    width: 10%;
}

.layout-5 {
    width: 5%;
}

/*--------------------------------------------------------------
## Module - Themes
--------------------------------------------------------------*/

/* Dark Theme */

.dark-theme ::-moz-selection {
    background: #fff;
    color: #000;
}

.dark-theme ::selection {
    background: #fff;
    color: #000;
}

.dark-theme,
.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme h5,
.dark-theme h6,
.dark-theme label,
.dark-theme input[type="checkbox"]:checked + label,
.dark-theme input[type="radio"]:checked + label {
    color: #fff;
}
.dark-theme a,
.dark-theme p,
.dark-theme ul,
.dark-theme ol,
.dark-theme span,
.dark-theme svg {
    color: #fff!important;
}

.dark-theme input[type="text"],
.dark-theme input[type="email"],
.dark-theme input[type="url"],
.dark-theme input[type="password"],
.dark-theme input[type="search"],
.dark-theme input[type="number"],
.dark-theme input[type="tel"],
.dark-theme input[type="range"],
.dark-theme input[type="date"],
.dark-theme input[type="month"],
.dark-theme input[type="week"],
.dark-theme input[type="time"],
.dark-theme input[type="datetime"],
.dark-theme input[type="datetime-local"],
.dark-theme input[type="color"],
.dark-theme textarea,
.dark-theme select,
body .dark-theme .gform_wrapper .gform_body .gform_fields .gfield input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
body .dark-theme .gform_wrapper .gform_body .gform_fields .gfield select,
body .dark-theme .gform_wrapper .gform_body .gform_fields .gfield textarea {
    background-color: #fff;
}

.dark-theme input[type="checkbox"] + label::before,
.dark-theme input[type="radio"] + label::before,
.dark-theme input[type="checkbox"] + label::after,
.dark-theme input[type="radio"] + label::after {
    border-color: #fff;
}

.dark-theme input[type="checkbox"] + label::after,
.dark-theme input[type="radio"] + label::after {
    background-color: #fff;
}

/*--------------------------------------------------------------
## Module - Buttons
--------------------------------------------------------------*/

a.btn,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    position:relative;
    display: inline-block;
    padding: 10px 0px;
    
    font-size: 0.9em;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    line-height: 1;
    letter-spacing: 0,5px;
    
    background-color: transparent;
    border-color: transparent;
    color: #000;
    
    transition:0.3s;
}

a.btn-couleur,
a.btn-couleur:visited,
input[type="button"],
input[type="button"]:visited,
input[type="reset"],
input[type="reset"]:visited,
input[type="submit"],
input[type="submit"]:visited {
    color: #000;
    position:relative;
}

a.btn-couleur::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 10px;
    background-color: var(--couleur-primaire);
    bottom: 5px;
    left: 0;
    opacity: 0.8;
    mix-blend-mode: multiply;
    transition:1s;
}

a.btn-couleur:hover::after {
    width: 100%;
    transition:0.3s ease;
}

a.btn-couleur:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background-color: transparent;
    color: #000;
}


a.btn-noir,
a.btn-noir:visited {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

a.btn-noir:hover {
    background-color: transparent;
    color: #000;
}

a.btn-blanc,
a.btn-blanc:visited {
    background-color: transparent;
    border-color: #000;
    color: #000;
}

a.btn-blanc:hover {
    background-color: #000;
    color: #fff!important;
}

a.btn-block {
    display: block;
}

/*--------------------------------------------------------------
# Pages
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Front page
--------------------------------------------------------------*/

.home .nav-wrap {
    position: relative;
}
#intro-home {
    /*height: 50vh;*/
}
.intro-texte .description {
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.6;
}
.introduction {
    width: 100%;
    background:#c8d4fa;
}
.intro-zone-primaire {
    display:flex;
}
.introduction .intro-zone-primaire img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.intro-zone-primaire, .intro-zone-secondaire{
    height: 70vh;
}
.intro-zone-secondaire {
    position:relative;
    padding:40px;
    overflow: hidden;
}
.intro-zone-secondaire h2 {
    font-size: 6em;
    letter-spacing: 0px;
    line-height: 1em;
}
.intro-zone-secondaire img {
    position: absolute;
    bottom: 0;
    right: -90px;
    display: block;
    width: 70%;
    max-width: 600px;
}
.intro-zone-secondaire .description {
    font-weight: 100;;
    margin: 20px 0;
    max-width: 400px;
    width: 100%;
}

/*--------------------------------------------------------------
## Articles
--------------------------------------------------------------*/

.articles {
    margin: 60px 0;
}

/*--------------------------------------------------------------
# Templates
--------------------------------------------------------------*/

.page-header {
    position:relative;
    height: var(--height-header);
    background-color: #d9e4db;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.page-header h1 {
    position:absolute;
    right: 22px;
    top:100px;
}

.page-title {
    margin: 0;
}

/*--------------------------------------------------------------
## Template - Header
--------------------------------------------------------------*/

.nav-wrap {
    position: absolute;
    width: 100%;
    z-index: 999;
    
    padding: 0px;
    background: #fff;
    color: #000;

    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.nav-wrap.fixed {
    position: fixed;
    top: 0;

    background: #fff;
    box-shadow: -1px 6px 40px -2px rgb(0 0 0 / 9%);

    -webkit-animation: slideDown 0.3s;
    -moz-animation: slideDown 0.3s;
    -o-animation: slideDown 0.3s;
    animation: slideDown 0.3s;
}

@keyframes slideDown {
	0% {
		transform: translateY(-100%);
	}
	100% {
		transform: translateY(0);
	}
}

.nav-wrap svg {
    color: #000;
}

.nav-wrap .layout-flex {
    align-items: center;
    justify-content: space-between;
}

.menu-button {
    position: relative;
    z-index: 100000;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: 0;
    background-color:transparent;
    
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    outline: 0;
}
.menu-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    
    /*width: 40px;*/
    height: 40px;
}
.menu-button .menu-bar {
    width: 35px;
    height: 1px;
    background-color: #000;
    margin-bottom: 11px;
    
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}
.menu-button #bar-3 {
    width: 20px;
    margin-left: auto;
    margin-bottom: 0;
}
.menu-button:hover #bar-3 {
    width: 35px;
}
body.menu-opened .menu-button #bar-1 {
	transform: rotate(45deg);
	margin-bottom: -2px;
}
body.menu-opened .menu-button #bar-2 {
	opacity: 0;
    margin: 0;
}
body.menu-opened .menu-button #bar-3 {
    width: 35px;
    transform: rotate(-45deg);
    margin-top: -2px;
}

#logo {
    position: relative;
    z-index: 100000;
    
    width: 100%;
    max-width: 200px;
    min-width: 150px;
    position: absolute;
    top: 7px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 1em;
    
    -webkit-transition: transform 0.3s;
    -moz-transition: transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
}

#logo:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

#logo a {
    display: block;
}

.logo-wrap {
    position:relative;
    padding:0 20px 0 20px;
    height: 60px;
}

#scroll-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    
    z-index: 10000;
    
    opacity: 0;
    visibility: hidden;
    
    -webkit-transition: opacity 0.3s, visibility 0.3s;
    -moz-transition: opacity 0.3s, visibility 0.3s;
    -o-transition: opacity 0.3s, visibility 0.3s;
    transition: opacity 0.3s, visibility 0.3s;
}

#scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

#scroll-top svg {
    color: #fff;
}

#scroll-top a {
    display: block;
    width: 1em;
    height: 1em;
    line-height: 1em;
    outline: none;
    cursor: pointer;
    
    box-sizing: content-box;
    padding: 0.3em;
    font-size: 1.6em;
    
    background-color: rgba(0,0,0,0.7);
    
    -webkit-border-radius: 100%;
    border-radius: 100%;
}

#scroll-top .svg-inline--fa {
    width: 1em;
    vertical-align: top;
}

/*--------------------------------------------------------------
## Template - Footer
--------------------------------------------------------------*/
.site-info {
    /*box-shadow: var(--boxshadow);*/
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
    color: #fff;
}

.site-footer a:hover {
    color: #333;
}

.site-footer .reseau-social a {
    background-color: #fff;
}

.site-footer .reseau-social svg {
    color: #000;
}

footer a {
    color:#000;
}

.footer-wrap {
    height: auto;
    min-height: 300px;
    padding: 80px 0 100px 0;
    position:relative;
    overflow: hidden;
}

.footer-wrap > div {
    position:relative;
    z-index: 1;
}

.footer-wrap .img {
    position:absolute;
    right:0;
    top:0;
    width: 40vw;
    z-index: 0;
}

.footer-logo-wrap {
    width: 100%;
    min-width: 140px;
    max-width: 240px;
    margin-bottom:40px!important;
}

.footer-infos-wrap address p {
    margin-top: 0;
}

.footer-infos-wrap ul {
    font-weight: 500;
    font-size: 0.95em;
    letter-spacing: 0.125em;
}

.footer-infos-wrap li {
    margin-bottom: 1.8em;
    line-height: 1.6;
}

.footer-wrap .reseau-social a {
    background: transparent;
    justify-content: flex-start;
}

.footer-wrap .reseau-social svg {
    font-size: 1.2em;
}

.footer-wrap #menu-liens-utiles {
    display: flex;
    flex-wrap: wrap;
}

.footer-wrap #menu-liens-utiles li {
    width: 50%;
}

.footer-wrap #menu-liens-utiles a {
    position:relative;
    color:var(--yellow);
    display: block;
    font-size: 1.4em;
    transition:0.3s;
    margin:5px 0;
    padding-left: 10px;
    transition:0.3s;  

}
.footer-wrap #menu-liens-utiles a:hover {
    padding-left: 20px;
    transition:0.3s;  
}

.footer-wrap #menu-liens-utiles a::before {
    content:"";
    position:absolute;
    top:13px;
    left:-20px;
    width: 20px;
    height: 1px;
    background:var(--yellow);
    transition:0.3s;
}

.footer-wrap #menu-liens-utiles a:hover::before {
    content:"";
    position:absolute;
    top:13px;
    left:-20px;
    width: 30px;
    height: 1px;
    background:var(--yellow);
    transition:0.3s;
}
.footer-logo-wrap img {
    width: 200px;
}
.footer-infos-wrap {
    font-size:1em;
}

.footer-wrap .os_courriel {
    margin:5px 0;
}

.footer-wrap .os_courriel a {
    font-weight: 700;
}

.footer-info {
    margin-bottom:40px;
}

.footer-navigation li a {
    position:relative;
    font-weight: 700;
    animation-name: traverse;
    animation-iteration-count: 1;
    animation-duration:1s
}

.footer-navigation li a::after {
    content:"";
    position:absolute;
    bottom:-3px;
    left:0;
    height: 1px;
    width: 0%;
    background-color: var(--couleur-primaire);
    opacity:0.7;
    transition:1s;
}
.footer-navigation li a:hover::after {
    width: 100%;
    transition:0.3s;
}

@keyframes traverse {
    0% {}
    50% {.footer-navigation li a::after{width: 100%;} }
    100% {}
}

.footer-navigation li {
    margin: 0 0 10px 0;
}

.copyright-wrap {
    padding: 15px 0;
    background-color: #f2f2f2;
    font-size: 0.7em;
}

.copyright-wrap a:hover {
    color: #000;
}

.os_credit {
    text-align: right;
}

/*--------------------------------------------------------------
## Template - Page
--------------------------------------------------------------*/

article.page .page-content,
article.page .entry-content,
article.page .entry-summary {
    margin-top: 0;
}

/*--------------------------------------------------------------
# Template - Nouvelles
--------------------------------------------------------------*/
.single-post .post-categories {
    display:flex;
    list-style-type: none;
    padding:0;
    margin:0;
}
.single-post .nouvelle-content {
    padding:80px 0;
}
.single-post .post-categories li a {
    position:relative;
    margin-right: 20px;
}
.single-post .post-categories li a::after {
    content:"";
    position: absolute;
    height: 1px;
    width: 0%;
    background-color: #000;
    bottom:-2px;
    left:0;
    transition:1s;
}
.single-post .post-categories li a:hover::after {
    width: 100%;
    transition:0.3s;
}
.single-post .nouvelles-suggerees {
    padding:60px 0;
    min-height: 360px;
}
.single-post .entry-meta {
    margin-bottom: 0em;
}
/*.mini-nouvelle .gap {
    padding-right:60px;
    margin-bottom:80px;
}*/
.mini-derniere-nouvelle.mini-nouvelle {
    padding-right:0px;
    margin-bottom:30px; 
    width: 100%!important;
}
.mini-nouvelle {
    margin-bottom: 30px;
    transition:1s;
}
.mini-nouvelle .btn-fleche {
    display: none;
}
.mini-nouvelle:hover {
    transform:translateY(-10px);
    transition:0.3s;
}
.mini-nouvelle:hover .btn-fleche {
    transform: translateX(20px);
    transition:0.3s;
}
.facetwp-type-pager {
    margin: auto;
    text-align: center;
    padding: 60px 20px;
}
.mini-nouvelle.layout-33 {
    width: calc(33.33% - 30px);
}
.nouvelle-suggere {
    padding:100px 0;
}

/*--------------------------------------------------------------
## Bloc - La dernière nouvelle
--------------------------------------------------------------*/
.derniere-nouvelle {
    padding:100px 0 60px 0
}
.derniere-nouvelle .image, .derniere-nouvelle .mini-nouvelle {
    width: 50%;
}
.derniere-nouvelle-wrap {
    gap: 30px;
}

/*--------------------------------------------------------------
## Bloc - Timeline - Ligne du temps
--------------------------------------------------------------*/
.evenement-single .evenement-image {
    max-width: 600px;
}
.evenement-single .evenement-image img {
    height: 400px;
    width: 100%;
    object-fit: contain;
    object-position: center;
}
.evenement-annee {
    font-size: 1.6em;
    font-weight: 700;
    line-height: 1.6em;
}
.evenement-info {
    padding:0 30px;
}
.slick-arrow.timeline-arrow {
    position: absolute;
    width: 40px;
    display: flex!important;
    align-items: center;
    justify-content: center;
    top: 53%;
    border-radius: 50%;
    transition:0.3s;
}
.slick-arrow.timeline-arrow:hover {
    border-color: var(--couleur-primaire);
    transition:0.3s;
}
.slick-arrow.timeline-arrow.slick-next {
    right: -50px;
}
.slick-arrow.timeline-arrow.slick-prev {
    left: -60px;
}
.ligne-du-temps .boxed-half-left {
    padding-right: 80px;
}
.ligne-du-temps .evenement-description p {
    line-height: 1.6em;
}





/*--------------------------------------------------------------
## Template - Sidebar
--------------------------------------------------------------*/

.sidebar .menu ul li {
    width: 100%;
}

/*--------------------------------------------------------------
## Template - 404
--------------------------------------------------------------*/

section.not-found .entry-content p {
    font-size: 1em;
}

/*--------------------------------------------------------------
# Template parts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Template - Content
--------------------------------------------------------------*/

.entry-thumbnail a {
    display: block;
}

.entry-thumbnail {
    overflow: hidden;
}

.entry-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 300px;  
    object-fit: cover;
    object-position: center;
    overflow: hidden;

    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.entry-thumbnail img:hover {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    margin: 0;
}

.entry-title a {
    color: inherit;
}

.entry-meta {
    margin-bottom: 0.6em;
    line-height: 1;
}

/*.entry-date {
    font-weight: 300;
    font-style: normal;
    font-size: 0.8em;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}*/

.entry-category a,
.entry-tags a {
    display: inline-block;
    font-weight: 300;
    font-style: normal;
    font-size: 0.8em;
    text-transform: uppercase;
    
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.entry-category a:not(:last-child)::after,
.entry-tags a:not(:last-child)::after {
    content: "|";
    display: inline-block;
    margin: 0 0.5em;
}

/*--------------------------------------------------------------
## Template - Pagination
--------------------------------------------------------------*/

.pagination-wrapper {
    margin-top: 3em;
}

.pagination .nav-links {
    text-align: center;
}

.pagination .nav-links ul.page-numbers {
    letter-spacing: 0;
    line-height: 1;
    
    margin: 0;
    padding: 0;
}

.pagination .nav-links li {
    display: inline-block;
    
    margin: 0 0.4em;
    padding: 0;
    
    vertical-align: top;
}

.pagination .nav-links li:first-child {
    margin-left: 0;
}

.pagination .nav-links li:last-child {
    margin-right: 0;
}

.pagination .nav-links li .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.6em;
    height: 1.6em;
    font-size: 1.2em;
    line-height: 0em;
    position: relative;
    
    color: #000;
    font-weight: 400;
    
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

.pagination .nav-links li .page-numbers::after {
    content: '';
    position: absolute;
    border: 2px solid #000;
    border-radius: 50%;
    width: 1.6em;
    height: 1.6em;

    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

.pagination .nav-links li .page-numbers.current::after {
    border-color: #848484;
}

.pagination .nav-links li .page-numbers.next::after,
.pagination .nav-links li .page-numbers.prev::after {
    content: none;
}

.pagination .nav-links li .page-numbers:hover,
.pagination .nav-links li .page-numbers:focus {
    color: #848484;
}

.pagination .nav-links li .page-numbers:hover::after,
.pagination .nav-links li .page-numbers:focus::after {
    border-color: #848484;
}

.pagination .nav-links li .page-numbers.current,
.pagination .nav-links li .page-numbers.current:hover,
.pagination .nav-links li .page-numbers.current:focus {
    border-color: #848484;
    color: #848484;
}

.pagination .nav-links li .page-numbers.prev,
.pagination .nav-links li .page-numbers.next {
    background-color: transparent;
    border-color: transparent;
    color: #000;
}

.pagination .nav-links li .page-numbers.prev svg,
.pagination .nav-links li .page-numbers.next svg {
    height: 2em;
    width: 0.5em;
    
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

.pagination .nav-links li .page-numbers.prev:hover .icon {
    -webkit-transform: translateX(-0.2em);
    -moz-transform: translateX(-0.2em);
    -o-transform: translateX(-0.2em);
    transform: translateX(-0.2em);
}

.pagination .nav-links li .page-numbers.next:hover .icon {
    -webkit-transform: translateX(0.2em);
    -moz-transform: translateX(0.2em);
    -o-transform: translateX(0.2em);
    transform: translateX(0.2em);
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Component - Social-networks
--------------------------------------------------------------*/

.reseaux-sociaux-wrap {
    display: inline-flex;
}

header .reseaux-sociaux-wrap {
    display: flex;
    margin: 0 40px;
}

header .reseaux-sociaux-wrap .reseau-social {
    margin: 8px 15px 8px 0;
}

.reseau-social {
    font-size: 1.6rem;
    margin: 0 0.25em 0 0;
}

.reseau-social:last-child {
    margin: 0;
}

.reseau-social .icon {
    line-height: 0;
}

.reseau-social a {
	display: flex;
    justify-content: center;
    align-items: center;
    
	width: 1em;
	height: 1em;
    font-size: 1em;
    
    /*border-radius: 100%;*/
    /*background-color: #000;*/
    
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    -o-transition: -o-transform 0.3s;
    transition: transform 0.3s;
}

.reseau-social:hover a {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.reseau-social svg {
    color: #000;
}

.entry-shares {
    display: flex;
    align-items: center;
}

.partage-mention-texte {
    font-size: 0.8em;
    font-weight: 400;
    text-transform: uppercase;
} 
.partage-separateur {
    display: flex;
    align-items: center;
    justify-content: center;
    
} 
.partage-separateur .ligne {
    width: 60px;
    height: 1px;
    background-color: #000;
    margin:0 5px 0 15px;
}


/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Plugin - SiteOrigin Panels
--------------------------------------------------------------*/

.panel-grid {
    margin-right: 0px!important;
    margin-left: 0px!important;
    padding-left: 0px!important;
    padding-right: 0px!important;
}

.panel-row-style:not(.background-display-tile) {
    background-repeat: no-repeat;
}

.panel-row-style.background-display-auto {
    background-size: auto auto;
}

.panel-row-style.background-display-cover {
    background-size: cover;
}

.panel-row-style.background-display-contain {
    background-size: contain;
}

.panel-row-style.background-display-stretch {
    background-size: 100% 100%;
}

.panel-row-style.background-display-full-width {
    background-size: 100% auto;
}

.panel-row-style.background-display-full-height {
    background-size: auto 100%;
}

.panel-row-cell-width-auto > .panel-grid-cell {
    width: auto!important;
}

/*--------------------------------------------------------------
## Plugin - Gravity Form
--------------------------------------------------------------*/

/**
 * CSS Targeting Examples
 * https://docs.gravityforms.com/css-targeting-examples/
 */

/**
 * Form Wrapper
 *
 * Contains the entire Gravity Form
 */

body .gform_wrapper {
    margin: 1rem 0;
}

body .gform_wrapper .gform_ajax_spinner {
    width: auto;
    position: absolute;
    right: -26px;
    top: calc(50% - 8px);
}

/**
 * Form Body
 */

/* Form List Items */
/* Individual list items containing each form element */

body .gform_wrapper .gform_body .gform_fields .gfield {
    display: inline-block;
    width: 100%;
    
    margin-top: 0.5rem!important;
    margin-bottom: 0.5rem!important;
    padding-left: 0!important;
    padding-right: 0!important;
}

body .gform_wrapper .gform_body .gform_fields .gfield::before {
    content: none!important;
}

body .gform_wrapper .gform_body .gform_fields .gfield input {
    padding: 10px 6px!important;
}
    
body .gform_wrapper .gform_body .gform_fields .gfield.gf_left_half,
body .gform_wrapper .gform_body .gform_fields .gfield.gf_right_half {
    max-width: calc(50% - 1.75rem)!important;
}

body .gform_wrapper .gform_body .gform_fields .gfield.gf_left_half {
    margin-right: 1.75rem!important;
}

body .gform_wrapper .gform_body .gform_fields .gfield.gf_right_half {
    margin-left: 1.75rem!important;
}

body .gform_wrapper .gform_body .gform_fields .gfield.gf_left_third,
body .gform_wrapper .gform_body .gform_fields .gfield.gf_middle_third,
body .gform_wrapper .gform_body .gform_fields .gfield.gf_right_third {
    max-width: calc(33.3% - 1.75rem)!important;
}

body .gform_wrapper .gform_body .gform_fields .gfield.gf_left_third,
body .gform_wrapper .gform_body .gform_fields .gfield.gf_middle_third {
    margin-right: 1.75rem!important;
}
body .gform_wrapper .gform_body .gform_fields .gfield.gf_middle_third,
body .gform_wrapper .gform_body .gform_fields .gfield.gf_right_third {
    margin-left: 1.75rem!important;
}

body .gform_wrapper .gform_body .gform_fields .gfield.field_admin_only {
    display: inline!important;
    margin-top: 0!important;
    margin-bottom: 0!important;
}

/* Input Field Container */
/* Wraps the actual form element inside the containing list item */

body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container {
    margin-top: 0!important;
    line-height: 0;
}

/* Input Field Description Container */
/* Contains the field description inside the containing list item */

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_description {
    font-size: 0.6rem;
    padding-right: 1rem!important;
}

body .gform_wrapper .gform_body .gform_fields .gfield.field_description_below .gfield_description {
    margin-top: 0.5rem;
    padding-top: 0;
}

/* Standard Field Label */

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label {
    display: inline-block;
    margin-top: 0!important;
    margin-bottom: 1rem;
    font-size: 12px;
}

body .gform_wrapper .gform_body .gform_fields .gfield_checkbox label,
body .gform_wrapper .gform_body .gform_fields .gfield_radio label {
    font-size: 0.95rem;
}

body .gform_wrapper .gform_body .gform_fields .gfield_radio label {
    margin: 0;
}

/* Required Field Indicator (Asterisk) */

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label .gfield_required {
    color: #e00000;
}
.gfield_required_text {
    display: none!important;
}

/**
 * Standard Fields
 */

/* Text Field */

body .gform_wrapper .gform_body .gform_fields .gfield.hidden_label input {
    margin-top: 0;
}

body .gform_wrapper .gform_body .gform_fields .gfield input[type=text] {
    max-width: 100%;
    margin-bottom: 0;
}

/* Textarea Field */

body .gform_wrapper .gform_body .gform_fields .gfield textarea {
    margin-bottom: 0;
}

/* Select Field */

body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_select {
    white-space: nowrap;
}

body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_select::after {
	content: "\f107";
	display: none;
    font-family: "Font Awesome 5 Pro";
	font-weight: 300;
}

body .gform_wrapper .gform_body .gform_fields .gfield select::-ms-expand {
    display: none;
}

body .gform_wrapper .gform_body .gform_fields .gfield select {
    white-space: normal;
    
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    
    padding-right: 26px!important;
}

body .gform_wrapper .gform_body .gform_fields .gfield select + .svg-inline--fa[data-fa-pseudo-element=":after"] {
    position: relative;
	right: 20px;
	top: 4px;
	color: #000;
	font-size: 26px;
    pointer-events: none;
    
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
}

body .gform_wrapper .gform_body .gform_fields .gfield select:focus + .svg-inline--fa[data-fa-pseudo-element=":after"],
body .gform_wrapper .gform_body .gform_fields .gfield select:focus:hover + .svg-inline--fa[data-fa-pseudo-element=":after"] {
    color: #000;
    
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

/* Checkbox and Radio Field */

body .gform_wrapper ul.gfield_checkbox li input[type=checkbox]:checked + label,
body .gform_wrapper ul.gfield_radio li input[type=radio]:checked + label {
    font-weight: normal;
}

/**
 * Form Footer
 */

/* Form Footer */
/* Contains the submit button and admin edit link */

body .gform_wrapper .gform_footer {
    position: relative;
    margin-top: 1rem;
    padding: 1rem 0 0.8rem 0;
}

/* Submit button */

body .gform_wrapper .gform_footer input[type=submit] {
    display: block;
    float:right;
    color:#fff;
    background-color:#394d4c;
    padding:10px 80px;
    transition:0.3s;
}

body .gform_wrapper .gform_footer input[type=submit]:hover {
    color:#fff;
    background-color:#000;
    transition:0.3s;
}

.gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
    float: right;
}

/**
 * Validation Errors
 */

/* Validation - Error Message */

.gform_wrapper .gform_validation_errors {
    background: none!important;
    border: none!important;
    box-shadow: none!important;
    padding: 0!important;
}

body .gform_wrapper .validation_error {
    color: #e00000!important;
    border: 0!important;
    padding: 0 0 0 60px!important;
    width: calc(100% - 16px)!important;
    text-align: left!important;
    position: relative;
    font-weight: normal!important;
    position: relative;
    display:none;
}

.gform_wrapper.gravity-theme .gfield_validation_message, .gform_wrapper.gravity-theme .validation_message {
    background: transparent!important;
    border: 0px solid #c02b0a!important;
    margin-top: 10px;
    padding: 5px 0!important;
    font-size: 0.7em!important;
}

body .gform_wrapper .validation_error::before {
    display: none;
    content: "\f057";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
}

body .gform_wrapper .validation_error .svg-inline--fa {
    position: absolute;
    top: calc(50% - 0.5em);
    left: 0;
    font-size: 2.5em;
}

/* Validation – Error Container */
/* Individual list items containing inputs with invalid values */

body .gform_wrapper .gform_body .gform_fields .gfield_error {
    background-color: transparent;
    border: 0;
    padding-top: 0;
    padding-bottom: 0;
}

body .gform_wrapper.gform_validation_error .gform_body .gform_fields .gfield.gfield_error:not(.gf_left_half):not(.gf_right_half) {
    max-width: 100%!important;
}

/* Validation – Error Description Message */
/* Description/error message below inputs with invalid values */

body .gform_wrapper .gfield_validation_message,
body .gform_wrapper .validation_message {
    color: #e00000;
    font-size: 12px!important;
    margin-top: 0.5rem;
    padding: 0;
    border: none;
    background-color: transparent;
}

/* Validation – Error Field Label */

body .gform_wrapper .gform_body .gform_fields .gfield_error .gfield_label {
    color: #e00000;
}

/* Validation – Error Fields */

body .gform_wrapper .gform_body .gform_fields .gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
body .gform_wrapper .gform_body .gform_fields .gfield_error textarea,
body .gform_wrapper .gform_body .gform_fields .gfield_error select {
    border-color: #e00000;
}

/*--------------------------------------------------------------
## Plugin - Slick
--------------------------------------------------------------*/

.slick {
    position: relative;
    line-height: 1;
}

.slick-track {
    margin-left: 0;
    margin-right: 0;
}

.slick-arrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1em;
    height: 1em;
    font-size: 1em;
    position: absolute;
    bottom: -57px;
    height: 40px;
    width: 50%;
    border:solid 1px #ccc;
    -webkit-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    transform: translate(0, -50%);
    
    color: #000;
    background: transparent;
    cursor: pointer;
    z-index: 1;
}

.slick-prev {
    /*left: -1.65em;*/
    left:0;
}
.slick-next {
    /*right: -1.65em;*/
    right: 0;
}

.slick-prev .icon,
.slick-next .icon {
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

.slick-prev:hover .icon {
    -webkit-transform: translateX(-5px);
    -moz-transform: translateX(-5px);
    -o-transform: translateX(-5px);
    transform: translateX(-5px);
}

.slick-next:hover .icon {
    -webkit-transform: translateX(5px);
    -moz-transform: translateX(5px);
    -o-transform: translateX(5px);
    transform: translateX(5px);
}

.slick-dots {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
    position: absolute;
    bottom: 10px;
    font-size: 0;
    z-index: 1;
}

.slick-dots li {
    display: inline-block;
    margin: 4px;
}

.slick-dots li button {
    background-color: transparent;
    border: 2px solid #000;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    font-size: 0;
    margin: 0;
    padding: 0;
    outline: 0;
    -webkit-appearance: none;
    cursor: pointer;
    
    -webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;	
}

.slick-dots li button:hover,
.slick-dots li.slick-active button {
    background-color: #000!important;
}

/*--------------------------------------------------------------
## Plugin - FontAwesome
--------------------------------------------------------------*/

ul.fa-ul {
    text-align: initial;
    margin-left: 2em;
}

span.fa-li {
    left: -2em;
    width: 2em;
    text-align: left;
}

span.fa-li .svg-inline--fa {
    color: currentColor;
    font-size: 1.2em;
    vertical-align: text-bottom;
}

/*--------------------------------------------------------------
# Plugins - FacetWP Map
--------------------------------------------------------------*/

.facetwp-map-filtering { 
    display: none; 
}

.fs-wrap.multiple .fs-option.selected .fs-checkbox i {
    background-color: var(--couleur-primaire)!important;
}

.fs-label-wrap {
    position: relative;
    background-color: #fff;
    border: 0px solid #ddd!important;
    border-bottom: 1px solid #000!important;
    cursor: default;
}

.fs-label-wrap .fs-label {
    padding: 6px 22px 6px 0px!important;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.widget {
    margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */

.widget select {
    max-width: 100%;
}

.widget ul.menu {
    text-align: initial;
    list-style: none;
}

.widget ul.menu li {
    margin: 2em 0;
}

.widget ul.menu li:first-child {
    margin-top: 0;
}

.widget ul.menu li:last-child {
    margin-bottom: 0;
}

.widget ul.menu li a {
    display: block;
}

/*--------------------------------------------------------------
## Widget - Texte
--------------------------------------------------------------*/

.texte-generique-wrapper .texte-generique-content p:first-child {
    margin-top: 0;
}

/*--------------------------------------------------------------
## Widget - Video
--------------------------------------------------------------*/

/* This element defines the size the iframe will take. In this example we want to have a ratio of 16:9 */
.mls_widget_video .video-player {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* ( 9 / 16 ) * 100 */
    overflow: hidden;

    border: 1px solid #cccccc;

    -webkit-border-radius: 1rem;
    border-radius: 1rem;

    /* Fix overflow issue with border radius in safari */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mls_widget_video .video-player[data-video-ratio="16-9"] {
    padding-bottom: 56.25%; /* ( 9 / 16 ) * 100 */
}

.mls_widget_video .video-player[data-video-ratio="2_35-1"] {
    padding-bottom: 42.55%; /* ( 1 / 2.35 ) * 100 */
}

/* Adjust the iframe so it's rendered in the outer-width and outer-height of it's parent */
.mls_widget_video .video-player > * {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;

    -webkit-transition: opacity 0.1s;
    -moz-transition: opacity 0.1s;
    -o-transition: opacity 0.1s;
    transition: opacity 0.1s;
}

.mls_widget_video .video-player[data-video-state="ended"] > * {
    -webkit-transition: opacity 0;
    -moz-transition: opacity 0;
    -o-transition: opacity 0;
    transition: opacity 0;
}

.mls_widget_video .video-player .video-controller {
    cursor: pointer;
    z-index: 99;
}

.mls_widget_video .video-player .video-iframe-wrapper {
    pointer-events: none;
}

.mls_widget_video .video-player .video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 1;
}

.mls_widget_video .video-player .video-iframe * {
    width: 100%!important;
    height: 100%!important;
}

.mls_widget_video .video-player .video-thumbnail {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    z-index: 5;
}

.mls_widget_video .video-player .video-overlay {
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: rgba(0, 0, 0, 0.3);
    z-index: 10;

    cursor: pointer;   
}

.mls_widget_video .video-player .video-overlay-button {
    width: 200px;
    height: 200px;

    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;

    pointer-events: none;

    -webkit-transition: transform 0.2s;
    -moz-transition: transform 0.2s;
    -o-transition: transform 0.2s;
    transition: transform 0.2s;
}

.mls_widget_video .video-player[data-video-state="unstarted"] .video-overlay-button {
    background-image: url('images/mediaplayer/play-button.svg');
}

.mls_widget_video .video-player[data-video-state="paused"] .video-overlay-button {
    background-image: url('images/mediaplayer/pause-button.svg');
}

.mls_widget_video .video-player[data-video-state="buffering"] .video-overlay-button {
    background-image: url('images/mediaplayer/loading-button.svg');
}

.mls_widget_video .video-player:hover .video-overlay-button {
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95);

    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2;
    transition: 0.2s;
}

.mls_widget_video .video-legende {
    margin: 2rem 0 0;
}

/**
 * YouTube workaround to hide the media player UI components.
 * The frame is stretch beyond it's parent that hide everything that overflow.
 */

.mls_widget_video .video-player[data-video-domain="youtube"] .video-iframe {
    bottom: 0;
    margin: auto;
    height: 200%;
}

/**
 * Facebook workaround to keep custom styles on the player while allowing audio when starting the video.
 * The default behavior with the controller is disabled temporarily before the video is started.
 * This force the interaction with the media player while preventing access the UI components.
 * This is done because Google Chrome prevent the browser to start a video programmatically. The event must be triggered by the user.
 * The custom controller is reactivated after the initial interaction to keep custom styles.
 */

.mls_widget_video .video-player[data-video-domain="facebook"][data-video-state="unstarted"] > * {
    pointer-events: none;
}

.mls_widget_video .video-player[data-video-domain="facebook"][data-video-state="unstarted"] .video-iframe-wrapper {
    pointer-events: all;
}

.mls_widget_video .video-player[data-video-domain="facebook"][data-video-state="unstarted"] .video-iframe-wrapper::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 99;
    cursor: pointer;
}

/*--------------------------------------------------------------
# Blocs
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Bloc - Texte générique
--------------------------------------------------------------*/
.bloc-texte-generique p:first-child {
    font-size: 1.7em;
    font-weight: 300;
    line-height: 1.6;
}

/*--------------------------------------------------------------
# Bloc - Services
--------------------------------------------------------------*/
.services-liste {
    margin-bottom:80px!important;
}
.service-single {
    padding:20px 30px;
}
.service-single h3 {
    font-weight: 700;
}

/*--------------------------------------------------------------
# Bloc - Membre
--------------------------------------------------------------*/
.membre-single .photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
}
.membre-single {
    margin-bottom:40px;
}
.membre-single .membre-info {
    padding:15px 10px;
    margin-bottom:5px;
}
.membre-single h3 {
    font-weight: 600;
    margin-bottom:0px;
}
.membre-single .poste {
    color:var(--couleur-primaire);
    /*background-color: var(--couleur-primaire);*/
    font-size: 0.9em;
    font-weight: 700;
    text-transform: uppercase;
    padding:0px 10px;
    display:inline-block;
    margin-bottom:5px;
}
.membre-single .courriel {
    font-weight: 600;
    font-size: 0.8em;
}
.membre-single .telephone {
    font-weight: 100;
    font-size:0.8em;
}

/*--------------------------------------------------------------
# Bloc - Carrières en manchette
--------------------------------------------------------------*/
.single-mini-carriere .emplacement {
    margin-bottom:0px;
}
.single-mini-carriere .emplacement {
    font-size: 0.7em;
    text-transform: uppercase;
    font-weight: 500;
    margin-right: 10px;
}
.single-mini-carriere .statut {
    font-size: 0.7em;
    text-transform: uppercase;
    font-weight: 300;
}
.single-mini-carriere .btn-fleche {
    display:none;
}
a.bouton-fleche img {
    height: 25px;
    width: auto;
}
.fleches {
    display:flex;
    justify-content: flex-end;
    width: 70px;
    height: auto;
    overflow:hidden;
}
.fleches img {
    padding-left: 10px;
    transition:0.3s;
}
.single-mini-carriere:hover .fleches img {
    display: block;
    transform:translateX(70px);
    transition:0.3s;
}
.single-mini-carriere {
    transition:1s;
    margin-bottom:30px;
}

.single-mini-carriere:hover {
    transform:translateY(-5px);
    display: block;
    transition:0.3s;
}
.gform-body input::placeholder {
    line-height: 1.6em;
    min-height: 60px;
    display: flex;
    align-items: center;
    padding-top: 10px;
}


/*--------------------------------------------------------------
# Bloc - Carrières
--------------------------------------------------------------*/
.carrieres-wrap .layout-50 {
    width: calc(50% - 30px);
}
.carrieres-wrap .single-mini-carriere {
    margin-bottom:0px;
} 

/*--------------------------------------------------------------
## Yumpu - Magazine virtuel - 60 ans d'architecture
--------------------------------------------------------------*/
.yumpu-container {
    margin-right: 60px;
    height: 100%;
}

.yumpu-container img {
    width: 100%;
    height: 100%;
}

.embed-container {
    width: 100%;
    height: 100%;
}

.embed-container iframe {
    height: 100%;
    width: 100%;
    min-height: 590px;
}



/*--------------------------------------------------------------
## Bloc - Nouvelles en manchettes
--------------------------------------------------------------*/
/*.layout-flex-gap {
    width: 100%;
    display: flex;
    gap: 30px;
}*/
.categories {
    text-transform: uppercase;
    font-weight: 600;
}
.categories, .date {
    font-size: 0.9em;
    line-height: 1em;
    display: flex;
    align-items: center;
}

/*--------------------------------------------------------------
# Bloc - Réalisations preview - aperçu
--------------------------------------------------------------*/
.grid-item { 
    width: 33%; 
}
.realisation-preview {
    padding: 0 40px 20px 40px;
    transition:1s ease;
}
.realisation-preview:hover {
    transform: scale(1.01);
    transition:0.3s ease;
}
.realisation-preview .image-a-la-une {
    transition:1s;
}
.realisation-preview .titre {
    transition:1s;
}
.realisation-preview h4 {
    font-size: 1em;
    font-weight: 400;
}
.realisation-preview:hover .image-a-la-une {
    transform:translateY(-10px);
    transition:0.3s;
}
.realisation-preview:hover .titre {
    transform:translateY(-8px);
    transition:1.5s;
}

/*--------------------------------------------------------------
# Bloc - Réalisations
--------------------------------------------------------------*/
#Filtres, #filtres {
    font-size: 0.8em;
    padding:10px 0;
    box-shadow: var(--boxshadow);
    display:flex;
    justify-content: center;
}
#Filtres .facetwp-display-value {
    position:relative;
    padding:0 2px!important;
}
#Filtres .facetwp-display-value::after {
    content:"";
    position:absolute;
    height: 1px;
    width: 0%;
    background-color: #000;
    bottom:-3px;
    left:0;
    transition:1s;
}
#Filtres .facetwp-display-value:hover::after {
    width: 100%;
    transition:0.3s;
}
#Filtres .checked .facetwp-display-value::after {
    width: 100%;
}
#Filtres .facetwp-facet {
    display: flex;
}
#Filtres .facetwp-counter {
    display:none;
}
#Filtres .facetwp-checkbox {
    background: none!important;
    background-size: 14px 14px;
    margin-bottom: 4px;
    padding-left: 20px;
    cursor: pointer;
}
.listing-realisations {
    padding-top: 100px;
}
.listing-realisations .layout-33 {
    padding-right: 30px;
    padding-left: 30px;
}
/*
.defileur {
    border-top: solid 1px #000;
    border-bottom: solid 1px #000;
    padding: 15px 0 20px 0;
    height: 120px;
    display: flex;
    align-items: center;
    line-height: 1em;
    margin-bottom: 100px!important;
}
.marquee {
    color:#000;
    margin: 0 auto;
    font-size: 3em;
    line-height: 1em;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 10s linear infinite;
}

.marquee2 span {
    animation-delay: 5s;
}*/

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}




/*--------------------------------------------------------------
# Template - Réalisation single
--------------------------------------------------------------*/
.single-realisation .realistion-single-slideshow {
    height: var(--height-header);
}
.single-realisation .realisation-info span {
    font-weight: 700;
    margin-right: 5px;
}
.single-realisation .realisation-description {
    padding:100px 0;
}
.single-realisation .realisation-description .description{
    margin-bottom:30px;
}
.single-realisation .slick-track {
    height: var(--height-header);
}
.single-realisation .slick-track img {
    object-fit: cover;
    object-position: center;
}
.single-realisation .images-verticale div:first-child {
    padding-right: 20px;
}
.single-realisation .realisation-image {
    line-height: 0;
    margin-bottom:20px;
}
.single-realisation .realisation-image {
    line-height: 0;
    margin-bottom:20px;
}
.single-realisation .realisation-images img {
    width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: cover;
    object-position: center;
}
.single-realisation .realisation-images .realisation-image-verticale img {
    height: 100%;
    max-height: 70vh;
}
.single-realisation .realisation-suggere {
    padding:80px 0 80px 0;
    min-height: 400px;
}
.single-realisation .realisation-wrap {
    padding-bottom: 80px;
}
.single-realisation .realisation-suggere img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.single-realisation .realisation-suggere  .realisation-preview {
    padding: 10px;
}

/*--------------------------------------------------------------
# Template - Carrière single
--------------------------------------------------------------*/
#carriere-info-intro {
    font-size: 0.8em;
    padding: 10px 0;
    box-shadow: var(--boxshadow);
    font-size: 0.8em;
    text-transform: uppercase;
}

#carriere-info-intro .emplacement {
    font-weight: 700;
    margin-right: 20px;
}

.single-carriere .carriere-description, .single-carriere .carriere-form-wrap {
    padding: 100px 0;
}
.single-carriere .carriere-description .description {
    margin-bottom:40px;
}
.carriere-description h2 {
    font-weight: 700;
}

.single-carriere .carriere-specifications {
    margin-bottom:30px;
}
.single-carriere .specification-unique {
    margin-bottom:5px;
}


/*--------------------------------------------------------------
## Bloc - Galerie photos 
--------------------------------------------------------------*/
.section-slider {
    position: relative;
}

.section-slider .slider-images img {
    object-fit: cover;
    object-position: center;
    height: 90vh;
    width: 100%;
}

.widget_image_slideshow .section-slider {
    position: relative;
    overflow: hidden;
}

.slider-arrows-carousel {
    position: absolute;
    height: 90vh;
    width: 100%;
    top: 0;
}

.carousel-left-section,
.carousel-right-section {
    position: absolute;
    height: 100%;
    width: 50%;
    z-index: 2;
    border:0;
}

.carousel-left-section {
    left: 0;
    cursor: none;
    overflow: hidden;
    bottom:-45vh;
}

.carousel-right-section {
    right: 0;
    cursor: none;
    overflow: hidden;
    bottom:-45vh;
}

.carousel-left-arrow {
    position: absolute;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    max-width: 40px;
}
 
.carousel-right-arrow {
    position: absolute;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    max-width: 40px;
}

.widget_image_slideshow .slide-image {
    height: 90vh;
}

.widget_image_slideshow .slide-image img {
    position: relative;
    display: block;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/

@media (max-width: 1350px) {
    .slick-prev {
        left: 0;
    }

    .slick-next {
        right: 0;
    }
    
    .boxed,
    .boxed-wide {
        padding-left: 30px!important;
        padding-right: 30px!important;
    }

    header .reseaux-sociaux-wrap {
        top: 160px;
        right: 30px;
    }
    .ligne-du-temps .boxed-half-left {
        margin: auto;
        max-width: 80%;
        padding-right: 0;
    }
    /*.slick-arrow.timeline-arrow {
        display: none;
    }*/
    
}

@media (max-width: 1250px) {

    h3 {
        font-size: 1.4em;
    }

    .bloc-texte-generique, .nouvelles-en-manchette, .carrieres-en-manchette, .afficher-carrieres   {
        padding-right:30px!important;
        padding-left:30px!important;
    }

    /*.grid-item { 
        width: 300px; 
    }*/

    .membre-single.layout-25 {
        width: 33.33%!important;
    }
    .realisation-suggere .layout-flex > * {
        padding-right: 0;
        padding-left:0;
    }
    h2.wp-block-heading {
        padding-left: 30px;
        padding-right: 30px;
    }
    d
}

@media (max-width: 1024px) {

    h3 {
        font-size: 1.2em;
    }

    .main-navigation ul li a {
        padding: 10px 10px;
        font-size: 14px;
    }

    header .reseaux-sociaux-wrap {
        display: none;
    }

    .single-realisation #Filtres, .single-realisation #filtres {
        justify-content: center;
        flex-direction: column;
        padding: 30px 0;
    }

    #Nouvelles .mini-nouvelle {
        width: 47%;
    }
}

@media (max-width: 960px) {
    .main-navigation {
        display: none;
    }
    #intro-home .slick-arrow {
        display: none;
    }
    .membre-single.layout-25 {
        width: 50%!important;
    }
    .page-header {
        height: calc(70vh - 100px);
    }

@media (max-width: 820px) {
    .footer-layout, .footer-info {
        flex-direction: column;
        justify-content: center;
    }
    .footer-wrap {
        padding: 80px 0 80px 0;
    }
    .single-realisation .realisation-suggere .realisation-preview {
        padding: 10px 0px;
    }
}

@media (max-width: 768px) {
    
    h4 {
        /*font-size: 1em;*/
    }
    
    .layout-flex .layout-100,
    .layout-flex .layout-95,
    .layout-flex .layout-90,
    .layout-flex .layout-85,
    .layout-flex .layout-80,
    .layout-flex .layout-75,
    .layout-flex .layout-70,
    .layout-flex .layout-66,
    .layout-flex .layout-65,
    .layout-flex .layout-60,
    .layout-flex .layout-55,
    .layout-flex .layout-50,
    .layout-flex .layout-45,
    .layout-flex .layout-40,
    .layout-flex .layout-35,
    .layout-flex .layout-33,
    .layout-flex .layout-30,
    .layout-flex .layout-25,
    .layout-flex .layout-20,
    .layout-flex .layout-15,
    .layout-flex .layout-10,
    .layout-flex .layout-5 {
        width: 100%;
    }
    
    #logo {
        /*max-width: none;
        min-width: auto;
        width: 50px;*/
    }
    
    .nav-wrap.fixed {
        position: fixed;
    }
    
    .menu-button {
        display: block;
    }

    h1.entry-title {
        text-align: center;
    }
    
    .site-footer {
        text-align: center;
    }

    .site-footer .widget ul.menu {
        display: inline-block;
    }

    .footer-logo-wrap {
        margin: 0 auto;
    }

    .copyright-wrap,
    .os_credit {
        text-align: center;
    }
    
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_left_half,
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_right_half {
        max-width: calc(50% - 1em)!important;
    }
    
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_left_half,
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_left_third,
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_middle_third {
        margin-right: 1em!important;
    }

    body .gform_wrapper .gform_body .gform_fields .gfield.gf_right_half,
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_middle_third,
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_right_third {
        margin-left: 1em!important;
    }
    
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_left_third,
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_middle_third,
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_right_third {
        max-width: calc(33% - 1rem)!important;
    }
    .grid-item { 
        width: 50%; 
    }
    .realisation-suggere .layout-flex .grid-item {
        width: 100%;
    }
    .bloc-texte-generique p:first-child {
        font-size: 1.2em;
    }
    .service-single {
        padding: 20px 0px;
    }
    .realisation-description .layout-flex .layout-40, .realisation-description .layout-flex .layout-60  {
        padding:0!important;
    }
    .single-realisation .realisation-description {
        padding: 80px 0 0 0;
    }
    #Nouvelles .mini-nouvelle {
        width: 100%;
    }
    #Nouvelles .mini-nouvelle .layout-50 {
        width: 100%!important;
    }
    .mini-derniere-nouvelle > .layout-flex {
        flex-wrap: wrap!important;
    }
    .fs-wrap {
        width: 160px!important;
    }
    .evenement-info {
        padding: 20px 0 0 0;
    }
    .slick-arrow.timeline-arrow.slick-prev {
        left: -20px;
    }
    .slick-arrow.timeline-arrow.slick-next {
        right: -20px;
    }
    .timeline-evenement {
        margin:auto!important;
    }
    .single-realisation .images-verticale div:first-child {
        padding-right: 0;
    }
    .mappe-territoire {
        min-height: 600px!important;
    }
}

@media (max-width: 640px) {
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_left_half,
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_right_half,
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_left_third,
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_middle_third,
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_right_third {
        max-width: calc(100%)!important;
    }
    
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_left_half {
        margin-right: 0!important;
    }
    
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_right_half {
        margin-left: 0!important;
    }
    
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_left_half,
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_left_third,
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_middle_third {
        margin-right: 0!important;
    }

    body .gform_wrapper .gform_body .gform_fields .gfield.gf_right_half,
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_middle_third,
    body .gform_wrapper .gform_body .gform_fields .gfield.gf_right_third {
        margin-left: 0!important;
    }

    body .gform_wrapper .gform_body .gform_fields .gfield input {
        padding: 6px!important;
    }

    body .gform_wrapper .gform_footer input[type=submit] {
        width: 100%;
    }

    .mobile-navigation {
        max-width: none;
    }

    .realisation-preview {
        padding: 0 20px 20px 20px;
    }

    .membre-single.layout-25 {
        width: 100%!important;
        padding:0;
    }

    .fs-wrap {
        width: 120px!important;
    }
    .timeline-evenement {
        max-width: 300px;
        margin: auto;
    }
    .mobile-navigation {
        padding: 100px 40px 20px 25px;
}

@media (max-width: 480px) {
    .grid-item { 
        width: 100%; 
    }
    #Filtres .facetwp-facet {
        display: flex;
        justify-content: center;
        text-align: center;
    }
    #Filtres .facetwp-checkbox {
        padding:0 10px!important;
    }
    .marquee-wrap {
        --item-font-size: 7.3vw!important;
    }
    .fs-wrap {
        width: 100px!important;
    }
    .mappe-territoire {
        min-height: 410px!important;
    }
}