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

@media only screen and (max-width: 767px) {
.post-holder h1 {
  font-size: 25px;
}

.header-title h1 .title-txt, h1.sp-title {

  font-size: 44px;

}

h2 .title-txt {
  display: inline-block;
  margin: auto;
  padding: 0;
  text-align: center;
}



h2 {

  font-size: 37px;

}
.page-template-page-Portfolio4Cols-php .header-title h1 .title-txt {

  font-size: 50px;

}

.header-title h1 .title-txt {

  padding: 0;
}


.row-logo {
    background-size: 100% 112px;
    height: 112px;
}
.transparent-Logo {
  background-size: 216px 213px;
  height: 112px;
}
.logo img {
  height: auto;
  width: 150px;
}
#header {

  height: 210px;

}


div#main {
  background-size: 90% auto;
  overflow: hidden;
}

	/* Navigations
	---------------------------------------- */
	
	/* Primary navigation */
	nav.primary {
		clear:both;
		width:100%;
		margin:0;
		text-align:center;
		padding:30px 0;
	}
	.sf-menu {display:none;}
	/* Logo */
		.logo {padding-bottom:15px;}
		.logo img{
			width:110px;
			height:auto;
		}
		.logo h1,
		.logo h2 {
			font-size:51px;
			line-height:55px;
			padding-top:53px;
		}
			.logo .tagline {display:none;}	
		.logo-left, .logo-right {top: 107px;}
	/* Top search */
	#top-search {top:155px; left:10px;}
	#top-search .input-search {
		width:248px;
		padding:6px 25px 6px 5px;
		margin-right:0;
	}
	#top-search #submit {
		width:20px;
		height:20px;
		padding:0;
		background:url(../images/search-icon.gif) 0 0 no-repeat;
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
		position:absolute;
		right:0;
		top:9px;
	}
	#top-search #submit:hover {background:url(../images/search-icon.gif) 0 0 no-repeat;}
	
	
	/* Header widget */
	#widget-header {
		padding:5px 0;
		text-align:center;
		}
	
	
/* ----------------------------------------
				Slider
---------------------------------------- */
.slider-container {
	width:480px!important;
	margin-left:-240px!important;
	height:123px;
}
.flexslider-holder {height:123px;}
.slider-side {
	width:90px;
	height:123px;
}

.flex-direction-nav {
	width:300px;
	margin-left:-150px;
}
.flex-direction-nav li a {
	height:123px;
}	
.flex-direction-nav li .next  {background: url(../images/slider-next.png) 0 20% no-repeat;}
.flex-direction-nav li .prev  {background: url(../images/slider-prev.png) 0 20% no-repeat;}

.flex-direction-nav li .next span{background: url(../images/slider-next.png) 0 76.9% no-repeat;}
.flex-direction-nav li .prev span{background: url(../images/slider-prev.png) 0 76.9% no-repeat;}

.flex-caption {display:none;}

/*---------------------------------------- 
			Recent Post Services
---------------------------------------- */	
.primary_content_wrap ul.post_list.services li {
	width:100%;
	margin:0 0px 30px 0;
}

/*----------------------------------------
				Banner widget
---------------------------------------- */
.primary_content_wrap ul.banners-holder li {
	width:100%;
	margin-right:0px;
	text-align:center;
}
.banners-holder li img {
	width:100%;
	height:auto;
}
	
	/* Flickr widget */
	.flickrImages a {
		width:49px;
		height:49px;
	}
	
	/* Request a quote */
	.box-text {
		width:100%;
		float:none;
	}
	.box-button {
		width:100%;
		float:none;
		text-align:center;
		padding-left:0;
		padding-right:0;
	}
		.box-button .button {
			float:none;
		}
	
	/* Post */
.featured-thumbnail {
  float: none;
  margin: auto;
  width: 98%;
}

dl dt {

  padding: 5px;
}
.page-id-21 h1.sp-title, .page-id-9 .grid_8 h2 {

  font-size: 37px;

}



		.featured-thumbnail img {
			width:100%;
			height:auto;
		}
		.services .featured-thumbnail {
			float:left;
			margin:5px 20px 10px 0;
		}
		.services .featured-thumbnail img {
			width:50px;
			height:61px;
		}
	.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:280px;
	}
	
	/* Comment Form */
	.commentlist {padding-right:0px;}
	.commentlist ul.children {margin-left:0;}	

/*----------------------------------------
			Recent Posts Team
---------------------------------------- */	
.primary_content_wrap ul.recent-posts.team li {
	width:100%;
}
.recent-posts.team li .featured-thumbnail {
	width:150px;
	height:auto;
	float:left;
	margin-bottom:0px;
	margin-right:10px;
	overflow:hidden;
}
.recent-posts.team li h5 {padding-top:5px;}
.recent-posts.team li .excerpt {
	padding:0 5px 0px 5px;
	line-height:18px;
}

/*----------------------------------------
			Recent Posts Clients
---------------------------------------- */
.primary_content_wrap ul.recent-posts.clients li {
	width:100%;
}
.primary_content_wrap ul.recent-posts.clients li .featured-thumbnail {
	width:100%;
}
	
	/* Services */
	.recent-posts.services li {
		float:none;
		width:100%;
		margin:0 0 30px 0;
	}

/*----------------------------------------
			Testimonials
---------------------------------------- */
.testimonials div.testi_item {
	width:100%;
	margin-right:0px;
}	
	/* Testimonials list*/
	article.testimonial {
		padding:250px 20px 30px 20px;
		background-position:5px 230px;
	}
	article.testimonial .featured-thumbnail {left:20px; top:20px; margin:0;}
	article.testimonial .featured-thumbnail, article.testimonial .featured-thumbnail img {width:260px; height:auto;}
		
.testi-single {
	padding:250px 20px 30px 20px;
	background-position:5px 230px;
}
		.testi-single .featured-thumbnail {left:20px; top:20px; margin:0;}
		.testi-single .featured-thumbnail img {width:260px; height:auto;}
		
	/* 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;
		}
	
	
	/* 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
---------------------------------------- */
/* 3 columns portfolio*/
#gallery .portfolio li {
	width:100%;
	margin-right:0;
}
#gallery .portfolio li a.image-wrap, #gallery .portfolio li a.image-wrap img {
  height:auto;
  width: 300px;
}


/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap, #gallery.one_column .portfolio li a.image-wrap img {
	width:300px;
	height:190px;
	float:none;
}
	#gallery.one_column .folio-desc {
		padding-top:15px;
	}
			
/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:100%;
	margin-right:0;
}
#gallery.four_columns .portfolio li a.image-wrap, #gallery.four_columns .portfolio li a img {
	width:300px;
	height:auto;
}


#gallery-1 .gallery-item {
  height: 285px !important;
  margin: 5px;
  width: 95% !important;
}

#gallery-1 img {
  border: 2px solid #CFCFCF;
  height: 100%;
}



html > body .ngg-album {

  width: 93%;

  
  }
  
  .ngg-thumbnail {

  width: 100%;
}

.ngg-thumbnail img {

  width: 95%;
}

.ngg-gallery-thumbnail img {

  width: 95%;
}



.primary_content_wrap ul li a.button {

  clear: both;

  float: left;

}

/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
	width:100%;
	margin-right:0;
}
#gallery.two_columns .portfolio li a.image-wrap, #gallery.two_columns .portfolio li a.image-wrap img {
	width:300px;
	height:190px;
}

/* Carousel */
.es-carousel ul li h4 {display:none;}
.es-carousel ul li .excerpt {display:none;}
.es-nav span {top:-10px;}
.es-carousel ul li .thumbnail {margin-bottom:0px;}
.es-carousel ul li .button {
	padding:9px 0;
	width:100%;
	text-align:center;
}
/* 404 */	
.error404-num {font-size:180px;}

.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;
	}

	
	
/* 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%;
	}
	
/* Contact form */
.wpcf7-form p.field input {
	width:285px;
}
.wpcf7-form textarea {
	float:left;
	width:285px;
}
.wpcf7-not-valid-tip {
	width:285px !important;
	position:absolute;
	left:0 !important;
	top:0 !important;
	padding:3px 0 4px 10px !important;
	background:#f3b7b7 !important;
	color:red !important;
	border:1px solid red !important;
}
		
/*----------------------------------------
					Sidebar
---------------------------------------- */
#searchform .searching {width:210px;}

#sidebar h3 {text-align:left;}
	
/*----------------------------------------
				Footer
---------------------------------------- */
nav.footer ul li a{font-size:10px;}
nav.footer {padding-top:5px;}

}