/* -------------------------------- 

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  color: #222;
  background-color: #3B384E;
}

a {
  text-decoration: none;
}

#title {
  padding: 30px;
  height: 460px;
   margin: 10vh auto;
}

.grey1 {
  background: #DBDBDB;
}
.grey2 {
  background: #C9C7BD;
}
.grey3, .grey4 {
  background: #E8E8E8;
}
.grey4 h4 {
  width: 250px;
  border-bottom: 8px solid #121223;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 20px;
  font-size: 36px;
  font-family: 'Montserrat', sans-serif;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
}

h1{
  font-size: 72px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
  color: #fff;
  text-align: center;
}

h2, h3 {
  font-family: 'Montserrat', sans-serif;
  display: block;
  padding-bottom: 40px;
  margin: 0 auto 40px;
  font-size: 76px;
  border-bottom: 8px solid #81BF45;
  color: #fff;
  text-shadow: 5px 5px 10px rgba(0,0,0,0.2);
  text-align: left;
}

h3 {
  border: none;
  font-size: 52px;
  margin-bottom: 0;
}

h4 {
    font-size: 32px;
    font-weight: 800;
    color: #333;
  }

h5 {
  font-size: 22px;
}


.dropdown-menu {
  border: none;
  background: rgba(255,255,255,0.9);
}

.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
  color: #000!important;
}

a.go-top {
  display: block;
  position: fixed;
  right: 100px;
  bottom: 100px;
  width: 70px;
  height: 70px;
  z-index: 1000;
  color: #fff;
  background: rgb(20,20,35);
  border-radius: 50%;
  font-size: 60px;
  line-height: 0;
  padding-top: 15px;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3)
}

a.go-top:after {
  content: "Retourner en haut de la page";
  margin-top: 20px;
  display: block;
  line-height: 10px;
  font-size: 12px;
  font-weight: bold;
  color: #000;
  opacity: 0;
  background: #fff;
  padding: 5px;
  text-decoration: none;
  transition: opacity 0.2s linear;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3)
}

a.go-top:hover:after {
  opacity: 1;
  text-decoration: none;
}

a.go-top img {
  width: 40px;
}
a.go-top:hover {
  box-shadow: 4px 4px 6px rgba(0,0,0,0.3);
  right: 102px;
  bottom: 102px;
}

.btn {
  display: inline-block;
  padding: 1em 1.6em;
  margin-top: 1em;
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;
  border-radius: 50em;
  border: 2px solid #43b549;
  -webkit-transition: background 0.3s;
  -moz-transition: background 0.3s;
  transition: background 0.3s;
}

.btn:hover {
  background: rgba(255,255,255, 0.6);
}
.btn-main {
  background: rgba(255,255,255,0.3);
}
.wrap-btn {
  position: absolute;
  z-index:50;
  top: 55vh;
  width: 100%;
  text-align: center;
}


.count-articles, .count-revues {
  font-size: 32px;
  color: #6C7079;
  float: right;
  margin-top: -25px;
  width: 60px;
  text-align: center;
}

.count-articles:after, .count-revues:after {
  display: block;
  font-size: 12px;
  background: #6C7079;
  color: #fff;
  border-radius: 11px;
  height: 22px;
  width: 60px;
  text-align: center;
  margin-top: -8px;
}
.count-articles:after {
  content: "articles";
}
.count-revues:after {
  content: "revues";
}

.counter {
  width: 300px;
  height: 145px;
  margin: -72px auto;
  background: #121223;
  text-align: center;
  z-index: 100;
  position: relative;
  border-radius: 7px;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.4);
}

.counter .wrap {
  position: absolute;
  top: 30px;
  left: 0;
  width: 150px;
  height: 85px;
  /*margin-top: -40px; */
}
.counter .wrap.wrap2 {
  left: 150px;
}
.counter .wrap:first-of-type {
  border-right: 1px solid #555;
}

.counter .count-articles, .counter .count-revues {
  float: none;
  display: inline-block;
  color: #fff;
  margin-top: 0px;
}

.counter .count-articles {
}



.counter .count-articles:after, .counter .count-revues:after {
  background: #fff;
  color: #121223;
}
/*------------navbar---------------*/
.navbar {
  border: none;
}

/*------------arrow---------------*/

.arrow-wrap {
  position:absolute;
  z-index:1000;
  left:50%;
  top:-5em;
  margin-left:-5em;
  background:#111;
  width:10em;
  height:10em;
  padding:4em 2em;
  border-radius:50%;
  font-size:0.5em;
  display:block;
  box-shadow:0px 0px 5px 0px #333;
}

.arrow {
  float:left;
  position:relative;
  width: 0px;
height: 0px;
border-style: solid;
border-width: 3em 3em 0 3em;
border-color: #ffffff transparent transparent transparent;
  -webkit-transform:rotate(360deg)
}

.arrow:after {
  content:'';
  position:absolute;
  top:-3.2em;
  left:-3em;
  width: 0px;
height: 0px;
border-style: solid;
border-width: 3em 3em 0 3em;
border-color: #111 transparent transparent transparent;
  -webkit-transform:rotate(360deg)
}


.hint {
  position:absolute;
  top:0.6em;
  width:100%;
  left:0;
  font-size:2em;
  font-style:italic;
  text-align:center;
  color:#fff;
  opacity:0;
}


.arrow-wrap:hover .hint {
  opacity:1;
}


  @-webkit-keyframes arrows {
    0% { top:0; }
    10% { top:12%; }
    20% { top:0; }
    30% { top:12%; }
    40% { top:-12%; }
    50% { top:12%; }
    60% { top:0; }
    70% { top:12%; }
    80% { top:-12%; }
    90% { top:12%; }
    100% { top:0; }
  }
  
  .arrow-wrap .arrow {
    -webkit-animation: arrows 2.8s 0.4s;
    -webkit-animation-delay: 3s;
  }

/*-------------- ! arrows ------------*/

footer {
  position: relative;
  width: 100%;
  height: 200px;
  background: #81BF45;
  z-index: 5;
  color: #fff;
  padding: 80px;
  text-align: center;
}

.presse-footer footer{
  position: relative;
}

.mentions-legales {
  float: left;

}

.mentions-legales a {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 0 10px;
}

.mentions-legales a:first-of-type {
  border-right: 2px solid #fff;
}

#copyright {
  clear: left;
}

/* -------------------------------- 

Animations

-------------------------------- */


@-webkit-keyframes animateCloud {
    0% {
        margin-left: -100px;
    }
    100% {
        margin-left: 100%;
    }
}

@-moz-keyframes animateCloud {
    0% {
        margin-left: -100px;
    }
    100% {
        margin-left: 100%;
    }
}

@keyframes animateCloud {
    0% {
        margin-left: -100px;
    }
    100% {
        margin-left: 100%;
    }
}

@-webkit-keyframes balloon {
    0% {
        margin-top: 500px;
    }
    100% {
        margin-top: 50px;
    }
}

@-moz-keyframes balloon {
    0% {
        margin-top: 500px;
    }
    100% {
        margin-top: 50px;
    }
}

@keyframes balloon {
    0% {
        margin-top: 500px;
    }
    100% {
        margin-top: 50px;
    }
}
/* -------------------------------- 

Modules

-------------------------------- */

.cd-container {
  width: 100%;
  padding: 150px 10vw;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

/* -------------------------------- 

Main components 

-------------------------------- */


/*-------------------nav------------------*/
#mobile-nav {
  display: none;
}
.navbar-nav>li>.dropdown-menu {
  max-width: 200px;
}
.navbar-default .navbar-nav>li>a {
  color: #1C1C1C;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
  background: transparent;
  color: #000;
  border: 2px solid #81BF45;
  height: 52px;
  border-radius: 26px;
}
.navbar-default {
  background: transparent;
}

.cd-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 70px;
  z-index: 1000;
}
.cd-header:after {
  content: "";
  display: table;
  clear: both;
}
.cd-header #cd-logo {
  position: absolute;
  top: 0;
  right: 20px;
  margin: 5px 2% 0 0;
}
.cd-header #cd-logo img {
  display: block;
    width: 160px;
}

#e,#c,#o,#d,#r,#o2,#m {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
}

#e {
  background-image: url("../img/illustration/e.png");
  z-index: 20;
}

#c {
  background-image: url("../img/illustration/c.png");
  z-index: 21;
}

#o {
  background-image: url("../img/illustration/o.png");
  z-index: 22;
}

#d {
  background-image: url("../img/illustration/d.png");
  z-index: 23;
}

#r {
  background-image: url("../img/illustration/r.png");
  z-index: 24;
}

#o2 {
  background-image: url("../img/illustration/o2.png");
  z-index: 25;
}

#m {
  background-image: url("../img/illustration/m.png");
  z-index: 26;
}


.cd-main-nav {
  float: left;
/*  margin-left: 10px;
  width: 30px;
  height: 30px;
  background: url("../img/hamburger.svg") no-repeat center center;
  background-size: 30px 30px;
  cursor: pointer;*/
}
.cd-main-nav ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
}
.cd-main-nav ul.is-visible {
  -webkit-transform: translateY(50px);
  -moz-transform: translateY(50px);
  -ms-transform: translateY(50px);
  -o-transform: translateY(50px);
  transform: translateY(50px);
}
.cd-main-nav a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 5%;
  background: #2e313d;
  border-top: 1px solid #353846;
  color: #000;
  text-shadow: 1px 1px 0 #000;
  font-weight: 800;
}


/*---------------------CD INTRO----------------------*/


#cd-intro {
  position: relative;
  height: 300px;
  margin-top: 50px;
}
#cd-intro #cd-intro-background {
  height: 100%;
  width: 100%;
  background: #c6b6a1 url("../img/illustration/background.jpg");
  background-size: cover;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

#cd-intro-background {
    z-index: -3;
}

.balloon {
  width: 150px;
  height: 178px;
  background-image: url("../img/balloon.svg");
  position: absolute;
  top: -300px;
  left: 60%;
  z-index: 2;
  -webkit-animation-name: balloon;
  -webkit-animation-duration: 30s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  background-size: 100%;
}

.cloud {
  width: 200px;
  height: 100px;
  background-image: url("../img/cloud.png");
  position: absolute;
  top: 200px;
  left: -300px;
  z-index: 2;
  -webkit-animation-name: animateCloud;
  -webkit-animation-duration: 55s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  background-size: 100%;
}

.cloud:nth-of-type(1) {
  -webkit-animation-delay:2s;
}

.cloud:nth-of-type(2) {
  width: 150px;
  height: 75px;
  top: 120px;
  -webkit-animation-delay: 6s;
   -webkit-animation-duration: 60s;
}

.cloud:nth-of-type(3) {
  width: 100px;
  height: 50px;
  top: 170px;
  left: -100px;
  -webkit-animation-duration: 45s;
}

.foreground {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url("../img/illustration/foreground.png") no-repeat center center;
  background-size: cover;
  z-index: 3;
}
#cd-intro #cd-intro-tagline, #cd-intro #cd-intro-tagline-top {
  position: absolute;
  width: 100%;
  left: 60%;
  top: 58%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

#cd-intro #cd-intro-tagline-top {
  z-index: 4;
}


  #cd-intro {
    position: fixed;
    /* do not overlap the header */
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
  }


.cd-content {
  position: relative;
  line-height: 1.6;
  color: #65676f;
  background-color: #e0e0e0;
  z-index: 10;
}
.cd-content::before {
  /* subtle gradient right above the main content */
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 50px;
  background: -webkit-linear-gradient( bottom , rgba(46, 49, 61, 0.5), rgba(46, 49, 61, 0));
  background: linear-gradient(to top, rgba(46, 49, 61, 0.5), rgba(46, 49, 61, 0));
}
.no-cssgradients .cd-content::before {
  /* use Modernizr to detect whether the browser supports or not css gradients */
  display: none;
}


  .cd-content {
    line-height: 1.8;
  }

}
  .cd-content {
    margin-top: 85vh;
  }

/* -------------------------------- 

Slider

-------------------------------- */
.carousel {
  width: 70%;
  margin: 0 15% 150px 15%;
}
.carousel-inner .item img {
  width: 100%;
  height: auto;
}
.carousel-control.left, .carousel-control.right {
  opacity: 1;
  background-image: none;
}
.chevron-left, .chevron-right {
  display: block;
  width: 70px;
  height: 70px;
  background: #81BF45;
  border-radius: 50%;
  opacity: 1!important;
  margin-top: 210px;
  position: relative;
  z-index: 1000;
}
/*-----------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------*/
/*---------------------------------------HOME----------------------------------------------*/
/*-----------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------------*/
 
#index #cd-intro {
  height: 75vh;
}

#index .foreground {
  top: 0;
}

#index .cd-content {
  margin-top: 75vh;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
}

#index .cd-container, #ecoldrom .cd-container {
  padding: 0;
}
#index .row div:first-child {
  padding: 100px 60px 100px 6%;
}
#index .row div:last-child {
  padding: 100px 6% 100px 60px;
}
#ecoldrom .row:first-child {
  padding: 100px;
}
#ecoldrom .row:not(:first-child) {
  padding: 0 100px;
}
#ecoldrom .row:last-child {
  padding: 100px;
}

#ecoldrom .row {
  padding: 40px 0;
}
#index .row div:only-child {
  padding: 100px 10%;
}

#index .row div:only-child.center-block-3 {
  margin-top: 50px;
  padding-top: 50px;
  border-left: 1px solid #C4C4C4;
  border-right: 1px solid #C4C4C4;
}

#index .grey3 {
  padding-top: 100px;
}

#index h2 {
  width: 80%;
  text-align: left;
  border-bottom: 8px dashed #81BF45;
  margin: 0 0 40px 0;
}
#index .icon {
  width: 30%;
  height: 100px;
  margin: 0 auto;
  display: block;
  border-bottom: 8px solid #121223;
  padding-bottom: 40px;
  margin-bottom: 40px;
  -webkit-filter: brightness(100%);
  -moz-filter: brightness(100%);
  -ms-filter: brightness(100%);
  -o-filter: brightness(100%);
  filter: brightness(100%);
}

#index .row div:only-child.colette {
  padding-bottom: 20px;
}

#index .colette img.heart {
  display: block;
  width: 100px;
  margin: 20px auto;
}

#index .colette strong {
  display: block;
  font-size: 24px;
  margin-bottom: 20px;
}

#index .colette strong:after {
  content: "";
  display: block;
  width: 100px;
  height: 8px;
  background: #81BF45;
  margin-top: 20px;
}

#index h2.hommage {
  border-bottom: none;
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0;
}

#index h2.hommage span {
  font-size: 100px;
  display: block;
}

#index .reportage {
  text-align: center;
  background: url('../img/cloud2.svg') no-repeat;
  background-size: cover;
}

#main-content {
  font-size: 20px;
  color: #1C1C1C;
}

.objectif-list {
  padding-left: 60px;
}



.background-img1 {
  background: url('../img/lalo_au_jardin_cover.jpg');
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
}

main li {
/*list-style-image: url('../img/bulb.svg');*/
margin-top: 20px;
}

#main-content img {
  width: 100%;
/*  -webkit-filter: brightness(50%);
  -moz-filter: brightness(50%);
  -ms-filter: brightness(50%);
  -o-filter: brightness(50%);
  filter: brightness(50%);*/
}
#main-content img.power {
  width: 50%;
  float: right;
}

h2 span {
  font-size: 86px;
}
.one, .two {
  margin-top: 100px;
  display: block;
  font-size: 200px;
  font-family: 'Montserrat', sans-serif;
  text-shadow: none;
  line-height: 0;
}
.margin-top-200 {
  margin-top: -200px;
}

.one {
  color: #81BF45;
/*  margin-bottom: -120px;
  margin-left: -40px;*/
}

.two {
  color: #313349;
}

h4 {
  color: #fff;
  margin-bottom: 60px;
}

h4.green {
  color: #81BF45;
}

blockquote {
  font-size: 22px;
  color: #231F20;
  font-weight: 700;
  border: none;
  margin: 0;
  padding: 0;
  width: 90%;
}


main aside li {
  list-style: disc;
    margin-top: 10px;
    font-size: 16px;
}
.citation {
  background: #E8E8E8;
}
.citation blockquote {
  font-size: 32px;
  text-align: center;
  width: 100%;
  font-style: italic;
  color: #81BF45;
}

cite {
  display: block;
  text-align: center;
  width: 100%;
}

.background1 {
  background: url('../img/backgrounds/ecodrom1.jpg');
  background-size: cover;
  min-height: 650px;
}
.background2 {
  background: url('../img/backgrounds/lalo_au_jardin_cover.jpg');
  background-size: cover;
  min-height: 850px;
}
.background2 strong {
  color: #fff;
}
.background3 {
  background: url('../img/backgrounds/samy_vote.jpg');
  background-size: cover;
  color: #aeaeae;
}

.fontsize16 {
  font-size: 16px;
}
/*-----------------------------------------------------------------------------------------*/
/*---------------------------------------ARTICLES------------------------------------------*/


.menu-articles {
  position: fixed;
  top: 80px;
  left: 20px;
  width: 25%;
  padding: 0 10px;
}

.menu-articles h4 {
  width: 150px;
  margin: 15px 0;
  text-align: left;
  color: #81BF45;
  font-size: 22px;
}

.menu-articles a {
  display: block;
  width: 100%;
  text-decoration: none;
  bottom: 1px solid;
  box-shadow: inset 0 -1px rgba(0, 0, 20, 0.2);
  color: #555;
  font-size: 14px;
  font-weight: bold;
  padding: 2px;
  transition: all 0.4s linear;
}

.menu-articles a:hover {
  /*background: rgb(0, 0, 20);*/
  color: #81BF45;
}

#cd-intro {
  height: 60vh;
}

.foreground {
  top: -20vh;
}

.cd-content {
  margin-top: 50vh;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
}

 .cd-content::before {
  background: transparent;
}

#page-article .cd-container {
  padding-top: 100px;
}

#page-article article:not(:first-of-type) {
  margin-top: 100px; 
}

#page-article h4.green {
  margin: 40px 0; 
}
#page-article article img:first-of-type {
  margin-bottom: 40px;
}
#page-article article img:not(:first-of-type) {
  margin: 40px 0;
}

#page-article h1, #nous-rejoindre h1, #plan h1, #page-contact h1, #revue-presse h1, #ecoldrom h1, #mentions-legales h1, #moultoux h1, #roms h1 {
  text-transform: uppercase;
  text-align: center;
  font-size: 100px;
  margin: 10vh auto 0;
  width: 700px;
  letter-spacing: 15px;
  text-shadow: 4px 4px 20px rgba(0,0,0,0.4);
}

#nous-rejoindre h1, #revue-presse h1, #ecoldrom h1, #mentions-legales h1, #moultoux h1, #roms h1 {
  font-size: 72px;
}

#page-article #title, #nous-rejoindre #title, #plan #title, #page-contact #title, #revue-presse #title, #ecoldrom #title, #mentions-legales #title, #moultoux #title, #roms #title {
  width: 100%;
}

#page-article #cd-intro #cd-intro-tagline-top, #nous-rejoindre #cd-intro #cd-intro-tagline-top, #plan #cd-intro #cd-intro-tagline-top, #page-contact #cd-intro #cd-intro-tagline-top, #revue-presse #cd-intro-tagline-top, #page-contact #cd-intro #cd-intro-tagline-top, #ecoldrom #cd-intro-tagline-top, #mentions-legales #cd-intro-tagline-top, #moultoux #cd-intro-tagline-top, #roms #cd-intro-tagline-top {
  left: 50%;
}

#page-article h2, #nous-rejoindre h2, #plan h2, #page-contact h2, #revue-presse h2{
  float: left;
  font-size: 48px;
  width: 70%;
  text-shadow: 2px 2px 15px rgba(0,0,0,0.3);
}

#page-article b {
  display: block;
  margin: 20px 0 10px; 
}

#revue-presse .cd-container {
  padding-top: 40px;
}
#revue-presse .titles label {
  font-size: 26px;
  color: rgb(20,20,35);
}
#revue-presse .titles h6 {
  font-size: 18px;
}
#revue-presse .titles h6:last-of-type {
  margin-bottom: 20px
}

#revue-presse .titles h6:first-of-type {
  margin-top: 20px
}

#revue-presse .titles h6 span {
  font-weight: bold;
  margin-right: 10px;
  color: #313349;
}

#revue-presse .titles strong {
  display: block;
  color: #81BF45;
  font-size: 18px;
  margin-bottom: 20px;
}
/*---------------------------------Plan------------------------------------*/
.infos {
  padding: 60px 0;
  text-align: center;
  color: #313349;
}

.question-mark {
float: right;
}

.question {
  font-size: 26px;
  font-weight: bold;
  float: left;
}

.infos span {
  font-size: 18px;
}

/*---------------------------------Nous rejoindre------------------------------------*/
#nous-rejoindre {
  text-align: center;
}
#nous-rejoindre h2, #page-contact h2{
  width: 100%;
  text-align: center;
}

.list-nous-rejoindre, .list-contact {
  text-align: left;
  width: 60%;
  margin: 0 20%;
  font-size: 22px;
}

/*---------------------------------Contact------------------------------------*/

/*.list-contact {
  font-size: 38px;
}*/
#page-contact .cd-container{
  padding-top: 100px;
}
#page-contact h2 {
  display: block;
  text-align: center;
  float: none;
  border: none;
  font-size: 72px;
}

#page-contact form, #page-contact label, #page-contact input, #page-contact textarea {
  width: 500px;
  margin: 0 auto;
}

#page-contact label {
  text-align: left;
  display: block;
  color: #313349;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
}

input, textarea {
  border: none;
  background: #fff;
  border-bottom: 5px solid #81BF45;
}

#page-contact input[type=submit] {
  display: block;
  width: 200px;
  height: 50px;
  margin: 20px auto;
  background: #313349;
  border-radius: 25px;
  border: 5px solid #fff;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}


/*--------------------------PROJET ECORDROM----------------------------*/

#ecodrom .cd-container {
  padding: 0;
}
#ecodrom .row div:first-child{
  padding: 100px 2% 100px 10%;
}
#ecodrom .row div:last-child{
  padding: 100px 10% 100px 2%;
}
#ecodrom .row div:only-child{
  padding: 100px 10%;
}

#ecodrom .row div:only-child.center-block-3 {
  margin-top: 50px;
  padding-top: 50px;
  border-left: 1px solid #C4C4C4;
  border-right: 1px solid #C4C4C4;
}

#ecoldrom h3 {
  font-size: 42px;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.2);
}

#ecoldrom h3 .green {
  color: #81BF45;
  text-shadow: none;
}

/*---------------------------------Mentions legales------------------------------------*/


#mentions-legales strong {
  display: block;
  font-size: 22px;
  line-height: 26px;
  margin-bottom: 20px;
  margin-top: 22px;
}
#mentions-legales b {
  display: block;
  margin: 30px 0 20px;
  font-size: 18px;
}
#mentions-legales b:after {
  content: "";
  display: block;
  width: 100px;
  height: 8px;
  background: #81BF45;
}

/*helpers */

.row div:only-child.padding-bottom-0 {
  padding-bottom: 0;
}

.row div:first-child.padding-top-0, .row div:last-child.padding-top-0 {
  padding-top: 0;
}

.row .padding-bottom-0 {
  padding-bottom: 0;
}

#index .row div:first-child.padding-top-0, #index .row div:last-child.padding-top-0 {
  padding-top: 0; 
}



/*@media only screen and (min-width: 768px) {*/
  .cd-main-nav {
    width: 100%;
    height: 50px;
    padding-top: 10px;
  }
  .cd-main-nav ul {
    position: static;
    width: auto;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    line-height: 70px;
  }
  .cd-main-nav ul.is-visible {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
  .cd-main-nav li {
    display: inline-block;
    margin-left: 1em;
  }
  .cd-main-nav a {
    display: inline-block;
    height: auto;
    line-height: normal;
    background: transparent;
    padding: .6em 1em;
    border-top: none;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
  }
/*}*/
@media only screen and (max-width: 1080px) {
  #cd-intro #cd-intro-tagline, #cd-intro #cd-intro-tagline-top {
    left: 52%;
  }
  #title {
    height: 300px;
  }
  #index .row div:last-child, #index .row div:first-child {
    padding: 50px 60px;
  }
  #index .row div:only-child.center-block-3 {
    margin-top: 0;
  }
  .background1 , .background2{
    height: auto;
    min-height: 200px;
  }
  .menu-articles {
    display: none !important;
  }
}
@media only screen and (max-width: 768px) {



  .mobile-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
  }
  #index .mobile-background, #roms .mobile-background, #nous-rejoindre .mobile-background, #mentions-legales .mobile-background {
    background: #3B384E url('../img/mobile-background.jpg') no-repeat fixed;
    background-size: contain;
  }
  #ecoldrom .mobile-background {
    background: #3B384E url('../img/mobile-background-ecoldrom.jpg') no-repeat fixed;
    background-size: contain;
  }

  #moultoux .mobile-background {
    background: #3B384E url('../img/mobile-background-moultoux.jpg') no-repeat fixed;
    background-size: contain;
  }

  #page-article .mobile-background {
    background: #3B384E url('../img/mobile-background-articles.jpg') no-repeat fixed;
    background-size: contain;
  }

  #page-contact .mobile-background {
    background: #3B384E url('../img/mobile-background-contact.jpg') no-repeat fixed;
    background-size: contain;
  }

  #revue-presse .mobile-background {
    background: #3B384E url('../img/mobile-background-presse.jpg') no-repeat fixed;
    background-size: contain;
  }

  #plan .mobile-background {
    background: #3B384E url('../img/mobile-background-plan.jpg') no-repeat fixed;
    background-size: contain;
  }

  #index .cd-content {
    margin-top: 74vh;
  }

  .cd-content {
    margin-top: 74vh;
  }

  a.go-top {
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
  }

  a.go-top img {
    width: 20px;
  }
  a.go-top:hover {
    right: 20px;
    bottom: 20px;
  }
  #mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    background: rgb(0,0,20);
    z-index: 1000;
  }
  a.mobile-logo {
    height: 40px;
    display: block;
    margin: 5px auto;
  }
  #mobile-logo {
    display: block;
    height: 40px;
    width: auto;
    margin: 0 auto;
  }

  .nav-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
  }
  .nav-icon div.bar {
    position: relative;
    left: 0;
    width: 30px;
    height: 4px;
    background: #fff;
    margin-bottom: 6px;
    transition: all 0.5s linear;
  }

  .nav-icon.open div.bar:nth-of-type(1) {
    transform: rotate(45deg);
    width: 40px;
    margin-top: 12px;
    margin-left: -5px;
  }
  .nav-icon.open div.bar:nth-of-type(2) {
    opacity: 0;
  }
  .nav-icon.open div.bar:nth-of-type(3) {
    transform: rotate(-45deg);
    width: 40px;
    margin-top: -20px;
    margin-left: -5px;
  }

  .drop-list {
    position: fixed;
    top: 50px;
    left: 0;
    display: none;
    width: 100%;
    height: 0;
    background: rgba(0,0,20,0.95);
    padding: 0px;
  }
  
  .mobile-nav-left, .mobile-nav-right {
    float: left;
    width: 50%;
    padding: 10px;
    opacity: 0;
    transition: all 0.4s linear;
  }

  .mobile-nav-left {
    padding-right: 20px;
  }

  .drop-list li {
    padding: 10px 5px;
    width: 100%;
    text-transform: uppercase;
    /*border-bottom: 1px solid #222;*/

  }

  .drop-list a {
    color: #888;
  }


  .drop-list li.accueil {
    border-bottom: 3px solid #81BF45;
    padding-bottom: 20px;
  }
  .drop-list li.drop-list-title a, .drop-list li.drop-list-title {
    color: #fff;
    /*font-size: 18px;*/
    font-family: 'Montserrat', sans-serif;
  }



  #cd-intro {
    display: none;
  }
  .cd-header {
    display: none;
  }
  h2, h3, #page-article h2, #nous-rejoindre h2, #plan h2, #page-contact h2, #revue-presse h2 {
    font-size: 32px;
    width: 100%;
  }

  #moultoux h2, #roms h2 {
    padding-top: 40px;
  }

  #index .grey3 {
    padding-top: 40px;
  }
  #index .row div:only-child.center-block-3 {
    padding-top: 0;
  }
 #index h2.hommage span {
    font-size: 36px; 
  }
  #index .row div:first-child, #index .row div:first-child.padding-top-0, #index .row div:last-child.padding-top-0, #index .row div:last-child{
    padding: 20px;
  }
  .objectif-list {
    padding-left: 0;
  }
  .one, .two {
    font-size: 80px;
    margin-top: 50px;
  }
  .background1 {
    height: 250px;
    min-height: 200px;
  }
  .background2 {
    height: 400px;
    min-height: 400px;
  }

  .counter {
    display: none;
  }
  
  #ecoldrom .row:first-child, #ecoldrom .row:not(:first-child) {
    padding: 40px 0px 0px;
  }

  #ecoldrom h3 {
    font-size: 22px;
  }
  .citation {
    text-align: center;
  }
  .citation blockquote {
    font-size: 22px;
  }
  cite {
    margin-top: 20px;
    padding-bottom: 40px;
  }
  

  .carousel {
    width: 100%;
    margin: 0;
  }

  #carousel-moultoux2{
    margin-bottom: 40px;
  }
  
  #page-article .cd-container {
    padding-top: 40px;
  }
  .cd-container {
    padding: 0;
  }

  #page-article article:not(:first-of-type) {
    margin-top: 40px;
  }
  #page-article h4.green {
    margin: 20px 0;
    font-size: 22px;
  }


  #page-contact h2 {
    margin-bottom: 0px;
  }
  #page-contact .cd-container {
    padding-top: 60px;
  }

  #page-contact form, #page-contact label, #page-contact input, #page-contact textarea{
    width: 280px;
  }

  #page-contact input[type=submit] {
    margin-bottom: 40px;
  }

  .count-articles:after, .count-revues:after {
    display: block;
    font-size: 12px;
    color: #fff;
    border-radius: 11px;
    height: 22px;
    text-align: center;
    margin-top: -8px;
  }

  .count-articles, .count-revues {
    font-size: 26px;
    color: #6C7079;
    float: right;
    margin-top: -18px;
    text-align: center;
  }
  
  .infos {
    padding-top: 20px;
  }
  
  .question-mark {
    float: none;
    margin-bottom: 20px;
  }

  .paddingtop40 {
    padding: 40px 20px;
  }

  .question {
    font-size: 21px;
  }

  .infos span {
    font-size: 10px;
  }
  
  .mobile-title {
    margin-top: 40px;
  }
  .list-nous-rejoindre {
    width: 100%;
    margin: 5px 5px 40px;
    font-size: 16px;
  }
  #mentions-legales strong {
    font-size: 18px;
    padding-top: 40px;
  }
  #mentions-legales main {
    padding-bottom: 40px;
  }
  iframe {
    max-height: 300px !important;
  }

  footer {
    text-align: center;
    padding: 40px 20px;
    height: auto;
  }

  .mentions-legales {
    float: none;
    margin-bottom: 20px;
  }
}