/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Digital-Romandie
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

.Titre-home{display: none;}

.home .et_pb_slide{
height: 85vh;
}
body, p{
font-family: 'Carrois Gothic', sans-serif;
}
#footer-info a {
    font-weight: normal!important;
}
.home .et_pb_slider {
    overflow: hidden;
    position: relative;
    top: 0px;
}
.home .et_pb_slide {
    padding: 0;
}
.home .et_pb_slide_description, .home .et_pb_slider_fullwidth_off .et_pb_slide_description {
    margin: auto;
    padding: 10% 0;
    width: auto;
}

.menu-item > a {
    font-size: 15px;
    font-weight: lighter;
    text-transform: uppercase;
}
.home .et_pb_fullwidth_header {
    padding: 0;
}
.home .et_parallax_bg.et_pb_parallax_css.et_pb_inner_shadow{
       opacity:0.3;
}
#footer-info{float:none; display:inline;}
#footer-bottom .container {
text-align: center;
color:#fff;
    
}
.footer-widget .textwidget{display: block; text-align: center;width: 100%;}
.footer-widget *{text-align: center;}
.et_header_style_centered #main-header .logo_container {
    height: 53px;
    padding: 0;
}
.et_pb_widget {
    width: 100%;
}
.fwidget.et_pb_widget.widget_social_icon_widget {
   left: 50%;
    margin-left: -40px;
    max-width: 80px;
    position: relative;
    width: 100%;
}
.et_pb_widget a {
    color: #fff;
    text-decoration: none;
}
.widget_social_icon_widget a i.fa {
    border: 1px solid #fff;
    color: #fff;
}
.et_pb_code h2 ,.et_pb_code h3 , .et_pb_code  {
    text-align: center;
}
.et_pb_portfolio_item h2, .et_pb_gallery_grid .et_pb_gallery_item h3{
       text-align:center;
}

/*block */


.front .my_button{background: url(https://www.beg-geol.ch/wp-content/uploads/2017/07/bg-color-black.png); color:#fff; display: block; padding: 10px 0 10px 0; 
bottom:0px; position:absolute;width:100%;
font-size:18px;}


.back .my_button{background: url(https://www.beg-geol.ch/wp-content/uploads/2017/07/bg-color-black.png); color:#fff; display: block; padding: 10px 0 10px 0; margin-top:327px; font-size:18px;}

#col1_f1_container {
  position: relative;
  width: 250px;
  height: 370px;
  z-index: 1;
  float:left;
  margin:0px 10px 0 10px;

  
}
#col1_f1_container {
  perspective: 1000;
}
#col1_f1_card {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: all 0.3s linear;
}
/*#col1_f1_container:hover #col1_f1_card {
  transform: rotateY(180deg);
  box-shadow: -5px 5px 5px #aaa;
}*/

#col2_f1_container {
  position: relative;
  width: 250px;
  height: 370px;
  margin:0px 10px 0 10px;
  z-index: 1;
  float:left;

}
.front.face > h3 {
    margin-top: 144px;
}
#col2_f1_container {
  perspective: 1000;
}
#col2_f1_card {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: all 0.3s linear;
}
/*#col2_f1_container:hover #col2_f1_card {
  transform: rotateY(180deg);
  box-shadow: -5px 5px 5px #aaa;
}*/

#col3_f1_container {
  position: relative;
  width: 250px;
  height: 370px;
  margin:0px 10px 0 10px;
  z-index: 1;
  float:left;

}
#col3_f1_container {
  perspective: 1000;
}
#col3_f1_card {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: all 0.3s linear;
}
/*#col3_f1_container:hover #col3_f1_card {
  transform: rotateY(180deg);
 box-shadow: -5px 5px 5px #aaa;
}*/

#col4_f1_container {
  position: relative;
  width: 250px;
  height: 370px;
  margin:0px 0px 0 10px;
  z-index: 1;
  float:left;

}
#col4_f1_container {
  perspective: 1000;
}
#col4_f1_card {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: all 0.3s linear;
}
/*#col4_f1_container:hover #col4_f1_card {
  transform: rotateY(180deg);
  box-shadow: -5px 5px 5px #aaa;
}*/

#col1_f1_container, #col2_f1_container, #col1_f3_container, #col1_f4_container{
width:23%; padding:0; margin:0 1% 0 1%;
}

.et_pb_row {
    width: 100%;
}

.face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
-webkit-backface-visibility: hidden;
 -moz-backface-visibility: hidden;
 -o-backface-visibility: hidden;
 backface-visibility: hidden;
  text-align:center;

}
.front{
 background: url(https://www.beg-geol.ch/wp-content/uploads/2017/07/bg-color.png);
 display:inline-block;
    border:0;
    position: relative;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1); 
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1); 
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1);
    transition: all 200ms ease-in;
    transform: scale(1);  

}

/* service1 */ 
.front.service1 {background: url(https://www.beg-geol.ch/wp-content/uploads/2017/06/Etude-Surveillance-Nappe-Phreatique-Valais.jpg) no-repeat; 

    background-size: cover; 
    background-position: center;}

/* service2 */ 
.front.service2 {background: url(https://www.beg-geol.ch/wp-content/uploads/2017/06/Etude-Du-Bruit-Microturbinage-Valais.jpg) no-repeat; 
    background-size: cover; 
    background-position: center;}

/* service3 */ 
.front.service3 {background: url(https://www.beg-geol.ch/wp-content/uploads/2017/07/Eau.jpg) no-repeat;
    background-size: cover; 
    background-position: center;}

/* service4 */ 
.front.service4 {background: url(https://www.beg-geol.ch/wp-content/uploads/2017/07/figure113-2.jpg) no-repeat;
    background-size: cover; 
    background-position: center;}

.front h3{color:#fff; }
/*rgba(0,0,0,0.1)*/

.front:hover
{
    z-index: 2;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1.1);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1.1);   
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1.1);
    transition: all 200ms ease-in;
    transform: scale(1.1);
}

.back {
  display: block;
  transform: rotateY(180deg);
  box-sizing: border-box;
  color: white;
  text-align: center;
-webkit-backface-visibility: hidden;
 -moz-backface-visibility: hidden;
 -o-backface-visibility: hidden;
 backface-visibility: hidden;

}
#col1_f1_container .back{
  background:url(https://www.beg-geol.ch/wp-content/uploads/2017/06/sl_BEG4_13.jpg);
  background-size:cover;      
}

#col2_f1_container .back{
  background:url(https://www.beg-geol.ch/wp-content/uploads/2017/06/sl_BEG4_03.jpg);
  background-size:cover;      
}

#col3_f1_container .back{
  background:url(https://www.beg-geol.ch/wp-content/uploads/2017/06/sl_BEG4_03.jpg);
  background-size:cover;      
}
#col4_f1_container .back{
  background:url(https://www.beg-geol.ch/wp-content/uploads/2017/06/sl_Eau.jpg);
  background-size:cover;      
}

/* block*/


/* ---------------  min 980px and max 1100px-------------------------------------- */
@media screen and (min-width: 980px) and (max-width: 1100px){
#col1_f1_container,#col2_f1_container,#col3_f1_container,#col4_f1_container{
    width: 21%;
margin:0 2% 0 2%;
padding:0;
}
}

/* ---------------  980px -------------------------------------- */
@media screen and (max-width: 980px){
#col1_f1_container,#col2_f1_container,#col3_f1_container,#col4_f1_container{
    width: 40%;
    margin: 0 5% 0 5%;
    padding-bottom: 30px;
}
.et_pb_column{
    margin-bottom: 10px;
} 
.team .et_pb_row  {
    padding: 10px 0;
}
}
.et_pb_text { 
           margin-left: 5%;  
           margin-right: 5%;  
      }
@media screen and (max-width: 630px){
#section_video, #section_video .et_pb_fullwidth_code_0 {height: auto;}
} 
 
.et_pb_accordion .et_pb_column  {
   margin-top:10px
}

/* Pictos sur la page d'accueil */

.et_pb_portfolio_grid
{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}
/*.et_pb_portfolio_grid{pointer-events: none; }*/
.et_pb_portfolio_grid .et_pb_portfolio_item .et_overlay{ display:none; }

#cache{display:none}

a#plus, a#moins{
    border: 1px solid;
    display: inline-block;
    padding: 2px 10px;
    background-color: #2ea3f2;
    color: #fff;
}
.et_pb_column_1_3 #fitvid0{ height:100%;min-height:205px; max-width:900px;}
/*#videointerpretation { width:100%; height:400px}*/

@media screen and (min-width: 981px){
.et_pb_column_1_3 .fluid-width-video-wrapper{padding-top:0!important;}
}
@media screen and (min-width: 981px) and (max-width: 1076px)  {
.et_pb_column_1_3 .fluid-width-video-wrapper{padding-top:0!important;}
.et_pb_column_1_3 #fitvid0 { 
    min-height: 183px;}
}

.et_pb_fullwidth_section #fitvid0{  max-height:65vh;}
li.menu-item-language-current a::after{ display:none; }
#top-menu .menu-item-language-current.menu-item-has-children > a:first-child{padding-right:0;  }


.et_pb_fullwidth_code.et_pb_module{z-index:0}


.fullscreen_page h2 {
    font-size: 46px;
    padding-top: 15%;
    display: table;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    text-transform:uppercase
}
 
@media screen and (max-width: 720px){
     .fullscreen_page h2 { 
         padding-top: 28%; 
           display: table;
           margin: 0 auto;
          font-size:22px;
      }
.et_pb_section{padding: 0;}
}
@media screen and (min-width: 720px)  and (max-width: 720px) {
     
}

#slb_viewer_wrap .slb_theme_slb_baseline .slb_viewer_layout{z-inde:999999;}
/*animation title slide*/
.et_pb_slide_description
{-webkit-animation: none !important;
	-moz-animation: none !important;
	-o-animation: none !important;
	-ms-animation: none !important;
	animation: none !important;}
@media only screen and (max-width: 979px) {
    #footer-bottom {
        padding-bottom: 60px!important;
    }
    body .grecaptcha-badge {
        z-index: 9998;
        bottom: 14px!important;
    }
}