/********* MODAL HORAIRES OUVERTURES ETE *******************/

/* The Modal (background) */
.modal-horairesete {
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content-horairesete {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close-horairesete {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-horairesete:hover,
.close-horairesete:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header-horairesete {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

.modal-body-horairesete {
  padding: 2%;
}

.modal-body-horairesete p{
  font-size: large;
}

.modal-body-horairesete ul{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr ;
    list-style-type: none;
    padding-left: 2px;
    font-size: large;
}

.modal-body-horairesete li{
    margin: 10px;
}

.modal-footer-horairesete {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

#myBtn-horairesete{
  display:none;
}

@media screen and (max-width: 750px){
  
  .modal-body-horairesete ul{
      grid-template-columns: 1fr 1fr ;

  }

}


/********* CSS **********/

.home{
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 3%;
}

.home-actualites{
  margin: 50px 0 100px 0;
}

#rauvitherm{
    display: grid;
    grid-template-columns: 500px 1fr;
    grid-gap: 25px;
    font-size: large;
}

#rauvitherm h3{
    color: grey;
    text-align: center;
    margin-top: 0;
}

#rauvitherm svg{
    max-height: 400px;
}

#rauvitherm-ville{
    font-size: x-large;
}

.custom-slider-rauvitherm { display: none; }
.slide-container-rauvitherm {
    max-width: 100%;
    position: relative;
    margin: auto;
}
.prev-rauvitherm, .next-rauvitherm {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 30px;
    background-color: rgba(0,0,0,0);
    transition: background-color 0.6s ease;
}
.prev-rauvitherm{ left: 15px; }
.next-rauvitherm { right: 15px; }
.prev-rauvitherm:hover, .next-rauvitherm:hover {
    background-color: rgba(0,0,0,0.5);
}
.slide-text-rauvitherm {
    position: absolute;
    color: #ffffff;
    font-size: 15px;
    padding: 15px;
    bottom: 15px;
    width: 100%;
    text-align: center;
}
.slide-index-rauvitherm {
    color: #ffffff;
    font-size: 13px;
    padding: 15px;
    position: absolute;
    top: 0;
}
.slide-img-rauvitherm{
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}
.slide-dot-rauvitherm{ text-align: center; }
.dot-rauvitherm {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #999999;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active-rauvitherm, .dot-rauvitherm:hover { background-color: #111111; }
.fade-rauvitherm {
    animation-name: fade-rauvitherm;
    animation-duration: 1s;
}
@keyframes fade-rauvitherm {
    from {opacity: 0}
    to {opacity: 1}
}


@media only screen and (max-width: 1000px) {
    #rauvitherm {
        display: flex;
        flex-direction:column-reverse;
        margin : 0 5%;
    }
}

/*.hero-image {
  background-image: url("https://www.penet-plastiques.eu/wp-content/themes/themepenet/images/home/hero-banner-img-2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  position: relative;
}

.hero-text {
  text-align: left;
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translate(0, -50%);
  color: white;
}
*/

#hero-grid {
  display: grid;
  grid-template-columns: 75% 1fr ;
  align-items: center;
  margin: 0 0 0 0;
}

#hero-grid:after{ 
  content: url(https://www.penet-plastiques.eu/wp-content/themes/themepenet/images/home/hero-banner-img-barres.png);
  position: relative;
  top: -50%;
 }

#hero-h1{
  background-image: url("https://www.penet-plastiques.eu/wp-content/themes/themepenet/images/home/hero-banner-img-3.png");
  height: 100%;
  width: 100%;
  background-position: right;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 7%;
}

#hero-h1 h1{
  font-size: 40px;
  font-weight: bold;
  font-family: 'Roboto';
  color: white;
  margin-bottom: 2%;
}

#hero-h1 p{
  color: white;
}

#hero-grid img{
  max-height: 350px;
}


@media screen and (max-width: 1200px){

  #hero-h1 h1{
    font-size: 33px;
  }

}

@media screen and (max-width: 900px){

  #hero-h1 p{
    display: none;
  }

  #hero-h1 h1{
    font-size: 30px;
  }

}

@media screen and (max-width: 750px){

  #hero-grid {
    display: flex;
    flex-direction: column;
    background-color: #0099cc;
  }

  #hero-grid img{
    width: 25%;
    margin-bottom: 5%;
  }

  #hero-h1{
    background-image: none;
    padding: 3%;
  }

  #hero-h1 h1{
    font-size: 27px;
    text-align: center;
  }

  #hero-grid:after{ 
    content: '';
   }

}


.entete {
  text-align: center;
}

.soustritre-h2{
  color: #09c;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 30px;
  margin-left: 3%;
  margin-right: 3%;
  display: flex;
  align-items: center;
}

.soustritre-h2::after {
    margin-left: 10px;
    flex: 1 1 0%;
    background: rgb(215, 225, 234);
}

.soustritre-h2::before {
    margin-right: 10px;
}

.soustritre-h2::before, .soustritre-h2::after {
    content: "";
    height: 1px;
    width: 5%;
    background: rgb(0, 158, 227);
}


.btn-grad {
  background-image: linear-gradient(to right, #77A1D3 0%, #79CBCA  51%, #77A1D3  100%);
  margin: 2% 0;
  padding: 5px 30px;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  border-radius: 10px;
  display: block;
  border: 0;
  min-width: 200px;
  width: 50%;
  font-size: 18px;
}

.btn-grad:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}   
    

.canva{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  grid-gap: 3px;
  max-width: 1500px;
  margin: 50px auto;
}

.canva img{
  width: 100%;
  transition: transform .1s;
}

.canva img:hover{
  -ms-transform: scale(1.03); /* IE 9 */
  -webkit-transform: scale(1.03); /* Safari 3-8 */
  transform: scale(1.5);
}

#canva1{
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  overflow: hidden;
}

#canva2{
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

#canva3{
  grid-column: 4 / 6;
  grid-row: 1 / 2;
}

#canva4{
  grid-column: 6 / 7;
  grid-row: 1 / 2;
}

#canva5{
  grid-column: 7 / 8;
  grid-row: 1 / 2;
}

#canva6{
  grid-column: 8 / 9;
  grid-row: 1 / 3;
}

#canva7{
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

#canva8{
  grid-column: 4 / 5;
  grid-row: 2 / 3;
}

#canva9{
  grid-column: 5 / 6;
  grid-row: 2 / 3;
}

#canva10{
  grid-column: 6 / 7;
  grid-row: 2 / 3;
}

#canva11{
  grid-column: 7 / 8;
  grid-row: 2 / 3;
}

#canva12{
  grid-column: 1 / 3;
  grid-row: 3 / 4;
}

#canva13{
  grid-column: 3 / 4;
  grid-row: 3 / 4;
}

#canva14{
  grid-column: 4 / 5;
  grid-row: 3 / 4;
}

#canva15{
  grid-column: 5 / 6;
  grid-row: 3 / 4;
}

#canva16{
  grid-column: 6 / 8;
  grid-row: 3 / 4;
}

#canva17{
  grid-column: 8 / 9;
  grid-row: 3 / 4;
}

.entete h1{
  color: #09c;
  font-weight: bold;
  margin: 2%;
  font-family: 'Roboto', sans-serif;
}

.entete h2{
  font-size: 25px;
  margin: 40px auto;
  color: grey;
/*  background-color: #09c;*/
  padding: 7px;
  max-width: 1500px;
  border-radius: 15px;
}

#enteteimgphone{
  display: none;
}


/*.Search #searchform .input-group {
  width: 80%;
  margin: 10px auto;
}

.Search #searchform .input-group .form-control{
  z-index: 0;
}

.Search #searchform .input-group-btn:last-child>.btn, .input-group-btn:last-child>.btn-group{
  z-index: 0;
}

.Search h3{
  color: black;
}*/



/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #393;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 95%;
  max-width: 1000px;
  color: white;
  text-align: justify;
  font-size: 25px ;
}

.modal-content h4{
  font-size: 28px ;
}

/* The Close Button */
.close {
  color: #fff;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


.section-activites{
  margin:75px 0;
}

.conteneur-picto-home{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 30px 0 50px 0;
}

.jp-pictoactivite-home img:hover{
  -webkit-filter: grayscale(0%); 
  filter: grayscale(0%); 
}

.jp-pictoactivite-home img{
  -webkit-filter: grayscale(100%); 
  filter: grayscale(100%); 
}

#laval-demenagement-container{
      margin: 35px 0;
}

#laval-demenagement-img{
  display: grid;
  grid-template-columns: 40% 1fr;
}

#laval-demenagement-container p{
    font-size: large;
    margin: 20px 0;
    text-align: center;
}

#soustitre-laval{
  color: #339933;
  font-size: x-large;
  font-weight: bold;
  margin: 20px;
}

@media screen and (max-width: 800px){

  #laval-demenagement-img{
    grid-template-columns: 1fr;
  }
}

.amex{
    height: 350px;
    background : url(https://www.penet-plastiques.fr/wp-content/themes/themepenet/images/home/hexagone.png);
    position: relative;
    display: grid;
    grid-template-columns: 40% 1fr; 
    margin: 50px 0;
    font-family: 'Quicksand', sans-serif;
}

.amex a{
    text-decoration: none;
}

/*.triangle-left{
    position: absolute;
    right: 0;
    max-height: 100%;
}*/

.catalogue-amex{
    margin: auto;
    position: absolute;
    left: 10%;
    height: 100%;
}

.presentation-cata-amex {
    margin: auto;
    background-color: white;
    border-radius: 25px;
    padding: 3%;
    margin-right: 5%;
}

.presentation-cata-amex h2{
    color: #339933;
    margin: 1%;
    font-size: 27px;
}

.sommaire-amex{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 2%; 
}

.sommaire-amex ul{
    list-style-type:none;
}

.sommaire-amex li{
    margin: 10px; 
    font-weight: bold;
}

.sommaire-amex li a{
    color: #0099cc;
}

.sommaire-amex li a:hover{
    color: #337ab7;
}

@media screen and (max-width: 1400px){  

    .catalogue-amex {
        left: 5%;
    }

}

@media screen and (max-width: 1200px){  

    .catalogue-amex {
        left: 0;
    }

    .amex button{
        display: none;
    }

    .presentation-cata-amex h2 {
        font-size: 25px;
    }

}

@media screen and (max-width: 1000px){  

    .amex {
        height: 300px;
        grid-template-columns: 50% 1fr; 
    }

    .presentation-cata-amex h2 {
        font-size: 22px;
    }

    .sommaire-amex ul{
        display: none;
    }
}

@media screen and (max-width: 800px){  

    .amex {
        height: 250px;

    }

    .presentation-cata-amex h2 {
        color: #339933;
        margin: 1%;
        font-size: 22px;
    }

    

}

@media screen and (max-width: 600px){  

    .amex {
        position: inherit;
        display: flex;
        flex-direction: column;
        margin: 50px 0 150px 0;
    }

    .catalogue-amex {
        position: inherit;
        height: auto;
        width: 300px;
    }

    .presentation-cata-amex h2 {
        font-size: 25px;
    }

    .btn-grad {
      font-size: 15px;
    }

}





.conteneur-img-cata-home{
  display: grid;
  justify-content: space-around;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  flex-wrap: wrap;
  width:100%;
}

.a-img-txt{
  display:grid; 
  max-width: 350px;
  margin: 15px 10px ;
}

/* les enfants se superposent */
.a-img-txt>*{
  grid-area:1/1/-1/-1; 
  max-width: 100%;
  border-radius: 25px;
  /* raccourci pour grid-row et grid-column */
}

.a-img{
    width:100%;
}

/* le texte */
.a-txt{
  display:flex;
  flex-direction: column;
  justify-content:center;
  align-items:center;
  color:#fff;
  height: 25%;
  font-size: 14px;
  filter:invert(0); /* antibug si effet sur a-img */
  transition: height 0.8s, font-size 0.8s;
  border-radius: 25px 25px 0 0;
}

/* les couleurs c1 et c2 */
.c1{
    background:#09c;/* avec alpha */
}

/* le survol */
.a-txt:hover{
  height: 100%;
  font-size: 18px;
  border-radius: 25px;
}

.cata-anc::after, .cata-evac::after, .cata-DistriECF::after, .cata-Maconnerie::after, .cata-AEP::after, .cata-EUEP::after, .cata-Reseaux::after, .cata-VRD::after{
  content: '';
  opacity: 0.1;
  transition: opacity 0.8s;
}

.cata-anc:hover::after{
  content:url(https://www.penet-plastiques.fr/wp-content/themes/themepenet/images/home/iconeANCblanc.svg);
  opacity: 1;
}

.cata-evac:hover::after{
  content:url(https://www.penet-plastiques.fr/wp-content/themes/themepenet/images/home/iconeEvacuationblanc.svg);
  opacity: 1;
}

.cata-DistriECF:hover::after{
  content:url(https://www.penet-plastiques.fr/wp-content/themes/themepenet/images/home/iconeDistriECFblanc.svg);
  opacity: 1;
}

.cata-Maconnerie:hover::after{
  content:url(https://www.penet-plastiques.fr/wp-content/themes/themepenet/images/home/iconeMaconnerieblanc.svg);
  opacity: 1;
}

.cata-AEP:hover::after{
  content:url(https://www.penet-plastiques.fr/wp-content/themes/themepenet/images/home/iconeAEPblanc.svg);
  opacity: 1;
}

.cata-EUEP:hover::after{
  content:url(https://www.penet-plastiques.fr/wp-content/themes/themepenet/images/home/iconeEUEPblanc.svg);
  opacity: 1;
}

.cata-Reseaux:hover::after{
  content:url(https://www.penet-plastiques.fr/wp-content/themes/themepenet/images/home/iconeReseauxblanc.svg);
  opacity: 1;
}

.cata-VRD:hover::after{
  content:url(https://www.penet-plastiques.fr/wp-content/themes/themepenet/images/home/iconeVRDblanc.svg);
  opacity: 1;
}

.section-agence {
    width: 65%;
    margin: 0 auto;
}

.section-agence text{
    font-size: 10px;
    transition: font-size 0.5s;
}

.section-agence text:hover{
    font-size: 12px;
}

.titre-agence p{
  font-size: 18px;
}

.grid-valeur{
  display: flex;
}

.force-vente{
  width: 100%;
  padding: 25px;
  border-radius: 20px;
  margin-bottom: 50px;
}

.force-vente h3{
  color: #09c;
  margin-top: 45px;
}

.force-vente p{
    font-size: 20px;
}

.force-vente li{
    font-size: 20px;
}

.gris-agence {
  text-align: center;
}

.gris-agence h2 {
    color: #393;
    margin: 0px 0px 10px 0px;
}

.gris-agence p{
  margin: 10px 0;
  font-size: 17px;
}

.gris-agence svg{
  margin: 0px;
}

/*.section-services{
  background-color: #09c;
  padding: 1px 0;
  margin: 100px auto;
  margin-bottom: 50px;
}

.table-services{
  width: 75%;
  margin: 50px auto;
}

.table-services-head h2{
  color: white;
  font-weight: bold;
  margin-bottom: 25px;
  font-size: 30px;
}

.table-services-tr{
  vertical-align: baseline;
}
    
.table-services-td1{
  background-color: white;
  padding: 20px;
}

.table-services-td2{
  color: white;
  padding: 20px;
}

.table-services-td1 h3{
  font-size: 20px;
  font-weight: bold;
  color: #09c;
}

.table-services-td2{
  font-size: 20px;
}*/


#Accompagnements{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    margin-bottom: 75px;
}

#Accompagnements div{
    position: relative; 
    min-height: 270px;
    padding: 30px;
    color: #fff;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#Accompagnements div::before{
    content: "";
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    transition: width 2s;
}

#Accompagnements div:hover::before{
    width: 105%;
}

#Accompagnements h3{
    position: relative; 
}

#Accompagnements p{
     position: relative;
}

#Accompagnements .btn{
     position: relative;
}

#Accompagnements-agro-alimentaires::before{
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://www.penet-plastiques.fr/wp-content/themes/themepenet/images/home/accompagnement-agro-alimentaire.png');
}

#Accompagnements-EnviroSeptic::before{
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(https://www.penet-plastiques.fr/wp-content/themes/themepenet/images/home/Accompagnements-EnviroSeptic.png);
}

#Accompagnements-pre-isole::before{
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(https://www.penet-plastiques.fr/wp-content/themes/themepenet/images/home/Accompagnements-pre-isole.png);
}

#Accompagnements-industrie::before{
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(https://www.penet-plastiques.fr/wp-content/themes/themepenet/images/home/Accompagnements-industrie.png);
}

#Accompagnements-bluforce::before{
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(https://www.penet-plastiques.fr/wp-content/themes/themepenet/images/home/Accompagnements-bluforce.png);
}

#Accompagnements-ralentisseurs::before{
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(https://www.penet-plastiques.fr/wp-content/themes/themepenet/images/home/Accompagnements-ralentisseurs.png);
}


@media screen and (max-width: 1000px){

    #Accompagnements{
        display: flex;
        flex-direction: column;
    }

}


/*.conteneur-recrutement{
  display: grid;
  grid-template-columns: 25% 1fr;
  align-items: center;
  grid-gap: 45px;
  margin: 0 3%;
  background-color: #f3f3f3;
  padding: 2%;
  border-radius: 25px;
}

.conteneur-recrutement h2{
  margin-left: 0;
}


.conteneur-recrutement h3{
  color: #339933;
}

.conteneur-recrutement p{
  font-size: 18px;
}*/



@media screen and (max-width: 1000px){

  .grid-valeur{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0px auto;
  }

  .gris-agence {
    text-align: center;
    margin: 0px 0px 50px 0px;
  }

}


@media screen and (max-width: 1500px){

  .titre-agence{
    padding: 0 2%;
  }

}


@media screen and (max-width: 1200px){

  .soustritre-h2{
    font-size: 25px;
  }

  .gris-agence {
    margin: 0px 0px 25px 0px;
  }

  .gris-agence p {
    font-size: 16px;
  }

  .grid-valeur {
    margin: 0px auto;
  }

}


@media screen and (max-width: 1110px){

  .conteneur-img-cata-home{
    display: flex;
    flex-wrap: wrap;
  }

  .agence{
    margin-bottom: 30px;
  }

  .entete h1{
    font-size: 28px;
  }

  .entete h2{
    font-size: 21px;
  }

  .section-agence {
      width: 85%;
  }

}


@media screen and (max-width: 900px){

  .soustritre-h2::before, .soustritre-h2::after{
    width: 0;
  }

  .gris-agence {
    margin: 0px 0px 25px 0px;
    width: 60%;
    margin: 20px auto;
  }

}


@media screen and (max-width: 800px){

  .section-accompagnements{
    display: none;
  }

  .entete h1{
    font-size: 25px;
  }

  .entete h2{
    font-size: 20px;
  }

  #enteteimgphone{
    display: block;
  }

  .conteneur-picto-home, .canva{
    display: none;
  }

  .agence, .titre-agence{
    display: none;
  }

}

@media screen and (max-width: 768px){  

  /*.table-services-td2, .section-founrisseurs{
    display: none;
  }*/

  .soustritre-h2{
    font-size: 22px;
  }

  .force-vente{
    display: none;
  }

}


@media screen and (max-width: 550px){
  
  .gris-agence {
    width: 90%;
  }

  .entete h2{
    display: none;
  }

  .entete h1 {
    margin: 30px 0;
    letter-spacing: -1px;
    line-height: inherit;
  }

}