/* #Tablet (Portrait)
================================================== */
/* Note: Design for a width of 768px */

@media only screen and (min-width: 768px) and (max-width: 995px) {

/* ----------------------------------------
				Header
---------------------------------------- */


/* Logo */
.row-logo {
		background:url(images/bg-row-logo.gif) left top repeat;}
.logo {background:none}
.logo img {margin-top:0px; margin-bottom:2px; width:768px}
.logo h1,
.logo h2 {
	font-size:80px;
	line-height:82px;
}

.logo .tagline {font-size:10px;}

/*----------------------------------------
				Navigations
---------------------------------------- */
.sf-menu > li > a, .sf-menu > li:first-child > a {padding:39px 18px 39px 18px;}
.sf-menu li li > a {padding:0 10px 0 7px; font-size:10px}

/* ----------------------------------------
				Slider
---------------------------------------- */
#slider-wrapper {
	
	margin-top:-20px;	



}



.slider-container {
	width:760px!important; /*width:995px!important;*/
	margin-left:-380px!important;/*margin-left:-497px!important;*/
	height:323px;/*height:246px;*/
}
.flexslider-holder {height:323px;}
.slider-side.left {width:0px; height:0px;} /*.slider-side.left {width:124px; height:246px;}*/
.slider-side.right {width:0px; height:0px;}/*.slider-side.right {width:124px; height:246px;}*/

.flex-caption {
	margin-left:-315px;
	top: 26px; 
	width:630px;
}


.flex-direction-nav {
	width:760px;
	margin-left:-380px;
}
.flex-direction-nav li a {
	height:323px;
}	
.flex-direction-nav li .next  {background: url(../images/slider-next-pba-323.png) 0 15% no-repeat;}
.flex-direction-nav li .prev  {background: url(../images/slider-prev-pba-323.png) 0 15% no-repeat;}

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

/*----------------------------------------
				Page Home 
---------------------------------------- */
blockquote {font-size:28px;}

/*---------------------------------------- 
			Recent Post Services
---------------------------------------- */	
.primary_content_wrap ul.post_list.services li {
	width:236px;
	margin:0 20px 10px 0;
}
	.post_list.services li h4 {padding:11px 50px 0 0;}

/*----------------------------------------
				Banner widget
---------------------------------------- */
.banners-holder li img {
	width:240px; /*---original is 180px---*/
	height:auto;
}	
	
	
/* Flickr widget */
.flickrImages a {
	width:58px;
	height:58px;
}

.frame.alignleft img,
.frame.alignright img,
.frame.alignnone img	{
	width:100% !important;
	height:auto !important;
}

/* SlidesJS*/
.slides_container {
	width:224px;
}
.slides_container .item {
	width:224px;
	height:170px;
}
	.slides_container .item .featured-thumbnail {
		float:none;
		margin-right:0;
		overflow:hidden;
	}
		.slides_container .item .featured-thumbnail img {
			width:100%;
			height:auto;
		}

/*----------------------------------------
			Recent Posts Team
---------------------------------------- */	
.primary_content_wrap ul.recent-posts.team li {
	width:354px;
}
.recent-posts.team li .featured-thumbnail {
	width:200px;
	height:auto;
	float:left;
	margin-bottom:0px;
	margin-right:10px;
	overflow:hidden;
}
.recent-posts.team li h5 {padding-top:20px;}

/*----------------------------------------
			Testimonials
---------------------------------------- */
.testimonials div.testi_item {
	width:226px;
	margin-right:20px;
}

/*----------------------------------------
			Recent Posts Clients
---------------------------------------- */
.primary_content_wrap ul.recent-posts.clients li {
	width:354px;
	position:relative;
}
.primary_content_wrap ul.recent-posts.clients li .featured-thumbnail {
	float:left;
	margin-bottom:0px;
	margin-right:10px;
}
.primary_content_wrap ul.recent-posts.clients li .excerpt {padding:10px 5px 0 0;}
.primary_content_wrap ul.recent-posts.clients li .button {
	position:absolute;
	right:0;
	bottom:0;
}

/* Address */
.address dt {
	width:135px;
	margin-right:10px;
	padding:0 0 0 55px;
	font-size:11px;
}
.address dd {
	width:195px;
	padding:0 0 0 43px;
}
	.address dd span {
		width:80px;
	}

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


/* Post Formats
---------------------------------------- */

/* Image Post Format */
.image-post-format img {
	width:100%;
	overflow:hidden;
}	

/* Gallery Post Format */
.slides_container_gallery {
	width:534px;
	height:270px;
}
	.slides_container_gallery .g_item {
	width:534px;
		}
	
	
/* Portfolio
---------------------------------------- */

/* Default layout 3 columns */
#gallery .portfolio li {
	width:236px;
	margin:0 15px 50px 0;
}
	#gallery .portfolio li a.image-wrap, #gallery .portfolio li a.image-wrap img {
		width:236px;
		height:157px;
	}

/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
	width:470px;
	height:280px;
	float:left;
	margin-bottom:5px;
}
	#gallery.one_column .portfolio li a.image-wrap img {
		width:470px;
		height:280px;
	}
	#gallery.one_column .folio-desc {overflow:visible;}

		
/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
	width:354px;
	margin-right:20px;
}
	#gallery.two_columns .portfolio li a.image-wrap, #gallery.two_columns .portfolio li a.image-wrap img {
		width:354px;
		height:236px;
	}

/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:170px;
	margin-right:17px;
}
	#gallery.four_columns .portfolio li a.image-wrap, #gallery.four_columns .portfolio li a.image-wrap img {
		width:170px;
		height:115px;
	}
	
/* Comment Form */
.commentlist {padding-right:0px;}
.commentlist ul.children {margin-left:0;}	
	
/* Contact form */
.wpcf7-form p.field input {
	width:224px;
}
.wpcf7-form textarea {
	float:left;
	width:224px;
}
.wpcf7-not-valid-tip {
	width:224px !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:160px;
	margin-bottom:15px;
}	

/* CONTRACT SERVICES STYLE FOR TEAM IMAGES */
	
.legal2 {
	
	height:210px;
	
	}
	
.legal2 span{
	
	font-size:12px;
	
	}
	
.legal3 {
	
	height:228px;
	
	}
	
.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*/

}
}