:root {
  --green: #3a6752;
  --beige: #faf1e0;
}

/* CUSTOM CSS MAIN */
@media screen and (max-width: 1920px) {
  .main.style2 .content {
    width: 55%; }
}
@media screen and (max-width: 1280px) {
  .main.style2 .content {
    width: 55%; }
}

.main.style2 .content {
  margin-bottom: 40px;
}

/* CUSTOM CSS INTRO WITH SLIDER MODULAR - MATHIEU */
section#slider .lightSlider li{
  font-size : 1.8em;
}

section#slider .lightSlider li a{
  font-size: 0.8em;
  transition: background-color 0.2s ease-in-out;
  background-color: #98c593;
  border: 0;
  border-radius: 2em;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  height: 2em;
  line-height: 2em;
  outline: 0;
  padding: 0 2em 0 2em;
  position: relative;
  text-align: center;
  text-decoration: none;
  margin-top: 30px;
}

section#slider .lightSlider li a:hover{
  background-color: #a8cea4;
}

/* CUSTOM CSS INTRO MODULAR - Mathieu */
section#intro h3{
  font-size: 2.4em !IMPORTANT;
  line-height: 2em !IMPORTANT;
}

section#intro h4{
  font-size: 1.8em !IMPORTANT;
  line-height: 0em !IMPORTANT;
}

/* CUSTOM CSS SECTION PROJECT - Mathieu */
section#le-projet {
  background-image: none !IMPORTANT;
  background-color: var(--green) !IMPORTANT;
}

section#le-projet header h2{
  font-size: 2em !IMPORTANT;
  margin-bottom: 50px;
}

/* CUSTOM CSS SECTION ATELIER / ECOLES */
#ateliers-du-mercredi h2, #ecoles-et-autres-structures h2{
  color: #FF8B3D;
}

/* CUSTOM CSS SECTION GALLERY - Mathieu */
section#gallery{
  background: var(--beige);
}

section#gallery h2{
  color: var(--green);
}

/* CUSTOM CSS SECTION CONTACT - Mathieu */
section#contact, section#contact .box{
  background-color: var(--green) !IMPORTANT;
  color: #ffffff;
}

section#contact a.icon{
  font-size: 2em;
}

section#contact header, section#contact header ul.icons{
  margin-bottom: 0px;
}

section#contact .form-input-wrapper input, section#contact .form-textarea-wrapper textarea{
    background-color: #538b69;
}

section#contact #location{
  margin-top: 40px;
}

section#contact #location p{
  line-height: 1.2em;
}

section#contact #location #address{
  text-align: left;
  font-size: 0.8em;
  width: 35%;
  float: left;
  padding: 25px 10px;
}

section#contact #location #map-osm{
  width: 65%;
  float: left;
  margin-bottom: 40px;
}

section#contact #location #map-osm iframe#osm_canvas{
  width: 100% !important;
  height: 250px;
  border-radius: 4px;
}

/* CUSTOM CSS TEAM MODULAR - Mathieu */
@media screen and (max-width: 1920px) {
  #lequipe .content {
    width: 70%;
  }

  #lequipe .content .column{
    width: 33%;
  }
}

@media screen and (max-width: 1000px){
  #lequipe .content {
    width: 80%;
  }

  #lequipe .content .column{
    width: 100%;
  }
}

@media screen and (max-width: 736px){
  #lequipe .content {
    width: 100%;
    max-width: 100%;
  }

  #lequipe .content .column{
    width: 100%;
  }
}

#lequipe header{
  text-align: center;
}

#lequipe .content{
  margin-bottom:50px;
}

#lequipe .content img{
  width: 180px;
  border-radius: 180px;
  margin: 0 auto;
  display: block;
}

#lequipe .content .column {
  float: left;
  padding: 20px;
  text-align: center;
}

#lequipe .content .column h3{
  text-align: center;
}

/* Clear floats after the columns */
#lequipe .content .row:after {
  content: "";
  display: table;
  clear: both;
}

/* CUSTOM CSS GALLERY MODULAR - Mathieu */

section#gallery .gallery article{
  padding: 5px !IMPORTANT;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

section#gallery .gallery article:hover{
  padding: 0px !IMPORTANT;
}

/* CUSTOM CSS PARTENAIRES MODULAR - Mathieu */
@media screen and (max-width: 1920px) {
  #partenaires .content {
    width: 70%;
  }

  #partenaires .content .column{
    width: 25%;
  }
}

@media screen and (max-width: 1200px){
  #partenaires .content {
    width: 80%;
  }

  #partenaires .content .column{
    width: 50%;
  }
}

@media screen and (max-width: 736px){
  #partenaires .content {
    width: 100%;
    max-width: 100%;
  }

  #partenaires .content .column{
    width: 100%;
  }
}

section#partenaires{
  padding: 1em 0;
}

#partenaires header{
  text-align: center;
}

#partenaires .content{
  margin-bottom:50px;
  padding: 0px;
  background-color: rgba(0,0,0,0);
}

#partenaires .content .container .row .column {
  float: left;
  padding: 20px;
  text-align: center;
}

#partenaires .content .container .row .column h3{
  text-align: center;
  font-weight: lighter;
}

#partenaires .content .container .row .column p{
  width: 180px;
  height: 180px;
  margin: 10px auto;
}

#partenaires .content .container .row .column p img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Clear floats after the columns */
#partenaires .content .row:after {
  content: "";
  display: table;
  clear: both;
}
