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

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

.header{max-width:748px;padding:10px 10px 1px;}
#main{max-width:768px;}
/* Logo */
.logo {
	min-width:170px;}
.logo h1,
.logo h2 {
	font-size:2.2em;
	}

/* Menu
---------------------------------------- */
.sf-menu li{width: auto; max-width: inherit;text-align:left; }
.sf-menu li a{padding:80px 33px 16px 20px;}

/* Slider
---------------------------------------- */
.flexslider-holder {height:330px;}
.flex-caption {top:36px;left:27px;}	
	

.col1{width:187px;float:left;}
.top-box h2{ font:300 20px/24px 'Lato', sans-serif;}	
	.top-box h2 span{font-size:17px;}
	
.team-list.recent-posts{
	overflow:hidden;
	background: #eceae9;
	padding:10px 15px 25px;
	position:relative; 
	margin:5px 0 0 0; 
	z-index:99}
	.team-list.recent-posts li{
		float:left;
		width:135px;
		margin:0 10px 0 0;}
			.team-list.recent-posts li .featured-thumbnail{ float:none;}
/* 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;
			}


/* Team */
.recent-posts.team li {
	width:134px;
	}
.recent-posts.team li .featured-thumbnail {
	width:134px;
	height:auto;
	overflow:hidden;
	}

/* 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:237px;
	margin:0 15px 50px 0;
	}
	#gallery .portfolio li a.image-wrap {
		width:237px;
		height:117px;
		}

/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
	width:490px;
	height:245px;
	float:left;
	}
	#gallery.one_column .folio-desc {
		width:225px;
		padding-top:5px;
		}

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

/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:173px;
	margin-right:15px;
	}
	#gallery.four_columns .portfolio li a.image-wrap {
		width:173px;
		height:97px;
		}
	
/* Comment Form */
.commentlist ul.children {
	margin-left:0;
	}	
	
/* Contact form */
.wpcf7-form p.field input {
	width:220px;
	}
.wpcf7-form textarea {
	float:left;
	width:220px;
	max-width:220px;
	min-width:220px;
	}
.wpcf7-not-valid-tip {
	width:215px !important;
	position:absolute;
	left:0 !important;
	top:0 !important;
	padding:4px 0 4px 10px !important;
	background:#f3b7b7 !important;
	color:red !important;
	border:none !important;
	}

.featured-thumbnail{ float: none;}

.error404-num {font-size: 220px;}
/* Sidebar
---------------------------------------- */
#searchform .searching {
	width:130px;
	}	


/* Footer
---------------------------------------- */
#widget-footer .social-networks li { width:80px; }	
	#widget-footer .social-networks li a img{ margin:0 5px 0 0;}

	/* Footer text */
	#footer-text {margin-top:-47px;}

}