/*
Theme Name: Akoustik Theme
Theme URI: ....
Author: Herve Fajfer, Herve Thomas, Antoine Roquis
Author URI: http://hervefajfer.fr/
Description: Akoustik, Theme Wordpress sur-mesure
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:
Text Domain: herve-fajfer

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.
*/
@import url("https://fonts.googleapis.com/css?family=Titillium+Web:300,400,600,700");

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  font-size: 62.5%;
  /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
  overflow-y: scroll;
  /* Keeps page centred in all browsers regardless of content height */
  -webkit-text-size-adjust: 100%;
  /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
  -ms-text-size-adjust: 100%;
  /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

body {
  background: #fff;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

caption,
th,
td {
  font-weight: normal;
  text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}

blockquote,
q {
  quotes: """";
}

a:focus {
  outline: none;
}

a:hover,
a:active {
  outline: 0;
}

a img {
  border: 0;
}

/*------------------------------------------------------------------------------------------------------------------ */
/*--RESET-MURTAUGH'S ----------------------------------------------------------------------------------------------- */
/*------------------------------------------------------------------------------------------------------------------ */
/* Using local fonts? Check out Font Squirrel's webfont generator: http://www.fontsquirrel.com/tools/webfont-generator */
/* We like off-black for text. */
body,
select,
input,
textarea {
  color: #666666;
}

/* Custom text-selection colors (remove any text shadows: http://twitter.com/miketaylr/status/12228805301) */
::-moz-selection {
  background: #fcd700;
  color: #fff;
  text-shadow: none;
}

::selection {
  background: #fcd700;
  color: #fff;
  text-shadow: none;
}

/*  j.mp/webkit-tap-highlight-color */
a:link {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

ins {
  background-color: #fcd700;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #fcd700;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

/* Mozilla dosen't style place holders by default */
input:-moz-placeholder {
  color: #a9a9a9;
}

textarea:-moz-placeholder {
  color: #a9a9a9;
}

a {
  text-decoration: none;
}

section#search {
  height: 42vh;
  min-height: 300px;
  max-height: 620px;
  background: url(img/mairie2.JPG);
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
}

section#search:before {
  content: "";
  background: rgba(0, 0, 0, 0.65);
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

section#search form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

section#search form:before {
  content: url(img/icon-loupe.svg);
  width: 24px;
  height: 24px;
  margin-bottom: 22px;
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

section#search form input[type='text'] {
  height: 60px;
  display: block;
  outline: 0;
  border: 0;
  box-sizing: border-box;
  width: 300px;
  border: 0;
  outline: 0;
  border-radius: 4px;
  padding: 0 20px;
  margin-bottom: 25px;
}

section#search form button {
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

@media screen and (min-width: 1024px) {
  section#search form {
    width: 450px;
  }

  section#search form:before {
    display: none;
  }

  section#search form input[type='text'] {
    width: 400px;
    height: 40px;
    margin-bottom: 0;
    max-width: none;
    border-radius: 4px 0 0 4px;
  }

  section#search form button.cta {
    border-radius: 3px;
    height: 40px;
    width: 50px;
    background: #008ba6;
    position: absolute;
    right: 0;
    top: 0;
    left: initial;
    transform: none;
    color: white;
    border: none;
    outline: 0;
    margin-left: 5px;
    padding: 0;
    color: transparent;
    border-radius: 0 4px 4px 0;
  }

  section#search form button.cta:after {
    content: url(img/icon-loupe.svg);
    width: 22px;
    height: 22px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
  }
}

section#footer {
  background: #f5f5f5;
  margin-top: 100px;
  text-align: center;
  /*display: grid;*/
  /*grid-template-rows: 1fr;*/
  /*grid-template-columns: 1fr;*/
  grid-gap: 41px;
  padding-bottom: 38px;
  padding-top: 0;
}

section#footer>div:nth-child(3) h2 {
  font-size: 1.25em;
  line-height: 1.25em;
  margin-bottom: 15px;
  font-weight: 600;
  text-transform: uppercase;
}

/*section#footer > div:nth-child(3) #ultimate-newsletter-widget-subscription-form-2-wrapper {
    position: relative; }
    section#footer > div:nth-child(3) #ultimate-newsletter-widget-subscription-form-2-wrapper .un-form-group {
      margin: 0; }
      section#footer > div:nth-child(3) #ultimate-newsletter-widget-subscription-form-2-wrapper .un-form-group:first-child {
        width: calc(100% - 73px);
        max-width: 300px; }
      section#footer > div:nth-child(3) #ultimate-newsletter-widget-subscription-form-2-wrapper .un-form-group .un-email {
        width: 100%;
        background: white;
        padding: 3px 10px;
        border-radius: 3px;
        max-width: none;
        font-size: 0.9em; }
    section#footer > div:nth-child(3) #ultimate-newsletter-widget-subscription-form-2-wrapper .btn-primary {
      border-radius: 3px;
      height: 40px;
      width: 50px;
      background: #008ba6;
      color: white;
      border: none;
      text-transform: uppercase;
      outline: 0;
      margin-left: 5px; }
    section#footer > div:nth-child(3) #ultimate-newsletter-widget-subscription-form-2-wrapper .un-response {
      position: absolute;
      bottom: -31px;
      left: 9px; }*/
section#footer h3 {
  text-transform: uppercase;
}

@media screen and (min-width: 550px) {
  section#footer {
    /*grid-template-columns: 1fr 1fr;*/
    text-align: left;
  }

  /*section#footer > div:nth-child(2) {
        grid-column: 1 / 3; }
      section#footer > div:nth-child(3) {
        grid-column: 1 / 3; }*/
}

/*@media screen and (min-width: 1024px) {
    section#footer {
      grid-template-columns: 1fr 1fr 80px 1fr 1fr;
      text-align: left; }
      section#footer > div:nth-child(2) {
        grid-column: 3 / 6; }
      section#footer > div:nth-child(3) {
        grid-column: 4 / 6; }
      section#footer > div:nth-child(4) {
        grid-row: 2; }
      section#footer > div:nth-child(5) {
        grid-row: 2; } }*/

section#footer .identite {
  position: relative;
  top: -47px;
}

section#footer .identite img {
  width: 90px;
  margin: auto;
  display: block;
}

@media screen and (min-width: 550px) {
  section#footer .identite {
    grid-column: 1 / 3;
  }
}

@media screen and (min-width: 1024px) {
  section#footer .identite {
    grid-column: 1 / 6;
  }
}

section#footer .sub-footer {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
}

@media screen and (min-width: 400px) {
  section#footer .sub-footer {
    flex-direction: row;
    align-items: start;
  }
}

section#footer .sub-footer>div {
  width: 15rem;
  margin-right: 3rem;
}

section#footer .map {
  background: url(img/map-lesquin.PNG);
  background-size: cover;
  background-position: center;
  height: 145px;
  display: flex;
  flex: 1;
  min-width: 0;
  width: 100%;
  margin-top: 2rem;
}

@media screen and (min-width: 550px) {
  section#footer .map {
    margin-top: 0;
    min-width: 100%;
    /*grid-column: 1 / 3;*/
  }
}

@media screen and (min-width: 864px) {
  section#footer .map {
    min-width: 0;
    /*grid-column: 1 / 3;*/
  }
}

@media screen and (min-width: 1024px) {
  section#footer .map {
    /*grid-row: 3;*/
  }
}

.bottom-links {
  text-align: center;
  margin: 0;
  padding: 16.5px 0 22px 0;
}

.bottom-links a {
  color: #333333;
}

section#footer .contact {
  position: relative;
}

section#footer .contact ul li span {
  width: 35px;
  display: inline-block;
}

section#footer .contact ul li a {
  font-weight: 600;
  color: #333333;
}

section#footer .contact ul li a:hover {
  color: #008ba6;
}

@media screen and (min-width: 550px) {
  .email {
    position: absolute;
    left: calc(50% + 20px);
    top: 34px;
  }
}

form .row {
  display: block;
  margin-bottom: 15px;
}

form label {
  display: block;
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 10px;
  z-index: 1;
  text-transform: uppercase;
}

form label span {
  color: red;
}

form input[type="text"] {
  height: 40px;
  width: 50%;
  max-width: 350px;
  padding: 0 0 0 10px;
  margin: 0;
  outline: 0;
  border: none;
  background: #f5f5f5;
  box-sizing: border-box;
}

form input[type="email"] {
  height: 40px;
  width: 50%;
  max-width: 350px;
  padding: 0 0 0 10px;
  margin: 0;
  outline: 0;
  border: none;
  background: #f5f5f5;
  box-sizing: border-box;
}

form select {
  height: 40px;
  width: 50%;
  max-width: 350px;
  padding: 0 0 0 5px;
  margin: 0;
  outline: 0;
  border: none;
  background: #f5f5f5;
  box-sizing: border-box;
}

form select option {
  box-sizing: border-box;
}

form textarea {
  height: 250px;
  width: calc(100% - 10px);
  padding: 10px 0 0 10px;
  margin: 0;
  outline: 0;
  border: none;
  background: #f5f5f5;
  box-sizing: border-box;
}

form button {
  cursor: pointer;
}

header#header {
  height: 50px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
  background: white;
  -webkit-box-shadow: 0px 0px 16px 1.52px rgba(104, 76, 35, 0.44);
  -moz-box-shadow: 0px 0px 16px 1.52px rgba(104, 76, 35, 0.44);
  box-shadow: 0px 0px 16px 1.52px rgba(104, 76, 35, 0.44);
}

@media screen and (min-width: 1280px) {
  header#header {
    height: 70px;
  }
}

#button-menu {
  height: 50px;
  width: 50px;
  position: absolute;
  left: 0px;
  display: block;
  padding-top: 15px;
  box-sizing: border-box;
  top: 0px;
}

#button-menu>span {
  margin: auto;
  width: 24px;
  height: 2px;
  border-radius: 1px;
  background: #333333;
  display: block;
  margin-bottom: 6px;
}

@media screen and (min-width: 1280px) {
  #button-menu {
    display: none;
  }
}

#identite img {
  width: 46px;
  padding-top: 2px;
  margin: auto;
  display: block;
}

@media screen and (min-width: 1280px) {
  #identite img {
    width: 64px;
    padding-top: 4px;
    padding-left: 42px;
    margin: 0;
  }
}

#button-photos {
  background: #333333;
  color: white;
  text-transform: uppercase;
  display: block;
  padding: 15px 0 0 0;
  height: 50px;
  font-weight: 600;
  letter-spacing: 0.09em;
  box-sizing: border-box;
  position: fixed;
  display: none;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 100%;
}

#button-photos:after {
  content: url(img/icon-left-arrow.svg);
  width: 14px;
  height: 14px;
  display: block;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  filter: invert(1);
}

@media screen and (min-width: 1280px) {
  #button-photos {
    padding: 25px 33px 0 33px;
    position: fixed;
    display: block;
    right: 70px;
    height: 70px;
    width: auto;
    bottom: initial;
    left: initial;
    top: 0;
  }

  #button-photos:after {
    display: none;
  }
}

#button-search {
  height: 50px;
  width: 50px;
  display: block;
  background: #008ba6;
  position: absolute;
  right: 0;
  top: 0;
}

#button-search:before {
  content: url("img/icon-loupe.svg");
  width: 22px;
  height: 22px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

@media screen and (min-width: 1280px) {
  #button-search {
    height: 70px;
    width: 70px;
  }

  #button-search:before {
    width: 26px;
    height: 26px;
  }
}

nav#modale-menu {
  z-index: 2;
  position: absolute;
  top: 50px;
  left: 0;
  text-align: center;
  left: -100vw;
  width: 100%;
  background: #f5f5f5;
}

nav#modale-menu.open {
  left: 0;
  height: calc(100vh - 50px);
  /* overflow-y: scroll; */
}

nav#modale-menu.open #button-photos {
  display: block;
}

nav#modale-menu.open .menu-menu-navigation-container {
  position: relative;
  z-index: 1;
  height: calc(100vh - 100px);
  box-sizing: border-box;
  overflow-y: scroll;
}

@media screen and (min-width: 1280px) {
  nav#modale-menu.open .menu-menu-navigation-container {
    overflow: hidden !important;
  }
}

@media screen and (min-width: 1280px) {
  nav#modale-menu {
    display: block;
    position: absolute;
    top: 0;
    width: calc(100% - 276px);
    left: 133px;
    background: none;
    text-align: left;
  }
}

.menu-principal {
  text-transform: uppercase;
  height: auto;
  position: relative;
}

.menu-principal a {
  color: #333333;
}

.menu-principal li.menu-item a {
  position: relative;
  padding: 20px 37px;
  box-sizing: border-box;
  height: 60px;
  width: 100%;
  letter-spacing: 0.09em;
  display: block;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

@media screen and (min-width: 1280px) {
  .menu-principal {
    min-height: 0;
  }

  .menu-principal li.menu-item {
    display: inline-block;
  }

  .menu-principal li.menu-item a {
    display: inline-block;
    padding: 25px 25px 0 25px;
    height: 70px;
    box-sizing: border-box;
  }
}

#scrollup-master {
  z-index: 1;
}

#menu-menu-navigation {
  height: auto;
}

#menu-menu-navigation>li.menu-item-has-children>a:after {
  content: url(img/icon-left-arrow.svg);
  width: 14px;
  height: 14px;
  display: block;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

#menu-menu-navigation>li.menu-item-has-children.open>a {
  background: gray;
  color: white;
}

@media screen and (min-width: 1280px) {
  #menu-menu-navigation>li.menu-item-has-children>a:after {
    display: none;
  }

  #menu-menu-navigation>li.menu-item-has-children:hover>.sub-menu {
    box-sizing: border-box;
    position: fixed;
    top: 70px;
    left: 0;
    background: #f5f5f5;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
    padding: 10px 5vw 20px 5vw;
    max-height: 75vh;
  }

  #menu-menu-navigation>li.menu-item:nth-child(2):hover>ul.sub-menu>li.menu-item:nth-child(3) {
    margin-top: 0px !important;
  }
}

#menu-menu-navigation ul.sub-menu {
  display: none;
  padding: 5px 0 10px 0;
}

#menu-menu-navigation ul.sub-menu.open {
  display: block;
}

@media screen and (min-width: 1280px) {
  #menu-menu-navigation ul.sub-menu li.menu-item {
    display: block;
    width: 25%;
  }
}

@media screen and (min-width: 1280px) and (max-height: 700px) {
  #menu-menu-navigation>li.menu-item-has-children:hover>.sub-menu {
    max-height: 92%;
  }

  #menu-menu-navigation ul.sub-menu li.menu-item {
    width: 20%;
  }

  #menu-menu-navigation>li.menu-item:nth-child(1):hover>ul.sub-menu {
    height: 500px !important;
  }
}

@media screen and (min-width: 1280px) and (min-height: 700px) {
  #menu-menu-navigation>li.menu-item:nth-child(3):hover>ul.sub-menu {
    max-height: 350px !important;
  }
}




#menu-menu-navigation ul.sub-menu li.menu-item ul.sub-menu li.menu-item {
  display: inline-block;
  width: 100% !important;
}

@media screen and (max-width: 1279px) {
  #menu-menu-navigation ul.sub-menu>li.menu-item {
    padding-left: 15px;
  }

  #menu-menu-navigation ul.sub-menu>li.menu-item a {
    padding: 15px 15px 0 40px;
  }
}

#menu-menu-navigation ul.sub-menu>li.menu-item a {
  border-bottom: none;
  height: 40px;
  min-height: 40px;
  padding: 10px 37px;
  height: auto;
}

#menu-menu-navigation ul.sub-menu>li.menu-item-has-children>a:before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  width: 15px;
  height: 10px;
  background: url(img/submenu-arrow.svg);
}

#menu-menu-navigation ul.sub-menu>li.menu-item-has-children.open>a:before {
  transform: rotate(180deg);
}

@media screen and (min-width: 1280px) {
  #menu-menu-navigation ul.sub-menu {
    padding: 15px 0 10px 0;
  }

  #menu-menu-navigation ul.sub-menu li.menu-item a {
    height: 30px;
    padding-top: 14px;
    min-height: 0;
    padding: 14px 0 0 0;
  }

  #menu-menu-navigation ul.sub-menu>li.menu-item-has-children>a:before {
    display: none;
  }
}

#menu-menu-navigation ul.sub-menu ul.sub-menu {
  display: none;
  padding: 0;
  margin-top: 10px;
}

/* @media screen and (min-width: 1280px) {
  #menu-menu-navigation ul.sub-menu ul.sub-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }
} */

#menu-menu-navigation ul.sub-menu ul.sub-menu>li.menu-item {
  padding-left: 0;
}

#menu-menu-navigation ul.sub-menu ul.sub-menu>li.menu-item>a {
  padding-bottom: 0;
  padding-top: 8px;
  text-transform: none;
  height: auto;
  font-weight: 400;
}

#menu-menu-navigation ul.sub-menu ul.sub-menu>li.menu-item>a:hover {
  font-weight: 600;
}

#menu-menu-navigation ul.sub-menu ul.sub-menu>li.menu-item>a:before {
  display: none;
}

#menu-menu-navigation ul.sub-menu ul.sub-menu.open {
  display: block;
}

#menu-menu-navigation ul.sub-menu ul.sub-menu.open ul.sub-menu {
  display: block;
}

@media screen and (min-width: 1280px) {
  /* #menu-menu-navigation ul.sub-menu ul.sub-menu {
    display: block;
    margin-top: 3px;
  } */

  #menu-menu-navigation ul.sub-menu ul.sub-menu>li.menu-item {
    padding-left: 0;
  }

  #menu-menu-navigation ul.sub-menu ul.sub-menu>li.menu-item>a {
    padding-top: 3px;
  }
}

#menu-menu-navigation ul.sub-menu ul.sub-menu ul.sub-menu>li.menu-item a {
  text-transform: none;
  font-weight: 300;
  font-size: 0.92em;
}

/*
#menu-menu-navigation .sub-menu{
  display: flex;
}*/



#menu-menu-navigation>li.menu-item:nth-child(1).open>a {
  color: white;
  background: #c63339;
}

#menu-menu-navigation>li.menu-item:nth-child(1)>a {
  color: #c63339;
}

#menu-menu-navigation>li.menu-item:nth-child(1)>a:hover {
  color: white;
  background: #c63339;
}

#menu-menu-navigation>li.menu-item:nth-child(1)>ul.sub-menu>li.menu-item>a {
  color: #c63339;
}

#menu-menu-navigation>li.menu-item:nth-child(2).open>a {
  color: white;
  background: #08ba6;
}

#menu-menu-navigation>li.menu-item:nth-child(2)>a {
  color: #008ba6;
}

#menu-menu-navigation>li.menu-item:nth-child(2)>a:hover {
  color: white;
  background: #008ba6;
}

#menu-menu-navigation>li.menu-item:nth-child(2)>ul.sub-menu>li.menu-item>a {
  color: #008ba6;
}


#menu-menu-navigation>li.menu-item:nth-child(3).open>a {
  color: white;
  background: #65b848;
}

#menu-menu-navigation>li.menu-item:nth-child(3)>a {
  color: #65b848;
}

#menu-menu-navigation>li.menu-item:nth-child(3)>a:hover {
  color: white;
  background: #65b848;
}

#menu-menu-navigation>li.menu-item:nth-child(3)>ul.sub-menu>li.menu-item>a {
  color: #65b848;
}

#menu-menu-navigation>li.menu-item:nth-child(4).open>a {
  color: white;
  background: #c790bb;
}

#menu-menu-navigation>li.menu-item:nth-child(4)>a {
  color: #c790bb;
}

#menu-menu-navigation>li.menu-item:nth-child(4)>a:hover {
  color: white;
  background: #c790bb;
}

#menu-menu-navigation>li.menu-item:nth-child(4)>ul.sub-menu>li.menu-item>a {
  color: #c790bb;
}

#menu-menu-navigation>li.menu-item:nth-child(5).open>a {
  color: white;
  background: #84bce9;
}

#menu-menu-navigation>li.menu-item:nth-child(5)>a {
  color: #84bce9;
}

#menu-menu-navigation>li.menu-item:nth-child(5)>a:hover {
  color: white;
  background: #84bce9;
}

#menu-menu-navigation>li.menu-item:nth-child(5)>ul.sub-menu>li.menu-item>a {
  color: #84bce9;
}

#menu-menu-navigation>li.menu-item:nth-child(5).open>a {
  color: white;
  background: #84bce9;
}

#menu-menu-navigation>li.menu-item:nth-child(5)>a {
  color: #84bce9;
}

#menu-menu-navigation>li.menu-item:nth-child(5)>a.open,
#menu-menu-navigation>li.menu-item:nth-child(5)>a:hover {
  color: white;
  background: #84bce9;
}

#menu-menu-navigation>li.menu-item:nth-child(5)>ul.sub-menu>li.menu-item>a {
  color: #84bce9;
}


#menu-menu-navigation>li.menu-item:nth-child(6).open>a {
  color: white;
  background: #dd941b;
}

#menu-menu-navigation>li.menu-item:nth-child(6)>a {
  color: #dd941b;
}

#menu-menu-navigation>li.menu-item:nth-child(6)>a:hover {
  color: white;
  background: #dd941b;
}

#menu-menu-navigation>li.menu-item:nth-child(6)>ul.sub-menu>li.menu-item>a {
  color: #dd941b;
}


@media screen and (min-width: 1280px) and (max-width: 1566px) {
  .double-line-resp-menu {
    margin-top: 20px;
  }

  .custom-line-height a {
    line-height: 20px;
  }
}

.wrapper {
  padding-left: 5vw;
  padding-right: 5vw;
}

@media screen and (min-width: 768px) {
  .wrapper {
    padding-left: 10vw;
    padding-right: 10vw;
  }
}

.wrapper2 {
  padding-left: 5vw;
  padding-right: 5vw;
}

@media screen and (min-width: 768px) {
  .wrapper2 {
    padding-left: 13vw;
    padding-right: 13vw;
  }
}

@media screen and (min-width: 1280px) {
  .wrapper2 {
    padding-left: 16vw;
    padding-right: 16vw;
  }
}

.landing {
  margin-top: 50px;
}

@media screen and (min-width: 1280px) {
  .landing {
    margin-top: 70px;
  }
}

section {
  padding-top: 50px;
  padding-bottom: 50px;
}

#background {
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
}

#background:after {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  position: absolute;
  top: 0;
  left: 0;
}

#background .thumb {
  height: 70vw;
  background-position: center;
  background-size: cover;
}

@media screen and (min-width: 550px) {
  #background .thumb {
    height: 20vw;
  }
}

#inner-header {
  position: relative;
}

#inner-header h1 {
  position: absolute;
  height: auto;
  width: 180px;
  display: inline-block;
  top: -70px;
  color: white;
  background: #008ba6;
  box-sizing: border-box;
  padding: 23px 30px;
  font-size: 1.6em;
  text-transform: uppercase;
}

.breadcrumbs {
  padding-top: 35px;
  height: 80px;
  box-sizing: border-box;
  background: #f5f5f5;
}

body {
  font-size: 14px;
  line-height: 1.7em;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 400;
  color: #333333;
  overflow: hidden;
}

h1 {
  font-size: 2em;
  line-height: 1.25em;
  margin-bottom: 30px;
  font-weight: 600;
}

h2 {
  font-size: 1.7em;
  line-height: 1.25em;
  margin-bottom: 20px;
  font-weight: 600;
}

h3 {
  font-size: 1.25em;
  line-height: 1.25em;
  margin-bottom: 15px;
  font-weight: 600;
}

h4 {
  font-size: 1.15em;
  line-height: 1.25em;
  margin-bottom: 15px;
  font-weight: 600;
}

p {
  margin-bottom: 12px;
}

.main-title {
  text-transform: uppercase;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  display: block;
  text-align: center;
}

.main-title img {
  width: 54px;
  margin-bottom: 12px;
}

.main-title span {
  position: relative;
  display: block;
}

.main-title span:before,
.main-title span:after {
  content: "";
  width: 39px;
  border-bottom: 1px solid #008ba6;
  background: white;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.main-title span:before {
  left: 0;
}

.main-title span:after {
  right: 0;
}

@media screen and (min-width: 550px) {
  .main-title {
    display: inline-block;
  }

  .main-title span:before,
  .main-title span:after {
    width: 64px;
  }

  .main-title span:before {
    left: -80px;
  }

  .main-title span:after {
    right: -80px;
  }
}

a {
  color: #008ba6;
}

.cta {
  position: relative;
  display: inline-block;
  width: 226px;
  height: 50px;
  box-sizing: border-box;
  border-radius: 25px;
  border: 0;
  outline: 0;
  color: #008ba6;
  font-weight: 600;
  font-size: 1.45rem;
  padding: 12px 35px 0 35px;
  text-align: left;
  border: 1px solid white;
  background: white;
  transition: all .02s ease-in-out;
}

.cta:after {
  content: url(img/icon-left-arrow-blue.svg);
  width: 14px;
  height: 18px;
  display: block;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transition: all .02s ease-in-out;
}

.cta:hover {
  background: #008ba6;
  color: white;
  border: 1px solid #008ba6;
}

.cta:hover:after {
  filter: brightness(0) invert(1);
}

.cta.blueline {
  border: 1px solid #008ba6;
}

button.cta {
  padding: 0 35px;
}

button.cta:after {
  width: 14px;
  height: 14px;
}

.wpcf7-form-control {
  padding: 0;
  text-align: center;
}

.thumb {
  overflow: hidden;
  position: relative;
}

.thumb img {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.content ul li {
  list-style-type: disc;
}

.content strong {
  font-weight: 600;
}

#hp-slider {
  padding-bottom: 0;
  padding-top: 0;
}

#hp-slider a {
  color: #333333;
}

#hp-slider a:hover {
  text-decoration: none;
}

#hp-slider a:hover .thumb:after {
  background: rgba(0, 0, 0, 0.15);
}

#hp-slider a:hover .content span.button {
  background: #008ba6;
}

#hp-slider article .thumb {
  background-size: cover;
  background-position: center;
  height: 62.5vw;
}

#hp-slider article .thumb:after {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  transition: all .1s ease-in-out;
}

@media screen and (min-width: 768px) {
  #hp-slider article .thumb {
    height: calc(81vh - 50px);
  }
}

@media screen and (min-width: 1280px) {
  #hp-slider article .thumb {
    height: calc(81vh - 70px);
  }
}

#hp-slider article .content {
  position: relative;
  min-height: 120px;
  padding: 24px calc(3vw + 75px) 24px calc(3vw + 15px);
  box-sizing: border-box;
}

#hp-slider article .content date {
  font-weight: 600;
}

#hp-slider article .content h1 {
  font-weight: 400;
  margin-bottom: 0;
}

#hp-slider article .content span.button {
  display: block;
  position: absolute;
  top: 50%;
  right: calc(3vw + 15px);
  width: 35px;
  height: 35px;
  color: white;
  font-size: 1.7em;
  font-weight: 400;
  border-radius: 50%;
  outline: 0;
  border: 2px solid #008ba6;
  background: #65b848;
  transition: all .15s ease-in-out;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

#hp-slider article .content span.button:before {
  content: "";
  background: url(img/cross-white.svg);
  background-size: cover;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

@media screen and (min-width: 768px) {
  #hp-slider article .content {
    position: absolute;
    top: 24vh;
    left: 10vw;
    color: white;
    padding: 0;
  }

  #hp-slider article .content h1 {
    font-size: 3em;
  }

  #hp-slider article .content span.button {
    position: relative;
    transform: none;
    top: 25px;
    right: 0;
  }
}

.home .slick-dots {
  display: none;
  bottom: initial;
  right: 5%;
  top: calc(50% - 20px);
  width: 20px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.home .slick-dots li {
  margin: 0;
}

.home .slick-dots li button {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid white;
  position: relative;
}

.home .slick-dots li button:before {
  opacity: 0;
  background: #65b848;
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.home .slick-dots li.slick-active button:before {
  opacity: 1 !important;
}

.home .slick-dots li:hover button:before {
  opacity: 0.5;
}

.home .slick-arrow {
  content: "";
  background-image: url(img/slick-arrow.svg);
  width: 24px;
  height: 14px;
  opacity: .75;
}

.home .slick-arrow:before {
  content: "";
}

.home .slick-arrow:hover {
  opacity: 1;
}

.home .slick-prev {
  left: initial;
  right: calc(5% - 2px);
  top: calc(50% - 20px - 65px);
  z-index: 1;
  transform: rotate(180deg);
}

.home .slick-next {
  right: calc(5% - 2px);
  top: calc(50% - 20px + 64px);
}

#lesquin-pratique {
  padding-bottom: 0;
  padding-top: 0;
}

@media screen and (min-width: 768px) {
  #lesquin-pratique {
    width: 80vw;
    margin: auto;
    position: relative;
    top: -110px;
    margin-bottom: -110px;
    display: grid;
    grid-template-rows: 50px 1fr;
    grid-template-columns: 170px 1fr;
    grid-gap: 0;
  }
}

#lesquin-pratique header {
  background: #333333;
  padding: 20px 3vw 20px 3vw;
  color: #999999;
  text-align: center;
  height: 88px;
  box-sizing: border-box;
}

#lesquin-pratique header h2 {
  color: white;
  margin-bottom: 0;
  text-transform: uppercase;
}

#lesquin-pratique header span {
  font-size: 1.12em;
}

@media screen and (min-width: 768px) {
  #lesquin-pratique header {
    background: none;
    color: white;
    text-align: left;
    padding: 0;
    height: 50px;
    grid-column: 1 / 3;
  }

  #lesquin-pratique header h2 {
    position: relative;
    display: inline-block;
    height: 50px;
    background: #333333;
    padding: 17.5px 37px 0 37px;
    font-size: 1em;
    box-sizing: border-box;
  }

  #lesquin-pratique header h2:after {
    content: "";
    background: url(img/dark-corner.svg);
    width: 53px;
    height: 50px;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    right: -53px;
  }

  #lesquin-pratique header span {
    margin-left: 65px;
  }
}

#lesquin-pratique .selecteur {
  height: 88px;
  background: #f5f5f5;
}

#lesquin-pratique .selecteur a {
  position: relative;
  display: inline-block;
  width: 50%;
  float: left;
  height: 88px;
  padding-top: 31px;
  box-sizing: border-box;
  color: #333333;
  text-align: center;
  font-size: 1.3em;
  font-weight: 600;
}

#lesquin-pratique .selecteur a.active {
  background: #008ba6;
  color: white;
  transition: all .02s ease-in-out;
}

#lesquin-pratique .selecteur a.active:after {
  content: "";
  background: url(img/white-cursor.svg);
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0;
  width: 14px;
  height: 8px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

#lesquin-pratique .selecteur a:hover {
  background: #008ba6;
  color: white;
}

@media screen and (min-width: 768px) {
  #lesquin-pratique .selecteur {
    height: 260px;
    width: 170px;
  }

  #lesquin-pratique .selecteur a {
    display: block;
    height: 130px;
    width: 170px;
    float: none;
    padding-top: 50px;
  }

  #lesquin-pratique .selecteur a.active:after {
    background: url(img/white-cursor2.svg);
    bottom: intial;
    top: 50%;
    right: 0;
    left: initial;
    height: 14px;
    width: 8px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
  }
}

#lesquin-pratique .liste-pratique {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 1fr;
  grid-gap: 26px;
  padding: 30px 3vw;
  background: white;
}

#lesquin-pratique .liste-pratique a {
  text-align: center;
  color: #333333;
  font-size: 1.2em;
  padding-bottom: 15px;
}

#lesquin-pratique .liste-pratique a img {
  max-width: 160px;
  margin: auto;
  display: block;
}

#lesquin-pratique .liste-pratique a:hover {
  background: #f5f5f5;
}

#lesquin-pratique .liste-pratique .sub-liste-pratique a {
  text-align: left;
}

@media screen and (min-width: 550px) {
  #lesquin-pratique .liste-pratique {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media screen and (min-width: 1280px) {
  #lesquin-pratique .liste-pratique {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.sub-liste-pratique {
  padding: 20px;
  background: #f5f5f5;
  grid-column: 1 / 3;
}

.sub-liste-pratique a {
  display: block;
}

.sub-liste-pratique a:hover {
  font-weight: 600;
}

.sub-liste-pratique#senior,
.sub-liste-pratique#parent {
  grid-row: 2;
}

@media screen and (min-width: 550px) {
  .sub-liste-pratique {
    grid-column: 1 / 4;
  }

  .sub-liste-pratique a {
    display: inline-block;
    width: calc(50% - 21px - 7.66666px);
    margin: 0 10px;
    text-align: left;
    vertical-align: top;
  }

  .sub-liste-pratique#jeune {
    grid-row: 2;
  }
}

@media screen and (min-width: 1280px) {
  .sub-liste-pratique {
    padding: 30px 70px;
    grid-column: 1 / 5;
  }

  .sub-liste-pratique a {
    width: calc(33.333333% - 21px - 46px);
    margin: 0 32px;
  }

  .sub-liste-pratique#jeune,
  .sub-liste-pratique#senior,
  .sub-liste-pratique#parent,
  .sub-liste-pratique#new {
    grid-row: 2;
  }
}

#lesquin-pratique .liste-pratique a.sub-selector {
  position: relative;
}

#lesquin-pratique .liste-pratique a.sub-selector img.alt {
  display: none;
}

#lesquin-pratique .liste-pratique a.sub-selector.active img {
  visibility: hidden;
  display: none;
}

#lesquin-pratique .liste-pratique a.sub-selector.active img.alt {
  visibility: visible;
  display: block;
}

#lesquin-pratique .liste-pratique a.sub-selector.active span.carre {
  content: "";
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
  background: #f5f5f5;
  position: absolute;
  bottom: -37px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  -webkit-transform: translateX(-50%) rotate(45deg);
}

@media screen and (min-width: 768px) {
  #prochainement>div {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 3fr 2fr;
    grid-gap: 40px;
  }
}

@media screen and (min-width: 1024px) {
  #prochainement>div {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 3fr 2fr;
    grid-gap: 70px;
  }
}

#prochainement div.event {
  display: none;
}

#prochainement div.event a {
  color: #333333;
}

@media screen and (min-width: 768px) {
  #prochainement div.event {
    display: block;
    padding-top: 50px;
  }

  #prochainement div.event date {
    color: #008ba6;
  }

  #prochainement div.event .cat {
    color: orange;
    display: block;
    margin-top: 18px;
  }

  #prochainement div.event h3 {
    text-transform: uppercase;
    font-size: 1.75em;
  }

  #prochainement div.event .lieu {
    color: #808080;
  }

  #prochainement div.event .horaire {
    color: #808080;
    display: block;
  }
}

@media screen and (min-width: 1280px) {
  #prochainement div.event h3 {
    font-size: 2.5em;
  }

  #prochainement div.event .horaire {
    display: inline;
  }

  #prochainement div.event .horaire:before {
    content: "|";
    margin: 0 5px 0 4px;
  }
}

#actus-hp a.cta:hover {
  border: 1px solid white;
}

#en-images {
  padding-top: 82.5px;
  padding-bottom: 64px;
}

#en-images a {
  background: url(img/vivre-lesquin.jpg);
  background-size: cover;
  position: relative;
  background-position: center center;
  display: block;
  color: white;
  padding: 36px 31px;
  box-sizing: border-box;
  max-width: 930px;
  margin: auto;
}

#en-images a:after {
  content: url(img/illu-en-images.svg);
  position: absolute;
  top: -60px;
  left: 50%;
  height: 96px;
  width: 122px;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

#en-images a:before {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (min-width: 768px) {
  #en-images a {
    padding: 42px 70px;
  }
}

#en-images a:hover .cta {
  background: #008ba6;
  color: white;
  border: 1px solid #008ba6;
}

#en-images a:hover .cta:after {
  filter: brightness(0) invert(1);
}

#en-images a h3 {
  position: relative;
}

#en-images a h3:after {
  content: "";
  display: block;
  height: 2px;
  width: 30px;
  margin-top: 17px;
  background: #65b848;
}

#en-images a p {
  position: relative;
  line-height: 1.25em;
  margin-bottom: 50px;
}

@media screen and (min-width: 768px) {
  #en-images a {
    padding: 42px 70px;
  }

  #en-images a h3 {
    width: 50%;
  }

  #en-images a p {
    width: 50%;
  }

  #en-images a .cta {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
  }
}

@media screen and (min-width: 768px) {
  #en-images a .cta {
    right: 91px;
  }
}

.actus {
  background: #008ba6;
  color: white;
}

.actus .main-title span:before,
.actus .main-title span:after {
  border-bottom: 1px solid white;
}

.actus .cta {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

.liste-actus {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  grid-gap: 26px;
  padding: 50px 0 63px 0;
}

@media screen and (min-width: 550px) {
  .liste-actus {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (min-width: 1024px) {
  .liste-actus {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.liste-actus article:hover {
  background: #333333;
  color: white;
}

.liste-actus article:hover .content date {
  color: white;
}

.liste-actus article {
  transition: all .12s ease-in-out;
  position: relative;
  background: white;
  color: #333333;
  border-radius: 0 0 4px 4px;
  height: 100%;
}

.liste-actus article .cat {
  position: absolute;
  top: 0;
  left: 0;
  height: 37px;
  width: 135px;
  text-align: center;
  z-index: 1;
  color: white;
  box-sizing: border-box;
  padding-top: 6px;
  background: #65b848;
}

.liste-actus article .thumb {
  height: calc(90vw * 0.75);
}

.liste-actus article .thumb img {
  height: 100%;
  width: auto;
}

@media screen and (min-width: 550px) {
  .liste-actus article .thumb {
    height: calc((90vw - 26px) / 2 * 0.75);
  }
}

@media screen and (min-width: 768px) {
  .liste-actus article .thumb {
    height: calc((80vw - 26px) / 2 * 0.75);
  }
}

@media screen and (min-width: 1024px) {
  .liste-actus article .thumb {
    height: calc((80vw - 52px) / 3 * 0.75);
  }
}

.liste-actus article .content {
  padding: 20px 20px 35px 20px;
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 71px 1fr;
}

.liste-actus article .content date {
  color: #008ba6;
  transition: all .02s ease-in-out;
}

.liste-actus article .content date span {
  font-size: 1.2em;
}

.liste-actus article .content date span:first-child {
  font-weight: 600;
}

.liste-actus article .content date span:last-child {
  font-size: 1em;
  display: block;
  margin-top: -5px;
}

.liste-actus article .content h3,
.liste-actus article .content h2 {
  margin-bottom: 0;
  font-size: 1.25em;
}

.liste-actus article .content p {
  margin-bottom: 0;
}

.agenda .cta {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

@media screen and (min-width: 768px) {
  .home .agenda .liste-agenda a li {
    grid-template-columns: 71px 1fr;
  }
}

.agenda .liste-agenda {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  grid-gap: 0;
  padding: 30px 0 50px 0;
}

.agenda .liste-agenda a {
  color: #333333;
}

.agenda .liste-agenda a li {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 71px 1fr;
  position: relative;
  padding: 20px 43px 23px 35px;
}

.agenda .liste-agenda a li:after {
  content: url(img/cross-blue.svg);
  width: 10px;
  height: 10px;
  position: absolute;
  top: 47px;
  right: 10px;
}

@media screen and (min-width: 768px) {
  .agenda .liste-agenda a li {
    grid-template-columns: 200px 71px 1fr;
  }
}

@media screen and (min-width: 1280px) {
  .agenda .liste-agenda a li:after {
    top: 55px;
  }
}

.agenda .liste-agenda a li date {
  text-transform: uppercase;
  font-size: 1.35em;
}

.agenda .liste-agenda a li date span {
  font-weight: 600;
  display: block;
}

.agenda .liste-agenda a li date span.little {
  font-size: 0.6em;
  line-height: 1.2;
  font-weight: 300;
}

.agenda .liste-agenda a li .thumb {
  display: none;
}

@media screen and (min-width: 768px) {
  .agenda .liste-agenda a li .thumb {
    display: block;
    width: 170px;
    height: 125px;
    background-position: center;
    background-size: cover;
  }
}

.agenda .liste-agenda a li .cat {
  color: #008ba6;
}

.agenda .liste-agenda a li h3 {
  text-transform: uppercase;
  font-size: 1.5em;
  margin-bottom: 0;
}

.agenda .liste-agenda a li .horaire {
  color: #808080;
  display: block;
}

.agenda .liste-agenda a li .lieu {
  color: #808080;
}

@media screen and (min-width: 1280px) {
  .agenda .liste-agenda a li h3 {
    font-size: 2.1em;
  }

  .agenda .liste-agenda a li .horaire {
    display: inline;
  }

  .agenda .liste-agenda a li .horaire:before {
    content: "|";
    margin: 0 5px 0 4px;
  }
}

.agenda .liste-agenda a:hover li {
  background: #f5f5f5;
}

p.mois {
  text-transform: uppercase;
  color: #008ba6;
  font-size: 1.4em;
  font-weight: 600;
  padding-left: 30px;
}

.filters {
  background: #333333;
  color: white;
  padding-top: 30px;
  padding-bottom: 30px;
}

.filters p {
  text-transform: uppercase;
}

.filters form select {
  width: calc(100% - 55px);
  max-width: 203px;
}

@media screen and (min-width: 550px) {
  .filters p {
    width: 159px;
    padding-top: 10px;
    float: left;
  }
}

#blog-post {
  margin-top: -180px;
}

#blog-post .breadcrumbs {
  background: white;
  padding-top: 22px;
  padding-bottom: 40px;
}

@media screen and (min-width: 768px) {
  #blog-post {
    margin-top: -19vw;
  }
}

#blog-post .thumb {
  height: calc(90vw * 0.42);
  background-size: cover;
  background-position: center;
}

@media screen and (min-width: 768px) {
  #blog-post .thumb {
    height: calc(74vw * 0.42);
  }
}

@media screen and (min-width: 1280px) {
  #blog-post .thumb {
    height: calc(68vw * 0.42);
  }
}

#blog-post .content {
  width: 80%;
  min-width: 280px;
  margin: auto;
}

#blog-post .content h1 {
  text-align: center;
  text-transform: uppercase;
}

#blog-post .content .cat {
  display: block;
  text-align: center;
  color: orange;
  margin-bottom: 5px;
  margin-top: 20px;
}

#blog-post .content img {
  max-width: 100%;
}

#blog-post header {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 20px;
  padding-bottom: 27px;
}

#blog-post header date {
  font-size: 1.35em;
  text-transform: uppercase;
  position: relative;
  padding-left: 50px;
}

#blog-post header date:before {
  content: url(img/picto-actu-date.svg);
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
}

#blog-post header date>div>span>span.little {
  font-size: 0.6em;
  font-weight: 300;
}

#blog-post header date>div>span>span {
  font-weight: bold;
}

#blog-post header p.place,
#blog-post header a.place {
  color: #333333;
  font-size: 1.15em;
  position: relative;
  padding-left: 50px;
}

#blog-post header p.place:before,
#blog-post header a.place:before {
  content: url(img/picto-actu-location.svg);
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
}

#blog-post header p.place>span>span,
#blog-post header a.place>span>span {
  font-weight: bold;
}

@media screen and (min-width: 768px) {
  #blog-post header {
    grid-template-columns: 1fr 1fr;
  }
}

#page-post {
  display: grid;
  grid-template-columns: 100%;
  grid-gap: 20px;
}

#page-post .content img {
  max-width: 100%;
}

@media screen and (min-width: 1024px) {
  #page-post {
    grid-template-columns: 5fr 2fr;
    grid-gap: 5vw;
  }
}

.page-id-41 .content h2 {
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-id-41 .content h2:first-child {
  margin-top: 0;
}

.page-id-41 .content ul.listitem {
  -ms-display: flexbox;
  -webkit-display: box;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.page-id-41 .content ul.listitem li {
  width: 150px;
  margin-right: 15px;
}

.page-id-41 .content ul.listitem li.empty {
  height: 0;
}

.page-id-41 .content ul.listitem:last-child {
  display: initial;
}

aside {
  overflow: hidden;
}

aside p.title {
  text-transform: uppercase;
  color: #008ba6;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 23px;
  display: inline-block;
  padding-right: 15px;
  position: relative;
}

aside p.title:after {
  display: block;
  height: 1px;
  width: 25vw;
  content: "";
  background: #008ba6;
  position: absolute;
  right: -25vw;
  top: 12px;
}

aside .navigation,
aside .service,
aside .agenda {
  margin-bottom: 45px;
}

aside .navigation ul.menu li a {
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
  font-weight: 600;
}

aside .navigation #menu-menu-la-mairie li a {
  color: #c63339;
}

aside .navigation #menu-menu-vivre-a-lesquin li a {
  color: #65b848;
}

aside .navigation #menu-menu-enfance-jeunesse li a {
  color: #c790bb;
}

aside .navigation #menu-menu-social-sante li a {
  color: #84bce9;
}

aside .agenda {
  font-size: 0.9em;
}

aside .agenda .liste-agenda {
  padding: 0px 0 10px 0;
}

aside .agenda .liste-agenda a li {
  grid-template-columns: 71px 1fr;
}

aside .agenda .liste-agenda a li h3 {
  font-size: 1.25em;
}

aside .agenda .cta {
  border: 1px solid #008ba6;
}

aside .service>div {
  background: #f5f5f5;
  padding: 20px;
}

aside .service>div .service-name {
  color: #008ba6;
  text-align: center;
  text-transform: uppercase;
}

aside .service .cta {
  height: auto;
  min-height: 50px;
  padding-bottom: 10px;
  width: 100%;
  border-radius: 0;
  background: #008ba6;
  border: 1px solid #008ba6;
  color: white;
  text-align: center;
}

aside .service .cta a {
  color: white;
}

#arbre-interactif {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  grid-gap: 0;
}

#arbre-interactif>div {
  padding: 40px 10% 40px calc(10% + 74px);
}

#arbre-interactif>div:nth-child(2),
#arbre-interactif>div:nth-child(4) {
  background: #f5f5f5;
}

#arbre-interactif>div:nth-child(1) h3:before {
  background-image: url(img/icon-arbre-1.svg);
}

#arbre-interactif>div:nth-child(2) h3:before {
  background-image: url(img/icon-arbre-2.svg);
}

#arbre-interactif>div:nth-child(3) h3:before {
  background-image: url(img/icon-arbre-3.svg);
}

#arbre-interactif>div:nth-child(4) h3:before {
  background-image: url(img/icon-arbre-4.svg);
}

#arbre-interactif>div h3 {
  color: #008ba6;
  text-transform: uppercase;
  padding-bottom: 15px;
  margin-bottom: 16px;
  position: relative;
  max-width: 165px;
}

#arbre-interactif>div h3:before {
  content: "";
  display: block;
  width: 70px;
  height: 150px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: -71px;
  top: 0;
}

#arbre-interactif>div h3:after {
  content: "";
  display: block;
  width: 30px;
  height: 1.5px;
  background: #008ba6;
  position: absolute;
  bottom: 0;
}

#arbre-interactif>div ul li {
  list-style-type: none;
}

#arbre-interactif>div ul li a {
  color: #333333;
  font-weight: 600;
}

#arbre-interactif>div ul li a:hover {
  color: #008ba6;
}

@media screen and (min-width: 1280px) {
  #arbre-interactif {
    position: relative;
  }

  #arbre-interactif:before {
    z-index: 1;
    content: "";
    display: block;
    width: 882px;
    height: 300vw;
    display: block;
    background-image: url(img/arbre.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
  }

  #arbre-interactif>div {
    position: relative;
    padding: 40px 12vw;
    height: 222px;
  }

  #arbre-interactif>div h3 {
    position: absolute;
    right: calc(50% + 296px);
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
  }

  #arbre-interactif>div h3:before {
    display: none;
  }

  #arbre-interactif>div ul {
    position: absolute;
    left: calc(50% + 296px);
    top: 0;
    z-index: 2;
  }

  #arbre-interactif>div:nth-child(1) ul {
    top: 133px;
  }

  #arbre-interactif>div:nth-child(2) ul {
    top: 84px;
  }

  #arbre-interactif>div:nth-child(2) ul li:nth-child(2) {
    margin-bottom: 20px;
    display: inline-block;
  }

  #arbre-interactif>div:nth-child(3) ul {
    top: 85px;
  }

  #arbre-interactif>div:nth-child(4) ul {
    top: 34px;
  }
}

@media screen and (min-width: 1280px) {
  .page-id-801 .content {
    padding-top: 45px;
  }
}

.page-id-801 aside {
  display: none;
}

.page-id-801 h1 {
  display: none;
}

.page-id-801 .subtitle {
  display: none;
}

.page-id-801 .agenda {
  display: none;
}

.page-id-801 #page-post {
  display: initial;
}

.page-id-801 #page-post.wrapper {
  padding-left: 0;
  padding-right: 0;
}

.clear {
  clear: both;
  display: block;
}

#tribe-events-pg-template,
.tribe-events-pg-template {
  max-width: none !important;
}

#bgmp_map-canvas {
  width: 100% !important;
  margin-top: 40px;
}

.button-filter {
  border-radius: 3px;
  height: 40px;
  width: 50px;
  background: #008ba6;
  color: white;
  border: none;
  outline: 0;
  margin-left: 5px;
  position: absolute;
}

.button-filter:after {
  content: url(img/icon-loupe.svg);
  width: 22px;
  height: 22px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.page-id-55 .listitem li,
.page-id-1670 .listitem li,
.page-id-1671 .listitem li {
  list-style-type: none;
}

.page-id-55 .listitem.assocult li h3,
.page-id-1670 .listitem.assocult li h3,
.page-id-1671 .listitem.assocult li h3 {
  color: #dd941b;
}

.page-id-55 .listitem.assosport li h3,
.page-id-1670 .listitem.assosport li h3,
.page-id-1671 .listitem.assosport li h3 {
  color: #65b848;
}

.page-id-55 .listitem.assoscol li h3,
.page-id-1670 .listitem.assoscol li h3,
.page-id-1671 .listitem.assoscol li h3 {
  color: #c790bb;
}

.page-id-55 .listitem.assomat li h3,
.page-id-1670 .listitem.assomat li h3,
.page-id-1671 .listitem.assomat li h3 {
  color: #c790bb;
}

.page-id-55 .listitem.assosoc li h3,
.page-id-1670 .listitem.assosoc li h3,
.page-id-1671 .listitem.assosoc li h3 {
  color: #84bce9;
}

.page-id-55 .listitem.assoautres li h3,
.page-id-1670 .listitem.assoautres li h3,
.page-id-1671 .listitem.assoautres li h3 {
  color: #c63339;
}

.page-id-55 .content ul.listitem li img,
.page-id-1670 .content ul.listitem li img,
.page-id-1671 .content ul.listitem li img {
  border-radius: 100px 100px 100px 100px;
}

.page-id-55 .content h2,
.page-id-1670 .content h2,
.page-id-1671 .content h2 {
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-id-55 .content ul.listitem li,
.page-id-1670 .content ul.listitem li,
.page-id-1671 .content ul.listitem li {
  margin-bottom: 25px;
}

.page-id-55 .content ul.listitem li img,
.page-id-1670 .content ul.listitem li img,
.page-id-1671 .content ul.listitem li img {
  display: block;
  margin: auto;
}

@media screen and (min-width: 550px) {

  .page-id-55 .content ul.listitem li,
  .page-id-1670 .content ul.listitem li,
  .page-id-1671 .content ul.listitem li {
    position: relative;
    padding-left: 180px;
    min-height: 155px;
  }

  .page-id-55 .content ul.listitem li img,
  .page-id-1670 .content ul.listitem li img,
  .page-id-1671 .content ul.listitem li img {
    position: absolute;
    top: 5px;
    left: 0;
  }
}

.embed-youtube {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.embed-youtube iframe,
.embed-youtube object,
.embed-youtube embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.search-results {
  margin-top: 50px;
  padding-top: 80px;
}

@media screen and (min-width: 1280px) {
  .search-results {
    margin-top: 70px;
  }
}

.search-results header#insider form {
  display: inline-block;
  position: relative;
  left: 50%;
  width: 300px;
  margin-top: 25px;
  text-align: center;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

.search-results header#insider form input[type="text"] {
  width: 300px;
  height: 60px;
  margin-bottom: 25px;
}

.search-results header#insider form button.cta {
  border: 1px solid #008ba6;
}

@media screen and (min-width: 1024px) {
  .search-results header#insider form {
    width: 450px;
  }

  .search-results header#insider form input[type="text"] {
    width: 400px;
    height: 40px;
    margin-bottom: 0;
    max-width: none;
    border-radius: 4px 0 0 4px;
  }

  .search-results header#insider form button.cta {
    height: 40px;
    width: 50px;
    background: #008ba6;
    position: absolute;
    right: 0;
    top: 0;
    left: initial;
    transform: none;
    color: white;
    border: none;
    outline: 0;
    margin-left: 5px;
    padding: 0;
    color: transparent;
    border-radius: 0 4px 4px 0;
  }

  .search-results header#insider form button.cta:after {
    content: url(img/icon-loupe.svg);
    width: 22px;
    height: 22px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
  }
}

.fa-facebook {
  font-size: 1.4em;
  position: relative;
  top: 3px;
}

#menu-menu-navigation>li.menu-item:last-child>a:hover .fa-facebook {
  color: #008ba6;
}

a[name="toc-0"] {
  position: relative;
  top: -80px;
  display: block;
}

a[name="toc-1"] {
  position: relative;
  top: -80px;
  display: block;
}

a[name="toc-2"] {
  position: relative;
  top: -80px;
  display: block;
}

a[name="toc-3"] {
  position: relative;
  top: -80px;
  display: block;
}

a[name="toc-4"] {
  position: relative;
  top: -80px;
  display: block;
}

a[name="toc-5"] {
  position: relative;
  top: -80px;
  display: block;
}

a[name="toc-6"] {
  position: relative;
  top: -80px;
  display: block;
}

a[name="toc-7"] {
  position: relative;
  top: -80px;
  display: block;
}

a[name="toc-8"] {
  position: relative;
  top: -80px;
  display: block;
}

a[name="toc-9"] {
  position: relative;
  top: -80px;
  display: block;
}

a[name="toc-10"] {
  position: relative;
  top: -80px;
  display: block;
}

a[name="toc-11"] {
  position: relative;
  top: -80px;
  display: block;
}

a[name="toc-12"] {
  position: relative;
  top: -80px;
  display: block;
}

a[name="toc-13"] {
  position: relative;
  top: -80px;
  display: block;
}

ul.page-numbers {
  display: inline-block;
  margin-top: 35px;
  text-align: center;
}

ul.page-numbers li {
  display: inline-block;
}

ul.page-numbers li .page-numbers {
  display: block;
  width: 25px;
  height: 28px;
  box-sizing: border-box;
  text-align: center;
  background: white;
  padding-top: 1px;
}

ul.page-numbers li span.page-numbers {
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

ul.page-numbers li a.page-numbers {
  text-decoration: none;
  color: #333333;
  border: 1px solid #008ba6;
}

ul.page-numbers li a.page-numbers:hover {
  background: #008ba6;
  color: white;
}

@media screen and (min-width: 550px) {
  ul.page-numbers {
    grid-column: 1 / 3;
  }
}

@media screen and (min-width: 1024px) {
  ul.page-numbers {
    grid-column: 1 / 4;
  }
}

.gallery-row {
  margin: auto;
}

.toc_list ul li {
  list-style-type: none;
  border-bottom: 1px solid white;
}

.toc_list ul li:last-child {
  border-bottom: 0;
}

.toc_list ul li a {
  text-align: left;
  min-height: 20px;
  padding: 8px 40px 8px 15px;
  display: block;
  width: 100%;
  box-sizing: border-box;
  background-color: gray;
  color: white;
  text-transform: uppercase;
  max-width: 450px;
  position: relative;
}

.toc_list ul li a:after {
  content: url(img/icon-left-arrow-white.svg);
  width: 14px;
  height: 21px;
  display: block;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transition: all .15s ease-in-out;
}

.toc_list ul li a:hover:after {
  right: 10px;
}

.parent-pageid-37 .toc_list ul li a,
.parent-pageid-58 .toc_list ul li a,
.parent-pageid-57 .toc_list ul li a {
  background-color: #c790bb;
}

.parent-pageid-36 .toc_list ul li a {
  background-color: #65b848;
}

.parent-pageid-6779 .toc_list ul li a,
.parent-pageid-35 .toc_list ul li a {
  background-color: #c63339;
}

.parent-pageid-38 .toc_list ul li a {
  background-color: #84bce9;
}

.service.fixed {
  position: initial;
  overflow: hidden;
}

@media screen and (min-width: 1024px) {
  .service.fixed {
    position: fixed;
    top: 91px;
    width: 21.5%;
    overflow: hidden;
  }
}

#page-post .content ul {
  padding-left: 19px;
}

#page-post .content .toc_list ul {
  padding-left: 0;
}

/*# sourceMappingURL=style.css.map */

/* Override MENU XL */
@media (min-width: 1280px) {
  #menu-menu-navigation>li.menu-item-has-children:hover>.submenu-content {
    box-sizing: border-box;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #f5f5f5;
    display: block;
    flex-wrap: unset;
    flex-direction: unset;
    width: 100%;
    padding: 15px 45px 45px;
    max-height: unset !important;
  }

  #menu-menu-navigation>li.menu-item-has-children:hover>.submenu-content>.sub-menu {
    box-sizing: border-box;
    position: relative;
    top: unset !important;
    left: unset !important;
    background: #f5f5f5;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
    padding: 0;
    max-height: unset !important;
  }

  #menu-menu-navigation>li.menu-item-has-children:hover>.submenu-content .sub-menu>li {
    width: 100% !important;
  }

  #menu-menu-navigation>li.menu-item-has-children:hover>.submenu-content .sub-menu li.menu-item a {
    width: 25%;
    height: unset !important;
    padding: 7px 40px 7px 7px !important;
    transition: all .25s ease-in-out;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #menu-menu-navigation>li.menu-item .submenu-content>ul.sub-menu>li.menu-item>a.has-menu::after {
    position: absolute;
    font-family: 'FontAwesome';
    content: "\f054";
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 15px;
    height: 15px;
    right: 15px;
  }

  #menu-menu-navigation>li.menu-item-has-children:hover>.submenu-content .sub-menu li.menu-item a:hover {
    background: #fff;
  }

  #menu-menu-navigation ul.sub-menu ul.sub-menu.menuopened {
    display: inline-flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    max-height: 100% !important;
  }

  #menu-menu-navigation ul.sub-menu ul.sub-menu.menuclosed {
    display: none !important;
  }

  #menu-menu-navigation>li.menu-item-has-children:hover>.submenu-content .sub-menu ul.sub-menu {
    padding: 0;
    margin: 0;
    width: 75%;
    position: absolute;
    right: 0;
    top: 0 !important;
    box-sizing: border-box;
  }

  #menu-menu-navigation>li.menu-item-has-children:hover>.submenu-content .sub-menu ul.sub-menu>li {
    padding: 0 15px;
  }

  #menu-menu-navigation ul.sub-menu li.menu-item ul.sub-menu li.menu-item {
    display: inline-flex !important;
    width: 33% !important;
  }

  #menu-menu-navigation ul.sub-menu li.menu-item ul.sub-menu li.menu-item>a {
    width: 100% !important;
  }

  #menu-menu-navigation>li.menu-item:nth-child(1) .submenu-content>ul.sub-menu>li.menu-item>a {
    color: #c63339;
  }

  #menu-menu-navigation>li.menu-item:nth-child(2) .submenu-content>ul.sub-menu>li.menu-item>a {
    color: #008ba6;
  }

  #menu-menu-navigation>li.menu-item:nth-child(3) .submenu-content>ul.sub-menu>li.menu-item>a {
    color: #65b848;
  }

  #menu-menu-navigation>li.menu-item:nth-child(4) .submenu-content>ul.sub-menu>li.menu-item>a {
    color: #c790bb;
  }

  #menu-menu-navigation>li.menu-item:nth-child(5) .submenu-content>ul.sub-menu>li.menu-item>a {
    color: #84bce9;
  }

  #menu-menu-navigation>li.menu-item:nth-child(6) .submenu-content>ul.sub-menu>li.menu-item>a {
    color: #dd941b;
  }

  #menu-menu-navigation>li.menu-item:nth-child(1).menu-item-has-children:hover>.submenu-content .sub-menu li.menu-item a.active {
    background: #c63339;
    color: #fff;
  }

  #menu-menu-navigation>li.menu-item:nth-child(2).menu-item-has-children:hover>.submenu-content .sub-menu li.menu-item a.active {
    background: #008ba6;
    color: #fff;
  }

  #menu-menu-navigation>li.menu-item:nth-child(3).menu-item-has-children:hover>.submenu-content .sub-menu li.menu-item a.active {
    background: #65b848;
    color: #fff;
  }

  #menu-menu-navigation>li.menu-item:nth-child(4).menu-item-has-children:hover>.submenu-content .sub-menu li.menu-item a.active {
    background: #c790bb;
    color: #fff;
  }

  #menu-menu-navigation>li.menu-item:nth-child(5).menu-item-has-children:hover>.submenu-content .sub-menu li.menu-item a.active {
    background: #84bce9;
    color: #fff;
  }

  #menu-menu-navigation>li.menu-item:nth-child(6).menu-item-has-children:hover>.submenu-content .sub-menu li.menu-item a.active {
    background: #dd941b;
    color: #fff;
  }  

}
