
@media (width: 1280px) {
.about-page, .slides { width:800px; height:576px}
.maxheighttext { max-height:576px}

.imageslide{ width:800px;height: 576px}
body { 
    overflow: hidden;
}
}
/*@media (max-width: 1385px) {
	body{ background-color : red;}
	.about-page, .slides { width:800px; height:600px}
	.maxheighttext { max-height:600px}

	.backgroundbody1 { background:url(../images/index/1.jpg); background-size: 100% auto;  background-repeat:no-repeat; background-position: bottom; }
    .backgroundbody2 { background:url(../images/index/2.jpg); background-size: 100% auto;  background-repeat:no-repeat; background-position: bottom; }
    .backgroundbody3 { background:url(../images/index/3.jpg); background-size: 100% auto;  background-repeat:no-repeat; background-position: bottom; }
    .backgroundbody4 { background:url(../images/index/4.jpg); background-size: 100% auto;  background-repeat:no-repeat; background-position: bottom; }
	.imageslide{ width:800px;height: 600px}

}*/


@media (min-width: 1282px) {
body { 
    overflow: hidden;
}
	.backgroundbody1 { background:url(../images/index/1.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;  }
	.backgroundbody2 { background:url(../images/index/2.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;   }
	.backgroundbody3 { background:url(../images/index/3.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;  }
	.backgroundbody4 { background:url(../images/index/4.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;  }
	.backgroundbody5 { background:url(../images/index/5.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;  }
	.project-post,
	.blog-post {
		width: 33.3%;
	}

	.portfolio-box.five-col .project-post {
		width: 24.98%;
	}

	.profile-section-content {
		width: 55%;
	}

	.my-photo-profile {
		width: 45%;
	}

	.blog-masonry .blog-post {
		width: 33.3%;
	}

	header {
		max-width: 350px;
	}

	#content {
		margin-left: 350px;
	}

	.logo-box {
		padding: 0px  ;
		margin-bottom: 0px;
	}

	.menu-box {
		margin-bottom: 70px;
	}

	.contact-box {
		bottom: 35px;
		right: 35px;
	}

	#owl-demo2 .hover-blog .hover-content {
		width: 100%;
		float: none;
	}

	#owl-demo2 .hover-blog .hover-content > p {
		display: none;
	}

	#owl-demo2 .hover-blog .hover-content .post-head {
		padding-bottom: 0;
	}

	#owl-demo2 .hover-blog .hover-content .post-head:after {
		display: none;
	}

	.circle-box {
		float: left;
		width: 50%;
		margin-bottom: 20px;
	}

	.work-course-post {
		padding-right: 0;
	}

	.team-testimonial-box .team-hover {
		display: none;
	}
	.maxheight{ max-height:250px; overflow:hidden}
	.maxheightaccueil {max-height:390px; overflow:hidden}
	#content {
		height: 100%;
		padding: 67px 80px 50px 0px;

	}

	#inner-content-header{

		padding: 10px 50px 50px 80px;
		height:100%;
		width:100%;
	}

	.inner-content { height:100%}

	.about-page {
		height:100%;
		width:100%;
	}
	/*	.slides, .flex-active-slide, .flexslider{ max-width:1100px; max-height: 792px}*/
	.slides, .flex-active-slide, .flexslider{ max-width:900px; max-height: 600px}
	.taillespecialaccueil {width:900px;height: 520px}
	.about-page, .imageslide{ width:900px;height: 600px}
	.maxheighttext {max-height:600px}

}
@media (max-width: 1281px) {
	.backgroundbody1 { background:url(../images/index/1.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;  }
	.backgroundbody2 { background:url(../images/index/2.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;  }
	.backgroundbody3 { background:url(../images/index/3.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;  }
	.backgroundbody4 { background:url(../images/index/4.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;  }
	.backgroundbody5 { background:url(../images/index/5.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;  }
	.project-post,
	.blog-post {
		width: 33.3%;
	}

	.portfolio-box.five-col .project-post {
		width: 24.98%;
	}

	.profile-section-content {
		width: 55%;
	}

	.my-photo-profile {
		width: 45%;
	}

	.blog-masonry .blog-post {
		width: 33.3%;
	}

	header {
		max-width: 350px;
	}

	#content {
		margin-left: 350px;
	}

	.logo-box {
		padding: 0px  ;
		margin-bottom: 0px;
	}

	.menu-box {
		margin-bottom: 70px;
	}

	.contact-box {
		bottom: 35px;
		right: 35px;
	}

	#owl-demo2 .hover-blog .hover-content {
		width: 100%;
		float: none;
	}

	#owl-demo2 .hover-blog .hover-content > p {
		display: none;
	}

	#owl-demo2 .hover-blog .hover-content .post-head {
		padding-bottom: 0;
	}

	#owl-demo2 .hover-blog .hover-content .post-head:after {
		display: none;
	}

	.circle-box {
		float: left;
		width: 50%;
		margin-bottom: 20px;
	}

	.work-course-post {
		padding-right: 0;
	}

	.team-testimonial-box .team-hover {
		display: none;
	}
	.maxheight{ max-height:250px; overflow:hidden}
	.maxheightaccueil {max-height:390px; overflow:hidden}
	#content {
		height: 100%;
		padding: 67px 80px 50px 0px;

	}

	#inner-content-header{

		padding: 10px 50px 50px 80px;
		height:100%;
		width:100%;
	}

	.inner-content { height:100%}

	.about-page {
		height:100%;
		width:100%;
	}
	/*	.slides, .flex-active-slide, .flexslider{ max-width:1100px; max-height: 792px}*/
	.slides, .flex-active-slide, .flexslider{ max-width:900px; max-height: 600px}
	.taillespecialaccueil {width:900px;height: 520px}
	.about-page, .imageslide{ width:900px;height: 600px}
	.maxheighttext {max-height:600px}

}

@media (max-width: 1280px) {
	.backgroundbody1 { background:url(../images/index/1.jpg); background-size:cover ;  background-repeat:no-repeat; background-position: bottom;  }
	.backgroundbody2 { background:url(../images/index/2.jpg); background-size:cover ;  background-repeat:no-repeat; background-position: bottom;  }
	.backgroundbody3 { background:url(../images/index/3.jpg); background-size:cover ;  background-repeat:no-repeat; background-position: bottom;  }
	.backgroundbody4 { background:url(../images/index/4.jpg); background-size:cover ;  background-repeat:no-repeat; background-position: bottom;  }
	.backgroundbody5 { background:url(../images/index/5.jpg); background-size:cover ;  background-repeat:no-repeat; background-position: bottom;  }

}
@media (max-width: 1279px) {
.backgroundbody1 { background:url(../images/index/1.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;  }
.backgroundbody2 { background:url(../images/index/2.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;  }
.backgroundbody3 { background:url(../images/index/3.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;  }
.backgroundbody4 { background:url(../images/index/4.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;  }
.backgroundbody5 { background:url(../images/index/5.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;  }
	.project-post,
	.blog-post {
		width: 49.98%;
	}

	.portfolio-box.five-col .project-post {
	    width: 33.3%;
	}

	.blog-masonry .blog-post {
		width: 49.98%;
	}

	.logo-box {
	    padding: 0;
	    margin-bottom: 0px; 
	}

	.menu-box {
	    margin-bottom: 50px;
	}

	.header-foot {
		width: 250px;
	}

	#slider .flexcaption h1 {
		font-size: 45px;
	}

	#slider .flexcaption p {
		font-size: 25px;
	}

	.services-post-head h2 {
		margin: 10px 0 0 75px;
		font-size: 13px;
	}

	.nav.nav-tabs li a {
		padding: 9px 20px;
	}

	.contact-box {
		position: relative;
		bottom: inherit;
		left: inherit;
		margin-top: 35px;
		margin-left: 70px;
	}

	ul.tags-list-post li {
		margin-left: 5px;
		margin-bottom: 2px;
	}

	ul.tags-list-post li:first-child {
		margin-left: 0px;
	}

	.single-page {
		padding: 10px;
	}

	ul.depth {
		margin-left: 0;
	}
	
	 .maxheight{ max-height:220px; overflow:hidden} 
	.maxheightaccueil {max-height:300px; overflow:hidden}

	#content {
    height: 100%;
	padding: 67px 80px 50px 0px;
	
	}
	
	#inner-content-header{ 
	 
	padding: 10px 50px 50px 80px;
	height:100%;
	width:100%; 
	 }
 
	.inner-content { height:100%}
	
	.about-page {
  		height:100%;
 		 width:100%;
 		 
	}	

	.slides, .flex-active-slide, .flexslider, .about-page{ max-width:800px; max-height: 476px}
	.about-page, .imageslide, .taillespecialaccueil{ width:800px;height: 476px}
	.maxheighttext {max-height:476px}

}
 @media (max-width: 1124px) {


	#content {
    height: 100%;
	padding: 67px 80px 50px 0px;
	
	}
	
	#inner-content-header{ 
	 
	padding: 10px 50px 50px 80px;
	height:100%;
	width:100%; 
	 }
 
	.inner-content { height:100%}
	
	.about-page {
  		
 		 width:100%;
 		 
	}	
	
 }
@media (max-width: 1024px) {
	#imgagence{
		display: none;}
	body {
		overflow: auto;
	}
	.backgroundbody1 { background:url(../images/index/1.jpg); background-size: cover; background-repeat:no-repeat; background-position: bottom;  }
	.backgroundbody2 { background:url(../images/index/2.jpg); background-size: cover;  background-repeat:no-repeat; background-position: bottom;  }
	.backgroundbody3 { background:url(../images/index/3.jpg); background-size: cover; background-repeat:no-repeat; background-position: bottom;  }
	.backgroundbody4 { background:url(../images/index/4.jpg); background-size: cover; background-repeat:no-repeat; background-position: bottom; }
	.backgroundbody5 { background:url(../images/index/5.jpg); background-size: cover; background-repeat:no-repeat; background-position: bottom;  }
	.inner-content {
		overflow: hidden;
	}

	header {
		text-align: left;
		width: 100%;
		max-width: 350px;
		height: auto !important;
		min-height: inherit !important;
		overflow: hidden;
	}

	.project-post,
	.blog-post {
		width: 49.98%;
	}

	ul.dropdown {
		position: relative;
		text-align: center;
		top: inherit;
		left: inherit;
		width: auto;
		visibility: visible;
		opacity: 1;
		-webkit-transform: rotateY(0deg);
		-moz-transform: rotateY(0deg);
		-ms-transform: rotateY(0deg);
		-o-transform: rotateY(0deg);
		transform: rotateY(0deg);
		-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
		-moz-transition: -moz-transform 0.4s, opacity 0.1s;
		-mos-transition: -mos-transform 0.4s, opacity 0.1s;
		-o-transition: -o-transform 0.4s, opacity 0.1s;
		transition: transform 0.4s, opacity 0.1s;
	}

	ul.dropdown li a {
		display: inline-block;
		background: #fff !important;
		border: 1px solid transparent !important;
	}

	ul.menu {
		padding-top: 12px;
		height: auto;
		min-height: inherit;
		max-height: 200px;
		overflow-y: scroll;
		padding-left: 0;
		text-align: center !important;
		border-bottom: 1px solid #f1f1f1;
	}

	ul.menu li.drop:after {
		display: none !important;
	}

	ul.menu > li > a:after {
		display: none;
	}

	ul.menu > li {
		text-align: center;
	}

	ul.menu > li a {
		padding: 8px 40px !important;
	}

	.header-foot {
		position: relative;
		width: 100%;
	}



	a.elemadded {
		display: block;
	}

	.copyright-box {
		display: none;
	}

	.logo-box {
		padding: 0px;
		margin-bottom: 0px;
	}

	.menu-box {
		display: none;
		margin-bottom: 0px;
	}

	.header-foot {
		padding: 20px 0;
	}

	ul.social-icons {
		margin: 0;
	}

	#slider .flexcaption h1 {
		font-size: 30px;
	}

	#slider .flexcaption p {
		font-size: 20px;
	}

	#slider .flexslider .slides li img {
		width: 100% !important;
		min-height: inherit;
	}

	.services-post-head span {
		width: 40px;
		height: 40px;
	}

	.services-post-head span i {
		line-height: 40px;
		font-size: 18px;
	}

	.services-post-head h2 {
		margin: 10px 0 0 55px;
		font-size: 14px;
	}
	.maxheight{ max-height:150px; overflow:hidden}

	#content {
		height: 100%;
		padding: 67px 10px 50px 0px;;

	}

	#inner-content-header{

		padding: 10px 50px 50px 40px;
		height:100%;
		width:100%;
	}

	.inner-content { height:100%}

	.about-page {

		width:100%;

	}
	.flex-active-slide, .flexslider, .slides { max-width:641px; max-height: 362px}
	.about-page{ width:auto;}
	.imageslide, .taillespecialaccueil{  width:600px; height: 362px}
	/*.about-page, .imageslide{ width:800px;height: 476px}*/



}
@media (max-width: 960px) {
	#imgagence{
		display: none;}
	body {
		overflow: auto;
	}
	.backgroundbody1 { background:url(../images/index/1.jpg); background-size:cover;  background-repeat:no-repeat;background-position: bottom;    }
	.backgroundbody2 { background:url(../images/index/2.jpg); background-size:cover;  background-repeat:no-repeat;background-position: bottom;   }
	.backgroundbody3 { background:url(../images/index/3.jpg); background-size:cover;  background-repeat:no-repeat;background-position: bottom;    }
	.backgroundbody4 { background:url(../images/index/4.jpg); background-size:cover;  background-repeat:no-repeat;background-position: bottom;    }
	.backgroundbody5 { background:url(../images/index/5.jpg); background-size:cover;  background-repeat:no-repeat;background-position: bottom;   }
	.inner-content {
		overflow: hidden;
	}

	header {
		text-align: left;
		width: 100%;
		max-width: 350px;
		height: auto !important;
		min-height: inherit !important;
		overflow: hidden;
	}

	.project-post,
	.blog-post {
		width: 49.98%;
	}

	ul.dropdown {
		position: relative;
		text-align: center;
		top: inherit;
		left: inherit;
		width: auto;
		visibility: visible;
		opacity: 1;
		-webkit-transform: rotateY(0deg);
		-moz-transform: rotateY(0deg);
		-ms-transform: rotateY(0deg);
		-o-transform: rotateY(0deg);
		transform: rotateY(0deg);
		-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
		-moz-transition: -moz-transform 0.4s, opacity 0.1s;
		-mos-transition: -mos-transform 0.4s, opacity 0.1s;
		-o-transition: -o-transform 0.4s, opacity 0.1s;
		transition: transform 0.4s, opacity 0.1s;
	}

	ul.dropdown li a {
		display: inline-block;
		background: #fff !important;
		border: 1px solid transparent !important;
	}

	ul.menu {
		padding-top: 12px;
		height: auto;
		min-height: inherit;
		max-height: 200px;
		overflow-y: scroll;
		padding-left: 0;
		text-align: center !important;
		border-bottom: 1px solid #f1f1f1;
	}

	ul.menu li.drop:after {
		display: none !important;
	}

	ul.menu > li > a:after {
		display: none;
	}

	ul.menu > li {
		text-align: center;
	}

	ul.menu > li a {
		padding: 8px 40px !important;
	}

	.header-foot {
		position: relative;
		width: 100%;
	}



	a.elemadded {
		display: block;
	}

	.copyright-box {
		display: none;
	}

	.logo-box {
		padding: 0px;
		margin-bottom: 0px;
	}

	.menu-box {
		display: none;
		margin-bottom: 0px;
	}

	.header-foot {
		padding: 20px 0;
	}

	ul.social-icons {
		margin: 0;
	}

	#slider .flexcaption h1 {
		font-size: 30px;
	}

	#slider .flexcaption p {
		font-size: 20px;
	}

	#slider .flexslider .slides li img {
		width: 100% !important;
		min-height: inherit;
	}

	.services-post-head span {
		width: 40px;
		height: 40px;
	}

	.services-post-head span i {
		line-height: 40px;
		font-size: 18px;
	}

	.services-post-head h2 {
		margin: 10px 0 0 55px;
		font-size: 14px;
	}
	.maxheight{ max-height:150px; overflow:hidden}

	#content {
		height: 100%;
		padding: 67px 10px 50px 0px;;

	}

	#inner-content-header{

		padding: 10px 50px 50px 40px;
		height:100%;
		width:100%;
	}

	.inner-content { height:100%}

	.about-page {

		width:100%;

	}
	.flex-active-slide, .flexslider, .slides { max-width:641px; max-height: 362px}
	.about-page{ width:auto;}
	.imageslide, .taillespecialaccueil{  width:600px; height: 362px}
	/*.about-page, .imageslide{ width:800px;height: 476px}*/



}

@media (max-width: 891px) {
	/*{
		display: none;}*/
.backgroundbody1 { background:url(../images/index/1.jpg); background-size: cover;  background-repeat:no-repeat; background-position: bottom;   }
.backgroundbody2 { background:url(../images/index/2.jpg); background-size: cover;  background-repeat:no-repeat; background-position: bottom;   }
.backgroundbody3 { background:url(../images/index/3.jpg); background-size: cover;  background-repeat:no-repeat; background-position: bottom;   }
.backgroundbody4 { background:url(../images/index/4.jpg); background-size: cover;  background-repeat:no-repeat; background-position: bottom;   }
.backgroundbody5 { background:url(../images/index/5.jpg); background-size: cover;  background-repeat:no-repeat; background-position: bottom;   }
header { 	max-width: 100%;
float: none;
	    text-align: left;
	    width: 100%;
	   
	    height: auto !important;
	    min-height: inherit !important;
	    overflow: hidden;
   margin-top: -14px;
/*
 text-align: left;
	    width: 100%;
	    max-width: 350px;
	    height: auto !important;
	    min-height: inherit !important;
	    overflow: hidden;
*/
	}
#content {
height: 100%;
padding: 10px 0px;
		margin-left: 40px; 
		    margin-top: 10px;
	}
	.post-title {
		text-align: center !important;
	}
	.single-post ul.post-tags {
		text-align: center;
	}
	ul.tags-list-post {
		text-align: left;
	}
	.single-post .post-title span {
		margin-bottom: 0;
	}

	.project-info {
		margin-bottom: 30px;
	}

	.team-testimonial-box .team-hover {
		display: block;
	}

	.testimonial {
		margin-bottom: 30px;
	}
	.slides, .flex-active-slide, .flexslider{ max-width:720px; max-height: 400px}
	.about-page{ width:auto;}
	.imageslide, .taillespecialaccueil{  width:720px; height: 400px}

}


@media (max-width: 767px) {
.backgroundbody1 { background:url(../images/index/1.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;   }
.backgroundbody2 { background:url(../images/index/2.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;   }
.backgroundbody3 { background:url(../images/index/3.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;   }
.backgroundbody4 { background:url(../images/index/4.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;   }
.backgroundbody5 { background:url(../images/index/5.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;   }
	.project-post,
	.blog-post {
	    width: 100%;
	}

	.blog-masonry .blog-post {
		width: 100%;
	}

	.portfolio-box.five-col .project-post {
	    width: 49.98%;
	}

	#slider .flexcaption {
		top: 30px;
	}

	#slider .flexcaption h1 {
		font-size: 20px;
		padding-bottom: 10px;
		margin-bottom: 10px;
	}

	#slider .flexcaption p {
		font-size: 12px;
	}

	#slider .center-button {
		display: none;
	}

	#slider .flexslider {
		height: auto !important
	}

	.nav.nav-tabs li a {
		padding: 7px;
		font-size: 11px;
	}

	.error-page {
		padding: 30px 15px;
	}

	.error-page p {
		font-size: 16px;
		line-height: 24px;
	}

	.error-page span {
		margin-bottom: 30px;
	}

	.error-page span i {
		font-size: 200px;
	}

	.error-page h1 {
		font-size: 35px;
		margin-bottom: 35px;
	}

	.contact-box {
		width: auto;
	}

	.slides, .flex-active-slide, .flexslider{ max-width:650px; max-height: 300px}
	.about-page{ width:auto;}
	.imageslide, .taillespecialaccueil{  width:650px; height: 300px}


	.inner-content{height: 700px; }
}

@media (max-width: 440px) {
.backgroundbody1 { background:url(../images/index/1.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;   }
.backgroundbody2 { background:url(../images/index/2.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;   }
.backgroundbody3 { background:url(../images/index/3.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;   }
.backgroundbody4 { background:url(../images/index/4.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;   }
.backgroundbody5 { background:url(../images/index/5.jpg); background-size:cover;  background-repeat:no-repeat; background-position: bottom;   }
	.portfolio-box.five-col .project-post {
	    width: 100%;
	}
	.services-page {
		padding: 10px;
	}
	.slides, .flex-active-slide, .flexslider{ max-width:300px; max-height: 200px}
	.about-page{ width:auto;}
	.imageslide, .taillespecialaccueil{  width:300px; height: 200px}

}
