
/******************************************
*	Section blocs dépliables
*******************************************/
.sections-wrapper .section-services .text-wrapper{
	padding: 5%;
}
.sections-wrapper .section-services .text-wrapper h2:first-child{
	padding-top:0;
}
.sections-wrapper .section-services .text-wrapper h2:last-child{
	padding-bottom:0;
}
.sections-wrapper .section-services .services-wrapper{
	overflow: hidden;
    position: relative;
}
.sections-wrapper .section-services .services-wrapper .service{
	float: left;
	width: 25%;
	cursor: pointer;
}
/* one item */
.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(1) {
    width: 100%;
}
/* two items */
.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(2),
.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(2) ~ .service {
    width: 50%;
}
/* three items */
.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(3),
.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(3) ~ .service {
    width: 33.3333%;
}
/* six items */
.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(6),
.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(6) ~ .service {
    width: 33.3333%;
}
/* seven items */
.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(7) ~ .service:nth-child(5),
.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(7) ~ .service:nth-child(6),
.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(7) ~ .service:nth-child(7) {
    width: 33.3333%;
}
.sections-wrapper .section-services .services-wrapper .service .service-content{
    padding-bottom: 100%;
    position: relative;
}
.sections-wrapper .section-services .services-wrapper .service .name{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    background: rgba(255,255,255,.7);
}
.sections-wrapper .section-services .services-wrapper .service .background{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-size: cover!important;
}

.sections-wrapper .section-services .services-wrapper .service .full-content{
    width: 100%;
    position: absolute;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    z-index: 9;
    background: white;
    overflow: hidden;
    
    padding: 5em;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    cursor: default;
    background: #f5f5f5;
}
.sections-wrapper .section-services .services-wrapper .service.open .full-content{
    opacity: 1;
    visibility: visible;
}
.sections-wrapper .section-services .services-wrapper .service .full-content .close{
	position: absolute;
	right: 0;
	top: 0;
	cursor: pointer;
}
.sections-wrapper .section-services .services-wrapper .service .full-content .close svg{
    width: 12px;
    height: 12px;
    padding: 10px;
}
.sections-wrapper .section-services .services-wrapper .service .full-content h2:nth-child(2){
	padding-top: 0;
}


@media screen and (max-width: 1366px) {
	.sections-wrapper .section-services .services-wrapper .service .full-content{padding: 5%;}
}
@media screen and (max-width: 1279px) {
	
	.sections-wrapper .section-services .services-wrapper .service{width: 33.33%;}
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(4),
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(4) ~ .service,
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(7),
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(7) ~ .service,
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(7) ~ .service:nth-child(5),
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(7) ~ .service:nth-child(6),
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(7) ~ .service:nth-child(7)  {width: 50%!important;}
}
/* Petits mobiles */
@media screen and (max-width: 600px) {
	.sections-wrapper .section-services .services-wrapper .service,
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(2),
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(2) ~ .service,
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(3),
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(3) ~ .service,
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(4),
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(4),
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(6),
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(6),
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(7),
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(7) ~ .service,
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(7) ~ .service:nth-child(5),
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(7) ~ .service:nth-child(6),
	.sections-wrapper .section-services .services-wrapper .service:first-child:nth-last-child(7) ~ .service:nth-child(7)   {width: 100%!important;}

}
