.page-template-evenementiels .site-inner{
	max-width: 100%;
}
#upEvenement{
	background: url(../images/Fond-installation.jpg) center center no-repeat;
	background-size: cover;
}
#upEvenement h1{
	color: #0e3833;
	text-align: center;
	padding: 100px 0 0;
	margin: 0 auto;
	text-transform: uppercase;
}
#upEvenement h1::before{
	content: "";
	background: url(../images/aProposAccueil.png) no-repeat center center;
	background-size: cover;
	display: inline-block;
	height: 16px;
	width: 400px;
	margin-right: 50px;
}
#upEvenement h1::after{
	content: "";
	background: url(../images/aProposAccueil.png) no-repeat center center;
	background-size: cover;
	display: inline-block;
	height: 16px;
	width: 400px;
	margin-left: 50px;
}
#imageEvenement{
	display: inline-block;
	border: 2px solid black;
	margin: 0 100px 0 130px;
	transform: rotate(-5deg);
	-webkit-transform: rotate(-5deg);
	-moz-transform: rotate(-5deg);
	-o-transform: rotate(-5deg);
	-ms-transform: rotate(-5deg);
	position: relative;
	bottom: -80px;
	max-width: 20%;
}
#imageEvenement img{
	border: 2px solid black;
	transform: rotate(5deg);
	-webkit-transform: rotate(5deg);
	-moz-transform: rotate(5deg);
	-o-transform: rotate(5deg);
	-ms-transform: rotate(5deg);
}
#firstTextEvenement{
	display: inline-block;
	width: 63%;
	vertical-align: top;
	margin-top: 5%;
}
#middleEvenement{
	background-color: white;
	background-image: url(../images/actuFond.png);
	background-position: center center;
	background-repeat: no-repeat;	
	background-size: cover;
	background-attachment: fixed;
	padding: 6% 0px 2%;
}
#middleEvenement #textMiddleEvenement{
	padding: 0 50px;
	text-align: center;
}
#middleEvenement #textMiddleEvenement br{
	margin-bottom: 20px;
}
#middleEvenement h2,
#middleEvenement h3,
#middleEvenement h4{
	text-transform: uppercase;
}
#middleEvenement h3{
	font-size: 15px;
	text-align: center;
}
#middleEvenement h2{
	color: #0e3833;
	text-align: center;
	padding: 4% 0 5%;
	margin: 0 auto;
	text-transform: uppercase;
}
#middleEvenement h2::before{
	content: "";
	background: url(../images/aProposAccueil.png) no-repeat center center;
	background-size: cover;
	display: inline-block;
	height: 16px;
	width: 400px;
	margin-right: 50px;
}
#middleEvenement h2::after{
	content: "";
	background: url(../images/aProposAccueil.png) no-repeat center center;
	background-size: cover;
	display: inline-block;
	height: 16px;
	width: 400px;
	margin-left: 50px;
}
#solutionEvenement{
	text-align: center;
}
.SolutionContent{
	margin: 3px;
    display: inline-block;
    vertical-align: top;
    position: relative;
    height: 200px;
    width: 25%;
    margin-bottom: 40px;
    border: 3px solid black;
    overflow: hidden;
}
.SolutionContent .TitleSolution{
	position: absolute;
	height: 50px;
	width: 100%;
	bottom: 0px;
	background: rgba(0,59,53,0.8);
	transition-duration: 0.5s;
	z-index: 2
}
.SolutionContent .thumbnailSolution{
	-webkit-transform: scale(1);
	        transform: scale(1);
	transition-duration: 4s;
	position: relative;
	z-index: 1;
}
.SolutionContent:hover .thumbnailSolution{
	-webkit-transform: scale(2);
	        transform: scale(2);
}
.SolutionContent .TitleSolution h3{
	line-height: 50px;
	color: white;
	transition-duration: 0.5s;
}
.SolutionContent:hover .TitleSolution{
	height: 200px;
}
.SolutionContent:hover .TitleSolution h3{
	line-height: 200px;
}
/* # Media Queries
---------------------------------------------------------------------------------------------------- */

@media only screen and (max-width: 1400px) {
	#imageEvenement {
	    bottom:-50px;
	    max-width: 30%;
	}
	#firstTextEvenement{
		width: 48%;
	}
	#upEvenement h1::before {
	    width: 300px;
	    margin-right: 50px;
	}
	#upEvenement h1::after {
	    width: 300px;
	    margin-left: 50px;
	}
	#middleEvenement{
		padding: 80px 0px 50px;
	}
	#middleEvenement h2 {
        padding: 4% 0 5%;
	}
}
@media only screen and (max-width: 1200px) {
	#upEvenement h1::before {
	    width: 250px;
	    margin-right: 50px;
	}
	#upEvenement h1::after {
	    width: 250px;
	    margin-left: 50px;
	}
	#imageEvenement {
	    margin: 0 100px 0 50px;
	}
	#firstTextEvenement{
		width: 40%;
	}
	#middleEvenement h2::before {
	    width: 250px;
	    margin-right: 50px;
	}
	#middleEvenement h2::after {
	    width: 250px;
	    margin-left: 50px;
	}
	.SolutionContent {
	    width: 48%;
	    margin: 0.5% 0.2%;
	}
	.SolutionContent img{
	    width: 100%;
	}
}
@media only screen and (max-width: 1000px) {

	nav #logo_menu {
	    width: 50%;
	}
	.button {
	    right: 20px;
	    top: 20px;
	}
	#imageEvenement {
	    margin: 0 auto 50px;
	    display: table;
	    bottom: 0;
	    max-width: 40%;
	}
	#firstTextEvenement{
		width: 100%;
		padding-left: 5%;
		padding-right: 5%;
	}
	#upEvenement h1::before {
	    display: none;
	}
	#upEvenement h1::after {
	    display: none;
	}
	#upEvenement h1{
		margin-bottom: 50px;
	}
	#middleEvenement h2{
		margin-bottom: 50px;
		 padding: 20px 0 0;
	}
	#middleEvenement h2::before{
		display: none;
	}
	#middleEvenement h2::after{
		display: none;
	}
	.site-inner{
		padding-left: 0;
		padding-right: 0;
	}
}
@media only screen and (max-width: 600px) {
	.SolutionContent {
	    width: 100%;
	    margin: 1% 0.1%;
	}
	.SolutionContent img{
	    width: 100%;
	}
}
@media only screen and (max-width: 400px) {
	nav #logo_menu {
	    width: 72%;
	}
	.button {
	    right: 20px;
	    top: 20px;
	}
}