/*  #Mobile (Portrait)
================================================== */
/* Note: Design for a width of 320px */

@media only screen and (max-width: 767px) {

body {
	background-size:100% auto;
	background-position:center 174px;
}

.content-box {max-width:320px;}
#main {padding:0;}
	
/*---------------------------------------- 
			Navigations
---------------------------------------- */
.row-menu {min-height:101px; padding-left: 20px; padding-right: 20px;}
/* Primary navigation */
nav.primary {
	clear:both;
	width:auto;
	margin:0;
	text-align:center;
	padding:0 0 20px 0;
	top:0;
	left:0;
	right:0;
	position: relative;
	width: 100%;
}
.select-menu {display: block !important;}
.sf-menu {display:none;}

/* Logo */
.logo {
	top:5px;
	left:10px;
	width: auto;
}

/* Header widget */
#widget-header {padding:9px 10px 9px 10px;}
	.widget-header ul li,
	.widget-header ul li a {
		font-size:10px;
		line-height:15px;
	}
	.widget-header ul li {
		margin:0 5% 0 0px;
		width:45%;
	}

/*----------------------------------------  
				Slider
---------------------------------------- */
#slider-wrapper {
	width:100%;
	height:168px;
}
	.slider-container{
		height:168px;
		width:480px;
		margin-left:-240px;	
	}

.camera_caption,
.camera_wrap .camera_pag,
.camera_commands_container,
.camera_commands   {
	width:320px;
	margin-left:-160px;
}
	.camera_caption {margin:0px;}
	
	.camera_caption > div {display:none;}
	
	.camera_pag_ul li img, .camera_pag_ul .thumb_arrow  {display:none!important;}
	
	.camera_commands,
	.camera_commands_container	{
		top:50%;
		margin-top:-20px;
	}
	
	.camera_wrap .camera_pag {bottom:5px;}
/*----------------------------------------  
				Pagenavi
---------------------------------------- */
.margin-left {margin-left:0px!important;}
.margin-right {margin-right:5px!important;}

.pagenavi a.button {padding:4px 3px 5px 3px!important;}
	
.pagenavi span, .pagenavi a {margin: 2px 7px 2px 0;}
/*----------------------------------------  
					Misc
---------------------------------------- */
body.home .bot-indent {margin-bottom:0px;}
body.home .top-indent {margin-top:0px;}
.bot-indent {margin-bottom:80px;}
.left-content-area {padding:24px 0px 24px 0;}
.inner,
#content.left .inner  {padding:24px 0px 20px 0;}

.bg-dark,
.bg-dark.left {background:none;}

.dark-box {
	background:#0c0c0c;
	margin:0 -10px 0px -10px;
	padding:0 10px 30px 10px;
}
	
	
.light-box {margin:0 -10px;}
.bg-dark.left .light-box {margin:0 -10px;}
.light-box .content-inner {padding:24px 10px 30px 10px;}

h3,
.light-box .content-inner h3,
.bg-dark.left .light-box .content-inner h3,
.bg-dark.left h3   {
	margin-right:-10px; 
	margin-left:-10px;
	padding-left:10px;
}

.light-box h3,
.bg-dark.left .light-box h3 {
	margin-right:0px; 
	margin-left:0px;
	padding-left:10px;
}

/*----------------------------------------  
					Tabs
---------------------------------------- */
.tabs .tab-menu {
	margin:0 -10px 0 -10px;
	padding:15px 10px 15px 10px;
}
.tabs .tab-menu li {margin: 0 10px 0 0;}
.tabs .tab {margin:0px; padding: 20px 0 0px 0px;}
/*----------------------------------------  
				Recebt Post Tabs
---------------------------------------- */
.recent-posts.latest li,
.popular_posts li {
	width:100%;
	margin:0 0px 20px 0;
}
	.recent-posts.latest li .featured-thumbnail,
	.recent-posts.latest li .featured-thumbnail img,
	.popular_posts li .featured-thumbnail,
	.popular_posts li .featured-thumbnail img {
		width:100%;
		height:auto;
	}
/*----------------------------------------
				 Post
---------------------------------------- */
.featured-thumbnail {
	width:100%;
	height:auto;
	float:none;
	margin-right:0px;
}
	.featured-thumbnail img {
		width:100%;
		height:auto;
	}

.featured-thumbnail.large {}

.post-content {padding:0;}

.latestpost.smallimg .featured-thumbnail,
#sidebar .post_list .featured-thumbnail,
#sidebar .latestpost.smallimg .featured-thumbnail {
	float:left;
	width:90px;
	height:auto;
	margin:3px 10px 5px 0;
}
/* Meta information for post */
.post-meta {padding:7px 10px 5px 10px;}
.post-meta time {display:block; margin:0px;}

.post-meta .fleft,
#sidebar .latestpost .post-meta .fleft {float:left; width:65%;}

.post-meta .fright,
#sidebar .latestpost .post-meta .fright {float:right; width:30%; text-align:right;}

.latestpost li h4 {margin-bottom:5px;}
.latestpost li .excerpt {margin-bottom:7px;}


/* Comments */

#commentform input[type="text"],
#commentform textarea {
	width:100%;
}

/* Comment Form */
.commentlist ul.children {margin-left:0;}	

/* Related Posts */
.related-posts li {
	width:auto;
	float:none;
	display:block;
	margin:0 0 5px 0;
}
.related-posts li:first-child {margin-left:0;}
.related-posts li .featured-thumbnail {display:none;}

/* Recent from Gallery*/
.recent-posts.pfolio li {
	width:146px;
	margin:0 8px 3px 0;
	display:inline-block;
}
	.recent-posts.pfolio li .featured-thumbnail {
		width:100%;
		height:auto;
	}
/* Team */
.recent-posts.team li {
	float:none;
	width:100%;
	margin:0 0 20px 0;
}
	.recent-posts.team li .featured-thumbnail {
		width:120px;
		height:auto;
		overflow:hidden;
		float:left;
		margin:3px 18px 5px 0;
	}

/* Services */
.recent-posts.services li {
	width:100%;
	margin:0 0 5px 0;
}
	.recent-posts.services li .featured-thumbnail {
		float:none;
		display:block;
		margin:0 0 5px;
	}
	
/* Testimonials list*/
article.testimonial, 
.single article.testimonial {padding:15px; background-position:143px 10px;}

article.testimonial .featured-thumbnail, 
.single article.testimonial .featured-thumbnail,
article.testimonial .featured-thumbnail img, 
.single article.testimonial .featured-thumbnail img {
	width:120px;
	height:100px;
}
article.testimonial .featured-thumbnail, 
.single article.testimonial .featured-thumbnail {float:left;}

/* 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;
}


/* 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;}


/*----------------------------------------
				Portfolio
---------------------------------------- */
/* Default layout 3 columns */
#gallery .portfolio li {
	width:300px;
	margin:0 0px 30px 0;
	float:none;
}
	#gallery .portfolio li a.image-wrap {
		width:300px;
		height:197px;
	}
		#gallery .portfolio li a.image-wrap img {
			width:100%;
			height:auto;
		}
/* 1 column portfolio*/
#gallery.one_column .portfolio li {
	width:300px;
	margin:0 0px 30px 0;
	float:none;
}
#gallery.one_column .portfolio li a.image-wrap {
	width:300px;
	height:196px;
	float:none;
	margin-left:0px;
	margin-bottom:15px;
}

/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
	width:300px;
	margin:0 0 30px 0;
	float:none;
}
	#gallery.two_columns .portfolio li a.image-wrap {
		width:300px;
		height:196px;
	}
	
/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:300px;
	margin:0 0 30px 0;
	float:none;
}
	#gallery.four_columns .portfolio li a.image-wrap {
		width:300px;
		height:198px;
	}


/*----------------------------------------
				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;}

	
	
/* 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%;
}
/*---------------------------------------
				 404
---------------------------------------- */
.error404-num {font-size:170px; padding-top:0px;}
#error404 hgroup {padding-top:0px;}
#error404 hgroup h1, 
#error404 hgroup h2 {color:#0e0e0e;}
		
/*----------------------------------------
				Sidebar
---------------------------------------- */
#searchform .searching {width:235px;}

/* Flickr widget */
.flickrImages a,
.flickrImages a:hover {
	width:49px;
	height:49px;
}
	.flickrImages a img {
		width:49px;
		height:auto;
	}
	

.banners-holder li img{
	width:147px;
	height:auto;
}
/*----------------------------------------
				Footer
---------------------------------------- */
nav.footer {
	float:none;
	text-align:center;
	padding:0 0 10px 0;
}
	nav.footer ul li {
		float:none; 
		display:inline-block;
		margin:0 5px;
	}

#footer-text {
	width:auto;
	float:none;
	text-align:center;
}

}