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

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

#header,
#slider-wrapper,
.primary_content_wrap,
.bg1 {
	width: 768px;
	}


/* Logo */
.logo h1,
.logo h2 {
	font-size:2.2em;
	}

/* menu */
.sf-menu li{
	width:126px;
}
.sf-menu li:first-child {
	width:128px;
}
/* Slider
---------------------------------------- */
.flexslider-holder {
	height:410px;
	}

	
.flex-caption {top: 38%; }
.flex-control-nav {top: 35%;}	
.flex-direction-nav li a {top: 23%;}
/* 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;
			}

/* portfolio */
.recent-posts.portfolio li{
	margin:0 2% 2% 0;
	width: 23%;
}
/* Team */
.recent-posts.team li {
	width:15%;
	margin: 0 2% 2% 0;
	}

.recent-posts.main-services li {
	width: 31%;
	margin: 0 2% 2% 0;
}
/* Address */
.address{
	font-size: 11px;
}
.address dt {
	width:130px;
	margin-right: 10px;
	}
.address dd {
	width:170px;
	}
	.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
---------------------------------------- */
.post-meta span{
	display: block !important;
	margin-left: 0;
	padding-top: 5px !important;
}
.single-post .post-meta span{
	display: inline-block !important;
	margin-left: 20px;
	padding-top: 0 !important;
}
.post-holder .featured-thumbnail.large {
	float: none;
	margin-right: 0;
	}
	.post-holder .featured-thumbnail.large img {
		float: none;
		width: 100%;
		height: auto;
		}
/* 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;
		}
	

.post_list.services li:last-child .alignleft,
.post_list.services li:last-child .post-border{
	border-bottom: none;
}
/* Portfolio
---------------------------------------- */

/* Default layout 3 columns */
#gallery .portfolio li {
	width:30%;
	margin:0 2% 50px 0;
	}
	#gallery .portfolio li a.image-wrap {
		width: 100%;
		height: auto;
		min-height: 156px;
		}

/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
	width:48%;
	height: auto;
	min-height:224px;
	float:left;
	}
	#gallery.one_column .folio-desc {
		width:47%;
		padding-top:5px;
		margin-left: 3%;
		}

		
/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
	width:365px;
	margin-right:10px;
	}
	#gallery.two_columns .portfolio li a.image-wrap {
		width:355px;
		height:230px;
		}

/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:173px;
	margin-right:10px;
	}
	#gallery.four_columns .portfolio li a.image-wrap {
		width:163px;
		height:117px;
		min-height:117px;
		}
	
/* Comment Form */
.commentlist ul.children {
	margin-left:0;
	}	

/* 404
---------------------------------------- */	
.error404-num {
	font-size:270px;
	line-height:1.2em;
	color:#4DB1F1;
	font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
	}
#error404 hgroup {
	padding-top:45px;
	}
/* Sidebar
---------------------------------------- */
#searchform .searching {
	width:130px;
	}	
	
}