/* #Mobile (Landscape)
================================================== */
/* Note: Design for a width of 480px */

@media only screen and (min-width: 480px) and (max-width: 767px) {
.container {
	width:420px !important;
	}
#slider-wrapper .grid_12,
#before-block_page .grid_12,
#header .grid_12,
#after_menu_area .grid_12{
	margin-bottom: 0
}	

/* Header
---------------------------------------- */
#top-header {
	height:87px;
	}

/* Navigations
---------------------------------------- */

/* Primary navigation */
nav.primary {
	clear:both;
	width:100%;
	margin:0;
	text-align:center;
	padding:10px 0;
}

/* Logo */
.logo {
	width:100%;
	text-align:center;
	margin:20px 0 10px 0;
	}
.logo h1,
.logo h2 {
	text-align:center;
	}
.logo {
	padding-bottom:0;
	}
.logo img{
	height:auto;
	}
	.logo .tagline {
		display:block;
		}
		
/* Navigation select styling */
select.mnav {
	width:85%;
	clear:both;
	margin:15px 0;
}

/* Top search */
#top-search {

	}
#top-search .input-search {
	width:150px;
	}
#top-search #submit {
	
	}

/* Header widget */
#widget-header {
	padding:20px 0 20px 0;
	font-size:11px;
	text-align:center;
	}
	.widget-header {
	  float: right;
	  margin-left: 0;
	}
	#widget-header #searchform .searching {
	  width: 205px;
	}
	#widget-header .social-networks li {
	  margin: 5px 0 0 0 ;
	  text-align: left;
	}
	
	
/* Slider
---------------------------------------- */
#slider-wrapper {
  background: url(../images/bg_slider400.png) no-repeat scroll center top transparent;
  max-width: 399px;
  margin-top: 20px
}

.flexslider-holder {
	height:164px;
	}
	.flexslider .slides {
	  margin: 0 0 0 8px;
	  padding-top: 6px;
	  width: 385px;
	}
	.flex-caption {
	  display: none
	}
	.flex-control-nav {
	  display: none;
	}
	#slider-page .flexslider-holder {
	  height: 150px;
	  margin-bottom: 20px
	}
	#slider-page .flexslider .slides {
	  margin: 0 0 0 8px;
	  padding-top: 6px;
	  width: 315px;
	}

/* Before Content Area */
#before_content_area .before_holder {
  background: none;
}

#before_content_area a.more {
  margin: 20px auto 0 166px;
}

/* Before Block title */
#before-block_page h1 {
  font-size: 18px;
  line-height: 98px;
  margin: 0
}
.post-thumb {
	width:150px;
	height:110px;
	float:left;
	margin-right:20px;
	}


#excerpt h2 {
  font-size: 34px;
  line-height: 35px;
  padding: 10px 0 0;
  text-align: center;
}
/* Home Content area */
#home_content_area .indent_right {
  border: none;
  padding-left: 0px;
}	

/* Post */
.featured-thumbnail {
	float:left;
	margin:0 20px 0 0;
	}
	.featured-thumbnail img {
		width:auto;
		height:auto;
		}
.featured-thumbnail .fright {
	float:none;
	clear:left;
	}
.featured-thumbnail.large {
	width:auto;
	height:auto;
	margin:0 0 10px 0;
	}
.post-holder footer {
	
	}
	.post-holder footer .button {
		margin-right:6px;
		}
	.post-holder footer .link {
		margin-right:6px;
		}

.latestpost li .featured-thumbnail {
	width:140px;
	height:138px;
	margin:0 20px 0 0;
	float:left;
	}
	.latestpost li .featured-thumbnail img {
		width:auto;
		height:auto;
		}

/* Images */
.frame.alignleft,
.frame.alignright,
.frame.alignnone {
	margin-right:0;
	width:100%;
	height:auto;
	}

.tabs .tab {
	padding:20px 10px;
	background:#020202 url(../images/tab-bg-small.png) 50% -200px no-repeat;
}
.tabs .tab .entry {
	width:180px;
	height:auto;
	margin-bottom:20px;
	margin: 0 10px 20px 10px;
	}
	.tabs .tab .entry img {
		
		}

/* Comments */
.commentlist ul.children {
	margin-left:0;
	}

#commentform input[type="text"], #commentform textarea {
  max-width: 318px;
  min-width: 318px;
  width: 318px;
}

.children #commentform input[type="text"],
.children #commentform textarea {
	width:318px;
	max-width:318px;
	min-width:318px;
	}


/* 404 */
#error404 {
  float: left;
  padding: 30px 0 20px;
  width: 100%;
}
.error404-num {
  font-size: 130px;
}
.text-404 strong {
  font-size: 35px;
}
.globus {
  margin-bottom: 44px;
  margin-top: 0px;
  width: 90%;
}

.no-results #searchform input[type="text"] {
  width: 89%;
}


	
/* Portfolio
---------------------------------------- */

/* Default layout 3 columns */
#gallery .portfolio li {
	width:auto;
	float:none;
	margin-right:0;
	}
	#gallery .portfolio li a.image-wrap {
	  height: 218px;
	  width: 328px;
	}
	.zoom-icon {
	  height: 228px;
	  width: 339px;
	}		
		#gallery .portfolio li img {
			width:100%;
			height:auto;
			}

/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
  float: none;
  height: 192px;
  width: 328px;
}
#gallery.one_column .zoom-icon {
	width:339px;
	height:203px;
	}
	#gallery.one_column .folio-desc {
		width:100%;
		padding-top:15px;
		margin:0;
		}
			
			
/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
	width:100%;
	margin-right:0;
	}
	#gallery.two_columns .portfolio li a.image-wrap {
	  height: 190px;
	  width: 328px;
	}
	#gallery.two_columns .zoom-icon {
	  height: 200px;
	  width: 339px;
	}		
			
/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
	width:182px;
	margin-right:17px;
	}
#gallery.four_columns .portfolio li.even {
	margin-right:0;
	}
	#gallery.four_columns .portfolio li a.image-wrap {
	  height: 169px;
	  width: 176px;
	}
	#gallery.four_columns .zoom-icon {
		width:192px;
		height:185px;
		}
		#gallery.four_columns h4 {
		  font-size: 15px;
		  margin-bottom: 10px;
		}

		
		
/* Contact form */
.wpcf7-form p.field input {
	width:360px;
	}
.wpcf7-not-valid-tip {
	width:370px !important;
	position:absolute;
	left:0 !important;
	top:0 !important;
	padding:4px 0 4px 10px !important;
	background:#f3b7b7 !important;
	color:red !important;
	border:1px solid red !important;
	}
	.wpcf7 input[type="submit"] {
	  margin: 20px 0 0;
	}

		
/* Contact Page */
#page-content .grid_7 {
  width: 340px;
  margin: 0 
}

.info {
  float: right;
  width: 100%;
}	
	
/* Sidebar
---------------------------------------- */
#searchform .searching {
	width:260px;
	}

/* Footer */
.site-name {
  margin-left: 95px;
}	
#copyright .right_side {
  margin: 15px 0 0;
  width: 100%;
}

}