
/*
	Section deux bloc
*/
#template-sections-2 .sections-wrapper .section-instagram.no-text .bloc-text{
	padding: 0!important;
}

#template-sections-2 .sections-wrapper .section-instagram .photo-mobile-wrapper .background .icon-play{
	background: url('../../images/play.png') center center no-repeat;
	width: 100%;
	background-size: contain;
	z-index: 99;
	left: 0;
	text-align: center;
	height: 70px;
	top:50%;
	margin-top: -35px;
	position: absolute;
}
#template-sections-2 .sections-wrapper .section-instagram .bloc-text{
	width: 100%;
	padding: 5em;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	position: relative;
}
#template-sections-2 .sections-wrapper .section-instagram .thumb+.bloc-text{
	padding-top: 1em;
}
#template-sections-2 .sections-wrapper .section-instagram table{
	border-spacing:0;
	width: 100%;
	min-height: 500px;
	z-index: 0;
	position: relative;
	background-size: cover!important;
}
#template-sections-2 .sections-wrapper .section-instagram table td{
	background-size: cover!important;
	position: relative;
	overflow: hidden;
}
#template-sections-2 .sections-wrapper .section-instagram table td:first-child{
	width: 33%;
}
#template-sections-2 .sections-wrapper .section-instagram table td:last-child{
	width: 66%;
}
#template-sections-2 .sections-wrapper .section-instagram table.no-photo td{
	vertical-align: top;
}
#template-sections-2 .sections-wrapper .section-instagram.gris table td:first-child{
	box-shadow: inset -10px 0 0px 0 #f5f5f5;
    -moz-box-shadow: inset -10px 0 0px 0 #f5f5f5;
}
#template-sections-2 .sections-wrapper .section-instagram.gris table td:last-child {
    box-shadow: inset 10px 0 0px 0 #f5f5f5;
    -moz-box-shadow: inset 10px 0 0px 0 #f5f5f5;
}
#template-sections-2 .sections-wrapper .section-instagram table.no-photo{
	min-height: 0;
}
#template-sections-2 .sections-wrapper .section-instagram table.no-photo .bloc-text{
	padding-top: 2.5em;
	padding-bottom: 2.5em;
}
#template-sections-2 .sections-wrapper .section-instagram table td:first-child{
  /*  box-shadow: inset -10px 0 0px 0 #FFF;*/
   /* -moz-box-shadow: inset -10px 0 0px 0 #FFF;*/
}
#template-sections-2 .sections-wrapper .section-instagram table td:last-child{
  /*  box-shadow: inset 10px 0 0px 0 #FFF;*/
 /*   -moz-box-shadow: inset 10px 0 0px 0 #FFF;*/
}
#template-sections-2 .sections-wrapper .section-instagram table td.top .background{
	background-position: top center!important;
}
#template-sections-2 .sections-wrapper .section-instagram table td.bottom .background{
	background-position: bottom center!important;
}
#template-sections-2 .sections-wrapper .section-instagram td .background{
    position: absolute;
    width: 100%;
    height:100%;
    top:0;
    left: 0;
    background-size: cover!important;
    z-index: -1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    z-index: 0;
}
#template-sections-2 .sections-wrapper .section-instagram td a.popup+.background{
	z-index: -1;
}
#template-sections-2 .sections-wrapper .section-instagram table td a.bloc-link{
	color: inherit;
	text-decoration: none;
}

/* Hack IE 10 et IE 11 */
/* Au 19 mai 2016 j'enlève ce hack car provoque + de bugs sur le site de Dr Breton */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	#template-sections-2 .sections-wrapper .section-instagram td .background{
		/*padding-top:25%;*/
		/*padding-bottom:50%;*/
		
	}
}

#template-sections-2 .sections-wrapper .section-instagram td .background.contain{
	background-size: contain!important;
}
#template-sections-2 .sections-wrapper .section-instagram td .background.thumb{
	position: relative;
	height: 300px;
	background-size: contain!important
}
#template-sections-2 .sections-wrapper .section-instagram td:hover .background.hover-zoom,
#template-sections-2 .sections-wrapper .section-instagram table.une-photo tr:hover .background.hover-zoom{
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
}
#template-sections-2 .sections-wrapper .section-instagram td .bloc-text.blanc {
	color:#fff;
	text-shadow: 0 0 10px #000;
	-moz-text-shadow: 0 0 10px #000;
	-webkit-text-shadow: 0 0 10px #000;
}
#template-sections-2  .sections-wrapper .section-instagram td .bloc-text.blanc .button{
	text-shadow: none;
	-moz-text-shadow: none;
	-webkit-text-shadow: none;
}
#template-sections-2  .sections-wrapper .section-instagram td .bloc-text .video{
	display: inline-block;
	text-transform: uppercase;
	margin-left: 10px;
	font-weight: bold;
}
#template-sections-2  .sections-wrapper .section-instagram td .bloc-text .video::before{
	font-family: 'fontello';
	content: '\e816';
	margin-right: 5px;
    font-size: 30px;
    font-weight: normal;
    vertical-align: middle;
}
#template-sections-2  .sections-wrapper .section-instagram td .bloc-text.blanc .video a{
	color: white!important;
}
#template-sections-2  .sections-wrapper .section-instagram td .bloc-text.noir .video a{
	color: black!important;
}
#template-sections-2  .sections-wrapper .section-instagram td .bloc-text .video a:hover{
	text-decoration: underline;
}

#template-sections-2  .sections-wrapper .section-instagram .photo-mobile-wrapper{
	display: none;
}
#template-sections-2  .sections-wrapper .section-instagram .photo-mobile-wrapper .background{
    width: 100%;
    height: 0;
    padding-bottom: 50%;
    top: 0;
    left: 0;
    background-size: cover!important;
    z-index: -1;
    transform: scale(1.01);
    -webkit-transform: scale(1.01);
    -moz-transform: scale(1.01);
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    z-index: 1;
}
#template-sections-2  .sections-wrapper .section-instagram .photo-mobile-wrapper .background.contain{
	background-size: contain!important;
}

#template-sections-2 .sections-wrapper .section-instagram:not(.section-un-bloc) table td .bloc-text .wp-caption:not(.alignleft):not(.alignright){
	width: 100%!important;
}
#template-sections-2 .sections-wrapper .section-instagram:not(.section-un-bloc) table td .bloc-text .wp-caption.alignleft,
#template-sections-2 .sections-wrapper .section-instagram:not(.section-un-bloc) table td .bloc-text .wp-caption.alignright{
	/*width: auto!important;*/
}
#template-sections-2 .sections-wrapper .section-instagram:not(.section-un-bloc) table td .bloc-text img{
	max-width: 100%;
	height:auto;
}

/* pour la gallery deux-bloc */
#template-sections-2 .sections-wrapper .section-instagram.has-gallery{
	min-height: 500px;
}
#template-sections-2 .sections-wrapper .section-instagram .content-gallery,
#template-sections-2 .sections-wrapper .section-instagram td.contain-gallery,
#template-sections-2 .sections-wrapper .section-instagram .content-gallery div:not(.background),
#template-sections-2 .sections-wrapper .section-instagram .content-gallery ul,
#template-sections-2 .sections-wrapper .section-instagram .content-gallery ul li{
	height: 100%;
}

#template-sections-2 .sections-wrapper .section-instagram .content-gallery ul,
#template-sections-2 .sections-wrapper .section-instagram .content-gallery ul li{
	position: relative;
}
#template-sections-2 .sections-wrapper .section-instagram .content-gallery{
	display: none;
}
#template-sections-2 .sections-wrapper .section-instagram .hover-gallery{
    position: absolute;
    z-index: 9;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.5);
    opacity: 0;
    transition: opacity .3s;
    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
    cursor: pointer;
}
#template-sections-2 .sections-wrapper .section-instagram .hover-gallery:hover{
    opacity: 1;
}
#template-sections-2 .sections-wrapper .section-instagram .hover-gallery-text{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	width: 100%;
	text-align: center;
    color: white;
    font-size: 2em;
}

#template-sections-2 .sections-wrapper .section-instagram{
	position: relative;
}
#template-sections-2 .sections-wrapper .section-instagram .top-content{
    /*padding-bottom: 2em;
    max-width: 800px;
    margin: 0 auto;*/
}
#template-sections-2 .sections-wrapper .section-instagram .top-content h2{
	text-align: center;
    margin: 1em 0;
}
#template-sections-2 .sections-wrapper .section-instagram .blocs-wrapper{
	overflow: hidden;
}
#template-sections-2 .sections-wrapper .section-instagram .blocs-wrapper .bloc{
    width: 25%;
    float: left;
    padding: 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
#template-sections-2 .sections-wrapper .section-instagram .blocs-wrapper .bloc .photo{
	padding-bottom: 100%;
	background-size: cover!important;
}

#template-sections-2 .sections-wrapper .section-instagram::before,
#template-sections-2 .sections-wrapper .section-instagram::after {
 /*   content: '';
    display: block;
    background-color: #e8f4e0;
    position: absolute;
    top: 15%;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    -ms-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -ms-transform: skewY(-12deg);
    -moz-transform: skewY(-12deg);
    -webkit-transform: skewY(-12deg);
    transform: skewY(-12deg);
    height: 500px;*/
}


@media screen and (max-width: 1366px){
	#template-sections-2  .sections-wrapper .section-instagram .bloc-text{padding-left: 2.5em; padding-right: 2.5em;}	
}

/* Tablettes */
@media screen and (max-width: 1024px) {
	#template-sections-2  .sections-wrapper .section-instagram .bloc-text.scrollme .text-wrapper{transform: none!important; -webkit-transform: none!important; -moz-transform: none!important; opacity: 1!important; -webkit-opacity: 1!important; -moz-opacity: 1!important;}
	#template-sections-2  .sections-wrapper .section-instagram .bloc-text{padding-top: 2em; padding-bottom: 2em; padding-left: 5%; padding-right: 5%;}	
}
/* mobiles */
@media screen and (max-width: 1023px) {
	#template-sections-2  .sections-wrapper .section-instagram table,
	#template-sections-2  .sections-wrapper .section-instagram table tbody,
	#template-sections-2  .sections-wrapper .section-instagram table tr,
	#template-sections-2  .sections-wrapper .section-instagram table td{width: 100%; display: block; min-height: 0px;}
	#template-sections-2  .sections-wrapper .section-instagram table.text-gauche-photo-droite td:last-child{display: none;}
	#template-sections-2  .sections-wrapper .section-instagram table.text-droite-photo-gauche td:first-child{display: none;}	
	#template-sections-2  .sections-wrapper .section-instagram .photo-mobile-wrapper{display: block;}
	#template-sections-2  .sections-wrapper .section-instagram .bloc-text .icon-play{display: none;}
	#template-sections-2  .sections-wrapper .section-instagram.rencontrer table td:nth-child(2) .text-wrapper{max-width: none!important;}
	#template-sections-2 .sections-wrapper .section-instagram table td,
	#template-sections-2 .sections-wrapper .section-instagram table td:first-child,
	#template-sections-2 .sections-wrapper .section-instagram table td:last-child{display: block; width: 100%;}
}

/* mobiles */
@media screen and (max-width: 767px) {
	#template-sections-2  .sections-wrapper .section-instagram .photo-mobile-wrapper .background{padding-bottom: 0; height: 300px;}
}

@media screen and (max-width: 600px) {
	#template-sections-2 .sections-wrapper .section-instagram .blocs-wrapper .bloc{ width: 50%;}
}
@media print {
	#template-sections-2 .sections-wrapper .section-instagram table{background: none!important;}
	#template-sections-2 .sections-wrapper .section-instagram .print .photo-wrapper{height: 250px;width: 50%; padding:0; text-align: center;}
	#template-sections-2 .sections-wrapper .section-instagram table{min-height: 0;}
	#template-sections-2 .sections-wrapper .section-instagram table.text-gauche-photo-droite tr td:nth-child(2){display: none;}
	#template-sections-2 .sections-wrapper .section-instagram table.text-droite-photo-gauche tr td:nth-child(1){display: none;}
	#template-sections-2 .sections-wrapper .section-instagram .bloc-text{padding: 2.5em;}
	#template-sections-2 .sections-wrapper .section-instagram td .background{display: none;}

}