@media only screen and (max-width: 1200px){
	header #logo{max-width:154px;}
	header #logo img{max-width:100%;}

	#content-home > .title{padding:0 40px;}
	#content-home .logements{position:relative;z-index:20;}
	#content-home .news,
	#content-home .news:hover{margin-left:78px;}

	#news .link{margin-left:0;margin-bottom:20px;float:none;}
	#news .slides{margin:0 auto;float:none;}

	#programmes .programme{width:calc(100% / 3);}

	#seach-form .select select{appearance:none;-moz-appearance:none;-webkit-appearance:none;-khtml-appearance:none;background:#FFF;padding-left:15px;}

	#logements .lot .picture{width:32%;}
	#logements .lot .content{width:32%;padding:0;margin:0 2%;}
	#logements .lot .content .title:before,
	#logements .lot .content .title:after{display:none;}
	#logements .lot .detail{width:32%;padding:0 0 0 10px;}
	#logements .lot .detail .actions{padding-top:20px;}
	#logements .lot .detail .actions a{width:100%;margin-bottom:20px;}
	#logements .lot .detail .actions a:last-child{margin-bottom:0;}

	#ao .posts .post .files .file a:before{margin-bottom:20px;float:left;}

	#residence .detail .pictures{max-width:50%;}
	#residence .detail .content{width:50%;}
}

@media only screen and (max-width: 985px){
	header{height:75px;}
	header > .container{padding:0 15px;height:100%;}
	header #logo{max-width:50%;height:100%;}
	header #logo img{height:100%;width:auto;}
	header #mobile-button{display:inherit;}
	header #mobile-button{background-color:#92c741;display:inherit;float:right;margin-top:14px;margin-left:35px;padding:10px 10px 5px;border-radius:3px;}
	header #mobile-button:focus{opacity:1;}
	header #mobile-button .hamburger-box,
	header #mobile-button .hamburger-inner,
	header #mobile-button .hamburger-inner:after,
	header #mobile-button .hamburger-inner:before{width:30px;}
	header #mobile-button .hamburger-inner,
	header #mobile-button .hamburger-inner:after,
	header #mobile-button .hamburger-inner:before{background-color:#FFF;}
	header #nav-header{width:320px;height:calc(100% - 75px);position:fixed;top:75px;overflow-y:scroll;
		background-color:#92c741;right:-320px;transition:all 500ms;padding:30px 0;}
	header #nav-header.active{right:0;}
	header nav #primary-menu,
	header nav #secondary-menu{padding:0;margin:0;}
	header nav #primary-menu li,
	header nav #secondary-menu li{width:100%;text-align:center;margin:0;background-color:transparent;font-size:14px;padding:0;height:auto;}
	header nav #primary-menu li a,
	header nav #secondary-menu li a{color: #FFF;padding:20px 5px;height:auto;}
	header nav #primary-menu li a:hover,
	header nav #secondary-menu li a:hover{padding:20px 5px;height:auto;color:#FFF;}
	header nav #primary-menu li:hover, header nav #primary-menu li:last-child{background-color:transparent;}
	header nav #secondary-menu li ul{position:relative;top:0;}
	header nav #secondary-menu li ul li a{padding:20px 5px;}
	header nav #primary-menu li:hover > a,
	header nav #secondary-menu li:hover > a{color:#0d4ca0;}

	#main{padding-top:75px;}

	#content-home .slides{width:100%}
	#content-home .logo,
	#content-home .news{display:none;}

	#link-home{font-size:26px;}

	.owl-carousel .owl-dots{text-align:center;}
	.owl-carousel .owl-dot{height:12px;width:12px;border-radius:50%;border:1px solid #92c741;display:inline-block;margin:0 2px;}
	.owl-carousel .owl-dot.active span{height:8px;width:8px;margin:1px;border-radius:50%;display:block;background-color:#92c741;}

	#programmes{padding:40px 0 30px;}
	#programmes .programme{width:100%;padding:0;}
	#programmes .programme .content{width:100%;left:0;}
	#programmes .owl-dots{max-width:206px;margin:0 auto;}
	#programmes .owl-nav{top:115px;}

	#content-home .logements{z-index:5;margin-top:-219px;position:relative;}

	#cms .blocks .bloc{width:calc((100% - 60px)/2);margin-right:60px;}
	#cms .blocks .bloc:nth-child(3n){margin-right:60px;}
	#cms .blocks .bloc:nth-child(2n){margin-right:0;}

	#news .link{margin-left:0;margin-bottom:40px;}
	#news .owl-carousel .owl-dots{margin-top:40px;}
	#news .slides{margin:0;}

	#partners{height:auto;padding-bottom:40px;}

	#category .posts .post .picture{height:262px;}

	#patrimoine .programme .content{top:0;}

	#seach-form .select{max-width:48%;margin-right:0;margin-bottom:20px;}
	#seach-form .select:nth-child(1){margin-right:4%;}
	#seach-form input{max-width:calc(100% / 3);}

	#logements .lot .picture{width:50%;}
	#logements .lot .content{width:50%;padding:0 15px;margin:0;}
	#logements .lot .detail{max-width:100%;width:100%;padding:10px 0 0;border:none;}
	#logements .lot .detail .actions a{width:48%;margin-bottom:0;margin-right:4%;}
	#logements .lot .detail .actions a:last-child{margin-right:0;}

	#residence .detail .pictures{max-width:100%;margin-bottom:40px;}
	#residence .detail .content{width:100%;padding:0;}
	#residence .detail .content .localisation{max-width:50%;}
	#residence .detail .content .infos{max-width:50%;}
	#residence .detail .content .description{padding:20px 0 0;}

	footer .logo{width:50%;margin:27px 0 0;}
	footer .link{width:calc(100% / 3);}
	footer #footer-map{width:calc(100% / 3);}
}

@media only screen and (max-width: 767px){
	img{max-width:100%;}

	#content-home{padding:40px 0 20px;}
	#content-home > .container{padding:0 15px;}
	#content-home > .title{font-size:24px;margin-bottom:30px;padding:0 15px;}
	#content-home .slides{width:100%;}
	#content-home .slides .owl-dots{margin-top:20px;}
	#content-home .logements{width:100%;margin:30px 0;text-align:left;padding:15px;height:auto;font-size:18px;}
	#content-home .logements img{float:left;margin-right:15px;}
	#content-home .content{font-size:18px;line-height:22px;}
	#content-home .content p{text-align:left !important;}

	#link-home{height:auto;padding:15px;font-size:16px;line-height:inherit;}
	#link-home:after{content:" ";display:block;clear:both;}
	#link-home img{float:left;}

	#news{padding:40px 0;}
	#news .link{margin:0;width:100%;height:auto;font-size:18px;text-align:center;line-height:inherit;padding:20px 0;
		text-transform:uppercase;margin-bottom:30px;}
	#news .slides{width:100%;margin:0;border:0;}
	#news .slides:before{display:none;}
	#news .slides .post{border:0;padding:0;}
	#news .slides .post .picture{width:100%;height:190px;}

	#partners{height:auto;padding-bottom:40px;}

	#patrimoine{padding:40px 0;background-image:none;}
	#patrimoine .container > .title{margin-bottom:30px;font-size:24px;}
	#patrimoine .programme{padding:0;}
	#patrimoine .programme .content{width:100%;left:0;top:0;}
	#patrimoine .list{padding-top:40px;}

	#seach-form{padding:0;}
	#seach-form .select{max-width:100%;margin-bottom:20px;}
	#seach-form .select select{padding-left:15px;appearance:none;-moz-appearance:none;-webkit-appearance:none;-khtml-appearance:none;background:#FFF;}

	#residence{padding:40px 0;background-image:none;}
	#residence .container{padding:0;}
	#residence .container > .title{font-size:24px;padding:0 15px;}
	#residence .container > .content{font-size:18px;padding:0 15px;}
	#residence .detail{padding:0;}
	#residence .detail .pictures .view{display:none;}
	#residence .detail .pictures .thumbnails{padding:0;}
	#residence .detail .pictures .thumbnails .img{opacity:1;height:210px;}
	#residence .owl-carousel .owl-dots{margin:10px 0;}
	#residence .detail .content{max-width:100%;width:100%;padding:0 15px;}
	#residence .detail .content .localisation h2{margin:0;}
	#residence .detail .content .infos{width:100%;max-width:100%;border-left:0;border-top:1px solid #85b446;border-bottom:1px solid #85b446;
		padding-top:20px;padding-bottom:20px;padding-left:0;margin:20px 0;}
	#residence .detail .content .description{padding:0;font-size:18px;line-height:22px;}
	#residence .detail .content .description p{text-align:left !important;}
	#residence .detail #residence-map{margin-top:30px;height:250px;}

	#cms .container > .title{font-size:24px;padding:0 15px;}
	#cms .container > .content {padding: 15px;}
	#cms table{width:100%;}
	#cms table td{display:block;width:100% !important;hyphens:inherit;}
	#cms td .frm_forms{max-width:100% !important;word-wrap: break-word;}
	#cms input[type='text'],
	#cms input[type='email'],
	#cms textarea{width:100%;}

	#cms .blocks .bloc{width:100%;margin-right:0;margin-bottom:40px;}
	#cms .blocks .bloc:last-child{margin:0;}

	#category{padding-top:40px;}
	#category .container > .title{margin-bottom:40px;}
	#category .posts .post {padding:15px;}
	#category .posts .post .title{width:100%;}
	#category .posts .post .title:before,
	#category .posts .post .title:after{display:none;}
	#category .posts .post .picture{width:100%;margin:0 0 20px;height:185px;}
	#category .posts .post .content{width:100%;padding-bottom:20px;}

	#logements .lot .detail .actions a{width:100%;margin-bottom:20px;}
	#logements .lot .detail .actions a:last-child{margin-bottom:0;}
	#logements{padding-top:40px;padding-bottom:40px;}
	#logements > .title{font-size:24px;padding:0 15px;}
	#logements .container > .content{padding-bottom:40px;}
	#logements .lots{padding:0;}
	#logements .lot{padding:15px;}
	#logements .lot .content{padding:0;}
	#logements .lot .picture{width:100%;margin-bottom:20px;height:180px;}
	#logements .lot .content .title{font-size:20px;margin:0;}
	#logements .lot .content .title:before,
	#logements .lot .content .title:after{display:none;}
	#logements .lot .detail{padding:0;border:none;}
	#logements .lot .detail .actions{padding-top:20px;}

	#ao{padding-top:40px;background-image:none;}
	#ao .container > .title{font-size:24px;padding:0 15px;margin-bottom:40px;}
	#ao .posts .post .files .file{width:100%;margin-bottom:15px;}
	#ao .posts .post .files .file a:before{margin-bottom:20px;float:left;}

	footer #footer-map{width:100%;margin:0;}
	footer .link{width:100%;}
}