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

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

	/* Primary navigation */
	nav.primary {
		clear:both;
		width:100%;
		margin:0;
		text-align:center;
		padding:30px 0;
	}
	.sf-menu {display:none;}
	/* Logo */
		.row-logo {
		background:url(images/bg-row-logo.gif) left top repeat;}
		.logo {padding-bottom:15px; background:none}
		.logo img{
			width: 285px;
			height:auto;
			padding-top:20px; /*adding to center logo top to bottom*/
		}
		.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-wrapper {



	margin-top:-95px;	



}



.slider-container {
	width:300px!important; /*width:480px!important;*/
	margin-left:-150px!important; /*margin-left:-240px!important;*/
	height:128px; /*height:123px;*/
}
.flexslider-holder {height:128px;}
.slider-side {
	width:0px; /*width:90px;*/
	height:0px; /*height:123px;*/
}

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

.flex-direction-nav li .next span{background: url(../images/slider-next-pba-128.png) 0 76.9% no-repeat;}
.flex-direction-nav li .prev span{background: url(../images/slider-prev-pba-128.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;
		overflow:hidden;
		margin-right:0;
	}
		.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 {
		width:300px;
		height:190px;
	}

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


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

.alignleft2 { /*custom class added to allow proper display of OUR TEAM on the Company page*/

	float:left;

	margin:5px 20px 10px 0;
	
	height:auto; /*adding this line to ensure that images resize on tablets and ipad devices*/
	
	width:40%;

}

.aligncenter2 { /*custom class added to allow proper display of EXECUTIVE BOARD on the Company page*/

	float:left;

	margin:5px 20px 10px 0;
	
	height:auto; /*adding this line to ensure that images resize on tablets and ipad devices*/
	
	width:40%;

}

/*--------------------------------------
 LEGAL SERVICES STYLE FOR TEAM IMAGES 
 ---------------------------------------*/

.legal {
	
	height:125px;
	
	}
	
/*----------------------------------------
 CONTRACT SERVICES STYLE FOR TEAM IMAGES 
 ------------------------------------------*/
	
.legal2 {
	
	height:120px;
	
	}
	
	
.legal3 {
	
	display:none;
	
	}

}