/*
 Theme Name:   Divi Child
 Theme URI:    http://the-url-where-theme/can-be-downloaded
 Description:  Divi Child Theme
 Author:       Pierre Reguer
 Author URI:   http://your-website
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         responsive, blog
 Text Domain:  Divi-child
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend {
line-height: 1.7;
}


/* styles généraux_______________________*/

.montre-smartphone {
display: none;
}

.nav li li {
    line-height: 1.5em;
}

#top-menu li li a {
    line-height: 1.2em;
}

p {
    padding-bottom: 0.4em;
}


h2 {
font-size: 20px;
line-height: 1.4em;
}

.h2grand h2 {
font-size: 30px;
}

h3 {
    font-size: 17px;
    color: #555;
    line-height: 1.4em;
    margin-top: 20 px;
}


.titre-specialites p {
text-align: center;
}
.titre-specialites h1 {
font-size: 72px; 
font-weight: 300; 
text-align: center;
}

@media only screen and ( max-width: 767px ) {
.titre-specialites h1 {
font-size: 30px; 
font-weight: 300; 
text-align: center;
}
}


/* La petite fleche en pied de page_______________________*/
.fleche-espace-client {
float:right;
}

@media only screen and ( max-width: 767px ) {
.fleche-espace-client {
	display: none;
	}
}


/* Modif gallery boutons en dehors de la gallery_______________________*/
.et_pb_slider {
overflow: visible;
}

.et-pb-controllers {
bottom: -40px;
}


@media only screen and ( max-width: 767px ) {
.et-pb-controllers {
	position: absolute;
	bottom: 5%;
	left: 0px;
	width: 100%;
	text-align: center;
	z-index: 10;
	height: 7px;
	}
}

/* Effets de survol layla_______________________*/

.grid {
	position: relative;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}
.grid img {
width: 100%;
}


.grid figure {
	position: relative;
	overflow: hidden;
	margin: 10px ;
	min-width: 100%;
	max-width: 30px;
	
	background: #3085a3;
	text-align: center;
	cursor: auto;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 1;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	font-size: 1.2em;
	-webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
    z -index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.grid figure h1,
.grid figure h2 {
    margin: 0;
}

.grid figure h1 {
    font-size: 1.2em;
    line-height: 1.2em;
    color: #FFF;
}

.grid figure h2 {
    font-size: 0.8em;
    line-height: 1.2em;
    color: #FFF;
    text-decoration: underline;
}


/*---------------*/
/***** Layla *****/
/*---------------*/

figure.effect-layla {
    background: #111;
}

figure.effect-layla figcaption {
    padding: 1.5em;
}

figure.effect-layla figcaption::before,
figure.effect-layla figcaption::after {
    position: absolute;
    content: '';
    opacity: 0;
}

figure.effect-layla figcaption::before {
	top: 40px;
	right: 40px;
	bottom: 40px;
	left: 40px;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-webkit-transform: scale(0,1);
        -moz-transform: scale(0,1);
        -ms-transform: scale(0,1);
	transform: scale(0,1);
	-webkit-transform-origin: center;
        -ms-transform-origin: center;
        -webkit-transform-origin: center;
	transform-origin: center;
}

figure.effect-layla figcaption::after {
	 top: 30px;
	 right: 50px;
	 bottom: 30px;
	 left: 50px;
	 border-right: 1px solid #fff;
	 border-left: 1px solid #fff;
	 -webkit-transform: scale(1,0);
        -moz-transform: scale(1,0);
        -ms-transform: scale(1,0);
	 transform: scale(1,0);
	 -webkit-transform-origin: center;
        -moz-transform-origin: center;
        -ms-transform-origin: center;
	 transform-origin: center;
}

figure.effect-layla h2 {
	padding: 0.5em 2em;
	text-transform: none;
	opacity: 0;
	-webkit-transform: translate3d(0,60px,0);
        -moz-transform: translate3d(0,60px,0);
        -ms-transform: translate3d(0,60px,0);
	transform: translate3d(0,60px,0);
}


figure.effect-layla h1 {
        opacity: 0;
	-webkit-transform: translate3d(0,-40px,0);
        -moz-transform: translate3d(0,-40px,0);
        -ms-transform: translate3d(0,-40px,0);
	transform: translate3d(0,-40px,0)
}

figure.effect-layla img,
figure.effect-layla figcaption::before,
figure.effect-layla figcaption::after,
figure.effect-layla h2 {
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        -moz-transition: opacity 0.35s, -moz-transform 0.35s;
        -ms-transition: opacity 0.35s, -ms-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}



figure.effect-layla h1 {
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    -moz-transition: opacity 0.35s, -moz-transform 0.35s;
    -ms-transition: opacity 0.35s, -ms-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

figure.effect-layla:hover img {
	opacity: 0.6;
	-webkit-transform: scale(1.15);
        -moz-transform: scale(1.15);
        -ms-transform: scale(1.15);
	transform: scale(1.15);
}

figure.effect-layla:hover figcaption::before,
figure.effect-layla:hover figcaption::after {
	opacity: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
}

figure.effect-layla:hover h1,
figure.effect-layla:hover h2 {
	opacity: 1;
	-webkit-transform: translate3d(0,50px,0);
	-moz-transform: translate3d(0,50px,0);
	-ms-transform: translate3d(0,50px,0);
	transform: translate3d(0,50px,0);
}

figure.effect-layla:hover figcaption::after,
figure.effect-layla:hover h1,
figure.effect-layla:hover h2,
figure.effect-layla:hover img {
	-webkit-transition-delay: 0.15s;
	-moz-transition-delay: 0.15s;
	-ms-transition-delay: 0.15s;
	transition-delay: 0.20s;
}


@media only screen and ( max-width: 479px ) {
.et_pb_fullwidth_portfolio .et_pb_portfolio_item {
width: 90%;
}
}

/* Effets de survol layla FIN_______________________*/


/* Smartphone_______________________*/


@media only screen and ( max-width: 767px ) {

ul.et_pb_side_nav.et-visible {
display: none;
}
.masque-smartphone {
display: none;
}
.montre-smartphone {
display: block;
}

.et_pb_row, .et_pb_row_0 {
padding: 20px 0 0 0;
}

.et_pb_section {
padding: 0;
}

.et_pb_column {
margin-bottom: 0 px;
}

}


/* Smartphone fin_______________________*/
