/**********************************************************************************************************************************/
/* HEADER
/**********************************************************************************************************************************/
#header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;

  transition: background 0.3s ease, box-shadow 0.3s ease;
  -moz-transition: background 0.3s ease, box-shadow 0.3s ease;
  -webkit-transition: background 0.3s ease, box-shadow 0.3s ease;
  -o-transition: background 0.3s ease, box-shadow 0.3s ease;
}

#header a{
  color: #FFFFFF;
}

#header .lvl2 a:hover{
	background: #99BD29 !important;
  color: #FFFFFF !important;
}

#header .lvl2 a::before{
  content: none !important;
}

#header #logo-default{
  display: none;
}

#header #logo-white{
  display: block;
}


/**********************************************************************************************************************************/
/* COVER
/**********************************************************************************************************************************/
#cover img{
  width: 100%;
  height: auto;
  display: block;
  min-height: 30vh;
  object-fit: cover;
  object-position: center;
  max-height: 85vh;
}

@media only screen and (min-width: 10240px) {
  #cover img{
    object-fit: none;
  }
}

/**********************************************************************************************************************************/
/* SECTEUR TITLE
/**********************************************************************************************************************************/
#secteur-header{
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

h1 .specialement{
  padding: 20px;
  display: block;
  text-align: center;
}
@media only screen and (min-width: 1024px) {
  h1 .specialement{
    padding: 20px 40px;
    border-radius: 30px;
    margin-top: -30px;
    background: #FFFFFF;
  }
}

h1 .title{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  text-transform: uppercase;
  color: #2f2f2e;
}

@media only screen and (min-width: 1024px) {
  h1 .title{
    font-size: 50px;
  }
}

/**********************************************************************************************************************************/
/* INTRO
/**********************************************************************************************************************************/
#secteur-intro{
  color: #2f2f2e;
  display: flex;
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
  line-height: 1.8em;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

@media only screen and (min-width: 680px) {
  #secteur-intro{
    margin: 100px auto;
    padding: 0 50px;
    flex-direction: row;
    justify-content: flex-start;

  }
}

#secteur-intro .frame-type-image{
  display: none;
}

@media only screen and (min-width: 680px) {
  #secteur-intro .frame-type-image{
    min-width: 260px;
    margin-right: 60px;
    display: block;
  }
}

#secteur-intro .frame-type-image img{
  width: 100%;
  height: auto;
}


/**********************************************************************************************************************************/
/* SECTEUR BROCHURE
/**********************************************************************************************************************************/
#secteur-brochure{
  padding: 80px 30px 60px 30px;
  margin: 80px 0 50px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-direction: column;
}

@media only screen and (min-width: 680px) {
  #secteur-brochure{
    margin: 150px 0;
    padding: 80px;
    flex-direction: row;
  }
}

@media only screen and (min-width: 1600px) {
  #secteur-brochure{
    margin: 200px 0;
    padding: 80px 35vw;
    justify-content: flex-end;
  }
}

#secteur-brochure .bigbutton a{
  background: #FFFFFF;
  padding: 10px 30px;
  font-size: 16px;
  display: inline-block;
  border-radius: 320px;
  text-align: center;
  opacity: .95;


  /* TRANSITION */
  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;

  transform: scale(1);
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
}

#secteur-brochure .bigbutton a:hover{
  opacity: 1;
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
}


@media only screen and (min-width: 1600px) {
  #secteur-brochure .bigbutton a{
    padding: 20px 40px;
    font-size: 18px;
  }
}

#secteur-brochure .frame-type-image{
  position: relative;
  max-width: 550px;
  margin-top: -120px;
  margin-bottom: 50px;
}

@media only screen and (min-width: 680px) {
  #secteur-brochure .frame-type-image{
    margin-bottom: -120px;
    margin-right: 80px;
  }
}

@media only screen and (min-width: 1600px) {
  #secteur-brochure .frame-type-image{
    position: absolute;
    top: 0;
    left: 10vw;
    max-width: 550px;
    margin-top: -60px;
    margin-bottom: 0;
    margin-right: 0;
  }
}

#secteur-brochure .frame-type-image img{
  width: 100%;
  height: auto;
}


@media only screen and (min-width: 1600px) {

}

/**********************************************************************************************************************************/
/* SECTEUR CONTENT
/**********************************************************************************************************************************/
#secteur-content{
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media only screen and (min-width: 680px) {
  #secteur-content{
    padding: 0 50px;
    flex-direction: row;
  }
}

@media only screen and (min-width: 1600px) {
  #secteur-content{
    padding: 0 10vw;
  }
}

/**********************************************************************************************************************************/
/* PICTOS
/**********************************************************************************************************************************/
#secteur-nav {
  margin-bottom: 80px;
}

@media only screen and (min-width: 680px) {
  #secteur-nav {
    min-width: 240px;
    margin-right: 80px;
  }
}

#secteur-nav a{
  display: none;
  border: 1px solid #F1F1F1;
  padding: 10px 20px;
  margin: -1px;
  color: inherit;
  font-size: 14px;
  position: relative;
}

#secteur-nav a::before{
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;

  /* TRANSITION */
  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

#secteur-nav a:hover::before{
  width: 100%;
}
#secteur-nav a:hover{
  color: #FFFFFF;
}

#secteur-nav ul li ul a{
  display: block;
}

#secteur-nav header h2::before{
  width: 30px;
  height: 50px;
  display: block;
  margin-bottom: 10px;
  margin-right: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
  content: '';
  display: block;
}

#secteur-nav header h2{
  display: flex;
  padding-left: 10px;
  align-items: center;
  font-size: 14px;
}

#secteur-nav.fixed{
  position: fixed;
  top: 120px;
}

/**********************************************************************************************************************************/
/* BLOCS
/**********************************************************************************************************************************/
#secteur-blocs{
  margin-bottom: 100px;
}

#secteur-blocs .ce-textpic,
#secteur-blocs .ce-gallery{
  position: relative;
  overflow: visible;
}

#secteur-blocs .ce-gallery .ce-outer,
#secteur-blocs .ce-gallery .ce-inner,
#secteur-blocs .ce-gallery .ce-column,
#secteur-blocs .ce-gallery .ce-row{
  float: none;
  right: unset;
  left: unset;
  overflow: visible;
}

#secteur-blocs .ce-gallery figure{
  display: block;
}

#secteur-blocs .ce-gallery::after{
  content: '';
  display: block;
  width: 320px;
  height: 320px;
  position: absolute;
  z-index: -1;
  bottom: -10px;
  left: -10px;
  opacity: .6;
}

@media only screen and (min-width: 680px) {
  #secteur-blocs .ce-gallery::after{
    bottom: -15px;
    left: -15px;
  }
}

#secteur-blocs .ce-bodytext{
  position: relative;
  padding: 30px 10px;
  background: #FFFFFF;
  line-height: 1.8em;
  z-index: 5;
}

@media only screen and (min-width: 680px) {
  #secteur-blocs .ce-bodytext{
    margin: -60px 30px 0 30px;
  }
}
@media only screen and (min-width: 1600px) {
  #secteur-blocs .ce-bodytext{
    padding: 50px;
    margin: -80px 80px 0 80px;
  }
}

#secteur-blocs .ce-bodytext table{
  margin-bottom: 20px;
  width: 100% !important;
  max-width: 100%;
}

#secteur-blocs .ce-bodytext table td{
  border: 1px solid #cecece;
  padding: 10px;
  font-size: 14px;
}

#secteur-blocs header h2{
  display: none;
}

#secteur-blocs h2{
  text-transform: uppercase;
  display: block;
  font-weight: bold;
  font-size: 25px;
  line-height: 1.2em;
  margin-bottom: 20px;
}

@media only screen and (min-width: 1024px) {
  #secteur-blocs h2{
    font-size: 40px;
    line-height: normal;
    margin-bottom: 30px;
    margin-top: 0;
  }
}

#secteur-blocs h3{
  display: block;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.2em;
  margin-bottom: 20px;
  margin-top: 40px;
  border-top: 1px solid #CECECE;
  padding-top: 40px;
}

#secteur-blocs h2 + h3{
  border-top: 0;
  padding-top: 0;
}


@media only screen and (min-width: 1024px) {
  #secteur-blocs h2{
    font-size: 30px;
    line-height: normal;
    margin-bottom: 25px;
  }
}

#secteur-blocs p{
  margin-bottom: 20px;
}

#secteur-blocs ul{
  padding-left: 20px;
  margin-bottom: 20px;
}

#secteur-blocs li{
  list-style: circle outside none;
}

#secteur-blocs li + li{
  margin-top: 10px;
}

#secteur-blocs .arguments ul li{
  font-weight: bold;
  margin: 5px 0;
}
#secteur-blocs .arguments ul{
  padding-left: 0 !important;
  margin-bottom: 0;
}

#secteur-blocs .arguments ul li::before{
  content: '+ ';
  font-weight: bold;
}

#secteur-blocs .arguments ul li{
  list-style: none;
}

#secteur-blocs .arguments ul li + li{
  margin-top: 0;
}

#secteur-blocs .arguments{
  margin-top: 40px;
  display: flex;
}

#secteur-blocs .arguments p{
  margin-bottom: 0;
}

@media only screen and (min-width: 1024px) {
  #secteur-blocs .arguments p{
    margin-bottom: 20px;
  }
  #secteur-blocs .arguments{
    margin-top: 60px;
  }
}

#secteur-blocs .arguments::before{
  content: '';
  display: block;
  width: 64px;
  height: 64px;
  background: url(../../images/pics/pic-content.png) no-repeat center center / contain transparent;
  margin-right: 20px;
  float: left;
}

#secteur-blocs .arguments::after{
  content: '';
  display: table;
  clear: both;
}

@media only screen and (min-width: 1024px) {
  #secteur-blocs .arguments::before{
    width: 80px;
    height: 80px;
    margin-right: 40px;
  }

}

#secteur-blocs .frame + .frame{
  margin-top: 50px;
}

@media only screen and (min-width: 1024px) {
  #secteur-blocs .frame + .frame{
    margin-top: 100px;
  }
}

#secteur-blocs img{
  max-height: 320px;
  object-fit: cover;
  width: 100%;
}

#secteur-blocs .bigbutton a{
  padding: 10px 40px;
  color: #FFFFFF;
  font-size: 14px;
  display: inline-block;
  border-radius: 320px;
  margin-top: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#secteur-blocs .bigbutton a::before{
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;

  /* TRANSITION */
  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

#secteur-blocs .bigbutton a:hover::before{
  width: 100%;
}

#secteur-blocs .bigbutton a:hover{
  color: #FFFFFF !important;
}

#secteur-blocs .middlebutton a{
  padding: 5px 20px;
  font-size: 14px;
  display: inline-block;
  border-radius: 320px;
  margin: 5px;
  text-align: center;
  position: relative;
  overflow: hidden;
}


#secteur-blocs .middlebutton a::before{
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;

  /* TRANSITION */
  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

#secteur-blocs .middlebutton a:hover::before{
  width: 100%;
}

#secteur-blocs .middlebutton a:hover{
  color: #FFFFFF !important;
}



/**********************************************************************************************************************************/
/* TITLE
/**********************************************************************************************************************************/
h1 .title::before{
  content: '';
  width: 30px;
  height: 50px;
  display: block;
  margin-bottom: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
}

@media only screen and (min-width: 1024px) {
  h1 .title::before{
    width: 50px;
    height: 67px;
    margin-bottom: 20px;
  }
}


/**********************************************************************************************************************************/
/* SPECIFIC
/**********************************************************************************************************************************/
#agriculture h1 .title::before,
#agriculture #secteur-nav header h2::before { background-image: url(../../images/univers/agriculture-color.png); }
#agriculture #secteur-blocs .ce-gallery::after,
#agriculture #secteur-blocs .bigbutton a,
#agriculture #secteur-brochure,
#agriculture #secteur-nav a::before,
#agriculture #secteur-blocs .middlebutton a::before,
#agriculture #secteur-blocs .bigbutton a::before{ background: #9765AB; }
#agriculture #secteur-brochure .bigbutton a{ color: #9765AB; }
#agriculture #secteur-blocs .middlebutton a{ border: 1px solid #FF9633; color: #FF9633; }

#chantier h1 .title::before,
#chantier #secteur-nav header h2::before{ background-image: url(../../images/univers/chantier-color.png); }
#chantier #secteur-blocs .ce-gallery::after,
#chantier #secteur-blocs .bigbutton a,
#chantier #secteur-brochure,
#chantier #secteur-nav a::before,
#chantier #secteur-blocs .middlebutton a::before,
#chantier #secteur-blocs .bigbutton a::before{ background: #FF9633; }
#chantier #secteur-brochure .bigbutton a{ color: #FF9633; }
#chantier #secteur-blocs .middlebutton a{ border: 1px solid #FF9633; color: #FF9633; }

#industrie h1 .title::before,
#industrie #secteur-nav header h2::before{ background-image: url(../../images/univers/industrie-color.png); }
#industrie #secteur-blocs .ce-gallery::after,
#industrie #secteur-blocs .bigbutton a,
#industrie #secteur-brochure,
#industrie #secteur-nav a::before,
#industrie #secteur-blocs .middlebutton a::before,
#industrie #secteur-blocs .bigbutton a::before { background: #163452; }
#industrie #secteur-brochure .bigbutton a{ color: #163452; }
#industrie #secteur-blocs .middlebutton a{ border: 1px solid #163452; color: #163452; }

#jardin h1 .title::before,
#jardin #secteur-nav header h2::before{ background-image: url(../../images/univers/jardin-color.png); }
#jardin #secteur-blocs .ce-gallery::after,
#jardin #secteur-blocs .bigbutton a,
#jardin #secteur-brochure,
#jardin #secteur-nav a::before,
#jardin #secteur-blocs .middlebutton a::before,
#jardin #secteur-blocs .bigbutton a::before { background: #836A54; }
#jardin #secteur-brochure .bigbutton a{ color: #836A54; }
#jardin #secteur-blocs .middlebutton a{ border: 1px solid #836A54; color: #836A54; }

#dechets h1 .title::before,
#dechets #secteur-nav header h2::before{ background-image: url(../../images/univers/dechets-color.png); }
#dechets #secteur-blocs .ce-gallery::after,
#dechets #secteur-blocs .bigbutton a,
#dechets #secteur-brochure,
#dechets #secteur-nav a::before,
#dechets #secteur-blocs .middlebutton a::before,
#dechets #secteur-blocs .bigbutton a::before { background: #B24233; }
#dechets #secteur-brochure .bigbutton a{ color: #B24233; }
#dechets #secteur-blocs .middlebutton a{ border: 1px solid #B24233; color: #B24233; }
