/* 

1. Add your custom Css styles below
2. Place the this code in your template: 

 <link href="css/custom.css" rel="stylesheet">

*/



.btn{
      white-space:normal !important;
      word-wrap: break-word; 
      height:auto!important;
      line-height:1em!important;
      padding:15px!important;
      
      
    }

.vert{
color:#64b33a!important;
}
 .box {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 20px;
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer
}

 .box .body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: 0.9s ease
}

 .box .body .imgContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d
}

 .box .body .imgContainer img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

 .box .body .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transform: rotateY(180deg)
}

 .box:hover .body {
    transform: rotateY(180deg)
}

 .box .body .content div {
    transform-style: preserve-3d;
    padding: 20px;
    background: linear-gradient(45deg, #0e3c5b, #64b33a);
    transform: translateZ(100px)
}

.box .body .content div h3 {
    letter-spacing: 1px;
    
}
h3{
  line-height:1.1em!important;
}

.btn{
  font-size:1em!important;
 
}


.container{
  padding:0;

}
h2{
  line-height:1.1em;
}

.list-icon{
  line-height:1.2em;
}
  .hachure{
    background-image:url(../images/hachures-vertes.png);
    
    background-repeat:repeat-x;
    height:24px;
    
  }


  .tableau-prod{
    border:2px white solid;
    position:relative;
    background-color:#f2f2f2ff;
    display:flex;
    transition: all .3s ease!important;

  }
  .tableau-prod img{
  margin-top:20px;
  height:100px;
  }


  .tableau-prod a{
  color:inherit;
  }
     .tableau-prod:hover a{
     color:white!important;

     }
 .tableau-prod h3{
    color:#0e3c5b!important;
    position:initial;
    width:100%;
    padding:20px 5px;
    text-align:center!important;
    line-height:1em;
  }

   .tableau-prod:hover img{
     
      filter: brightness(0) grayscale(1) invert(100%); 
      -webkit-filter: brightness(0) grayscale(1) invert(1);
     
   }
   .tableau-prod h3:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0%;
    border-bottom: 0px;
}

  .tableau-prod:hover{
    background-color:#64b33a;

  }
  .tableau-prod:hover h3{
    color:white!important;
  }

  .highlight, #contenu_article a:not(.btn,.text-dark,.no_autolinkcss ) {
    display: inline-block;
    color: inherit;
    transition: color 250ms, text-shadow 250ms;
    text-decoration: none;
    /*text-shadow: 0px 1px 0px white;*/
    position: relative;
    font-weight:inherit;
  
    z-index: 0;
    text-decoration:none; 
  }
  .highlight::after , #contenu_article a:not(.btn,.text-dark,.no_autolinkcss )::after{

    content: '';

    width: 100%;
    position: absolute;
    left: 0;
    bottom: 1px;
    
    border-width: 0 0 2px;
    border-style: dotted;
    border-color: #64b33a;

  }
  
  .highlight:hover  , #contenu_article a:not(.btn,.text-dark,.no_autolinkcss ):hover{
    color: white!important;
    background-color: #64b33a;
    
    transition: all 250ms;
    /*text-shadow: 0px 1px 0px white;*/
  }
  .highlight:hover::after , #contenu_article a:not(.btn,.text-dark,.no_autolinkcss ):hover::after {
    height: 100%;
    width: 100%;
    
border-width: 0 0 0px;
  }
  
  .n1ed_be_tmp{
    display:none;
  }


  .angle-top{
      background-image:url(../images/angle-vert.png); 
      background-position: left top; 
      background-repeat:no-repeat;
      background-size:contain; 
      height:60px; 
     
      margin-left:50px;
  }
  .angle-bas{
      background-image:url(../images/angle-vert-bas.png); 
      background-position: right top; 
      background-repeat:no-repeat;
      background-size:contain; 
      height:60px; 
      margin-top:-60px; 
      margin-right:0px;
  }
  .slider-phrase{
    margin-top:-70px;
    line-height:0.9em;
  }

  .tp-caption .top{
    font-size: 15px; 
    line-height: 30px; 
    font-weight: 400; 
    color: #ffffff; 
    letter-spacing: 0px; 
    display: inline-block;
    font-family:"Poppins", sans-serif;
  }
  .slider-text{
    font-size:1em;
    line-height:0.9em;
    white-space: nowrap !important;
  }
  a.btn-translucide{
      border:0px !important;
      color:#0e3c5b!important;
      background-color:rgba(255,255,255,0.5)!important;
      transition: all .3s ease!important;
     
  }
  a.btn-translucide i{
        transition: all .3s ease!important;
        margin-left:0px;
        margin-right:5px;
  }
  a:hover.btn-translucide{
    padding-left:0px;
    box-shadow: none;
  }
  a:hover.btn-translucide i{
      margin-right:0px;
      margin-left:5px;
      box-shadow: none;
  }
  
  .btn-topbar{
    background-color:#64b33a;  
    color:white; 
    padding:3px 5px;
    margin:0;   
    text-align:center;
    border-radius:2px;
    transition: all .3s ease;
  }
  .btn-topbar:hover{
    background-color:white;  
    color:#64b33a!important;   
  }

  .titre_souligne{
    opacity:1; 
    color:#64b33a; 
    height:2px; 
    width:50%;
  }


  .citation-vert{
    padding-left:20px;
    padding-right:10px;
    border-left : 2px #64b33a solid !important;
  }
  .citation-bleu{
    padding-left:20px;
    padding-right:10px;
    border-left : 2px #0e3c4b solid !important;
  }


.bg-colored{
  background-color:#64b33a!important;
}
.bg-blue{
  background-color:#0e3c4b!important;
}

@media (max-width: 1200px) { 
    .angle-top{
      height:30px; 
      margin-left:30px;
    }
    .angle-bas{
     
      height:30px; 
      margin-top:-70px; 
      margin-right:00px;
    }
}


@media (max-width: 650px) { 

  
    .slider-btn > .btn{
      white-space:normal !important;
      word-wrap: break-word; 
      height:auto!important;
      line-height:1em!important;
      padding:15px!important;
      
      
    }

    .slider-text{
      font-size:1em;
      line-height:0.8em;
      white-space: nowrap !important;
    }
    .slider-btn{

      margin-top:100px;

     

    }

    .angle-top{
      height:30px; 
      margin-left:50px;
    }
    .angle-bas{
     
      height:30px; 
      margin-top:-50px; 
      margin-right:50px;
    }
    .slider-phrase{
      margin-top:-50px;
      line-height:0.9em;
    }
    .tp-caption .top{
      font-size: 20px; 
      line-height: 30px; 
      font-weight: 400; 
      color: #ffffff; 
      letter-spacing: 0px; 
      display: inline-block;
      font-family:"Poppins", sans-serif;
    }
}



@media (max-width: 400px) { 
   
     .slider-phrase{
      margin-top:-50px;
      line-height:0.9em;
    }

    .angle-top{
      height:30px;  
      margin-top:0px; 
      margin-left:0px;
    }
    
    .angle-bas{
     
      height:30px; 
      margin-top:-50px; 
      margin-right:-00px;
    }
    .slider-text{
      font-size:1.2em;
      line-height:0.8em;
      white-space: nowrap !important;
    }
}


/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
  background-color: transparent;
  width: 100%;
  height: auto;
  min-height: 500px;
  border: 1px solid #f1f1f1;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

.card {
  width: 100%;
  min-height: 500px;
  border-radius: 0px;
  padding: 1.5rem;
  background: white;
  position: relative;
  display: flex;
  align-items: flex-end;
  transition: 0.4s ease-out;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.5);
}
.card *{
  color:white!important;
}
.card:hover { 
  transform: translateY(0px);
}
.card:hover:before {
  opacity: 1;
}
.card:hover .info {
  opacity: 1;
  transform: translateY(0px);
}
.card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0px;
  
  background: #64b33aCC;

  z-index: 2;
  transition: 0.5s;
  opacity: 0;
}
.card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0px;
}
.card .info {
  position: relative;
  z-index: 3;
  color: white!important;
  opacity: 0;
  transform: translateY(30px);
  transition: 0.5s;
}
.card .info h1 {
  margin: 0px;
}
.card .info p {
  letter-spacing: 1px;
  color: white!important;
  font-size: 15px;
  margin-top: 8px;
}

