@media only screen and (min-width: 1024px) and (max-width: 1220px) {
	body.boxed #wrap { width: 1012px; }
	.container { width: 972px; }
	/*#slider-home { margin-top: 141px; }
	.fullwidthbanner { height: 450px !important; }*/
	.post-item .post-meta span { padding: 10px 10px 10px 34px; }
	.post-items.ver-1 .post-container { max-height: 147px; }
	.bxslider.portfolio-items > li { width: 228px !important; margin-right:20px !important;}
	

	.pic-container{width:972px;margin-left:-486px;}
	.pic-container .pic-column{width:235px;margin:0 10px 0 0;}
	.pic-container figure{height:141px;}
	.pic-container figure .hover{width:231px;height:100px;}
	.pic-container figure figcaption{width:233px;}
	.mainh1{font-size:27px;}
}

@media only screen and (max-width: 1023px) {
	#footer .flickr p, #footer .flickr{margin-bottom:0;}
	#footer .subscribe h3{display:none;}
	#logo { float: none; text-align: center; margin-top:7px; margin-bottom: 10px; }
	#logo a { display: inline-block; }

	#nav { clear: both; float: none; margin-right: 0; margin-left: -15px; margin-top:15px;}
	#navlist{text-align:center;}
	ul#navlist li{float:none;display:inline-block;text-align:left;}
	#back-to-top{margin:0;}
	#back-to-top a{left:65%;}
	.sf-menu .sub-menu { padding-top: 12px; }
	#navlist .drop-nav{left:-160px;padding-top:12px;}
	#slider-home { margin-top: 203px !important; }
	.tp-rightarrow, .tp-leftarrow { top: 50% !important; margin-top: -30px !important; }

	#main { width: 100% !important; }
	#sidebar { width: 100% !important; clear: both; }

	#footer .widget { width: 100% !important; clear: both; }
	#header{padding-bottom:15px;}
	#header .top-data{float:none;margin:0;text-align:center;}

}
/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
	body.boxed #wrap { width: 766px; }
	.container { width: 750px; }

	#page-title { padding-top: 232px; }

	.post-items.ver-1 .post-container { max-height: 170px; }
	.bxslider.portfolio-items > li { width: 175px !important; margin-right:13px!important;}

	.bxslider.clients li { width: 169px !important; }
	.hometext h1{font-size:22px;}
	.flickr h3, .flickr p, .subscribe h3, .subscribe p, .about-us h3, .about-us p, .contact-us h3, .contact-us p{padding-left:20px;}

	.service-item { width: 50% !important; margin-bottom: 25px !important; }
	.services { margin-bottom: 0px !important; }
	.services .column { width: 50% !important; }
	.services .service-item { width: 100% !important; }

	/*.recent-posts .post-image { float: none; margin: 0 0 15px 0; display: block; }
	.recent-posts .post-image img { min-width: 100%; }*/

	.recent-posts .post-image { display: none; }

	.pricing-table-container .column { width: 50% !important; margin-bottom: 25px; }

	.widget.contact-us input[type="text"], .widget.contact-us textarea { width: 49.15%; }	
	
	.pic-container{width:750px;margin-left:-375px;bottom:30px;}
	.pic-container .pic-column{width:180px;height:110px;margin:0 10px 0 0;}
	.pic-container figure{height:110px;}
	.pic-container figure .hover{width:176px;height:80px;}
	.pic-container figure figcaption{width:178px;padding:5px 0;font-size:13px;}
	.pic-container figure .hover span{font-size:21px;padding-top:38px;}
	.mainh1{font-size:20px;}
}
@media only screen and (max-width: 767px) {
	.post-item h1{font-size:17px;}
	.directions, .l{display:none!important;}
	.nonretina{display:none!important;}
	.retina{display:block!important;}
	.flexslider .slides, .flex-direction-nav, .flex-control-nav{display:none;}
	.pic-container{position: static;left: auto;bottom:auto;margin: 0;display: block;width: 100%;text-align:center;}
	.pic-container figure .hover{display:none;}
	.pic-container .pic-column{float:none;margin:10px auto!important;}
	body.wide header#header{position: static;background: none;box-shadow: none;}
	.mainh1{font-size:16px;}
	#breadcrumbs { clear: both; float: left; margin-top: 20px; }

	#slider-home { margin-top: 190px !important; }

	.tp-bullets .bullet { width: 50px; }

	#back-to-top { margin-bottom: 50px; }

	#page-title { padding-top: 232px; }

	.alignleft, .alignright { float: none; }
	img.alignleft, img.alignright { margin-left: 0; margin-right: 0; }

	.post-items.ver-1 .post-image { margin-bottom: 25px; }

	/* Main Menu */
	#nav { margin-left: 0 !important; margin-right: 0 !important; }
	#nav > ul { display: none; }
	#nav select { display: block; padding: 7px; margin-top: 15px; outline: none; border: 1px solid #333; width: 100%; }

	
	/* The Grid --- */
	/* row { width: auto; min-width: 0; margin-left: 0; margin-right: 0; }*/
	.column, .columns { float: none; width: 100% !important; margin-bottom: 25px; }
	.column:last-child, .columns:last-child { float: none; }
	[class*="column"] + [class*="column"]:last-child { float: none; }
	.column:before, .columns:before, .column:after, .columns:after { content: ""; display: table; }
	.column:after, .columns:after { clear: both; }
	.offset-by-one, .offset-by-two, .offset-by-three, .offset-by-four, .offset-by-five, .offset-by-six, .offset-by-seven, .offset-by-eight, .offset-by-nine, .offset-by-ten { margin-left: 0 !important; }
	.push-two, .push-three, .push-four, .push-five, .push-six, .push-seven, .push-eight, .push-nine, .push-ten { left: auto; }
	.pull-two, .pull-three, .pull-four, .pull-five, .pull-six, .pull-seven, .pull-eight, .pull-nine, .pull-ten { right: auto; }
	.bx-container{display:none;}
	.flickr h3, .flickr p, .subscribe h3, .subscribe p, .about-us h3, .about-us p, .contact-us h3, .contact-us p{padding-left:0;}
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	body.boxed #wrap { width: 470px; }
	.container { width: 440px; }

	.bxslider.clients li { width: 130px !important; }

	.children { margin-left: 20px; }
	.comment-reply { margin-left: 0; }

	.widget.contact-us input[type="text"], .widget.contact-us textarea { width: 48.7%; }
	.consult{display:none;}
	.directions{display:inline;}
	#logo{margin-bottom:0;}
	#nav, #nav select, #logo{margin-top:10px;margin-bottom:5px;}
	#header{padding-bottom:9px;}
	.hometext h1{font-size:20px;}
	#back-to-top{display:none;}
	#footer .widget-title{margin-bottom:0;}
	#content{margin:0;padding:0;}
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
	.post-item h1{font-size:15px;}
	.doc{width:100%;}
	.container { width: 320px; }
	#content{margin:0;padding:0;}
	#top-bar .info img { display: none; }
	#top-bar .info { padding-left: 13px; }

	.error-page { font-size: 170px; }
	.error-page span { font-size: 36px; }

	.children { margin-left: 0; }
	.comment-reply { margin-left: 0; }

	.contact-form input[type="text"], .contact-form.comment input[type="text"] { float: left !important; margin-left: 0 !important; margin-bottom: 15px !important; width: 100% !important; }
	.contact-form input.spam{width:49%!important;}
	.consult{display:none;}
	.directions{display:inline;}
	.hometext h1{font-size:14px;}
	#logo{margin-bottom:0;}
	#nav, #nav select, #logo{margin-top:10px;}
	#logo{margin-bottom:10px;}
	#header{padding-bottom:9px;}
	#back-to-top{display:none;}
	.copyright{font-size:14px;}
	#footer .widget-title{margin-bottom:0;}
	.copyright, .pmax{float:none;display:block;font-size:9px;}
	
	.midders {
				float: none!important;
				margin-left: auto!important;
				margin-right: auto!important;
				margin-bottom: 20px!important;
				margin-top: 0!important;	
			}
}

