/*  #Mobile (Portrait)
================================================== */
/* Note: Design for a width of 320px */

@media only screen and (max-width: 767px) {


#main {
	max-width: 320px;
}
#header {
	/*height:295px;*/
	height:auto;
}
#main #header {
	padding:0;
	margin:0;
}
#main #content #page-content h1 {
	font-size:19px;
	line-height:19px;
}
.contact_title {
	padding-left:10px;
}
#main #header #widget-header {
	position:absolute;
	top: 45px;
	right:0;
}
#main nav.primary {
	padding:15px 0;
}
#content #page-content .content_right {
	border:none;
}

#main #content {
	margin:0;
}

#content.right .post-holder,
#content.left .post-holder,
#respond,
.commentlist,
.related-posts{
	padding-right: 0;
}	

.primary_content_wrap.front {
    padding-top: 13px !important;
}
.pad-content {
    padding-bottom: 20px !important;
    padding-top: 20px;
}
.pad-content .grid_4,
.page .grid_3,
.page .grid_4,
.page .grid_5{

}
.post-holder .extra-wrap,
.post-holder .featured-thumbnail.large{
	overflow: visible;
}
/* Navigations
---------------------------------------- */

/* Primary navigation */
nav.primary {
	clear:both;
	width:100%;
	margin: 0;
	text-align:center;
}

.sf-menu {
	display:none;
	}

/* Logo */
#main #header .logo {
	padding:0;
	margin:0;
}
.logo img{
	width:110px;
	height:auto;
	}
.logo h1,
.logo h2 {
	font-size:1.5em;
	}
	
/*  Menu déroulant  */	
#main #header .select-menu {
	width: 100%;
}

/* Top search */
#top-search {
	margin-top: 20px;
	}
#top-search .input-search {
		width:130px;}

/* Header widget */
#widget-header {
	text-align:center;
	}


/* Slider
---------------------------------------- */

.flexslider-holder .flexslider img {
	/*width:280px; */
	padding:0;
}

.flex-control-nav {bottom: 10px;}
/* Flickr widget */
.flickrImages a {
	width:49px;
	height:49px;
	}

/* Request a quote */
.top-box {
	padding-bottom: 30px;
}

/* Post */
.featured-thumbnail {
	
	}
	.featured-thumbnail img {
		
		}
.post-meta .fright {
	float:none;
	clear:left;
	}
.featured-thumbnail.large {
	width:auto;
	height:auto;
	margin:0 0 10px 0;
	}


/* Comments */
.comment-meta {
	position:static;
	padding-bottom:1em;
	}
.comment-author {
	padding-bottom:0;
	}

#commentform input[type="text"],
#commentform textarea {
	width:100%;
	}

/* Comment Form */
.commentlist ul.children {
	margin-left:0;
	}	


/* Team */
.recent-posts.team,
.recent-posts.clients{
	margin-bottom: 20px;
}
	.recent-posts.team li,
	.recent-posts.clients li {
		float: left;
		width: 93px;
		overflow: hidden;
		margin: 0 10px 10px 0;
	}
		.recent-posts.team li .featured-thumbnail,
		.recent-posts.team li .featured-thumbnail img,
		.recent-posts.clients li .featured-thumbnail,
		.recent-posts.clients li .featured-thumbnail img {
			float: none;
		}

.recent-posts.methods li {
	float: none;
	width: 100%;
	overflow: hidden;
	margin: 0 0 20px 0;
}
/* Testimonials list*/
article.testimonial {
	padding:15px !important;
	}
article.testimonial .featured-thumbnail{ display: none;}
/* Images */
.frame.alignleft,
.frame.alignright,
.frame.alignnone {
	margin-right:0;
	width:284px;
	}
.frame.alignleft img,
.frame.alignright img,
.frame.alignnone img	{
	width:100%;
	height:auto;
	}
	

/* Related Posts */
.related-posts li {
	width:auto;
	float:none;
	margin:0 0 .5em 0;
	}
.related-posts li:first-child {
	margin-left:0;
	}
.related-posts li .featured-thumbnail {
	display:none;
	}


/* SlidesJS */
.slides_container {
	width:300px;
}
.slides_container .item {
	width:300px;
	height:250px;
}
.slides_container .item .thumbnail img {
	width:100%;
	height:auto;
	}


/* Address */
.address dt {
	width:auto;
	margin:0 0 20px 0;
	padding:0 0 0 55px;
	font-size:12px;
	float:none;
	}
.address dd {
	float:none;
	width:auto;
	padding:0 0 0 43px;
	margin:0 0 20px 0;
	}
	.address dd span {
		width:100px;
		}


/* Comments */
.commentlist ul.children {
	margin-left:0;
	}
			

/* Portfolio
---------------------------------------- */

/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
	width:300px;
	height:161px;
	float:none;
	}
	#gallery.one_column .folio-desc {
		width:100%;
		padding-top:15px;
		margin:0;
		}
			
/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:100%;
	margin:0 0 30px 0;
	float:none;
	}
	#gallery.four_columns .portfolio li a.image-wrap {
		width:300px;
		height:195px;
		}
		#gallery.four_columns .portfolio li a img {
			width:100%;
			height:auto;
			}

/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
	width:100%;
	margin-right:0;
	}
	#gallery.two_columns .portfolio li a.image-wrap {
		width:300px;
		height:176px;
		}

/* Carousel */
.es-carousel ul li h4 {
	display:none;
	}
.es-carousel ul li .excerpt {
	display:none;
	}
.es-carousel ul li .link {
	display:none;
	}	

.post_list .featured-thumbnail {
	float:left;
	margin:0 20px 0 0;
	}

.latestpost .featured-thumbnail {
	float:left;
	margin:0 20px 0 0;
	}


/* Post Formats
---------------------------------------- */

/* Image Post Format */
.image-post-format img {
	width:100%;
	overflow:hidden;
	}

/* Gallery Post Format */
.slides_container_gallery {
	width:300px;
	height:150px;
	}
	.slides_container_gallery .g_item {
		width:300px;
		}	

/* Audio Format Type */
.audiojs .scrubber {
	width:130px;
	}
	
	
/* form */
#page-content div.wpcf7 {
    margin: 0;
	padding: 10px 7px 0 7px;
}
#page-content div.wpcf7 input[type=email]{
	width:274px;
}
	
	
/* Google Map */
.google-map {
	position: relative;
	padding-bottom: 46.25%;
	height: 0;
	overflow: hidden;
	margin:0 0 2% 0;
}
.google-map iframe,  
.google-map object,  
.google-map embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	}
		
	.error404-num {
		font-size:180px;
		text-align: center;
		}	
	#error404 hgroup {
		padding-top:0;
		}	
		
#sidebar .widget{
	padding:0;
	margin:0;
}
/* Footer
---------------------------------------- */
#main #footer {
	padding:0;
}
.home #main #sidebar .widget {
    margin:0;
}
#widget-footer .social-networks {
    margin: 0 0 0 -10px;
    overflow: hidden;
}
#content #page-content .img_content {
	width:30%;
}
#content #page-content ul li {
	line-height:12px;
}


}